@prosopo/types 3.5.11 → 3.6.3

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.
Files changed (97) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/dist/api/api.js +1 -2
  3. package/dist/api/index.js +6 -4
  4. package/dist/api/ipapi.js +1 -2
  5. package/dist/api/params.js +46 -44
  6. package/dist/cjs/client/index.cjs +1 -0
  7. package/dist/cjs/client/settings.cjs +7 -1
  8. package/dist/cjs/config/config.cjs +5 -1
  9. package/dist/cjs/index.cjs +1 -0
  10. package/dist/cjs/provider/scheduler.cjs +1 -0
  11. package/dist/client/captchaType/captchaType.js +11 -9
  12. package/dist/client/captchaType/captchaTypeSpec.js +3 -2
  13. package/dist/client/index.js +30 -5
  14. package/dist/client/settings.d.ts +21 -2
  15. package/dist/client/settings.d.ts.map +1 -1
  16. package/dist/client/settings.js +89 -66
  17. package/dist/client/user.js +31 -18
  18. package/dist/config/config.d.ts +22 -0
  19. package/dist/config/config.d.ts.map +1 -1
  20. package/dist/config/config.js +185 -166
  21. package/dist/config/frictionless.js +17 -23
  22. package/dist/config/index.js +37 -5
  23. package/dist/config/network.js +9 -7
  24. package/dist/config/timeouts.js +19 -10
  25. package/dist/datasets/assets.js +1 -2
  26. package/dist/datasets/captcha.d.ts +14 -14
  27. package/dist/datasets/captcha.js +122 -94
  28. package/dist/datasets/dataset.d.ts +18 -18
  29. package/dist/datasets/dataset.js +28 -23
  30. package/dist/datasets/index.js +36 -5
  31. package/dist/datasets/merkle.js +1 -2
  32. package/dist/index.js +149 -10
  33. package/dist/keyring/index.js +2 -3
  34. package/dist/keyring/keyring/types.js +1 -2
  35. package/dist/keyring/pair/types.js +1 -2
  36. package/dist/procaptcha/api.js +1 -2
  37. package/dist/procaptcha/client.js +1 -2
  38. package/dist/procaptcha/collector.js +1 -2
  39. package/dist/procaptcha/index.js +19 -8
  40. package/dist/procaptcha/manager.js +7 -4
  41. package/dist/procaptcha/props.js +1 -2
  42. package/dist/procaptcha/token.js +77 -62
  43. package/dist/procaptcha/utils.js +1 -2
  44. package/dist/procaptcha-bundle/index.js +1 -2
  45. package/dist/procaptcha-frictionless/index.js +1 -2
  46. package/dist/procaptcha-frictionless/props.js +1 -2
  47. package/dist/provider/accounts.js +1 -2
  48. package/dist/provider/api.d.ts +29 -3
  49. package/dist/provider/api.d.ts.map +1 -1
  50. package/dist/provider/api.js +245 -176
  51. package/dist/provider/detection.js +1 -2
  52. package/dist/provider/index.js +33 -5
  53. package/dist/provider/scheduler.d.ts +2 -1
  54. package/dist/provider/scheduler.d.ts.map +1 -1
  55. package/dist/provider/scheduler.js +19 -15
  56. package/package.json +7 -7
  57. package/dist/api/api.js.map +0 -1
  58. package/dist/api/index.js.map +0 -1
  59. package/dist/api/ipapi.js.map +0 -1
  60. package/dist/api/params.js.map +0 -1
  61. package/dist/client/captchaType/captchaType.js.map +0 -1
  62. package/dist/client/captchaType/captchaTypeSpec.js.map +0 -1
  63. package/dist/client/index.js.map +0 -1
  64. package/dist/client/settings.js.map +0 -1
  65. package/dist/client/user.js.map +0 -1
  66. package/dist/config/config.js.map +0 -1
  67. package/dist/config/enumMap.js +0 -6
  68. package/dist/config/enumMap.js.map +0 -1
  69. package/dist/config/frictionless.js.map +0 -1
  70. package/dist/config/index.js.map +0 -1
  71. package/dist/config/network.js.map +0 -1
  72. package/dist/config/timeouts.js.map +0 -1
  73. package/dist/datasets/assets.js.map +0 -1
  74. package/dist/datasets/captcha.js.map +0 -1
  75. package/dist/datasets/dataset.js.map +0 -1
  76. package/dist/datasets/index.js.map +0 -1
  77. package/dist/datasets/merkle.js.map +0 -1
  78. package/dist/index.js.map +0 -1
  79. package/dist/keyring/index.js.map +0 -1
  80. package/dist/keyring/keyring/types.js.map +0 -1
  81. package/dist/keyring/pair/types.js.map +0 -1
  82. package/dist/procaptcha/api.js.map +0 -1
  83. package/dist/procaptcha/client.js.map +0 -1
  84. package/dist/procaptcha/collector.js.map +0 -1
  85. package/dist/procaptcha/index.js.map +0 -1
  86. package/dist/procaptcha/manager.js.map +0 -1
  87. package/dist/procaptcha/props.js.map +0 -1
  88. package/dist/procaptcha/token.js.map +0 -1
  89. package/dist/procaptcha/utils.js.map +0 -1
  90. package/dist/procaptcha-bundle/index.js.map +0 -1
  91. package/dist/procaptcha-frictionless/index.js.map +0 -1
  92. package/dist/procaptcha-frictionless/props.js.map +0 -1
  93. package/dist/provider/accounts.js.map +0 -1
  94. package/dist/provider/api.js.map +0 -1
  95. package/dist/provider/detection.js.map +0 -1
  96. package/dist/provider/index.js.map +0 -1
  97. package/dist/provider/scheduler.js.map +0 -1
@@ -223,12 +223,12 @@ export declare const SelectAllCaptchaSchemaRaw: import("zod").ZodObject<import("
223
223
  }>, "many">;
224
224
  target: import("zod").ZodString;
225
225
  }>, "strip", import("zod").ZodTypeAny, {
226
- salt: string;
227
226
  items: {
228
227
  type: CaptchaItemTypes;
229
228
  hash: string;
230
229
  data: string;
231
230
  }[];
231
+ salt: string;
232
232
  target: string;
233
233
  captchaId?: string | undefined;
234
234
  captchaContentId?: string | undefined;
@@ -236,12 +236,12 @@ export declare const SelectAllCaptchaSchemaRaw: import("zod").ZodObject<import("
236
236
  unlabelled?: number[] | undefined;
237
237
  timeLimit?: number | undefined;
238
238
  }, {
239
- salt: string;
240
239
  items: {
241
240
  type: CaptchaItemTypes;
242
241
  hash: string;
243
242
  data: string;
244
243
  }[];
244
+ salt: string;
245
245
  target: string;
246
246
  captchaId?: string | undefined;
247
247
  captchaContentId?: string | undefined;
@@ -275,12 +275,12 @@ export declare const SelectAllCaptchaSchema: import("zod").ZodObject<import("zod
275
275
  solution: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
276
276
  unlabelled: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
277
277
  }>, "strip", import("zod").ZodTypeAny, {
278
- salt: string;
279
278
  items: {
280
279
  type: CaptchaItemTypes;
281
280
  hash: string;
282
281
  data: string;
283
282
  }[];
283
+ salt: string;
284
284
  target: string;
285
285
  captchaId?: string | undefined;
286
286
  captchaContentId?: string | undefined;
@@ -288,12 +288,12 @@ export declare const SelectAllCaptchaSchema: import("zod").ZodObject<import("zod
288
288
  unlabelled?: string[] | undefined;
289
289
  timeLimit?: number | undefined;
290
290
  }, {
291
- salt: string;
292
291
  items: {
293
292
  type: CaptchaItemTypes;
294
293
  hash: string;
295
294
  data: string;
296
295
  }[];
296
+ salt: string;
297
297
  target: string;
298
298
  captchaId?: string | undefined;
299
299
  captchaContentId?: string | undefined;
@@ -330,12 +330,12 @@ export declare const SelectAllCaptchaSchemaWithNumericSolution: import("zod").Zo
330
330
  solution: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber, "many">>;
331
331
  unlabelled: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber, "many">>;
332
332
  }>, "strip", import("zod").ZodTypeAny, {
333
- salt: string;
334
333
  items: {
335
334
  type: CaptchaItemTypes;
336
335
  hash: string;
337
336
  data: string;
338
337
  }[];
338
+ salt: string;
339
339
  target: string;
340
340
  captchaId?: string | undefined;
341
341
  captchaContentId?: string | undefined;
@@ -343,12 +343,12 @@ export declare const SelectAllCaptchaSchemaWithNumericSolution: import("zod").Zo
343
343
  unlabelled?: number[] | undefined;
344
344
  timeLimit?: number | undefined;
345
345
  }, {
346
- salt: string;
347
346
  items: {
348
347
  type: CaptchaItemTypes;
349
348
  hash: string;
350
349
  data: string;
351
350
  }[];
351
+ salt: string;
352
352
  target: string;
353
353
  captchaId?: string | undefined;
354
354
  captchaContentId?: string | undefined;
@@ -379,12 +379,12 @@ export declare const CaptchasSchema: import("zod").ZodArray<import("zod").ZodObj
379
379
  }>, "many">;
380
380
  target: import("zod").ZodString;
381
381
  }>, "strip", import("zod").ZodTypeAny, {
382
- salt: string;
383
382
  items: {
384
383
  type: CaptchaItemTypes;
385
384
  hash: string;
386
385
  data: string;
387
386
  }[];
387
+ salt: string;
388
388
  target: string;
389
389
  captchaId?: string | undefined;
390
390
  captchaContentId?: string | undefined;
@@ -392,12 +392,12 @@ export declare const CaptchasSchema: import("zod").ZodArray<import("zod").ZodObj
392
392
  unlabelled?: number[] | undefined;
393
393
  timeLimit?: number | undefined;
394
394
  }, {
395
- salt: string;
396
395
  items: {
397
396
  type: CaptchaItemTypes;
398
397
  hash: string;
399
398
  data: string;
400
399
  }[];
400
+ salt: string;
401
401
  target: string;
402
402
  captchaId?: string | undefined;
403
403
  captchaContentId?: string | undefined;
@@ -434,12 +434,12 @@ export declare const CaptchasWithNumericSolutionSchema: import("zod").ZodArray<i
434
434
  solution: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber, "many">>;
435
435
  unlabelled: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber, "many">>;
436
436
  }>, "strip", import("zod").ZodTypeAny, {
437
- salt: string;
438
437
  items: {
439
438
  type: CaptchaItemTypes;
440
439
  hash: string;
441
440
  data: string;
442
441
  }[];
442
+ salt: string;
443
443
  target: string;
444
444
  captchaId?: string | undefined;
445
445
  captchaContentId?: string | undefined;
@@ -447,12 +447,12 @@ export declare const CaptchasWithNumericSolutionSchema: import("zod").ZodArray<i
447
447
  unlabelled?: number[] | undefined;
448
448
  timeLimit?: number | undefined;
449
449
  }, {
450
- salt: string;
451
450
  items: {
452
451
  type: CaptchaItemTypes;
453
452
  hash: string;
454
453
  data: string;
455
454
  }[];
455
+ salt: string;
456
456
  target: string;
457
457
  captchaId?: string | undefined;
458
458
  captchaContentId?: string | undefined;
@@ -586,12 +586,12 @@ export declare const CaptchasContainerSchema: import("zod").ZodObject<{
586
586
  }>, "many">;
587
587
  target: import("zod").ZodString;
588
588
  }>, "strip", import("zod").ZodTypeAny, {
589
- salt: string;
590
589
  items: {
591
590
  type: CaptchaItemTypes;
592
591
  hash: string;
593
592
  data: string;
594
593
  }[];
594
+ salt: string;
595
595
  target: string;
596
596
  captchaId?: string | undefined;
597
597
  captchaContentId?: string | undefined;
@@ -599,12 +599,12 @@ export declare const CaptchasContainerSchema: import("zod").ZodObject<{
599
599
  unlabelled?: number[] | undefined;
600
600
  timeLimit?: number | undefined;
601
601
  }, {
602
- salt: string;
603
602
  items: {
604
603
  type: CaptchaItemTypes;
605
604
  hash: string;
606
605
  data: string;
607
606
  }[];
607
+ salt: string;
608
608
  target: string;
609
609
  captchaId?: string | undefined;
610
610
  captchaContentId?: string | undefined;
@@ -615,12 +615,12 @@ export declare const CaptchasContainerSchema: import("zod").ZodObject<{
615
615
  format: import("zod").ZodNativeEnum<typeof CaptchaTypes>;
616
616
  }, "strip", import("zod").ZodTypeAny, {
617
617
  captchas: {
618
- salt: string;
619
618
  items: {
620
619
  type: CaptchaItemTypes;
621
620
  hash: string;
622
621
  data: string;
623
622
  }[];
623
+ salt: string;
624
624
  target: string;
625
625
  captchaId?: string | undefined;
626
626
  captchaContentId?: string | undefined;
@@ -631,12 +631,12 @@ export declare const CaptchasContainerSchema: import("zod").ZodObject<{
631
631
  format: CaptchaTypes;
632
632
  }, {
633
633
  captchas: {
634
- salt: string;
635
634
  items: {
636
635
  type: CaptchaItemTypes;
637
636
  hash: string;
638
637
  data: string;
639
638
  }[];
639
+ salt: string;
640
640
  target: string;
641
641
  captchaId?: string | undefined;
642
642
  captchaContentId?: string | undefined;
@@ -1,108 +1,136 @@
1
- import { array, custom, nativeEnum, number, object, string, union, number as zNumber, undefined as zUndefined, } from "zod";
2
- export var CaptchaTypes;
3
- (function (CaptchaTypes) {
4
- CaptchaTypes["SelectAll"] = "SelectAll";
5
- })(CaptchaTypes || (CaptchaTypes = {}));
6
- export var CaptchaItemTypes;
7
- (function (CaptchaItemTypes) {
8
- CaptchaItemTypes["Text"] = "text";
9
- CaptchaItemTypes["Image"] = "image";
10
- })(CaptchaItemTypes || (CaptchaItemTypes = {}));
11
- export var CaptchaStates;
12
- (function (CaptchaStates) {
13
- CaptchaStates["Solved"] = "solved";
14
- CaptchaStates["Unsolved"] = "unsolved";
15
- })(CaptchaStates || (CaptchaStates = {}));
16
- export var CaptchaStatus;
17
- (function (CaptchaStatus) {
18
- CaptchaStatus["pending"] = "Pending";
19
- CaptchaStatus["approved"] = "Approved";
20
- CaptchaStatus["disapproved"] = "Disapproved";
21
- })(CaptchaStatus || (CaptchaStatus = {}));
22
- export var StoredStatusNames;
23
- (function (StoredStatusNames) {
24
- StoredStatusNames["notStored"] = "notStored";
25
- StoredStatusNames["userSubmitted"] = "userSubmitted";
26
- StoredStatusNames["serverChecked"] = "serverChecked";
27
- StoredStatusNames["stored"] = "stored";
28
- })(StoredStatusNames || (StoredStatusNames = {}));
29
- export var GovernanceStatus;
30
- (function (GovernanceStatus) {
31
- GovernanceStatus["active"] = "Active";
32
- GovernanceStatus["inactive"] = "Inactive";
33
- })(GovernanceStatus || (GovernanceStatus = {}));
34
- export var DappPayee;
35
- (function (DappPayee) {
36
- DappPayee["provider"] = "Provider";
37
- DappPayee["dapp"] = "Dapp";
38
- DappPayee["any"] = "Any";
39
- })(DappPayee || (DappPayee = {}));
40
- export const TimestampSchema = zNumber();
41
- export const POW_SEPARATOR = "___";
42
- export const PowChallengeIdSchema = custom((val) => {
43
- const valSplit = val.split(POW_SEPARATOR);
44
- try {
45
- Number.parseInt(valSplit[0]);
46
- return valSplit.length === 4;
47
- }
48
- catch (e) {
49
- return false;
50
- }
1
+ import { number, custom, object, string, union, undefined as _undefined, nativeEnum, array } from "zod";
2
+ var CaptchaTypes = /* @__PURE__ */ ((CaptchaTypes2) => {
3
+ CaptchaTypes2["SelectAll"] = "SelectAll";
4
+ return CaptchaTypes2;
5
+ })(CaptchaTypes || {});
6
+ var CaptchaItemTypes = /* @__PURE__ */ ((CaptchaItemTypes2) => {
7
+ CaptchaItemTypes2["Text"] = "text";
8
+ CaptchaItemTypes2["Image"] = "image";
9
+ return CaptchaItemTypes2;
10
+ })(CaptchaItemTypes || {});
11
+ var CaptchaStates = /* @__PURE__ */ ((CaptchaStates2) => {
12
+ CaptchaStates2["Solved"] = "solved";
13
+ CaptchaStates2["Unsolved"] = "unsolved";
14
+ return CaptchaStates2;
15
+ })(CaptchaStates || {});
16
+ var CaptchaStatus = /* @__PURE__ */ ((CaptchaStatus2) => {
17
+ CaptchaStatus2["pending"] = "Pending";
18
+ CaptchaStatus2["approved"] = "Approved";
19
+ CaptchaStatus2["disapproved"] = "Disapproved";
20
+ return CaptchaStatus2;
21
+ })(CaptchaStatus || {});
22
+ var StoredStatusNames = /* @__PURE__ */ ((StoredStatusNames2) => {
23
+ StoredStatusNames2["notStored"] = "notStored";
24
+ StoredStatusNames2["userSubmitted"] = "userSubmitted";
25
+ StoredStatusNames2["serverChecked"] = "serverChecked";
26
+ StoredStatusNames2["stored"] = "stored";
27
+ return StoredStatusNames2;
28
+ })(StoredStatusNames || {});
29
+ var GovernanceStatus = /* @__PURE__ */ ((GovernanceStatus2) => {
30
+ GovernanceStatus2["active"] = "Active";
31
+ GovernanceStatus2["inactive"] = "Inactive";
32
+ return GovernanceStatus2;
33
+ })(GovernanceStatus || {});
34
+ var DappPayee = /* @__PURE__ */ ((DappPayee2) => {
35
+ DappPayee2["provider"] = "Provider";
36
+ DappPayee2["dapp"] = "Dapp";
37
+ DappPayee2["any"] = "Any";
38
+ return DappPayee2;
39
+ })(DappPayee || {});
40
+ const TimestampSchema = number();
41
+ const POW_SEPARATOR = "___";
42
+ const PowChallengeIdSchema = custom((val) => {
43
+ const valSplit = val.split(POW_SEPARATOR);
44
+ try {
45
+ Number.parseInt(valSplit[0]);
46
+ return valSplit.length === 4;
47
+ } catch (e) {
48
+ return false;
49
+ }
51
50
  });
52
- export const CaptchaSchema = object({
53
- captchaId: union([string(), zUndefined()]),
54
- captchaContentId: union([string(), zUndefined()]),
55
- salt: string().min(34),
56
- solution: number().array().optional(),
57
- unlabelled: number().array().optional(),
58
- timeLimit: number().optional(),
51
+ const CaptchaSchema = object({
52
+ captchaId: union([string(), _undefined()]),
53
+ captchaContentId: union([string(), _undefined()]),
54
+ salt: string().min(34),
55
+ solution: number().array().optional(),
56
+ unlabelled: number().array().optional(),
57
+ timeLimit: number().optional()
59
58
  });
60
- export const CaptchaItemSchema = object({
61
- hash: string(),
62
- data: string(),
63
- type: nativeEnum(CaptchaItemTypes),
59
+ const CaptchaItemSchema = object({
60
+ hash: string(),
61
+ data: string(),
62
+ type: nativeEnum(CaptchaItemTypes)
64
63
  });
65
- export const HashedCaptchaItemSchema = CaptchaItemSchema.extend({
66
- hash: string(),
64
+ const HashedCaptchaItemSchema = CaptchaItemSchema.extend({
65
+ hash: string()
67
66
  });
68
- export const LabelledItemSchema = HashedCaptchaItemSchema.extend({
69
- label: string(),
67
+ const LabelledItemSchema = HashedCaptchaItemSchema.extend({
68
+ label: string()
70
69
  });
71
- export const MaybeLabelledHashedItemSchema = HashedCaptchaItemSchema.extend({
72
- label: string().optional(),
70
+ const MaybeLabelledHashedItemSchema = HashedCaptchaItemSchema.extend({
71
+ label: string().optional()
73
72
  });
74
- export const SelectAllCaptchaSchemaRaw = CaptchaSchema.extend({
75
- items: array(CaptchaItemSchema),
76
- target: string(),
73
+ const SelectAllCaptchaSchemaRaw = CaptchaSchema.extend({
74
+ items: array(CaptchaItemSchema),
75
+ target: string()
77
76
  });
78
- export const SelectAllCaptchaSchema = SelectAllCaptchaSchemaRaw.extend({
79
- solution: string().array().optional(),
80
- unlabelled: string().array().optional(),
77
+ const SelectAllCaptchaSchema = SelectAllCaptchaSchemaRaw.extend({
78
+ solution: string().array().optional(),
79
+ unlabelled: string().array().optional()
81
80
  });
82
- export const SelectAllCaptchaSchemaWithNumericSolution = SelectAllCaptchaSchema.extend({
83
- solution: number().array().optional(),
84
- unlabelled: number().array().optional(),
81
+ const SelectAllCaptchaSchemaWithNumericSolution = SelectAllCaptchaSchema.extend({
82
+ solution: number().array().optional(),
83
+ unlabelled: number().array().optional()
85
84
  });
86
- export const CaptchasSchema = array(SelectAllCaptchaSchemaRaw);
87
- export const CaptchasWithNumericSolutionSchema = array(SelectAllCaptchaSchemaWithNumericSolution);
88
- export const CaptchaSolutionSchema = object({
89
- captchaId: string(),
90
- captchaContentId: string(),
91
- solution: string().array(),
92
- salt: string(),
85
+ const CaptchasSchema = array(SelectAllCaptchaSchemaRaw);
86
+ const CaptchasWithNumericSolutionSchema = array(
87
+ SelectAllCaptchaSchemaWithNumericSolution
88
+ );
89
+ const CaptchaSolutionSchema = object({
90
+ captchaId: string(),
91
+ captchaContentId: string(),
92
+ solution: string().array(),
93
+ salt: string()
93
94
  });
94
- export const CaptchaSolutionArraySchema = array(CaptchaSolutionSchema);
95
- export const DataSchema = object({
96
- items: array(MaybeLabelledHashedItemSchema),
95
+ const CaptchaSolutionArraySchema = array(CaptchaSolutionSchema);
96
+ const DataSchema = object({
97
+ items: array(MaybeLabelledHashedItemSchema)
97
98
  });
98
- export const LabelledDataSchema = object({
99
- items: array(LabelledItemSchema),
99
+ const LabelledDataSchema = object({
100
+ items: array(LabelledItemSchema)
100
101
  });
101
- export const CaptchasContainerSchema = object({
102
- captchas: CaptchasSchema,
103
- format: nativeEnum(CaptchaTypes),
102
+ const CaptchasContainerSchema = object({
103
+ captchas: CaptchasSchema,
104
+ format: nativeEnum(CaptchaTypes)
104
105
  });
105
- export const LabelsContainerSchema = object({
106
- labels: array(string()),
106
+ const LabelsContainerSchema = object({
107
+ labels: array(string())
107
108
  });
108
- //# sourceMappingURL=captcha.js.map
109
+ export {
110
+ CaptchaItemSchema,
111
+ CaptchaItemTypes,
112
+ CaptchaSchema,
113
+ CaptchaSolutionArraySchema,
114
+ CaptchaSolutionSchema,
115
+ CaptchaStates,
116
+ CaptchaStatus,
117
+ CaptchaTypes,
118
+ CaptchasContainerSchema,
119
+ CaptchasSchema,
120
+ CaptchasWithNumericSolutionSchema,
121
+ DappPayee,
122
+ DataSchema,
123
+ GovernanceStatus,
124
+ HashedCaptchaItemSchema,
125
+ LabelledDataSchema,
126
+ LabelledItemSchema,
127
+ LabelsContainerSchema,
128
+ MaybeLabelledHashedItemSchema,
129
+ POW_SEPARATOR,
130
+ PowChallengeIdSchema,
131
+ SelectAllCaptchaSchema,
132
+ SelectAllCaptchaSchemaRaw,
133
+ SelectAllCaptchaSchemaWithNumericSolution,
134
+ StoredStatusNames,
135
+ TimestampSchema
136
+ };
@@ -50,12 +50,12 @@ export declare const DatasetSchema: import("zod").ZodObject<{
50
50
  }>, "many">;
51
51
  target: import("zod").ZodString;
52
52
  }>, "strip", import("zod").ZodTypeAny, {
53
- salt: string;
54
53
  items: {
55
54
  type: import("./captcha.js").CaptchaItemTypes;
56
55
  hash: string;
57
56
  data: string;
58
57
  }[];
58
+ salt: string;
59
59
  target: string;
60
60
  captchaId?: string | undefined;
61
61
  captchaContentId?: string | undefined;
@@ -63,12 +63,12 @@ export declare const DatasetSchema: import("zod").ZodObject<{
63
63
  unlabelled?: number[] | undefined;
64
64
  timeLimit?: number | undefined;
65
65
  }, {
66
- salt: string;
67
66
  items: {
68
67
  type: import("./captcha.js").CaptchaItemTypes;
69
68
  hash: string;
70
69
  data: string;
71
70
  }[];
71
+ salt: string;
72
72
  target: string;
73
73
  captchaId?: string | undefined;
74
74
  captchaContentId?: string | undefined;
@@ -82,12 +82,12 @@ export declare const DatasetSchema: import("zod").ZodObject<{
82
82
  timeLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
83
83
  }, "strip", import("zod").ZodTypeAny, {
84
84
  captchas: {
85
- salt: string;
86
85
  items: {
87
86
  type: import("./captcha.js").CaptchaItemTypes;
88
87
  hash: string;
89
88
  data: string;
90
89
  }[];
90
+ salt: string;
91
91
  target: string;
92
92
  captchaId?: string | undefined;
93
93
  captchaContentId?: string | undefined;
@@ -103,12 +103,12 @@ export declare const DatasetSchema: import("zod").ZodObject<{
103
103
  contentTree?: string[][] | undefined;
104
104
  }, {
105
105
  captchas: {
106
- salt: string;
107
106
  items: {
108
107
  type: import("./captcha.js").CaptchaItemTypes;
109
108
  hash: string;
110
109
  data: string;
111
110
  }[];
111
+ salt: string;
112
112
  target: string;
113
113
  captchaId?: string | undefined;
114
114
  captchaContentId?: string | undefined;
@@ -149,12 +149,12 @@ export declare const DatasetWithNumericSolutionSchema: import("zod").ZodObject<i
149
149
  }>, "many">;
150
150
  target: import("zod").ZodString;
151
151
  }>, "strip", import("zod").ZodTypeAny, {
152
- salt: string;
153
152
  items: {
154
153
  type: import("./captcha.js").CaptchaItemTypes;
155
154
  hash: string;
156
155
  data: string;
157
156
  }[];
157
+ salt: string;
158
158
  target: string;
159
159
  captchaId?: string | undefined;
160
160
  captchaContentId?: string | undefined;
@@ -162,12 +162,12 @@ export declare const DatasetWithNumericSolutionSchema: import("zod").ZodObject<i
162
162
  unlabelled?: number[] | undefined;
163
163
  timeLimit?: number | undefined;
164
164
  }, {
165
- salt: string;
166
165
  items: {
167
166
  type: import("./captcha.js").CaptchaItemTypes;
168
167
  hash: string;
169
168
  data: string;
170
169
  }[];
170
+ salt: string;
171
171
  target: string;
172
172
  captchaId?: string | undefined;
173
173
  captchaContentId?: string | undefined;
@@ -209,12 +209,12 @@ export declare const DatasetWithNumericSolutionSchema: import("zod").ZodObject<i
209
209
  solution: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber, "many">>;
210
210
  unlabelled: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber, "many">>;
211
211
  }>, "strip", import("zod").ZodTypeAny, {
212
- salt: string;
213
212
  items: {
214
213
  type: import("./captcha.js").CaptchaItemTypes;
215
214
  hash: string;
216
215
  data: string;
217
216
  }[];
217
+ salt: string;
218
218
  target: string;
219
219
  captchaId?: string | undefined;
220
220
  captchaContentId?: string | undefined;
@@ -222,12 +222,12 @@ export declare const DatasetWithNumericSolutionSchema: import("zod").ZodObject<i
222
222
  unlabelled?: number[] | undefined;
223
223
  timeLimit?: number | undefined;
224
224
  }, {
225
- salt: string;
226
225
  items: {
227
226
  type: import("./captcha.js").CaptchaItemTypes;
228
227
  hash: string;
229
228
  data: string;
230
229
  }[];
230
+ salt: string;
231
231
  target: string;
232
232
  captchaId?: string | undefined;
233
233
  captchaContentId?: string | undefined;
@@ -237,12 +237,12 @@ export declare const DatasetWithNumericSolutionSchema: import("zod").ZodObject<i
237
237
  }>, "many">;
238
238
  }>, "strip", import("zod").ZodTypeAny, {
239
239
  captchas: {
240
- salt: string;
241
240
  items: {
242
241
  type: import("./captcha.js").CaptchaItemTypes;
243
242
  hash: string;
244
243
  data: string;
245
244
  }[];
245
+ salt: string;
246
246
  target: string;
247
247
  captchaId?: string | undefined;
248
248
  captchaContentId?: string | undefined;
@@ -258,12 +258,12 @@ export declare const DatasetWithNumericSolutionSchema: import("zod").ZodObject<i
258
258
  contentTree?: string[][] | undefined;
259
259
  }, {
260
260
  captchas: {
261
- salt: string;
262
261
  items: {
263
262
  type: import("./captcha.js").CaptchaItemTypes;
264
263
  hash: string;
265
264
  data: string;
266
265
  }[];
266
+ salt: string;
267
267
  target: string;
268
268
  captchaId?: string | undefined;
269
269
  captchaContentId?: string | undefined;
@@ -307,12 +307,12 @@ export declare const DatasetWithIdsSchema: import("zod").ZodObject<{
307
307
  solution: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
308
308
  unlabelled: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
309
309
  }>, "strip", import("zod").ZodTypeAny, {
310
- salt: string;
311
310
  items: {
312
311
  type: import("./captcha.js").CaptchaItemTypes;
313
312
  hash: string;
314
313
  data: string;
315
314
  }[];
315
+ salt: string;
316
316
  target: string;
317
317
  captchaId?: string | undefined;
318
318
  captchaContentId?: string | undefined;
@@ -320,12 +320,12 @@ export declare const DatasetWithIdsSchema: import("zod").ZodObject<{
320
320
  unlabelled?: string[] | undefined;
321
321
  timeLimit?: number | undefined;
322
322
  }, {
323
- salt: string;
324
323
  items: {
325
324
  type: import("./captcha.js").CaptchaItemTypes;
326
325
  hash: string;
327
326
  data: string;
328
327
  }[];
328
+ salt: string;
329
329
  target: string;
330
330
  captchaId?: string | undefined;
331
331
  captchaContentId?: string | undefined;
@@ -338,12 +338,12 @@ export declare const DatasetWithIdsSchema: import("zod").ZodObject<{
338
338
  contentTree: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodArray<import("zod").ZodString, "many">, "many">>;
339
339
  }, "strip", import("zod").ZodTypeAny, {
340
340
  captchas: {
341
- salt: string;
342
341
  items: {
343
342
  type: import("./captcha.js").CaptchaItemTypes;
344
343
  hash: string;
345
344
  data: string;
346
345
  }[];
346
+ salt: string;
347
347
  target: string;
348
348
  captchaId?: string | undefined;
349
349
  captchaContentId?: string | undefined;
@@ -358,12 +358,12 @@ export declare const DatasetWithIdsSchema: import("zod").ZodObject<{
358
358
  contentTree?: string[][] | undefined;
359
359
  }, {
360
360
  captchas: {
361
- salt: string;
362
361
  items: {
363
362
  type: import("./captcha.js").CaptchaItemTypes;
364
363
  hash: string;
365
364
  data: string;
366
365
  }[];
366
+ salt: string;
367
367
  target: string;
368
368
  captchaId?: string | undefined;
369
369
  captchaContentId?: string | undefined;
@@ -406,12 +406,12 @@ export declare const DatasetWithIdsAndTreeSchema: import("zod").ZodObject<import
406
406
  solution: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
407
407
  unlabelled: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
408
408
  }>, "strip", import("zod").ZodTypeAny, {
409
- salt: string;
410
409
  items: {
411
410
  type: import("./captcha.js").CaptchaItemTypes;
412
411
  hash: string;
413
412
  data: string;
414
413
  }[];
414
+ salt: string;
415
415
  target: string;
416
416
  captchaId?: string | undefined;
417
417
  captchaContentId?: string | undefined;
@@ -419,12 +419,12 @@ export declare const DatasetWithIdsAndTreeSchema: import("zod").ZodObject<import
419
419
  unlabelled?: string[] | undefined;
420
420
  timeLimit?: number | undefined;
421
421
  }, {
422
- salt: string;
423
422
  items: {
424
423
  type: import("./captcha.js").CaptchaItemTypes;
425
424
  hash: string;
426
425
  data: string;
427
426
  }[];
427
+ salt: string;
428
428
  target: string;
429
429
  captchaId?: string | undefined;
430
430
  captchaContentId?: string | undefined;
@@ -440,12 +440,12 @@ export declare const DatasetWithIdsAndTreeSchema: import("zod").ZodObject<import
440
440
  contentTree: import("zod").ZodArray<import("zod").ZodArray<import("zod").ZodString, "many">, "many">;
441
441
  }>, "strip", import("zod").ZodTypeAny, {
442
442
  captchas: {
443
- salt: string;
444
443
  items: {
445
444
  type: import("./captcha.js").CaptchaItemTypes;
446
445
  hash: string;
447
446
  data: string;
448
447
  }[];
448
+ salt: string;
449
449
  target: string;
450
450
  captchaId?: string | undefined;
451
451
  captchaContentId?: string | undefined;
@@ -460,12 +460,12 @@ export declare const DatasetWithIdsAndTreeSchema: import("zod").ZodObject<import
460
460
  datasetContentId?: string | undefined;
461
461
  }, {
462
462
  captchas: {
463
- salt: string;
464
463
  items: {
465
464
  type: import("./captcha.js").CaptchaItemTypes;
466
465
  hash: string;
467
466
  data: string;
468
467
  }[];
468
+ salt: string;
469
469
  target: string;
470
470
  captchaId?: string | undefined;
471
471
  captchaContentId?: string | undefined;