wapi-client 0.12.5-beta.3 → 0.12.5-beta.4
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.d.ts +15 -15
- package/dist/db/index.browser.cjs +10 -0
- package/dist/db/index.browser.js +10 -0
- package/dist/db/index.cjs +15 -0
- package/dist/db/index.d.ts +10 -10
- package/dist/db/index.js +10 -0
- package/dist/fns/aggregate-transfers/aggregate-transfers.d.ts +3 -3
- package/dist/fns/aggregate-transfers/aggregate-transfers.schema.zod.d.ts +9 -9
- package/dist/fns/create-contract/create-contract.schema.zod.d.ts +10 -10
- package/dist/fns/create-exchange/create-exchange.schema.zod.d.ts +6 -6
- package/dist/fns/create-transfer-group/create-transfer-group.schema.zod.d.ts +6 -6
- package/dist/fns/reverse-transfers/reverse-transfers.d.ts +2 -2
- package/dist/fns/reverse-transfers/reverse-transfers.schema.zod.d.ts +6 -6
- package/dist/fns/update-transfer-groups/update-transfer-groups.d.ts +5 -5
- package/dist/fns/update-transfer-groups/update-transfer-groups.schema.zod.d.ts +15 -15
- package/dist/fns/update-transfers/update-transfers.d.ts +3 -3
- package/dist/fns/update-transfers/update-transfers.schema.zod.d.ts +9 -9
- 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/query-builder/aggregate-query-builder.d.ts +6 -6
- package/dist/lib/query-builder/find-query-builder.d.ts +9 -12
- package/dist/lib/query-builder/query-builder.d.ts +6 -6
- package/dist/lib/query-builder/reverse-query-builder.d.ts +6 -6
- package/dist/lib/query-builder/update-query-builder.d.ts +6 -6
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.browser.cjs +1 -1
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.browser.js +1 -1
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.cjs +1 -1
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.d.ts +9 -9
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.js +1 -1
- package/dist/txs/create-contract/create-contract.schema.zod.d.ts +10 -10
- package/dist/txs/create-transfer-group/create-transfer-group.schema.zod.browser.cjs +0 -2
- package/dist/txs/create-transfer-group/create-transfer-group.schema.zod.browser.js +0 -2
- package/dist/txs/create-transfer-group/create-transfer-group.schema.zod.cjs +0 -2
- package/dist/txs/create-transfer-group/create-transfer-group.schema.zod.d.ts +6 -6
- package/dist/txs/create-transfer-group/create-transfer-group.schema.zod.js +0 -2
- package/dist/txs/reverse-transfer-group-many/reverse-transfer-group-many.schema.zod.browser.cjs +1 -1
- package/dist/txs/reverse-transfer-group-many/reverse-transfer-group-many.schema.zod.browser.js +1 -1
- package/dist/txs/reverse-transfer-group-many/reverse-transfer-group-many.schema.zod.cjs +1 -1
- package/dist/txs/reverse-transfer-group-many/reverse-transfer-group-many.schema.zod.d.ts +12 -12
- package/dist/txs/reverse-transfer-group-many/reverse-transfer-group-many.schema.zod.js +1 -1
- package/dist/txs/reverse-transfer-many/reverse-transfer-many.schema.zod.browser.cjs +1 -1
- package/dist/txs/reverse-transfer-many/reverse-transfer-many.schema.zod.browser.js +1 -1
- package/dist/txs/reverse-transfer-many/reverse-transfer-many.schema.zod.cjs +1 -1
- package/dist/txs/reverse-transfer-many/reverse-transfer-many.schema.zod.d.ts +6 -6
- package/dist/txs/reverse-transfer-many/reverse-transfer-many.schema.zod.js +1 -1
- package/dist/txs/update-transfer-group-many/update-transfer-group-many.schema.zod.browser.cjs +1 -1
- package/dist/txs/update-transfer-group-many/update-transfer-group-many.schema.zod.browser.js +1 -1
- package/dist/txs/update-transfer-group-many/update-transfer-group-many.schema.zod.cjs +1 -1
- package/dist/txs/update-transfer-group-many/update-transfer-group-many.schema.zod.d.ts +15 -15
- package/dist/txs/update-transfer-group-many/update-transfer-group-many.schema.zod.js +1 -1
- package/dist/txs/update-transfer-many/update-transfer-many.schema.zod.browser.cjs +1 -1
- package/dist/txs/update-transfer-many/update-transfer-many.schema.zod.browser.js +1 -1
- package/dist/txs/update-transfer-many/update-transfer-many.schema.zod.cjs +1 -1
- package/dist/txs/update-transfer-many/update-transfer-many.schema.zod.d.ts +9 -9
- package/dist/txs/update-transfer-many/update-transfer-many.schema.zod.js +1 -1
- package/dist/types/wapi-client.d.ts +209 -212
- package/dist/wapi-client-web.iife.js +2 -2
- package/dist/wapi-client.iife.js +2 -2
- package/package.json +1 -1
|
@@ -233,7 +233,7 @@ export declare const updateTransferGroupsFnInputSchema: z.ZodObject<z.objectUtil
|
|
|
233
233
|
reverses?: string | number | undefined;
|
|
234
234
|
}>;
|
|
235
235
|
export declare const updateTransferGroupsFnOutputSchema: z.ZodObject<{
|
|
236
|
-
transfer_groups: z.
|
|
236
|
+
transfer_groups: z.ZodArray<z.ZodObject<{
|
|
237
237
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<["regular", "exchange", "distribution"]>>>;
|
|
238
238
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["open", "closed"]>>>;
|
|
239
239
|
identifier: z.ZodOptional<z.ZodString>;
|
|
@@ -278,8 +278,8 @@ export declare const updateTransferGroupsFnOutputSchema: z.ZodObject<{
|
|
|
278
278
|
validate_final_balance_only?: boolean | null | undefined;
|
|
279
279
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
280
280
|
reverses_identifier?: string | null | undefined;
|
|
281
|
-
}>, "many"
|
|
282
|
-
transfers: z.
|
|
281
|
+
}>, "many">;
|
|
282
|
+
transfers: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
283
283
|
id: z.ZodNumber;
|
|
284
284
|
identifier: z.ZodString;
|
|
285
285
|
control_hash: z.ZodNullable<z.ZodString>;
|
|
@@ -352,10 +352,10 @@ export declare const updateTransferGroupsFnOutputSchema: z.ZodObject<{
|
|
|
352
352
|
reverses_id?: number | null | undefined;
|
|
353
353
|
status_finalized_at?: string | null | undefined;
|
|
354
354
|
group_validate?: boolean | null | undefined;
|
|
355
|
-
}>, "many"
|
|
356
|
-
updated: z.
|
|
355
|
+
}>, "many">;
|
|
356
|
+
updated: z.ZodBoolean;
|
|
357
357
|
}, "strip", z.ZodTypeAny, {
|
|
358
|
-
transfers
|
|
358
|
+
transfers: {
|
|
359
359
|
type: "transfer" | "deposit" | "withdrawal";
|
|
360
360
|
status: "pending" | "finished" | "cancelled";
|
|
361
361
|
identifier: string;
|
|
@@ -379,8 +379,8 @@ export declare const updateTransferGroupsFnOutputSchema: z.ZodObject<{
|
|
|
379
379
|
reverses_id?: number | null | undefined;
|
|
380
380
|
status_finalized_at?: string | null | undefined;
|
|
381
381
|
group_validate?: boolean | null | undefined;
|
|
382
|
-
}[]
|
|
383
|
-
transfer_groups
|
|
382
|
+
}[];
|
|
383
|
+
transfer_groups: {
|
|
384
384
|
id: number;
|
|
385
385
|
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
386
386
|
status?: "open" | "closed" | undefined;
|
|
@@ -395,10 +395,10 @@ export declare const updateTransferGroupsFnOutputSchema: z.ZodObject<{
|
|
|
395
395
|
validate_final_balance_only?: boolean | null | undefined;
|
|
396
396
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
397
397
|
reverses_identifier?: string | null | undefined;
|
|
398
|
-
}[]
|
|
399
|
-
updated
|
|
398
|
+
}[];
|
|
399
|
+
updated: boolean;
|
|
400
400
|
}, {
|
|
401
|
-
transfers
|
|
401
|
+
transfers: {
|
|
402
402
|
identifier: string;
|
|
403
403
|
id: number;
|
|
404
404
|
created_at: string;
|
|
@@ -422,8 +422,8 @@ export declare const updateTransferGroupsFnOutputSchema: z.ZodObject<{
|
|
|
422
422
|
reverses_id?: number | null | undefined;
|
|
423
423
|
status_finalized_at?: string | null | undefined;
|
|
424
424
|
group_validate?: boolean | null | undefined;
|
|
425
|
-
}[]
|
|
426
|
-
transfer_groups
|
|
425
|
+
}[];
|
|
426
|
+
transfer_groups: {
|
|
427
427
|
id: number;
|
|
428
428
|
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
429
429
|
status?: "open" | "closed" | undefined;
|
|
@@ -438,8 +438,8 @@ export declare const updateTransferGroupsFnOutputSchema: z.ZodObject<{
|
|
|
438
438
|
validate_final_balance_only?: boolean | null | undefined;
|
|
439
439
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
440
440
|
reverses_identifier?: string | null | undefined;
|
|
441
|
-
}[]
|
|
442
|
-
updated
|
|
441
|
+
}[];
|
|
442
|
+
updated: boolean;
|
|
443
443
|
}>;
|
|
444
444
|
export declare const config: {
|
|
445
445
|
updateQueryBuilder: boolean;
|
|
@@ -310,7 +310,7 @@ export declare function updateTransfers(options: ClientFunctionOptions, input?:
|
|
|
310
310
|
transaction_id?: string | undefined;
|
|
311
311
|
metadata_action?: "replace" | "extend" | undefined;
|
|
312
312
|
}>, import("zod").ZodTypeAny, {
|
|
313
|
-
transfers
|
|
313
|
+
transfers: {
|
|
314
314
|
type: "transfer" | "deposit" | "withdrawal";
|
|
315
315
|
status: "pending" | "finished" | "cancelled";
|
|
316
316
|
identifier: string;
|
|
@@ -334,6 +334,6 @@ export declare function updateTransfers(options: ClientFunctionOptions, input?:
|
|
|
334
334
|
reverses_id?: number | null | undefined;
|
|
335
335
|
status_finalized_at?: string | null | undefined;
|
|
336
336
|
group_validate?: boolean | null | undefined;
|
|
337
|
-
}[]
|
|
338
|
-
updated
|
|
337
|
+
}[];
|
|
338
|
+
updated: boolean;
|
|
339
339
|
}>;
|
|
@@ -286,7 +286,7 @@ export declare const updateTransfersFnInputSchema: z.ZodObject<z.objectUtil.exte
|
|
|
286
286
|
to_wallet?: string | number | undefined;
|
|
287
287
|
}>;
|
|
288
288
|
export declare const updateTransfersFnOutputSchema: z.ZodObject<{
|
|
289
|
-
transfers: z.
|
|
289
|
+
transfers: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
290
290
|
id: z.ZodNumber;
|
|
291
291
|
identifier: z.ZodString;
|
|
292
292
|
control_hash: z.ZodNullable<z.ZodString>;
|
|
@@ -359,10 +359,10 @@ export declare const updateTransfersFnOutputSchema: z.ZodObject<{
|
|
|
359
359
|
reverses_id?: number | null | undefined;
|
|
360
360
|
status_finalized_at?: string | null | undefined;
|
|
361
361
|
group_validate?: boolean | null | undefined;
|
|
362
|
-
}>, "many"
|
|
363
|
-
updated: z.
|
|
362
|
+
}>, "many">;
|
|
363
|
+
updated: z.ZodBoolean;
|
|
364
364
|
}, "strip", z.ZodTypeAny, {
|
|
365
|
-
transfers
|
|
365
|
+
transfers: {
|
|
366
366
|
type: "transfer" | "deposit" | "withdrawal";
|
|
367
367
|
status: "pending" | "finished" | "cancelled";
|
|
368
368
|
identifier: string;
|
|
@@ -386,10 +386,10 @@ export declare const updateTransfersFnOutputSchema: z.ZodObject<{
|
|
|
386
386
|
reverses_id?: number | null | undefined;
|
|
387
387
|
status_finalized_at?: string | null | undefined;
|
|
388
388
|
group_validate?: boolean | null | undefined;
|
|
389
|
-
}[]
|
|
390
|
-
updated
|
|
389
|
+
}[];
|
|
390
|
+
updated: boolean;
|
|
391
391
|
}, {
|
|
392
|
-
transfers
|
|
392
|
+
transfers: {
|
|
393
393
|
identifier: string;
|
|
394
394
|
id: number;
|
|
395
395
|
created_at: string;
|
|
@@ -413,8 +413,8 @@ export declare const updateTransfersFnOutputSchema: z.ZodObject<{
|
|
|
413
413
|
reverses_id?: number | null | undefined;
|
|
414
414
|
status_finalized_at?: string | null | undefined;
|
|
415
415
|
group_validate?: boolean | null | undefined;
|
|
416
|
-
}[]
|
|
417
|
-
updated
|
|
416
|
+
}[];
|
|
417
|
+
updated: boolean;
|
|
418
418
|
}>;
|
|
419
419
|
export declare const config: {
|
|
420
420
|
updateQueryBuilder: boolean;
|
package/dist/lib/env.browser.cjs
CHANGED
|
@@ -24,7 +24,7 @@ __export(env_exports, {
|
|
|
24
24
|
getEnvConfig: () => getEnvConfig
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(env_exports);
|
|
27
|
-
var CLIENT_VERSION = "0.12.5-beta.
|
|
27
|
+
var CLIENT_VERSION = "0.12.5-beta.4";
|
|
28
28
|
function getEnvConfig(key, defaultValue) {
|
|
29
29
|
const val = getVariable(key);
|
|
30
30
|
if (val === void 0) {
|
package/dist/lib/env.browser.js
CHANGED
package/dist/lib/env.cjs
CHANGED
|
@@ -24,7 +24,7 @@ __export(env_exports, {
|
|
|
24
24
|
getEnvConfig: () => getEnvConfig
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(env_exports);
|
|
27
|
-
var CLIENT_VERSION = "0.12.5-beta.
|
|
27
|
+
var CLIENT_VERSION = "0.12.5-beta.4";
|
|
28
28
|
function getEnvConfig(key, defaultValue) {
|
|
29
29
|
const val = getVariable(key);
|
|
30
30
|
if (val === void 0) {
|
package/dist/lib/env.js
CHANGED
|
@@ -91,12 +91,12 @@ export declare class AggregateQueryBuilder<SearchableBasic extends Zod.AnyZodObj
|
|
|
91
91
|
orWhere(field: InnerWhereBuilder<SearchableBasic, Searchable>): ReturnType<typeof this.add>;
|
|
92
92
|
orWhere<F extends keyof RemoveMetadata<Zod.input<Searchable>>, V extends Zod.input<Merge<SearchableBasic, Searchable>>[F]>(field: F, operator: V): ReturnType<typeof this.add>;
|
|
93
93
|
orWhere<F extends keyof RemoveMetadata<Zod.input<Searchable>>, V extends Zod.input<Merge<SearchableBasic, Searchable>>[F]>(field: F, operator: OperatorType<V>, value: V): ReturnType<typeof this.add>;
|
|
94
|
-
whereIn<F extends keyof SearchableInObject<Zod.input<Searchable
|
|
95
|
-
orWhereIn<F extends keyof SearchableInObject<Zod.input<Searchable
|
|
96
|
-
whereNull<F extends keyof SearchableNullObject<Searchable
|
|
97
|
-
orWhereNull<F extends keyof SearchableNullObject<Zod.input<Searchable
|
|
98
|
-
whereNotNull<F extends keyof SearchableNullObject<Zod.input<Searchable
|
|
99
|
-
orWhereNotNull<F extends keyof SearchableNullObject<Zod.input<Searchable
|
|
94
|
+
whereIn<F extends keyof SearchableInObject<Required<Zod.input<Searchable>>>, V extends SearchableInObject<Required<Zod.input<Searchable>>>[F]>(field: F, value: V): ReturnType<typeof this.add>;
|
|
95
|
+
orWhereIn<F extends keyof SearchableInObject<Required<Zod.input<Searchable>>>, V extends SearchableInObject<Required<Zod.input<Searchable>>>[F]>(field: F, value: V): ReturnType<typeof this.add>;
|
|
96
|
+
whereNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
97
|
+
orWhereNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
98
|
+
whereNotNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
99
|
+
orWhereNotNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
100
100
|
whereMetadata(field: string, value: DbFilterAllowedValue): ReturnType<typeof this.add>;
|
|
101
101
|
whereMetadata(field: string, operator: DbFilterOperatorEquals, value: boolean): ReturnType<typeof this.add>;
|
|
102
102
|
whereMetadata(field: string, operator: DbFilterOperatorForNumbers, value: number): ReturnType<typeof this.add>;
|
|
@@ -14,17 +14,14 @@ type SelectMap<T> = {
|
|
|
14
14
|
export type AllTrue<T> = {
|
|
15
15
|
[K in keyof T]: true;
|
|
16
16
|
};
|
|
17
|
-
type DeSelectFields<ResultFields, DeSelectedFields extends ResultSelect<ResultFields>> = {
|
|
18
|
-
[k in keyof ResultFields as DeSelectedFields[k] extends true ? never : k]: true;
|
|
19
|
-
};
|
|
20
17
|
type SearchResultType<K extends string | object, V> = K extends string ? {
|
|
21
18
|
[key in K]: V[];
|
|
22
19
|
} & {
|
|
23
20
|
metadata: ITxFindMetadata;
|
|
24
21
|
} : K;
|
|
25
|
-
type FinalSearchItem<ResItem, SelectedFields extends ResultSelect<ResItem>, DeSelectedFields extends ResultSelect<ResItem>> = SelectedSearchItem<ResItem
|
|
22
|
+
type FinalSearchItem<ResItem, SelectedFields extends ResultSelect<ResItem>, DeSelectedFields extends ResultSelect<ResItem>> = SelectedSearchItem<Required<ResItem>, Omit<Required<SelectedFields>, keyof DeSelectedFields> & Required<ResultSelect<ResItem>>>;
|
|
26
23
|
type SelectedSearchItem<ResItem, SelectedFields extends ResultSelect<ResItem>> = {
|
|
27
|
-
[k in keyof ResItem as SelectedFields[k] extends true ? k : never]
|
|
24
|
+
[k in keyof ResItem as SelectedFields[k] extends true ? k : never]-?: ResItem[k];
|
|
28
25
|
};
|
|
29
26
|
export type BuiltFindQuery = InnerBuiltQuery & {
|
|
30
27
|
options: StringKeyObject;
|
|
@@ -56,7 +53,7 @@ export declare class FindQueryBuilder<SearchableBasic extends Zod.AnyZodObject,
|
|
|
56
53
|
toJSON(): BuiltFindQuery;
|
|
57
54
|
then<TResult1 = SearchResultType<ResultKey, FinalSearchItem<ResultFields, SelectedFields, DeSelectedFields>>, TResult2 = never>(onfulfilled?: (value: SearchResultType<ResultKey, FinalSearchItem<ResultFields, SelectedFields, DeSelectedFields>>) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: Error) => TResult2 | PromiseLike<TResult2>): Promise<TResult1 | TResult2>;
|
|
58
55
|
catch<TResult2 = never>(onerror: (reason: Error) => TResult2 | PromiseLike<TResult2>): Promise<SearchResultType<ResultKey, FinalSearchItem<ResultFields, SelectedFields, DeSelectedFields>> | TResult2>;
|
|
59
|
-
finally(fn: () => void): Promise<SearchResultType<ResultKey, SelectedSearchItem<ResultFields
|
|
56
|
+
finally(fn: () => void): Promise<SearchResultType<ResultKey, SelectedSearchItem<Required<ResultFields>, Omit<Required<SelectedFields>, keyof DeSelectedFields> & Required<ResultSelect<ResultFields>>>>>;
|
|
60
57
|
stream(): ReadStream;
|
|
61
58
|
select<First extends keyof ResultFields, Selected extends Exclude<keyof ResultFields, First> | undefined = undefined>(first: First, ...select: ReadonlyArray<Selected>): FindQueryBuilder<SearchableBasic, Searchable, Options, ResultKey, ResultFields, IsBaseSelect extends true ? SelectMap<First | Selected> : SelectedFields & SelectMap<First | Selected>, {}, false>;
|
|
62
59
|
deselect<First extends keyof ResultFields, Deselected extends Exclude<keyof ResultFields, First> | undefined = undefined>(first: First, ...deselect: ReadonlyArray<Deselected>): FindQueryBuilder<SearchableBasic, Searchable, Options, ResultKey, ResultFields, AllTrue<ResultFields>, DeSelectedFields & SelectMap<First | Deselected>, true>;
|
|
@@ -73,12 +70,12 @@ export declare class FindQueryBuilder<SearchableBasic extends Zod.AnyZodObject,
|
|
|
73
70
|
orWhere(field: InnerWhereBuilder<SearchableBasic, Searchable>): ReturnType<typeof this.add>;
|
|
74
71
|
orWhere<F extends keyof RemoveMetadata<Zod.input<Searchable>>, V extends Zod.input<Merge<SearchableBasic, Searchable>>[F]>(field: F, operator: V): ReturnType<typeof this.add>;
|
|
75
72
|
orWhere<F extends keyof RemoveMetadata<Zod.input<Searchable>>, V extends Zod.input<Merge<SearchableBasic, Searchable>>[F]>(field: F, operator: OperatorType<V>, value: V): ReturnType<typeof this.add>;
|
|
76
|
-
whereIn<F extends keyof SearchableInObject<Zod.input<Searchable
|
|
77
|
-
orWhereIn<F extends keyof SearchableInObject<Zod.input<Searchable
|
|
78
|
-
whereNull<F extends keyof SearchableNullObject<Searchable
|
|
79
|
-
orWhereNull<F extends keyof SearchableNullObject<Zod.input<Searchable
|
|
80
|
-
whereNotNull<F extends keyof SearchableNullObject<Zod.input<Searchable
|
|
81
|
-
orWhereNotNull<F extends keyof SearchableNullObject<Zod.input<Searchable
|
|
73
|
+
whereIn<F extends keyof SearchableInObject<Required<Zod.input<Searchable>>>, V extends SearchableInObject<Required<Zod.input<Searchable>>>[F]>(field: F, value: V): ReturnType<typeof this.add>;
|
|
74
|
+
orWhereIn<F extends keyof SearchableInObject<Required<Zod.input<Searchable>>>, V extends SearchableInObject<Required<Zod.input<Searchable>>>[F]>(field: F, value: V): ReturnType<typeof this.add>;
|
|
75
|
+
whereNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
76
|
+
orWhereNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
77
|
+
whereNotNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
78
|
+
orWhereNotNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
82
79
|
whereMetadata(field: string, value: DbFilterAllowedValue): ReturnType<typeof this.add>;
|
|
83
80
|
whereMetadata(field: string, operator: DbFilterOperatorEquals, value: boolean): ReturnType<typeof this.add>;
|
|
84
81
|
whereMetadata(field: string, operator: DbFilterOperatorForNumbers, value: number): ReturnType<typeof this.add>;
|
|
@@ -56,12 +56,12 @@ export declare class QueryBuilder<SearchableBasic extends Zod.AnyZodObject, Sear
|
|
|
56
56
|
orWhere(field: InnerWhereBuilder<SearchableBasic, Searchable>): ReturnType<typeof this.add>;
|
|
57
57
|
orWhere<F extends keyof RemoveMetadata<Zod.input<Searchable>>, V extends Zod.input<Merge<SearchableBasic, Searchable>>[F]>(field: F, operator: V): ReturnType<typeof this.add>;
|
|
58
58
|
orWhere<F extends keyof RemoveMetadata<Zod.input<Searchable>>, V extends Zod.input<Merge<SearchableBasic, Searchable>>[F]>(field: F, operator: OperatorType<V>, value: V): ReturnType<typeof this.add>;
|
|
59
|
-
whereIn<F extends keyof SearchableInObject<Zod.input<Searchable
|
|
60
|
-
orWhereIn<F extends keyof SearchableInObject<Zod.input<Searchable
|
|
61
|
-
whereNull<F extends keyof SearchableNullObject<Searchable
|
|
62
|
-
orWhereNull<F extends keyof SearchableNullObject<Zod.input<Searchable
|
|
63
|
-
whereNotNull<F extends keyof SearchableNullObject<Zod.input<Searchable
|
|
64
|
-
orWhereNotNull<F extends keyof SearchableNullObject<Zod.input<Searchable
|
|
59
|
+
whereIn<F extends keyof SearchableInObject<Required<Zod.input<Searchable>>>, V extends SearchableInObject<Required<Zod.input<Searchable>>>[F]>(field: F, value: V): ReturnType<typeof this.add>;
|
|
60
|
+
orWhereIn<F extends keyof SearchableInObject<Required<Zod.input<Searchable>>>, V extends SearchableInObject<Required<Zod.input<Searchable>>>[F]>(field: F, value: V): ReturnType<typeof this.add>;
|
|
61
|
+
whereNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
62
|
+
orWhereNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
63
|
+
whereNotNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
64
|
+
orWhereNotNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
65
65
|
whereMetadata(field: string, value: DbFilterAllowedValue): ReturnType<typeof this.add>;
|
|
66
66
|
whereMetadata(field: string, operator: DbFilterOperatorEquals, value: boolean): ReturnType<typeof this.add>;
|
|
67
67
|
whereMetadata(field: string, operator: DbFilterOperatorForNumbers, value: number): ReturnType<typeof this.add>;
|
|
@@ -42,12 +42,12 @@ export declare class ReverseQueryBuilder<SearchableBasic extends Zod.AnyZodObjec
|
|
|
42
42
|
orWhere(field: InnerWhereBuilder<SearchableBasic, Searchable>): ReturnType<typeof this.add>;
|
|
43
43
|
orWhere<F extends keyof RemoveMetadata<Zod.input<Searchable>>, V extends Zod.input<Merge<SearchableBasic, Searchable>>[F]>(field: F, operator: V): ReturnType<typeof this.add>;
|
|
44
44
|
orWhere<F extends keyof RemoveMetadata<Zod.input<Searchable>>, V extends Zod.input<Merge<SearchableBasic, Searchable>>[F]>(field: F, operator: OperatorType<V>, value: V): ReturnType<typeof this.add>;
|
|
45
|
-
whereIn<F extends keyof SearchableInObject<Zod.input<Searchable
|
|
46
|
-
orWhereIn<F extends keyof SearchableInObject<Zod.input<Searchable
|
|
47
|
-
whereNull<F extends keyof SearchableNullObject<Searchable
|
|
48
|
-
orWhereNull<F extends keyof SearchableNullObject<Zod.input<Searchable
|
|
49
|
-
whereNotNull<F extends keyof SearchableNullObject<Zod.input<Searchable
|
|
50
|
-
orWhereNotNull<F extends keyof SearchableNullObject<Zod.input<Searchable
|
|
45
|
+
whereIn<F extends keyof SearchableInObject<Required<Zod.input<Searchable>>>, V extends SearchableInObject<Required<Zod.input<Searchable>>>[F]>(field: F, value: V): ReturnType<typeof this.add>;
|
|
46
|
+
orWhereIn<F extends keyof SearchableInObject<Required<Zod.input<Searchable>>>, V extends SearchableInObject<Required<Zod.input<Searchable>>>[F]>(field: F, value: V): ReturnType<typeof this.add>;
|
|
47
|
+
whereNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
48
|
+
orWhereNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
49
|
+
whereNotNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
50
|
+
orWhereNotNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
51
51
|
whereMetadata(field: string, value: DbFilterAllowedValue): ReturnType<typeof this.add>;
|
|
52
52
|
whereMetadata(field: string, operator: DbFilterOperatorEquals, value: boolean): ReturnType<typeof this.add>;
|
|
53
53
|
whereMetadata(field: string, operator: DbFilterOperatorForNumbers, value: number): ReturnType<typeof this.add>;
|
|
@@ -42,12 +42,12 @@ export declare class UpdateQueryBuilder<SearchableBasic extends Zod.AnyZodObject
|
|
|
42
42
|
orWhere(field: InnerWhereBuilder<SearchableBasic, Searchable>): ReturnType<typeof this.add>;
|
|
43
43
|
orWhere<F extends keyof RemoveMetadata<Zod.input<Searchable>>, V extends Zod.input<Merge<SearchableBasic, Searchable>>[F]>(field: F, operator: V): ReturnType<typeof this.add>;
|
|
44
44
|
orWhere<F extends keyof RemoveMetadata<Zod.input<Searchable>>, V extends Zod.input<Merge<SearchableBasic, Searchable>>[F]>(field: F, operator: OperatorType<V>, value: V): ReturnType<typeof this.add>;
|
|
45
|
-
whereIn<F extends keyof SearchableInObject<Zod.input<Searchable
|
|
46
|
-
orWhereIn<F extends keyof SearchableInObject<Zod.input<Searchable
|
|
47
|
-
whereNull<F extends keyof SearchableNullObject<Searchable
|
|
48
|
-
orWhereNull<F extends keyof SearchableNullObject<Zod.input<Searchable
|
|
49
|
-
whereNotNull<F extends keyof SearchableNullObject<Zod.input<Searchable
|
|
50
|
-
orWhereNotNull<F extends keyof SearchableNullObject<Zod.input<Searchable
|
|
45
|
+
whereIn<F extends keyof SearchableInObject<Required<Zod.input<Searchable>>>, V extends SearchableInObject<Required<Zod.input<Searchable>>>[F]>(field: F, value: V): ReturnType<typeof this.add>;
|
|
46
|
+
orWhereIn<F extends keyof SearchableInObject<Required<Zod.input<Searchable>>>, V extends SearchableInObject<Required<Zod.input<Searchable>>>[F]>(field: F, value: V): ReturnType<typeof this.add>;
|
|
47
|
+
whereNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
48
|
+
orWhereNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
49
|
+
whereNotNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
50
|
+
orWhereNotNull<F extends keyof SearchableNullObject<Required<Zod.input<Searchable>>>>(field: F): ReturnType<typeof this.add>;
|
|
51
51
|
whereMetadata(field: string, value: DbFilterAllowedValue): ReturnType<typeof this.add>;
|
|
52
52
|
whereMetadata(field: string, operator: DbFilterOperatorEquals, value: boolean): ReturnType<typeof this.add>;
|
|
53
53
|
whereMetadata(field: string, operator: DbFilterOperatorForNumbers, value: number): ReturnType<typeof this.add>;
|
|
@@ -4080,4 +4080,4 @@ var aggregateTransferManyTxInputSchema = z.object({
|
|
|
4080
4080
|
var aggregateTransferManyTxOutputSchema = z.object({
|
|
4081
4081
|
rows: import_consts.iTxAggregateResults,
|
|
4082
4082
|
metadata: import_consts.iTxAggregatingMetadata
|
|
4083
|
-
}).
|
|
4083
|
+
}).describe("Output of getToken");
|
|
@@ -4059,7 +4059,7 @@ var aggregateTransferManyTxInputSchema = z.object({
|
|
|
4059
4059
|
var aggregateTransferManyTxOutputSchema = z.object({
|
|
4060
4060
|
rows: iTxAggregateResults,
|
|
4061
4061
|
metadata: iTxAggregatingMetadata
|
|
4062
|
-
}).
|
|
4062
|
+
}).describe("Output of getToken");
|
|
4063
4063
|
export {
|
|
4064
4064
|
aggregateTransferManyAggregator,
|
|
4065
4065
|
aggregateTransferManyAggregatorComplex,
|
|
@@ -96,7 +96,7 @@ var aggregateTransferManyTxInputSchema = import_zod.default.object({
|
|
|
96
96
|
var aggregateTransferManyTxOutputSchema = import_zod.default.object({
|
|
97
97
|
rows: import_consts.iTxAggregateResults,
|
|
98
98
|
metadata: import_consts.iTxAggregatingMetadata
|
|
99
|
-
}).
|
|
99
|
+
}).describe("Output of getToken");
|
|
100
100
|
// Annotate the CommonJS export names for ESM import in node:
|
|
101
101
|
0 && (module.exports = {
|
|
102
102
|
aggregateTransferManyAggregator,
|
|
@@ -1713,8 +1713,8 @@ export declare const aggregateTransferManyTxInputSchema: z.ZodObject<{
|
|
|
1713
1713
|
}>>[] | undefined;
|
|
1714
1714
|
}>;
|
|
1715
1715
|
export declare const aggregateTransferManyTxOutputSchema: z.ZodObject<{
|
|
1716
|
-
rows: z.
|
|
1717
|
-
metadata: z.
|
|
1716
|
+
rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>, "many">;
|
|
1717
|
+
metadata: z.ZodObject<{
|
|
1718
1718
|
aggregators: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodDefault<z.ZodEnum<["count", "countDistinct", "sum", "average", "min", "max"]>>, z.ZodObject<{
|
|
1719
1719
|
function: z.ZodOptional<z.ZodDefault<z.ZodEnum<["count", "countDistinct", "sum", "average", "min", "max"]>>>;
|
|
1720
1720
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -1824,9 +1824,9 @@ export declare const aggregateTransferManyTxOutputSchema: z.ZodObject<{
|
|
|
1824
1824
|
field?: string | undefined;
|
|
1825
1825
|
alias?: string | undefined;
|
|
1826
1826
|
} | undefined)[] | undefined;
|
|
1827
|
-
}
|
|
1827
|
+
}>;
|
|
1828
1828
|
}, "strip", z.ZodTypeAny, {
|
|
1829
|
-
metadata
|
|
1829
|
+
metadata: {
|
|
1830
1830
|
groups: ({
|
|
1831
1831
|
type: "period";
|
|
1832
1832
|
field: "year" | "month" | "week" | "day" | "hour" | "minute" | {
|
|
@@ -1848,10 +1848,10 @@ export declare const aggregateTransferManyTxOutputSchema: z.ZodObject<{
|
|
|
1848
1848
|
field?: string | undefined;
|
|
1849
1849
|
alias?: string | undefined;
|
|
1850
1850
|
})[] | undefined;
|
|
1851
|
-
}
|
|
1852
|
-
rows
|
|
1851
|
+
};
|
|
1852
|
+
rows: Record<string, string | number | null>[];
|
|
1853
1853
|
}, {
|
|
1854
|
-
metadata
|
|
1854
|
+
metadata: {
|
|
1855
1855
|
groups: ({
|
|
1856
1856
|
type: "period";
|
|
1857
1857
|
field: "year" | "month" | "week" | "day" | "hour" | "minute" | {
|
|
@@ -1873,6 +1873,6 @@ export declare const aggregateTransferManyTxOutputSchema: z.ZodObject<{
|
|
|
1873
1873
|
field?: string | undefined;
|
|
1874
1874
|
alias?: string | undefined;
|
|
1875
1875
|
} | undefined)[] | undefined;
|
|
1876
|
-
}
|
|
1877
|
-
rows
|
|
1876
|
+
};
|
|
1877
|
+
rows: Record<string, string | number | null>[];
|
|
1878
1878
|
}>;
|
|
@@ -64,7 +64,7 @@ var aggregateTransferManyTxInputSchema = z.object({
|
|
|
64
64
|
var aggregateTransferManyTxOutputSchema = z.object({
|
|
65
65
|
rows: iTxAggregateResults,
|
|
66
66
|
metadata: iTxAggregatingMetadata
|
|
67
|
-
}).
|
|
67
|
+
}).describe("Output of getToken");
|
|
68
68
|
export {
|
|
69
69
|
aggregateTransferManyAggregator,
|
|
70
70
|
aggregateTransferManyAggregatorComplex,
|
|
@@ -751,7 +751,7 @@ export declare const createContractTxOutputSchema: z.ZodObject<{
|
|
|
751
751
|
validate_final_balance_only?: boolean | null | undefined;
|
|
752
752
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
753
753
|
}>;
|
|
754
|
-
transfers: z.
|
|
754
|
+
transfers: z.ZodArray<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
755
755
|
id: z.ZodNumber;
|
|
756
756
|
identifier: z.ZodString;
|
|
757
757
|
control_hash: z.ZodNullable<z.ZodString>;
|
|
@@ -824,7 +824,7 @@ export declare const createContractTxOutputSchema: z.ZodObject<{
|
|
|
824
824
|
reverses_id?: number | null | undefined;
|
|
825
825
|
status_finalized_at?: string | null | undefined;
|
|
826
826
|
group_validate?: boolean | null | undefined;
|
|
827
|
-
}>>, "many"
|
|
827
|
+
}>>, "many">;
|
|
828
828
|
}, "strip", z.ZodTypeAny, {
|
|
829
829
|
transfer_group: {
|
|
830
830
|
type: "regular" | "exchange" | "distribution";
|
|
@@ -841,7 +841,7 @@ export declare const createContractTxOutputSchema: z.ZodObject<{
|
|
|
841
841
|
transfer_status_finalized_at?: string | null | undefined;
|
|
842
842
|
validate_final_balance_only?: boolean | null | undefined;
|
|
843
843
|
};
|
|
844
|
-
transfers
|
|
844
|
+
transfers: ({
|
|
845
845
|
type: "transfer" | "deposit" | "withdrawal";
|
|
846
846
|
status: "pending" | "finished" | "cancelled";
|
|
847
847
|
identifier: string;
|
|
@@ -865,7 +865,7 @@ export declare const createContractTxOutputSchema: z.ZodObject<{
|
|
|
865
865
|
reverses_id?: number | null | undefined;
|
|
866
866
|
status_finalized_at?: string | null | undefined;
|
|
867
867
|
group_validate?: boolean | null | undefined;
|
|
868
|
-
} | undefined)[]
|
|
868
|
+
} | undefined)[];
|
|
869
869
|
}, {
|
|
870
870
|
transfer_group: {
|
|
871
871
|
identifier: string;
|
|
@@ -882,7 +882,7 @@ export declare const createContractTxOutputSchema: z.ZodObject<{
|
|
|
882
882
|
validate_final_balance_only?: boolean | null | undefined;
|
|
883
883
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
884
884
|
};
|
|
885
|
-
transfers
|
|
885
|
+
transfers: ({
|
|
886
886
|
identifier: string;
|
|
887
887
|
id: number;
|
|
888
888
|
created_at: string;
|
|
@@ -906,7 +906,7 @@ export declare const createContractTxOutputSchema: z.ZodObject<{
|
|
|
906
906
|
reverses_id?: number | null | undefined;
|
|
907
907
|
status_finalized_at?: string | null | undefined;
|
|
908
908
|
group_validate?: boolean | null | undefined;
|
|
909
|
-
} | undefined)[]
|
|
909
|
+
} | undefined)[];
|
|
910
910
|
}>>;
|
|
911
911
|
}, "strip", z.ZodTypeAny, {
|
|
912
912
|
token: {
|
|
@@ -938,7 +938,7 @@ export declare const createContractTxOutputSchema: z.ZodObject<{
|
|
|
938
938
|
transfer_status_finalized_at?: string | null | undefined;
|
|
939
939
|
validate_final_balance_only?: boolean | null | undefined;
|
|
940
940
|
};
|
|
941
|
-
transfers
|
|
941
|
+
transfers: ({
|
|
942
942
|
type: "transfer" | "deposit" | "withdrawal";
|
|
943
943
|
status: "pending" | "finished" | "cancelled";
|
|
944
944
|
identifier: string;
|
|
@@ -962,7 +962,7 @@ export declare const createContractTxOutputSchema: z.ZodObject<{
|
|
|
962
962
|
reverses_id?: number | null | undefined;
|
|
963
963
|
status_finalized_at?: string | null | undefined;
|
|
964
964
|
group_validate?: boolean | null | undefined;
|
|
965
|
-
} | undefined)[]
|
|
965
|
+
} | undefined)[];
|
|
966
966
|
} | undefined;
|
|
967
967
|
}, {
|
|
968
968
|
token: {
|
|
@@ -994,7 +994,7 @@ export declare const createContractTxOutputSchema: z.ZodObject<{
|
|
|
994
994
|
validate_final_balance_only?: boolean | null | undefined;
|
|
995
995
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
996
996
|
};
|
|
997
|
-
transfers
|
|
997
|
+
transfers: ({
|
|
998
998
|
identifier: string;
|
|
999
999
|
id: number;
|
|
1000
1000
|
created_at: string;
|
|
@@ -1018,6 +1018,6 @@ export declare const createContractTxOutputSchema: z.ZodObject<{
|
|
|
1018
1018
|
reverses_id?: number | null | undefined;
|
|
1019
1019
|
status_finalized_at?: string | null | undefined;
|
|
1020
1020
|
group_validate?: boolean | null | undefined;
|
|
1021
|
-
} | undefined)[]
|
|
1021
|
+
} | undefined)[];
|
|
1022
1022
|
} | undefined;
|
|
1023
1023
|
}>;
|
|
@@ -4069,6 +4069,4 @@ var createTransferGroupTxInputSchema = z.object({
|
|
|
4069
4069
|
var createTransferGroupTxOutputSchema = z.object({
|
|
4070
4070
|
transfer_group: import_transfer_group_schema.transferGroupTableSchema,
|
|
4071
4071
|
transfers: import_get_transfer_schema.getTransferTxOutputSchema.shape.transfer.array().describe("Created transfer objects")
|
|
4072
|
-
}).partial().required({
|
|
4073
|
-
transfer_group: true
|
|
4074
4072
|
}).describe("Output of createTransferGroup");
|
|
@@ -4046,8 +4046,6 @@ var createTransferGroupTxInputSchema = z.object({
|
|
|
4046
4046
|
var createTransferGroupTxOutputSchema = z.object({
|
|
4047
4047
|
transfer_group: transferGroupTableSchema,
|
|
4048
4048
|
transfers: getTransferTxOutputSchema.shape.transfer.array().describe("Created transfer objects")
|
|
4049
|
-
}).partial().required({
|
|
4050
|
-
transfer_group: true
|
|
4051
4049
|
}).describe("Output of createTransferGroup");
|
|
4052
4050
|
export {
|
|
4053
4051
|
childTransferData,
|
|
@@ -85,8 +85,6 @@ var createTransferGroupTxInputSchema = import_zod.default.object({
|
|
|
85
85
|
var createTransferGroupTxOutputSchema = import_zod.default.object({
|
|
86
86
|
transfer_group: import_transfer_group_schema.transferGroupTableSchema,
|
|
87
87
|
transfers: import_get_transfer_schema.getTransferTxOutputSchema.shape.transfer.array().describe("Created transfer objects")
|
|
88
|
-
}).partial().required({
|
|
89
|
-
transfer_group: true
|
|
90
88
|
}).describe("Output of createTransferGroup");
|
|
91
89
|
// Annotate the CommonJS export names for ESM import in node:
|
|
92
90
|
0 && (module.exports = {
|
|
@@ -2385,7 +2385,7 @@ export declare const createTransferGroupTxOutputSchema: z.ZodObject<{
|
|
|
2385
2385
|
validate_final_balance_only?: boolean | null | undefined;
|
|
2386
2386
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
2387
2387
|
}>;
|
|
2388
|
-
transfers: z.
|
|
2388
|
+
transfers: z.ZodArray<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
2389
2389
|
id: z.ZodNumber;
|
|
2390
2390
|
identifier: z.ZodString;
|
|
2391
2391
|
control_hash: z.ZodNullable<z.ZodString>;
|
|
@@ -2458,7 +2458,7 @@ export declare const createTransferGroupTxOutputSchema: z.ZodObject<{
|
|
|
2458
2458
|
reverses_id?: number | null | undefined;
|
|
2459
2459
|
status_finalized_at?: string | null | undefined;
|
|
2460
2460
|
group_validate?: boolean | null | undefined;
|
|
2461
|
-
}>>, "many"
|
|
2461
|
+
}>>, "many">;
|
|
2462
2462
|
}, "strip", z.ZodTypeAny, {
|
|
2463
2463
|
transfer_group: {
|
|
2464
2464
|
type: "regular" | "exchange" | "distribution";
|
|
@@ -2475,7 +2475,7 @@ export declare const createTransferGroupTxOutputSchema: z.ZodObject<{
|
|
|
2475
2475
|
transfer_status_finalized_at?: string | null | undefined;
|
|
2476
2476
|
validate_final_balance_only?: boolean | null | undefined;
|
|
2477
2477
|
};
|
|
2478
|
-
transfers
|
|
2478
|
+
transfers: ({
|
|
2479
2479
|
type: "transfer" | "deposit" | "withdrawal";
|
|
2480
2480
|
status: "pending" | "finished" | "cancelled";
|
|
2481
2481
|
identifier: string;
|
|
@@ -2499,7 +2499,7 @@ export declare const createTransferGroupTxOutputSchema: z.ZodObject<{
|
|
|
2499
2499
|
reverses_id?: number | null | undefined;
|
|
2500
2500
|
status_finalized_at?: string | null | undefined;
|
|
2501
2501
|
group_validate?: boolean | null | undefined;
|
|
2502
|
-
} | undefined)[]
|
|
2502
|
+
} | undefined)[];
|
|
2503
2503
|
}, {
|
|
2504
2504
|
transfer_group: {
|
|
2505
2505
|
identifier: string;
|
|
@@ -2516,7 +2516,7 @@ export declare const createTransferGroupTxOutputSchema: z.ZodObject<{
|
|
|
2516
2516
|
validate_final_balance_only?: boolean | null | undefined;
|
|
2517
2517
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
2518
2518
|
};
|
|
2519
|
-
transfers
|
|
2519
|
+
transfers: ({
|
|
2520
2520
|
identifier: string;
|
|
2521
2521
|
id: number;
|
|
2522
2522
|
created_at: string;
|
|
@@ -2540,5 +2540,5 @@ export declare const createTransferGroupTxOutputSchema: z.ZodObject<{
|
|
|
2540
2540
|
reverses_id?: number | null | undefined;
|
|
2541
2541
|
status_finalized_at?: string | null | undefined;
|
|
2542
2542
|
group_validate?: boolean | null | undefined;
|
|
2543
|
-
} | undefined)[]
|
|
2543
|
+
} | undefined)[];
|
|
2544
2544
|
}>;
|
|
@@ -51,8 +51,6 @@ var createTransferGroupTxInputSchema = z.object({
|
|
|
51
51
|
var createTransferGroupTxOutputSchema = z.object({
|
|
52
52
|
transfer_group: transferGroupTableSchema,
|
|
53
53
|
transfers: getTransferTxOutputSchema.shape.transfer.array().describe("Created transfer objects")
|
|
54
|
-
}).partial().required({
|
|
55
|
-
transfer_group: true
|
|
56
54
|
}).describe("Output of createTransferGroup");
|
|
57
55
|
export {
|
|
58
56
|
childTransferData,
|
package/dist/txs/reverse-transfer-group-many/reverse-transfer-group-many.schema.zod.browser.cjs
CHANGED
|
@@ -4037,4 +4037,4 @@ var reverseTransferGroupManyTxInputSchema = z.object({
|
|
|
4037
4037
|
var reverseTransferGroupManyTxOutputSchema = z.object({
|
|
4038
4038
|
transfer_groups: import_transfer_group_schema.transferGroupTableSchema.array().describe("Reversed transfer groups"),
|
|
4039
4039
|
transfers: import_get_transfer_schema.transferOutputSchema.array().describe("Created transfer objects")
|
|
4040
|
-
}).
|
|
4040
|
+
}).describe("Output of reverseTranferGroupMany");
|
package/dist/txs/reverse-transfer-group-many/reverse-transfer-group-many.schema.zod.browser.js
CHANGED
|
@@ -4015,7 +4015,7 @@ var reverseTransferGroupManyTxInputSchema = z.object({
|
|
|
4015
4015
|
var reverseTransferGroupManyTxOutputSchema = z.object({
|
|
4016
4016
|
transfer_groups: transferGroupTableSchema.array().describe("Reversed transfer groups"),
|
|
4017
4017
|
transfers: transferOutputSchema.array().describe("Created transfer objects")
|
|
4018
|
-
}).
|
|
4018
|
+
}).describe("Output of reverseTranferGroupMany");
|
|
4019
4019
|
export {
|
|
4020
4020
|
reverseTransferGroupManyModificationsSchema,
|
|
4021
4021
|
reverseTransferGroupManyTxInputSchema,
|
|
@@ -53,7 +53,7 @@ var reverseTransferGroupManyTxInputSchema = import_zod.default.object({
|
|
|
53
53
|
var reverseTransferGroupManyTxOutputSchema = import_zod.default.object({
|
|
54
54
|
transfer_groups: import_transfer_group_schema.transferGroupTableSchema.array().describe("Reversed transfer groups"),
|
|
55
55
|
transfers: import_get_transfer_schema.transferOutputSchema.array().describe("Created transfer objects")
|
|
56
|
-
}).
|
|
56
|
+
}).describe("Output of reverseTranferGroupMany");
|
|
57
57
|
// Annotate the CommonJS export names for ESM import in node:
|
|
58
58
|
0 && (module.exports = {
|
|
59
59
|
reverseTransferGroupManyModificationsSchema,
|