wapi-client 0.16.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.browser.cjs +109 -0
- package/dist/client.browser.js +109 -0
- package/dist/client.cjs +109 -0
- package/dist/client.js +109 -0
- package/dist/fns/create-apikey/create-apikey.browser.cjs +51 -0
- package/dist/fns/create-apikey/create-apikey.browser.js +32 -0
- package/dist/fns/create-apikey/create-apikey.cjs +55 -0
- package/dist/fns/create-apikey/create-apikey.enums.browser.cjs +18 -0
- package/dist/fns/create-apikey/create-apikey.enums.browser.js +0 -0
- package/dist/fns/create-apikey/create-apikey.enums.cjs +18 -0
- package/dist/fns/create-apikey/create-apikey.enums.js +0 -0
- package/dist/fns/create-apikey/create-apikey.js +32 -0
- package/dist/fns/create-apikey/create-apikey.schema.zod.browser.cjs +49 -0
- package/dist/fns/create-apikey/create-apikey.schema.zod.browser.js +32 -0
- package/dist/fns/create-apikey/create-apikey.schema.zod.cjs +57 -0
- package/dist/fns/create-apikey/create-apikey.schema.zod.js +32 -0
- package/dist/fns/find-apikeys/find-apikeys.browser.cjs +49 -0
- package/dist/fns/find-apikeys/find-apikeys.browser.js +33 -0
- package/dist/fns/find-apikeys/find-apikeys.cjs +53 -0
- package/dist/fns/find-apikeys/find-apikeys.enums.browser.cjs +18 -0
- package/dist/fns/find-apikeys/find-apikeys.enums.browser.js +0 -0
- package/dist/fns/find-apikeys/find-apikeys.enums.cjs +18 -0
- package/dist/fns/find-apikeys/find-apikeys.enums.js +0 -0
- package/dist/fns/find-apikeys/find-apikeys.js +33 -0
- package/dist/fns/find-apikeys/find-apikeys.schema.zod.browser.cjs +64 -0
- package/dist/fns/find-apikeys/find-apikeys.schema.zod.browser.js +52 -0
- package/dist/fns/find-apikeys/find-apikeys.schema.zod.cjs +72 -0
- package/dist/fns/find-apikeys/find-apikeys.schema.zod.js +52 -0
- package/dist/fns/fn-types.browser.cjs +2 -0
- package/dist/fns/fn-types.browser.js +2 -0
- package/dist/fns/fn-types.cjs +4 -0
- package/dist/fns/fn-types.js +2 -0
- package/dist/fns/update-apikey/update-apikey.browser.cjs +41 -0
- package/dist/fns/update-apikey/update-apikey.browser.js +20 -0
- package/dist/fns/update-apikey/update-apikey.cjs +45 -0
- package/dist/fns/update-apikey/update-apikey.enums.browser.cjs +18 -0
- package/dist/fns/update-apikey/update-apikey.enums.browser.js +0 -0
- package/dist/fns/update-apikey/update-apikey.enums.cjs +18 -0
- package/dist/fns/update-apikey/update-apikey.enums.js +0 -0
- package/dist/fns/update-apikey/update-apikey.js +20 -0
- package/dist/fns/update-apikey/update-apikey.schema.zod.browser.cjs +48 -0
- package/dist/fns/update-apikey/update-apikey.schema.zod.browser.js +30 -0
- package/dist/fns/update-apikey/update-apikey.schema.zod.cjs +56 -0
- package/dist/fns/update-apikey/update-apikey.schema.zod.js +30 -0
- package/dist/lib/env.browser.cjs +1 -1
- package/dist/lib/env.browser.js +1 -1
- package/dist/lib/env.cjs +1 -1
- package/dist/lib/env.js +1 -1
- package/dist/lib/errors.browser.cjs +15 -0
- package/dist/lib/errors.browser.js +15 -0
- package/dist/lib/errors.cjs +15 -0
- package/dist/lib/errors.js +15 -0
- package/dist/lib/validator.browser.cjs +15 -6
- package/dist/lib/validator.browser.js +18 -0
- package/dist/lib/validator.cjs +15 -6
- package/dist/lib/validator.js +18 -0
- package/dist/txs/consts.browser.cjs +4 -1
- package/dist/txs/consts.browser.js +4 -1
- package/dist/txs/consts.cjs +4 -1
- package/dist/txs/consts.js +4 -1
- package/dist/txs/create-apikey/create-apikey.schema.zod.browser.cjs +6 -4
- package/dist/txs/create-apikey/create-apikey.schema.zod.browser.js +7 -5
- package/dist/txs/create-apikey/create-apikey.schema.zod.cjs +6 -4
- package/dist/txs/create-apikey/create-apikey.schema.zod.js +7 -5
- package/dist/txs/find-apikey-many/find-apikey-many.schema.zod.browser.cjs +1 -2
- package/dist/txs/find-apikey-many/find-apikey-many.schema.zod.browser.js +1 -2
- package/dist/txs/find-apikey-many/find-apikey-many.schema.zod.cjs +1 -2
- package/dist/txs/find-apikey-many/find-apikey-many.schema.zod.js +1 -2
- package/dist/txs/get-balance/get-balance.schema.zod.browser.cjs +1 -1
- package/dist/txs/get-balance/get-balance.schema.zod.browser.js +1 -1
- package/dist/txs/get-balance/get-balance.schema.zod.cjs +1 -1
- package/dist/txs/get-balance/get-balance.schema.zod.js +1 -1
- package/dist/txs/get-balance-history/get-balance-history.schema.zod.browser.cjs +1 -0
- package/dist/txs/get-balance-history/get-balance-history.schema.zod.browser.js +1 -0
- package/dist/txs/get-balance-history/get-balance-history.schema.zod.cjs +1 -0
- package/dist/txs/get-balance-history/get-balance-history.schema.zod.js +1 -0
- package/dist/types/wapi-client.d.ts +2029 -1217
- package/dist/wapi-client-web.iife.js +6 -6
- package/dist/wapi-client.iife.js +6 -6
- package/package.json +1 -1
|
@@ -168,6 +168,9 @@ declare module "wapi-client/lib/errors" {
|
|
|
168
168
|
TRANSACTION_NOT_FOUND: ErrorSpec;
|
|
169
169
|
ONLY_SELECT_ALLOWED: ErrorSpec;
|
|
170
170
|
CNT_DEPOSIT_TOKEN_MISMATCH: ErrorSpec;
|
|
171
|
+
ADMIN_KEY_REQUIRED: ErrorSpec;
|
|
172
|
+
CANT_EXCEED_CURRENT_SCOPES: ErrorSpec;
|
|
173
|
+
CANT_EXCEED_CURRENT_TIMEFRAME: ErrorSpec;
|
|
171
174
|
};
|
|
172
175
|
};
|
|
173
176
|
CONSTRAINT: {
|
|
@@ -309,6 +312,9 @@ declare module "wapi-client/lib/errors" {
|
|
|
309
312
|
TRANSACTION_NOT_FOUND: ErrorSpec;
|
|
310
313
|
ONLY_SELECT_ALLOWED: ErrorSpec;
|
|
311
314
|
CNT_DEPOSIT_TOKEN_MISMATCH: ErrorSpec;
|
|
315
|
+
ADMIN_KEY_REQUIRED: ErrorSpec;
|
|
316
|
+
CANT_EXCEED_CURRENT_SCOPES: ErrorSpec;
|
|
317
|
+
CANT_EXCEED_CURRENT_TIMEFRAME: ErrorSpec;
|
|
312
318
|
CONNECTION_LOST: ErrorSpec;
|
|
313
319
|
INPUT_STREAM_INVALID: ErrorSpec;
|
|
314
320
|
INVALID_RESPONSE_STREAM_CHUNK: ErrorSpec;
|
|
@@ -406,6 +412,9 @@ declare module "wapi-client/lib/errors" {
|
|
|
406
412
|
TRANSACTION_NOT_FOUND: "TRANSACTION_NOT_FOUND";
|
|
407
413
|
ONLY_SELECT_ALLOWED: "ONLY_SELECT_ALLOWED";
|
|
408
414
|
CNT_DEPOSIT_TOKEN_MISMATCH: "CNT_DEPOSIT_TOKEN_MISMATCH";
|
|
415
|
+
ADMIN_KEY_REQUIRED: "ADMIN_KEY_REQUIRED";
|
|
416
|
+
CANT_EXCEED_CURRENT_SCOPES: "CANT_EXCEED_CURRENT_SCOPES";
|
|
417
|
+
CANT_EXCEED_CURRENT_TIMEFRAME: "CANT_EXCEED_CURRENT_TIMEFRAME";
|
|
409
418
|
CONNECTION_LOST: "CONNECTION_LOST";
|
|
410
419
|
INPUT_STREAM_INVALID: "INPUT_STREAM_INVALID";
|
|
411
420
|
INVALID_RESPONSE_STREAM_CHUNK: "INVALID_RESPONSE_STREAM_CHUNK";
|
|
@@ -6080,6 +6089,557 @@ declare module "wapi-client/fns/create-access-token/create-access-token.schema.z
|
|
|
6080
6089
|
}, z.core.$strip>;
|
|
6081
6090
|
export const config: {};
|
|
6082
6091
|
}
|
|
6092
|
+
declare module "wapi-client/db/wapi-apikey/wapi-apikey.schema.zod" {
|
|
6093
|
+
import { z } from 'zod';
|
|
6094
|
+
export const wapiApikeyTableTypeSchema: z.ZodEnum<{
|
|
6095
|
+
limited: "limited";
|
|
6096
|
+
admin: "admin";
|
|
6097
|
+
root: "root";
|
|
6098
|
+
}>;
|
|
6099
|
+
export const WapiApikeyTypeEnum: Readonly<{
|
|
6100
|
+
limited: "limited";
|
|
6101
|
+
admin: "admin";
|
|
6102
|
+
root: "root";
|
|
6103
|
+
}>;
|
|
6104
|
+
export const wapiApikeyTableStatusSchema: z.ZodEnum<{
|
|
6105
|
+
active: "active";
|
|
6106
|
+
deleted: "deleted";
|
|
6107
|
+
}>;
|
|
6108
|
+
export const WapiApikeyStatusEnum: Readonly<{
|
|
6109
|
+
active: "active";
|
|
6110
|
+
deleted: "deleted";
|
|
6111
|
+
}>;
|
|
6112
|
+
export const wapiApikeyTableSchema: z.ZodObject<{
|
|
6113
|
+
id: z.ZodNumber;
|
|
6114
|
+
apikey: z.ZodString;
|
|
6115
|
+
owner: z.ZodString;
|
|
6116
|
+
type: z.ZodEnum<{
|
|
6117
|
+
limited: "limited";
|
|
6118
|
+
admin: "admin";
|
|
6119
|
+
root: "root";
|
|
6120
|
+
}>;
|
|
6121
|
+
description: z.ZodString;
|
|
6122
|
+
metadata: z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>;
|
|
6123
|
+
scopes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6124
|
+
functions: z.ZodArray<z.ZodString>;
|
|
6125
|
+
}, z.core.$strip>>>;
|
|
6126
|
+
valid_until: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>;
|
|
6127
|
+
status: z.ZodEnum<{
|
|
6128
|
+
active: "active";
|
|
6129
|
+
deleted: "deleted";
|
|
6130
|
+
}>;
|
|
6131
|
+
created_at: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>;
|
|
6132
|
+
updated_at: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>;
|
|
6133
|
+
}, z.core.$strict>;
|
|
6134
|
+
}
|
|
6135
|
+
declare module "wapi-client/txs/create-apikey/create-apikey.schema.zod" {
|
|
6136
|
+
import { z } from 'zod';
|
|
6137
|
+
export const createApikeyFunctionsSchema: z.ZodEnum<{
|
|
6138
|
+
aggregateTransferMany: "aggregateTransferMany";
|
|
6139
|
+
authenticationCheck: "authenticationCheck";
|
|
6140
|
+
createAccessToken: "createAccessToken";
|
|
6141
|
+
createApikey: "createApikey";
|
|
6142
|
+
createContract: "createContract";
|
|
6143
|
+
createDeposit: "createDeposit";
|
|
6144
|
+
createDistribution: "createDistribution";
|
|
6145
|
+
createToken: "createToken";
|
|
6146
|
+
createTransfer: "createTransfer";
|
|
6147
|
+
createTransferGroup: "createTransferGroup";
|
|
6148
|
+
createTransferMany: "createTransferMany";
|
|
6149
|
+
createWallet: "createWallet";
|
|
6150
|
+
createWithdrawal: "createWithdrawal";
|
|
6151
|
+
exportBalanceHistory: "exportBalanceHistory";
|
|
6152
|
+
exportBalanceMany: "exportBalanceMany";
|
|
6153
|
+
exportTokenMany: "exportTokenMany";
|
|
6154
|
+
exportTransferGroupMany: "exportTransferGroupMany";
|
|
6155
|
+
exportTransferMany: "exportTransferMany";
|
|
6156
|
+
exportWalletMany: "exportWalletMany";
|
|
6157
|
+
findApikeyMany: "findApikeyMany";
|
|
6158
|
+
findBalanceMany: "findBalanceMany";
|
|
6159
|
+
findTokenMany: "findTokenMany";
|
|
6160
|
+
findTransferGroupMany: "findTransferGroupMany";
|
|
6161
|
+
findTransferMany: "findTransferMany";
|
|
6162
|
+
findWalletMany: "findWalletMany";
|
|
6163
|
+
finishTransaction: "finishTransaction";
|
|
6164
|
+
getBalance: "getBalance";
|
|
6165
|
+
getBalanceHistory: "getBalanceHistory";
|
|
6166
|
+
getExport: "getExport";
|
|
6167
|
+
getFlags: "getFlags";
|
|
6168
|
+
getStatistics: "getStatistics";
|
|
6169
|
+
getToken: "getToken";
|
|
6170
|
+
getTokenMany: "getTokenMany";
|
|
6171
|
+
getTransfer: "getTransfer";
|
|
6172
|
+
getTransferGroup: "getTransferGroup";
|
|
6173
|
+
getWallet: "getWallet";
|
|
6174
|
+
getWalletMany: "getWalletMany";
|
|
6175
|
+
healthcheck: "healthcheck";
|
|
6176
|
+
listDatabaseExports: "listDatabaseExports";
|
|
6177
|
+
listExportMany: "listExportMany";
|
|
6178
|
+
resetDatabase: "resetDatabase";
|
|
6179
|
+
reverseTransfer: "reverseTransfer";
|
|
6180
|
+
reverseTransferGroup: "reverseTransferGroup";
|
|
6181
|
+
reverseTransferGroupMany: "reverseTransferGroupMany";
|
|
6182
|
+
reverseTransferMany: "reverseTransferMany";
|
|
6183
|
+
setFlags: "setFlags";
|
|
6184
|
+
startTransaction: "startTransaction";
|
|
6185
|
+
updateApikey: "updateApikey";
|
|
6186
|
+
updateToken: "updateToken";
|
|
6187
|
+
updateTransfer: "updateTransfer";
|
|
6188
|
+
updateTransferGroup: "updateTransferGroup";
|
|
6189
|
+
updateTransferGroupMany: "updateTransferGroupMany";
|
|
6190
|
+
updateTransferMany: "updateTransferMany";
|
|
6191
|
+
updateWallet: "updateWallet";
|
|
6192
|
+
}>;
|
|
6193
|
+
export const createApikeyLimited: z.ZodObject<{
|
|
6194
|
+
type: z.ZodEnum<{
|
|
6195
|
+
limited: "limited";
|
|
6196
|
+
}>;
|
|
6197
|
+
functions: z.ZodArray<z.ZodEnum<{
|
|
6198
|
+
aggregateTransferMany: "aggregateTransferMany";
|
|
6199
|
+
authenticationCheck: "authenticationCheck";
|
|
6200
|
+
createAccessToken: "createAccessToken";
|
|
6201
|
+
createApikey: "createApikey";
|
|
6202
|
+
createContract: "createContract";
|
|
6203
|
+
createDeposit: "createDeposit";
|
|
6204
|
+
createDistribution: "createDistribution";
|
|
6205
|
+
createToken: "createToken";
|
|
6206
|
+
createTransfer: "createTransfer";
|
|
6207
|
+
createTransferGroup: "createTransferGroup";
|
|
6208
|
+
createTransferMany: "createTransferMany";
|
|
6209
|
+
createWallet: "createWallet";
|
|
6210
|
+
createWithdrawal: "createWithdrawal";
|
|
6211
|
+
exportBalanceHistory: "exportBalanceHistory";
|
|
6212
|
+
exportBalanceMany: "exportBalanceMany";
|
|
6213
|
+
exportTokenMany: "exportTokenMany";
|
|
6214
|
+
exportTransferGroupMany: "exportTransferGroupMany";
|
|
6215
|
+
exportTransferMany: "exportTransferMany";
|
|
6216
|
+
exportWalletMany: "exportWalletMany";
|
|
6217
|
+
findApikeyMany: "findApikeyMany";
|
|
6218
|
+
findBalanceMany: "findBalanceMany";
|
|
6219
|
+
findTokenMany: "findTokenMany";
|
|
6220
|
+
findTransferGroupMany: "findTransferGroupMany";
|
|
6221
|
+
findTransferMany: "findTransferMany";
|
|
6222
|
+
findWalletMany: "findWalletMany";
|
|
6223
|
+
finishTransaction: "finishTransaction";
|
|
6224
|
+
getBalance: "getBalance";
|
|
6225
|
+
getBalanceHistory: "getBalanceHistory";
|
|
6226
|
+
getExport: "getExport";
|
|
6227
|
+
getFlags: "getFlags";
|
|
6228
|
+
getStatistics: "getStatistics";
|
|
6229
|
+
getToken: "getToken";
|
|
6230
|
+
getTokenMany: "getTokenMany";
|
|
6231
|
+
getTransfer: "getTransfer";
|
|
6232
|
+
getTransferGroup: "getTransferGroup";
|
|
6233
|
+
getWallet: "getWallet";
|
|
6234
|
+
getWalletMany: "getWalletMany";
|
|
6235
|
+
healthcheck: "healthcheck";
|
|
6236
|
+
listDatabaseExports: "listDatabaseExports";
|
|
6237
|
+
listExportMany: "listExportMany";
|
|
6238
|
+
resetDatabase: "resetDatabase";
|
|
6239
|
+
reverseTransfer: "reverseTransfer";
|
|
6240
|
+
reverseTransferGroup: "reverseTransferGroup";
|
|
6241
|
+
reverseTransferGroupMany: "reverseTransferGroupMany";
|
|
6242
|
+
reverseTransferMany: "reverseTransferMany";
|
|
6243
|
+
setFlags: "setFlags";
|
|
6244
|
+
startTransaction: "startTransaction";
|
|
6245
|
+
updateApikey: "updateApikey";
|
|
6246
|
+
updateToken: "updateToken";
|
|
6247
|
+
updateTransfer: "updateTransfer";
|
|
6248
|
+
updateTransferGroup: "updateTransferGroup";
|
|
6249
|
+
updateTransferGroupMany: "updateTransferGroupMany";
|
|
6250
|
+
updateTransferMany: "updateTransferMany";
|
|
6251
|
+
updateWallet: "updateWallet";
|
|
6252
|
+
}>>;
|
|
6253
|
+
description: z.ZodString;
|
|
6254
|
+
valid_until: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
6255
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
6256
|
+
}, z.core.$strict>;
|
|
6257
|
+
export const createApikeyAdmin: z.ZodObject<{
|
|
6258
|
+
type: z.ZodEnum<{
|
|
6259
|
+
admin: "admin";
|
|
6260
|
+
}>;
|
|
6261
|
+
description: z.ZodString;
|
|
6262
|
+
valid_until: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
6263
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
6264
|
+
}, z.core.$strict>;
|
|
6265
|
+
export const createApikeyTxInputOptionsSchema: z.ZodObject<{
|
|
6266
|
+
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6267
|
+
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6268
|
+
}, z.core.$strip>;
|
|
6269
|
+
export const createApikeyTxInputSchema: z.ZodObject<{
|
|
6270
|
+
apikey: z.ZodNonOptional<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6271
|
+
type: z.ZodEnum<{
|
|
6272
|
+
limited: "limited";
|
|
6273
|
+
}>;
|
|
6274
|
+
functions: z.ZodArray<z.ZodEnum<{
|
|
6275
|
+
aggregateTransferMany: "aggregateTransferMany";
|
|
6276
|
+
authenticationCheck: "authenticationCheck";
|
|
6277
|
+
createAccessToken: "createAccessToken";
|
|
6278
|
+
createApikey: "createApikey";
|
|
6279
|
+
createContract: "createContract";
|
|
6280
|
+
createDeposit: "createDeposit";
|
|
6281
|
+
createDistribution: "createDistribution";
|
|
6282
|
+
createToken: "createToken";
|
|
6283
|
+
createTransfer: "createTransfer";
|
|
6284
|
+
createTransferGroup: "createTransferGroup";
|
|
6285
|
+
createTransferMany: "createTransferMany";
|
|
6286
|
+
createWallet: "createWallet";
|
|
6287
|
+
createWithdrawal: "createWithdrawal";
|
|
6288
|
+
exportBalanceHistory: "exportBalanceHistory";
|
|
6289
|
+
exportBalanceMany: "exportBalanceMany";
|
|
6290
|
+
exportTokenMany: "exportTokenMany";
|
|
6291
|
+
exportTransferGroupMany: "exportTransferGroupMany";
|
|
6292
|
+
exportTransferMany: "exportTransferMany";
|
|
6293
|
+
exportWalletMany: "exportWalletMany";
|
|
6294
|
+
findApikeyMany: "findApikeyMany";
|
|
6295
|
+
findBalanceMany: "findBalanceMany";
|
|
6296
|
+
findTokenMany: "findTokenMany";
|
|
6297
|
+
findTransferGroupMany: "findTransferGroupMany";
|
|
6298
|
+
findTransferMany: "findTransferMany";
|
|
6299
|
+
findWalletMany: "findWalletMany";
|
|
6300
|
+
finishTransaction: "finishTransaction";
|
|
6301
|
+
getBalance: "getBalance";
|
|
6302
|
+
getBalanceHistory: "getBalanceHistory";
|
|
6303
|
+
getExport: "getExport";
|
|
6304
|
+
getFlags: "getFlags";
|
|
6305
|
+
getStatistics: "getStatistics";
|
|
6306
|
+
getToken: "getToken";
|
|
6307
|
+
getTokenMany: "getTokenMany";
|
|
6308
|
+
getTransfer: "getTransfer";
|
|
6309
|
+
getTransferGroup: "getTransferGroup";
|
|
6310
|
+
getWallet: "getWallet";
|
|
6311
|
+
getWalletMany: "getWalletMany";
|
|
6312
|
+
healthcheck: "healthcheck";
|
|
6313
|
+
listDatabaseExports: "listDatabaseExports";
|
|
6314
|
+
listExportMany: "listExportMany";
|
|
6315
|
+
resetDatabase: "resetDatabase";
|
|
6316
|
+
reverseTransfer: "reverseTransfer";
|
|
6317
|
+
reverseTransferGroup: "reverseTransferGroup";
|
|
6318
|
+
reverseTransferGroupMany: "reverseTransferGroupMany";
|
|
6319
|
+
reverseTransferMany: "reverseTransferMany";
|
|
6320
|
+
setFlags: "setFlags";
|
|
6321
|
+
startTransaction: "startTransaction";
|
|
6322
|
+
updateApikey: "updateApikey";
|
|
6323
|
+
updateToken: "updateToken";
|
|
6324
|
+
updateTransfer: "updateTransfer";
|
|
6325
|
+
updateTransferGroup: "updateTransferGroup";
|
|
6326
|
+
updateTransferGroupMany: "updateTransferGroupMany";
|
|
6327
|
+
updateTransferMany: "updateTransferMany";
|
|
6328
|
+
updateWallet: "updateWallet";
|
|
6329
|
+
}>>;
|
|
6330
|
+
description: z.ZodString;
|
|
6331
|
+
valid_until: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
6332
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
6333
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6334
|
+
type: z.ZodEnum<{
|
|
6335
|
+
admin: "admin";
|
|
6336
|
+
}>;
|
|
6337
|
+
description: z.ZodString;
|
|
6338
|
+
valid_until: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
6339
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
6340
|
+
}, z.core.$strict>], "type">>>;
|
|
6341
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
6342
|
+
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6343
|
+
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6344
|
+
}, z.core.$strip>>;
|
|
6345
|
+
}, z.core.$strict>;
|
|
6346
|
+
export const createApikeyTxOutputSchema: z.ZodObject<{
|
|
6347
|
+
apikey: z.ZodObject<{
|
|
6348
|
+
type: z.ZodEnum<{
|
|
6349
|
+
limited: "limited";
|
|
6350
|
+
admin: "admin";
|
|
6351
|
+
root: "root";
|
|
6352
|
+
}>;
|
|
6353
|
+
description: z.ZodString;
|
|
6354
|
+
id: z.ZodNumber;
|
|
6355
|
+
metadata: z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>;
|
|
6356
|
+
apikey: z.ZodString;
|
|
6357
|
+
created_at: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>;
|
|
6358
|
+
updated_at: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>;
|
|
6359
|
+
status: z.ZodEnum<{
|
|
6360
|
+
active: "active";
|
|
6361
|
+
deleted: "deleted";
|
|
6362
|
+
}>;
|
|
6363
|
+
valid_until: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>;
|
|
6364
|
+
functions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6365
|
+
aggregateTransferMany: "aggregateTransferMany";
|
|
6366
|
+
authenticationCheck: "authenticationCheck";
|
|
6367
|
+
createAccessToken: "createAccessToken";
|
|
6368
|
+
createApikey: "createApikey";
|
|
6369
|
+
createContract: "createContract";
|
|
6370
|
+
createDeposit: "createDeposit";
|
|
6371
|
+
createDistribution: "createDistribution";
|
|
6372
|
+
createToken: "createToken";
|
|
6373
|
+
createTransfer: "createTransfer";
|
|
6374
|
+
createTransferGroup: "createTransferGroup";
|
|
6375
|
+
createTransferMany: "createTransferMany";
|
|
6376
|
+
createWallet: "createWallet";
|
|
6377
|
+
createWithdrawal: "createWithdrawal";
|
|
6378
|
+
exportBalanceHistory: "exportBalanceHistory";
|
|
6379
|
+
exportBalanceMany: "exportBalanceMany";
|
|
6380
|
+
exportTokenMany: "exportTokenMany";
|
|
6381
|
+
exportTransferGroupMany: "exportTransferGroupMany";
|
|
6382
|
+
exportTransferMany: "exportTransferMany";
|
|
6383
|
+
exportWalletMany: "exportWalletMany";
|
|
6384
|
+
findApikeyMany: "findApikeyMany";
|
|
6385
|
+
findBalanceMany: "findBalanceMany";
|
|
6386
|
+
findTokenMany: "findTokenMany";
|
|
6387
|
+
findTransferGroupMany: "findTransferGroupMany";
|
|
6388
|
+
findTransferMany: "findTransferMany";
|
|
6389
|
+
findWalletMany: "findWalletMany";
|
|
6390
|
+
finishTransaction: "finishTransaction";
|
|
6391
|
+
getBalance: "getBalance";
|
|
6392
|
+
getBalanceHistory: "getBalanceHistory";
|
|
6393
|
+
getExport: "getExport";
|
|
6394
|
+
getFlags: "getFlags";
|
|
6395
|
+
getStatistics: "getStatistics";
|
|
6396
|
+
getToken: "getToken";
|
|
6397
|
+
getTokenMany: "getTokenMany";
|
|
6398
|
+
getTransfer: "getTransfer";
|
|
6399
|
+
getTransferGroup: "getTransferGroup";
|
|
6400
|
+
getWallet: "getWallet";
|
|
6401
|
+
getWalletMany: "getWalletMany";
|
|
6402
|
+
healthcheck: "healthcheck";
|
|
6403
|
+
listDatabaseExports: "listDatabaseExports";
|
|
6404
|
+
listExportMany: "listExportMany";
|
|
6405
|
+
resetDatabase: "resetDatabase";
|
|
6406
|
+
reverseTransfer: "reverseTransfer";
|
|
6407
|
+
reverseTransferGroup: "reverseTransferGroup";
|
|
6408
|
+
reverseTransferGroupMany: "reverseTransferGroupMany";
|
|
6409
|
+
reverseTransferMany: "reverseTransferMany";
|
|
6410
|
+
setFlags: "setFlags";
|
|
6411
|
+
startTransaction: "startTransaction";
|
|
6412
|
+
updateApikey: "updateApikey";
|
|
6413
|
+
updateToken: "updateToken";
|
|
6414
|
+
updateTransfer: "updateTransfer";
|
|
6415
|
+
updateTransferGroup: "updateTransferGroup";
|
|
6416
|
+
updateTransferGroupMany: "updateTransferGroupMany";
|
|
6417
|
+
updateTransferMany: "updateTransferMany";
|
|
6418
|
+
updateWallet: "updateWallet";
|
|
6419
|
+
}>>>;
|
|
6420
|
+
apisecret: z.ZodString;
|
|
6421
|
+
}, z.core.$strict>;
|
|
6422
|
+
}, z.core.$strip>;
|
|
6423
|
+
}
|
|
6424
|
+
declare module "wapi-client/fns/create-apikey/create-apikey.schema.zod" {
|
|
6425
|
+
import { z } from "wapi-client/lib/zod";
|
|
6426
|
+
export const createApikeyFnOptionsSchema: z.ZodObject<{
|
|
6427
|
+
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6428
|
+
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6429
|
+
}, z.core.$strip>;
|
|
6430
|
+
export const createApikeyInputSchema: z.ZodObject<{
|
|
6431
|
+
type: z.ZodEnum<{
|
|
6432
|
+
limited: "limited";
|
|
6433
|
+
admin: "admin";
|
|
6434
|
+
}>;
|
|
6435
|
+
description: z.ZodString;
|
|
6436
|
+
functions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6437
|
+
aggregateTransferMany: "aggregateTransferMany";
|
|
6438
|
+
authenticationCheck: "authenticationCheck";
|
|
6439
|
+
createAccessToken: "createAccessToken";
|
|
6440
|
+
createApikey: "createApikey";
|
|
6441
|
+
createContract: "createContract";
|
|
6442
|
+
createDeposit: "createDeposit";
|
|
6443
|
+
createDistribution: "createDistribution";
|
|
6444
|
+
createToken: "createToken";
|
|
6445
|
+
createTransfer: "createTransfer";
|
|
6446
|
+
createTransferGroup: "createTransferGroup";
|
|
6447
|
+
createTransferMany: "createTransferMany";
|
|
6448
|
+
createWallet: "createWallet";
|
|
6449
|
+
createWithdrawal: "createWithdrawal";
|
|
6450
|
+
exportBalanceHistory: "exportBalanceHistory";
|
|
6451
|
+
exportBalanceMany: "exportBalanceMany";
|
|
6452
|
+
exportTokenMany: "exportTokenMany";
|
|
6453
|
+
exportTransferGroupMany: "exportTransferGroupMany";
|
|
6454
|
+
exportTransferMany: "exportTransferMany";
|
|
6455
|
+
exportWalletMany: "exportWalletMany";
|
|
6456
|
+
findApikeyMany: "findApikeyMany";
|
|
6457
|
+
findBalanceMany: "findBalanceMany";
|
|
6458
|
+
findTokenMany: "findTokenMany";
|
|
6459
|
+
findTransferGroupMany: "findTransferGroupMany";
|
|
6460
|
+
findTransferMany: "findTransferMany";
|
|
6461
|
+
findWalletMany: "findWalletMany";
|
|
6462
|
+
finishTransaction: "finishTransaction";
|
|
6463
|
+
getBalance: "getBalance";
|
|
6464
|
+
getBalanceHistory: "getBalanceHistory";
|
|
6465
|
+
getExport: "getExport";
|
|
6466
|
+
getFlags: "getFlags";
|
|
6467
|
+
getStatistics: "getStatistics";
|
|
6468
|
+
getToken: "getToken";
|
|
6469
|
+
getTokenMany: "getTokenMany";
|
|
6470
|
+
getTransfer: "getTransfer";
|
|
6471
|
+
getTransferGroup: "getTransferGroup";
|
|
6472
|
+
getWallet: "getWallet";
|
|
6473
|
+
getWalletMany: "getWalletMany";
|
|
6474
|
+
healthcheck: "healthcheck";
|
|
6475
|
+
listDatabaseExports: "listDatabaseExports";
|
|
6476
|
+
listExportMany: "listExportMany";
|
|
6477
|
+
resetDatabase: "resetDatabase";
|
|
6478
|
+
reverseTransfer: "reverseTransfer";
|
|
6479
|
+
reverseTransferGroup: "reverseTransferGroup";
|
|
6480
|
+
reverseTransferGroupMany: "reverseTransferGroupMany";
|
|
6481
|
+
reverseTransferMany: "reverseTransferMany";
|
|
6482
|
+
setFlags: "setFlags";
|
|
6483
|
+
startTransaction: "startTransaction";
|
|
6484
|
+
updateApikey: "updateApikey";
|
|
6485
|
+
updateToken: "updateToken";
|
|
6486
|
+
updateTransfer: "updateTransfer";
|
|
6487
|
+
updateTransferGroup: "updateTransferGroup";
|
|
6488
|
+
updateTransferGroupMany: "updateTransferGroupMany";
|
|
6489
|
+
updateTransferMany: "updateTransferMany";
|
|
6490
|
+
updateWallet: "updateWallet";
|
|
6491
|
+
}>>>;
|
|
6492
|
+
valid_until: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
6493
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
6494
|
+
}, z.core.$strip>;
|
|
6495
|
+
export const createApikeyFnInputSchema: z.ZodObject<{
|
|
6496
|
+
type: z.ZodEnum<{
|
|
6497
|
+
limited: "limited";
|
|
6498
|
+
admin: "admin";
|
|
6499
|
+
}>;
|
|
6500
|
+
description: z.ZodString;
|
|
6501
|
+
functions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6502
|
+
aggregateTransferMany: "aggregateTransferMany";
|
|
6503
|
+
authenticationCheck: "authenticationCheck";
|
|
6504
|
+
createAccessToken: "createAccessToken";
|
|
6505
|
+
createApikey: "createApikey";
|
|
6506
|
+
createContract: "createContract";
|
|
6507
|
+
createDeposit: "createDeposit";
|
|
6508
|
+
createDistribution: "createDistribution";
|
|
6509
|
+
createToken: "createToken";
|
|
6510
|
+
createTransfer: "createTransfer";
|
|
6511
|
+
createTransferGroup: "createTransferGroup";
|
|
6512
|
+
createTransferMany: "createTransferMany";
|
|
6513
|
+
createWallet: "createWallet";
|
|
6514
|
+
createWithdrawal: "createWithdrawal";
|
|
6515
|
+
exportBalanceHistory: "exportBalanceHistory";
|
|
6516
|
+
exportBalanceMany: "exportBalanceMany";
|
|
6517
|
+
exportTokenMany: "exportTokenMany";
|
|
6518
|
+
exportTransferGroupMany: "exportTransferGroupMany";
|
|
6519
|
+
exportTransferMany: "exportTransferMany";
|
|
6520
|
+
exportWalletMany: "exportWalletMany";
|
|
6521
|
+
findApikeyMany: "findApikeyMany";
|
|
6522
|
+
findBalanceMany: "findBalanceMany";
|
|
6523
|
+
findTokenMany: "findTokenMany";
|
|
6524
|
+
findTransferGroupMany: "findTransferGroupMany";
|
|
6525
|
+
findTransferMany: "findTransferMany";
|
|
6526
|
+
findWalletMany: "findWalletMany";
|
|
6527
|
+
finishTransaction: "finishTransaction";
|
|
6528
|
+
getBalance: "getBalance";
|
|
6529
|
+
getBalanceHistory: "getBalanceHistory";
|
|
6530
|
+
getExport: "getExport";
|
|
6531
|
+
getFlags: "getFlags";
|
|
6532
|
+
getStatistics: "getStatistics";
|
|
6533
|
+
getToken: "getToken";
|
|
6534
|
+
getTokenMany: "getTokenMany";
|
|
6535
|
+
getTransfer: "getTransfer";
|
|
6536
|
+
getTransferGroup: "getTransferGroup";
|
|
6537
|
+
getWallet: "getWallet";
|
|
6538
|
+
getWalletMany: "getWalletMany";
|
|
6539
|
+
healthcheck: "healthcheck";
|
|
6540
|
+
listDatabaseExports: "listDatabaseExports";
|
|
6541
|
+
listExportMany: "listExportMany";
|
|
6542
|
+
resetDatabase: "resetDatabase";
|
|
6543
|
+
reverseTransfer: "reverseTransfer";
|
|
6544
|
+
reverseTransferGroup: "reverseTransferGroup";
|
|
6545
|
+
reverseTransferGroupMany: "reverseTransferGroupMany";
|
|
6546
|
+
reverseTransferMany: "reverseTransferMany";
|
|
6547
|
+
setFlags: "setFlags";
|
|
6548
|
+
startTransaction: "startTransaction";
|
|
6549
|
+
updateApikey: "updateApikey";
|
|
6550
|
+
updateToken: "updateToken";
|
|
6551
|
+
updateTransfer: "updateTransfer";
|
|
6552
|
+
updateTransferGroup: "updateTransferGroup";
|
|
6553
|
+
updateTransferGroupMany: "updateTransferGroupMany";
|
|
6554
|
+
updateTransferMany: "updateTransferMany";
|
|
6555
|
+
updateWallet: "updateWallet";
|
|
6556
|
+
}>>>;
|
|
6557
|
+
valid_until: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
6558
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
6559
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
6560
|
+
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6561
|
+
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6562
|
+
}, z.core.$strip>>;
|
|
6563
|
+
}, z.core.$strip>;
|
|
6564
|
+
export const createApikeyFnOutputSchema: z.ZodObject<{
|
|
6565
|
+
apikey: z.ZodObject<{
|
|
6566
|
+
type: z.ZodEnum<{
|
|
6567
|
+
limited: "limited";
|
|
6568
|
+
admin: "admin";
|
|
6569
|
+
root: "root";
|
|
6570
|
+
}>;
|
|
6571
|
+
description: z.ZodString;
|
|
6572
|
+
id: z.ZodNumber;
|
|
6573
|
+
metadata: z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>;
|
|
6574
|
+
apikey: z.ZodString;
|
|
6575
|
+
created_at: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>;
|
|
6576
|
+
updated_at: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>;
|
|
6577
|
+
status: z.ZodEnum<{
|
|
6578
|
+
active: "active";
|
|
6579
|
+
deleted: "deleted";
|
|
6580
|
+
}>;
|
|
6581
|
+
valid_until: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>;
|
|
6582
|
+
functions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6583
|
+
aggregateTransferMany: "aggregateTransferMany";
|
|
6584
|
+
authenticationCheck: "authenticationCheck";
|
|
6585
|
+
createAccessToken: "createAccessToken";
|
|
6586
|
+
createApikey: "createApikey";
|
|
6587
|
+
createContract: "createContract";
|
|
6588
|
+
createDeposit: "createDeposit";
|
|
6589
|
+
createDistribution: "createDistribution";
|
|
6590
|
+
createToken: "createToken";
|
|
6591
|
+
createTransfer: "createTransfer";
|
|
6592
|
+
createTransferGroup: "createTransferGroup";
|
|
6593
|
+
createTransferMany: "createTransferMany";
|
|
6594
|
+
createWallet: "createWallet";
|
|
6595
|
+
createWithdrawal: "createWithdrawal";
|
|
6596
|
+
exportBalanceHistory: "exportBalanceHistory";
|
|
6597
|
+
exportBalanceMany: "exportBalanceMany";
|
|
6598
|
+
exportTokenMany: "exportTokenMany";
|
|
6599
|
+
exportTransferGroupMany: "exportTransferGroupMany";
|
|
6600
|
+
exportTransferMany: "exportTransferMany";
|
|
6601
|
+
exportWalletMany: "exportWalletMany";
|
|
6602
|
+
findApikeyMany: "findApikeyMany";
|
|
6603
|
+
findBalanceMany: "findBalanceMany";
|
|
6604
|
+
findTokenMany: "findTokenMany";
|
|
6605
|
+
findTransferGroupMany: "findTransferGroupMany";
|
|
6606
|
+
findTransferMany: "findTransferMany";
|
|
6607
|
+
findWalletMany: "findWalletMany";
|
|
6608
|
+
finishTransaction: "finishTransaction";
|
|
6609
|
+
getBalance: "getBalance";
|
|
6610
|
+
getBalanceHistory: "getBalanceHistory";
|
|
6611
|
+
getExport: "getExport";
|
|
6612
|
+
getFlags: "getFlags";
|
|
6613
|
+
getStatistics: "getStatistics";
|
|
6614
|
+
getToken: "getToken";
|
|
6615
|
+
getTokenMany: "getTokenMany";
|
|
6616
|
+
getTransfer: "getTransfer";
|
|
6617
|
+
getTransferGroup: "getTransferGroup";
|
|
6618
|
+
getWallet: "getWallet";
|
|
6619
|
+
getWalletMany: "getWalletMany";
|
|
6620
|
+
healthcheck: "healthcheck";
|
|
6621
|
+
listDatabaseExports: "listDatabaseExports";
|
|
6622
|
+
listExportMany: "listExportMany";
|
|
6623
|
+
resetDatabase: "resetDatabase";
|
|
6624
|
+
reverseTransfer: "reverseTransfer";
|
|
6625
|
+
reverseTransferGroup: "reverseTransferGroup";
|
|
6626
|
+
reverseTransferGroupMany: "reverseTransferGroupMany";
|
|
6627
|
+
reverseTransferMany: "reverseTransferMany";
|
|
6628
|
+
setFlags: "setFlags";
|
|
6629
|
+
startTransaction: "startTransaction";
|
|
6630
|
+
updateApikey: "updateApikey";
|
|
6631
|
+
updateToken: "updateToken";
|
|
6632
|
+
updateTransfer: "updateTransfer";
|
|
6633
|
+
updateTransferGroup: "updateTransferGroup";
|
|
6634
|
+
updateTransferGroupMany: "updateTransferGroupMany";
|
|
6635
|
+
updateTransferMany: "updateTransferMany";
|
|
6636
|
+
updateWallet: "updateWallet";
|
|
6637
|
+
}>>>;
|
|
6638
|
+
apisecret: z.ZodString;
|
|
6639
|
+
}, z.core.$strict>;
|
|
6640
|
+
}, z.core.$strip>;
|
|
6641
|
+
export const config: {};
|
|
6642
|
+
}
|
|
6083
6643
|
declare module "wapi-client/txs/get-balance/get-balance.schema.zod" {
|
|
6084
6644
|
import { z } from 'zod';
|
|
6085
6645
|
export const uniqueBalanceFilter: z.ZodObject<{
|
|
@@ -10830,6 +11390,7 @@ declare module "wapi-client/txs/get-balance-history/get-balance-history.schema.z
|
|
|
10830
11390
|
}>>;
|
|
10831
11391
|
}, z.core.$strip>;
|
|
10832
11392
|
export const getBalanceHistoryTxInputOptionsSchema: z.ZodObject<{
|
|
11393
|
+
anchor: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
|
|
10833
11394
|
return_all_intervals: z.ZodOptional<z.ZodObject<{
|
|
10834
11395
|
start_time: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
10835
11396
|
end_time: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
@@ -10959,6 +11520,7 @@ declare module "wapi-client/txs/get-balance-history/get-balance-history.schema.z
|
|
|
10959
11520
|
datetime: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
10960
11521
|
}, z.core.$strict>>;
|
|
10961
11522
|
options: z.ZodOptional<z.ZodObject<{
|
|
11523
|
+
anchor: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
|
|
10962
11524
|
return_all_intervals: z.ZodOptional<z.ZodObject<{
|
|
10963
11525
|
start_time: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
10964
11526
|
end_time: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
@@ -18158,133 +18720,552 @@ declare module "wapi-client/txs/export-wallet-many/export-wallet-many.schema.zod
|
|
|
18158
18720
|
balance_latest_control_hash: "balance_latest_control_hash";
|
|
18159
18721
|
balance_updated_at: "balance_updated_at";
|
|
18160
18722
|
}>>>;
|
|
18161
|
-
return_metadata_total: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
18162
|
-
limit: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
|
18163
|
-
offset: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
|
18164
|
-
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
18165
|
-
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
18723
|
+
return_metadata_total: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
18724
|
+
limit: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
|
18725
|
+
offset: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
|
18726
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
18727
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
18728
|
+
}, import("zod/v4/core").$strip>;
|
|
18729
|
+
export const exportWalletManyTxInputSchema: import("zod").ZodObject<{
|
|
18730
|
+
wallet: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodType<import("wapi-client/db/consts").DbFilterGeneric<{
|
|
18731
|
+
id?: number | undefined;
|
|
18732
|
+
balance_pending_amount?: number | null | undefined;
|
|
18733
|
+
balance_finished_amount?: number | null | undefined;
|
|
18734
|
+
balance_available_balance?: number | null | undefined;
|
|
18735
|
+
created_at?: string | undefined;
|
|
18736
|
+
updated_at?: string | undefined;
|
|
18737
|
+
foreign?: string | undefined;
|
|
18738
|
+
name?: string | undefined;
|
|
18739
|
+
type?: "token" | "house" | "regular" | undefined;
|
|
18740
|
+
status?: "active" | "disabled" | undefined;
|
|
18741
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
18742
|
+
}, import("zod").ZodObject<{
|
|
18743
|
+
foreign: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodTransform<string, string | number>>>;
|
|
18744
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18745
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18746
|
+
token: "token";
|
|
18747
|
+
house: "house";
|
|
18748
|
+
regular: "regular";
|
|
18749
|
+
}>>;
|
|
18750
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18751
|
+
active: "active";
|
|
18752
|
+
disabled: "disabled";
|
|
18753
|
+
}>>;
|
|
18754
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
18755
|
+
}, import("zod/v4/core").$strip>>, unknown, import("zod/v4/core").$ZodTypeInternals<import("wapi-client/db/consts").DbFilterGeneric<{
|
|
18756
|
+
id?: number | undefined;
|
|
18757
|
+
balance_pending_amount?: number | null | undefined;
|
|
18758
|
+
balance_finished_amount?: number | null | undefined;
|
|
18759
|
+
balance_available_balance?: number | null | undefined;
|
|
18760
|
+
created_at?: string | undefined;
|
|
18761
|
+
updated_at?: string | undefined;
|
|
18762
|
+
foreign?: string | undefined;
|
|
18763
|
+
name?: string | undefined;
|
|
18764
|
+
type?: "token" | "house" | "regular" | undefined;
|
|
18765
|
+
status?: "active" | "disabled" | undefined;
|
|
18766
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
18767
|
+
}, import("zod").ZodObject<{
|
|
18768
|
+
foreign: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodTransform<string, string | number>>>;
|
|
18769
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18770
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18771
|
+
token: "token";
|
|
18772
|
+
house: "house";
|
|
18773
|
+
regular: "regular";
|
|
18774
|
+
}>>;
|
|
18775
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18776
|
+
active: "active";
|
|
18777
|
+
disabled: "disabled";
|
|
18778
|
+
}>>;
|
|
18779
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
18780
|
+
}, import("zod/v4/core").$strip>>, unknown>>>, import("zod").ZodObject<{
|
|
18781
|
+
foreign: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodTransform<string, string | number>>>;
|
|
18782
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18783
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18784
|
+
token: "token";
|
|
18785
|
+
house: "house";
|
|
18786
|
+
regular: "regular";
|
|
18787
|
+
}>>;
|
|
18788
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18789
|
+
active: "active";
|
|
18790
|
+
disabled: "disabled";
|
|
18791
|
+
}>>;
|
|
18792
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
18793
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
18794
|
+
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
18795
|
+
include_balance_for_token: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodObject<{
|
|
18796
|
+
id: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
18797
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18798
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
18799
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
18800
|
+
foreign: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
18801
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
18802
|
+
id: number;
|
|
18803
|
+
foreign?: string | undefined;
|
|
18804
|
+
} | {
|
|
18805
|
+
foreign: string;
|
|
18806
|
+
id?: number | undefined;
|
|
18807
|
+
}, string | number | {
|
|
18808
|
+
id: number;
|
|
18809
|
+
foreign?: string | undefined;
|
|
18810
|
+
} | {
|
|
18811
|
+
foreign: string;
|
|
18812
|
+
id?: number | undefined;
|
|
18813
|
+
}>>>;
|
|
18814
|
+
order: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
18815
|
+
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
18816
|
+
asc: "asc";
|
|
18817
|
+
desc: "desc";
|
|
18818
|
+
}>>>;
|
|
18819
|
+
nulls: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18820
|
+
first: "first";
|
|
18821
|
+
last: "last";
|
|
18822
|
+
}>>;
|
|
18823
|
+
field: import("zod").ZodEnum<{
|
|
18824
|
+
type: "type";
|
|
18825
|
+
id: "id";
|
|
18826
|
+
foreign: "foreign";
|
|
18827
|
+
metadata: "metadata";
|
|
18828
|
+
name: "name";
|
|
18829
|
+
default_allow_negative: "default_allow_negative";
|
|
18830
|
+
default_allow_positive: "default_allow_positive";
|
|
18831
|
+
created_at: "created_at";
|
|
18832
|
+
updated_at: "updated_at";
|
|
18833
|
+
default_dtw_to: "default_dtw_to";
|
|
18834
|
+
default_dtw_from: "default_dtw_from";
|
|
18835
|
+
status: "status";
|
|
18836
|
+
balance_token_id: "balance_token_id";
|
|
18837
|
+
balance_token_foreign: "balance_token_foreign";
|
|
18838
|
+
balance_transfer_id: "balance_transfer_id";
|
|
18839
|
+
balance_pending_amount: "balance_pending_amount";
|
|
18840
|
+
balance_pending_amount_to: "balance_pending_amount_to";
|
|
18841
|
+
balance_pending_amount_from: "balance_pending_amount_from";
|
|
18842
|
+
balance_finished_amount: "balance_finished_amount";
|
|
18843
|
+
balance_amount: "balance_amount";
|
|
18844
|
+
balance_available_balance: "balance_available_balance";
|
|
18845
|
+
balance_latest_control_hash: "balance_latest_control_hash";
|
|
18846
|
+
balance_updated_at: "balance_updated_at";
|
|
18847
|
+
}>;
|
|
18848
|
+
}, import("zod/v4/core").$strict>>>;
|
|
18849
|
+
select: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
18850
|
+
type: "type";
|
|
18851
|
+
id: "id";
|
|
18852
|
+
foreign: "foreign";
|
|
18853
|
+
metadata: "metadata";
|
|
18854
|
+
name: "name";
|
|
18855
|
+
default_allow_negative: "default_allow_negative";
|
|
18856
|
+
default_allow_positive: "default_allow_positive";
|
|
18857
|
+
created_at: "created_at";
|
|
18858
|
+
updated_at: "updated_at";
|
|
18859
|
+
default_dtw_to: "default_dtw_to";
|
|
18860
|
+
default_dtw_from: "default_dtw_from";
|
|
18861
|
+
status: "status";
|
|
18862
|
+
balance_token_id: "balance_token_id";
|
|
18863
|
+
balance_token_foreign: "balance_token_foreign";
|
|
18864
|
+
balance_transfer_id: "balance_transfer_id";
|
|
18865
|
+
balance_pending_amount: "balance_pending_amount";
|
|
18866
|
+
balance_pending_amount_to: "balance_pending_amount_to";
|
|
18867
|
+
balance_pending_amount_from: "balance_pending_amount_from";
|
|
18868
|
+
balance_finished_amount: "balance_finished_amount";
|
|
18869
|
+
balance_amount: "balance_amount";
|
|
18870
|
+
balance_available_balance: "balance_available_balance";
|
|
18871
|
+
balance_latest_control_hash: "balance_latest_control_hash";
|
|
18872
|
+
balance_updated_at: "balance_updated_at";
|
|
18873
|
+
}>>>;
|
|
18874
|
+
deselect: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
18875
|
+
type: "type";
|
|
18876
|
+
id: "id";
|
|
18877
|
+
foreign: "foreign";
|
|
18878
|
+
metadata: "metadata";
|
|
18879
|
+
name: "name";
|
|
18880
|
+
default_allow_negative: "default_allow_negative";
|
|
18881
|
+
default_allow_positive: "default_allow_positive";
|
|
18882
|
+
created_at: "created_at";
|
|
18883
|
+
updated_at: "updated_at";
|
|
18884
|
+
default_dtw_to: "default_dtw_to";
|
|
18885
|
+
default_dtw_from: "default_dtw_from";
|
|
18886
|
+
status: "status";
|
|
18887
|
+
balance_token_id: "balance_token_id";
|
|
18888
|
+
balance_token_foreign: "balance_token_foreign";
|
|
18889
|
+
balance_transfer_id: "balance_transfer_id";
|
|
18890
|
+
balance_pending_amount: "balance_pending_amount";
|
|
18891
|
+
balance_pending_amount_to: "balance_pending_amount_to";
|
|
18892
|
+
balance_pending_amount_from: "balance_pending_amount_from";
|
|
18893
|
+
balance_finished_amount: "balance_finished_amount";
|
|
18894
|
+
balance_amount: "balance_amount";
|
|
18895
|
+
balance_available_balance: "balance_available_balance";
|
|
18896
|
+
balance_latest_control_hash: "balance_latest_control_hash";
|
|
18897
|
+
balance_updated_at: "balance_updated_at";
|
|
18898
|
+
}>>>;
|
|
18899
|
+
return_metadata_total: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
18900
|
+
limit: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
|
18901
|
+
offset: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
|
18902
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
18903
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
18904
|
+
}, import("zod/v4/core").$strip>>;
|
|
18905
|
+
}, import("zod/v4/core").$strict>;
|
|
18906
|
+
export const exportWalletManyTxOutputSchema: import("zod").ZodObject<{
|
|
18907
|
+
export: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
18908
|
+
identifier: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
18909
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18910
|
+
error: "error";
|
|
18911
|
+
started: "started";
|
|
18912
|
+
completed: "completed";
|
|
18913
|
+
}>>;
|
|
18914
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18915
|
+
unknown: "unknown";
|
|
18916
|
+
transfers: "transfers";
|
|
18917
|
+
transfer_groups: "transfer_groups";
|
|
18918
|
+
tokens: "tokens";
|
|
18919
|
+
wallets: "wallets";
|
|
18920
|
+
balances: "balances";
|
|
18921
|
+
balance_history: "balance_history";
|
|
18922
|
+
}>>;
|
|
18923
|
+
created_at: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
18924
|
+
completed_at: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
18925
|
+
fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
18926
|
+
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
18927
|
+
signed_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18928
|
+
size: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18929
|
+
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18930
|
+
}, import("zod/v4/core").$strip>>;
|
|
18931
|
+
}, import("zod/v4/core").$strip>;
|
|
18932
|
+
}
|
|
18933
|
+
declare module "wapi-client/fns/find-wallets/find-wallets.schema.zod" {
|
|
18934
|
+
import { z } from "wapi-client/lib/zod";
|
|
18935
|
+
export const findWalletsFnExtraOptionsSchema: z.ZodObject<{
|
|
18936
|
+
include_balance_for_token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<{
|
|
18937
|
+
foreign: string;
|
|
18938
|
+
}, string | number>>;
|
|
18939
|
+
}, z.core.$strip>;
|
|
18940
|
+
export const findWalletsFnOptionsSchema: z.ZodObject<{
|
|
18941
|
+
select: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
18942
|
+
type: "type";
|
|
18943
|
+
id: "id";
|
|
18944
|
+
foreign: "foreign";
|
|
18945
|
+
metadata: "metadata";
|
|
18946
|
+
name: "name";
|
|
18947
|
+
default_allow_negative: "default_allow_negative";
|
|
18948
|
+
default_allow_positive: "default_allow_positive";
|
|
18949
|
+
created_at: "created_at";
|
|
18950
|
+
updated_at: "updated_at";
|
|
18951
|
+
default_dtw_to: "default_dtw_to";
|
|
18952
|
+
default_dtw_from: "default_dtw_from";
|
|
18953
|
+
status: "status";
|
|
18954
|
+
balance_token_id: "balance_token_id";
|
|
18955
|
+
balance_token_foreign: "balance_token_foreign";
|
|
18956
|
+
balance_transfer_id: "balance_transfer_id";
|
|
18957
|
+
balance_pending_amount: "balance_pending_amount";
|
|
18958
|
+
balance_pending_amount_to: "balance_pending_amount_to";
|
|
18959
|
+
balance_pending_amount_from: "balance_pending_amount_from";
|
|
18960
|
+
balance_finished_amount: "balance_finished_amount";
|
|
18961
|
+
balance_amount: "balance_amount";
|
|
18962
|
+
balance_available_balance: "balance_available_balance";
|
|
18963
|
+
balance_latest_control_hash: "balance_latest_control_hash";
|
|
18964
|
+
balance_updated_at: "balance_updated_at";
|
|
18965
|
+
}>>>>;
|
|
18966
|
+
deselect: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
18967
|
+
type: "type";
|
|
18968
|
+
id: "id";
|
|
18969
|
+
foreign: "foreign";
|
|
18970
|
+
metadata: "metadata";
|
|
18971
|
+
name: "name";
|
|
18972
|
+
default_allow_negative: "default_allow_negative";
|
|
18973
|
+
default_allow_positive: "default_allow_positive";
|
|
18974
|
+
created_at: "created_at";
|
|
18975
|
+
updated_at: "updated_at";
|
|
18976
|
+
default_dtw_to: "default_dtw_to";
|
|
18977
|
+
default_dtw_from: "default_dtw_from";
|
|
18978
|
+
status: "status";
|
|
18979
|
+
balance_token_id: "balance_token_id";
|
|
18980
|
+
balance_token_foreign: "balance_token_foreign";
|
|
18981
|
+
balance_transfer_id: "balance_transfer_id";
|
|
18982
|
+
balance_pending_amount: "balance_pending_amount";
|
|
18983
|
+
balance_pending_amount_to: "balance_pending_amount_to";
|
|
18984
|
+
balance_pending_amount_from: "balance_pending_amount_from";
|
|
18985
|
+
balance_finished_amount: "balance_finished_amount";
|
|
18986
|
+
balance_amount: "balance_amount";
|
|
18987
|
+
balance_available_balance: "balance_available_balance";
|
|
18988
|
+
balance_latest_control_hash: "balance_latest_control_hash";
|
|
18989
|
+
balance_updated_at: "balance_updated_at";
|
|
18990
|
+
}>>>>;
|
|
18991
|
+
return_metadata_total: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
18992
|
+
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
18993
|
+
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
18994
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
18995
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
18996
|
+
order_by: z.ZodOptional<z.ZodString>;
|
|
18997
|
+
order: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18998
|
+
field: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
|
|
18999
|
+
direction: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
19000
|
+
asc: "asc";
|
|
19001
|
+
desc: "desc";
|
|
19002
|
+
}>>>;
|
|
19003
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
19004
|
+
first: "first";
|
|
19005
|
+
last: "last";
|
|
19006
|
+
}>>;
|
|
19007
|
+
}, z.core.$strict>>>;
|
|
19008
|
+
include_balance_for_token: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<{
|
|
19009
|
+
foreign: string;
|
|
19010
|
+
}, string | number>>>;
|
|
19011
|
+
}, z.core.$strip>;
|
|
19012
|
+
export const findWalletsInputSchema: z.ZodObject<{
|
|
19013
|
+
foreign: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
|
|
19014
|
+
name: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
|
|
19015
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
19016
|
+
token: "token";
|
|
19017
|
+
house: "house";
|
|
19018
|
+
regular: "regular";
|
|
19019
|
+
}>>;
|
|
19020
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
19021
|
+
active: "active";
|
|
19022
|
+
disabled: "disabled";
|
|
19023
|
+
}>>;
|
|
19024
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber]>>>;
|
|
19025
|
+
}, z.core.$strip>;
|
|
19026
|
+
export const findWalletsFnInputSchema: z.ZodObject<{
|
|
19027
|
+
foreign: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
|
|
19028
|
+
name: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
|
|
19029
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
19030
|
+
token: "token";
|
|
19031
|
+
house: "house";
|
|
19032
|
+
regular: "regular";
|
|
19033
|
+
}>>;
|
|
19034
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
19035
|
+
active: "active";
|
|
19036
|
+
disabled: "disabled";
|
|
19037
|
+
}>>;
|
|
19038
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber]>>>;
|
|
19039
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
19040
|
+
select: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
19041
|
+
type: "type";
|
|
19042
|
+
id: "id";
|
|
19043
|
+
foreign: "foreign";
|
|
19044
|
+
metadata: "metadata";
|
|
19045
|
+
name: "name";
|
|
19046
|
+
default_allow_negative: "default_allow_negative";
|
|
19047
|
+
default_allow_positive: "default_allow_positive";
|
|
19048
|
+
created_at: "created_at";
|
|
19049
|
+
updated_at: "updated_at";
|
|
19050
|
+
default_dtw_to: "default_dtw_to";
|
|
19051
|
+
default_dtw_from: "default_dtw_from";
|
|
19052
|
+
status: "status";
|
|
19053
|
+
balance_token_id: "balance_token_id";
|
|
19054
|
+
balance_token_foreign: "balance_token_foreign";
|
|
19055
|
+
balance_transfer_id: "balance_transfer_id";
|
|
19056
|
+
balance_pending_amount: "balance_pending_amount";
|
|
19057
|
+
balance_pending_amount_to: "balance_pending_amount_to";
|
|
19058
|
+
balance_pending_amount_from: "balance_pending_amount_from";
|
|
19059
|
+
balance_finished_amount: "balance_finished_amount";
|
|
19060
|
+
balance_amount: "balance_amount";
|
|
19061
|
+
balance_available_balance: "balance_available_balance";
|
|
19062
|
+
balance_latest_control_hash: "balance_latest_control_hash";
|
|
19063
|
+
balance_updated_at: "balance_updated_at";
|
|
19064
|
+
}>>>>;
|
|
19065
|
+
deselect: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
19066
|
+
type: "type";
|
|
19067
|
+
id: "id";
|
|
19068
|
+
foreign: "foreign";
|
|
19069
|
+
metadata: "metadata";
|
|
19070
|
+
name: "name";
|
|
19071
|
+
default_allow_negative: "default_allow_negative";
|
|
19072
|
+
default_allow_positive: "default_allow_positive";
|
|
19073
|
+
created_at: "created_at";
|
|
19074
|
+
updated_at: "updated_at";
|
|
19075
|
+
default_dtw_to: "default_dtw_to";
|
|
19076
|
+
default_dtw_from: "default_dtw_from";
|
|
19077
|
+
status: "status";
|
|
19078
|
+
balance_token_id: "balance_token_id";
|
|
19079
|
+
balance_token_foreign: "balance_token_foreign";
|
|
19080
|
+
balance_transfer_id: "balance_transfer_id";
|
|
19081
|
+
balance_pending_amount: "balance_pending_amount";
|
|
19082
|
+
balance_pending_amount_to: "balance_pending_amount_to";
|
|
19083
|
+
balance_pending_amount_from: "balance_pending_amount_from";
|
|
19084
|
+
balance_finished_amount: "balance_finished_amount";
|
|
19085
|
+
balance_amount: "balance_amount";
|
|
19086
|
+
balance_available_balance: "balance_available_balance";
|
|
19087
|
+
balance_latest_control_hash: "balance_latest_control_hash";
|
|
19088
|
+
balance_updated_at: "balance_updated_at";
|
|
19089
|
+
}>>>>;
|
|
19090
|
+
return_metadata_total: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
19091
|
+
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
19092
|
+
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
19093
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
19094
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
19095
|
+
order_by: z.ZodOptional<z.ZodString>;
|
|
19096
|
+
order: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19097
|
+
field: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
|
|
19098
|
+
direction: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
19099
|
+
asc: "asc";
|
|
19100
|
+
desc: "desc";
|
|
19101
|
+
}>>>;
|
|
19102
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
19103
|
+
first: "first";
|
|
19104
|
+
last: "last";
|
|
19105
|
+
}>>;
|
|
19106
|
+
}, z.core.$strict>>>;
|
|
19107
|
+
include_balance_for_token: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<{
|
|
19108
|
+
foreign: string;
|
|
19109
|
+
}, string | number>>>;
|
|
19110
|
+
}, z.core.$strip>>;
|
|
19111
|
+
}, z.core.$strict>;
|
|
19112
|
+
export const findWalletsFnOutputSchema: z.ZodObject<{
|
|
19113
|
+
wallets: z.ZodNonOptional<z.ZodOptional<z.ZodArray<z.ZodNullable<z.ZodObject<{
|
|
19114
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
19115
|
+
foreign: z.ZodOptional<z.ZodString>;
|
|
19116
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
19117
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>>;
|
|
19118
|
+
default_allow_negative: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
19119
|
+
default_allow_positive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
19120
|
+
created_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
19121
|
+
updated_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
19122
|
+
default_dtw_to: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
19123
|
+
default_dtw_from: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
19124
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
19125
|
+
token: "token";
|
|
19126
|
+
house: "house";
|
|
19127
|
+
regular: "regular";
|
|
19128
|
+
}>>;
|
|
19129
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
19130
|
+
active: "active";
|
|
19131
|
+
disabled: "disabled";
|
|
19132
|
+
}>>;
|
|
19133
|
+
balance_token_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19134
|
+
balance_token_foreign: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19135
|
+
balance_transfer_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19136
|
+
balance_pending_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19137
|
+
balance_pending_amount_to: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19138
|
+
balance_pending_amount_from: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19139
|
+
balance_finished_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19140
|
+
balance_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19141
|
+
balance_available_balance: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19142
|
+
balance_latest_control_hash: z.ZodOptional<z.ZodNullable<z.ZodNullable<z.ZodString>>>;
|
|
19143
|
+
balance_updated_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>;
|
|
19144
|
+
}, z.core.$strict>>>>>;
|
|
19145
|
+
metadata: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
19146
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
19147
|
+
offset: z.ZodNonOptional<z.ZodOptional<z.ZodNumber>>;
|
|
19148
|
+
limit: z.ZodNonOptional<z.ZodOptional<z.ZodNumber>>;
|
|
19149
|
+
more_rows: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
19150
|
+
order: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19151
|
+
field: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
|
|
19152
|
+
direction: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
19153
|
+
asc: "asc";
|
|
19154
|
+
desc: "desc";
|
|
19155
|
+
}>>>;
|
|
19156
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
19157
|
+
first: "first";
|
|
19158
|
+
last: "last";
|
|
19159
|
+
}>>;
|
|
19160
|
+
}, z.core.$strict>>>;
|
|
19161
|
+
}, z.core.$strip>>>;
|
|
19162
|
+
}, z.core.$strip>;
|
|
19163
|
+
export const config: {
|
|
19164
|
+
queryBuilder: boolean;
|
|
19165
|
+
};
|
|
19166
|
+
}
|
|
19167
|
+
declare module "wapi-client/fns/export-wallets/export-wallets.schema.zod" {
|
|
19168
|
+
export const exportWalletsFnOptionsSchema: import("zod").ZodObject<{
|
|
19169
|
+
select: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
19170
|
+
type: "type";
|
|
19171
|
+
id: "id";
|
|
19172
|
+
foreign: "foreign";
|
|
19173
|
+
metadata: "metadata";
|
|
19174
|
+
name: "name";
|
|
19175
|
+
default_allow_negative: "default_allow_negative";
|
|
19176
|
+
default_allow_positive: "default_allow_positive";
|
|
19177
|
+
created_at: "created_at";
|
|
19178
|
+
updated_at: "updated_at";
|
|
19179
|
+
default_dtw_to: "default_dtw_to";
|
|
19180
|
+
default_dtw_from: "default_dtw_from";
|
|
19181
|
+
status: "status";
|
|
19182
|
+
balance_token_id: "balance_token_id";
|
|
19183
|
+
balance_token_foreign: "balance_token_foreign";
|
|
19184
|
+
balance_transfer_id: "balance_transfer_id";
|
|
19185
|
+
balance_pending_amount: "balance_pending_amount";
|
|
19186
|
+
balance_pending_amount_to: "balance_pending_amount_to";
|
|
19187
|
+
balance_pending_amount_from: "balance_pending_amount_from";
|
|
19188
|
+
balance_finished_amount: "balance_finished_amount";
|
|
19189
|
+
balance_amount: "balance_amount";
|
|
19190
|
+
balance_available_balance: "balance_available_balance";
|
|
19191
|
+
balance_latest_control_hash: "balance_latest_control_hash";
|
|
19192
|
+
balance_updated_at: "balance_updated_at";
|
|
19193
|
+
}>>>>>;
|
|
19194
|
+
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
19195
|
+
type: "type";
|
|
19196
|
+
id: "id";
|
|
19197
|
+
foreign: "foreign";
|
|
19198
|
+
metadata: "metadata";
|
|
19199
|
+
name: "name";
|
|
19200
|
+
default_allow_negative: "default_allow_negative";
|
|
19201
|
+
default_allow_positive: "default_allow_positive";
|
|
19202
|
+
created_at: "created_at";
|
|
19203
|
+
updated_at: "updated_at";
|
|
19204
|
+
default_dtw_to: "default_dtw_to";
|
|
19205
|
+
default_dtw_from: "default_dtw_from";
|
|
19206
|
+
status: "status";
|
|
19207
|
+
balance_token_id: "balance_token_id";
|
|
19208
|
+
balance_token_foreign: "balance_token_foreign";
|
|
19209
|
+
balance_transfer_id: "balance_transfer_id";
|
|
19210
|
+
balance_pending_amount: "balance_pending_amount";
|
|
19211
|
+
balance_pending_amount_to: "balance_pending_amount_to";
|
|
19212
|
+
balance_pending_amount_from: "balance_pending_amount_from";
|
|
19213
|
+
balance_finished_amount: "balance_finished_amount";
|
|
19214
|
+
balance_amount: "balance_amount";
|
|
19215
|
+
balance_available_balance: "balance_available_balance";
|
|
19216
|
+
balance_latest_control_hash: "balance_latest_control_hash";
|
|
19217
|
+
balance_updated_at: "balance_updated_at";
|
|
19218
|
+
}>>>>>;
|
|
19219
|
+
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>>;
|
|
19220
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>>;
|
|
19221
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>>;
|
|
19222
|
+
limit: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
19223
|
+
offset: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
19224
|
+
order_by: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
19225
|
+
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
19226
|
+
field: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
19227
|
+
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
19228
|
+
asc: "asc";
|
|
19229
|
+
desc: "desc";
|
|
19230
|
+
}>>>;
|
|
19231
|
+
nulls: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
19232
|
+
first: "first";
|
|
19233
|
+
last: "last";
|
|
19234
|
+
}>>;
|
|
19235
|
+
}, import("zod/v4/core").$strict>>>>;
|
|
19236
|
+
include_balance_for_token: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodTransform<{
|
|
19237
|
+
foreign: string;
|
|
19238
|
+
}, string | number>>>>;
|
|
19239
|
+
}, import("zod/v4/core").$strip>;
|
|
19240
|
+
export const exportWalletsInputSchema: import("zod").ZodObject<{
|
|
19241
|
+
foreign: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodTransform<string, string | number>>>>;
|
|
19242
|
+
name: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodTransform<string, string | number>>>>;
|
|
19243
|
+
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
19244
|
+
token: "token";
|
|
19245
|
+
house: "house";
|
|
19246
|
+
regular: "regular";
|
|
19247
|
+
}>>>;
|
|
19248
|
+
status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
19249
|
+
active: "active";
|
|
19250
|
+
disabled: "disabled";
|
|
19251
|
+
}>>>;
|
|
19252
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
18166
19253
|
}, import("zod/v4/core").$strip>;
|
|
18167
|
-
export const
|
|
18168
|
-
|
|
18169
|
-
|
|
18170
|
-
|
|
18171
|
-
|
|
18172
|
-
|
|
18173
|
-
|
|
18174
|
-
|
|
18175
|
-
|
|
18176
|
-
|
|
18177
|
-
|
|
18178
|
-
|
|
18179
|
-
|
|
18180
|
-
}, import("zod").ZodObject<{
|
|
18181
|
-
foreign: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodTransform<string, string | number>>>;
|
|
18182
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18183
|
-
type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18184
|
-
token: "token";
|
|
18185
|
-
house: "house";
|
|
18186
|
-
regular: "regular";
|
|
18187
|
-
}>>;
|
|
18188
|
-
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18189
|
-
active: "active";
|
|
18190
|
-
disabled: "disabled";
|
|
18191
|
-
}>>;
|
|
18192
|
-
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
18193
|
-
}, import("zod/v4/core").$strip>>, unknown, import("zod/v4/core").$ZodTypeInternals<import("wapi-client/db/consts").DbFilterGeneric<{
|
|
18194
|
-
id?: number | undefined;
|
|
18195
|
-
balance_pending_amount?: number | null | undefined;
|
|
18196
|
-
balance_finished_amount?: number | null | undefined;
|
|
18197
|
-
balance_available_balance?: number | null | undefined;
|
|
18198
|
-
created_at?: string | undefined;
|
|
18199
|
-
updated_at?: string | undefined;
|
|
18200
|
-
foreign?: string | undefined;
|
|
18201
|
-
name?: string | undefined;
|
|
18202
|
-
type?: "token" | "house" | "regular" | undefined;
|
|
18203
|
-
status?: "active" | "disabled" | undefined;
|
|
18204
|
-
metadata?: Record<string, string | number | boolean> | undefined;
|
|
18205
|
-
}, import("zod").ZodObject<{
|
|
18206
|
-
foreign: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodTransform<string, string | number>>>;
|
|
18207
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18208
|
-
type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18209
|
-
token: "token";
|
|
18210
|
-
house: "house";
|
|
18211
|
-
regular: "regular";
|
|
18212
|
-
}>>;
|
|
18213
|
-
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18214
|
-
active: "active";
|
|
18215
|
-
disabled: "disabled";
|
|
18216
|
-
}>>;
|
|
18217
|
-
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
18218
|
-
}, import("zod/v4/core").$strip>>, unknown>>>, import("zod").ZodObject<{
|
|
18219
|
-
foreign: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodTransform<string, string | number>>>;
|
|
18220
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18221
|
-
type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18222
|
-
token: "token";
|
|
18223
|
-
house: "house";
|
|
18224
|
-
regular: "regular";
|
|
18225
|
-
}>>;
|
|
18226
|
-
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18227
|
-
active: "active";
|
|
18228
|
-
disabled: "disabled";
|
|
18229
|
-
}>>;
|
|
18230
|
-
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
18231
|
-
}, import("zod/v4/core").$strip>]>>;
|
|
19254
|
+
export const exportWalletsFnInputSchema: import("zod").ZodObject<{
|
|
19255
|
+
foreign: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodTransform<string, string | number>>>>;
|
|
19256
|
+
name: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodTransform<string, string | number>>>>;
|
|
19257
|
+
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
19258
|
+
token: "token";
|
|
19259
|
+
house: "house";
|
|
19260
|
+
regular: "regular";
|
|
19261
|
+
}>>>;
|
|
19262
|
+
status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
19263
|
+
active: "active";
|
|
19264
|
+
disabled: "disabled";
|
|
19265
|
+
}>>>;
|
|
19266
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
18232
19267
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
18233
|
-
|
|
18234
|
-
id: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
18235
|
-
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18236
|
-
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
18237
|
-
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
18238
|
-
foreign: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
18239
|
-
}, import("zod/v4/core").$strict>]>, import("zod").ZodTransform<{
|
|
18240
|
-
id: number;
|
|
18241
|
-
foreign?: string | undefined;
|
|
18242
|
-
} | {
|
|
18243
|
-
foreign: string;
|
|
18244
|
-
id?: number | undefined;
|
|
18245
|
-
}, string | number | {
|
|
18246
|
-
id: number;
|
|
18247
|
-
foreign?: string | undefined;
|
|
18248
|
-
} | {
|
|
18249
|
-
foreign: string;
|
|
18250
|
-
id?: number | undefined;
|
|
18251
|
-
}>>>;
|
|
18252
|
-
order: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
18253
|
-
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
18254
|
-
asc: "asc";
|
|
18255
|
-
desc: "desc";
|
|
18256
|
-
}>>>;
|
|
18257
|
-
nulls: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18258
|
-
first: "first";
|
|
18259
|
-
last: "last";
|
|
18260
|
-
}>>;
|
|
18261
|
-
field: import("zod").ZodEnum<{
|
|
18262
|
-
type: "type";
|
|
18263
|
-
id: "id";
|
|
18264
|
-
foreign: "foreign";
|
|
18265
|
-
metadata: "metadata";
|
|
18266
|
-
name: "name";
|
|
18267
|
-
default_allow_negative: "default_allow_negative";
|
|
18268
|
-
default_allow_positive: "default_allow_positive";
|
|
18269
|
-
created_at: "created_at";
|
|
18270
|
-
updated_at: "updated_at";
|
|
18271
|
-
default_dtw_to: "default_dtw_to";
|
|
18272
|
-
default_dtw_from: "default_dtw_from";
|
|
18273
|
-
status: "status";
|
|
18274
|
-
balance_token_id: "balance_token_id";
|
|
18275
|
-
balance_token_foreign: "balance_token_foreign";
|
|
18276
|
-
balance_transfer_id: "balance_transfer_id";
|
|
18277
|
-
balance_pending_amount: "balance_pending_amount";
|
|
18278
|
-
balance_pending_amount_to: "balance_pending_amount_to";
|
|
18279
|
-
balance_pending_amount_from: "balance_pending_amount_from";
|
|
18280
|
-
balance_finished_amount: "balance_finished_amount";
|
|
18281
|
-
balance_amount: "balance_amount";
|
|
18282
|
-
balance_available_balance: "balance_available_balance";
|
|
18283
|
-
balance_latest_control_hash: "balance_latest_control_hash";
|
|
18284
|
-
balance_updated_at: "balance_updated_at";
|
|
18285
|
-
}>;
|
|
18286
|
-
}, import("zod/v4/core").$strict>>>;
|
|
18287
|
-
select: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
19268
|
+
select: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
18288
19269
|
type: "type";
|
|
18289
19270
|
id: "id";
|
|
18290
19271
|
foreign: "foreign";
|
|
@@ -18308,8 +19289,8 @@ declare module "wapi-client/txs/export-wallet-many/export-wallet-many.schema.zod
|
|
|
18308
19289
|
balance_available_balance: "balance_available_balance";
|
|
18309
19290
|
balance_latest_control_hash: "balance_latest_control_hash";
|
|
18310
19291
|
balance_updated_at: "balance_updated_at";
|
|
18311
|
-
}
|
|
18312
|
-
deselect: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
19292
|
+
}>>>>>;
|
|
19293
|
+
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
18313
19294
|
type: "type";
|
|
18314
19295
|
id: "id";
|
|
18315
19296
|
foreign: "foreign";
|
|
@@ -18333,15 +19314,30 @@ declare module "wapi-client/txs/export-wallet-many/export-wallet-many.schema.zod
|
|
|
18333
19314
|
balance_available_balance: "balance_available_balance";
|
|
18334
19315
|
balance_latest_control_hash: "balance_latest_control_hash";
|
|
18335
19316
|
balance_updated_at: "balance_updated_at";
|
|
18336
|
-
}
|
|
18337
|
-
return_metadata_total: import("zod").ZodOptional<import("zod").ZodBoolean
|
|
18338
|
-
|
|
18339
|
-
|
|
18340
|
-
|
|
18341
|
-
|
|
19317
|
+
}>>>>>;
|
|
19318
|
+
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>>;
|
|
19319
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>>;
|
|
19320
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>>;
|
|
19321
|
+
limit: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
19322
|
+
offset: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
19323
|
+
order_by: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
19324
|
+
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
19325
|
+
field: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
19326
|
+
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
19327
|
+
asc: "asc";
|
|
19328
|
+
desc: "desc";
|
|
19329
|
+
}>>>;
|
|
19330
|
+
nulls: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
19331
|
+
first: "first";
|
|
19332
|
+
last: "last";
|
|
19333
|
+
}>>;
|
|
19334
|
+
}, import("zod/v4/core").$strict>>>>;
|
|
19335
|
+
include_balance_for_token: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodTransform<{
|
|
19336
|
+
foreign: string;
|
|
19337
|
+
}, string | number>>>>;
|
|
18342
19338
|
}, import("zod/v4/core").$strip>>;
|
|
18343
19339
|
}, import("zod/v4/core").$strict>;
|
|
18344
|
-
export const
|
|
19340
|
+
export const exportWalletsFnOutputSchema: import("zod").ZodObject<{
|
|
18345
19341
|
export: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
18346
19342
|
identifier: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
18347
19343
|
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
@@ -18358,73 +19354,382 @@ declare module "wapi-client/txs/export-wallet-many/export-wallet-many.schema.zod
|
|
|
18358
19354
|
balances: "balances";
|
|
18359
19355
|
balance_history: "balance_history";
|
|
18360
19356
|
}>>;
|
|
18361
|
-
created_at: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
18362
|
-
completed_at: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
18363
|
-
fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
18364
|
-
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
18365
|
-
signed_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18366
|
-
size: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18367
|
-
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18368
|
-
}, import("zod/v4/core").$strip>>;
|
|
18369
|
-
}, import("zod/v4/core").$strip>;
|
|
19357
|
+
created_at: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
19358
|
+
completed_at: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
19359
|
+
fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
19360
|
+
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
19361
|
+
signed_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
19362
|
+
size: import("zod").ZodOptional<import("zod").ZodString>;
|
|
19363
|
+
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
19364
|
+
}, import("zod/v4/core").$strip>>;
|
|
19365
|
+
}, import("zod/v4/core").$strip>;
|
|
19366
|
+
export const config: {
|
|
19367
|
+
queryBuilder: boolean;
|
|
19368
|
+
};
|
|
19369
|
+
}
|
|
19370
|
+
declare module "wapi-client/txs/find-apikey-many/find-apikey-many.schema.zod" {
|
|
19371
|
+
import { z } from 'zod';
|
|
19372
|
+
export const findApikeyManyTxInputOptionsSchema: z.ZodObject<{
|
|
19373
|
+
order: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19374
|
+
direction: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
19375
|
+
asc: "asc";
|
|
19376
|
+
desc: "desc";
|
|
19377
|
+
}>>>;
|
|
19378
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
19379
|
+
first: "first";
|
|
19380
|
+
last: "last";
|
|
19381
|
+
}>>;
|
|
19382
|
+
field: z.ZodEnum<{
|
|
19383
|
+
type: "type";
|
|
19384
|
+
description: "description";
|
|
19385
|
+
id: "id";
|
|
19386
|
+
metadata: "metadata";
|
|
19387
|
+
apikey: "apikey";
|
|
19388
|
+
created_at: "created_at";
|
|
19389
|
+
updated_at: "updated_at";
|
|
19390
|
+
status: "status";
|
|
19391
|
+
scopes: "scopes";
|
|
19392
|
+
owner: "owner";
|
|
19393
|
+
valid_until: "valid_until";
|
|
19394
|
+
}>;
|
|
19395
|
+
}, z.core.$strict>>>;
|
|
19396
|
+
select: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
19397
|
+
type: "type";
|
|
19398
|
+
description: "description";
|
|
19399
|
+
id: "id";
|
|
19400
|
+
metadata: "metadata";
|
|
19401
|
+
apikey: "apikey";
|
|
19402
|
+
created_at: "created_at";
|
|
19403
|
+
updated_at: "updated_at";
|
|
19404
|
+
status: "status";
|
|
19405
|
+
scopes: "scopes";
|
|
19406
|
+
owner: "owner";
|
|
19407
|
+
valid_until: "valid_until";
|
|
19408
|
+
}>>>;
|
|
19409
|
+
deselect: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
19410
|
+
type: "type";
|
|
19411
|
+
description: "description";
|
|
19412
|
+
id: "id";
|
|
19413
|
+
metadata: "metadata";
|
|
19414
|
+
apikey: "apikey";
|
|
19415
|
+
created_at: "created_at";
|
|
19416
|
+
updated_at: "updated_at";
|
|
19417
|
+
status: "status";
|
|
19418
|
+
scopes: "scopes";
|
|
19419
|
+
owner: "owner";
|
|
19420
|
+
valid_until: "valid_until";
|
|
19421
|
+
}>>>;
|
|
19422
|
+
return_metadata_total: z.ZodOptional<z.ZodBoolean>;
|
|
19423
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
19424
|
+
offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
19425
|
+
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
19426
|
+
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
19427
|
+
}, z.core.$strip>;
|
|
19428
|
+
export const apikeyFilterObjectInputSchema: z.ZodObject<{
|
|
19429
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
19430
|
+
limited: "limited";
|
|
19431
|
+
admin: "admin";
|
|
19432
|
+
root: "root";
|
|
19433
|
+
}>>;
|
|
19434
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
19435
|
+
active: "active";
|
|
19436
|
+
deleted: "deleted";
|
|
19437
|
+
}>>;
|
|
19438
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
19439
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19440
|
+
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
19441
|
+
}, z.core.$strip>;
|
|
19442
|
+
export const apikeyFilterFullInputSchema: z.ZodObject<{
|
|
19443
|
+
type: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
19444
|
+
limited: "limited";
|
|
19445
|
+
admin: "admin";
|
|
19446
|
+
root: "root";
|
|
19447
|
+
}>>>;
|
|
19448
|
+
status: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
19449
|
+
active: "active";
|
|
19450
|
+
deleted: "deleted";
|
|
19451
|
+
}>>>;
|
|
19452
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>>;
|
|
19453
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
19454
|
+
valid_until: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>>;
|
|
19455
|
+
updated_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
19456
|
+
}, z.core.$strip>;
|
|
19457
|
+
export const advancedApikeyFilterSchema: z.ZodType<import("wapi-client/db/consts").DbFilterGeneric<{
|
|
19458
|
+
type?: "limited" | "admin" | "root" | undefined;
|
|
19459
|
+
status?: "active" | "deleted" | undefined;
|
|
19460
|
+
metadata?: import("wapi-client/db/consts").Metadata | undefined;
|
|
19461
|
+
description?: string | undefined;
|
|
19462
|
+
valid_until?: string | null | undefined;
|
|
19463
|
+
updated_at?: string | undefined;
|
|
19464
|
+
}, z.ZodObject<{
|
|
19465
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
19466
|
+
limited: "limited";
|
|
19467
|
+
admin: "admin";
|
|
19468
|
+
root: "root";
|
|
19469
|
+
}>>;
|
|
19470
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
19471
|
+
active: "active";
|
|
19472
|
+
deleted: "deleted";
|
|
19473
|
+
}>>;
|
|
19474
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
19475
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19476
|
+
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
19477
|
+
}, z.core.$strip>>, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").DbFilterGeneric<{
|
|
19478
|
+
type?: "limited" | "admin" | "root" | undefined;
|
|
19479
|
+
status?: "active" | "deleted" | undefined;
|
|
19480
|
+
metadata?: import("wapi-client/db/consts").Metadata | undefined;
|
|
19481
|
+
description?: string | undefined;
|
|
19482
|
+
valid_until?: string | null | undefined;
|
|
19483
|
+
updated_at?: string | undefined;
|
|
19484
|
+
}, z.ZodObject<{
|
|
19485
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
19486
|
+
limited: "limited";
|
|
19487
|
+
admin: "admin";
|
|
19488
|
+
root: "root";
|
|
19489
|
+
}>>;
|
|
19490
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
19491
|
+
active: "active";
|
|
19492
|
+
deleted: "deleted";
|
|
19493
|
+
}>>;
|
|
19494
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
19495
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19496
|
+
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
19497
|
+
}, z.core.$strip>>, unknown>>;
|
|
19498
|
+
export const apikeyFilterSchema: z.ZodUnion<readonly [z.ZodArray<z.ZodType<import("wapi-client/db/consts").DbFilterGeneric<{
|
|
19499
|
+
type?: "limited" | "admin" | "root" | undefined;
|
|
19500
|
+
status?: "active" | "deleted" | undefined;
|
|
19501
|
+
metadata?: import("wapi-client/db/consts").Metadata | undefined;
|
|
19502
|
+
description?: string | undefined;
|
|
19503
|
+
valid_until?: string | null | undefined;
|
|
19504
|
+
updated_at?: string | undefined;
|
|
19505
|
+
}, z.ZodObject<{
|
|
19506
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
19507
|
+
limited: "limited";
|
|
19508
|
+
admin: "admin";
|
|
19509
|
+
root: "root";
|
|
19510
|
+
}>>;
|
|
19511
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
19512
|
+
active: "active";
|
|
19513
|
+
deleted: "deleted";
|
|
19514
|
+
}>>;
|
|
19515
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
19516
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19517
|
+
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
19518
|
+
}, z.core.$strip>>, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").DbFilterGeneric<{
|
|
19519
|
+
type?: "limited" | "admin" | "root" | undefined;
|
|
19520
|
+
status?: "active" | "deleted" | undefined;
|
|
19521
|
+
metadata?: import("wapi-client/db/consts").Metadata | undefined;
|
|
19522
|
+
description?: string | undefined;
|
|
19523
|
+
valid_until?: string | null | undefined;
|
|
19524
|
+
updated_at?: string | undefined;
|
|
19525
|
+
}, z.ZodObject<{
|
|
19526
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
19527
|
+
limited: "limited";
|
|
19528
|
+
admin: "admin";
|
|
19529
|
+
root: "root";
|
|
19530
|
+
}>>;
|
|
19531
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
19532
|
+
active: "active";
|
|
19533
|
+
deleted: "deleted";
|
|
19534
|
+
}>>;
|
|
19535
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
19536
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19537
|
+
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
19538
|
+
}, z.core.$strip>>, unknown>>>, z.ZodObject<{
|
|
19539
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
19540
|
+
limited: "limited";
|
|
19541
|
+
admin: "admin";
|
|
19542
|
+
root: "root";
|
|
19543
|
+
}>>;
|
|
19544
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
19545
|
+
active: "active";
|
|
19546
|
+
deleted: "deleted";
|
|
19547
|
+
}>>;
|
|
19548
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
19549
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19550
|
+
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
19551
|
+
}, z.core.$strip>]>;
|
|
19552
|
+
export const findApikeyManyTxInputSchema: z.ZodObject<{
|
|
19553
|
+
apikey: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodType<import("wapi-client/db/consts").DbFilterGeneric<{
|
|
19554
|
+
type?: "limited" | "admin" | "root" | undefined;
|
|
19555
|
+
status?: "active" | "deleted" | undefined;
|
|
19556
|
+
metadata?: import("wapi-client/db/consts").Metadata | undefined;
|
|
19557
|
+
description?: string | undefined;
|
|
19558
|
+
valid_until?: string | null | undefined;
|
|
19559
|
+
updated_at?: string | undefined;
|
|
19560
|
+
}, z.ZodObject<{
|
|
19561
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
19562
|
+
limited: "limited";
|
|
19563
|
+
admin: "admin";
|
|
19564
|
+
root: "root";
|
|
19565
|
+
}>>;
|
|
19566
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
19567
|
+
active: "active";
|
|
19568
|
+
deleted: "deleted";
|
|
19569
|
+
}>>;
|
|
19570
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
19571
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19572
|
+
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
19573
|
+
}, z.core.$strip>>, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").DbFilterGeneric<{
|
|
19574
|
+
type?: "limited" | "admin" | "root" | undefined;
|
|
19575
|
+
status?: "active" | "deleted" | undefined;
|
|
19576
|
+
metadata?: import("wapi-client/db/consts").Metadata | undefined;
|
|
19577
|
+
description?: string | undefined;
|
|
19578
|
+
valid_until?: string | null | undefined;
|
|
19579
|
+
updated_at?: string | undefined;
|
|
19580
|
+
}, z.ZodObject<{
|
|
19581
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
19582
|
+
limited: "limited";
|
|
19583
|
+
admin: "admin";
|
|
19584
|
+
root: "root";
|
|
19585
|
+
}>>;
|
|
19586
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
19587
|
+
active: "active";
|
|
19588
|
+
deleted: "deleted";
|
|
19589
|
+
}>>;
|
|
19590
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
19591
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19592
|
+
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
19593
|
+
}, z.core.$strip>>, unknown>>>, z.ZodObject<{
|
|
19594
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
19595
|
+
limited: "limited";
|
|
19596
|
+
admin: "admin";
|
|
19597
|
+
root: "root";
|
|
19598
|
+
}>>;
|
|
19599
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
19600
|
+
active: "active";
|
|
19601
|
+
deleted: "deleted";
|
|
19602
|
+
}>>;
|
|
19603
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
19604
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19605
|
+
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
19606
|
+
}, z.core.$strip>]>>;
|
|
19607
|
+
options: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
19608
|
+
order: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19609
|
+
direction: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
19610
|
+
asc: "asc";
|
|
19611
|
+
desc: "desc";
|
|
19612
|
+
}>>>;
|
|
19613
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
19614
|
+
first: "first";
|
|
19615
|
+
last: "last";
|
|
19616
|
+
}>>;
|
|
19617
|
+
field: z.ZodEnum<{
|
|
19618
|
+
type: "type";
|
|
19619
|
+
description: "description";
|
|
19620
|
+
id: "id";
|
|
19621
|
+
metadata: "metadata";
|
|
19622
|
+
apikey: "apikey";
|
|
19623
|
+
created_at: "created_at";
|
|
19624
|
+
updated_at: "updated_at";
|
|
19625
|
+
status: "status";
|
|
19626
|
+
scopes: "scopes";
|
|
19627
|
+
owner: "owner";
|
|
19628
|
+
valid_until: "valid_until";
|
|
19629
|
+
}>;
|
|
19630
|
+
}, z.core.$strict>>>;
|
|
19631
|
+
select: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
19632
|
+
type: "type";
|
|
19633
|
+
description: "description";
|
|
19634
|
+
id: "id";
|
|
19635
|
+
metadata: "metadata";
|
|
19636
|
+
apikey: "apikey";
|
|
19637
|
+
created_at: "created_at";
|
|
19638
|
+
updated_at: "updated_at";
|
|
19639
|
+
status: "status";
|
|
19640
|
+
scopes: "scopes";
|
|
19641
|
+
owner: "owner";
|
|
19642
|
+
valid_until: "valid_until";
|
|
19643
|
+
}>>>;
|
|
19644
|
+
deselect: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
19645
|
+
type: "type";
|
|
19646
|
+
description: "description";
|
|
19647
|
+
id: "id";
|
|
19648
|
+
metadata: "metadata";
|
|
19649
|
+
apikey: "apikey";
|
|
19650
|
+
created_at: "created_at";
|
|
19651
|
+
updated_at: "updated_at";
|
|
19652
|
+
status: "status";
|
|
19653
|
+
scopes: "scopes";
|
|
19654
|
+
owner: "owner";
|
|
19655
|
+
valid_until: "valid_until";
|
|
19656
|
+
}>>>;
|
|
19657
|
+
return_metadata_total: z.ZodOptional<z.ZodBoolean>;
|
|
19658
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
19659
|
+
offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
19660
|
+
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
19661
|
+
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
19662
|
+
}, z.core.$strip>>>;
|
|
19663
|
+
}, z.core.$strict>;
|
|
19664
|
+
export const findApikeyManyTxOutputSchema: z.ZodObject<{
|
|
19665
|
+
apikeys: z.ZodNonOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19666
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
19667
|
+
limited: "limited";
|
|
19668
|
+
admin: "admin";
|
|
19669
|
+
root: "root";
|
|
19670
|
+
}>>;
|
|
19671
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19672
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
19673
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
19674
|
+
apikey: z.ZodOptional<z.ZodString>;
|
|
19675
|
+
created_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
19676
|
+
updated_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
19677
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
19678
|
+
active: "active";
|
|
19679
|
+
deleted: "deleted";
|
|
19680
|
+
}>>;
|
|
19681
|
+
scopes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
19682
|
+
functions: z.ZodArray<z.ZodString>;
|
|
19683
|
+
}, z.core.$strip>>>>;
|
|
19684
|
+
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
19685
|
+
}, z.core.$strict>>>>;
|
|
19686
|
+
metadata: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
19687
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
19688
|
+
offset: z.ZodNonOptional<z.ZodOptional<z.ZodNumber>>;
|
|
19689
|
+
limit: z.ZodNonOptional<z.ZodOptional<z.ZodNumber>>;
|
|
19690
|
+
more_rows: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
19691
|
+
order: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19692
|
+
field: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
|
|
19693
|
+
direction: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
19694
|
+
asc: "asc";
|
|
19695
|
+
desc: "desc";
|
|
19696
|
+
}>>>;
|
|
19697
|
+
nulls: z.ZodOptional<z.ZodEnum<{
|
|
19698
|
+
first: "first";
|
|
19699
|
+
last: "last";
|
|
19700
|
+
}>>;
|
|
19701
|
+
}, z.core.$strict>>>;
|
|
19702
|
+
}, z.core.$strip>>>;
|
|
19703
|
+
}, z.core.$strip>;
|
|
18370
19704
|
}
|
|
18371
|
-
declare module "wapi-client/fns/find-
|
|
19705
|
+
declare module "wapi-client/fns/find-apikeys/find-apikeys.schema.zod" {
|
|
18372
19706
|
import { z } from "wapi-client/lib/zod";
|
|
18373
|
-
export const
|
|
18374
|
-
include_balance_for_token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<{
|
|
18375
|
-
foreign: string;
|
|
18376
|
-
}, string | number>>;
|
|
18377
|
-
}, z.core.$strip>;
|
|
18378
|
-
export const findWalletsFnOptionsSchema: z.ZodObject<{
|
|
19707
|
+
export const findApikeysFnOptionsSchema: z.ZodObject<{
|
|
18379
19708
|
select: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
18380
19709
|
type: "type";
|
|
19710
|
+
description: "description";
|
|
18381
19711
|
id: "id";
|
|
18382
|
-
foreign: "foreign";
|
|
18383
19712
|
metadata: "metadata";
|
|
18384
|
-
|
|
18385
|
-
default_allow_negative: "default_allow_negative";
|
|
18386
|
-
default_allow_positive: "default_allow_positive";
|
|
19713
|
+
apikey: "apikey";
|
|
18387
19714
|
created_at: "created_at";
|
|
18388
19715
|
updated_at: "updated_at";
|
|
18389
|
-
default_dtw_to: "default_dtw_to";
|
|
18390
|
-
default_dtw_from: "default_dtw_from";
|
|
18391
19716
|
status: "status";
|
|
18392
|
-
|
|
18393
|
-
|
|
18394
|
-
|
|
18395
|
-
balance_pending_amount: "balance_pending_amount";
|
|
18396
|
-
balance_pending_amount_to: "balance_pending_amount_to";
|
|
18397
|
-
balance_pending_amount_from: "balance_pending_amount_from";
|
|
18398
|
-
balance_finished_amount: "balance_finished_amount";
|
|
18399
|
-
balance_amount: "balance_amount";
|
|
18400
|
-
balance_available_balance: "balance_available_balance";
|
|
18401
|
-
balance_latest_control_hash: "balance_latest_control_hash";
|
|
18402
|
-
balance_updated_at: "balance_updated_at";
|
|
19717
|
+
scopes: "scopes";
|
|
19718
|
+
owner: "owner";
|
|
19719
|
+
valid_until: "valid_until";
|
|
18403
19720
|
}>>>>;
|
|
18404
19721
|
deselect: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
18405
19722
|
type: "type";
|
|
19723
|
+
description: "description";
|
|
18406
19724
|
id: "id";
|
|
18407
|
-
foreign: "foreign";
|
|
18408
19725
|
metadata: "metadata";
|
|
18409
|
-
|
|
18410
|
-
default_allow_negative: "default_allow_negative";
|
|
18411
|
-
default_allow_positive: "default_allow_positive";
|
|
19726
|
+
apikey: "apikey";
|
|
18412
19727
|
created_at: "created_at";
|
|
18413
19728
|
updated_at: "updated_at";
|
|
18414
|
-
default_dtw_to: "default_dtw_to";
|
|
18415
|
-
default_dtw_from: "default_dtw_from";
|
|
18416
19729
|
status: "status";
|
|
18417
|
-
|
|
18418
|
-
|
|
18419
|
-
|
|
18420
|
-
balance_pending_amount: "balance_pending_amount";
|
|
18421
|
-
balance_pending_amount_to: "balance_pending_amount_to";
|
|
18422
|
-
balance_pending_amount_from: "balance_pending_amount_from";
|
|
18423
|
-
balance_finished_amount: "balance_finished_amount";
|
|
18424
|
-
balance_amount: "balance_amount";
|
|
18425
|
-
balance_available_balance: "balance_available_balance";
|
|
18426
|
-
balance_latest_control_hash: "balance_latest_control_hash";
|
|
18427
|
-
balance_updated_at: "balance_updated_at";
|
|
19730
|
+
scopes: "scopes";
|
|
19731
|
+
owner: "owner";
|
|
19732
|
+
valid_until: "valid_until";
|
|
18428
19733
|
}>>>>;
|
|
18429
19734
|
return_metadata_total: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
18430
19735
|
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
@@ -18443,87 +19748,58 @@ declare module "wapi-client/fns/find-wallets/find-wallets.schema.zod" {
|
|
|
18443
19748
|
last: "last";
|
|
18444
19749
|
}>>;
|
|
18445
19750
|
}, z.core.$strict>>>;
|
|
18446
|
-
include_balance_for_token: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<{
|
|
18447
|
-
foreign: string;
|
|
18448
|
-
}, string | number>>>;
|
|
18449
19751
|
}, z.core.$strip>;
|
|
18450
|
-
export const
|
|
18451
|
-
foreign: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
|
|
18452
|
-
name: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
|
|
19752
|
+
export const findApikeysInputSchema: z.ZodObject<{
|
|
18453
19753
|
type: z.ZodOptional<z.ZodEnum<{
|
|
18454
|
-
|
|
18455
|
-
|
|
18456
|
-
|
|
19754
|
+
limited: "limited";
|
|
19755
|
+
admin: "admin";
|
|
19756
|
+
root: "root";
|
|
18457
19757
|
}>>;
|
|
18458
19758
|
status: z.ZodOptional<z.ZodEnum<{
|
|
18459
19759
|
active: "active";
|
|
18460
|
-
|
|
19760
|
+
deleted: "deleted";
|
|
18461
19761
|
}>>;
|
|
19762
|
+
description: z.ZodOptional<z.ZodString>;
|
|
18462
19763
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber]>>>;
|
|
18463
19764
|
}, z.core.$strip>;
|
|
18464
|
-
export const
|
|
18465
|
-
foreign: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
|
|
18466
|
-
name: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
|
|
19765
|
+
export const findApikeysFnInputSchema: z.ZodObject<{
|
|
18467
19766
|
type: z.ZodOptional<z.ZodEnum<{
|
|
18468
|
-
|
|
18469
|
-
|
|
18470
|
-
|
|
19767
|
+
limited: "limited";
|
|
19768
|
+
admin: "admin";
|
|
19769
|
+
root: "root";
|
|
18471
19770
|
}>>;
|
|
18472
19771
|
status: z.ZodOptional<z.ZodEnum<{
|
|
18473
19772
|
active: "active";
|
|
18474
|
-
|
|
19773
|
+
deleted: "deleted";
|
|
18475
19774
|
}>>;
|
|
19775
|
+
description: z.ZodOptional<z.ZodString>;
|
|
18476
19776
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber]>>>;
|
|
18477
19777
|
options: z.ZodOptional<z.ZodObject<{
|
|
18478
19778
|
select: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
18479
19779
|
type: "type";
|
|
19780
|
+
description: "description";
|
|
18480
19781
|
id: "id";
|
|
18481
|
-
foreign: "foreign";
|
|
18482
19782
|
metadata: "metadata";
|
|
18483
|
-
|
|
18484
|
-
default_allow_negative: "default_allow_negative";
|
|
18485
|
-
default_allow_positive: "default_allow_positive";
|
|
19783
|
+
apikey: "apikey";
|
|
18486
19784
|
created_at: "created_at";
|
|
18487
19785
|
updated_at: "updated_at";
|
|
18488
|
-
default_dtw_to: "default_dtw_to";
|
|
18489
|
-
default_dtw_from: "default_dtw_from";
|
|
18490
19786
|
status: "status";
|
|
18491
|
-
|
|
18492
|
-
|
|
18493
|
-
|
|
18494
|
-
balance_pending_amount: "balance_pending_amount";
|
|
18495
|
-
balance_pending_amount_to: "balance_pending_amount_to";
|
|
18496
|
-
balance_pending_amount_from: "balance_pending_amount_from";
|
|
18497
|
-
balance_finished_amount: "balance_finished_amount";
|
|
18498
|
-
balance_amount: "balance_amount";
|
|
18499
|
-
balance_available_balance: "balance_available_balance";
|
|
18500
|
-
balance_latest_control_hash: "balance_latest_control_hash";
|
|
18501
|
-
balance_updated_at: "balance_updated_at";
|
|
19787
|
+
scopes: "scopes";
|
|
19788
|
+
owner: "owner";
|
|
19789
|
+
valid_until: "valid_until";
|
|
18502
19790
|
}>>>>;
|
|
18503
19791
|
deselect: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
18504
19792
|
type: "type";
|
|
19793
|
+
description: "description";
|
|
18505
19794
|
id: "id";
|
|
18506
|
-
foreign: "foreign";
|
|
18507
19795
|
metadata: "metadata";
|
|
18508
|
-
|
|
18509
|
-
default_allow_negative: "default_allow_negative";
|
|
18510
|
-
default_allow_positive: "default_allow_positive";
|
|
19796
|
+
apikey: "apikey";
|
|
18511
19797
|
created_at: "created_at";
|
|
18512
19798
|
updated_at: "updated_at";
|
|
18513
|
-
default_dtw_to: "default_dtw_to";
|
|
18514
|
-
default_dtw_from: "default_dtw_from";
|
|
18515
19799
|
status: "status";
|
|
18516
|
-
|
|
18517
|
-
|
|
18518
|
-
|
|
18519
|
-
balance_pending_amount: "balance_pending_amount";
|
|
18520
|
-
balance_pending_amount_to: "balance_pending_amount_to";
|
|
18521
|
-
balance_pending_amount_from: "balance_pending_amount_from";
|
|
18522
|
-
balance_finished_amount: "balance_finished_amount";
|
|
18523
|
-
balance_amount: "balance_amount";
|
|
18524
|
-
balance_available_balance: "balance_available_balance";
|
|
18525
|
-
balance_latest_control_hash: "balance_latest_control_hash";
|
|
18526
|
-
balance_updated_at: "balance_updated_at";
|
|
19800
|
+
scopes: "scopes";
|
|
19801
|
+
owner: "owner";
|
|
19802
|
+
valid_until: "valid_until";
|
|
18527
19803
|
}>>>>;
|
|
18528
19804
|
return_metadata_total: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
18529
19805
|
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
@@ -18542,44 +19818,30 @@ declare module "wapi-client/fns/find-wallets/find-wallets.schema.zod" {
|
|
|
18542
19818
|
last: "last";
|
|
18543
19819
|
}>>;
|
|
18544
19820
|
}, z.core.$strict>>>;
|
|
18545
|
-
include_balance_for_token: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<{
|
|
18546
|
-
foreign: string;
|
|
18547
|
-
}, string | number>>>;
|
|
18548
19821
|
}, z.core.$strip>>;
|
|
18549
19822
|
}, z.core.$strict>;
|
|
18550
|
-
export const
|
|
18551
|
-
|
|
19823
|
+
export const findApikeysFnOutputSchema: z.ZodObject<{
|
|
19824
|
+
apikeys: z.ZodNonOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19825
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
19826
|
+
limited: "limited";
|
|
19827
|
+
admin: "admin";
|
|
19828
|
+
root: "root";
|
|
19829
|
+
}>>;
|
|
19830
|
+
description: z.ZodOptional<z.ZodString>;
|
|
18552
19831
|
id: z.ZodOptional<z.ZodNumber>;
|
|
18553
|
-
|
|
18554
|
-
|
|
18555
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>>;
|
|
18556
|
-
default_allow_negative: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
18557
|
-
default_allow_positive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
19832
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
19833
|
+
apikey: z.ZodOptional<z.ZodString>;
|
|
18558
19834
|
created_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
18559
19835
|
updated_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
18560
|
-
default_dtw_to: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
18561
|
-
default_dtw_from: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
18562
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
18563
|
-
token: "token";
|
|
18564
|
-
house: "house";
|
|
18565
|
-
regular: "regular";
|
|
18566
|
-
}>>;
|
|
18567
19836
|
status: z.ZodOptional<z.ZodEnum<{
|
|
18568
19837
|
active: "active";
|
|
18569
|
-
|
|
19838
|
+
deleted: "deleted";
|
|
18570
19839
|
}>>;
|
|
18571
|
-
|
|
18572
|
-
|
|
18573
|
-
|
|
18574
|
-
|
|
18575
|
-
|
|
18576
|
-
balance_pending_amount_from: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18577
|
-
balance_finished_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18578
|
-
balance_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18579
|
-
balance_available_balance: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18580
|
-
balance_latest_control_hash: z.ZodOptional<z.ZodNullable<z.ZodNullable<z.ZodString>>>;
|
|
18581
|
-
balance_updated_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>;
|
|
18582
|
-
}, z.core.$strict>>>>>;
|
|
19840
|
+
scopes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
19841
|
+
functions: z.ZodArray<z.ZodString>;
|
|
19842
|
+
}, z.core.$strip>>>>;
|
|
19843
|
+
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
19844
|
+
}, z.core.$strict>>>>;
|
|
18583
19845
|
metadata: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
18584
19846
|
total: z.ZodOptional<z.ZodNumber>;
|
|
18585
19847
|
offset: z.ZodNonOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -18602,209 +19864,6 @@ declare module "wapi-client/fns/find-wallets/find-wallets.schema.zod" {
|
|
|
18602
19864
|
queryBuilder: boolean;
|
|
18603
19865
|
};
|
|
18604
19866
|
}
|
|
18605
|
-
declare module "wapi-client/fns/export-wallets/export-wallets.schema.zod" {
|
|
18606
|
-
export const exportWalletsFnOptionsSchema: import("zod").ZodObject<{
|
|
18607
|
-
select: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
18608
|
-
type: "type";
|
|
18609
|
-
id: "id";
|
|
18610
|
-
foreign: "foreign";
|
|
18611
|
-
metadata: "metadata";
|
|
18612
|
-
name: "name";
|
|
18613
|
-
default_allow_negative: "default_allow_negative";
|
|
18614
|
-
default_allow_positive: "default_allow_positive";
|
|
18615
|
-
created_at: "created_at";
|
|
18616
|
-
updated_at: "updated_at";
|
|
18617
|
-
default_dtw_to: "default_dtw_to";
|
|
18618
|
-
default_dtw_from: "default_dtw_from";
|
|
18619
|
-
status: "status";
|
|
18620
|
-
balance_token_id: "balance_token_id";
|
|
18621
|
-
balance_token_foreign: "balance_token_foreign";
|
|
18622
|
-
balance_transfer_id: "balance_transfer_id";
|
|
18623
|
-
balance_pending_amount: "balance_pending_amount";
|
|
18624
|
-
balance_pending_amount_to: "balance_pending_amount_to";
|
|
18625
|
-
balance_pending_amount_from: "balance_pending_amount_from";
|
|
18626
|
-
balance_finished_amount: "balance_finished_amount";
|
|
18627
|
-
balance_amount: "balance_amount";
|
|
18628
|
-
balance_available_balance: "balance_available_balance";
|
|
18629
|
-
balance_latest_control_hash: "balance_latest_control_hash";
|
|
18630
|
-
balance_updated_at: "balance_updated_at";
|
|
18631
|
-
}>>>>>;
|
|
18632
|
-
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
18633
|
-
type: "type";
|
|
18634
|
-
id: "id";
|
|
18635
|
-
foreign: "foreign";
|
|
18636
|
-
metadata: "metadata";
|
|
18637
|
-
name: "name";
|
|
18638
|
-
default_allow_negative: "default_allow_negative";
|
|
18639
|
-
default_allow_positive: "default_allow_positive";
|
|
18640
|
-
created_at: "created_at";
|
|
18641
|
-
updated_at: "updated_at";
|
|
18642
|
-
default_dtw_to: "default_dtw_to";
|
|
18643
|
-
default_dtw_from: "default_dtw_from";
|
|
18644
|
-
status: "status";
|
|
18645
|
-
balance_token_id: "balance_token_id";
|
|
18646
|
-
balance_token_foreign: "balance_token_foreign";
|
|
18647
|
-
balance_transfer_id: "balance_transfer_id";
|
|
18648
|
-
balance_pending_amount: "balance_pending_amount";
|
|
18649
|
-
balance_pending_amount_to: "balance_pending_amount_to";
|
|
18650
|
-
balance_pending_amount_from: "balance_pending_amount_from";
|
|
18651
|
-
balance_finished_amount: "balance_finished_amount";
|
|
18652
|
-
balance_amount: "balance_amount";
|
|
18653
|
-
balance_available_balance: "balance_available_balance";
|
|
18654
|
-
balance_latest_control_hash: "balance_latest_control_hash";
|
|
18655
|
-
balance_updated_at: "balance_updated_at";
|
|
18656
|
-
}>>>>>;
|
|
18657
|
-
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>>;
|
|
18658
|
-
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>>;
|
|
18659
|
-
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>>;
|
|
18660
|
-
limit: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
18661
|
-
offset: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
18662
|
-
order_by: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
18663
|
-
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
18664
|
-
field: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
18665
|
-
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
18666
|
-
asc: "asc";
|
|
18667
|
-
desc: "desc";
|
|
18668
|
-
}>>>;
|
|
18669
|
-
nulls: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18670
|
-
first: "first";
|
|
18671
|
-
last: "last";
|
|
18672
|
-
}>>;
|
|
18673
|
-
}, import("zod/v4/core").$strict>>>>;
|
|
18674
|
-
include_balance_for_token: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodTransform<{
|
|
18675
|
-
foreign: string;
|
|
18676
|
-
}, string | number>>>>;
|
|
18677
|
-
}, import("zod/v4/core").$strip>;
|
|
18678
|
-
export const exportWalletsInputSchema: import("zod").ZodObject<{
|
|
18679
|
-
foreign: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodTransform<string, string | number>>>>;
|
|
18680
|
-
name: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodTransform<string, string | number>>>>;
|
|
18681
|
-
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18682
|
-
token: "token";
|
|
18683
|
-
house: "house";
|
|
18684
|
-
regular: "regular";
|
|
18685
|
-
}>>>;
|
|
18686
|
-
status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18687
|
-
active: "active";
|
|
18688
|
-
disabled: "disabled";
|
|
18689
|
-
}>>>;
|
|
18690
|
-
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
18691
|
-
}, import("zod/v4/core").$strip>;
|
|
18692
|
-
export const exportWalletsFnInputSchema: import("zod").ZodObject<{
|
|
18693
|
-
foreign: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodTransform<string, string | number>>>>;
|
|
18694
|
-
name: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodTransform<string, string | number>>>>;
|
|
18695
|
-
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18696
|
-
token: "token";
|
|
18697
|
-
house: "house";
|
|
18698
|
-
regular: "regular";
|
|
18699
|
-
}>>>;
|
|
18700
|
-
status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18701
|
-
active: "active";
|
|
18702
|
-
disabled: "disabled";
|
|
18703
|
-
}>>>;
|
|
18704
|
-
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
18705
|
-
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
18706
|
-
select: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
18707
|
-
type: "type";
|
|
18708
|
-
id: "id";
|
|
18709
|
-
foreign: "foreign";
|
|
18710
|
-
metadata: "metadata";
|
|
18711
|
-
name: "name";
|
|
18712
|
-
default_allow_negative: "default_allow_negative";
|
|
18713
|
-
default_allow_positive: "default_allow_positive";
|
|
18714
|
-
created_at: "created_at";
|
|
18715
|
-
updated_at: "updated_at";
|
|
18716
|
-
default_dtw_to: "default_dtw_to";
|
|
18717
|
-
default_dtw_from: "default_dtw_from";
|
|
18718
|
-
status: "status";
|
|
18719
|
-
balance_token_id: "balance_token_id";
|
|
18720
|
-
balance_token_foreign: "balance_token_foreign";
|
|
18721
|
-
balance_transfer_id: "balance_transfer_id";
|
|
18722
|
-
balance_pending_amount: "balance_pending_amount";
|
|
18723
|
-
balance_pending_amount_to: "balance_pending_amount_to";
|
|
18724
|
-
balance_pending_amount_from: "balance_pending_amount_from";
|
|
18725
|
-
balance_finished_amount: "balance_finished_amount";
|
|
18726
|
-
balance_amount: "balance_amount";
|
|
18727
|
-
balance_available_balance: "balance_available_balance";
|
|
18728
|
-
balance_latest_control_hash: "balance_latest_control_hash";
|
|
18729
|
-
balance_updated_at: "balance_updated_at";
|
|
18730
|
-
}>>>>>;
|
|
18731
|
-
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
18732
|
-
type: "type";
|
|
18733
|
-
id: "id";
|
|
18734
|
-
foreign: "foreign";
|
|
18735
|
-
metadata: "metadata";
|
|
18736
|
-
name: "name";
|
|
18737
|
-
default_allow_negative: "default_allow_negative";
|
|
18738
|
-
default_allow_positive: "default_allow_positive";
|
|
18739
|
-
created_at: "created_at";
|
|
18740
|
-
updated_at: "updated_at";
|
|
18741
|
-
default_dtw_to: "default_dtw_to";
|
|
18742
|
-
default_dtw_from: "default_dtw_from";
|
|
18743
|
-
status: "status";
|
|
18744
|
-
balance_token_id: "balance_token_id";
|
|
18745
|
-
balance_token_foreign: "balance_token_foreign";
|
|
18746
|
-
balance_transfer_id: "balance_transfer_id";
|
|
18747
|
-
balance_pending_amount: "balance_pending_amount";
|
|
18748
|
-
balance_pending_amount_to: "balance_pending_amount_to";
|
|
18749
|
-
balance_pending_amount_from: "balance_pending_amount_from";
|
|
18750
|
-
balance_finished_amount: "balance_finished_amount";
|
|
18751
|
-
balance_amount: "balance_amount";
|
|
18752
|
-
balance_available_balance: "balance_available_balance";
|
|
18753
|
-
balance_latest_control_hash: "balance_latest_control_hash";
|
|
18754
|
-
balance_updated_at: "balance_updated_at";
|
|
18755
|
-
}>>>>>;
|
|
18756
|
-
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>>;
|
|
18757
|
-
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>>;
|
|
18758
|
-
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>>;
|
|
18759
|
-
limit: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
18760
|
-
offset: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
18761
|
-
order_by: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
18762
|
-
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
18763
|
-
field: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
18764
|
-
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
18765
|
-
asc: "asc";
|
|
18766
|
-
desc: "desc";
|
|
18767
|
-
}>>>;
|
|
18768
|
-
nulls: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18769
|
-
first: "first";
|
|
18770
|
-
last: "last";
|
|
18771
|
-
}>>;
|
|
18772
|
-
}, import("zod/v4/core").$strict>>>>;
|
|
18773
|
-
include_balance_for_token: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodTransform<{
|
|
18774
|
-
foreign: string;
|
|
18775
|
-
}, string | number>>>>;
|
|
18776
|
-
}, import("zod/v4/core").$strip>>;
|
|
18777
|
-
}, import("zod/v4/core").$strict>;
|
|
18778
|
-
export const exportWalletsFnOutputSchema: import("zod").ZodObject<{
|
|
18779
|
-
export: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
18780
|
-
identifier: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
18781
|
-
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18782
|
-
error: "error";
|
|
18783
|
-
started: "started";
|
|
18784
|
-
completed: "completed";
|
|
18785
|
-
}>>;
|
|
18786
|
-
type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18787
|
-
unknown: "unknown";
|
|
18788
|
-
transfers: "transfers";
|
|
18789
|
-
transfer_groups: "transfer_groups";
|
|
18790
|
-
tokens: "tokens";
|
|
18791
|
-
wallets: "wallets";
|
|
18792
|
-
balances: "balances";
|
|
18793
|
-
balance_history: "balance_history";
|
|
18794
|
-
}>>;
|
|
18795
|
-
created_at: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
18796
|
-
completed_at: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
18797
|
-
fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
18798
|
-
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
18799
|
-
signed_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18800
|
-
size: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18801
|
-
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18802
|
-
}, import("zod/v4/core").$strip>>;
|
|
18803
|
-
}, import("zod/v4/core").$strip>;
|
|
18804
|
-
export const config: {
|
|
18805
|
-
queryBuilder: boolean;
|
|
18806
|
-
};
|
|
18807
|
-
}
|
|
18808
19867
|
declare module "wapi-client/fns/get-balance/get-balance.schema.zod" {
|
|
18809
19868
|
import { z } from "wapi-client/lib/zod";
|
|
18810
19869
|
export const getBalanceFnOptionsSchema: z.ZodObject<{
|
|
@@ -18857,6 +19916,7 @@ declare module "wapi-client/fns/get-balance/get-balance.schema.zod" {
|
|
|
18857
19916
|
declare module "wapi-client/fns/get-balance-history/get-balance-history.schema.zod" {
|
|
18858
19917
|
import { z } from "wapi-client/lib/zod";
|
|
18859
19918
|
export const getBalanceHistoryFnOptionsSchema: z.ZodObject<{
|
|
19919
|
+
anchor: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
|
|
18860
19920
|
return_all_intervals: z.ZodOptional<z.ZodObject<{
|
|
18861
19921
|
start_time: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
18862
19922
|
end_time: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
@@ -18953,6 +20013,7 @@ declare module "wapi-client/fns/get-balance-history/get-balance-history.schema.z
|
|
|
18953
20013
|
wallet: z.ZodNonOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
18954
20014
|
datetime: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
18955
20015
|
options: z.ZodOptional<z.ZodObject<{
|
|
20016
|
+
anchor: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNumber>>>;
|
|
18956
20017
|
return_all_intervals: z.ZodOptional<z.ZodObject<{
|
|
18957
20018
|
start_time: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
18958
20019
|
end_time: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
@@ -21523,6 +22584,113 @@ declare module "wapi-client/fns/set-flags/set-flags.schema.zod" {
|
|
|
21523
22584
|
}, import("zod/v4/core").$strict>;
|
|
21524
22585
|
export const config: {};
|
|
21525
22586
|
}
|
|
22587
|
+
declare module "wapi-client/txs/update-apikey/update-apikey.schema.zod" {
|
|
22588
|
+
import { z } from 'zod';
|
|
22589
|
+
export const updateApikeyTxInputOptionsSchema: z.ZodObject<{
|
|
22590
|
+
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
22591
|
+
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
22592
|
+
return_when_not_updated: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
22593
|
+
}, z.core.$strip>;
|
|
22594
|
+
export const updateApikeyModificationsSchema: z.ZodObject<{
|
|
22595
|
+
metadata: z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>;
|
|
22596
|
+
status: z.ZodOptional<z.ZodLiteral<"deleted">>;
|
|
22597
|
+
apisecret: z.ZodOptional<z.ZodBoolean>;
|
|
22598
|
+
}, z.core.$strict>;
|
|
22599
|
+
export const updateApikeyFieldsSchema: z.ZodEnum<{
|
|
22600
|
+
metadata: "metadata";
|
|
22601
|
+
apisecret: "apisecret";
|
|
22602
|
+
status: "status";
|
|
22603
|
+
}>;
|
|
22604
|
+
export const updateApikeyTxInputSchema: z.ZodObject<{
|
|
22605
|
+
apikey: z.ZodString;
|
|
22606
|
+
update: z.ZodObject<{
|
|
22607
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
22608
|
+
status: z.ZodOptional<z.ZodOptional<z.ZodLiteral<"deleted">>>;
|
|
22609
|
+
apisecret: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
22610
|
+
}, z.core.$strict>;
|
|
22611
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
22612
|
+
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
22613
|
+
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
22614
|
+
return_when_not_updated: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
22615
|
+
}, z.core.$strip>>;
|
|
22616
|
+
}, z.core.$strict>;
|
|
22617
|
+
export const updateApikeyTxOutputSchema: z.ZodObject<{
|
|
22618
|
+
apikey: z.ZodOptional<z.ZodObject<{
|
|
22619
|
+
type: z.ZodEnum<{
|
|
22620
|
+
limited: "limited";
|
|
22621
|
+
admin: "admin";
|
|
22622
|
+
root: "root";
|
|
22623
|
+
}>;
|
|
22624
|
+
description: z.ZodString;
|
|
22625
|
+
id: z.ZodNumber;
|
|
22626
|
+
metadata: z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>;
|
|
22627
|
+
apikey: z.ZodString;
|
|
22628
|
+
created_at: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>;
|
|
22629
|
+
updated_at: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>;
|
|
22630
|
+
status: z.ZodEnum<{
|
|
22631
|
+
active: "active";
|
|
22632
|
+
deleted: "deleted";
|
|
22633
|
+
}>;
|
|
22634
|
+
scopes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22635
|
+
functions: z.ZodArray<z.ZodString>;
|
|
22636
|
+
}, z.core.$strip>>>;
|
|
22637
|
+
valid_until: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>;
|
|
22638
|
+
apisecret: z.ZodOptional<z.ZodString>;
|
|
22639
|
+
}, z.core.$strict>>;
|
|
22640
|
+
updated: z.ZodOptional<z.ZodBoolean>;
|
|
22641
|
+
}, z.core.$strip>;
|
|
22642
|
+
}
|
|
22643
|
+
declare module "wapi-client/fns/update-apikey/update-apikey.schema.zod" {
|
|
22644
|
+
import { z } from "wapi-client/lib/zod";
|
|
22645
|
+
export const updateApikeyFnOptionsSchema: z.ZodObject<{
|
|
22646
|
+
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
22647
|
+
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
22648
|
+
return_when_not_updated: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
22649
|
+
}, z.core.$strip>;
|
|
22650
|
+
export const updateApikeyInputSchema: z.ZodObject<{
|
|
22651
|
+
apikey: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
|
|
22652
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
22653
|
+
status: z.ZodOptional<z.ZodOptional<z.ZodLiteral<"deleted">>>;
|
|
22654
|
+
apisecret: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
22655
|
+
}, z.core.$strip>;
|
|
22656
|
+
export const updateApikeyFnInputSchema: z.ZodObject<{
|
|
22657
|
+
apikey: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
|
|
22658
|
+
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
22659
|
+
status: z.ZodOptional<z.ZodOptional<z.ZodLiteral<"deleted">>>;
|
|
22660
|
+
apisecret: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
22661
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
22662
|
+
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
22663
|
+
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
22664
|
+
return_when_not_updated: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
22665
|
+
}, z.core.$strip>>;
|
|
22666
|
+
}, z.core.$strict>;
|
|
22667
|
+
export const updateApikeyFnOutputSchema: z.ZodObject<{
|
|
22668
|
+
apikey: z.ZodOptional<z.ZodObject<{
|
|
22669
|
+
type: z.ZodEnum<{
|
|
22670
|
+
limited: "limited";
|
|
22671
|
+
admin: "admin";
|
|
22672
|
+
root: "root";
|
|
22673
|
+
}>;
|
|
22674
|
+
description: z.ZodString;
|
|
22675
|
+
id: z.ZodNumber;
|
|
22676
|
+
metadata: z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>;
|
|
22677
|
+
apikey: z.ZodString;
|
|
22678
|
+
created_at: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>;
|
|
22679
|
+
updated_at: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>;
|
|
22680
|
+
status: z.ZodEnum<{
|
|
22681
|
+
active: "active";
|
|
22682
|
+
deleted: "deleted";
|
|
22683
|
+
}>;
|
|
22684
|
+
scopes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22685
|
+
functions: z.ZodArray<z.ZodString>;
|
|
22686
|
+
}, z.core.$strip>>>;
|
|
22687
|
+
valid_until: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>;
|
|
22688
|
+
apisecret: z.ZodOptional<z.ZodString>;
|
|
22689
|
+
}, z.core.$strict>>;
|
|
22690
|
+
updated: z.ZodOptional<z.ZodBoolean>;
|
|
22691
|
+
}, z.core.$strip>;
|
|
22692
|
+
export const config: {};
|
|
22693
|
+
}
|
|
21526
22694
|
declare module "wapi-client/txs/update-token/update-token.schema.zod" {
|
|
21527
22695
|
import { z } from 'zod';
|
|
21528
22696
|
export const updateTokenTxInputOptionsSchema: z.ZodObject<{
|
|
@@ -23539,334 +24707,6 @@ declare module "wapi-client/txs/authentication-check/authentication-check.schema
|
|
|
23539
24707
|
}>>>;
|
|
23540
24708
|
}, z.core.$strip>;
|
|
23541
24709
|
}
|
|
23542
|
-
declare module "wapi-client/db/wapi-apikey/wapi-apikey.schema.zod" {
|
|
23543
|
-
import { z } from 'zod';
|
|
23544
|
-
export const wapiApikeyTableTypeSchema: z.ZodEnum<{
|
|
23545
|
-
limited: "limited";
|
|
23546
|
-
admin: "admin";
|
|
23547
|
-
root: "root";
|
|
23548
|
-
}>;
|
|
23549
|
-
export const WapiApikeyTypeEnum: Readonly<{
|
|
23550
|
-
limited: "limited";
|
|
23551
|
-
admin: "admin";
|
|
23552
|
-
root: "root";
|
|
23553
|
-
}>;
|
|
23554
|
-
export const wapiApikeyTableStatusSchema: z.ZodEnum<{
|
|
23555
|
-
active: "active";
|
|
23556
|
-
deleted: "deleted";
|
|
23557
|
-
}>;
|
|
23558
|
-
export const WapiApikeyStatusEnum: Readonly<{
|
|
23559
|
-
active: "active";
|
|
23560
|
-
deleted: "deleted";
|
|
23561
|
-
}>;
|
|
23562
|
-
export const wapiApikeyTableSchema: z.ZodObject<{
|
|
23563
|
-
id: z.ZodNumber;
|
|
23564
|
-
apikey: z.ZodString;
|
|
23565
|
-
owner: z.ZodString;
|
|
23566
|
-
type: z.ZodEnum<{
|
|
23567
|
-
limited: "limited";
|
|
23568
|
-
admin: "admin";
|
|
23569
|
-
root: "root";
|
|
23570
|
-
}>;
|
|
23571
|
-
description: z.ZodString;
|
|
23572
|
-
metadata: z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>;
|
|
23573
|
-
scopes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23574
|
-
functions: z.ZodArray<z.ZodString>;
|
|
23575
|
-
}, z.core.$strip>>>;
|
|
23576
|
-
valid_until: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>;
|
|
23577
|
-
status: z.ZodEnum<{
|
|
23578
|
-
active: "active";
|
|
23579
|
-
deleted: "deleted";
|
|
23580
|
-
}>;
|
|
23581
|
-
created_at: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>;
|
|
23582
|
-
updated_at: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>;
|
|
23583
|
-
}, z.core.$strict>;
|
|
23584
|
-
}
|
|
23585
|
-
declare module "wapi-client/txs/create-apikey/create-apikey.schema.zod" {
|
|
23586
|
-
import { z } from 'zod';
|
|
23587
|
-
export const createApikeyFunctionsSchema: z.ZodEnum<{
|
|
23588
|
-
aggregateTransferMany: "aggregateTransferMany";
|
|
23589
|
-
authenticationCheck: "authenticationCheck";
|
|
23590
|
-
createAccessToken: "createAccessToken";
|
|
23591
|
-
createApikey: "createApikey";
|
|
23592
|
-
createContract: "createContract";
|
|
23593
|
-
createDeposit: "createDeposit";
|
|
23594
|
-
createDistribution: "createDistribution";
|
|
23595
|
-
createToken: "createToken";
|
|
23596
|
-
createTransfer: "createTransfer";
|
|
23597
|
-
createTransferGroup: "createTransferGroup";
|
|
23598
|
-
createTransferMany: "createTransferMany";
|
|
23599
|
-
createWallet: "createWallet";
|
|
23600
|
-
createWithdrawal: "createWithdrawal";
|
|
23601
|
-
exportBalanceHistory: "exportBalanceHistory";
|
|
23602
|
-
exportBalanceMany: "exportBalanceMany";
|
|
23603
|
-
exportTokenMany: "exportTokenMany";
|
|
23604
|
-
exportTransferGroupMany: "exportTransferGroupMany";
|
|
23605
|
-
exportTransferMany: "exportTransferMany";
|
|
23606
|
-
exportWalletMany: "exportWalletMany";
|
|
23607
|
-
findApikeyMany: "findApikeyMany";
|
|
23608
|
-
findBalanceMany: "findBalanceMany";
|
|
23609
|
-
findTokenMany: "findTokenMany";
|
|
23610
|
-
findTransferGroupMany: "findTransferGroupMany";
|
|
23611
|
-
findTransferMany: "findTransferMany";
|
|
23612
|
-
findWalletMany: "findWalletMany";
|
|
23613
|
-
finishTransaction: "finishTransaction";
|
|
23614
|
-
getBalance: "getBalance";
|
|
23615
|
-
getBalanceHistory: "getBalanceHistory";
|
|
23616
|
-
getExport: "getExport";
|
|
23617
|
-
getFlags: "getFlags";
|
|
23618
|
-
getStatistics: "getStatistics";
|
|
23619
|
-
getToken: "getToken";
|
|
23620
|
-
getTokenMany: "getTokenMany";
|
|
23621
|
-
getTransfer: "getTransfer";
|
|
23622
|
-
getTransferGroup: "getTransferGroup";
|
|
23623
|
-
getWallet: "getWallet";
|
|
23624
|
-
getWalletMany: "getWalletMany";
|
|
23625
|
-
healthcheck: "healthcheck";
|
|
23626
|
-
listDatabaseExports: "listDatabaseExports";
|
|
23627
|
-
listExportMany: "listExportMany";
|
|
23628
|
-
resetDatabase: "resetDatabase";
|
|
23629
|
-
reverseTransfer: "reverseTransfer";
|
|
23630
|
-
reverseTransferGroup: "reverseTransferGroup";
|
|
23631
|
-
reverseTransferGroupMany: "reverseTransferGroupMany";
|
|
23632
|
-
reverseTransferMany: "reverseTransferMany";
|
|
23633
|
-
setFlags: "setFlags";
|
|
23634
|
-
startTransaction: "startTransaction";
|
|
23635
|
-
updateApikey: "updateApikey";
|
|
23636
|
-
updateToken: "updateToken";
|
|
23637
|
-
updateTransfer: "updateTransfer";
|
|
23638
|
-
updateTransferGroup: "updateTransferGroup";
|
|
23639
|
-
updateTransferGroupMany: "updateTransferGroupMany";
|
|
23640
|
-
updateTransferMany: "updateTransferMany";
|
|
23641
|
-
updateWallet: "updateWallet";
|
|
23642
|
-
}>;
|
|
23643
|
-
export const createApikeyLimited: z.ZodObject<{
|
|
23644
|
-
type: z.ZodEnum<{
|
|
23645
|
-
limited: "limited";
|
|
23646
|
-
}>;
|
|
23647
|
-
functions: z.ZodArray<z.ZodEnum<{
|
|
23648
|
-
aggregateTransferMany: "aggregateTransferMany";
|
|
23649
|
-
authenticationCheck: "authenticationCheck";
|
|
23650
|
-
createAccessToken: "createAccessToken";
|
|
23651
|
-
createApikey: "createApikey";
|
|
23652
|
-
createContract: "createContract";
|
|
23653
|
-
createDeposit: "createDeposit";
|
|
23654
|
-
createDistribution: "createDistribution";
|
|
23655
|
-
createToken: "createToken";
|
|
23656
|
-
createTransfer: "createTransfer";
|
|
23657
|
-
createTransferGroup: "createTransferGroup";
|
|
23658
|
-
createTransferMany: "createTransferMany";
|
|
23659
|
-
createWallet: "createWallet";
|
|
23660
|
-
createWithdrawal: "createWithdrawal";
|
|
23661
|
-
exportBalanceHistory: "exportBalanceHistory";
|
|
23662
|
-
exportBalanceMany: "exportBalanceMany";
|
|
23663
|
-
exportTokenMany: "exportTokenMany";
|
|
23664
|
-
exportTransferGroupMany: "exportTransferGroupMany";
|
|
23665
|
-
exportTransferMany: "exportTransferMany";
|
|
23666
|
-
exportWalletMany: "exportWalletMany";
|
|
23667
|
-
findApikeyMany: "findApikeyMany";
|
|
23668
|
-
findBalanceMany: "findBalanceMany";
|
|
23669
|
-
findTokenMany: "findTokenMany";
|
|
23670
|
-
findTransferGroupMany: "findTransferGroupMany";
|
|
23671
|
-
findTransferMany: "findTransferMany";
|
|
23672
|
-
findWalletMany: "findWalletMany";
|
|
23673
|
-
finishTransaction: "finishTransaction";
|
|
23674
|
-
getBalance: "getBalance";
|
|
23675
|
-
getBalanceHistory: "getBalanceHistory";
|
|
23676
|
-
getExport: "getExport";
|
|
23677
|
-
getFlags: "getFlags";
|
|
23678
|
-
getStatistics: "getStatistics";
|
|
23679
|
-
getToken: "getToken";
|
|
23680
|
-
getTokenMany: "getTokenMany";
|
|
23681
|
-
getTransfer: "getTransfer";
|
|
23682
|
-
getTransferGroup: "getTransferGroup";
|
|
23683
|
-
getWallet: "getWallet";
|
|
23684
|
-
getWalletMany: "getWalletMany";
|
|
23685
|
-
healthcheck: "healthcheck";
|
|
23686
|
-
listDatabaseExports: "listDatabaseExports";
|
|
23687
|
-
listExportMany: "listExportMany";
|
|
23688
|
-
resetDatabase: "resetDatabase";
|
|
23689
|
-
reverseTransfer: "reverseTransfer";
|
|
23690
|
-
reverseTransferGroup: "reverseTransferGroup";
|
|
23691
|
-
reverseTransferGroupMany: "reverseTransferGroupMany";
|
|
23692
|
-
reverseTransferMany: "reverseTransferMany";
|
|
23693
|
-
setFlags: "setFlags";
|
|
23694
|
-
startTransaction: "startTransaction";
|
|
23695
|
-
updateApikey: "updateApikey";
|
|
23696
|
-
updateToken: "updateToken";
|
|
23697
|
-
updateTransfer: "updateTransfer";
|
|
23698
|
-
updateTransferGroup: "updateTransferGroup";
|
|
23699
|
-
updateTransferGroupMany: "updateTransferGroupMany";
|
|
23700
|
-
updateTransferMany: "updateTransferMany";
|
|
23701
|
-
updateWallet: "updateWallet";
|
|
23702
|
-
}>>;
|
|
23703
|
-
description: z.ZodString;
|
|
23704
|
-
validUntil: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
23705
|
-
}, z.core.$strict>;
|
|
23706
|
-
export const createApikeyAdmin: z.ZodObject<{
|
|
23707
|
-
type: z.ZodEnum<{
|
|
23708
|
-
admin: "admin";
|
|
23709
|
-
}>;
|
|
23710
|
-
description: z.ZodString;
|
|
23711
|
-
validUntil: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
23712
|
-
}, z.core.$strict>;
|
|
23713
|
-
export const createApikeyTxInputOptionsSchema: z.ZodObject<{
|
|
23714
|
-
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
23715
|
-
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
23716
|
-
}, z.core.$strip>;
|
|
23717
|
-
export const createApikeyTxInputSchema: z.ZodObject<{
|
|
23718
|
-
apikey: z.ZodNonOptional<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
23719
|
-
type: z.ZodEnum<{
|
|
23720
|
-
limited: "limited";
|
|
23721
|
-
}>;
|
|
23722
|
-
functions: z.ZodArray<z.ZodEnum<{
|
|
23723
|
-
aggregateTransferMany: "aggregateTransferMany";
|
|
23724
|
-
authenticationCheck: "authenticationCheck";
|
|
23725
|
-
createAccessToken: "createAccessToken";
|
|
23726
|
-
createApikey: "createApikey";
|
|
23727
|
-
createContract: "createContract";
|
|
23728
|
-
createDeposit: "createDeposit";
|
|
23729
|
-
createDistribution: "createDistribution";
|
|
23730
|
-
createToken: "createToken";
|
|
23731
|
-
createTransfer: "createTransfer";
|
|
23732
|
-
createTransferGroup: "createTransferGroup";
|
|
23733
|
-
createTransferMany: "createTransferMany";
|
|
23734
|
-
createWallet: "createWallet";
|
|
23735
|
-
createWithdrawal: "createWithdrawal";
|
|
23736
|
-
exportBalanceHistory: "exportBalanceHistory";
|
|
23737
|
-
exportBalanceMany: "exportBalanceMany";
|
|
23738
|
-
exportTokenMany: "exportTokenMany";
|
|
23739
|
-
exportTransferGroupMany: "exportTransferGroupMany";
|
|
23740
|
-
exportTransferMany: "exportTransferMany";
|
|
23741
|
-
exportWalletMany: "exportWalletMany";
|
|
23742
|
-
findApikeyMany: "findApikeyMany";
|
|
23743
|
-
findBalanceMany: "findBalanceMany";
|
|
23744
|
-
findTokenMany: "findTokenMany";
|
|
23745
|
-
findTransferGroupMany: "findTransferGroupMany";
|
|
23746
|
-
findTransferMany: "findTransferMany";
|
|
23747
|
-
findWalletMany: "findWalletMany";
|
|
23748
|
-
finishTransaction: "finishTransaction";
|
|
23749
|
-
getBalance: "getBalance";
|
|
23750
|
-
getBalanceHistory: "getBalanceHistory";
|
|
23751
|
-
getExport: "getExport";
|
|
23752
|
-
getFlags: "getFlags";
|
|
23753
|
-
getStatistics: "getStatistics";
|
|
23754
|
-
getToken: "getToken";
|
|
23755
|
-
getTokenMany: "getTokenMany";
|
|
23756
|
-
getTransfer: "getTransfer";
|
|
23757
|
-
getTransferGroup: "getTransferGroup";
|
|
23758
|
-
getWallet: "getWallet";
|
|
23759
|
-
getWalletMany: "getWalletMany";
|
|
23760
|
-
healthcheck: "healthcheck";
|
|
23761
|
-
listDatabaseExports: "listDatabaseExports";
|
|
23762
|
-
listExportMany: "listExportMany";
|
|
23763
|
-
resetDatabase: "resetDatabase";
|
|
23764
|
-
reverseTransfer: "reverseTransfer";
|
|
23765
|
-
reverseTransferGroup: "reverseTransferGroup";
|
|
23766
|
-
reverseTransferGroupMany: "reverseTransferGroupMany";
|
|
23767
|
-
reverseTransferMany: "reverseTransferMany";
|
|
23768
|
-
setFlags: "setFlags";
|
|
23769
|
-
startTransaction: "startTransaction";
|
|
23770
|
-
updateApikey: "updateApikey";
|
|
23771
|
-
updateToken: "updateToken";
|
|
23772
|
-
updateTransfer: "updateTransfer";
|
|
23773
|
-
updateTransferGroup: "updateTransferGroup";
|
|
23774
|
-
updateTransferGroupMany: "updateTransferGroupMany";
|
|
23775
|
-
updateTransferMany: "updateTransferMany";
|
|
23776
|
-
updateWallet: "updateWallet";
|
|
23777
|
-
}>>;
|
|
23778
|
-
description: z.ZodString;
|
|
23779
|
-
validUntil: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
23780
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
23781
|
-
type: z.ZodEnum<{
|
|
23782
|
-
admin: "admin";
|
|
23783
|
-
}>;
|
|
23784
|
-
description: z.ZodString;
|
|
23785
|
-
validUntil: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
23786
|
-
}, z.core.$strict>], "type">>>;
|
|
23787
|
-
options: z.ZodOptional<z.ZodObject<{
|
|
23788
|
-
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
23789
|
-
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
23790
|
-
}, z.core.$strip>>;
|
|
23791
|
-
}, z.core.$strict>;
|
|
23792
|
-
export const createApikeyTxOutputSchema: z.ZodObject<{
|
|
23793
|
-
apikey: z.ZodObject<{
|
|
23794
|
-
type: z.ZodEnum<{
|
|
23795
|
-
limited: "limited";
|
|
23796
|
-
admin: "admin";
|
|
23797
|
-
root: "root";
|
|
23798
|
-
}>;
|
|
23799
|
-
description: z.ZodString;
|
|
23800
|
-
id: z.ZodNumber;
|
|
23801
|
-
metadata: z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>;
|
|
23802
|
-
apikey: z.ZodString;
|
|
23803
|
-
created_at: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>;
|
|
23804
|
-
updated_at: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>;
|
|
23805
|
-
status: z.ZodEnum<{
|
|
23806
|
-
active: "active";
|
|
23807
|
-
deleted: "deleted";
|
|
23808
|
-
}>;
|
|
23809
|
-
valid_until: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>;
|
|
23810
|
-
functions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
23811
|
-
aggregateTransferMany: "aggregateTransferMany";
|
|
23812
|
-
authenticationCheck: "authenticationCheck";
|
|
23813
|
-
createAccessToken: "createAccessToken";
|
|
23814
|
-
createApikey: "createApikey";
|
|
23815
|
-
createContract: "createContract";
|
|
23816
|
-
createDeposit: "createDeposit";
|
|
23817
|
-
createDistribution: "createDistribution";
|
|
23818
|
-
createToken: "createToken";
|
|
23819
|
-
createTransfer: "createTransfer";
|
|
23820
|
-
createTransferGroup: "createTransferGroup";
|
|
23821
|
-
createTransferMany: "createTransferMany";
|
|
23822
|
-
createWallet: "createWallet";
|
|
23823
|
-
createWithdrawal: "createWithdrawal";
|
|
23824
|
-
exportBalanceHistory: "exportBalanceHistory";
|
|
23825
|
-
exportBalanceMany: "exportBalanceMany";
|
|
23826
|
-
exportTokenMany: "exportTokenMany";
|
|
23827
|
-
exportTransferGroupMany: "exportTransferGroupMany";
|
|
23828
|
-
exportTransferMany: "exportTransferMany";
|
|
23829
|
-
exportWalletMany: "exportWalletMany";
|
|
23830
|
-
findApikeyMany: "findApikeyMany";
|
|
23831
|
-
findBalanceMany: "findBalanceMany";
|
|
23832
|
-
findTokenMany: "findTokenMany";
|
|
23833
|
-
findTransferGroupMany: "findTransferGroupMany";
|
|
23834
|
-
findTransferMany: "findTransferMany";
|
|
23835
|
-
findWalletMany: "findWalletMany";
|
|
23836
|
-
finishTransaction: "finishTransaction";
|
|
23837
|
-
getBalance: "getBalance";
|
|
23838
|
-
getBalanceHistory: "getBalanceHistory";
|
|
23839
|
-
getExport: "getExport";
|
|
23840
|
-
getFlags: "getFlags";
|
|
23841
|
-
getStatistics: "getStatistics";
|
|
23842
|
-
getToken: "getToken";
|
|
23843
|
-
getTokenMany: "getTokenMany";
|
|
23844
|
-
getTransfer: "getTransfer";
|
|
23845
|
-
getTransferGroup: "getTransferGroup";
|
|
23846
|
-
getWallet: "getWallet";
|
|
23847
|
-
getWalletMany: "getWalletMany";
|
|
23848
|
-
healthcheck: "healthcheck";
|
|
23849
|
-
listDatabaseExports: "listDatabaseExports";
|
|
23850
|
-
listExportMany: "listExportMany";
|
|
23851
|
-
resetDatabase: "resetDatabase";
|
|
23852
|
-
reverseTransfer: "reverseTransfer";
|
|
23853
|
-
reverseTransferGroup: "reverseTransferGroup";
|
|
23854
|
-
reverseTransferGroupMany: "reverseTransferGroupMany";
|
|
23855
|
-
reverseTransferMany: "reverseTransferMany";
|
|
23856
|
-
setFlags: "setFlags";
|
|
23857
|
-
startTransaction: "startTransaction";
|
|
23858
|
-
updateApikey: "updateApikey";
|
|
23859
|
-
updateToken: "updateToken";
|
|
23860
|
-
updateTransfer: "updateTransfer";
|
|
23861
|
-
updateTransferGroup: "updateTransferGroup";
|
|
23862
|
-
updateTransferGroupMany: "updateTransferGroupMany";
|
|
23863
|
-
updateTransferMany: "updateTransferMany";
|
|
23864
|
-
updateWallet: "updateWallet";
|
|
23865
|
-
}>>>;
|
|
23866
|
-
apisecret: z.ZodString;
|
|
23867
|
-
}, z.core.$strict>;
|
|
23868
|
-
}, z.core.$strip>;
|
|
23869
|
-
}
|
|
23870
24710
|
declare module "wapi-client/txs/create-distribution/create-distribution.schema.zod" {
|
|
23871
24711
|
import { z } from 'zod';
|
|
23872
24712
|
export const distributionTargetWalletSchema: z.ZodObject<{
|
|
@@ -24274,361 +25114,6 @@ declare module "wapi-client/txs/create-distribution/create-distribution.schema.z
|
|
|
24274
25114
|
}, z.core.$strict>>>>;
|
|
24275
25115
|
}, z.core.$strip>;
|
|
24276
25116
|
}
|
|
24277
|
-
declare module "wapi-client/txs/find-apikey-many/find-apikey-many.schema.zod" {
|
|
24278
|
-
import { z } from 'zod';
|
|
24279
|
-
export const findApikeyManyTxInputOptionsSchema: z.ZodObject<{
|
|
24280
|
-
order: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24281
|
-
direction: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
24282
|
-
asc: "asc";
|
|
24283
|
-
desc: "desc";
|
|
24284
|
-
}>>>;
|
|
24285
|
-
nulls: z.ZodOptional<z.ZodEnum<{
|
|
24286
|
-
first: "first";
|
|
24287
|
-
last: "last";
|
|
24288
|
-
}>>;
|
|
24289
|
-
field: z.ZodEnum<{
|
|
24290
|
-
type: "type";
|
|
24291
|
-
id: "id";
|
|
24292
|
-
created_at: "created_at";
|
|
24293
|
-
status: "status";
|
|
24294
|
-
token_id: "token_id";
|
|
24295
|
-
amount: "amount";
|
|
24296
|
-
force: "force";
|
|
24297
|
-
transfer_group_id: "transfer_group_id";
|
|
24298
|
-
transfer_id: "transfer_id";
|
|
24299
|
-
wallet_id: "wallet_id";
|
|
24300
|
-
pending_amount: "pending_amount";
|
|
24301
|
-
finished_amount: "finished_amount";
|
|
24302
|
-
allow_negative: "allow_negative";
|
|
24303
|
-
allow_positive: "allow_positive";
|
|
24304
|
-
latest_control_hash: "latest_control_hash";
|
|
24305
|
-
pending_amount_to: "pending_amount_to";
|
|
24306
|
-
pending_amount_from: "pending_amount_from";
|
|
24307
|
-
group_balance: "group_balance";
|
|
24308
|
-
current: "current";
|
|
24309
|
-
available_balance: "available_balance";
|
|
24310
|
-
token_limit: "token_limit";
|
|
24311
|
-
}>;
|
|
24312
|
-
}, z.core.$strict>>>;
|
|
24313
|
-
select: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
24314
|
-
type: "type";
|
|
24315
|
-
description: "description";
|
|
24316
|
-
id: "id";
|
|
24317
|
-
metadata: "metadata";
|
|
24318
|
-
apikey: "apikey";
|
|
24319
|
-
created_at: "created_at";
|
|
24320
|
-
updated_at: "updated_at";
|
|
24321
|
-
status: "status";
|
|
24322
|
-
scopes: "scopes";
|
|
24323
|
-
owner: "owner";
|
|
24324
|
-
valid_until: "valid_until";
|
|
24325
|
-
}>>>;
|
|
24326
|
-
deselect: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
24327
|
-
type: "type";
|
|
24328
|
-
description: "description";
|
|
24329
|
-
id: "id";
|
|
24330
|
-
metadata: "metadata";
|
|
24331
|
-
apikey: "apikey";
|
|
24332
|
-
created_at: "created_at";
|
|
24333
|
-
updated_at: "updated_at";
|
|
24334
|
-
status: "status";
|
|
24335
|
-
scopes: "scopes";
|
|
24336
|
-
owner: "owner";
|
|
24337
|
-
valid_until: "valid_until";
|
|
24338
|
-
}>>>;
|
|
24339
|
-
return_metadata_total: z.ZodOptional<z.ZodBoolean>;
|
|
24340
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
24341
|
-
offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
24342
|
-
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
24343
|
-
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
24344
|
-
}, z.core.$strip>;
|
|
24345
|
-
export const apikeyFilterObjectInputSchema: z.ZodObject<{
|
|
24346
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
24347
|
-
limited: "limited";
|
|
24348
|
-
admin: "admin";
|
|
24349
|
-
root: "root";
|
|
24350
|
-
}>>;
|
|
24351
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
24352
|
-
active: "active";
|
|
24353
|
-
deleted: "deleted";
|
|
24354
|
-
}>>;
|
|
24355
|
-
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
24356
|
-
description: z.ZodOptional<z.ZodString>;
|
|
24357
|
-
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
24358
|
-
}, z.core.$strip>;
|
|
24359
|
-
export const apikeyFilterFullInputSchema: z.ZodObject<{
|
|
24360
|
-
type: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
24361
|
-
limited: "limited";
|
|
24362
|
-
admin: "admin";
|
|
24363
|
-
root: "root";
|
|
24364
|
-
}>>>;
|
|
24365
|
-
status: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
24366
|
-
active: "active";
|
|
24367
|
-
deleted: "deleted";
|
|
24368
|
-
}>>>;
|
|
24369
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>>;
|
|
24370
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
24371
|
-
valid_until: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>>;
|
|
24372
|
-
updated_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
24373
|
-
}, z.core.$strip>;
|
|
24374
|
-
export const advancedApikeyFilterSchema: z.ZodType<import("wapi-client/db/consts").DbFilterGeneric<{
|
|
24375
|
-
type?: "limited" | "admin" | "root" | undefined;
|
|
24376
|
-
status?: "active" | "deleted" | undefined;
|
|
24377
|
-
metadata?: import("wapi-client/db/consts").Metadata | undefined;
|
|
24378
|
-
description?: string | undefined;
|
|
24379
|
-
valid_until?: string | null | undefined;
|
|
24380
|
-
updated_at?: string | undefined;
|
|
24381
|
-
}, z.ZodObject<{
|
|
24382
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
24383
|
-
limited: "limited";
|
|
24384
|
-
admin: "admin";
|
|
24385
|
-
root: "root";
|
|
24386
|
-
}>>;
|
|
24387
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
24388
|
-
active: "active";
|
|
24389
|
-
deleted: "deleted";
|
|
24390
|
-
}>>;
|
|
24391
|
-
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
24392
|
-
description: z.ZodOptional<z.ZodString>;
|
|
24393
|
-
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
24394
|
-
}, z.core.$strip>>, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").DbFilterGeneric<{
|
|
24395
|
-
type?: "limited" | "admin" | "root" | undefined;
|
|
24396
|
-
status?: "active" | "deleted" | undefined;
|
|
24397
|
-
metadata?: import("wapi-client/db/consts").Metadata | undefined;
|
|
24398
|
-
description?: string | undefined;
|
|
24399
|
-
valid_until?: string | null | undefined;
|
|
24400
|
-
updated_at?: string | undefined;
|
|
24401
|
-
}, z.ZodObject<{
|
|
24402
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
24403
|
-
limited: "limited";
|
|
24404
|
-
admin: "admin";
|
|
24405
|
-
root: "root";
|
|
24406
|
-
}>>;
|
|
24407
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
24408
|
-
active: "active";
|
|
24409
|
-
deleted: "deleted";
|
|
24410
|
-
}>>;
|
|
24411
|
-
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
24412
|
-
description: z.ZodOptional<z.ZodString>;
|
|
24413
|
-
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
24414
|
-
}, z.core.$strip>>, unknown>>;
|
|
24415
|
-
export const apikeyFilterSchema: z.ZodUnion<readonly [z.ZodArray<z.ZodType<import("wapi-client/db/consts").DbFilterGeneric<{
|
|
24416
|
-
type?: "limited" | "admin" | "root" | undefined;
|
|
24417
|
-
status?: "active" | "deleted" | undefined;
|
|
24418
|
-
metadata?: import("wapi-client/db/consts").Metadata | undefined;
|
|
24419
|
-
description?: string | undefined;
|
|
24420
|
-
valid_until?: string | null | undefined;
|
|
24421
|
-
updated_at?: string | undefined;
|
|
24422
|
-
}, z.ZodObject<{
|
|
24423
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
24424
|
-
limited: "limited";
|
|
24425
|
-
admin: "admin";
|
|
24426
|
-
root: "root";
|
|
24427
|
-
}>>;
|
|
24428
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
24429
|
-
active: "active";
|
|
24430
|
-
deleted: "deleted";
|
|
24431
|
-
}>>;
|
|
24432
|
-
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
24433
|
-
description: z.ZodOptional<z.ZodString>;
|
|
24434
|
-
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
24435
|
-
}, z.core.$strip>>, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").DbFilterGeneric<{
|
|
24436
|
-
type?: "limited" | "admin" | "root" | undefined;
|
|
24437
|
-
status?: "active" | "deleted" | undefined;
|
|
24438
|
-
metadata?: import("wapi-client/db/consts").Metadata | undefined;
|
|
24439
|
-
description?: string | undefined;
|
|
24440
|
-
valid_until?: string | null | undefined;
|
|
24441
|
-
updated_at?: string | undefined;
|
|
24442
|
-
}, z.ZodObject<{
|
|
24443
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
24444
|
-
limited: "limited";
|
|
24445
|
-
admin: "admin";
|
|
24446
|
-
root: "root";
|
|
24447
|
-
}>>;
|
|
24448
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
24449
|
-
active: "active";
|
|
24450
|
-
deleted: "deleted";
|
|
24451
|
-
}>>;
|
|
24452
|
-
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
24453
|
-
description: z.ZodOptional<z.ZodString>;
|
|
24454
|
-
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
24455
|
-
}, z.core.$strip>>, unknown>>>, z.ZodObject<{
|
|
24456
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
24457
|
-
limited: "limited";
|
|
24458
|
-
admin: "admin";
|
|
24459
|
-
root: "root";
|
|
24460
|
-
}>>;
|
|
24461
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
24462
|
-
active: "active";
|
|
24463
|
-
deleted: "deleted";
|
|
24464
|
-
}>>;
|
|
24465
|
-
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
24466
|
-
description: z.ZodOptional<z.ZodString>;
|
|
24467
|
-
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
24468
|
-
}, z.core.$strip>]>;
|
|
24469
|
-
export const findApikeyManyTxInputSchema: z.ZodObject<{
|
|
24470
|
-
apikey: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodType<import("wapi-client/db/consts").DbFilterGeneric<{
|
|
24471
|
-
type?: "limited" | "admin" | "root" | undefined;
|
|
24472
|
-
status?: "active" | "deleted" | undefined;
|
|
24473
|
-
metadata?: import("wapi-client/db/consts").Metadata | undefined;
|
|
24474
|
-
description?: string | undefined;
|
|
24475
|
-
valid_until?: string | null | undefined;
|
|
24476
|
-
updated_at?: string | undefined;
|
|
24477
|
-
}, z.ZodObject<{
|
|
24478
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
24479
|
-
limited: "limited";
|
|
24480
|
-
admin: "admin";
|
|
24481
|
-
root: "root";
|
|
24482
|
-
}>>;
|
|
24483
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
24484
|
-
active: "active";
|
|
24485
|
-
deleted: "deleted";
|
|
24486
|
-
}>>;
|
|
24487
|
-
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
24488
|
-
description: z.ZodOptional<z.ZodString>;
|
|
24489
|
-
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
24490
|
-
}, z.core.$strip>>, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").DbFilterGeneric<{
|
|
24491
|
-
type?: "limited" | "admin" | "root" | undefined;
|
|
24492
|
-
status?: "active" | "deleted" | undefined;
|
|
24493
|
-
metadata?: import("wapi-client/db/consts").Metadata | undefined;
|
|
24494
|
-
description?: string | undefined;
|
|
24495
|
-
valid_until?: string | null | undefined;
|
|
24496
|
-
updated_at?: string | undefined;
|
|
24497
|
-
}, z.ZodObject<{
|
|
24498
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
24499
|
-
limited: "limited";
|
|
24500
|
-
admin: "admin";
|
|
24501
|
-
root: "root";
|
|
24502
|
-
}>>;
|
|
24503
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
24504
|
-
active: "active";
|
|
24505
|
-
deleted: "deleted";
|
|
24506
|
-
}>>;
|
|
24507
|
-
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
24508
|
-
description: z.ZodOptional<z.ZodString>;
|
|
24509
|
-
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
24510
|
-
}, z.core.$strip>>, unknown>>>, z.ZodObject<{
|
|
24511
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
24512
|
-
limited: "limited";
|
|
24513
|
-
admin: "admin";
|
|
24514
|
-
root: "root";
|
|
24515
|
-
}>>;
|
|
24516
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
24517
|
-
active: "active";
|
|
24518
|
-
deleted: "deleted";
|
|
24519
|
-
}>>;
|
|
24520
|
-
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
24521
|
-
description: z.ZodOptional<z.ZodString>;
|
|
24522
|
-
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
24523
|
-
}, z.core.$strip>]>>;
|
|
24524
|
-
options: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
24525
|
-
order: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24526
|
-
direction: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
24527
|
-
asc: "asc";
|
|
24528
|
-
desc: "desc";
|
|
24529
|
-
}>>>;
|
|
24530
|
-
nulls: z.ZodOptional<z.ZodEnum<{
|
|
24531
|
-
first: "first";
|
|
24532
|
-
last: "last";
|
|
24533
|
-
}>>;
|
|
24534
|
-
field: z.ZodEnum<{
|
|
24535
|
-
type: "type";
|
|
24536
|
-
id: "id";
|
|
24537
|
-
created_at: "created_at";
|
|
24538
|
-
status: "status";
|
|
24539
|
-
token_id: "token_id";
|
|
24540
|
-
amount: "amount";
|
|
24541
|
-
force: "force";
|
|
24542
|
-
transfer_group_id: "transfer_group_id";
|
|
24543
|
-
transfer_id: "transfer_id";
|
|
24544
|
-
wallet_id: "wallet_id";
|
|
24545
|
-
pending_amount: "pending_amount";
|
|
24546
|
-
finished_amount: "finished_amount";
|
|
24547
|
-
allow_negative: "allow_negative";
|
|
24548
|
-
allow_positive: "allow_positive";
|
|
24549
|
-
latest_control_hash: "latest_control_hash";
|
|
24550
|
-
pending_amount_to: "pending_amount_to";
|
|
24551
|
-
pending_amount_from: "pending_amount_from";
|
|
24552
|
-
group_balance: "group_balance";
|
|
24553
|
-
current: "current";
|
|
24554
|
-
available_balance: "available_balance";
|
|
24555
|
-
token_limit: "token_limit";
|
|
24556
|
-
}>;
|
|
24557
|
-
}, z.core.$strict>>>;
|
|
24558
|
-
select: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
24559
|
-
type: "type";
|
|
24560
|
-
description: "description";
|
|
24561
|
-
id: "id";
|
|
24562
|
-
metadata: "metadata";
|
|
24563
|
-
apikey: "apikey";
|
|
24564
|
-
created_at: "created_at";
|
|
24565
|
-
updated_at: "updated_at";
|
|
24566
|
-
status: "status";
|
|
24567
|
-
scopes: "scopes";
|
|
24568
|
-
owner: "owner";
|
|
24569
|
-
valid_until: "valid_until";
|
|
24570
|
-
}>>>;
|
|
24571
|
-
deselect: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
24572
|
-
type: "type";
|
|
24573
|
-
description: "description";
|
|
24574
|
-
id: "id";
|
|
24575
|
-
metadata: "metadata";
|
|
24576
|
-
apikey: "apikey";
|
|
24577
|
-
created_at: "created_at";
|
|
24578
|
-
updated_at: "updated_at";
|
|
24579
|
-
status: "status";
|
|
24580
|
-
scopes: "scopes";
|
|
24581
|
-
owner: "owner";
|
|
24582
|
-
valid_until: "valid_until";
|
|
24583
|
-
}>>>;
|
|
24584
|
-
return_metadata_total: z.ZodOptional<z.ZodBoolean>;
|
|
24585
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
24586
|
-
offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
24587
|
-
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
24588
|
-
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
24589
|
-
}, z.core.$strip>>>;
|
|
24590
|
-
}, z.core.$strict>;
|
|
24591
|
-
export const findApikeyManyTxOutputSchema: z.ZodObject<{
|
|
24592
|
-
apikeys: z.ZodNonOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24593
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
24594
|
-
limited: "limited";
|
|
24595
|
-
admin: "admin";
|
|
24596
|
-
root: "root";
|
|
24597
|
-
}>>;
|
|
24598
|
-
description: z.ZodOptional<z.ZodString>;
|
|
24599
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
24600
|
-
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
24601
|
-
apikey: z.ZodOptional<z.ZodString>;
|
|
24602
|
-
created_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
24603
|
-
updated_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
|
|
24604
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
24605
|
-
active: "active";
|
|
24606
|
-
deleted: "deleted";
|
|
24607
|
-
}>>;
|
|
24608
|
-
scopes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
24609
|
-
functions: z.ZodArray<z.ZodString>;
|
|
24610
|
-
}, z.core.$strip>>>>;
|
|
24611
|
-
valid_until: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>>;
|
|
24612
|
-
}, z.core.$strict>>>>;
|
|
24613
|
-
metadata: z.ZodNonOptional<z.ZodOptional<z.ZodObject<{
|
|
24614
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
24615
|
-
offset: z.ZodNonOptional<z.ZodOptional<z.ZodNumber>>;
|
|
24616
|
-
limit: z.ZodNonOptional<z.ZodOptional<z.ZodNumber>>;
|
|
24617
|
-
more_rows: z.ZodNonOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
24618
|
-
order: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24619
|
-
field: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
|
|
24620
|
-
direction: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
24621
|
-
asc: "asc";
|
|
24622
|
-
desc: "desc";
|
|
24623
|
-
}>>>;
|
|
24624
|
-
nulls: z.ZodOptional<z.ZodEnum<{
|
|
24625
|
-
first: "first";
|
|
24626
|
-
last: "last";
|
|
24627
|
-
}>>;
|
|
24628
|
-
}, z.core.$strict>>>;
|
|
24629
|
-
}, z.core.$strip>>>;
|
|
24630
|
-
}, z.core.$strip>;
|
|
24631
|
-
}
|
|
24632
25117
|
declare module "wapi-client/txs/finish-transaction/finish-transaction.schema.zod" {
|
|
24633
25118
|
import { z } from 'zod';
|
|
24634
25119
|
export const finishTransactionTxInputOptionsSchema: z.ZodObject<{
|
|
@@ -25128,66 +25613,11 @@ declare module "wapi-client/txs/start-transaction/start-transaction.schema.zod"
|
|
|
25128
25613
|
transaction_id: z.ZodOptional<z.ZodString>;
|
|
25129
25614
|
}, z.core.$strip>;
|
|
25130
25615
|
}
|
|
25131
|
-
declare module "wapi-client/txs/update-apikey/update-apikey.schema.zod" {
|
|
25132
|
-
import { z } from 'zod';
|
|
25133
|
-
export const updateApikeyTxInputOptionsSchema: z.ZodObject<{
|
|
25134
|
-
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
25135
|
-
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
25136
|
-
return_when_not_updated: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
25137
|
-
}, z.core.$strip>;
|
|
25138
|
-
export const updateApikeyModificationsSchema: z.ZodObject<{
|
|
25139
|
-
metadata: z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>;
|
|
25140
|
-
status: z.ZodOptional<z.ZodLiteral<"deleted">>;
|
|
25141
|
-
apisecret: z.ZodOptional<z.ZodBoolean>;
|
|
25142
|
-
}, z.core.$strict>;
|
|
25143
|
-
export const updateApikeyFieldsSchema: z.ZodEnum<{
|
|
25144
|
-
metadata: "metadata";
|
|
25145
|
-
apisecret: "apisecret";
|
|
25146
|
-
status: "status";
|
|
25147
|
-
}>;
|
|
25148
|
-
export const updateApikeyTxInputSchema: z.ZodObject<{
|
|
25149
|
-
apikey: z.ZodString;
|
|
25150
|
-
update: z.ZodObject<{
|
|
25151
|
-
metadata: z.ZodOptional<z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>;
|
|
25152
|
-
status: z.ZodOptional<z.ZodOptional<z.ZodLiteral<"deleted">>>;
|
|
25153
|
-
apisecret: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
25154
|
-
}, z.core.$strict>;
|
|
25155
|
-
options: z.ZodOptional<z.ZodObject<{
|
|
25156
|
-
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
25157
|
-
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
25158
|
-
return_when_not_updated: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
25159
|
-
}, z.core.$strip>>;
|
|
25160
|
-
}, z.core.$strict>;
|
|
25161
|
-
export const updateApikeyTxOutputSchema: z.ZodObject<{
|
|
25162
|
-
apikey: z.ZodOptional<z.ZodObject<{
|
|
25163
|
-
type: z.ZodEnum<{
|
|
25164
|
-
limited: "limited";
|
|
25165
|
-
admin: "admin";
|
|
25166
|
-
root: "root";
|
|
25167
|
-
}>;
|
|
25168
|
-
description: z.ZodString;
|
|
25169
|
-
id: z.ZodNumber;
|
|
25170
|
-
metadata: z.ZodType<import("wapi-client/db/consts").Metadata, unknown, z.core.$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>;
|
|
25171
|
-
apikey: z.ZodString;
|
|
25172
|
-
created_at: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>;
|
|
25173
|
-
updated_at: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>;
|
|
25174
|
-
status: z.ZodEnum<{
|
|
25175
|
-
active: "active";
|
|
25176
|
-
deleted: "deleted";
|
|
25177
|
-
}>;
|
|
25178
|
-
scopes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25179
|
-
functions: z.ZodArray<z.ZodString>;
|
|
25180
|
-
}, z.core.$strip>>>;
|
|
25181
|
-
valid_until: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>>;
|
|
25182
|
-
apisecret: z.ZodOptional<z.ZodString>;
|
|
25183
|
-
}, z.core.$strict>>;
|
|
25184
|
-
updated: z.ZodOptional<z.ZodBoolean>;
|
|
25185
|
-
}, z.core.$strip>;
|
|
25186
|
-
}
|
|
25187
25616
|
declare module "wapi-client/lib/validator" {
|
|
25188
25617
|
import { ZodValidator } from "wapi-client/lib/validation";
|
|
25189
25618
|
import { aggregateTransfersFnInputSchema, aggregateTransfersFnOutputSchema } from "wapi-client/fns/aggregate-transfers/aggregate-transfers.schema.zod";
|
|
25190
25619
|
import { createAccessTokenFnInputSchema, createAccessTokenFnOutputSchema } from "wapi-client/fns/create-access-token/create-access-token.schema.zod";
|
|
25620
|
+
import { createApikeyFnInputSchema, createApikeyFnOutputSchema } from "wapi-client/fns/create-apikey/create-apikey.schema.zod";
|
|
25191
25621
|
import { createContractFnInputSchema, createContractFnOutputSchema } from "wapi-client/fns/create-contract/create-contract.schema.zod";
|
|
25192
25622
|
import { createDepositFnInputSchema, createDepositFnOutputSchema } from "wapi-client/fns/create-deposit/create-deposit.schema.zod";
|
|
25193
25623
|
import { createExchangeFnInputSchema, createExchangeFnOutputSchema } from "wapi-client/fns/create-exchange/create-exchange.schema.zod";
|
|
@@ -25203,6 +25633,7 @@ declare module "wapi-client/lib/validator" {
|
|
|
25203
25633
|
import { exportTransferGroupsFnInputSchema, exportTransferGroupsFnOutputSchema } from "wapi-client/fns/export-transfer-groups/export-transfer-groups.schema.zod";
|
|
25204
25634
|
import { exportTransfersFnInputSchema, exportTransfersFnOutputSchema } from "wapi-client/fns/export-transfers/export-transfers.schema.zod";
|
|
25205
25635
|
import { exportWalletsFnInputSchema, exportWalletsFnOutputSchema } from "wapi-client/fns/export-wallets/export-wallets.schema.zod";
|
|
25636
|
+
import { findApikeysFnInputSchema, findApikeysFnOutputSchema } from "wapi-client/fns/find-apikeys/find-apikeys.schema.zod";
|
|
25206
25637
|
import { findBalancesFnInputSchema, findBalancesFnOutputSchema } from "wapi-client/fns/find-balances/find-balances.schema.zod";
|
|
25207
25638
|
import { findTokensFnInputSchema, findTokensFnOutputSchema } from "wapi-client/fns/find-tokens/find-tokens.schema.zod";
|
|
25208
25639
|
import { findTransferGroupsFnInputSchema, findTransferGroupsFnOutputSchema } from "wapi-client/fns/find-transfer-groups/find-transfer-groups.schema.zod";
|
|
@@ -25223,6 +25654,7 @@ declare module "wapi-client/lib/validator" {
|
|
|
25223
25654
|
import { reverseTransferGroupFnInputSchema, reverseTransferGroupFnOutputSchema } from "wapi-client/fns/reverse-transfer-group/reverse-transfer-group.schema.zod";
|
|
25224
25655
|
import { reverseTransfersFnInputSchema, reverseTransfersFnOutputSchema } from "wapi-client/fns/reverse-transfers/reverse-transfers.schema.zod";
|
|
25225
25656
|
import { setFlagsFnInputSchema, setFlagsFnOutputSchema } from "wapi-client/fns/set-flags/set-flags.schema.zod";
|
|
25657
|
+
import { updateApikeyFnInputSchema, updateApikeyFnOutputSchema } from "wapi-client/fns/update-apikey/update-apikey.schema.zod";
|
|
25226
25658
|
import { updateTokenFnInputSchema, updateTokenFnOutputSchema } from "wapi-client/fns/update-token/update-token.schema.zod";
|
|
25227
25659
|
import { updateTransferFnInputSchema, updateTransferFnOutputSchema } from "wapi-client/fns/update-transfer/update-transfer.schema.zod";
|
|
25228
25660
|
import { updateTransferGroupFnInputSchema, updateTransferGroupFnOutputSchema } from "wapi-client/fns/update-transfer-group/update-transfer-group.schema.zod";
|
|
@@ -25288,6 +25720,8 @@ declare module "wapi-client/lib/validator" {
|
|
|
25288
25720
|
aggregateTransfersFnOutput: ZodValidator<typeof aggregateTransfersFnOutputSchema>;
|
|
25289
25721
|
createAccessTokenFnInput: ZodValidator<typeof createAccessTokenFnInputSchema>;
|
|
25290
25722
|
createAccessTokenFnOutput: ZodValidator<typeof createAccessTokenFnOutputSchema>;
|
|
25723
|
+
createApikeyFnInput: ZodValidator<typeof createApikeyFnInputSchema>;
|
|
25724
|
+
createApikeyFnOutput: ZodValidator<typeof createApikeyFnOutputSchema>;
|
|
25291
25725
|
createContractFnInput: ZodValidator<typeof createContractFnInputSchema>;
|
|
25292
25726
|
createContractFnOutput: ZodValidator<typeof createContractFnOutputSchema>;
|
|
25293
25727
|
createDepositFnInput: ZodValidator<typeof createDepositFnInputSchema>;
|
|
@@ -25318,6 +25752,8 @@ declare module "wapi-client/lib/validator" {
|
|
|
25318
25752
|
exportTransfersFnOutput: ZodValidator<typeof exportTransfersFnOutputSchema>;
|
|
25319
25753
|
exportWalletsFnInput: ZodValidator<typeof exportWalletsFnInputSchema>;
|
|
25320
25754
|
exportWalletsFnOutput: ZodValidator<typeof exportWalletsFnOutputSchema>;
|
|
25755
|
+
findApikeysFnInput: ZodValidator<typeof findApikeysFnInputSchema>;
|
|
25756
|
+
findApikeysFnOutput: ZodValidator<typeof findApikeysFnOutputSchema>;
|
|
25321
25757
|
findBalancesFnInput: ZodValidator<typeof findBalancesFnInputSchema>;
|
|
25322
25758
|
findBalancesFnOutput: ZodValidator<typeof findBalancesFnOutputSchema>;
|
|
25323
25759
|
findTokensFnInput: ZodValidator<typeof findTokensFnInputSchema>;
|
|
@@ -25358,6 +25794,8 @@ declare module "wapi-client/lib/validator" {
|
|
|
25358
25794
|
reverseTransfersFnOutput: ZodValidator<typeof reverseTransfersFnOutputSchema>;
|
|
25359
25795
|
setFlagsFnInput: ZodValidator<typeof setFlagsFnInputSchema>;
|
|
25360
25796
|
setFlagsFnOutput: ZodValidator<typeof setFlagsFnOutputSchema>;
|
|
25797
|
+
updateApikeyFnInput: ZodValidator<typeof updateApikeyFnInputSchema>;
|
|
25798
|
+
updateApikeyFnOutput: ZodValidator<typeof updateApikeyFnOutputSchema>;
|
|
25361
25799
|
updateTokenFnInput: ZodValidator<typeof updateTokenFnInputSchema>;
|
|
25362
25800
|
updateTokenFnOutput: ZodValidator<typeof updateTokenFnOutputSchema>;
|
|
25363
25801
|
updateTransferFnInput: ZodValidator<typeof updateTransferFnInputSchema>;
|
|
@@ -27660,6 +28098,28 @@ declare module "wapi-client/fns/create-access-token/create-access-token" {
|
|
|
27660
28098
|
*/
|
|
27661
28099
|
export function createAccessToken(options: ClientFunctionOptions, input: CreateAccessTokenFnInput, fnOptions?: CreateAccessTokenFnOptions): StreamPromise<CreateAccessTokenFnOutput>;
|
|
27662
28100
|
}
|
|
28101
|
+
declare module "wapi-client/fns/create-apikey/create-apikey.enums" {
|
|
28102
|
+
/**
|
|
28103
|
+
* This file is generated on build
|
|
28104
|
+
*/
|
|
28105
|
+
import { z } from "wapi-client/lib/zod";
|
|
28106
|
+
import { createApikeyFnInputSchema, createApikeyFnOptionsSchema, createApikeyFnOutputSchema, createApikeyInputSchema } from "wapi-client/fns/create-apikey/create-apikey.schema.zod";
|
|
28107
|
+
export type CreateApikeyFnInput = z.input<typeof createApikeyFnInputSchema>;
|
|
28108
|
+
export type CreateApikeyFnOptions = z.input<typeof createApikeyFnOptionsSchema>;
|
|
28109
|
+
export type CreateApikeyFnOutput = z.infer<typeof createApikeyFnOutputSchema>;
|
|
28110
|
+
export type CreateApikeyInput = z.input<typeof createApikeyInputSchema>;
|
|
28111
|
+
}
|
|
28112
|
+
declare module "wapi-client/fns/create-apikey/create-apikey" {
|
|
28113
|
+
import { ClientFunctionOptions } from "wapi-client/fns/fn-consts.enums";
|
|
28114
|
+
import { StreamPromise } from "wapi-client/lib/stream-promise";
|
|
28115
|
+
import { CreateApikeyFnInput, CreateApikeyFnOutput, CreateApikeyFnOptions } from "wapi-client/fns/create-apikey/create-apikey.enums";
|
|
28116
|
+
/**
|
|
28117
|
+
* @internal
|
|
28118
|
+
*
|
|
28119
|
+
* Create a new API key for accessing WAPI
|
|
28120
|
+
*/
|
|
28121
|
+
export function createApikey(options: ClientFunctionOptions, input: CreateApikeyFnInput, fnOptions?: CreateApikeyFnOptions): StreamPromise<CreateApikeyFnOutput>;
|
|
28122
|
+
}
|
|
27663
28123
|
declare module "wapi-client/fns/create-contract/create-contract.enums" {
|
|
27664
28124
|
/**
|
|
27665
28125
|
* This file is generated on build
|
|
@@ -29382,6 +29842,137 @@ declare module "wapi-client/fns/export-wallets/export-wallets" {
|
|
|
29382
29842
|
status?: "active" | "disabled" | undefined;
|
|
29383
29843
|
}>, {}, true>;
|
|
29384
29844
|
}
|
|
29845
|
+
declare module "wapi-client/fns/find-apikeys/find-apikeys.enums" {
|
|
29846
|
+
/**
|
|
29847
|
+
* This file is generated on build
|
|
29848
|
+
*/
|
|
29849
|
+
import { z } from "wapi-client/lib/zod";
|
|
29850
|
+
import { findApikeysFnInputSchema, findApikeysFnOptionsSchema, findApikeysFnOutputSchema, findApikeysInputSchema } from "wapi-client/fns/find-apikeys/find-apikeys.schema.zod";
|
|
29851
|
+
export type FindApikeysFnInput = z.input<typeof findApikeysFnInputSchema>;
|
|
29852
|
+
export type FindApikeysFnOptions = z.input<typeof findApikeysFnOptionsSchema>;
|
|
29853
|
+
export type FindApikeysFnOutput = z.infer<typeof findApikeysFnOutputSchema>;
|
|
29854
|
+
export type FindApikeysInput = z.input<typeof findApikeysInputSchema>;
|
|
29855
|
+
}
|
|
29856
|
+
declare module "wapi-client/db/wapi-apikey/wapi-apikey.enums" {
|
|
29857
|
+
/**
|
|
29858
|
+
* This file is generated on build
|
|
29859
|
+
*/
|
|
29860
|
+
import { z } from "wapi-client/lib/zod";
|
|
29861
|
+
import { wapiApikeyTableSchema, wapiApikeyTableStatusSchema, wapiApikeyTableTypeSchema } from "wapi-client/db/wapi-apikey/wapi-apikey.schema.zod";
|
|
29862
|
+
export type WapiApikeyTable = z.infer<typeof wapiApikeyTableSchema>;
|
|
29863
|
+
export type WapiApikeyTableStatus = z.infer<typeof wapiApikeyTableStatusSchema>;
|
|
29864
|
+
export type WapiApikeyTableType = z.infer<typeof wapiApikeyTableTypeSchema>;
|
|
29865
|
+
}
|
|
29866
|
+
declare module "wapi-client/fns/find-apikeys/find-apikeys" {
|
|
29867
|
+
import { ClientFunctionOptions } from "wapi-client/fns/fn-consts.enums";
|
|
29868
|
+
import { FindApikeysFnInput, FindApikeysFnOptions } from "wapi-client/fns/find-apikeys/find-apikeys.enums";
|
|
29869
|
+
import { FindQueryBuilder, AllTrue } from "wapi-client/lib/query-builder/find-query-builder";
|
|
29870
|
+
/**
|
|
29871
|
+
* @internal
|
|
29872
|
+
*
|
|
29873
|
+
* Search for API keys using either a simple filter or queryBuilder
|
|
29874
|
+
*
|
|
29875
|
+
*/
|
|
29876
|
+
export function findApikeys(options: ClientFunctionOptions, input?: FindApikeysFnInput, fnOptions?: FindApikeysFnOptions): FindQueryBuilder<import("zod").ZodObject<{
|
|
29877
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
29878
|
+
limited: "limited";
|
|
29879
|
+
admin: "admin";
|
|
29880
|
+
root: "root";
|
|
29881
|
+
}>>;
|
|
29882
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
29883
|
+
active: "active";
|
|
29884
|
+
deleted: "deleted";
|
|
29885
|
+
}>>;
|
|
29886
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
29887
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
29888
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
29889
|
+
type: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
29890
|
+
limited: "limited";
|
|
29891
|
+
admin: "admin";
|
|
29892
|
+
root: "root";
|
|
29893
|
+
}>>>>;
|
|
29894
|
+
status: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
29895
|
+
active: "active";
|
|
29896
|
+
deleted: "deleted";
|
|
29897
|
+
}>>>>;
|
|
29898
|
+
metadata: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("wapi-client/db/consts").Metadata, unknown, import("zod/v4/core").$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>>>;
|
|
29899
|
+
description: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
29900
|
+
valid_until: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>>>>;
|
|
29901
|
+
updated_at: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>;
|
|
29902
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
29903
|
+
select: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
29904
|
+
type: "type";
|
|
29905
|
+
description: "description";
|
|
29906
|
+
id: "id";
|
|
29907
|
+
metadata: "metadata";
|
|
29908
|
+
apikey: "apikey";
|
|
29909
|
+
created_at: "created_at";
|
|
29910
|
+
updated_at: "updated_at";
|
|
29911
|
+
status: "status";
|
|
29912
|
+
scopes: "scopes";
|
|
29913
|
+
owner: "owner";
|
|
29914
|
+
valid_until: "valid_until";
|
|
29915
|
+
}>>>>;
|
|
29916
|
+
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
29917
|
+
type: "type";
|
|
29918
|
+
description: "description";
|
|
29919
|
+
id: "id";
|
|
29920
|
+
metadata: "metadata";
|
|
29921
|
+
apikey: "apikey";
|
|
29922
|
+
created_at: "created_at";
|
|
29923
|
+
updated_at: "updated_at";
|
|
29924
|
+
status: "status";
|
|
29925
|
+
scopes: "scopes";
|
|
29926
|
+
owner: "owner";
|
|
29927
|
+
valid_until: "valid_until";
|
|
29928
|
+
}>>>>;
|
|
29929
|
+
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
29930
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
29931
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
29932
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
29933
|
+
offset: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
29934
|
+
order_by: import("zod").ZodOptional<import("zod").ZodString>;
|
|
29935
|
+
order: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
29936
|
+
field: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
29937
|
+
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
29938
|
+
asc: "asc";
|
|
29939
|
+
desc: "desc";
|
|
29940
|
+
}>>>;
|
|
29941
|
+
nulls: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
29942
|
+
first: "first";
|
|
29943
|
+
last: "last";
|
|
29944
|
+
}>>;
|
|
29945
|
+
}, import("zod/v4/core").$strict>>>;
|
|
29946
|
+
}, import("zod/v4/core").$strip>, "apikeys", {
|
|
29947
|
+
id: number;
|
|
29948
|
+
apikey: string;
|
|
29949
|
+
owner: string;
|
|
29950
|
+
type: "limited" | "admin" | "root";
|
|
29951
|
+
description: string;
|
|
29952
|
+
metadata: import("wapi-client/db/consts").Metadata;
|
|
29953
|
+
status: "active" | "deleted";
|
|
29954
|
+
created_at: string;
|
|
29955
|
+
updated_at: string;
|
|
29956
|
+
scopes?: {
|
|
29957
|
+
functions: string[];
|
|
29958
|
+
} | null | undefined;
|
|
29959
|
+
valid_until?: string | null | undefined;
|
|
29960
|
+
}, AllTrue<Omit<{
|
|
29961
|
+
id: number;
|
|
29962
|
+
apikey: string;
|
|
29963
|
+
owner: string;
|
|
29964
|
+
type: "limited" | "admin" | "root";
|
|
29965
|
+
description: string;
|
|
29966
|
+
metadata: import("wapi-client/db/consts").Metadata;
|
|
29967
|
+
status: "active" | "deleted";
|
|
29968
|
+
created_at: string;
|
|
29969
|
+
updated_at: string;
|
|
29970
|
+
scopes?: {
|
|
29971
|
+
functions: string[];
|
|
29972
|
+
} | null | undefined;
|
|
29973
|
+
valid_until?: string | null | undefined;
|
|
29974
|
+
}, "owner" | "system">>, {}, true>;
|
|
29975
|
+
}
|
|
29385
29976
|
declare module "wapi-client/fns/find-balances/find-balances.enums" {
|
|
29386
29977
|
/**
|
|
29387
29978
|
* This file is generated on build
|
|
@@ -31262,6 +31853,28 @@ declare module "wapi-client/fns/update-token/update-token" {
|
|
|
31262
31853
|
*/
|
|
31263
31854
|
export function updateToken(options: ClientFunctionOptions, input: UpdateTokenFnInput, fnOptions?: UpdateTokenFnOptions): StreamPromise<UpdateTokenFnOutput>;
|
|
31264
31855
|
}
|
|
31856
|
+
declare module "wapi-client/fns/update-apikey/update-apikey.enums" {
|
|
31857
|
+
/**
|
|
31858
|
+
* This file is generated on build
|
|
31859
|
+
*/
|
|
31860
|
+
import { z } from "wapi-client/lib/zod";
|
|
31861
|
+
import { updateApikeyFnInputSchema, updateApikeyFnOptionsSchema, updateApikeyFnOutputSchema, updateApikeyInputSchema } from "wapi-client/fns/update-apikey/update-apikey.schema.zod";
|
|
31862
|
+
export type UpdateApikeyFnInput = z.input<typeof updateApikeyFnInputSchema>;
|
|
31863
|
+
export type UpdateApikeyFnOptions = z.input<typeof updateApikeyFnOptionsSchema>;
|
|
31864
|
+
export type UpdateApikeyFnOutput = z.infer<typeof updateApikeyFnOutputSchema>;
|
|
31865
|
+
export type UpdateApikeyInput = z.input<typeof updateApikeyInputSchema>;
|
|
31866
|
+
}
|
|
31867
|
+
declare module "wapi-client/fns/update-apikey/update-apikey" {
|
|
31868
|
+
import { ClientFunctionOptions } from "wapi-client/fns/fn-consts.enums";
|
|
31869
|
+
import { StreamPromise } from "wapi-client/lib/stream-promise";
|
|
31870
|
+
import { UpdateApikeyFnInput, UpdateApikeyFnOptions, UpdateApikeyFnOutput } from "wapi-client/fns/update-apikey/update-apikey.enums";
|
|
31871
|
+
/**
|
|
31872
|
+
* @internal
|
|
31873
|
+
*
|
|
31874
|
+
* Update an API key
|
|
31875
|
+
*/
|
|
31876
|
+
export function updateApikey(options: ClientFunctionOptions, input: UpdateApikeyFnInput, fnOptions?: UpdateApikeyFnOptions): StreamPromise<UpdateApikeyFnOutput>;
|
|
31877
|
+
}
|
|
31265
31878
|
declare module "wapi-client/fns/update-transfer/update-transfer.enums" {
|
|
31266
31879
|
/**
|
|
31267
31880
|
* This file is generated on build
|
|
@@ -31929,6 +32542,7 @@ declare module "client.js" {
|
|
|
31929
32542
|
import { StreamPromise } from "wapi-client/lib/stream-promise";
|
|
31930
32543
|
import { AggregateTransfersFnInput, AggregateTransfersFnOptions } from "wapi-client/fns/aggregate-transfers/aggregate-transfers.enums";
|
|
31931
32544
|
import { CreateAccessTokenFnInput, CreateAccessTokenFnOptions, CreateAccessTokenFnOutput } from "wapi-client/fns/create-access-token/create-access-token.enums";
|
|
32545
|
+
import { CreateApikeyFnInput, CreateApikeyFnOptions, CreateApikeyFnOutput } from "wapi-client/fns/create-apikey/create-apikey.enums";
|
|
31932
32546
|
import { CreateContractFnInput, CreateContractFnOptions, CreateContractFnOutput } from "wapi-client/fns/create-contract/create-contract.enums";
|
|
31933
32547
|
import { CreateDepositFnInput, CreateDepositFnOptions, CreateDepositFnOutput } from "wapi-client/fns/create-deposit/create-deposit.enums";
|
|
31934
32548
|
import { CreateExchangeFnInput, CreateExchangeFnOptions, CreateExchangeFnOutput } from "wapi-client/fns/create-exchange/create-exchange.enums";
|
|
@@ -31944,6 +32558,7 @@ declare module "client.js" {
|
|
|
31944
32558
|
import { ExportTransferGroupsFnInput, ExportTransferGroupsFnOptions } from "wapi-client/fns/export-transfer-groups/export-transfer-groups.enums";
|
|
31945
32559
|
import { ExportTransfersFnInput, ExportTransfersFnOptions } from "wapi-client/fns/export-transfers/export-transfers.enums";
|
|
31946
32560
|
import { ExportWalletsFnInput, ExportWalletsFnOptions } from "wapi-client/fns/export-wallets/export-wallets.enums";
|
|
32561
|
+
import { FindApikeysFnInput, FindApikeysFnOptions } from "wapi-client/fns/find-apikeys/find-apikeys.enums";
|
|
31947
32562
|
import { FindBalancesFnInput, FindBalancesFnOptions } from "wapi-client/fns/find-balances/find-balances.enums";
|
|
31948
32563
|
import { FindTokensFnInput, FindTokensFnOptions } from "wapi-client/fns/find-tokens/find-tokens.enums";
|
|
31949
32564
|
import { FindTransferGroupsFnInput, FindTransferGroupsFnOptions } from "wapi-client/fns/find-transfer-groups/find-transfer-groups.enums";
|
|
@@ -31965,6 +32580,7 @@ declare module "client.js" {
|
|
|
31965
32580
|
import { ReverseTransfersFnInput, ReverseTransfersFnOptions } from "wapi-client/fns/reverse-transfers/reverse-transfers.enums";
|
|
31966
32581
|
import { SetFlagsFnInput, SetFlagsFnOptions, SetFlagsFnOutput } from "wapi-client/fns/set-flags/set-flags.enums";
|
|
31967
32582
|
import { UpdateTokenFnInput, UpdateTokenFnOptions, UpdateTokenFnOutput } from "wapi-client/fns/update-token/update-token.enums";
|
|
32583
|
+
import { UpdateApikeyFnInput, UpdateApikeyFnOptions, UpdateApikeyFnOutput } from "wapi-client/fns/update-apikey/update-apikey.enums";
|
|
31968
32584
|
import { UpdateTransferFnInput, UpdateTransferFnOptions, UpdateTransferFnOutput } from "wapi-client/fns/update-transfer/update-transfer.enums";
|
|
31969
32585
|
import { UpdateTransferGroupFnInput, UpdateTransferGroupFnOptions, UpdateTransferGroupFnOutput } from "wapi-client/fns/update-transfer-group/update-transfer-group.enums";
|
|
31970
32586
|
import { UpdateTransferGroupsFnInput, UpdateTransferGroupsFnOptions } from "wapi-client/fns/update-transfer-groups/update-transfer-groups.enums";
|
|
@@ -32457,6 +33073,37 @@ declare module "client.js" {
|
|
|
32457
33073
|
*
|
|
32458
33074
|
*/
|
|
32459
33075
|
createAccessToken(input?: CreateAccessTokenFnInput, options?: CreateAccessTokenFnOptions): StreamPromise<CreateAccessTokenFnOutput>;
|
|
33076
|
+
/**
|
|
33077
|
+
*
|
|
33078
|
+
* Create a new API key for accessing WAPI
|
|
33079
|
+
*
|
|
33080
|
+
*
|
|
33081
|
+
* ```javascript
|
|
33082
|
+
*
|
|
33083
|
+
* const response = await wapiClient.createApikey({
|
|
33084
|
+
* apikey: {
|
|
33085
|
+
* type: 'admin',
|
|
33086
|
+
* description: 'My admin API key',
|
|
33087
|
+
* validUntil: '2025-12-31T23:59:59Z',
|
|
33088
|
+
* metadata: {
|
|
33089
|
+
* purpose: 'backend-service',
|
|
33090
|
+
* },
|
|
33091
|
+
* },
|
|
33092
|
+
* });
|
|
33093
|
+
*
|
|
33094
|
+
* // Or create a limited API key with specific function access
|
|
33095
|
+
* const limitedResponse = await wapiClient.createApikey({
|
|
33096
|
+
* apikey: {
|
|
33097
|
+
* type: 'limited',
|
|
33098
|
+
* description: 'Read-only API key',
|
|
33099
|
+
* functions: ['getBalance', 'getWallet', 'findTransfers'],
|
|
33100
|
+
* },
|
|
33101
|
+
* });
|
|
33102
|
+
*
|
|
33103
|
+
* ```
|
|
33104
|
+
*
|
|
33105
|
+
*/
|
|
33106
|
+
createApikey(input: CreateApikeyFnInput, options?: CreateApikeyFnOptions): StreamPromise<CreateApikeyFnOutput>;
|
|
32460
33107
|
/**
|
|
32461
33108
|
*
|
|
32462
33109
|
* Create a contract like transferGroup
|
|
@@ -34199,6 +34846,137 @@ declare module "client.js" {
|
|
|
34199
34846
|
type?: "token" | "house" | "regular" | undefined;
|
|
34200
34847
|
status?: "active" | "disabled" | undefined;
|
|
34201
34848
|
}>, {}, true>;
|
|
34849
|
+
/**
|
|
34850
|
+
*
|
|
34851
|
+
* Search for API keys using either a simple filter or queryBuilder
|
|
34852
|
+
*
|
|
34853
|
+
*
|
|
34854
|
+
* ```javascript
|
|
34855
|
+
*
|
|
34856
|
+
* const result = await wapiClient
|
|
34857
|
+
* .findApikeys()
|
|
34858
|
+
* .where({
|
|
34859
|
+
* type: 'admin',
|
|
34860
|
+
* })
|
|
34861
|
+
* .orWhere({
|
|
34862
|
+
* status: 'active',
|
|
34863
|
+
* })
|
|
34864
|
+
* .limit(10)
|
|
34865
|
+
* .offset(0)
|
|
34866
|
+
* .orderBy('created_at', 'desc')
|
|
34867
|
+
* .options({
|
|
34868
|
+
* tracking_id: 'hello',
|
|
34869
|
+
* return_metadata_total: true,
|
|
34870
|
+
* });
|
|
34871
|
+
*
|
|
34872
|
+
* // Or with simple filter
|
|
34873
|
+
* const adminKeys = await wapiClient.findApikeys({
|
|
34874
|
+
* type: 'admin',
|
|
34875
|
+
* status: 'active',
|
|
34876
|
+
* });
|
|
34877
|
+
*
|
|
34878
|
+
* ```
|
|
34879
|
+
*
|
|
34880
|
+
*/
|
|
34881
|
+
findApikeys(input?: FindApikeysFnInput, options?: FindApikeysFnOptions): import("wapi-client").FindQueryBuilder<import("zod").ZodObject<{
|
|
34882
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
34883
|
+
limited: "limited";
|
|
34884
|
+
admin: "admin";
|
|
34885
|
+
root: "root";
|
|
34886
|
+
}>>;
|
|
34887
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
34888
|
+
active: "active";
|
|
34889
|
+
deleted: "deleted";
|
|
34890
|
+
}>>;
|
|
34891
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
34892
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
34893
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
34894
|
+
type: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
34895
|
+
limited: "limited";
|
|
34896
|
+
admin: "admin";
|
|
34897
|
+
root: "root";
|
|
34898
|
+
}>>>>;
|
|
34899
|
+
status: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
34900
|
+
active: "active";
|
|
34901
|
+
deleted: "deleted";
|
|
34902
|
+
}>>>>;
|
|
34903
|
+
metadata: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("wapi-client/db/consts").Metadata, unknown, import("zod/v4/core").$ZodTypeInternals<import("wapi-client/db/consts").Metadata, unknown>>>>>;
|
|
34904
|
+
description: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
34905
|
+
valid_until: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>>>>;
|
|
34906
|
+
updated_at: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>;
|
|
34907
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
34908
|
+
select: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
34909
|
+
type: "type";
|
|
34910
|
+
description: "description";
|
|
34911
|
+
id: "id";
|
|
34912
|
+
metadata: "metadata";
|
|
34913
|
+
apikey: "apikey";
|
|
34914
|
+
created_at: "created_at";
|
|
34915
|
+
updated_at: "updated_at";
|
|
34916
|
+
status: "status";
|
|
34917
|
+
scopes: "scopes";
|
|
34918
|
+
owner: "owner";
|
|
34919
|
+
valid_until: "valid_until";
|
|
34920
|
+
}>>>>;
|
|
34921
|
+
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
34922
|
+
type: "type";
|
|
34923
|
+
description: "description";
|
|
34924
|
+
id: "id";
|
|
34925
|
+
metadata: "metadata";
|
|
34926
|
+
apikey: "apikey";
|
|
34927
|
+
created_at: "created_at";
|
|
34928
|
+
updated_at: "updated_at";
|
|
34929
|
+
status: "status";
|
|
34930
|
+
scopes: "scopes";
|
|
34931
|
+
owner: "owner";
|
|
34932
|
+
valid_until: "valid_until";
|
|
34933
|
+
}>>>>;
|
|
34934
|
+
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
34935
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
34936
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
34937
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
34938
|
+
offset: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
34939
|
+
order_by: import("zod").ZodOptional<import("zod").ZodString>;
|
|
34940
|
+
order: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
34941
|
+
field: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
34942
|
+
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
34943
|
+
asc: "asc";
|
|
34944
|
+
desc: "desc";
|
|
34945
|
+
}>>>;
|
|
34946
|
+
nulls: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
34947
|
+
first: "first";
|
|
34948
|
+
last: "last";
|
|
34949
|
+
}>>;
|
|
34950
|
+
}, import("zod/v4/core").$strict>>>;
|
|
34951
|
+
}, import("zod/v4/core").$strip>, "apikeys", {
|
|
34952
|
+
id: number;
|
|
34953
|
+
apikey: string;
|
|
34954
|
+
owner: string;
|
|
34955
|
+
type: "limited" | "admin" | "root";
|
|
34956
|
+
description: string;
|
|
34957
|
+
metadata: import("wapi-client/db/consts").Metadata;
|
|
34958
|
+
status: "active" | "deleted";
|
|
34959
|
+
created_at: string;
|
|
34960
|
+
updated_at: string;
|
|
34961
|
+
scopes?: {
|
|
34962
|
+
functions: string[];
|
|
34963
|
+
} | null | undefined;
|
|
34964
|
+
valid_until?: string | null | undefined;
|
|
34965
|
+
}, import("wapi-client/lib/query-builder/find-query-builder").AllTrue<Omit<{
|
|
34966
|
+
id: number;
|
|
34967
|
+
apikey: string;
|
|
34968
|
+
owner: string;
|
|
34969
|
+
type: "limited" | "admin" | "root";
|
|
34970
|
+
description: string;
|
|
34971
|
+
metadata: import("wapi-client/db/consts").Metadata;
|
|
34972
|
+
status: "active" | "deleted";
|
|
34973
|
+
created_at: string;
|
|
34974
|
+
updated_at: string;
|
|
34975
|
+
scopes?: {
|
|
34976
|
+
functions: string[];
|
|
34977
|
+
} | null | undefined;
|
|
34978
|
+
valid_until?: string | null | undefined;
|
|
34979
|
+
}, "owner" | "system">>, {}, true>;
|
|
34202
34980
|
/**
|
|
34203
34981
|
*
|
|
34204
34982
|
* Search for Balances using either a simple filter or queryBuilder
|
|
@@ -36227,6 +37005,42 @@ declare module "client.js" {
|
|
|
36227
37005
|
*
|
|
36228
37006
|
*/
|
|
36229
37007
|
updateToken(input: UpdateTokenFnInput, options?: UpdateTokenFnOptions): StreamPromise<UpdateTokenFnOutput>;
|
|
37008
|
+
/**
|
|
37009
|
+
*
|
|
37010
|
+
* Update an API key
|
|
37011
|
+
*
|
|
37012
|
+
*
|
|
37013
|
+
* ```javascript
|
|
37014
|
+
*
|
|
37015
|
+
* const result = await wapiClient.updateApikey(
|
|
37016
|
+
* {
|
|
37017
|
+
* apikey: 'my-apikey-id',
|
|
37018
|
+
* metadata: {
|
|
37019
|
+
* updated: true,
|
|
37020
|
+
* },
|
|
37021
|
+
* },
|
|
37022
|
+
* {
|
|
37023
|
+
* return_when_not_updated: true,
|
|
37024
|
+
* tracking_id: 'mylogId',
|
|
37025
|
+
* },
|
|
37026
|
+
* );
|
|
37027
|
+
*
|
|
37028
|
+
* // Delete an API key
|
|
37029
|
+
* const deleteResult = await wapiClient.updateApikey({
|
|
37030
|
+
* apikey: 'my-apikey-id',
|
|
37031
|
+
* status: 'deleted',
|
|
37032
|
+
* });
|
|
37033
|
+
*
|
|
37034
|
+
* // Regenerate apisecret
|
|
37035
|
+
* const regenerateResult = await wapiClient.updateApikey({
|
|
37036
|
+
* apikey: 'my-apikey-id',
|
|
37037
|
+
* apisecret: true,
|
|
37038
|
+
* });
|
|
37039
|
+
*
|
|
37040
|
+
* ```
|
|
37041
|
+
*
|
|
37042
|
+
*/
|
|
37043
|
+
updateApikey(input: UpdateApikeyFnInput, options?: UpdateApikeyFnOptions): StreamPromise<UpdateApikeyFnOutput>;
|
|
36230
37044
|
/**
|
|
36231
37045
|
*
|
|
36232
37046
|
* Update a Transfer
|
|
@@ -36898,16 +37712,6 @@ declare module "wapi-client/db/wallet-token-setting/wallet-token-setting.enums"
|
|
|
36898
37712
|
import { walletTokenSettingTableSchema } from "wapi-client/db/wallet-token-setting/wallet-token-setting.schema.zod";
|
|
36899
37713
|
export type WalletTokenSettingTable = z.infer<typeof walletTokenSettingTableSchema>;
|
|
36900
37714
|
}
|
|
36901
|
-
declare module "wapi-client/db/wapi-apikey/wapi-apikey.enums" {
|
|
36902
|
-
/**
|
|
36903
|
-
* This file is generated on build
|
|
36904
|
-
*/
|
|
36905
|
-
import { z } from "wapi-client/lib/zod";
|
|
36906
|
-
import { wapiApikeyTableSchema, wapiApikeyTableStatusSchema, wapiApikeyTableTypeSchema } from "wapi-client/db/wapi-apikey/wapi-apikey.schema.zod";
|
|
36907
|
-
export type WapiApikeyTable = z.infer<typeof wapiApikeyTableSchema>;
|
|
36908
|
-
export type WapiApikeyTableStatus = z.infer<typeof wapiApikeyTableStatusSchema>;
|
|
36909
|
-
export type WapiApikeyTableType = z.infer<typeof wapiApikeyTableTypeSchema>;
|
|
36910
|
-
}
|
|
36911
37715
|
declare module "wapi-client/db/wapi-setting/wapi-setting.schema.zod" {
|
|
36912
37716
|
import { z } from 'zod';
|
|
36913
37717
|
export const wapiSettingTableTypeSchema: z.ZodEnum<{
|
|
@@ -37009,6 +37813,7 @@ declare module "wapi-client/db/index" {
|
|
|
37009
37813
|
declare module "wapi-client/fns/fn-types" {
|
|
37010
37814
|
export * from "wapi-client/fns/aggregate-transfers/aggregate-transfers.enums";
|
|
37011
37815
|
export * from "wapi-client/fns/create-access-token/create-access-token.enums";
|
|
37816
|
+
export * from "wapi-client/fns/create-apikey/create-apikey.enums";
|
|
37012
37817
|
export * from "wapi-client/fns/create-contract/create-contract.enums";
|
|
37013
37818
|
export * from "wapi-client/fns/create-deposit/create-deposit.enums";
|
|
37014
37819
|
export * from "wapi-client/fns/create-exchange/create-exchange.enums";
|
|
@@ -37044,6 +37849,7 @@ declare module "wapi-client/fns/fn-types" {
|
|
|
37044
37849
|
export * from "wapi-client/fns/reverse-transfer-group/reverse-transfer-group.enums";
|
|
37045
37850
|
export * from "wapi-client/fns/reverse-transfers/reverse-transfers.enums";
|
|
37046
37851
|
export * from "wapi-client/fns/set-flags/set-flags.enums";
|
|
37852
|
+
export * from "wapi-client/fns/update-apikey/update-apikey.enums";
|
|
37047
37853
|
export * from "wapi-client/fns/update-token/update-token.enums";
|
|
37048
37854
|
export * from "wapi-client/fns/update-transfer/update-transfer.enums";
|
|
37049
37855
|
export * from "wapi-client/fns/update-transfer-group/update-transfer-group.enums";
|
|
@@ -37226,6 +38032,9 @@ declare module "wapi-client" {
|
|
|
37226
38032
|
TRANSACTION_NOT_FOUND: "TRANSACTION_NOT_FOUND";
|
|
37227
38033
|
ONLY_SELECT_ALLOWED: "ONLY_SELECT_ALLOWED";
|
|
37228
38034
|
CNT_DEPOSIT_TOKEN_MISMATCH: "CNT_DEPOSIT_TOKEN_MISMATCH";
|
|
38035
|
+
ADMIN_KEY_REQUIRED: "ADMIN_KEY_REQUIRED";
|
|
38036
|
+
CANT_EXCEED_CURRENT_SCOPES: "CANT_EXCEED_CURRENT_SCOPES";
|
|
38037
|
+
CANT_EXCEED_CURRENT_TIMEFRAME: "CANT_EXCEED_CURRENT_TIMEFRAME";
|
|
37229
38038
|
CONNECTION_LOST: "CONNECTION_LOST";
|
|
37230
38039
|
INPUT_STREAM_INVALID: "INPUT_STREAM_INVALID";
|
|
37231
38040
|
INVALID_RESPONSE_STREAM_CHUNK: "INVALID_RESPONSE_STREAM_CHUNK";
|
|
@@ -37330,6 +38139,9 @@ declare module "wapi-client" {
|
|
|
37330
38139
|
TRANSACTION_NOT_FOUND: import("wapi-client/lib/errors").ErrorSpec;
|
|
37331
38140
|
ONLY_SELECT_ALLOWED: import("wapi-client/lib/errors").ErrorSpec;
|
|
37332
38141
|
CNT_DEPOSIT_TOKEN_MISMATCH: import("wapi-client/lib/errors").ErrorSpec;
|
|
38142
|
+
ADMIN_KEY_REQUIRED: import("wapi-client/lib/errors").ErrorSpec;
|
|
38143
|
+
CANT_EXCEED_CURRENT_SCOPES: import("wapi-client/lib/errors").ErrorSpec;
|
|
38144
|
+
CANT_EXCEED_CURRENT_TIMEFRAME: import("wapi-client/lib/errors").ErrorSpec;
|
|
37333
38145
|
CONNECTION_LOST: import("wapi-client/lib/errors").ErrorSpec;
|
|
37334
38146
|
INPUT_STREAM_INVALID: import("wapi-client/lib/errors").ErrorSpec;
|
|
37335
38147
|
INVALID_RESPONSE_STREAM_CHUNK: import("wapi-client/lib/errors").ErrorSpec;
|