wowok_agent 2.1.26 → 2.1.27
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/index.d.ts +41 -41
- package/dist/index.js +51 -1
- package/dist/schema/call/personal.d.ts +112 -112
- package/dist/schema/call/personal.js +6 -6
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -11100,7 +11100,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11100
11100
|
operation_type: z.ZodLiteral<"personal">;
|
|
11101
11101
|
data: z.ZodObject<{
|
|
11102
11102
|
description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
11103
|
-
referrer: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
11103
|
+
referrer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
11104
11104
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
11105
11105
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
11106
11106
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -11191,7 +11191,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11191
11191
|
mark: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
11192
11192
|
op: z.ZodLiteral<"add">;
|
|
11193
11193
|
data: z.ZodArray<z.ZodObject<{
|
|
11194
|
-
address: z.ZodObject<{
|
|
11194
|
+
address: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
11195
11195
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
11196
11196
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
11197
11197
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -11200,18 +11200,18 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11200
11200
|
}, {
|
|
11201
11201
|
name_or_address?: string | undefined;
|
|
11202
11202
|
local_mark_first?: boolean | undefined;
|
|
11203
|
-
}>;
|
|
11203
|
+
}>]>;
|
|
11204
11204
|
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
11205
11205
|
tags: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
11206
11206
|
}, "strict", z.ZodTypeAny, {
|
|
11207
|
-
address: {
|
|
11207
|
+
address: string | {
|
|
11208
11208
|
name_or_address?: string | undefined;
|
|
11209
11209
|
local_mark_first?: boolean | undefined;
|
|
11210
11210
|
};
|
|
11211
11211
|
name?: string | undefined;
|
|
11212
11212
|
tags?: string[] | undefined;
|
|
11213
11213
|
}, {
|
|
11214
|
-
address: {
|
|
11214
|
+
address: string | {
|
|
11215
11215
|
name_or_address?: string | undefined;
|
|
11216
11216
|
local_mark_first?: boolean | undefined;
|
|
11217
11217
|
};
|
|
@@ -11220,7 +11220,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11220
11220
|
}>, "many">;
|
|
11221
11221
|
}, "strict", z.ZodTypeAny, {
|
|
11222
11222
|
data: {
|
|
11223
|
-
address: {
|
|
11223
|
+
address: string | {
|
|
11224
11224
|
name_or_address?: string | undefined;
|
|
11225
11225
|
local_mark_first?: boolean | undefined;
|
|
11226
11226
|
};
|
|
@@ -11230,7 +11230,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11230
11230
|
op: "add";
|
|
11231
11231
|
}, {
|
|
11232
11232
|
data: {
|
|
11233
|
-
address: {
|
|
11233
|
+
address: string | {
|
|
11234
11234
|
name_or_address?: string | undefined;
|
|
11235
11235
|
local_mark_first?: boolean | undefined;
|
|
11236
11236
|
};
|
|
@@ -11241,7 +11241,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11241
11241
|
}>, z.ZodObject<{
|
|
11242
11242
|
op: z.ZodLiteral<"remove">;
|
|
11243
11243
|
data: z.ZodArray<z.ZodObject<{
|
|
11244
|
-
address: z.ZodObject<{
|
|
11244
|
+
address: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
11245
11245
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
11246
11246
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
11247
11247
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -11250,16 +11250,16 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11250
11250
|
}, {
|
|
11251
11251
|
name_or_address?: string | undefined;
|
|
11252
11252
|
local_mark_first?: boolean | undefined;
|
|
11253
|
-
}>;
|
|
11253
|
+
}>]>;
|
|
11254
11254
|
tags: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
11255
11255
|
}, "strict", z.ZodTypeAny, {
|
|
11256
|
-
address: {
|
|
11256
|
+
address: string | {
|
|
11257
11257
|
name_or_address?: string | undefined;
|
|
11258
11258
|
local_mark_first?: boolean | undefined;
|
|
11259
11259
|
};
|
|
11260
11260
|
tags?: string[] | undefined;
|
|
11261
11261
|
}, {
|
|
11262
|
-
address: {
|
|
11262
|
+
address: string | {
|
|
11263
11263
|
name_or_address?: string | undefined;
|
|
11264
11264
|
local_mark_first?: boolean | undefined;
|
|
11265
11265
|
};
|
|
@@ -11267,7 +11267,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11267
11267
|
}>, "many">;
|
|
11268
11268
|
}, "strict", z.ZodTypeAny, {
|
|
11269
11269
|
data: {
|
|
11270
|
-
address: {
|
|
11270
|
+
address: string | {
|
|
11271
11271
|
name_or_address?: string | undefined;
|
|
11272
11272
|
local_mark_first?: boolean | undefined;
|
|
11273
11273
|
};
|
|
@@ -11276,7 +11276,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11276
11276
|
op: "remove";
|
|
11277
11277
|
}, {
|
|
11278
11278
|
data: {
|
|
11279
|
-
address: {
|
|
11279
|
+
address: string | {
|
|
11280
11280
|
name_or_address?: string | undefined;
|
|
11281
11281
|
local_mark_first?: boolean | undefined;
|
|
11282
11282
|
};
|
|
@@ -11285,7 +11285,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11285
11285
|
op: "remove";
|
|
11286
11286
|
}>, z.ZodObject<{
|
|
11287
11287
|
op: z.ZodLiteral<"clear">;
|
|
11288
|
-
address: z.ZodObject<{
|
|
11288
|
+
address: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
11289
11289
|
entities: z.ZodArray<z.ZodObject<{
|
|
11290
11290
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
11291
11291
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -11309,7 +11309,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11309
11309
|
local_mark_first?: boolean | undefined;
|
|
11310
11310
|
}[];
|
|
11311
11311
|
check_all_founded?: boolean | undefined;
|
|
11312
|
-
}>;
|
|
11312
|
+
}>]>;
|
|
11313
11313
|
}, "strict", z.ZodTypeAny, {
|
|
11314
11314
|
address: {
|
|
11315
11315
|
entities: {
|
|
@@ -11317,7 +11317,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11317
11317
|
local_mark_first?: boolean | undefined;
|
|
11318
11318
|
}[];
|
|
11319
11319
|
check_all_founded?: boolean | undefined;
|
|
11320
|
-
};
|
|
11320
|
+
} | string[];
|
|
11321
11321
|
op: "clear";
|
|
11322
11322
|
}, {
|
|
11323
11323
|
address: {
|
|
@@ -11326,11 +11326,11 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11326
11326
|
local_mark_first?: boolean | undefined;
|
|
11327
11327
|
}[];
|
|
11328
11328
|
check_all_founded?: boolean | undefined;
|
|
11329
|
-
};
|
|
11329
|
+
} | string[];
|
|
11330
11330
|
op: "clear";
|
|
11331
11331
|
}>, z.ZodObject<{
|
|
11332
11332
|
op: z.ZodLiteral<"transfer">;
|
|
11333
|
-
to: z.ZodObject<{
|
|
11333
|
+
to: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
11334
11334
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
11335
11335
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
11336
11336
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -11339,16 +11339,16 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11339
11339
|
}, {
|
|
11340
11340
|
name_or_address?: string | undefined;
|
|
11341
11341
|
local_mark_first?: boolean | undefined;
|
|
11342
|
-
}>;
|
|
11342
|
+
}>]>;
|
|
11343
11343
|
}, "strict", z.ZodTypeAny, {
|
|
11344
11344
|
op: "transfer";
|
|
11345
|
-
to: {
|
|
11345
|
+
to: string | {
|
|
11346
11346
|
name_or_address?: string | undefined;
|
|
11347
11347
|
local_mark_first?: boolean | undefined;
|
|
11348
11348
|
};
|
|
11349
11349
|
}, {
|
|
11350
11350
|
op: "transfer";
|
|
11351
|
-
to: {
|
|
11351
|
+
to: string | {
|
|
11352
11352
|
name_or_address?: string | undefined;
|
|
11353
11353
|
local_mark_first?: boolean | undefined;
|
|
11354
11354
|
};
|
|
@@ -11370,7 +11370,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11370
11370
|
}>]>>;
|
|
11371
11371
|
}, "strict", z.ZodTypeAny, {
|
|
11372
11372
|
description?: string | undefined;
|
|
11373
|
-
referrer?: {
|
|
11373
|
+
referrer?: string | {
|
|
11374
11374
|
name_or_address?: string | undefined;
|
|
11375
11375
|
local_mark_first?: boolean | undefined;
|
|
11376
11376
|
} | null | undefined;
|
|
@@ -11389,7 +11389,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11389
11389
|
} | undefined;
|
|
11390
11390
|
mark?: {
|
|
11391
11391
|
data: {
|
|
11392
|
-
address: {
|
|
11392
|
+
address: string | {
|
|
11393
11393
|
name_or_address?: string | undefined;
|
|
11394
11394
|
local_mark_first?: boolean | undefined;
|
|
11395
11395
|
};
|
|
@@ -11399,7 +11399,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11399
11399
|
op: "add";
|
|
11400
11400
|
} | {
|
|
11401
11401
|
data: {
|
|
11402
|
-
address: {
|
|
11402
|
+
address: string | {
|
|
11403
11403
|
name_or_address?: string | undefined;
|
|
11404
11404
|
local_mark_first?: boolean | undefined;
|
|
11405
11405
|
};
|
|
@@ -11413,11 +11413,11 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11413
11413
|
local_mark_first?: boolean | undefined;
|
|
11414
11414
|
}[];
|
|
11415
11415
|
check_all_founded?: boolean | undefined;
|
|
11416
|
-
};
|
|
11416
|
+
} | string[];
|
|
11417
11417
|
op: "clear";
|
|
11418
11418
|
} | {
|
|
11419
11419
|
op: "transfer";
|
|
11420
|
-
to: {
|
|
11420
|
+
to: string | {
|
|
11421
11421
|
name_or_address?: string | undefined;
|
|
11422
11422
|
local_mark_first?: boolean | undefined;
|
|
11423
11423
|
};
|
|
@@ -11429,7 +11429,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11429
11429
|
} | undefined;
|
|
11430
11430
|
}, {
|
|
11431
11431
|
description?: string | undefined;
|
|
11432
|
-
referrer?: {
|
|
11432
|
+
referrer?: string | {
|
|
11433
11433
|
name_or_address?: string | undefined;
|
|
11434
11434
|
local_mark_first?: boolean | undefined;
|
|
11435
11435
|
} | null | undefined;
|
|
@@ -11448,7 +11448,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11448
11448
|
} | undefined;
|
|
11449
11449
|
mark?: {
|
|
11450
11450
|
data: {
|
|
11451
|
-
address: {
|
|
11451
|
+
address: string | {
|
|
11452
11452
|
name_or_address?: string | undefined;
|
|
11453
11453
|
local_mark_first?: boolean | undefined;
|
|
11454
11454
|
};
|
|
@@ -11458,7 +11458,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11458
11458
|
op: "add";
|
|
11459
11459
|
} | {
|
|
11460
11460
|
data: {
|
|
11461
|
-
address: {
|
|
11461
|
+
address: string | {
|
|
11462
11462
|
name_or_address?: string | undefined;
|
|
11463
11463
|
local_mark_first?: boolean | undefined;
|
|
11464
11464
|
};
|
|
@@ -11472,11 +11472,11 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11472
11472
|
local_mark_first?: boolean | undefined;
|
|
11473
11473
|
}[];
|
|
11474
11474
|
check_all_founded?: boolean | undefined;
|
|
11475
|
-
};
|
|
11475
|
+
} | string[];
|
|
11476
11476
|
op: "clear";
|
|
11477
11477
|
} | {
|
|
11478
11478
|
op: "transfer";
|
|
11479
|
-
to: {
|
|
11479
|
+
to: string | {
|
|
11480
11480
|
name_or_address?: string | undefined;
|
|
11481
11481
|
local_mark_first?: boolean | undefined;
|
|
11482
11482
|
};
|
|
@@ -11509,7 +11509,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11509
11509
|
}, "strip", z.ZodTypeAny, {
|
|
11510
11510
|
data: {
|
|
11511
11511
|
description?: string | undefined;
|
|
11512
|
-
referrer?: {
|
|
11512
|
+
referrer?: string | {
|
|
11513
11513
|
name_or_address?: string | undefined;
|
|
11514
11514
|
local_mark_first?: boolean | undefined;
|
|
11515
11515
|
} | null | undefined;
|
|
@@ -11528,7 +11528,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11528
11528
|
} | undefined;
|
|
11529
11529
|
mark?: {
|
|
11530
11530
|
data: {
|
|
11531
|
-
address: {
|
|
11531
|
+
address: string | {
|
|
11532
11532
|
name_or_address?: string | undefined;
|
|
11533
11533
|
local_mark_first?: boolean | undefined;
|
|
11534
11534
|
};
|
|
@@ -11538,7 +11538,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11538
11538
|
op: "add";
|
|
11539
11539
|
} | {
|
|
11540
11540
|
data: {
|
|
11541
|
-
address: {
|
|
11541
|
+
address: string | {
|
|
11542
11542
|
name_or_address?: string | undefined;
|
|
11543
11543
|
local_mark_first?: boolean | undefined;
|
|
11544
11544
|
};
|
|
@@ -11552,11 +11552,11 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11552
11552
|
local_mark_first?: boolean | undefined;
|
|
11553
11553
|
}[];
|
|
11554
11554
|
check_all_founded?: boolean | undefined;
|
|
11555
|
-
};
|
|
11555
|
+
} | string[];
|
|
11556
11556
|
op: "clear";
|
|
11557
11557
|
} | {
|
|
11558
11558
|
op: "transfer";
|
|
11559
|
-
to: {
|
|
11559
|
+
to: string | {
|
|
11560
11560
|
name_or_address?: string | undefined;
|
|
11561
11561
|
local_mark_first?: boolean | undefined;
|
|
11562
11562
|
};
|
|
@@ -11578,7 +11578,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11578
11578
|
}, {
|
|
11579
11579
|
data: {
|
|
11580
11580
|
description?: string | undefined;
|
|
11581
|
-
referrer?: {
|
|
11581
|
+
referrer?: string | {
|
|
11582
11582
|
name_or_address?: string | undefined;
|
|
11583
11583
|
local_mark_first?: boolean | undefined;
|
|
11584
11584
|
} | null | undefined;
|
|
@@ -11597,7 +11597,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11597
11597
|
} | undefined;
|
|
11598
11598
|
mark?: {
|
|
11599
11599
|
data: {
|
|
11600
|
-
address: {
|
|
11600
|
+
address: string | {
|
|
11601
11601
|
name_or_address?: string | undefined;
|
|
11602
11602
|
local_mark_first?: boolean | undefined;
|
|
11603
11603
|
};
|
|
@@ -11607,7 +11607,7 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11607
11607
|
op: "add";
|
|
11608
11608
|
} | {
|
|
11609
11609
|
data: {
|
|
11610
|
-
address: {
|
|
11610
|
+
address: string | {
|
|
11611
11611
|
name_or_address?: string | undefined;
|
|
11612
11612
|
local_mark_first?: boolean | undefined;
|
|
11613
11613
|
};
|
|
@@ -11621,11 +11621,11 @@ declare const OnchainOperationsSchema: z.ZodDiscriminatedUnion<"operation_type",
|
|
|
11621
11621
|
local_mark_first?: boolean | undefined;
|
|
11622
11622
|
}[];
|
|
11623
11623
|
check_all_founded?: boolean | undefined;
|
|
11624
|
-
};
|
|
11624
|
+
} | string[];
|
|
11625
11625
|
op: "clear";
|
|
11626
11626
|
} | {
|
|
11627
11627
|
op: "transfer";
|
|
11628
|
-
to: {
|
|
11628
|
+
to: string | {
|
|
11629
11629
|
name_or_address?: string | undefined;
|
|
11630
11630
|
local_mark_first?: boolean | undefined;
|
|
11631
11631
|
};
|
package/dist/index.js
CHANGED
|
@@ -388,7 +388,57 @@ async function handleOnchainOperations(args) {
|
|
|
388
388
|
}
|
|
389
389
|
// Personal Operations
|
|
390
390
|
case "personal": {
|
|
391
|
-
|
|
391
|
+
// Transform AI-friendly string format to SDK object format
|
|
392
|
+
const transformPersonalData = (data) => {
|
|
393
|
+
const result = { ...data };
|
|
394
|
+
// Transform mark operations
|
|
395
|
+
if (data.mark) {
|
|
396
|
+
const transformAddress = (addr) => {
|
|
397
|
+
if (typeof addr === 'string') {
|
|
398
|
+
return { name_or_address: addr, local_mark_first: true };
|
|
399
|
+
}
|
|
400
|
+
return addr;
|
|
401
|
+
};
|
|
402
|
+
if (data.mark.op === 'add' && data.mark.data) {
|
|
403
|
+
result.mark = {
|
|
404
|
+
...data.mark,
|
|
405
|
+
data: data.mark.data.map((item) => ({
|
|
406
|
+
...item,
|
|
407
|
+
address: transformAddress(item.address)
|
|
408
|
+
}))
|
|
409
|
+
};
|
|
410
|
+
}
|
|
411
|
+
else if (data.mark.op === 'remove' && data.mark.data) {
|
|
412
|
+
result.mark = {
|
|
413
|
+
...data.mark,
|
|
414
|
+
data: data.mark.data.map((item) => ({
|
|
415
|
+
...item,
|
|
416
|
+
address: transformAddress(item.address)
|
|
417
|
+
}))
|
|
418
|
+
};
|
|
419
|
+
}
|
|
420
|
+
else if (data.mark.op === 'clear' && data.mark.address) {
|
|
421
|
+
const addr = data.mark.address;
|
|
422
|
+
if (Array.isArray(addr) && addr.every((a) => typeof a === 'string')) {
|
|
423
|
+
result.mark = {
|
|
424
|
+
...data.mark,
|
|
425
|
+
address: {
|
|
426
|
+
entities: addr.map((a) => ({ name_or_address: a, local_mark_first: true }))
|
|
427
|
+
}
|
|
428
|
+
};
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
else if (data.mark.op === 'transfer' && data.mark.to) {
|
|
432
|
+
result.mark = {
|
|
433
|
+
...data.mark,
|
|
434
|
+
to: transformAddress(data.mark.to)
|
|
435
|
+
};
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
return result;
|
|
439
|
+
};
|
|
440
|
+
const transformedData = transformPersonalData(validated.data);
|
|
441
|
+
const callPersonal = new CallPersonal(transformedData);
|
|
392
442
|
const result = await callPersonal.call(env);
|
|
393
443
|
return handleCallResult(result);
|
|
394
444
|
}
|
|
@@ -160,7 +160,7 @@ export declare const InformationSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObje
|
|
|
160
160
|
export declare const MarkAddSchema: z.ZodObject<{
|
|
161
161
|
op: z.ZodLiteral<"add">;
|
|
162
162
|
data: z.ZodArray<z.ZodObject<{
|
|
163
|
-
address: z.ZodObject<{
|
|
163
|
+
address: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
164
164
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
165
165
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
166
166
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -169,18 +169,18 @@ export declare const MarkAddSchema: z.ZodObject<{
|
|
|
169
169
|
}, {
|
|
170
170
|
name_or_address?: string | undefined;
|
|
171
171
|
local_mark_first?: boolean | undefined;
|
|
172
|
-
}>;
|
|
172
|
+
}>]>;
|
|
173
173
|
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
174
174
|
tags: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
175
175
|
}, "strict", z.ZodTypeAny, {
|
|
176
|
-
address: {
|
|
176
|
+
address: string | {
|
|
177
177
|
name_or_address?: string | undefined;
|
|
178
178
|
local_mark_first?: boolean | undefined;
|
|
179
179
|
};
|
|
180
180
|
name?: string | undefined;
|
|
181
181
|
tags?: string[] | undefined;
|
|
182
182
|
}, {
|
|
183
|
-
address: {
|
|
183
|
+
address: string | {
|
|
184
184
|
name_or_address?: string | undefined;
|
|
185
185
|
local_mark_first?: boolean | undefined;
|
|
186
186
|
};
|
|
@@ -189,7 +189,7 @@ export declare const MarkAddSchema: z.ZodObject<{
|
|
|
189
189
|
}>, "many">;
|
|
190
190
|
}, "strict", z.ZodTypeAny, {
|
|
191
191
|
data: {
|
|
192
|
-
address: {
|
|
192
|
+
address: string | {
|
|
193
193
|
name_or_address?: string | undefined;
|
|
194
194
|
local_mark_first?: boolean | undefined;
|
|
195
195
|
};
|
|
@@ -199,7 +199,7 @@ export declare const MarkAddSchema: z.ZodObject<{
|
|
|
199
199
|
op: "add";
|
|
200
200
|
}, {
|
|
201
201
|
data: {
|
|
202
|
-
address: {
|
|
202
|
+
address: string | {
|
|
203
203
|
name_or_address?: string | undefined;
|
|
204
204
|
local_mark_first?: boolean | undefined;
|
|
205
205
|
};
|
|
@@ -211,7 +211,7 @@ export declare const MarkAddSchema: z.ZodObject<{
|
|
|
211
211
|
export declare const MarkRemoveSchema: z.ZodObject<{
|
|
212
212
|
op: z.ZodLiteral<"remove">;
|
|
213
213
|
data: z.ZodArray<z.ZodObject<{
|
|
214
|
-
address: z.ZodObject<{
|
|
214
|
+
address: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
215
215
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
216
216
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
217
217
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -220,16 +220,16 @@ export declare const MarkRemoveSchema: z.ZodObject<{
|
|
|
220
220
|
}, {
|
|
221
221
|
name_or_address?: string | undefined;
|
|
222
222
|
local_mark_first?: boolean | undefined;
|
|
223
|
-
}>;
|
|
223
|
+
}>]>;
|
|
224
224
|
tags: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
225
225
|
}, "strict", z.ZodTypeAny, {
|
|
226
|
-
address: {
|
|
226
|
+
address: string | {
|
|
227
227
|
name_or_address?: string | undefined;
|
|
228
228
|
local_mark_first?: boolean | undefined;
|
|
229
229
|
};
|
|
230
230
|
tags?: string[] | undefined;
|
|
231
231
|
}, {
|
|
232
|
-
address: {
|
|
232
|
+
address: string | {
|
|
233
233
|
name_or_address?: string | undefined;
|
|
234
234
|
local_mark_first?: boolean | undefined;
|
|
235
235
|
};
|
|
@@ -237,7 +237,7 @@ export declare const MarkRemoveSchema: z.ZodObject<{
|
|
|
237
237
|
}>, "many">;
|
|
238
238
|
}, "strict", z.ZodTypeAny, {
|
|
239
239
|
data: {
|
|
240
|
-
address: {
|
|
240
|
+
address: string | {
|
|
241
241
|
name_or_address?: string | undefined;
|
|
242
242
|
local_mark_first?: boolean | undefined;
|
|
243
243
|
};
|
|
@@ -246,7 +246,7 @@ export declare const MarkRemoveSchema: z.ZodObject<{
|
|
|
246
246
|
op: "remove";
|
|
247
247
|
}, {
|
|
248
248
|
data: {
|
|
249
|
-
address: {
|
|
249
|
+
address: string | {
|
|
250
250
|
name_or_address?: string | undefined;
|
|
251
251
|
local_mark_first?: boolean | undefined;
|
|
252
252
|
};
|
|
@@ -256,7 +256,7 @@ export declare const MarkRemoveSchema: z.ZodObject<{
|
|
|
256
256
|
}>;
|
|
257
257
|
export declare const MarkClearSchema: z.ZodObject<{
|
|
258
258
|
op: z.ZodLiteral<"clear">;
|
|
259
|
-
address: z.ZodObject<{
|
|
259
|
+
address: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
260
260
|
entities: z.ZodArray<z.ZodObject<{
|
|
261
261
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
262
262
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -280,7 +280,7 @@ export declare const MarkClearSchema: z.ZodObject<{
|
|
|
280
280
|
local_mark_first?: boolean | undefined;
|
|
281
281
|
}[];
|
|
282
282
|
check_all_founded?: boolean | undefined;
|
|
283
|
-
}>;
|
|
283
|
+
}>]>;
|
|
284
284
|
}, "strict", z.ZodTypeAny, {
|
|
285
285
|
address: {
|
|
286
286
|
entities: {
|
|
@@ -288,7 +288,7 @@ export declare const MarkClearSchema: z.ZodObject<{
|
|
|
288
288
|
local_mark_first?: boolean | undefined;
|
|
289
289
|
}[];
|
|
290
290
|
check_all_founded?: boolean | undefined;
|
|
291
|
-
};
|
|
291
|
+
} | string[];
|
|
292
292
|
op: "clear";
|
|
293
293
|
}, {
|
|
294
294
|
address: {
|
|
@@ -297,12 +297,12 @@ export declare const MarkClearSchema: z.ZodObject<{
|
|
|
297
297
|
local_mark_first?: boolean | undefined;
|
|
298
298
|
}[];
|
|
299
299
|
check_all_founded?: boolean | undefined;
|
|
300
|
-
};
|
|
300
|
+
} | string[];
|
|
301
301
|
op: "clear";
|
|
302
302
|
}>;
|
|
303
303
|
export declare const MarkTransferSchema: z.ZodObject<{
|
|
304
304
|
op: z.ZodLiteral<"transfer">;
|
|
305
|
-
to: z.ZodObject<{
|
|
305
|
+
to: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
306
306
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
307
307
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
308
308
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -311,16 +311,16 @@ export declare const MarkTransferSchema: z.ZodObject<{
|
|
|
311
311
|
}, {
|
|
312
312
|
name_or_address?: string | undefined;
|
|
313
313
|
local_mark_first?: boolean | undefined;
|
|
314
|
-
}>;
|
|
314
|
+
}>]>;
|
|
315
315
|
}, "strict", z.ZodTypeAny, {
|
|
316
316
|
op: "transfer";
|
|
317
|
-
to: {
|
|
317
|
+
to: string | {
|
|
318
318
|
name_or_address?: string | undefined;
|
|
319
319
|
local_mark_first?: boolean | undefined;
|
|
320
320
|
};
|
|
321
321
|
}, {
|
|
322
322
|
op: "transfer";
|
|
323
|
-
to: {
|
|
323
|
+
to: string | {
|
|
324
324
|
name_or_address?: string | undefined;
|
|
325
325
|
local_mark_first?: boolean | undefined;
|
|
326
326
|
};
|
|
@@ -345,7 +345,7 @@ export declare const MarkDestroySchema: z.ZodObject<{
|
|
|
345
345
|
export declare const MarkSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
346
346
|
op: z.ZodLiteral<"add">;
|
|
347
347
|
data: z.ZodArray<z.ZodObject<{
|
|
348
|
-
address: z.ZodObject<{
|
|
348
|
+
address: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
349
349
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
350
350
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
351
351
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -354,18 +354,18 @@ export declare const MarkSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
354
354
|
}, {
|
|
355
355
|
name_or_address?: string | undefined;
|
|
356
356
|
local_mark_first?: boolean | undefined;
|
|
357
|
-
}>;
|
|
357
|
+
}>]>;
|
|
358
358
|
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
359
359
|
tags: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
360
360
|
}, "strict", z.ZodTypeAny, {
|
|
361
|
-
address: {
|
|
361
|
+
address: string | {
|
|
362
362
|
name_or_address?: string | undefined;
|
|
363
363
|
local_mark_first?: boolean | undefined;
|
|
364
364
|
};
|
|
365
365
|
name?: string | undefined;
|
|
366
366
|
tags?: string[] | undefined;
|
|
367
367
|
}, {
|
|
368
|
-
address: {
|
|
368
|
+
address: string | {
|
|
369
369
|
name_or_address?: string | undefined;
|
|
370
370
|
local_mark_first?: boolean | undefined;
|
|
371
371
|
};
|
|
@@ -374,7 +374,7 @@ export declare const MarkSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
374
374
|
}>, "many">;
|
|
375
375
|
}, "strict", z.ZodTypeAny, {
|
|
376
376
|
data: {
|
|
377
|
-
address: {
|
|
377
|
+
address: string | {
|
|
378
378
|
name_or_address?: string | undefined;
|
|
379
379
|
local_mark_first?: boolean | undefined;
|
|
380
380
|
};
|
|
@@ -384,7 +384,7 @@ export declare const MarkSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
384
384
|
op: "add";
|
|
385
385
|
}, {
|
|
386
386
|
data: {
|
|
387
|
-
address: {
|
|
387
|
+
address: string | {
|
|
388
388
|
name_or_address?: string | undefined;
|
|
389
389
|
local_mark_first?: boolean | undefined;
|
|
390
390
|
};
|
|
@@ -395,7 +395,7 @@ export declare const MarkSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
395
395
|
}>, z.ZodObject<{
|
|
396
396
|
op: z.ZodLiteral<"remove">;
|
|
397
397
|
data: z.ZodArray<z.ZodObject<{
|
|
398
|
-
address: z.ZodObject<{
|
|
398
|
+
address: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
399
399
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
400
400
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
401
401
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -404,16 +404,16 @@ export declare const MarkSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
404
404
|
}, {
|
|
405
405
|
name_or_address?: string | undefined;
|
|
406
406
|
local_mark_first?: boolean | undefined;
|
|
407
|
-
}>;
|
|
407
|
+
}>]>;
|
|
408
408
|
tags: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
409
409
|
}, "strict", z.ZodTypeAny, {
|
|
410
|
-
address: {
|
|
410
|
+
address: string | {
|
|
411
411
|
name_or_address?: string | undefined;
|
|
412
412
|
local_mark_first?: boolean | undefined;
|
|
413
413
|
};
|
|
414
414
|
tags?: string[] | undefined;
|
|
415
415
|
}, {
|
|
416
|
-
address: {
|
|
416
|
+
address: string | {
|
|
417
417
|
name_or_address?: string | undefined;
|
|
418
418
|
local_mark_first?: boolean | undefined;
|
|
419
419
|
};
|
|
@@ -421,7 +421,7 @@ export declare const MarkSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
421
421
|
}>, "many">;
|
|
422
422
|
}, "strict", z.ZodTypeAny, {
|
|
423
423
|
data: {
|
|
424
|
-
address: {
|
|
424
|
+
address: string | {
|
|
425
425
|
name_or_address?: string | undefined;
|
|
426
426
|
local_mark_first?: boolean | undefined;
|
|
427
427
|
};
|
|
@@ -430,7 +430,7 @@ export declare const MarkSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
430
430
|
op: "remove";
|
|
431
431
|
}, {
|
|
432
432
|
data: {
|
|
433
|
-
address: {
|
|
433
|
+
address: string | {
|
|
434
434
|
name_or_address?: string | undefined;
|
|
435
435
|
local_mark_first?: boolean | undefined;
|
|
436
436
|
};
|
|
@@ -439,7 +439,7 @@ export declare const MarkSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
439
439
|
op: "remove";
|
|
440
440
|
}>, z.ZodObject<{
|
|
441
441
|
op: z.ZodLiteral<"clear">;
|
|
442
|
-
address: z.ZodObject<{
|
|
442
|
+
address: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
443
443
|
entities: z.ZodArray<z.ZodObject<{
|
|
444
444
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
445
445
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -463,7 +463,7 @@ export declare const MarkSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
463
463
|
local_mark_first?: boolean | undefined;
|
|
464
464
|
}[];
|
|
465
465
|
check_all_founded?: boolean | undefined;
|
|
466
|
-
}>;
|
|
466
|
+
}>]>;
|
|
467
467
|
}, "strict", z.ZodTypeAny, {
|
|
468
468
|
address: {
|
|
469
469
|
entities: {
|
|
@@ -471,7 +471,7 @@ export declare const MarkSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
471
471
|
local_mark_first?: boolean | undefined;
|
|
472
472
|
}[];
|
|
473
473
|
check_all_founded?: boolean | undefined;
|
|
474
|
-
};
|
|
474
|
+
} | string[];
|
|
475
475
|
op: "clear";
|
|
476
476
|
}, {
|
|
477
477
|
address: {
|
|
@@ -480,11 +480,11 @@ export declare const MarkSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
480
480
|
local_mark_first?: boolean | undefined;
|
|
481
481
|
}[];
|
|
482
482
|
check_all_founded?: boolean | undefined;
|
|
483
|
-
};
|
|
483
|
+
} | string[];
|
|
484
484
|
op: "clear";
|
|
485
485
|
}>, z.ZodObject<{
|
|
486
486
|
op: z.ZodLiteral<"transfer">;
|
|
487
|
-
to: z.ZodObject<{
|
|
487
|
+
to: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
488
488
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
489
489
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
490
490
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -493,16 +493,16 @@ export declare const MarkSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
493
493
|
}, {
|
|
494
494
|
name_or_address?: string | undefined;
|
|
495
495
|
local_mark_first?: boolean | undefined;
|
|
496
|
-
}>;
|
|
496
|
+
}>]>;
|
|
497
497
|
}, "strict", z.ZodTypeAny, {
|
|
498
498
|
op: "transfer";
|
|
499
|
-
to: {
|
|
499
|
+
to: string | {
|
|
500
500
|
name_or_address?: string | undefined;
|
|
501
501
|
local_mark_first?: boolean | undefined;
|
|
502
502
|
};
|
|
503
503
|
}, {
|
|
504
504
|
op: "transfer";
|
|
505
|
-
to: {
|
|
505
|
+
to: string | {
|
|
506
506
|
name_or_address?: string | undefined;
|
|
507
507
|
local_mark_first?: boolean | undefined;
|
|
508
508
|
};
|
|
@@ -524,7 +524,7 @@ export declare const MarkSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
524
524
|
}>]>;
|
|
525
525
|
export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
526
526
|
description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
527
|
-
referrer: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
527
|
+
referrer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
528
528
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
529
529
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
530
530
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -615,7 +615,7 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
615
615
|
mark: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
616
616
|
op: z.ZodLiteral<"add">;
|
|
617
617
|
data: z.ZodArray<z.ZodObject<{
|
|
618
|
-
address: z.ZodObject<{
|
|
618
|
+
address: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
619
619
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
620
620
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
621
621
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -624,18 +624,18 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
624
624
|
}, {
|
|
625
625
|
name_or_address?: string | undefined;
|
|
626
626
|
local_mark_first?: boolean | undefined;
|
|
627
|
-
}>;
|
|
627
|
+
}>]>;
|
|
628
628
|
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
629
629
|
tags: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
630
630
|
}, "strict", z.ZodTypeAny, {
|
|
631
|
-
address: {
|
|
631
|
+
address: string | {
|
|
632
632
|
name_or_address?: string | undefined;
|
|
633
633
|
local_mark_first?: boolean | undefined;
|
|
634
634
|
};
|
|
635
635
|
name?: string | undefined;
|
|
636
636
|
tags?: string[] | undefined;
|
|
637
637
|
}, {
|
|
638
|
-
address: {
|
|
638
|
+
address: string | {
|
|
639
639
|
name_or_address?: string | undefined;
|
|
640
640
|
local_mark_first?: boolean | undefined;
|
|
641
641
|
};
|
|
@@ -644,7 +644,7 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
644
644
|
}>, "many">;
|
|
645
645
|
}, "strict", z.ZodTypeAny, {
|
|
646
646
|
data: {
|
|
647
|
-
address: {
|
|
647
|
+
address: string | {
|
|
648
648
|
name_or_address?: string | undefined;
|
|
649
649
|
local_mark_first?: boolean | undefined;
|
|
650
650
|
};
|
|
@@ -654,7 +654,7 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
654
654
|
op: "add";
|
|
655
655
|
}, {
|
|
656
656
|
data: {
|
|
657
|
-
address: {
|
|
657
|
+
address: string | {
|
|
658
658
|
name_or_address?: string | undefined;
|
|
659
659
|
local_mark_first?: boolean | undefined;
|
|
660
660
|
};
|
|
@@ -665,7 +665,7 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
665
665
|
}>, z.ZodObject<{
|
|
666
666
|
op: z.ZodLiteral<"remove">;
|
|
667
667
|
data: z.ZodArray<z.ZodObject<{
|
|
668
|
-
address: z.ZodObject<{
|
|
668
|
+
address: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
669
669
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
670
670
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
671
671
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -674,16 +674,16 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
674
674
|
}, {
|
|
675
675
|
name_or_address?: string | undefined;
|
|
676
676
|
local_mark_first?: boolean | undefined;
|
|
677
|
-
}>;
|
|
677
|
+
}>]>;
|
|
678
678
|
tags: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
679
679
|
}, "strict", z.ZodTypeAny, {
|
|
680
|
-
address: {
|
|
680
|
+
address: string | {
|
|
681
681
|
name_or_address?: string | undefined;
|
|
682
682
|
local_mark_first?: boolean | undefined;
|
|
683
683
|
};
|
|
684
684
|
tags?: string[] | undefined;
|
|
685
685
|
}, {
|
|
686
|
-
address: {
|
|
686
|
+
address: string | {
|
|
687
687
|
name_or_address?: string | undefined;
|
|
688
688
|
local_mark_first?: boolean | undefined;
|
|
689
689
|
};
|
|
@@ -691,7 +691,7 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
691
691
|
}>, "many">;
|
|
692
692
|
}, "strict", z.ZodTypeAny, {
|
|
693
693
|
data: {
|
|
694
|
-
address: {
|
|
694
|
+
address: string | {
|
|
695
695
|
name_or_address?: string | undefined;
|
|
696
696
|
local_mark_first?: boolean | undefined;
|
|
697
697
|
};
|
|
@@ -700,7 +700,7 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
700
700
|
op: "remove";
|
|
701
701
|
}, {
|
|
702
702
|
data: {
|
|
703
|
-
address: {
|
|
703
|
+
address: string | {
|
|
704
704
|
name_or_address?: string | undefined;
|
|
705
705
|
local_mark_first?: boolean | undefined;
|
|
706
706
|
};
|
|
@@ -709,7 +709,7 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
709
709
|
op: "remove";
|
|
710
710
|
}>, z.ZodObject<{
|
|
711
711
|
op: z.ZodLiteral<"clear">;
|
|
712
|
-
address: z.ZodObject<{
|
|
712
|
+
address: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
713
713
|
entities: z.ZodArray<z.ZodObject<{
|
|
714
714
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
715
715
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -733,7 +733,7 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
733
733
|
local_mark_first?: boolean | undefined;
|
|
734
734
|
}[];
|
|
735
735
|
check_all_founded?: boolean | undefined;
|
|
736
|
-
}>;
|
|
736
|
+
}>]>;
|
|
737
737
|
}, "strict", z.ZodTypeAny, {
|
|
738
738
|
address: {
|
|
739
739
|
entities: {
|
|
@@ -741,7 +741,7 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
741
741
|
local_mark_first?: boolean | undefined;
|
|
742
742
|
}[];
|
|
743
743
|
check_all_founded?: boolean | undefined;
|
|
744
|
-
};
|
|
744
|
+
} | string[];
|
|
745
745
|
op: "clear";
|
|
746
746
|
}, {
|
|
747
747
|
address: {
|
|
@@ -750,11 +750,11 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
750
750
|
local_mark_first?: boolean | undefined;
|
|
751
751
|
}[];
|
|
752
752
|
check_all_founded?: boolean | undefined;
|
|
753
|
-
};
|
|
753
|
+
} | string[];
|
|
754
754
|
op: "clear";
|
|
755
755
|
}>, z.ZodObject<{
|
|
756
756
|
op: z.ZodLiteral<"transfer">;
|
|
757
|
-
to: z.ZodObject<{
|
|
757
|
+
to: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
758
758
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
759
759
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
760
760
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -763,16 +763,16 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
763
763
|
}, {
|
|
764
764
|
name_or_address?: string | undefined;
|
|
765
765
|
local_mark_first?: boolean | undefined;
|
|
766
|
-
}>;
|
|
766
|
+
}>]>;
|
|
767
767
|
}, "strict", z.ZodTypeAny, {
|
|
768
768
|
op: "transfer";
|
|
769
|
-
to: {
|
|
769
|
+
to: string | {
|
|
770
770
|
name_or_address?: string | undefined;
|
|
771
771
|
local_mark_first?: boolean | undefined;
|
|
772
772
|
};
|
|
773
773
|
}, {
|
|
774
774
|
op: "transfer";
|
|
775
|
-
to: {
|
|
775
|
+
to: string | {
|
|
776
776
|
name_or_address?: string | undefined;
|
|
777
777
|
local_mark_first?: boolean | undefined;
|
|
778
778
|
};
|
|
@@ -794,7 +794,7 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
794
794
|
}>]>>;
|
|
795
795
|
}, "strict", z.ZodTypeAny, {
|
|
796
796
|
description?: string | undefined;
|
|
797
|
-
referrer?: {
|
|
797
|
+
referrer?: string | {
|
|
798
798
|
name_or_address?: string | undefined;
|
|
799
799
|
local_mark_first?: boolean | undefined;
|
|
800
800
|
} | null | undefined;
|
|
@@ -813,7 +813,7 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
813
813
|
} | undefined;
|
|
814
814
|
mark?: {
|
|
815
815
|
data: {
|
|
816
|
-
address: {
|
|
816
|
+
address: string | {
|
|
817
817
|
name_or_address?: string | undefined;
|
|
818
818
|
local_mark_first?: boolean | undefined;
|
|
819
819
|
};
|
|
@@ -823,7 +823,7 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
823
823
|
op: "add";
|
|
824
824
|
} | {
|
|
825
825
|
data: {
|
|
826
|
-
address: {
|
|
826
|
+
address: string | {
|
|
827
827
|
name_or_address?: string | undefined;
|
|
828
828
|
local_mark_first?: boolean | undefined;
|
|
829
829
|
};
|
|
@@ -837,11 +837,11 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
837
837
|
local_mark_first?: boolean | undefined;
|
|
838
838
|
}[];
|
|
839
839
|
check_all_founded?: boolean | undefined;
|
|
840
|
-
};
|
|
840
|
+
} | string[];
|
|
841
841
|
op: "clear";
|
|
842
842
|
} | {
|
|
843
843
|
op: "transfer";
|
|
844
|
-
to: {
|
|
844
|
+
to: string | {
|
|
845
845
|
name_or_address?: string | undefined;
|
|
846
846
|
local_mark_first?: boolean | undefined;
|
|
847
847
|
};
|
|
@@ -853,7 +853,7 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
853
853
|
} | undefined;
|
|
854
854
|
}, {
|
|
855
855
|
description?: string | undefined;
|
|
856
|
-
referrer?: {
|
|
856
|
+
referrer?: string | {
|
|
857
857
|
name_or_address?: string | undefined;
|
|
858
858
|
local_mark_first?: boolean | undefined;
|
|
859
859
|
} | null | undefined;
|
|
@@ -872,7 +872,7 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
872
872
|
} | undefined;
|
|
873
873
|
mark?: {
|
|
874
874
|
data: {
|
|
875
|
-
address: {
|
|
875
|
+
address: string | {
|
|
876
876
|
name_or_address?: string | undefined;
|
|
877
877
|
local_mark_first?: boolean | undefined;
|
|
878
878
|
};
|
|
@@ -882,7 +882,7 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
882
882
|
op: "add";
|
|
883
883
|
} | {
|
|
884
884
|
data: {
|
|
885
|
-
address: {
|
|
885
|
+
address: string | {
|
|
886
886
|
name_or_address?: string | undefined;
|
|
887
887
|
local_mark_first?: boolean | undefined;
|
|
888
888
|
};
|
|
@@ -896,11 +896,11 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
896
896
|
local_mark_first?: boolean | undefined;
|
|
897
897
|
}[];
|
|
898
898
|
check_all_founded?: boolean | undefined;
|
|
899
|
-
};
|
|
899
|
+
} | string[];
|
|
900
900
|
op: "clear";
|
|
901
901
|
} | {
|
|
902
902
|
op: "transfer";
|
|
903
|
-
to: {
|
|
903
|
+
to: string | {
|
|
904
904
|
name_or_address?: string | undefined;
|
|
905
905
|
local_mark_first?: boolean | undefined;
|
|
906
906
|
};
|
|
@@ -914,7 +914,7 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
914
914
|
export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
915
915
|
data: z.ZodObject<{
|
|
916
916
|
description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
917
|
-
referrer: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
917
|
+
referrer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
918
918
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
919
919
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
920
920
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1005,7 +1005,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1005
1005
|
mark: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
1006
1006
|
op: z.ZodLiteral<"add">;
|
|
1007
1007
|
data: z.ZodArray<z.ZodObject<{
|
|
1008
|
-
address: z.ZodObject<{
|
|
1008
|
+
address: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1009
1009
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1010
1010
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
1011
1011
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1014,18 +1014,18 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1014
1014
|
}, {
|
|
1015
1015
|
name_or_address?: string | undefined;
|
|
1016
1016
|
local_mark_first?: boolean | undefined;
|
|
1017
|
-
}>;
|
|
1017
|
+
}>]>;
|
|
1018
1018
|
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1019
1019
|
tags: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
1020
1020
|
}, "strict", z.ZodTypeAny, {
|
|
1021
|
-
address: {
|
|
1021
|
+
address: string | {
|
|
1022
1022
|
name_or_address?: string | undefined;
|
|
1023
1023
|
local_mark_first?: boolean | undefined;
|
|
1024
1024
|
};
|
|
1025
1025
|
name?: string | undefined;
|
|
1026
1026
|
tags?: string[] | undefined;
|
|
1027
1027
|
}, {
|
|
1028
|
-
address: {
|
|
1028
|
+
address: string | {
|
|
1029
1029
|
name_or_address?: string | undefined;
|
|
1030
1030
|
local_mark_first?: boolean | undefined;
|
|
1031
1031
|
};
|
|
@@ -1034,7 +1034,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1034
1034
|
}>, "many">;
|
|
1035
1035
|
}, "strict", z.ZodTypeAny, {
|
|
1036
1036
|
data: {
|
|
1037
|
-
address: {
|
|
1037
|
+
address: string | {
|
|
1038
1038
|
name_or_address?: string | undefined;
|
|
1039
1039
|
local_mark_first?: boolean | undefined;
|
|
1040
1040
|
};
|
|
@@ -1044,7 +1044,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1044
1044
|
op: "add";
|
|
1045
1045
|
}, {
|
|
1046
1046
|
data: {
|
|
1047
|
-
address: {
|
|
1047
|
+
address: string | {
|
|
1048
1048
|
name_or_address?: string | undefined;
|
|
1049
1049
|
local_mark_first?: boolean | undefined;
|
|
1050
1050
|
};
|
|
@@ -1055,7 +1055,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1055
1055
|
}>, z.ZodObject<{
|
|
1056
1056
|
op: z.ZodLiteral<"remove">;
|
|
1057
1057
|
data: z.ZodArray<z.ZodObject<{
|
|
1058
|
-
address: z.ZodObject<{
|
|
1058
|
+
address: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1059
1059
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1060
1060
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
1061
1061
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1064,16 +1064,16 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1064
1064
|
}, {
|
|
1065
1065
|
name_or_address?: string | undefined;
|
|
1066
1066
|
local_mark_first?: boolean | undefined;
|
|
1067
|
-
}>;
|
|
1067
|
+
}>]>;
|
|
1068
1068
|
tags: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
1069
1069
|
}, "strict", z.ZodTypeAny, {
|
|
1070
|
-
address: {
|
|
1070
|
+
address: string | {
|
|
1071
1071
|
name_or_address?: string | undefined;
|
|
1072
1072
|
local_mark_first?: boolean | undefined;
|
|
1073
1073
|
};
|
|
1074
1074
|
tags?: string[] | undefined;
|
|
1075
1075
|
}, {
|
|
1076
|
-
address: {
|
|
1076
|
+
address: string | {
|
|
1077
1077
|
name_or_address?: string | undefined;
|
|
1078
1078
|
local_mark_first?: boolean | undefined;
|
|
1079
1079
|
};
|
|
@@ -1081,7 +1081,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1081
1081
|
}>, "many">;
|
|
1082
1082
|
}, "strict", z.ZodTypeAny, {
|
|
1083
1083
|
data: {
|
|
1084
|
-
address: {
|
|
1084
|
+
address: string | {
|
|
1085
1085
|
name_or_address?: string | undefined;
|
|
1086
1086
|
local_mark_first?: boolean | undefined;
|
|
1087
1087
|
};
|
|
@@ -1090,7 +1090,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1090
1090
|
op: "remove";
|
|
1091
1091
|
}, {
|
|
1092
1092
|
data: {
|
|
1093
|
-
address: {
|
|
1093
|
+
address: string | {
|
|
1094
1094
|
name_or_address?: string | undefined;
|
|
1095
1095
|
local_mark_first?: boolean | undefined;
|
|
1096
1096
|
};
|
|
@@ -1099,7 +1099,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1099
1099
|
op: "remove";
|
|
1100
1100
|
}>, z.ZodObject<{
|
|
1101
1101
|
op: z.ZodLiteral<"clear">;
|
|
1102
|
-
address: z.ZodObject<{
|
|
1102
|
+
address: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
1103
1103
|
entities: z.ZodArray<z.ZodObject<{
|
|
1104
1104
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1105
1105
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1123,7 +1123,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1123
1123
|
local_mark_first?: boolean | undefined;
|
|
1124
1124
|
}[];
|
|
1125
1125
|
check_all_founded?: boolean | undefined;
|
|
1126
|
-
}>;
|
|
1126
|
+
}>]>;
|
|
1127
1127
|
}, "strict", z.ZodTypeAny, {
|
|
1128
1128
|
address: {
|
|
1129
1129
|
entities: {
|
|
@@ -1131,7 +1131,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1131
1131
|
local_mark_first?: boolean | undefined;
|
|
1132
1132
|
}[];
|
|
1133
1133
|
check_all_founded?: boolean | undefined;
|
|
1134
|
-
};
|
|
1134
|
+
} | string[];
|
|
1135
1135
|
op: "clear";
|
|
1136
1136
|
}, {
|
|
1137
1137
|
address: {
|
|
@@ -1140,11 +1140,11 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1140
1140
|
local_mark_first?: boolean | undefined;
|
|
1141
1141
|
}[];
|
|
1142
1142
|
check_all_founded?: boolean | undefined;
|
|
1143
|
-
};
|
|
1143
|
+
} | string[];
|
|
1144
1144
|
op: "clear";
|
|
1145
1145
|
}>, z.ZodObject<{
|
|
1146
1146
|
op: z.ZodLiteral<"transfer">;
|
|
1147
|
-
to: z.ZodObject<{
|
|
1147
|
+
to: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1148
1148
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1149
1149
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
1150
1150
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1153,16 +1153,16 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1153
1153
|
}, {
|
|
1154
1154
|
name_or_address?: string | undefined;
|
|
1155
1155
|
local_mark_first?: boolean | undefined;
|
|
1156
|
-
}>;
|
|
1156
|
+
}>]>;
|
|
1157
1157
|
}, "strict", z.ZodTypeAny, {
|
|
1158
1158
|
op: "transfer";
|
|
1159
|
-
to: {
|
|
1159
|
+
to: string | {
|
|
1160
1160
|
name_or_address?: string | undefined;
|
|
1161
1161
|
local_mark_first?: boolean | undefined;
|
|
1162
1162
|
};
|
|
1163
1163
|
}, {
|
|
1164
1164
|
op: "transfer";
|
|
1165
|
-
to: {
|
|
1165
|
+
to: string | {
|
|
1166
1166
|
name_or_address?: string | undefined;
|
|
1167
1167
|
local_mark_first?: boolean | undefined;
|
|
1168
1168
|
};
|
|
@@ -1184,7 +1184,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1184
1184
|
}>]>>;
|
|
1185
1185
|
}, "strict", z.ZodTypeAny, {
|
|
1186
1186
|
description?: string | undefined;
|
|
1187
|
-
referrer?: {
|
|
1187
|
+
referrer?: string | {
|
|
1188
1188
|
name_or_address?: string | undefined;
|
|
1189
1189
|
local_mark_first?: boolean | undefined;
|
|
1190
1190
|
} | null | undefined;
|
|
@@ -1203,7 +1203,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1203
1203
|
} | undefined;
|
|
1204
1204
|
mark?: {
|
|
1205
1205
|
data: {
|
|
1206
|
-
address: {
|
|
1206
|
+
address: string | {
|
|
1207
1207
|
name_or_address?: string | undefined;
|
|
1208
1208
|
local_mark_first?: boolean | undefined;
|
|
1209
1209
|
};
|
|
@@ -1213,7 +1213,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1213
1213
|
op: "add";
|
|
1214
1214
|
} | {
|
|
1215
1215
|
data: {
|
|
1216
|
-
address: {
|
|
1216
|
+
address: string | {
|
|
1217
1217
|
name_or_address?: string | undefined;
|
|
1218
1218
|
local_mark_first?: boolean | undefined;
|
|
1219
1219
|
};
|
|
@@ -1227,11 +1227,11 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1227
1227
|
local_mark_first?: boolean | undefined;
|
|
1228
1228
|
}[];
|
|
1229
1229
|
check_all_founded?: boolean | undefined;
|
|
1230
|
-
};
|
|
1230
|
+
} | string[];
|
|
1231
1231
|
op: "clear";
|
|
1232
1232
|
} | {
|
|
1233
1233
|
op: "transfer";
|
|
1234
|
-
to: {
|
|
1234
|
+
to: string | {
|
|
1235
1235
|
name_or_address?: string | undefined;
|
|
1236
1236
|
local_mark_first?: boolean | undefined;
|
|
1237
1237
|
};
|
|
@@ -1243,7 +1243,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1243
1243
|
} | undefined;
|
|
1244
1244
|
}, {
|
|
1245
1245
|
description?: string | undefined;
|
|
1246
|
-
referrer?: {
|
|
1246
|
+
referrer?: string | {
|
|
1247
1247
|
name_or_address?: string | undefined;
|
|
1248
1248
|
local_mark_first?: boolean | undefined;
|
|
1249
1249
|
} | null | undefined;
|
|
@@ -1262,7 +1262,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1262
1262
|
} | undefined;
|
|
1263
1263
|
mark?: {
|
|
1264
1264
|
data: {
|
|
1265
|
-
address: {
|
|
1265
|
+
address: string | {
|
|
1266
1266
|
name_or_address?: string | undefined;
|
|
1267
1267
|
local_mark_first?: boolean | undefined;
|
|
1268
1268
|
};
|
|
@@ -1272,7 +1272,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1272
1272
|
op: "add";
|
|
1273
1273
|
} | {
|
|
1274
1274
|
data: {
|
|
1275
|
-
address: {
|
|
1275
|
+
address: string | {
|
|
1276
1276
|
name_or_address?: string | undefined;
|
|
1277
1277
|
local_mark_first?: boolean | undefined;
|
|
1278
1278
|
};
|
|
@@ -1286,11 +1286,11 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1286
1286
|
local_mark_first?: boolean | undefined;
|
|
1287
1287
|
}[];
|
|
1288
1288
|
check_all_founded?: boolean | undefined;
|
|
1289
|
-
};
|
|
1289
|
+
} | string[];
|
|
1290
1290
|
op: "clear";
|
|
1291
1291
|
} | {
|
|
1292
1292
|
op: "transfer";
|
|
1293
|
-
to: {
|
|
1293
|
+
to: string | {
|
|
1294
1294
|
name_or_address?: string | undefined;
|
|
1295
1295
|
local_mark_first?: boolean | undefined;
|
|
1296
1296
|
};
|
|
@@ -1323,7 +1323,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1323
1323
|
}, "strict", z.ZodTypeAny, {
|
|
1324
1324
|
data: {
|
|
1325
1325
|
description?: string | undefined;
|
|
1326
|
-
referrer?: {
|
|
1326
|
+
referrer?: string | {
|
|
1327
1327
|
name_or_address?: string | undefined;
|
|
1328
1328
|
local_mark_first?: boolean | undefined;
|
|
1329
1329
|
} | null | undefined;
|
|
@@ -1342,7 +1342,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1342
1342
|
} | undefined;
|
|
1343
1343
|
mark?: {
|
|
1344
1344
|
data: {
|
|
1345
|
-
address: {
|
|
1345
|
+
address: string | {
|
|
1346
1346
|
name_or_address?: string | undefined;
|
|
1347
1347
|
local_mark_first?: boolean | undefined;
|
|
1348
1348
|
};
|
|
@@ -1352,7 +1352,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1352
1352
|
op: "add";
|
|
1353
1353
|
} | {
|
|
1354
1354
|
data: {
|
|
1355
|
-
address: {
|
|
1355
|
+
address: string | {
|
|
1356
1356
|
name_or_address?: string | undefined;
|
|
1357
1357
|
local_mark_first?: boolean | undefined;
|
|
1358
1358
|
};
|
|
@@ -1366,11 +1366,11 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1366
1366
|
local_mark_first?: boolean | undefined;
|
|
1367
1367
|
}[];
|
|
1368
1368
|
check_all_founded?: boolean | undefined;
|
|
1369
|
-
};
|
|
1369
|
+
} | string[];
|
|
1370
1370
|
op: "clear";
|
|
1371
1371
|
} | {
|
|
1372
1372
|
op: "transfer";
|
|
1373
|
-
to: {
|
|
1373
|
+
to: string | {
|
|
1374
1374
|
name_or_address?: string | undefined;
|
|
1375
1375
|
local_mark_first?: boolean | undefined;
|
|
1376
1376
|
};
|
|
@@ -1391,7 +1391,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1391
1391
|
}, {
|
|
1392
1392
|
data: {
|
|
1393
1393
|
description?: string | undefined;
|
|
1394
|
-
referrer?: {
|
|
1394
|
+
referrer?: string | {
|
|
1395
1395
|
name_or_address?: string | undefined;
|
|
1396
1396
|
local_mark_first?: boolean | undefined;
|
|
1397
1397
|
} | null | undefined;
|
|
@@ -1410,7 +1410,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1410
1410
|
} | undefined;
|
|
1411
1411
|
mark?: {
|
|
1412
1412
|
data: {
|
|
1413
|
-
address: {
|
|
1413
|
+
address: string | {
|
|
1414
1414
|
name_or_address?: string | undefined;
|
|
1415
1415
|
local_mark_first?: boolean | undefined;
|
|
1416
1416
|
};
|
|
@@ -1420,7 +1420,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1420
1420
|
op: "add";
|
|
1421
1421
|
} | {
|
|
1422
1422
|
data: {
|
|
1423
|
-
address: {
|
|
1423
|
+
address: string | {
|
|
1424
1424
|
name_or_address?: string | undefined;
|
|
1425
1425
|
local_mark_first?: boolean | undefined;
|
|
1426
1426
|
};
|
|
@@ -1434,11 +1434,11 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1434
1434
|
local_mark_first?: boolean | undefined;
|
|
1435
1435
|
}[];
|
|
1436
1436
|
check_all_founded?: boolean | undefined;
|
|
1437
|
-
};
|
|
1437
|
+
} | string[];
|
|
1438
1438
|
op: "clear";
|
|
1439
1439
|
} | {
|
|
1440
1440
|
op: "transfer";
|
|
1441
|
-
to: {
|
|
1441
|
+
to: string | {
|
|
1442
1442
|
name_or_address?: string | undefined;
|
|
1443
1443
|
local_mark_first?: boolean | undefined;
|
|
1444
1444
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { AccountOrMark_AddressSchema, DescriptionSchema,
|
|
2
|
+
import { AccountOrMark_AddressAISchema, AccountOrMark_AddressSchema, DescriptionSchema, ManyAccountOrMark_AddressAISchema, NameSchema } from "../common/index.js";
|
|
3
3
|
import { RecordsInEntitySchema } from "../query/index.js";
|
|
4
4
|
import { CallEnvSchema } from "./base.js";
|
|
5
5
|
// 定义information的add操作 schema
|
|
@@ -26,7 +26,7 @@ export const InformationSchema = z.discriminatedUnion("op", [
|
|
|
26
26
|
export const MarkAddSchema = z.object({
|
|
27
27
|
op: z.literal("add"),
|
|
28
28
|
data: z.array(z.object({
|
|
29
|
-
address:
|
|
29
|
+
address: AccountOrMark_AddressAISchema,
|
|
30
30
|
name: NameSchema.optional(),
|
|
31
31
|
tags: z.array(NameSchema).optional()
|
|
32
32
|
}).strict()),
|
|
@@ -35,19 +35,19 @@ export const MarkAddSchema = z.object({
|
|
|
35
35
|
export const MarkRemoveSchema = z.object({
|
|
36
36
|
op: z.literal("remove"),
|
|
37
37
|
data: z.array(z.object({
|
|
38
|
-
address:
|
|
38
|
+
address: AccountOrMark_AddressAISchema,
|
|
39
39
|
tags: z.array(NameSchema).optional()
|
|
40
40
|
}).strict())
|
|
41
41
|
}).strict().describe("PUBLIC: Remove specified tags from your on-chain identity mark.");
|
|
42
42
|
// 定义mark的clear操作 schema
|
|
43
43
|
export const MarkClearSchema = z.object({
|
|
44
44
|
op: z.literal("clear"),
|
|
45
|
-
address:
|
|
45
|
+
address: ManyAccountOrMark_AddressAISchema
|
|
46
46
|
}).strict().describe("PUBLIC: Clear ALL tags from specified on-chain identity marks.");
|
|
47
47
|
// 定义mark的transfer操作 schema
|
|
48
48
|
export const MarkTransferSchema = z.object({
|
|
49
49
|
op: z.literal("transfer"),
|
|
50
|
-
to:
|
|
50
|
+
to: AccountOrMark_AddressAISchema
|
|
51
51
|
}).strict().describe("PUBLIC: Transfer your on-chain identity mark to another address.");
|
|
52
52
|
// 定义mark的replace操作 schema
|
|
53
53
|
export const MarkReplaceSchema = z.object({
|
|
@@ -70,7 +70,7 @@ export const MarkSchema = z.discriminatedUnion("op", [
|
|
|
70
70
|
// 定义CallPersonal_Data schema
|
|
71
71
|
export const CallPersonal_DataSchema = z.object({
|
|
72
72
|
description: DescriptionSchema.optional(),
|
|
73
|
-
referrer: z.union([AccountOrMark_AddressSchema, z.null()]).optional().describe("Referrer ID for joining the on-chain network."),
|
|
73
|
+
referrer: z.union([z.string(), AccountOrMark_AddressSchema, z.null()]).optional().describe("Referrer ID (name or address) for joining the on-chain network."),
|
|
74
74
|
information: InformationSchema.optional().describe("PUBLIC: Personal info on-chain. Safe: social handles, URLs. NEVER: phone, address, private keys."),
|
|
75
75
|
mark: MarkSchema.optional().describe("PUBLIC: On-chain identity mark. For PRIVATE marks, use 'local' tool.")
|
|
76
76
|
}).strict();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wowok_agent",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.27",
|
|
4
4
|
"description": "Making It Easy for Agents to Communicate, Collaborate, Trade, and Trust.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
32
32
|
"lodash": "^4.18.1",
|
|
33
|
-
"wowok": "2.1.
|
|
33
|
+
"wowok": "2.1.27",
|
|
34
34
|
"zod": "^3.25.76"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|