@openora/core 0.4.1-canary.91 → 0.4.1-canary.93
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/.tsbuildinfo +1 -1
- package/dist/admin-console/contract/index.d.ts +12 -0
- package/dist/admin-console/contract/index.d.ts.map +1 -1
- package/dist/admin-console/plugin.d.ts +18 -1
- package/dist/admin-console/plugin.d.ts.map +1 -1
- package/dist/admin-console/router/index.d.ts +6 -0
- package/dist/admin-console/router/index.d.ts.map +1 -1
- package/dist/analytics/plugin.d.ts +18 -1
- package/dist/analytics/plugin.d.ts.map +1 -1
- package/dist/audit/plugin.d.ts +18 -1
- package/dist/audit/plugin.d.ts.map +1 -1
- package/dist/casino/gaming/plugin.d.ts +18 -1
- package/dist/casino/gaming/plugin.d.ts.map +1 -1
- package/dist/casino/lobby/plugin.d.ts +18 -1
- package/dist/casino/lobby/plugin.d.ts.map +1 -1
- package/dist/cms/plugin.d.ts +18 -1
- package/dist/cms/plugin.d.ts.map +1 -1
- package/dist/compliance/plugin.d.ts +18 -1
- package/dist/compliance/plugin.d.ts.map +1 -1
- package/dist/contracts/adapters/audit.d.ts +1 -1
- package/dist/contracts/adapters/audit.d.ts.map +1 -1
- package/dist/contracts/adapters/audit.js.map +1 -1
- package/dist/contracts/adapters/index.d.ts +4 -2
- package/dist/contracts/adapters/index.d.ts.map +1 -1
- package/dist/contracts/adapters/index.js +2 -1
- package/dist/contracts/adapters/index.js.map +1 -1
- package/dist/contracts/adapters/payment.d.ts +99 -0
- package/dist/contracts/adapters/payment.d.ts.map +1 -1
- package/dist/contracts/adapters/payment.js +6 -0
- package/dist/contracts/adapters/payment.js.map +1 -1
- package/dist/contracts/adapters/rate-limit.d.ts +1 -0
- package/dist/contracts/adapters/rate-limit.d.ts.map +1 -1
- package/dist/contracts/adapters/rate-limit.js +1 -0
- package/dist/contracts/adapters/rate-limit.js.map +1 -1
- package/dist/contracts/adapters/wallet-asset-catalog.d.ts +34 -0
- package/dist/contracts/adapters/wallet-asset-catalog.d.ts.map +1 -0
- package/dist/contracts/adapters/wallet-asset-catalog.js +3 -0
- package/dist/contracts/adapters/wallet-asset-catalog.js.map +1 -0
- package/dist/contracts/schemas/__tests__/common-schemas.test.js +2 -1
- package/dist/contracts/schemas/__tests__/common-schemas.test.js.map +1 -1
- package/dist/contracts/schemas/common.d.ts.map +1 -1
- package/dist/contracts/schemas/common.js +7 -4
- package/dist/contracts/schemas/common.js.map +1 -1
- package/dist/contracts/schemas/events.d.ts +15 -0
- package/dist/contracts/schemas/events.d.ts.map +1 -1
- package/dist/contracts/schemas/events.js +16 -2
- package/dist/contracts/schemas/events.js.map +1 -1
- package/dist/contracts/schemas/platform-config.d.ts +45 -0
- package/dist/contracts/schemas/platform-config.d.ts.map +1 -1
- package/dist/contracts/schemas/platform-config.js +47 -0
- package/dist/contracts/schemas/platform-config.js.map +1 -1
- package/dist/contracts/schemas/wallet-tx.d.ts +38 -1
- package/dist/contracts/schemas/wallet-tx.d.ts.map +1 -1
- package/dist/contracts/schemas/wallet-tx.js +32 -3
- package/dist/contracts/schemas/wallet-tx.js.map +1 -1
- package/dist/engagement/chat/plugin.d.ts +18 -1
- package/dist/engagement/chat/plugin.d.ts.map +1 -1
- package/dist/engagement/chat-commands/plugin.d.ts +18 -1
- package/dist/engagement/chat-commands/plugin.d.ts.map +1 -1
- package/dist/engagement/notifications/plugin.d.ts +18 -1
- package/dist/engagement/notifications/plugin.d.ts.map +1 -1
- package/dist/engagement/social/plugin.d.ts +18 -1
- package/dist/engagement/social/plugin.d.ts.map +1 -1
- package/dist/engagement/social-transfers/plugin.d.ts +18 -1
- package/dist/engagement/social-transfers/plugin.d.ts.map +1 -1
- package/dist/iam/plugin.d.ts +18 -1
- package/dist/iam/plugin.d.ts.map +1 -1
- package/dist/iam/service/iam.service.d.ts +1 -1
- package/dist/pam/identity/plugin.d.ts +18 -1
- package/dist/pam/identity/plugin.d.ts.map +1 -1
- package/dist/pam/player-management/plugin.d.ts +18 -1
- package/dist/pam/player-management/plugin.d.ts.map +1 -1
- package/dist/pam/player-note/plugin.d.ts +18 -1
- package/dist/pam/player-note/plugin.d.ts.map +1 -1
- package/dist/pam/profile/plugin.d.ts +18 -1
- package/dist/pam/profile/plugin.d.ts.map +1 -1
- package/dist/pam/tag/plugin.d.ts +18 -1
- package/dist/pam/tag/plugin.d.ts.map +1 -1
- package/dist/server/auth/permissions.d.ts +36 -0
- package/dist/server/auth/permissions.d.ts.map +1 -1
- package/dist/server/auth/permissions.js +6 -0
- package/dist/server/auth/permissions.js.map +1 -1
- package/dist/server/db/__tests__/query-helpers.test.js +38 -1
- package/dist/server/db/__tests__/query-helpers.test.js.map +1 -1
- package/dist/server/db/index.d.ts +1 -1
- package/dist/server/db/index.d.ts.map +1 -1
- package/dist/server/db/index.js +1 -1
- package/dist/server/db/index.js.map +1 -1
- package/dist/server/db/query-helpers.d.ts +4 -0
- package/dist/server/db/query-helpers.d.ts.map +1 -1
- package/dist/server/db/query-helpers.js +31 -0
- package/dist/server/db/query-helpers.js.map +1 -1
- package/dist/server/runtime/core-token-catalog.d.ts +18 -1
- package/dist/server/runtime/core-token-catalog.d.ts.map +1 -1
- package/dist/server/runtime/core-token-catalog.js +3 -1
- package/dist/server/runtime/core-token-catalog.js.map +1 -1
- package/dist/testing/mock.d.ts +12 -1
- package/dist/testing/mock.d.ts.map +1 -1
- package/dist/testing/mock.js +16 -0
- package/dist/testing/mock.js.map +1 -1
- package/dist/wallet/__tests__/settlement-network.test.d.ts +2 -0
- package/dist/wallet/__tests__/settlement-network.test.d.ts.map +1 -0
- package/dist/wallet/__tests__/settlement-network.test.js +54 -0
- package/dist/wallet/__tests__/settlement-network.test.js.map +1 -0
- package/dist/wallet/__tests__/wallet-asset.router.int.test.d.ts +2 -0
- package/dist/wallet/__tests__/wallet-asset.router.int.test.d.ts.map +1 -0
- package/dist/wallet/__tests__/wallet-asset.router.int.test.js +234 -0
- package/dist/wallet/__tests__/wallet-asset.router.int.test.js.map +1 -0
- package/dist/wallet/__tests__/wallet-auto-rule.router.int.test.js +5 -3
- package/dist/wallet/__tests__/wallet-auto-rule.router.int.test.js.map +1 -1
- package/dist/wallet/__tests__/wallet-auto-withdrawal-config.router.int.test.js +4 -2
- package/dist/wallet/__tests__/wallet-auto-withdrawal-config.router.int.test.js.map +1 -1
- package/dist/wallet/__tests__/wallet-auto-withdrawal.int.test.js +6 -3
- package/dist/wallet/__tests__/wallet-auto-withdrawal.int.test.js.map +1 -1
- package/dist/wallet/__tests__/wallet-custody-stubs.router.test.d.ts +2 -0
- package/dist/wallet/__tests__/wallet-custody-stubs.router.test.d.ts.map +1 -0
- package/dist/wallet/__tests__/wallet-custody-stubs.router.test.js +80 -0
- package/dist/wallet/__tests__/wallet-custody-stubs.router.test.js.map +1 -0
- package/dist/wallet/__tests__/wallet-kyc-gate.int.test.js +2 -1
- package/dist/wallet/__tests__/wallet-kyc-gate.int.test.js.map +1 -1
- package/dist/wallet/__tests__/wallet-webhook.router.int.test.js +119 -4
- package/dist/wallet/__tests__/wallet-webhook.router.int.test.js.map +1 -1
- package/dist/wallet/__tests__/wallet.rate-limit.int.test.js +2 -1
- package/dist/wallet/__tests__/wallet.rate-limit.int.test.js.map +1 -1
- package/dist/wallet/__tests__/wallet.router.int.test.js +23 -3
- package/dist/wallet/__tests__/wallet.router.int.test.js.map +1 -1
- package/dist/wallet/__tests__/wallet.service.int.test.js +265 -12
- package/dist/wallet/__tests__/wallet.service.int.test.js.map +1 -1
- package/dist/wallet/adapters/wallet-asset-catalog.service.d.ts +14 -0
- package/dist/wallet/adapters/wallet-asset-catalog.service.d.ts.map +1 -0
- package/dist/wallet/adapters/wallet-asset-catalog.service.js +37 -0
- package/dist/wallet/adapters/wallet-asset-catalog.service.js.map +1 -0
- package/dist/wallet/admin-reporting.d.ts +2 -2
- package/dist/wallet/contract/index.d.ts +428 -4
- package/dist/wallet/contract/index.d.ts.map +1 -1
- package/dist/wallet/contract/index.js +203 -5
- package/dist/wallet/contract/index.js.map +1 -1
- package/dist/wallet/drizzle/migrations/0010_worthless_quasimodo.sql +84 -0
- package/dist/wallet/drizzle/migrations/meta/0010_snapshot.json +1565 -0
- package/dist/wallet/drizzle/migrations/meta/_journal.json +7 -0
- package/dist/wallet/plugin.d.ts +18 -1
- package/dist/wallet/plugin.d.ts.map +1 -1
- package/dist/wallet/plugin.js +19 -2
- package/dist/wallet/plugin.js.map +1 -1
- package/dist/wallet/router/index.d.ts +235 -3
- package/dist/wallet/router/index.d.ts.map +1 -1
- package/dist/wallet/router/index.js +117 -20
- package/dist/wallet/router/index.js.map +1 -1
- package/dist/wallet/schema/index.d.ts +984 -3
- package/dist/wallet/schema/index.d.ts.map +1 -1
- package/dist/wallet/schema/index.js +141 -2
- package/dist/wallet/schema/index.js.map +1 -1
- package/dist/wallet/service/wallet.service.d.ts +70 -6
- package/dist/wallet/service/wallet.service.d.ts.map +1 -1
- package/dist/wallet/service/wallet.service.js +379 -16
- package/dist/wallet/service/wallet.service.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { WalletRailSchema, WalletTransactionStatusSchema, WalletTransactionTypeSchema } from '@openora/core/contracts';
|
|
3
|
-
export { WalletRailSchema, WalletTransactionStatusSchema, WalletTransactionTypeSchema };
|
|
2
|
+
import { WalletRailSchema, WalletTransactionStatusSchema, WalletTransactionTypeSchema, WalletReconciliationFindingKindSchema, WalletReconciliationFindingStatusSchema } from '@openora/core/contracts';
|
|
3
|
+
export { WalletRailSchema, WalletTransactionStatusSchema, WalletTransactionTypeSchema, WalletReconciliationFindingKindSchema, WalletReconciliationFindingStatusSchema, };
|
|
4
4
|
export declare const WalletBalanceSchema: z.ZodObject<{
|
|
5
5
|
balance: z.ZodString;
|
|
6
6
|
currency: z.ZodString;
|
|
@@ -30,9 +30,12 @@ export declare const WalletTransactionSchema: z.ZodObject<{
|
|
|
30
30
|
tip: "tip";
|
|
31
31
|
gift: "gift";
|
|
32
32
|
rain: "rain";
|
|
33
|
+
manual_credit: "manual_credit";
|
|
34
|
+
manual_debit: "manual_debit";
|
|
33
35
|
}>;
|
|
34
36
|
amount: z.ZodString;
|
|
35
37
|
currency: z.ZodString;
|
|
38
|
+
network: z.ZodNullable<z.ZodString>;
|
|
36
39
|
status: z.ZodEnum<{
|
|
37
40
|
pending: "pending";
|
|
38
41
|
rejected: "rejected";
|
|
@@ -44,6 +47,39 @@ export declare const WalletTransactionSchema: z.ZodObject<{
|
|
|
44
47
|
}>;
|
|
45
48
|
createdAt: z.ZodISODateTime;
|
|
46
49
|
}, z.core.$strip>;
|
|
50
|
+
export declare const AdminWalletTransactionSchema: z.ZodObject<{
|
|
51
|
+
id: z.ZodUUID;
|
|
52
|
+
type: z.ZodEnum<{
|
|
53
|
+
deposit: "deposit";
|
|
54
|
+
loss: "loss";
|
|
55
|
+
withdrawal: "withdrawal";
|
|
56
|
+
bet: "bet";
|
|
57
|
+
win: "win";
|
|
58
|
+
bonus: "bonus";
|
|
59
|
+
tip: "tip";
|
|
60
|
+
gift: "gift";
|
|
61
|
+
rain: "rain";
|
|
62
|
+
manual_credit: "manual_credit";
|
|
63
|
+
manual_debit: "manual_debit";
|
|
64
|
+
}>;
|
|
65
|
+
amount: z.ZodString;
|
|
66
|
+
currency: z.ZodString;
|
|
67
|
+
network: z.ZodNullable<z.ZodString>;
|
|
68
|
+
status: z.ZodEnum<{
|
|
69
|
+
pending: "pending";
|
|
70
|
+
rejected: "rejected";
|
|
71
|
+
processing: "processing";
|
|
72
|
+
completed: "completed";
|
|
73
|
+
failed: "failed";
|
|
74
|
+
on_hold: "on_hold";
|
|
75
|
+
cancelled: "cancelled";
|
|
76
|
+
}>;
|
|
77
|
+
createdAt: z.ZodISODateTime;
|
|
78
|
+
reviewedBy: z.ZodNullable<z.ZodUUID>;
|
|
79
|
+
reviewedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
80
|
+
reviewReason: z.ZodNullable<z.ZodString>;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
export type AdminWalletTransaction = z.infer<typeof AdminWalletTransactionSchema>;
|
|
47
83
|
export declare const DepositInputSchema: z.ZodObject<{
|
|
48
84
|
amount: z.ZodString;
|
|
49
85
|
currency: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
@@ -53,10 +89,29 @@ export declare const DepositInputSchema: z.ZodObject<{
|
|
|
53
89
|
export declare const WithdrawInputSchema: z.ZodObject<{
|
|
54
90
|
amount: z.ZodString;
|
|
55
91
|
currency: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
92
|
+
network: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
56
93
|
provider: z.ZodOptional<z.ZodString>;
|
|
57
94
|
idempotencyKey: z.ZodOptional<z.ZodUUID>;
|
|
58
95
|
destinationAddress: z.ZodOptional<z.ZodString>;
|
|
59
96
|
}, z.core.$strip>;
|
|
97
|
+
export declare const MANUAL_ADJUSTMENT_DIRECTIONS: readonly ["credit", "debit"];
|
|
98
|
+
export declare const ManualAdjustmentDirectionSchema: z.ZodEnum<{
|
|
99
|
+
credit: "credit";
|
|
100
|
+
debit: "debit";
|
|
101
|
+
}>;
|
|
102
|
+
export type ManualAdjustmentDirection = z.infer<typeof ManualAdjustmentDirectionSchema>;
|
|
103
|
+
export declare const ManualWalletAdjustmentInputSchema: z.ZodObject<{
|
|
104
|
+
userId: z.ZodUUID;
|
|
105
|
+
direction: z.ZodEnum<{
|
|
106
|
+
credit: "credit";
|
|
107
|
+
debit: "debit";
|
|
108
|
+
}>;
|
|
109
|
+
currency: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
110
|
+
amount: z.ZodString;
|
|
111
|
+
reason: z.ZodString;
|
|
112
|
+
idempotencyKey: z.ZodUUID;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
export type ManualWalletAdjustmentInput = z.infer<typeof ManualWalletAdjustmentInputSchema>;
|
|
60
115
|
export declare const TransactionResultSchema: z.ZodObject<{
|
|
61
116
|
transactionId: z.ZodUUID;
|
|
62
117
|
status: z.ZodEnum<{
|
|
@@ -116,6 +171,7 @@ export declare const WithdrawalQueueItemSchema: z.ZodObject<{
|
|
|
116
171
|
username: z.ZodString;
|
|
117
172
|
amount: z.ZodString;
|
|
118
173
|
currency: z.ZodString;
|
|
174
|
+
network: z.ZodNullable<z.ZodString>;
|
|
119
175
|
rail: z.ZodNullable<z.ZodEnum<{
|
|
120
176
|
crypto: "crypto";
|
|
121
177
|
fiat: "fiat";
|
|
@@ -266,9 +322,12 @@ export declare const PaymentWebhookInputSchema: z.ZodRecord<z.ZodString, z.ZodUn
|
|
|
266
322
|
export declare const PaymentWebhookOutputSchema: z.ZodObject<{
|
|
267
323
|
ok: z.ZodLiteral<true>;
|
|
268
324
|
}, z.core.$strip>;
|
|
325
|
+
export declare const PaymentWebhookProviderInputSchema: z.ZodObject<{
|
|
326
|
+
provider: z.ZodString;
|
|
327
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
269
328
|
export declare const DepositAddressInputSchema: z.ZodObject<{
|
|
270
329
|
currency: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
271
|
-
network: z.ZodOptional<z.ZodString
|
|
330
|
+
network: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
272
331
|
}, z.core.$strip>;
|
|
273
332
|
export declare const DepositAddressSchema: z.ZodObject<{
|
|
274
333
|
address: z.ZodString;
|
|
@@ -276,6 +335,139 @@ export declare const DepositAddressSchema: z.ZodObject<{
|
|
|
276
335
|
network: z.ZodOptional<z.ZodString>;
|
|
277
336
|
tag: z.ZodOptional<z.ZodString>;
|
|
278
337
|
}, z.core.$strip>;
|
|
338
|
+
export declare const PublicWalletAssetSchema: z.ZodObject<{
|
|
339
|
+
currency: z.ZodString;
|
|
340
|
+
network: z.ZodString;
|
|
341
|
+
minDeposit: z.ZodString;
|
|
342
|
+
minWithdrawal: z.ZodString;
|
|
343
|
+
withdrawalFee: z.ZodString;
|
|
344
|
+
depositEnabled: z.ZodBoolean;
|
|
345
|
+
withdrawalEnabled: z.ZodBoolean;
|
|
346
|
+
}, z.core.$strip>;
|
|
347
|
+
export type PublicWalletAsset = z.infer<typeof PublicWalletAssetSchema>;
|
|
348
|
+
export declare const WalletAssetSchema: z.ZodObject<{
|
|
349
|
+
currency: z.ZodString;
|
|
350
|
+
network: z.ZodString;
|
|
351
|
+
minDeposit: z.ZodString;
|
|
352
|
+
minWithdrawal: z.ZodString;
|
|
353
|
+
withdrawalFee: z.ZodString;
|
|
354
|
+
depositEnabled: z.ZodBoolean;
|
|
355
|
+
withdrawalEnabled: z.ZodBoolean;
|
|
356
|
+
id: z.ZodUUID;
|
|
357
|
+
providerAssetId: z.ZodString;
|
|
358
|
+
providerName: z.ZodNullable<z.ZodString>;
|
|
359
|
+
sweepFeeCeiling: z.ZodNullable<z.ZodString>;
|
|
360
|
+
poolLiquidityFloor: z.ZodNullable<z.ZodString>;
|
|
361
|
+
createdAt: z.ZodISODateTime;
|
|
362
|
+
updatedAt: z.ZodISODateTime;
|
|
363
|
+
}, z.core.$strip>;
|
|
364
|
+
export type WalletAsset = z.infer<typeof WalletAssetSchema>;
|
|
365
|
+
export declare const WalletAssetKeySchema: z.ZodObject<{
|
|
366
|
+
currency: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
367
|
+
network: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
368
|
+
}, z.core.$strip>;
|
|
369
|
+
export declare const CreateWalletAssetInputSchema: z.ZodObject<{
|
|
370
|
+
currency: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
371
|
+
network: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
372
|
+
providerAssetId: z.ZodString;
|
|
373
|
+
minDeposit: z.ZodString;
|
|
374
|
+
minWithdrawal: z.ZodString;
|
|
375
|
+
withdrawalFee: z.ZodString;
|
|
376
|
+
depositEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
377
|
+
withdrawalEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
378
|
+
providerName: z.ZodOptional<z.ZodString>;
|
|
379
|
+
sweepFeeCeiling: z.ZodOptional<z.ZodString>;
|
|
380
|
+
poolLiquidityFloor: z.ZodOptional<z.ZodString>;
|
|
381
|
+
}, z.core.$strip>;
|
|
382
|
+
export type CreateWalletAssetInput = z.infer<typeof CreateWalletAssetInputSchema>;
|
|
383
|
+
export declare const UpdateWalletAssetInputSchema: z.ZodObject<{
|
|
384
|
+
currency: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
385
|
+
network: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
386
|
+
providerAssetId: z.ZodOptional<z.ZodString>;
|
|
387
|
+
minDeposit: z.ZodOptional<z.ZodString>;
|
|
388
|
+
minWithdrawal: z.ZodOptional<z.ZodString>;
|
|
389
|
+
withdrawalFee: z.ZodOptional<z.ZodString>;
|
|
390
|
+
depositEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
391
|
+
withdrawalEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
392
|
+
sweepFeeCeiling: z.ZodOptional<z.ZodString>;
|
|
393
|
+
poolLiquidityFloor: z.ZodOptional<z.ZodString>;
|
|
394
|
+
}, z.core.$strip>;
|
|
395
|
+
export type UpdateWalletAssetInput = z.infer<typeof UpdateWalletAssetInputSchema>;
|
|
396
|
+
export declare const JobRunResultSchema: z.ZodObject<{
|
|
397
|
+
runId: z.ZodUUID;
|
|
398
|
+
}, z.core.$strip>;
|
|
399
|
+
export declare const WalletReconciliationFindingSchema: z.ZodObject<{
|
|
400
|
+
id: z.ZodUUID;
|
|
401
|
+
runId: z.ZodUUID;
|
|
402
|
+
providerName: z.ZodString;
|
|
403
|
+
kind: z.ZodEnum<{
|
|
404
|
+
missing_deposit: "missing_deposit";
|
|
405
|
+
unattributed_deposit: "unattributed_deposit";
|
|
406
|
+
amount_mismatch: "amount_mismatch";
|
|
407
|
+
currency_mismatch: "currency_mismatch";
|
|
408
|
+
status_mismatch: "status_mismatch";
|
|
409
|
+
unknown_at_provider: "unknown_at_provider";
|
|
410
|
+
unconfigured_asset: "unconfigured_asset";
|
|
411
|
+
stuck_sweep: "stuck_sweep";
|
|
412
|
+
}>;
|
|
413
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
414
|
+
network: z.ZodNullable<z.ZodString>;
|
|
415
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
416
|
+
address: z.ZodNullable<z.ZodString>;
|
|
417
|
+
tag: z.ZodNullable<z.ZodString>;
|
|
418
|
+
txHash: z.ZodNullable<z.ZodString>;
|
|
419
|
+
externalId: z.ZodNullable<z.ZodString>;
|
|
420
|
+
transactionId: z.ZodNullable<z.ZodUUID>;
|
|
421
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
422
|
+
status: z.ZodEnum<{
|
|
423
|
+
open: "open";
|
|
424
|
+
resolved: "resolved";
|
|
425
|
+
}>;
|
|
426
|
+
resolvedBy: z.ZodNullable<z.ZodUUID>;
|
|
427
|
+
resolvedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
428
|
+
resolutionNote: z.ZodNullable<z.ZodString>;
|
|
429
|
+
createdAt: z.ZodISODateTime;
|
|
430
|
+
}, z.core.$strip>;
|
|
431
|
+
export type WalletReconciliationFinding = z.infer<typeof WalletReconciliationFindingSchema>;
|
|
432
|
+
export declare const ListReconciliationFindingsInputSchema: z.ZodObject<{
|
|
433
|
+
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
434
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
435
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
436
|
+
open: "open";
|
|
437
|
+
resolved: "resolved";
|
|
438
|
+
}>>;
|
|
439
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
440
|
+
missing_deposit: "missing_deposit";
|
|
441
|
+
unattributed_deposit: "unattributed_deposit";
|
|
442
|
+
amount_mismatch: "amount_mismatch";
|
|
443
|
+
currency_mismatch: "currency_mismatch";
|
|
444
|
+
status_mismatch: "status_mismatch";
|
|
445
|
+
unknown_at_provider: "unknown_at_provider";
|
|
446
|
+
unconfigured_asset: "unconfigured_asset";
|
|
447
|
+
stuck_sweep: "stuck_sweep";
|
|
448
|
+
}>>;
|
|
449
|
+
providerName: z.ZodOptional<z.ZodString>;
|
|
450
|
+
}, z.core.$strip>;
|
|
451
|
+
export type ListReconciliationFindingsInput = z.infer<typeof ListReconciliationFindingsInputSchema>;
|
|
452
|
+
export declare const ReconciliationResolutionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
453
|
+
outcome: z.ZodLiteral<"credited">;
|
|
454
|
+
transactionId: z.ZodUUID;
|
|
455
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
456
|
+
outcome: z.ZodLiteral<"dismissed">;
|
|
457
|
+
note: z.ZodString;
|
|
458
|
+
}, z.core.$strip>], "outcome">;
|
|
459
|
+
export type ReconciliationResolution = z.infer<typeof ReconciliationResolutionSchema>;
|
|
460
|
+
export declare const ResolveReconciliationFindingInputSchema: z.ZodObject<{
|
|
461
|
+
id: z.ZodUUID;
|
|
462
|
+
resolution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
463
|
+
outcome: z.ZodLiteral<"credited">;
|
|
464
|
+
transactionId: z.ZodUUID;
|
|
465
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
466
|
+
outcome: z.ZodLiteral<"dismissed">;
|
|
467
|
+
note: z.ZodString;
|
|
468
|
+
}, z.core.$strip>], "outcome">;
|
|
469
|
+
}, z.core.$strip>;
|
|
470
|
+
export type ResolveReconciliationFindingInput = z.infer<typeof ResolveReconciliationFindingInputSchema>;
|
|
279
471
|
export declare const walletContract: {
|
|
280
472
|
getBalance: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
281
473
|
balance: z.ZodString;
|
|
@@ -313,6 +505,7 @@ export declare const walletContract: {
|
|
|
313
505
|
withdraw: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
314
506
|
amount: z.ZodString;
|
|
315
507
|
currency: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
508
|
+
network: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
316
509
|
provider: z.ZodOptional<z.ZodString>;
|
|
317
510
|
idempotencyKey: z.ZodOptional<z.ZodUUID>;
|
|
318
511
|
destinationAddress: z.ZodOptional<z.ZodString>;
|
|
@@ -328,6 +521,28 @@ export declare const walletContract: {
|
|
|
328
521
|
cancelled: "cancelled";
|
|
329
522
|
}>;
|
|
330
523
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
524
|
+
manualAdjustment: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
525
|
+
userId: z.ZodUUID;
|
|
526
|
+
direction: z.ZodEnum<{
|
|
527
|
+
credit: "credit";
|
|
528
|
+
debit: "debit";
|
|
529
|
+
}>;
|
|
530
|
+
currency: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
531
|
+
amount: z.ZodString;
|
|
532
|
+
reason: z.ZodString;
|
|
533
|
+
idempotencyKey: z.ZodUUID;
|
|
534
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
535
|
+
transactionId: z.ZodUUID;
|
|
536
|
+
status: z.ZodEnum<{
|
|
537
|
+
pending: "pending";
|
|
538
|
+
rejected: "rejected";
|
|
539
|
+
processing: "processing";
|
|
540
|
+
completed: "completed";
|
|
541
|
+
failed: "failed";
|
|
542
|
+
on_hold: "on_hold";
|
|
543
|
+
cancelled: "cancelled";
|
|
544
|
+
}>;
|
|
545
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
331
546
|
listTransactions: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
332
547
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
333
548
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -357,9 +572,12 @@ export declare const walletContract: {
|
|
|
357
572
|
tip: "tip";
|
|
358
573
|
gift: "gift";
|
|
359
574
|
rain: "rain";
|
|
575
|
+
manual_credit: "manual_credit";
|
|
576
|
+
manual_debit: "manual_debit";
|
|
360
577
|
}>;
|
|
361
578
|
amount: z.ZodString;
|
|
362
579
|
currency: z.ZodString;
|
|
580
|
+
network: z.ZodNullable<z.ZodString>;
|
|
363
581
|
status: z.ZodEnum<{
|
|
364
582
|
pending: "pending";
|
|
365
583
|
rejected: "rejected";
|
|
@@ -405,9 +623,12 @@ export declare const walletContract: {
|
|
|
405
623
|
tip: "tip";
|
|
406
624
|
gift: "gift";
|
|
407
625
|
rain: "rain";
|
|
626
|
+
manual_credit: "manual_credit";
|
|
627
|
+
manual_debit: "manual_debit";
|
|
408
628
|
}>;
|
|
409
629
|
amount: z.ZodString;
|
|
410
630
|
currency: z.ZodString;
|
|
631
|
+
network: z.ZodNullable<z.ZodString>;
|
|
411
632
|
status: z.ZodEnum<{
|
|
412
633
|
pending: "pending";
|
|
413
634
|
rejected: "rejected";
|
|
@@ -418,6 +639,9 @@ export declare const walletContract: {
|
|
|
418
639
|
cancelled: "cancelled";
|
|
419
640
|
}>;
|
|
420
641
|
createdAt: z.ZodISODateTime;
|
|
642
|
+
reviewedBy: z.ZodNullable<z.ZodUUID>;
|
|
643
|
+
reviewedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
644
|
+
reviewReason: z.ZodNullable<z.ZodString>;
|
|
421
645
|
}, z.core.$strip>>;
|
|
422
646
|
total: z.ZodNumber;
|
|
423
647
|
page: z.ZodNumber;
|
|
@@ -474,6 +698,7 @@ export declare const walletContract: {
|
|
|
474
698
|
username: z.ZodString;
|
|
475
699
|
amount: z.ZodString;
|
|
476
700
|
currency: z.ZodString;
|
|
701
|
+
network: z.ZodNullable<z.ZodString>;
|
|
477
702
|
rail: z.ZodNullable<z.ZodEnum<{
|
|
478
703
|
crypto: "crypto";
|
|
479
704
|
fiat: "fiat";
|
|
@@ -639,10 +864,96 @@ export declare const walletContract: {
|
|
|
639
864
|
createdAt: z.ZodISODateTime;
|
|
640
865
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
641
866
|
};
|
|
867
|
+
listAssets: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
|
|
868
|
+
currency: z.ZodString;
|
|
869
|
+
network: z.ZodString;
|
|
870
|
+
minDeposit: z.ZodString;
|
|
871
|
+
minWithdrawal: z.ZodString;
|
|
872
|
+
withdrawalFee: z.ZodString;
|
|
873
|
+
depositEnabled: z.ZodBoolean;
|
|
874
|
+
withdrawalEnabled: z.ZodBoolean;
|
|
875
|
+
}, z.core.$strip>>, Record<never, never>, Record<never, never>>;
|
|
876
|
+
assets: {
|
|
877
|
+
list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
|
|
878
|
+
currency: z.ZodString;
|
|
879
|
+
network: z.ZodString;
|
|
880
|
+
minDeposit: z.ZodString;
|
|
881
|
+
minWithdrawal: z.ZodString;
|
|
882
|
+
withdrawalFee: z.ZodString;
|
|
883
|
+
depositEnabled: z.ZodBoolean;
|
|
884
|
+
withdrawalEnabled: z.ZodBoolean;
|
|
885
|
+
id: z.ZodUUID;
|
|
886
|
+
providerAssetId: z.ZodString;
|
|
887
|
+
providerName: z.ZodNullable<z.ZodString>;
|
|
888
|
+
sweepFeeCeiling: z.ZodNullable<z.ZodString>;
|
|
889
|
+
poolLiquidityFloor: z.ZodNullable<z.ZodString>;
|
|
890
|
+
createdAt: z.ZodISODateTime;
|
|
891
|
+
updatedAt: z.ZodISODateTime;
|
|
892
|
+
}, z.core.$strip>>, Record<never, never>, Record<never, never>>;
|
|
893
|
+
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
894
|
+
currency: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
895
|
+
network: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
896
|
+
providerAssetId: z.ZodString;
|
|
897
|
+
minDeposit: z.ZodString;
|
|
898
|
+
minWithdrawal: z.ZodString;
|
|
899
|
+
withdrawalFee: z.ZodString;
|
|
900
|
+
depositEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
901
|
+
withdrawalEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
902
|
+
providerName: z.ZodOptional<z.ZodString>;
|
|
903
|
+
sweepFeeCeiling: z.ZodOptional<z.ZodString>;
|
|
904
|
+
poolLiquidityFloor: z.ZodOptional<z.ZodString>;
|
|
905
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
906
|
+
currency: z.ZodString;
|
|
907
|
+
network: z.ZodString;
|
|
908
|
+
minDeposit: z.ZodString;
|
|
909
|
+
minWithdrawal: z.ZodString;
|
|
910
|
+
withdrawalFee: z.ZodString;
|
|
911
|
+
depositEnabled: z.ZodBoolean;
|
|
912
|
+
withdrawalEnabled: z.ZodBoolean;
|
|
913
|
+
id: z.ZodUUID;
|
|
914
|
+
providerAssetId: z.ZodString;
|
|
915
|
+
providerName: z.ZodNullable<z.ZodString>;
|
|
916
|
+
sweepFeeCeiling: z.ZodNullable<z.ZodString>;
|
|
917
|
+
poolLiquidityFloor: z.ZodNullable<z.ZodString>;
|
|
918
|
+
createdAt: z.ZodISODateTime;
|
|
919
|
+
updatedAt: z.ZodISODateTime;
|
|
920
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
921
|
+
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
922
|
+
currency: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
923
|
+
network: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
924
|
+
providerAssetId: z.ZodOptional<z.ZodString>;
|
|
925
|
+
minDeposit: z.ZodOptional<z.ZodString>;
|
|
926
|
+
minWithdrawal: z.ZodOptional<z.ZodString>;
|
|
927
|
+
withdrawalFee: z.ZodOptional<z.ZodString>;
|
|
928
|
+
depositEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
929
|
+
withdrawalEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
930
|
+
sweepFeeCeiling: z.ZodOptional<z.ZodString>;
|
|
931
|
+
poolLiquidityFloor: z.ZodOptional<z.ZodString>;
|
|
932
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
933
|
+
currency: z.ZodString;
|
|
934
|
+
network: z.ZodString;
|
|
935
|
+
minDeposit: z.ZodString;
|
|
936
|
+
minWithdrawal: z.ZodString;
|
|
937
|
+
withdrawalFee: z.ZodString;
|
|
938
|
+
depositEnabled: z.ZodBoolean;
|
|
939
|
+
withdrawalEnabled: z.ZodBoolean;
|
|
940
|
+
id: z.ZodUUID;
|
|
941
|
+
providerAssetId: z.ZodString;
|
|
942
|
+
providerName: z.ZodNullable<z.ZodString>;
|
|
943
|
+
sweepFeeCeiling: z.ZodNullable<z.ZodString>;
|
|
944
|
+
poolLiquidityFloor: z.ZodNullable<z.ZodString>;
|
|
945
|
+
createdAt: z.ZodISODateTime;
|
|
946
|
+
updatedAt: z.ZodISODateTime;
|
|
947
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
948
|
+
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
949
|
+
currency: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
950
|
+
network: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
951
|
+
}, z.core.$strip>, z.ZodBoolean, Record<never, never>, Record<never, never>>;
|
|
952
|
+
};
|
|
642
953
|
deposits: {
|
|
643
954
|
getAddress: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
644
955
|
currency: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
645
|
-
network: z.ZodOptional<z.ZodString
|
|
956
|
+
network: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
646
957
|
}, z.core.$strip>, z.ZodObject<{
|
|
647
958
|
address: z.ZodString;
|
|
648
959
|
currency: z.ZodString;
|
|
@@ -653,5 +964,118 @@ export declare const walletContract: {
|
|
|
653
964
|
webhook: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodObject<{
|
|
654
965
|
ok: z.ZodLiteral<true>;
|
|
655
966
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
967
|
+
webhookForProvider: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
968
|
+
provider: z.ZodString;
|
|
969
|
+
}, z.core.$catchall<z.ZodUnknown>>, z.ZodObject<{
|
|
970
|
+
ok: z.ZodLiteral<true>;
|
|
971
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
972
|
+
custody: {
|
|
973
|
+
sweep: {
|
|
974
|
+
run: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
975
|
+
runId: z.ZodUUID;
|
|
976
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
977
|
+
};
|
|
978
|
+
};
|
|
979
|
+
reconciliation: {
|
|
980
|
+
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
981
|
+
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
982
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
983
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
984
|
+
open: "open";
|
|
985
|
+
resolved: "resolved";
|
|
986
|
+
}>>;
|
|
987
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
988
|
+
missing_deposit: "missing_deposit";
|
|
989
|
+
unattributed_deposit: "unattributed_deposit";
|
|
990
|
+
amount_mismatch: "amount_mismatch";
|
|
991
|
+
currency_mismatch: "currency_mismatch";
|
|
992
|
+
status_mismatch: "status_mismatch";
|
|
993
|
+
unknown_at_provider: "unknown_at_provider";
|
|
994
|
+
unconfigured_asset: "unconfigured_asset";
|
|
995
|
+
stuck_sweep: "stuck_sweep";
|
|
996
|
+
}>>;
|
|
997
|
+
providerName: z.ZodOptional<z.ZodString>;
|
|
998
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
999
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1000
|
+
id: z.ZodUUID;
|
|
1001
|
+
runId: z.ZodUUID;
|
|
1002
|
+
providerName: z.ZodString;
|
|
1003
|
+
kind: z.ZodEnum<{
|
|
1004
|
+
missing_deposit: "missing_deposit";
|
|
1005
|
+
unattributed_deposit: "unattributed_deposit";
|
|
1006
|
+
amount_mismatch: "amount_mismatch";
|
|
1007
|
+
currency_mismatch: "currency_mismatch";
|
|
1008
|
+
status_mismatch: "status_mismatch";
|
|
1009
|
+
unknown_at_provider: "unknown_at_provider";
|
|
1010
|
+
unconfigured_asset: "unconfigured_asset";
|
|
1011
|
+
stuck_sweep: "stuck_sweep";
|
|
1012
|
+
}>;
|
|
1013
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
1014
|
+
network: z.ZodNullable<z.ZodString>;
|
|
1015
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
1016
|
+
address: z.ZodNullable<z.ZodString>;
|
|
1017
|
+
tag: z.ZodNullable<z.ZodString>;
|
|
1018
|
+
txHash: z.ZodNullable<z.ZodString>;
|
|
1019
|
+
externalId: z.ZodNullable<z.ZodString>;
|
|
1020
|
+
transactionId: z.ZodNullable<z.ZodUUID>;
|
|
1021
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
1022
|
+
status: z.ZodEnum<{
|
|
1023
|
+
open: "open";
|
|
1024
|
+
resolved: "resolved";
|
|
1025
|
+
}>;
|
|
1026
|
+
resolvedBy: z.ZodNullable<z.ZodUUID>;
|
|
1027
|
+
resolvedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1028
|
+
resolutionNote: z.ZodNullable<z.ZodString>;
|
|
1029
|
+
createdAt: z.ZodISODateTime;
|
|
1030
|
+
}, z.core.$strip>>;
|
|
1031
|
+
total: z.ZodNumber;
|
|
1032
|
+
page: z.ZodNumber;
|
|
1033
|
+
limit: z.ZodNumber;
|
|
1034
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1035
|
+
resolve: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1036
|
+
id: z.ZodUUID;
|
|
1037
|
+
resolution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1038
|
+
outcome: z.ZodLiteral<"credited">;
|
|
1039
|
+
transactionId: z.ZodUUID;
|
|
1040
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1041
|
+
outcome: z.ZodLiteral<"dismissed">;
|
|
1042
|
+
note: z.ZodString;
|
|
1043
|
+
}, z.core.$strip>], "outcome">;
|
|
1044
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1045
|
+
id: z.ZodUUID;
|
|
1046
|
+
runId: z.ZodUUID;
|
|
1047
|
+
providerName: z.ZodString;
|
|
1048
|
+
kind: z.ZodEnum<{
|
|
1049
|
+
missing_deposit: "missing_deposit";
|
|
1050
|
+
unattributed_deposit: "unattributed_deposit";
|
|
1051
|
+
amount_mismatch: "amount_mismatch";
|
|
1052
|
+
currency_mismatch: "currency_mismatch";
|
|
1053
|
+
status_mismatch: "status_mismatch";
|
|
1054
|
+
unknown_at_provider: "unknown_at_provider";
|
|
1055
|
+
unconfigured_asset: "unconfigured_asset";
|
|
1056
|
+
stuck_sweep: "stuck_sweep";
|
|
1057
|
+
}>;
|
|
1058
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
1059
|
+
network: z.ZodNullable<z.ZodString>;
|
|
1060
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
1061
|
+
address: z.ZodNullable<z.ZodString>;
|
|
1062
|
+
tag: z.ZodNullable<z.ZodString>;
|
|
1063
|
+
txHash: z.ZodNullable<z.ZodString>;
|
|
1064
|
+
externalId: z.ZodNullable<z.ZodString>;
|
|
1065
|
+
transactionId: z.ZodNullable<z.ZodUUID>;
|
|
1066
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
1067
|
+
status: z.ZodEnum<{
|
|
1068
|
+
open: "open";
|
|
1069
|
+
resolved: "resolved";
|
|
1070
|
+
}>;
|
|
1071
|
+
resolvedBy: z.ZodNullable<z.ZodUUID>;
|
|
1072
|
+
resolvedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1073
|
+
resolutionNote: z.ZodNullable<z.ZodString>;
|
|
1074
|
+
createdAt: z.ZodISODateTime;
|
|
1075
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1076
|
+
run: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
1077
|
+
runId: z.ZodUUID;
|
|
1078
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1079
|
+
};
|
|
656
1080
|
};
|
|
657
1081
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/wallet/contract/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/wallet/contract/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAQL,gBAAgB,EAChB,6BAA6B,EAC7B,2BAA2B,EAC3B,qCAAqC,EACrC,uCAAuC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