@prosopo/types 0.3.41 → 1.0.1

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 (56) hide show
  1. package/dist/api/api.d.ts +2 -1
  2. package/dist/api/api.d.ts.map +1 -1
  3. package/dist/api/index.d.ts +1 -0
  4. package/dist/api/index.d.ts.map +1 -1
  5. package/dist/api/index.js +1 -0
  6. package/dist/api/index.js.map +1 -1
  7. package/dist/api/params.d.ts +27 -0
  8. package/dist/api/params.d.ts.map +1 -0
  9. package/dist/api/params.js +28 -0
  10. package/dist/api/params.js.map +1 -0
  11. package/dist/cjs/api/index.cjs +3 -0
  12. package/dist/cjs/api/params.cjs +30 -0
  13. package/dist/cjs/config/config.cjs +17 -2
  14. package/dist/cjs/config/index.cjs +2 -1
  15. package/dist/cjs/config/network.cjs +5 -5
  16. package/dist/cjs/index.cjs +10 -3
  17. package/dist/cjs/networks/index.cjs +17 -3
  18. package/dist/cjs/procaptcha/index.cjs +6 -1
  19. package/dist/cjs/procaptcha/manager.cjs +4 -12
  20. package/dist/cjs/procaptcha/token.cjs +45 -0
  21. package/dist/cjs/provider/api.cjs +34 -136
  22. package/dist/cjs/provider/index.cjs +0 -1
  23. package/dist/config/config.d.ts +479 -421
  24. package/dist/config/config.d.ts.map +1 -1
  25. package/dist/config/config.js +18 -4
  26. package/dist/config/config.js.map +1 -1
  27. package/dist/config/network.d.ts +11 -11
  28. package/dist/config/network.d.ts.map +1 -1
  29. package/dist/config/network.js +4 -4
  30. package/dist/config/network.js.map +1 -1
  31. package/dist/contract/interface.d.ts +2 -0
  32. package/dist/contract/interface.d.ts.map +1 -1
  33. package/dist/datasets/dataset.d.ts +8 -8
  34. package/dist/networks/index.d.ts.map +1 -1
  35. package/dist/networks/index.js +25 -3
  36. package/dist/networks/index.js.map +1 -1
  37. package/dist/procaptcha/index.d.ts +1 -0
  38. package/dist/procaptcha/index.d.ts.map +1 -1
  39. package/dist/procaptcha/index.js +1 -0
  40. package/dist/procaptcha/index.js.map +1 -1
  41. package/dist/procaptcha/manager.d.ts +5 -63
  42. package/dist/procaptcha/manager.d.ts.map +1 -1
  43. package/dist/procaptcha/manager.js +4 -11
  44. package/dist/procaptcha/manager.js.map +1 -1
  45. package/dist/procaptcha/storage.d.ts +2 -2
  46. package/dist/procaptcha/token.d.ts +41 -0
  47. package/dist/procaptcha/token.d.ts.map +1 -0
  48. package/dist/procaptcha/token.js +36 -0
  49. package/dist/procaptcha/token.js.map +1 -0
  50. package/dist/provider/accounts.d.ts +2 -2
  51. package/dist/provider/accounts.d.ts.map +1 -1
  52. package/dist/provider/api.d.ts +21 -45
  53. package/dist/provider/api.d.ts.map +1 -1
  54. package/dist/provider/api.js +11 -32
  55. package/dist/provider/api.js.map +1 -1
  56. package/package.json +3 -3
@@ -1,9 +1,10 @@
1
- import { ProsopoNetworksSchema } from './network.js';
1
+ import { ProsopoNetworkSchema } from './network.js';
2
2
  import { input } from 'zod';
3
3
  import { output } from 'zod';
4
4
  import { infer as zInfer } from 'zod';
5
- export declare const DatabaseTypes: import("zod").ZodEnum<["mongo", "mongoMemory"]>;
6
- export declare const EnvironmentTypesSchema: import("zod").ZodEnum<["development", "staging", "production"]>;
5
+ import z from 'zod';
6
+ export declare const DatabaseTypes: z.ZodEnum<["mongo", "mongoMemory"]>;
7
+ export declare const EnvironmentTypesSchema: z.ZodEnum<["development", "staging", "production"]>;
7
8
  export type EnvironmentTypes = zInfer<typeof EnvironmentTypesSchema>;
8
9
  export declare const DEFAULT_IMAGE_CAPTCHA_TIMEOUT: number;
9
10
  export declare const DEFAULT_IMAGE_CAPTCHA_SOLUTION_TIMEOUT: number;
@@ -13,12 +14,12 @@ export declare const DEFAULT_POW_CAPTCHA_SOLUTION_TIMEOUT: number;
13
14
  export declare const DEFAULT_POW_CAPTCHA_VERIFIED_TIMEOUT: number;
14
15
  export declare const DEFAULT_POW_CAPTCHA_CACHED_TIMEOUT: number;
15
16
  export declare const DEFAULT_MAX_VERIFIED_TIME_CONTRACT: number;
16
- export declare const DatabaseConfigSchema: import("zod").ZodRecord<import("zod").ZodEnum<["development", "staging", "production"]>, import("zod").ZodObject<{
17
- type: import("zod").ZodString;
18
- endpoint: import("zod").ZodString;
19
- dbname: import("zod").ZodString;
20
- authSource: import("zod").ZodString;
21
- }, "strip", import("zod").ZodTypeAny, {
17
+ export declare const DatabaseConfigSchema: z.ZodRecord<z.ZodEnum<["development", "staging", "production"]>, z.ZodObject<{
18
+ type: z.ZodString;
19
+ endpoint: z.ZodString;
20
+ dbname: z.ZodString;
21
+ authSource: z.ZodString;
22
+ }, "strip", z.ZodTypeAny, {
22
23
  type: string;
23
24
  endpoint: string;
24
25
  dbname: string;
@@ -29,10 +30,10 @@ export declare const DatabaseConfigSchema: import("zod").ZodRecord<import("zod")
29
30
  dbname: string;
30
31
  authSource: string;
31
32
  }>>;
32
- export declare const BatchCommitConfigSchema: import("zod").ZodObject<{
33
- interval: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
34
- maxBatchExtrinsicPercentage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
35
- }, "strip", import("zod").ZodTypeAny, {
33
+ export declare const BatchCommitConfigSchema: z.ZodObject<{
34
+ interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
35
+ maxBatchExtrinsicPercentage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
36
+ }, "strip", z.ZodTypeAny, {
36
37
  interval: number;
37
38
  maxBatchExtrinsicPercentage: number;
38
39
  }, {
@@ -43,76 +44,133 @@ export type BatchCommitConfigInput = input<typeof BatchCommitConfigSchema>;
43
44
  export type BatchCommitConfigOutput = output<typeof BatchCommitConfigSchema>;
44
45
  export type DatabaseConfigInput = input<typeof DatabaseConfigSchema>;
45
46
  export type DatabaseConfigOutput = output<typeof DatabaseConfigSchema>;
46
- export declare const ProsopoBaseConfigSchema: import("zod").ZodObject<{
47
- logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
48
- defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
49
- defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
50
- account: import("zod").ZodObject<{
51
- address: import("zod").ZodOptional<import("zod").ZodString>;
52
- secret: import("zod").ZodOptional<import("zod").ZodString>;
53
- password: import("zod").ZodOptional<import("zod").ZodString>;
54
- }, "strip", import("zod").ZodTypeAny, {
55
- address?: string | undefined;
47
+ export declare const ProsopoBaseConfigSchema: z.ZodObject<{
48
+ logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
49
+ defaultEnvironment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
50
+ defaultNetwork: z.ZodDefault<z.ZodEnum<["development", "rococo", "shiden", "astar"]>>;
51
+ account: z.ZodObject<{
52
+ address: z.ZodOptional<z.ZodString>;
53
+ secret: z.ZodOptional<z.ZodString>;
54
+ password: z.ZodOptional<z.ZodString>;
55
+ }, "strip", z.ZodTypeAny, {
56
56
  secret?: string | undefined;
57
+ address?: string | undefined;
57
58
  password?: string | undefined;
58
59
  }, {
59
- address?: string | undefined;
60
60
  secret?: string | undefined;
61
+ address?: string | undefined;
61
62
  password?: string | undefined;
62
63
  }>;
63
- }, "strip", import("zod").ZodTypeAny, {
64
+ }, "strip", z.ZodTypeAny, {
64
65
  logLevel: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log";
65
66
  defaultEnvironment: "development" | "staging" | "production";
66
- defaultNetwork: "development" | "rococo" | "shiden";
67
+ defaultNetwork: "development" | "rococo" | "shiden" | "astar";
67
68
  account: {
68
- address?: string | undefined;
69
69
  secret?: string | undefined;
70
+ address?: string | undefined;
70
71
  password?: string | undefined;
71
72
  };
72
73
  }, {
73
74
  account: {
74
- address?: string | undefined;
75
75
  secret?: string | undefined;
76
+ address?: string | undefined;
76
77
  password?: string | undefined;
77
78
  };
78
79
  logLevel?: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log" | undefined;
79
80
  defaultEnvironment?: "development" | "staging" | "production" | undefined;
80
- defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
81
+ defaultNetwork?: "development" | "rococo" | "shiden" | "astar" | undefined;
81
82
  }>;
82
- export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
83
- logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
84
- defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
85
- defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
86
- account: import("zod").ZodObject<{
87
- address: import("zod").ZodOptional<import("zod").ZodString>;
88
- secret: import("zod").ZodOptional<import("zod").ZodString>;
89
- password: import("zod").ZodOptional<import("zod").ZodString>;
90
- }, "strip", import("zod").ZodTypeAny, {
91
- address?: string | undefined;
83
+ export declare const PolkadotSecretJSONSpec: z.ZodObject<{
84
+ encoded: z.ZodString;
85
+ encoding: z.ZodObject<{
86
+ content: z.ZodArray<z.ZodString, "many">;
87
+ type: z.ZodArray<z.ZodString, "many">;
88
+ version: z.ZodString;
89
+ }, "strip", z.ZodTypeAny, {
90
+ type: string[];
91
+ content: string[];
92
+ version: string;
93
+ }, {
94
+ type: string[];
95
+ content: string[];
96
+ version: string;
97
+ }>;
98
+ address: z.ZodString;
99
+ meta: z.ZodObject<{
100
+ genesisHash: z.ZodString;
101
+ name: z.ZodString;
102
+ whenCreated: z.ZodNumber;
103
+ }, "strip", z.ZodTypeAny, {
104
+ name: string;
105
+ genesisHash: string;
106
+ whenCreated: number;
107
+ }, {
108
+ name: string;
109
+ genesisHash: string;
110
+ whenCreated: number;
111
+ }>;
112
+ }, "strip", z.ZodTypeAny, {
113
+ address: string;
114
+ encoded: string;
115
+ encoding: {
116
+ type: string[];
117
+ content: string[];
118
+ version: string;
119
+ };
120
+ meta: {
121
+ name: string;
122
+ genesisHash: string;
123
+ whenCreated: number;
124
+ };
125
+ }, {
126
+ address: string;
127
+ encoded: string;
128
+ encoding: {
129
+ type: string[];
130
+ content: string[];
131
+ version: string;
132
+ };
133
+ meta: {
134
+ name: string;
135
+ genesisHash: string;
136
+ whenCreated: number;
137
+ };
138
+ }>;
139
+ export type PolkadotSecretJSON = zInfer<typeof PolkadotSecretJSONSpec>;
140
+ export declare const ProsopoBasicConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
141
+ logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
142
+ defaultEnvironment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
143
+ defaultNetwork: z.ZodDefault<z.ZodEnum<["development", "rococo", "shiden", "astar"]>>;
144
+ account: z.ZodObject<{
145
+ address: z.ZodOptional<z.ZodString>;
146
+ secret: z.ZodOptional<z.ZodString>;
147
+ password: z.ZodOptional<z.ZodString>;
148
+ }, "strip", z.ZodTypeAny, {
92
149
  secret?: string | undefined;
150
+ address?: string | undefined;
93
151
  password?: string | undefined;
94
152
  }, {
95
- address?: string | undefined;
96
153
  secret?: string | undefined;
154
+ address?: string | undefined;
97
155
  password?: string | undefined;
98
156
  }>;
99
157
  }, {
100
- networks: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
101
- endpoint: import("zod").ZodString;
102
- contract: import("zod").ZodObject<{
103
- address: import("zod").ZodString;
104
- name: import("zod").ZodString;
105
- }, "strip", import("zod").ZodTypeAny, {
158
+ networks: z.ZodDefault<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
159
+ endpoint: z.ZodArray<z.ZodString, "many">;
160
+ contract: z.ZodObject<{
161
+ address: z.ZodString;
162
+ name: z.ZodString;
163
+ }, "strip", z.ZodTypeAny, {
106
164
  address: string;
107
165
  name: string;
108
166
  }, {
109
167
  address: string;
110
168
  name: string;
111
169
  }>;
112
- pairType: import("zod").ZodUnion<[import("zod").ZodLiteral<"sr25519">, import("zod").ZodLiteral<"ed25519">, import("zod").ZodLiteral<"ecdsa">, import("zod").ZodLiteral<"ethereum">]>;
113
- ss58Format: import("zod").ZodDefault<import("zod").ZodNumber>;
114
- }, "strip", import("zod").ZodTypeAny, {
115
- endpoint: string;
170
+ pairType: z.ZodUnion<[z.ZodLiteral<"sr25519">, z.ZodLiteral<"ed25519">, z.ZodLiteral<"ecdsa">, z.ZodLiteral<"ethereum">]>;
171
+ ss58Format: z.ZodDefault<z.ZodNumber>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ endpoint: string[];
116
174
  contract: {
117
175
  address: string;
118
176
  name: string;
@@ -120,15 +178,15 @@ export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<import("z
120
178
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
121
179
  ss58Format: number;
122
180
  }, {
123
- endpoint: string;
181
+ endpoint: string[];
124
182
  contract: {
125
183
  address: string;
126
184
  name: string;
127
185
  };
128
186
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
129
187
  ss58Format?: number | undefined;
130
- }>>, Record<"development" | "rococo" | "shiden", {
131
- endpoint: string;
188
+ }>>, Record<"development" | "rococo" | "shiden" | "astar", {
189
+ endpoint: string[];
132
190
  contract: {
133
191
  address: string;
134
192
  name: string;
@@ -136,7 +194,7 @@ export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<import("z
136
194
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
137
195
  ss58Format: number;
138
196
  }>, Record<string, {
139
- endpoint: string;
197
+ endpoint: string[];
140
198
  contract: {
141
199
  address: string;
142
200
  name: string;
@@ -144,12 +202,12 @@ export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<import("z
144
202
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
145
203
  ss58Format?: number | undefined;
146
204
  }>>>;
147
- database: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["development", "staging", "production"]>, import("zod").ZodObject<{
148
- type: import("zod").ZodString;
149
- endpoint: import("zod").ZodString;
150
- dbname: import("zod").ZodString;
151
- authSource: import("zod").ZodString;
152
- }, "strip", import("zod").ZodTypeAny, {
205
+ database: z.ZodOptional<z.ZodRecord<z.ZodEnum<["development", "staging", "production"]>, z.ZodObject<{
206
+ type: z.ZodString;
207
+ endpoint: z.ZodString;
208
+ dbname: z.ZodString;
209
+ authSource: z.ZodString;
210
+ }, "strip", z.ZodTypeAny, {
153
211
  type: string;
154
212
  endpoint: string;
155
213
  dbname: string;
@@ -160,18 +218,18 @@ export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<import("z
160
218
  dbname: string;
161
219
  authSource: string;
162
220
  }>>>;
163
- devOnlyWatchEvents: import("zod").ZodOptional<import("zod").ZodBoolean>;
164
- }>, "strip", import("zod").ZodTypeAny, {
221
+ devOnlyWatchEvents: z.ZodOptional<z.ZodBoolean>;
222
+ }>, "strip", z.ZodTypeAny, {
165
223
  logLevel: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log";
166
224
  defaultEnvironment: "development" | "staging" | "production";
167
- defaultNetwork: "development" | "rococo" | "shiden";
225
+ defaultNetwork: "development" | "rococo" | "shiden" | "astar";
168
226
  account: {
169
- address?: string | undefined;
170
227
  secret?: string | undefined;
228
+ address?: string | undefined;
171
229
  password?: string | undefined;
172
230
  };
173
- networks: Record<"development" | "rococo" | "shiden", {
174
- endpoint: string;
231
+ networks: Record<"development" | "rococo" | "shiden" | "astar", {
232
+ endpoint: string[];
175
233
  contract: {
176
234
  address: string;
177
235
  name: string;
@@ -188,15 +246,15 @@ export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<import("z
188
246
  devOnlyWatchEvents?: boolean | undefined;
189
247
  }, {
190
248
  account: {
191
- address?: string | undefined;
192
249
  secret?: string | undefined;
250
+ address?: string | undefined;
193
251
  password?: string | undefined;
194
252
  };
195
253
  logLevel?: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log" | undefined;
196
254
  defaultEnvironment?: "development" | "staging" | "production" | undefined;
197
- defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
255
+ defaultNetwork?: "development" | "rococo" | "shiden" | "astar" | undefined;
198
256
  networks?: Record<string, {
199
- endpoint: string;
257
+ endpoint: string[];
200
258
  contract: {
201
259
  address: string;
202
260
  name: string;
@@ -212,26 +270,26 @@ export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<import("z
212
270
  }>> | undefined;
213
271
  devOnlyWatchEvents?: boolean | undefined;
214
272
  }>;
215
- export type ProsopoNetworksSchemaInput = input<typeof ProsopoNetworksSchema>;
216
- export type ProsopoNetworksSchemaOutput = output<typeof ProsopoNetworksSchema>;
273
+ export type ProsopoNetworksSchemaInput = input<typeof ProsopoNetworkSchema>;
274
+ export type ProsopoNetworksSchemaOutput = output<typeof ProsopoNetworkSchema>;
217
275
  export type ProsopoBasicConfigInput = input<typeof ProsopoBasicConfigSchema>;
218
276
  export type ProsopoBasicConfigOutput = output<typeof ProsopoBasicConfigSchema>;
219
- export declare const ProsopoCaptchaCountConfigSchema: import("zod").ZodObject<{
220
- solved: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
221
- count: import("zod").ZodNumber;
222
- }, "strip", import("zod").ZodTypeAny, {
277
+ export declare const ProsopoCaptchaCountConfigSchema: z.ZodObject<{
278
+ solved: z.ZodDefault<z.ZodOptional<z.ZodObject<{
279
+ count: z.ZodNumber;
280
+ }, "strip", z.ZodTypeAny, {
223
281
  count: number;
224
282
  }, {
225
283
  count: number;
226
284
  }>>>;
227
- unsolved: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
228
- count: import("zod").ZodNumber;
229
- }, "strip", import("zod").ZodTypeAny, {
285
+ unsolved: z.ZodDefault<z.ZodOptional<z.ZodObject<{
286
+ count: z.ZodNumber;
287
+ }, "strip", z.ZodTypeAny, {
230
288
  count: number;
231
289
  }, {
232
290
  count: number;
233
291
  }>>>;
234
- }, "strip", import("zod").ZodTypeAny, {
292
+ }, "strip", z.ZodTypeAny, {
235
293
  solved: {
236
294
  count: number;
237
295
  };
@@ -247,21 +305,21 @@ export declare const ProsopoCaptchaCountConfigSchema: import("zod").ZodObject<{
247
305
  } | undefined;
248
306
  }>;
249
307
  export type ProsopoCaptchaCountConfigSchemaInput = input<typeof ProsopoCaptchaCountConfigSchema>;
250
- export declare const ProsopoImageServerConfigSchema: import("zod").ZodObject<{
251
- baseURL: import("zod").ZodString;
252
- port: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
253
- }, "strip", import("zod").ZodTypeAny, {
308
+ export declare const ProsopoImageServerConfigSchema: z.ZodObject<{
309
+ baseURL: z.ZodString;
310
+ port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
311
+ }, "strip", z.ZodTypeAny, {
254
312
  baseURL: string;
255
313
  port: number;
256
314
  }, {
257
315
  baseURL: string;
258
316
  port?: number | undefined;
259
317
  }>;
260
- export declare const ProsopoCaptchaSolutionConfigSchema: import("zod").ZodObject<{
261
- requiredNumberOfSolutions: import("zod").ZodNumber;
262
- solutionWinningPercentage: import("zod").ZodNumber;
263
- captchaBlockRecency: import("zod").ZodNumber;
264
- }, "strip", import("zod").ZodTypeAny, {
318
+ export declare const ProsopoCaptchaSolutionConfigSchema: z.ZodObject<{
319
+ requiredNumberOfSolutions: z.ZodNumber;
320
+ solutionWinningPercentage: z.ZodNumber;
321
+ captchaBlockRecency: z.ZodNumber;
322
+ }, "strip", z.ZodTypeAny, {
265
323
  requiredNumberOfSolutions: number;
266
324
  solutionWinningPercentage: number;
267
325
  captchaBlockRecency: number;
@@ -270,40 +328,40 @@ export declare const ProsopoCaptchaSolutionConfigSchema: import("zod").ZodObject
270
328
  solutionWinningPercentage: number;
271
329
  captchaBlockRecency: number;
272
330
  }>;
273
- export declare const ProsopoClientConfigSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
274
- logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
275
- defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
276
- defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
277
- account: import("zod").ZodObject<{
278
- address: import("zod").ZodOptional<import("zod").ZodString>;
279
- secret: import("zod").ZodOptional<import("zod").ZodString>;
280
- password: import("zod").ZodOptional<import("zod").ZodString>;
281
- }, "strip", import("zod").ZodTypeAny, {
282
- address?: string | undefined;
331
+ export declare const ProsopoClientConfigSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
332
+ logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
333
+ defaultEnvironment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
334
+ defaultNetwork: z.ZodDefault<z.ZodEnum<["development", "rococo", "shiden", "astar"]>>;
335
+ account: z.ZodObject<{
336
+ address: z.ZodOptional<z.ZodString>;
337
+ secret: z.ZodOptional<z.ZodString>;
338
+ password: z.ZodOptional<z.ZodString>;
339
+ }, "strip", z.ZodTypeAny, {
283
340
  secret?: string | undefined;
341
+ address?: string | undefined;
284
342
  password?: string | undefined;
285
343
  }, {
286
- address?: string | undefined;
287
344
  secret?: string | undefined;
345
+ address?: string | undefined;
288
346
  password?: string | undefined;
289
347
  }>;
290
348
  }, {
291
- networks: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
292
- endpoint: import("zod").ZodString;
293
- contract: import("zod").ZodObject<{
294
- address: import("zod").ZodString;
295
- name: import("zod").ZodString;
296
- }, "strip", import("zod").ZodTypeAny, {
349
+ networks: z.ZodDefault<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
350
+ endpoint: z.ZodArray<z.ZodString, "many">;
351
+ contract: z.ZodObject<{
352
+ address: z.ZodString;
353
+ name: z.ZodString;
354
+ }, "strip", z.ZodTypeAny, {
297
355
  address: string;
298
356
  name: string;
299
357
  }, {
300
358
  address: string;
301
359
  name: string;
302
360
  }>;
303
- pairType: import("zod").ZodUnion<[import("zod").ZodLiteral<"sr25519">, import("zod").ZodLiteral<"ed25519">, import("zod").ZodLiteral<"ecdsa">, import("zod").ZodLiteral<"ethereum">]>;
304
- ss58Format: import("zod").ZodDefault<import("zod").ZodNumber>;
305
- }, "strip", import("zod").ZodTypeAny, {
306
- endpoint: string;
361
+ pairType: z.ZodUnion<[z.ZodLiteral<"sr25519">, z.ZodLiteral<"ed25519">, z.ZodLiteral<"ecdsa">, z.ZodLiteral<"ethereum">]>;
362
+ ss58Format: z.ZodDefault<z.ZodNumber>;
363
+ }, "strip", z.ZodTypeAny, {
364
+ endpoint: string[];
307
365
  contract: {
308
366
  address: string;
309
367
  name: string;
@@ -311,15 +369,15 @@ export declare const ProsopoClientConfigSchema: import("zod").ZodObject<import("
311
369
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
312
370
  ss58Format: number;
313
371
  }, {
314
- endpoint: string;
372
+ endpoint: string[];
315
373
  contract: {
316
374
  address: string;
317
375
  name: string;
318
376
  };
319
377
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
320
378
  ss58Format?: number | undefined;
321
- }>>, Record<"development" | "rococo" | "shiden", {
322
- endpoint: string;
379
+ }>>, Record<"development" | "rococo" | "shiden" | "astar", {
380
+ endpoint: string[];
323
381
  contract: {
324
382
  address: string;
325
383
  name: string;
@@ -327,7 +385,7 @@ export declare const ProsopoClientConfigSchema: import("zod").ZodObject<import("
327
385
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
328
386
  ss58Format: number;
329
387
  }>, Record<string, {
330
- endpoint: string;
388
+ endpoint: string[];
331
389
  contract: {
332
390
  address: string;
333
391
  name: string;
@@ -335,12 +393,12 @@ export declare const ProsopoClientConfigSchema: import("zod").ZodObject<import("
335
393
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
336
394
  ss58Format?: number | undefined;
337
395
  }>>>;
338
- database: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["development", "staging", "production"]>, import("zod").ZodObject<{
339
- type: import("zod").ZodString;
340
- endpoint: import("zod").ZodString;
341
- dbname: import("zod").ZodString;
342
- authSource: import("zod").ZodString;
343
- }, "strip", import("zod").ZodTypeAny, {
396
+ database: z.ZodOptional<z.ZodRecord<z.ZodEnum<["development", "staging", "production"]>, z.ZodObject<{
397
+ type: z.ZodString;
398
+ endpoint: z.ZodString;
399
+ dbname: z.ZodString;
400
+ authSource: z.ZodString;
401
+ }, "strip", z.ZodTypeAny, {
344
402
  type: string;
345
403
  endpoint: string;
346
404
  dbname: string;
@@ -351,24 +409,24 @@ export declare const ProsopoClientConfigSchema: import("zod").ZodObject<import("
351
409
  dbname: string;
352
410
  authSource: string;
353
411
  }>>>;
354
- devOnlyWatchEvents: import("zod").ZodOptional<import("zod").ZodBoolean>;
412
+ devOnlyWatchEvents: z.ZodOptional<z.ZodBoolean>;
355
413
  }>, {
356
- userAccountAddress: import("zod").ZodOptional<import("zod").ZodString>;
357
- web2: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
358
- solutionThreshold: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
359
- dappName: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
360
- serverUrl: import("zod").ZodOptional<import("zod").ZodString>;
361
- }>, "strip", import("zod").ZodTypeAny, {
414
+ userAccountAddress: z.ZodOptional<z.ZodString>;
415
+ web2: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
416
+ solutionThreshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
417
+ dappName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
418
+ serverUrl: z.ZodOptional<z.ZodString>;
419
+ }>, "strip", z.ZodTypeAny, {
362
420
  logLevel: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log";
363
421
  defaultEnvironment: "development" | "staging" | "production";
364
- defaultNetwork: "development" | "rococo" | "shiden";
422
+ defaultNetwork: "development" | "rococo" | "shiden" | "astar";
365
423
  account: {
366
- address?: string | undefined;
367
424
  secret?: string | undefined;
425
+ address?: string | undefined;
368
426
  password?: string | undefined;
369
427
  };
370
- networks: Record<"development" | "rococo" | "shiden", {
371
- endpoint: string;
428
+ networks: Record<"development" | "rococo" | "shiden" | "astar", {
429
+ endpoint: string[];
372
430
  contract: {
373
431
  address: string;
374
432
  name: string;
@@ -390,15 +448,15 @@ export declare const ProsopoClientConfigSchema: import("zod").ZodObject<import("
390
448
  serverUrl?: string | undefined;
391
449
  }, {
392
450
  account: {
393
- address?: string | undefined;
394
451
  secret?: string | undefined;
452
+ address?: string | undefined;
395
453
  password?: string | undefined;
396
454
  };
397
455
  logLevel?: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log" | undefined;
398
456
  defaultEnvironment?: "development" | "staging" | "production" | undefined;
399
- defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
457
+ defaultNetwork?: "development" | "rococo" | "shiden" | "astar" | undefined;
400
458
  networks?: Record<string, {
401
- endpoint: string;
459
+ endpoint: string[];
402
460
  contract: {
403
461
  address: string;
404
462
  name: string;
@@ -419,110 +477,110 @@ export declare const ProsopoClientConfigSchema: import("zod").ZodObject<import("
419
477
  dappName?: string | undefined;
420
478
  serverUrl?: string | undefined;
421
479
  }>;
422
- export declare const CaptchaTimeoutSchema: import("zod").ZodDefault<import("zod").ZodObject<{
423
- image: import("zod").ZodDefault<import("zod").ZodObject<{
424
- challengeTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
425
- solutionTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
426
- verifiedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
427
- cachedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
428
- }, "strip", import("zod").ZodTypeAny, {
480
+ export declare const CaptchaTimeoutSchema: z.ZodDefault<z.ZodObject<{
481
+ image: z.ZodDefault<z.ZodObject<{
482
+ challengeTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
483
+ solutionTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
484
+ verifiedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
485
+ cachedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
486
+ }, "strip", z.ZodTypeAny, {
487
+ verifiedTimeout: number;
429
488
  challengeTimeout: number;
430
489
  solutionTimeout: number;
431
- verifiedTimeout: number;
432
490
  cachedTimeout: number;
433
491
  }, {
492
+ verifiedTimeout?: number | undefined;
434
493
  challengeTimeout?: number | undefined;
435
494
  solutionTimeout?: number | undefined;
436
- verifiedTimeout?: number | undefined;
437
495
  cachedTimeout?: number | undefined;
438
496
  }>>;
439
- pow: import("zod").ZodDefault<import("zod").ZodObject<{
440
- verifiedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
441
- solutionTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
442
- cachedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
443
- }, "strip", import("zod").ZodTypeAny, {
444
- solutionTimeout: number;
497
+ pow: z.ZodDefault<z.ZodObject<{
498
+ verifiedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
499
+ solutionTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
500
+ cachedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
501
+ }, "strip", z.ZodTypeAny, {
445
502
  verifiedTimeout: number;
503
+ solutionTimeout: number;
446
504
  cachedTimeout: number;
447
505
  }, {
448
- solutionTimeout?: number | undefined;
449
506
  verifiedTimeout?: number | undefined;
507
+ solutionTimeout?: number | undefined;
450
508
  cachedTimeout?: number | undefined;
451
509
  }>>;
452
- contract: import("zod").ZodDefault<import("zod").ZodObject<{
453
- maxVerifiedTime: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
454
- }, "strip", import("zod").ZodTypeAny, {
510
+ contract: z.ZodDefault<z.ZodObject<{
511
+ maxVerifiedTime: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
512
+ }, "strip", z.ZodTypeAny, {
455
513
  maxVerifiedTime: number;
456
514
  }, {
457
515
  maxVerifiedTime?: number | undefined;
458
516
  }>>;
459
- }, "strip", import("zod").ZodTypeAny, {
517
+ }, "strip", z.ZodTypeAny, {
460
518
  image: {
519
+ verifiedTimeout: number;
461
520
  challengeTimeout: number;
462
521
  solutionTimeout: number;
463
- verifiedTimeout: number;
464
522
  cachedTimeout: number;
465
523
  };
466
524
  contract: {
467
525
  maxVerifiedTime: number;
468
526
  };
469
527
  pow: {
470
- solutionTimeout: number;
471
528
  verifiedTimeout: number;
529
+ solutionTimeout: number;
472
530
  cachedTimeout: number;
473
531
  };
474
532
  }, {
475
533
  image?: {
534
+ verifiedTimeout?: number | undefined;
476
535
  challengeTimeout?: number | undefined;
477
536
  solutionTimeout?: number | undefined;
478
- verifiedTimeout?: number | undefined;
479
537
  cachedTimeout?: number | undefined;
480
538
  } | undefined;
481
539
  contract?: {
482
540
  maxVerifiedTime?: number | undefined;
483
541
  } | undefined;
484
542
  pow?: {
485
- solutionTimeout?: number | undefined;
486
543
  verifiedTimeout?: number | undefined;
544
+ solutionTimeout?: number | undefined;
487
545
  cachedTimeout?: number | undefined;
488
546
  } | undefined;
489
547
  }>>;
490
548
  export type CaptchaTimeoutInput = input<typeof CaptchaTimeoutSchema>;
491
549
  export type CaptchaTimeoutOutput = output<typeof CaptchaTimeoutSchema>;
492
- export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
493
- logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
494
- defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
495
- defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
496
- account: import("zod").ZodObject<{
497
- address: import("zod").ZodOptional<import("zod").ZodString>;
498
- secret: import("zod").ZodOptional<import("zod").ZodString>;
499
- password: import("zod").ZodOptional<import("zod").ZodString>;
500
- }, "strip", import("zod").ZodTypeAny, {
501
- address?: string | undefined;
550
+ export declare const ProsopoServerConfigSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
551
+ logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
552
+ defaultEnvironment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
553
+ defaultNetwork: z.ZodDefault<z.ZodEnum<["development", "rococo", "shiden", "astar"]>>;
554
+ account: z.ZodObject<{
555
+ address: z.ZodOptional<z.ZodString>;
556
+ secret: z.ZodOptional<z.ZodString>;
557
+ password: z.ZodOptional<z.ZodString>;
558
+ }, "strip", z.ZodTypeAny, {
502
559
  secret?: string | undefined;
560
+ address?: string | undefined;
503
561
  password?: string | undefined;
504
562
  }, {
505
- address?: string | undefined;
506
563
  secret?: string | undefined;
564
+ address?: string | undefined;
507
565
  password?: string | undefined;
508
566
  }>;
509
567
  }, {
510
- networks: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
511
- endpoint: import("zod").ZodString;
512
- contract: import("zod").ZodObject<{
513
- address: import("zod").ZodString;
514
- name: import("zod").ZodString;
515
- }, "strip", import("zod").ZodTypeAny, {
568
+ networks: z.ZodDefault<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
569
+ endpoint: z.ZodArray<z.ZodString, "many">;
570
+ contract: z.ZodObject<{
571
+ address: z.ZodString;
572
+ name: z.ZodString;
573
+ }, "strip", z.ZodTypeAny, {
516
574
  address: string;
517
575
  name: string;
518
576
  }, {
519
577
  address: string;
520
578
  name: string;
521
579
  }>;
522
- pairType: import("zod").ZodUnion<[import("zod").ZodLiteral<"sr25519">, import("zod").ZodLiteral<"ed25519">, import("zod").ZodLiteral<"ecdsa">, import("zod").ZodLiteral<"ethereum">]>;
523
- ss58Format: import("zod").ZodDefault<import("zod").ZodNumber>;
524
- }, "strip", import("zod").ZodTypeAny, {
525
- endpoint: string;
580
+ pairType: z.ZodUnion<[z.ZodLiteral<"sr25519">, z.ZodLiteral<"ed25519">, z.ZodLiteral<"ecdsa">, z.ZodLiteral<"ethereum">]>;
581
+ ss58Format: z.ZodDefault<z.ZodNumber>;
582
+ }, "strip", z.ZodTypeAny, {
583
+ endpoint: string[];
526
584
  contract: {
527
585
  address: string;
528
586
  name: string;
@@ -530,15 +588,15 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("
530
588
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
531
589
  ss58Format: number;
532
590
  }, {
533
- endpoint: string;
591
+ endpoint: string[];
534
592
  contract: {
535
593
  address: string;
536
594
  name: string;
537
595
  };
538
596
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
539
597
  ss58Format?: number | undefined;
540
- }>>, Record<"development" | "rococo" | "shiden", {
541
- endpoint: string;
598
+ }>>, Record<"development" | "rococo" | "shiden" | "astar", {
599
+ endpoint: string[];
542
600
  contract: {
543
601
  address: string;
544
602
  name: string;
@@ -546,7 +604,7 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("
546
604
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
547
605
  ss58Format: number;
548
606
  }>, Record<string, {
549
- endpoint: string;
607
+ endpoint: string[];
550
608
  contract: {
551
609
  address: string;
552
610
  name: string;
@@ -554,12 +612,12 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("
554
612
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
555
613
  ss58Format?: number | undefined;
556
614
  }>>>;
557
- database: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["development", "staging", "production"]>, import("zod").ZodObject<{
558
- type: import("zod").ZodString;
559
- endpoint: import("zod").ZodString;
560
- dbname: import("zod").ZodString;
561
- authSource: import("zod").ZodString;
562
- }, "strip", import("zod").ZodTypeAny, {
615
+ database: z.ZodOptional<z.ZodRecord<z.ZodEnum<["development", "staging", "production"]>, z.ZodObject<{
616
+ type: z.ZodString;
617
+ endpoint: z.ZodString;
618
+ dbname: z.ZodString;
619
+ authSource: z.ZodString;
620
+ }, "strip", z.ZodTypeAny, {
563
621
  type: string;
564
622
  endpoint: string;
565
623
  dbname: string;
@@ -570,94 +628,110 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("
570
628
  dbname: string;
571
629
  authSource: string;
572
630
  }>>>;
573
- devOnlyWatchEvents: import("zod").ZodOptional<import("zod").ZodBoolean>;
631
+ devOnlyWatchEvents: z.ZodOptional<z.ZodBoolean>;
574
632
  }>, {
575
- userAccountAddress: import("zod").ZodOptional<import("zod").ZodString>;
576
- web2: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
577
- solutionThreshold: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
578
- dappName: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
579
- serverUrl: import("zod").ZodOptional<import("zod").ZodString>;
633
+ userAccountAddress: z.ZodOptional<z.ZodString>;
634
+ web2: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
635
+ solutionThreshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
636
+ dappName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
637
+ serverUrl: z.ZodOptional<z.ZodString>;
580
638
  }>, {
581
- serverUrl: import("zod").ZodOptional<import("zod").ZodString>;
582
- timeouts: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodObject<{
583
- image: import("zod").ZodDefault<import("zod").ZodObject<{
584
- challengeTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
585
- solutionTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
586
- verifiedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
587
- cachedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
588
- }, "strip", import("zod").ZodTypeAny, {
639
+ serverUrl: z.ZodOptional<z.ZodString>;
640
+ timeouts: z.ZodDefault<z.ZodOptional<z.ZodDefault<z.ZodObject<{
641
+ image: z.ZodDefault<z.ZodObject<{
642
+ challengeTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
643
+ solutionTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
644
+ verifiedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
645
+ cachedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
646
+ }, "strip", z.ZodTypeAny, {
647
+ verifiedTimeout: number;
589
648
  challengeTimeout: number;
590
649
  solutionTimeout: number;
591
- verifiedTimeout: number;
592
650
  cachedTimeout: number;
593
651
  }, {
652
+ verifiedTimeout?: number | undefined;
594
653
  challengeTimeout?: number | undefined;
595
654
  solutionTimeout?: number | undefined;
596
- verifiedTimeout?: number | undefined;
597
655
  cachedTimeout?: number | undefined;
598
656
  }>>;
599
- pow: import("zod").ZodDefault<import("zod").ZodObject<{
600
- verifiedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
601
- solutionTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
602
- cachedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
603
- }, "strip", import("zod").ZodTypeAny, {
604
- solutionTimeout: number;
657
+ pow: z.ZodDefault<z.ZodObject<{
658
+ verifiedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
659
+ solutionTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
660
+ cachedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
661
+ }, "strip", z.ZodTypeAny, {
605
662
  verifiedTimeout: number;
663
+ solutionTimeout: number;
606
664
  cachedTimeout: number;
607
665
  }, {
608
- solutionTimeout?: number | undefined;
609
666
  verifiedTimeout?: number | undefined;
667
+ solutionTimeout?: number | undefined;
610
668
  cachedTimeout?: number | undefined;
611
669
  }>>;
612
- contract: import("zod").ZodDefault<import("zod").ZodObject<{
613
- maxVerifiedTime: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
614
- }, "strip", import("zod").ZodTypeAny, {
670
+ contract: z.ZodDefault<z.ZodObject<{
671
+ maxVerifiedTime: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
672
+ }, "strip", z.ZodTypeAny, {
615
673
  maxVerifiedTime: number;
616
674
  }, {
617
675
  maxVerifiedTime?: number | undefined;
618
676
  }>>;
619
- }, "strip", import("zod").ZodTypeAny, {
677
+ }, "strip", z.ZodTypeAny, {
620
678
  image: {
679
+ verifiedTimeout: number;
621
680
  challengeTimeout: number;
622
681
  solutionTimeout: number;
623
- verifiedTimeout: number;
624
682
  cachedTimeout: number;
625
683
  };
626
684
  contract: {
627
685
  maxVerifiedTime: number;
628
686
  };
629
687
  pow: {
630
- solutionTimeout: number;
631
688
  verifiedTimeout: number;
689
+ solutionTimeout: number;
632
690
  cachedTimeout: number;
633
691
  };
634
692
  }, {
635
693
  image?: {
694
+ verifiedTimeout?: number | undefined;
636
695
  challengeTimeout?: number | undefined;
637
696
  solutionTimeout?: number | undefined;
638
- verifiedTimeout?: number | undefined;
639
697
  cachedTimeout?: number | undefined;
640
698
  } | undefined;
641
699
  contract?: {
642
700
  maxVerifiedTime?: number | undefined;
643
701
  } | undefined;
644
702
  pow?: {
645
- solutionTimeout?: number | undefined;
646
703
  verifiedTimeout?: number | undefined;
704
+ solutionTimeout?: number | undefined;
647
705
  cachedTimeout?: number | undefined;
648
706
  } | undefined;
649
707
  }>>>>;
650
- }>, "strip", import("zod").ZodTypeAny, {
708
+ }>, "strip", z.ZodTypeAny, {
709
+ timeouts: {
710
+ image: {
711
+ verifiedTimeout: number;
712
+ challengeTimeout: number;
713
+ solutionTimeout: number;
714
+ cachedTimeout: number;
715
+ };
716
+ contract: {
717
+ maxVerifiedTime: number;
718
+ };
719
+ pow: {
720
+ verifiedTimeout: number;
721
+ solutionTimeout: number;
722
+ cachedTimeout: number;
723
+ };
724
+ };
651
725
  logLevel: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log";
652
726
  defaultEnvironment: "development" | "staging" | "production";
653
- defaultNetwork: "development" | "rococo" | "shiden";
727
+ defaultNetwork: "development" | "rococo" | "shiden" | "astar";
654
728
  account: {
655
- address?: string | undefined;
656
729
  secret?: string | undefined;
730
+ address?: string | undefined;
657
731
  password?: string | undefined;
658
732
  };
659
- networks: Record<"development" | "rococo" | "shiden", {
660
- endpoint: string;
733
+ networks: Record<"development" | "rococo" | "shiden" | "astar", {
734
+ endpoint: string[];
661
735
  contract: {
662
736
  address: string;
663
737
  name: string;
@@ -668,22 +742,6 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("
668
742
  web2: boolean;
669
743
  solutionThreshold: number;
670
744
  dappName: string;
671
- timeouts: {
672
- image: {
673
- challengeTimeout: number;
674
- solutionTimeout: number;
675
- verifiedTimeout: number;
676
- cachedTimeout: number;
677
- };
678
- contract: {
679
- maxVerifiedTime: number;
680
- };
681
- pow: {
682
- solutionTimeout: number;
683
- verifiedTimeout: number;
684
- cachedTimeout: number;
685
- };
686
- };
687
745
  database?: Partial<Record<"development" | "staging" | "production", {
688
746
  type: string;
689
747
  endpoint: string;
@@ -695,15 +753,31 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("
695
753
  serverUrl?: string | undefined;
696
754
  }, {
697
755
  account: {
698
- address?: string | undefined;
699
756
  secret?: string | undefined;
757
+ address?: string | undefined;
700
758
  password?: string | undefined;
701
759
  };
760
+ timeouts?: {
761
+ image?: {
762
+ verifiedTimeout?: number | undefined;
763
+ challengeTimeout?: number | undefined;
764
+ solutionTimeout?: number | undefined;
765
+ cachedTimeout?: number | undefined;
766
+ } | undefined;
767
+ contract?: {
768
+ maxVerifiedTime?: number | undefined;
769
+ } | undefined;
770
+ pow?: {
771
+ verifiedTimeout?: number | undefined;
772
+ solutionTimeout?: number | undefined;
773
+ cachedTimeout?: number | undefined;
774
+ } | undefined;
775
+ } | undefined;
702
776
  logLevel?: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log" | undefined;
703
777
  defaultEnvironment?: "development" | "staging" | "production" | undefined;
704
- defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
778
+ defaultNetwork?: "development" | "rococo" | "shiden" | "astar" | undefined;
705
779
  networks?: Record<string, {
706
- endpoint: string;
780
+ endpoint: string[];
707
781
  contract: {
708
782
  address: string;
709
783
  name: string;
@@ -723,43 +797,27 @@ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<import("
723
797
  solutionThreshold?: number | undefined;
724
798
  dappName?: string | undefined;
725
799
  serverUrl?: string | undefined;
726
- timeouts?: {
727
- image?: {
728
- challengeTimeout?: number | undefined;
729
- solutionTimeout?: number | undefined;
730
- verifiedTimeout?: number | undefined;
731
- cachedTimeout?: number | undefined;
732
- } | undefined;
733
- contract?: {
734
- maxVerifiedTime?: number | undefined;
735
- } | undefined;
736
- pow?: {
737
- solutionTimeout?: number | undefined;
738
- verifiedTimeout?: number | undefined;
739
- cachedTimeout?: number | undefined;
740
- } | undefined;
741
- } | undefined;
742
800
  }>;
743
801
  export type ProsopoServerConfigInput = input<typeof ProsopoServerConfigSchema>;
744
802
  export type ProsopoServerConfigOutput = output<typeof ProsopoServerConfigSchema>;
745
- export declare const AccountCreatorConfigSchema: import("zod").ZodObject<{
746
- area: import("zod").ZodObject<{
747
- width: import("zod").ZodNumber;
748
- height: import("zod").ZodNumber;
749
- }, "strip", import("zod").ZodTypeAny, {
803
+ export declare const AccountCreatorConfigSchema: z.ZodObject<{
804
+ area: z.ZodObject<{
805
+ width: z.ZodNumber;
806
+ height: z.ZodNumber;
807
+ }, "strip", z.ZodTypeAny, {
750
808
  width: number;
751
809
  height: number;
752
810
  }, {
753
811
  width: number;
754
812
  height: number;
755
813
  }>;
756
- offsetParameter: import("zod").ZodNumber;
757
- multiplier: import("zod").ZodNumber;
758
- fontSizeFactor: import("zod").ZodNumber;
759
- maxShadowBlur: import("zod").ZodNumber;
760
- numberOfRounds: import("zod").ZodNumber;
761
- seed: import("zod").ZodNumber;
762
- }, "strip", import("zod").ZodTypeAny, {
814
+ offsetParameter: z.ZodNumber;
815
+ multiplier: z.ZodNumber;
816
+ fontSizeFactor: z.ZodNumber;
817
+ maxShadowBlur: z.ZodNumber;
818
+ numberOfRounds: z.ZodNumber;
819
+ seed: z.ZodNumber;
820
+ }, "strip", z.ZodTypeAny, {
763
821
  area: {
764
822
  width: number;
765
823
  height: number;
@@ -784,40 +842,40 @@ export declare const AccountCreatorConfigSchema: import("zod").ZodObject<{
784
842
  }>;
785
843
  export type ProsopoClientConfigInput = input<typeof ProsopoClientConfigSchema>;
786
844
  export type ProsopoClientConfigOutput = output<typeof ProsopoClientConfigSchema>;
787
- export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
788
- logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
789
- defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
790
- defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
791
- account: import("zod").ZodObject<{
792
- address: import("zod").ZodOptional<import("zod").ZodString>;
793
- secret: import("zod").ZodOptional<import("zod").ZodString>;
794
- password: import("zod").ZodOptional<import("zod").ZodString>;
795
- }, "strip", import("zod").ZodTypeAny, {
796
- address?: string | undefined;
845
+ export declare const ProcaptchaConfigSchema: z.ZodIntersection<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
846
+ logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
847
+ defaultEnvironment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
848
+ defaultNetwork: z.ZodDefault<z.ZodEnum<["development", "rococo", "shiden", "astar"]>>;
849
+ account: z.ZodObject<{
850
+ address: z.ZodOptional<z.ZodString>;
851
+ secret: z.ZodOptional<z.ZodString>;
852
+ password: z.ZodOptional<z.ZodString>;
853
+ }, "strip", z.ZodTypeAny, {
797
854
  secret?: string | undefined;
855
+ address?: string | undefined;
798
856
  password?: string | undefined;
799
857
  }, {
800
- address?: string | undefined;
801
858
  secret?: string | undefined;
859
+ address?: string | undefined;
802
860
  password?: string | undefined;
803
861
  }>;
804
862
  }, {
805
- networks: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
806
- endpoint: import("zod").ZodString;
807
- contract: import("zod").ZodObject<{
808
- address: import("zod").ZodString;
809
- name: import("zod").ZodString;
810
- }, "strip", import("zod").ZodTypeAny, {
863
+ networks: z.ZodDefault<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
864
+ endpoint: z.ZodArray<z.ZodString, "many">;
865
+ contract: z.ZodObject<{
866
+ address: z.ZodString;
867
+ name: z.ZodString;
868
+ }, "strip", z.ZodTypeAny, {
811
869
  address: string;
812
870
  name: string;
813
871
  }, {
814
872
  address: string;
815
873
  name: string;
816
874
  }>;
817
- pairType: import("zod").ZodUnion<[import("zod").ZodLiteral<"sr25519">, import("zod").ZodLiteral<"ed25519">, import("zod").ZodLiteral<"ecdsa">, import("zod").ZodLiteral<"ethereum">]>;
818
- ss58Format: import("zod").ZodDefault<import("zod").ZodNumber>;
819
- }, "strip", import("zod").ZodTypeAny, {
820
- endpoint: string;
875
+ pairType: z.ZodUnion<[z.ZodLiteral<"sr25519">, z.ZodLiteral<"ed25519">, z.ZodLiteral<"ecdsa">, z.ZodLiteral<"ethereum">]>;
876
+ ss58Format: z.ZodDefault<z.ZodNumber>;
877
+ }, "strip", z.ZodTypeAny, {
878
+ endpoint: string[];
821
879
  contract: {
822
880
  address: string;
823
881
  name: string;
@@ -825,15 +883,15 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
825
883
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
826
884
  ss58Format: number;
827
885
  }, {
828
- endpoint: string;
886
+ endpoint: string[];
829
887
  contract: {
830
888
  address: string;
831
889
  name: string;
832
890
  };
833
891
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
834
892
  ss58Format?: number | undefined;
835
- }>>, Record<"development" | "rococo" | "shiden", {
836
- endpoint: string;
893
+ }>>, Record<"development" | "rococo" | "shiden" | "astar", {
894
+ endpoint: string[];
837
895
  contract: {
838
896
  address: string;
839
897
  name: string;
@@ -841,7 +899,7 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
841
899
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
842
900
  ss58Format: number;
843
901
  }>, Record<string, {
844
- endpoint: string;
902
+ endpoint: string[];
845
903
  contract: {
846
904
  address: string;
847
905
  name: string;
@@ -849,12 +907,12 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
849
907
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
850
908
  ss58Format?: number | undefined;
851
909
  }>>>;
852
- database: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["development", "staging", "production"]>, import("zod").ZodObject<{
853
- type: import("zod").ZodString;
854
- endpoint: import("zod").ZodString;
855
- dbname: import("zod").ZodString;
856
- authSource: import("zod").ZodString;
857
- }, "strip", import("zod").ZodTypeAny, {
910
+ database: z.ZodOptional<z.ZodRecord<z.ZodEnum<["development", "staging", "production"]>, z.ZodObject<{
911
+ type: z.ZodString;
912
+ endpoint: z.ZodString;
913
+ dbname: z.ZodString;
914
+ authSource: z.ZodString;
915
+ }, "strip", z.ZodTypeAny, {
858
916
  type: string;
859
917
  endpoint: string;
860
918
  dbname: string;
@@ -865,24 +923,24 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
865
923
  dbname: string;
866
924
  authSource: string;
867
925
  }>>>;
868
- devOnlyWatchEvents: import("zod").ZodOptional<import("zod").ZodBoolean>;
926
+ devOnlyWatchEvents: z.ZodOptional<z.ZodBoolean>;
869
927
  }>, {
870
- userAccountAddress: import("zod").ZodOptional<import("zod").ZodString>;
871
- web2: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
872
- solutionThreshold: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
873
- dappName: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
874
- serverUrl: import("zod").ZodOptional<import("zod").ZodString>;
875
- }>, "strip", import("zod").ZodTypeAny, {
928
+ userAccountAddress: z.ZodOptional<z.ZodString>;
929
+ web2: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
930
+ solutionThreshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
931
+ dappName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
932
+ serverUrl: z.ZodOptional<z.ZodString>;
933
+ }>, "strip", z.ZodTypeAny, {
876
934
  logLevel: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log";
877
935
  defaultEnvironment: "development" | "staging" | "production";
878
- defaultNetwork: "development" | "rococo" | "shiden";
936
+ defaultNetwork: "development" | "rococo" | "shiden" | "astar";
879
937
  account: {
880
- address?: string | undefined;
881
938
  secret?: string | undefined;
939
+ address?: string | undefined;
882
940
  password?: string | undefined;
883
941
  };
884
- networks: Record<"development" | "rococo" | "shiden", {
885
- endpoint: string;
942
+ networks: Record<"development" | "rococo" | "shiden" | "astar", {
943
+ endpoint: string[];
886
944
  contract: {
887
945
  address: string;
888
946
  name: string;
@@ -904,15 +962,15 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
904
962
  serverUrl?: string | undefined;
905
963
  }, {
906
964
  account: {
907
- address?: string | undefined;
908
965
  secret?: string | undefined;
966
+ address?: string | undefined;
909
967
  password?: string | undefined;
910
968
  };
911
969
  logLevel?: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log" | undefined;
912
970
  defaultEnvironment?: "development" | "staging" | "production" | undefined;
913
- defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
971
+ defaultNetwork?: "development" | "rococo" | "shiden" | "astar" | undefined;
914
972
  networks?: Record<string, {
915
- endpoint: string;
973
+ endpoint: string[];
916
974
  contract: {
917
975
  address: string;
918
976
  name: string;
@@ -932,25 +990,25 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
932
990
  solutionThreshold?: number | undefined;
933
991
  dappName?: string | undefined;
934
992
  serverUrl?: string | undefined;
935
- }>, import("zod").ZodObject<{
936
- accountCreator: import("zod").ZodOptional<import("zod").ZodObject<{
937
- area: import("zod").ZodObject<{
938
- width: import("zod").ZodNumber;
939
- height: import("zod").ZodNumber;
940
- }, "strip", import("zod").ZodTypeAny, {
993
+ }>, z.ZodObject<{
994
+ accountCreator: z.ZodOptional<z.ZodObject<{
995
+ area: z.ZodObject<{
996
+ width: z.ZodNumber;
997
+ height: z.ZodNumber;
998
+ }, "strip", z.ZodTypeAny, {
941
999
  width: number;
942
1000
  height: number;
943
1001
  }, {
944
1002
  width: number;
945
1003
  height: number;
946
1004
  }>;
947
- offsetParameter: import("zod").ZodNumber;
948
- multiplier: import("zod").ZodNumber;
949
- fontSizeFactor: import("zod").ZodNumber;
950
- maxShadowBlur: import("zod").ZodNumber;
951
- numberOfRounds: import("zod").ZodNumber;
952
- seed: import("zod").ZodNumber;
953
- }, "strip", import("zod").ZodTypeAny, {
1005
+ offsetParameter: z.ZodNumber;
1006
+ multiplier: z.ZodNumber;
1007
+ fontSizeFactor: z.ZodNumber;
1008
+ maxShadowBlur: z.ZodNumber;
1009
+ numberOfRounds: z.ZodNumber;
1010
+ seed: z.ZodNumber;
1011
+ }, "strip", z.ZodTypeAny, {
954
1012
  area: {
955
1013
  width: number;
956
1014
  height: number;
@@ -973,89 +1031,89 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
973
1031
  numberOfRounds: number;
974
1032
  seed: number;
975
1033
  }>>;
976
- theme: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"light">, import("zod").ZodLiteral<"dark">]>>;
977
- captchas: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodObject<{
978
- image: import("zod").ZodDefault<import("zod").ZodObject<{
979
- challengeTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
980
- solutionTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
981
- verifiedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
982
- cachedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
983
- }, "strip", import("zod").ZodTypeAny, {
1034
+ theme: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"light">, z.ZodLiteral<"dark">]>>;
1035
+ captchas: z.ZodDefault<z.ZodOptional<z.ZodDefault<z.ZodObject<{
1036
+ image: z.ZodDefault<z.ZodObject<{
1037
+ challengeTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1038
+ solutionTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1039
+ verifiedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1040
+ cachedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1041
+ }, "strip", z.ZodTypeAny, {
1042
+ verifiedTimeout: number;
984
1043
  challengeTimeout: number;
985
1044
  solutionTimeout: number;
986
- verifiedTimeout: number;
987
1045
  cachedTimeout: number;
988
1046
  }, {
1047
+ verifiedTimeout?: number | undefined;
989
1048
  challengeTimeout?: number | undefined;
990
1049
  solutionTimeout?: number | undefined;
991
- verifiedTimeout?: number | undefined;
992
1050
  cachedTimeout?: number | undefined;
993
1051
  }>>;
994
- pow: import("zod").ZodDefault<import("zod").ZodObject<{
995
- verifiedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
996
- solutionTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
997
- cachedTimeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
998
- }, "strip", import("zod").ZodTypeAny, {
999
- solutionTimeout: number;
1052
+ pow: z.ZodDefault<z.ZodObject<{
1053
+ verifiedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1054
+ solutionTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1055
+ cachedTimeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1056
+ }, "strip", z.ZodTypeAny, {
1000
1057
  verifiedTimeout: number;
1058
+ solutionTimeout: number;
1001
1059
  cachedTimeout: number;
1002
1060
  }, {
1003
- solutionTimeout?: number | undefined;
1004
1061
  verifiedTimeout?: number | undefined;
1062
+ solutionTimeout?: number | undefined;
1005
1063
  cachedTimeout?: number | undefined;
1006
1064
  }>>;
1007
- contract: import("zod").ZodDefault<import("zod").ZodObject<{
1008
- maxVerifiedTime: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
1009
- }, "strip", import("zod").ZodTypeAny, {
1065
+ contract: z.ZodDefault<z.ZodObject<{
1066
+ maxVerifiedTime: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1067
+ }, "strip", z.ZodTypeAny, {
1010
1068
  maxVerifiedTime: number;
1011
1069
  }, {
1012
1070
  maxVerifiedTime?: number | undefined;
1013
1071
  }>>;
1014
- }, "strip", import("zod").ZodTypeAny, {
1072
+ }, "strip", z.ZodTypeAny, {
1015
1073
  image: {
1074
+ verifiedTimeout: number;
1016
1075
  challengeTimeout: number;
1017
1076
  solutionTimeout: number;
1018
- verifiedTimeout: number;
1019
1077
  cachedTimeout: number;
1020
1078
  };
1021
1079
  contract: {
1022
1080
  maxVerifiedTime: number;
1023
1081
  };
1024
1082
  pow: {
1025
- solutionTimeout: number;
1026
1083
  verifiedTimeout: number;
1084
+ solutionTimeout: number;
1027
1085
  cachedTimeout: number;
1028
1086
  };
1029
1087
  }, {
1030
1088
  image?: {
1089
+ verifiedTimeout?: number | undefined;
1031
1090
  challengeTimeout?: number | undefined;
1032
1091
  solutionTimeout?: number | undefined;
1033
- verifiedTimeout?: number | undefined;
1034
1092
  cachedTimeout?: number | undefined;
1035
1093
  } | undefined;
1036
1094
  contract?: {
1037
1095
  maxVerifiedTime?: number | undefined;
1038
1096
  } | undefined;
1039
1097
  pow?: {
1040
- solutionTimeout?: number | undefined;
1041
1098
  verifiedTimeout?: number | undefined;
1099
+ solutionTimeout?: number | undefined;
1042
1100
  cachedTimeout?: number | undefined;
1043
1101
  } | undefined;
1044
1102
  }>>>>;
1045
- }, "strip", import("zod").ZodTypeAny, {
1103
+ }, "strip", z.ZodTypeAny, {
1046
1104
  captchas: {
1047
1105
  image: {
1106
+ verifiedTimeout: number;
1048
1107
  challengeTimeout: number;
1049
1108
  solutionTimeout: number;
1050
- verifiedTimeout: number;
1051
1109
  cachedTimeout: number;
1052
1110
  };
1053
1111
  contract: {
1054
1112
  maxVerifiedTime: number;
1055
1113
  };
1056
1114
  pow: {
1057
- solutionTimeout: number;
1058
1115
  verifiedTimeout: number;
1116
+ solutionTimeout: number;
1059
1117
  cachedTimeout: number;
1060
1118
  };
1061
1119
  };
@@ -1075,17 +1133,17 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
1075
1133
  }, {
1076
1134
  captchas?: {
1077
1135
  image?: {
1136
+ verifiedTimeout?: number | undefined;
1078
1137
  challengeTimeout?: number | undefined;
1079
1138
  solutionTimeout?: number | undefined;
1080
- verifiedTimeout?: number | undefined;
1081
1139
  cachedTimeout?: number | undefined;
1082
1140
  } | undefined;
1083
1141
  contract?: {
1084
1142
  maxVerifiedTime?: number | undefined;
1085
1143
  } | undefined;
1086
1144
  pow?: {
1087
- solutionTimeout?: number | undefined;
1088
1145
  verifiedTimeout?: number | undefined;
1146
+ solutionTimeout?: number | undefined;
1089
1147
  cachedTimeout?: number | undefined;
1090
1148
  } | undefined;
1091
1149
  } | undefined;
@@ -1105,40 +1163,40 @@ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<impor
1105
1163
  }>>;
1106
1164
  export type ProcaptchaClientConfigInput = input<typeof ProcaptchaConfigSchema>;
1107
1165
  export type ProcaptchaClientConfigOutput = output<typeof ProcaptchaConfigSchema>;
1108
- export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
1109
- logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
1110
- defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
1111
- defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
1112
- account: import("zod").ZodObject<{
1113
- address: import("zod").ZodOptional<import("zod").ZodString>;
1114
- secret: import("zod").ZodOptional<import("zod").ZodString>;
1115
- password: import("zod").ZodOptional<import("zod").ZodString>;
1116
- }, "strip", import("zod").ZodTypeAny, {
1117
- address?: string | undefined;
1166
+ export declare const ProsopoConfigSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1167
+ logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal", "log"]>>>;
1168
+ defaultEnvironment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
1169
+ defaultNetwork: z.ZodDefault<z.ZodEnum<["development", "rococo", "shiden", "astar"]>>;
1170
+ account: z.ZodObject<{
1171
+ address: z.ZodOptional<z.ZodString>;
1172
+ secret: z.ZodOptional<z.ZodString>;
1173
+ password: z.ZodOptional<z.ZodString>;
1174
+ }, "strip", z.ZodTypeAny, {
1118
1175
  secret?: string | undefined;
1176
+ address?: string | undefined;
1119
1177
  password?: string | undefined;
1120
1178
  }, {
1121
- address?: string | undefined;
1122
1179
  secret?: string | undefined;
1180
+ address?: string | undefined;
1123
1181
  password?: string | undefined;
1124
1182
  }>;
1125
1183
  }, {
1126
- networks: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1127
- endpoint: import("zod").ZodString;
1128
- contract: import("zod").ZodObject<{
1129
- address: import("zod").ZodString;
1130
- name: import("zod").ZodString;
1131
- }, "strip", import("zod").ZodTypeAny, {
1184
+ networks: z.ZodDefault<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
1185
+ endpoint: z.ZodArray<z.ZodString, "many">;
1186
+ contract: z.ZodObject<{
1187
+ address: z.ZodString;
1188
+ name: z.ZodString;
1189
+ }, "strip", z.ZodTypeAny, {
1132
1190
  address: string;
1133
1191
  name: string;
1134
1192
  }, {
1135
1193
  address: string;
1136
1194
  name: string;
1137
1195
  }>;
1138
- pairType: import("zod").ZodUnion<[import("zod").ZodLiteral<"sr25519">, import("zod").ZodLiteral<"ed25519">, import("zod").ZodLiteral<"ecdsa">, import("zod").ZodLiteral<"ethereum">]>;
1139
- ss58Format: import("zod").ZodDefault<import("zod").ZodNumber>;
1140
- }, "strip", import("zod").ZodTypeAny, {
1141
- endpoint: string;
1196
+ pairType: z.ZodUnion<[z.ZodLiteral<"sr25519">, z.ZodLiteral<"ed25519">, z.ZodLiteral<"ecdsa">, z.ZodLiteral<"ethereum">]>;
1197
+ ss58Format: z.ZodDefault<z.ZodNumber>;
1198
+ }, "strip", z.ZodTypeAny, {
1199
+ endpoint: string[];
1142
1200
  contract: {
1143
1201
  address: string;
1144
1202
  name: string;
@@ -1146,15 +1204,15 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").
1146
1204
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
1147
1205
  ss58Format: number;
1148
1206
  }, {
1149
- endpoint: string;
1207
+ endpoint: string[];
1150
1208
  contract: {
1151
1209
  address: string;
1152
1210
  name: string;
1153
1211
  };
1154
1212
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
1155
1213
  ss58Format?: number | undefined;
1156
- }>>, Record<"development" | "rococo" | "shiden", {
1157
- endpoint: string;
1214
+ }>>, Record<"development" | "rococo" | "shiden" | "astar", {
1215
+ endpoint: string[];
1158
1216
  contract: {
1159
1217
  address: string;
1160
1218
  name: string;
@@ -1162,7 +1220,7 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").
1162
1220
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
1163
1221
  ss58Format: number;
1164
1222
  }>, Record<string, {
1165
- endpoint: string;
1223
+ endpoint: string[];
1166
1224
  contract: {
1167
1225
  address: string;
1168
1226
  name: string;
@@ -1170,12 +1228,12 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").
1170
1228
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
1171
1229
  ss58Format?: number | undefined;
1172
1230
  }>>>;
1173
- database: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["development", "staging", "production"]>, import("zod").ZodObject<{
1174
- type: import("zod").ZodString;
1175
- endpoint: import("zod").ZodString;
1176
- dbname: import("zod").ZodString;
1177
- authSource: import("zod").ZodString;
1178
- }, "strip", import("zod").ZodTypeAny, {
1231
+ database: z.ZodOptional<z.ZodRecord<z.ZodEnum<["development", "staging", "production"]>, z.ZodObject<{
1232
+ type: z.ZodString;
1233
+ endpoint: z.ZodString;
1234
+ dbname: z.ZodString;
1235
+ authSource: z.ZodString;
1236
+ }, "strip", z.ZodTypeAny, {
1179
1237
  type: string;
1180
1238
  endpoint: string;
1181
1239
  dbname: string;
@@ -1186,24 +1244,24 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").
1186
1244
  dbname: string;
1187
1245
  authSource: string;
1188
1246
  }>>>;
1189
- devOnlyWatchEvents: import("zod").ZodOptional<import("zod").ZodBoolean>;
1247
+ devOnlyWatchEvents: z.ZodOptional<z.ZodBoolean>;
1190
1248
  }>, {
1191
- captchas: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
1192
- solved: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
1193
- count: import("zod").ZodNumber;
1194
- }, "strip", import("zod").ZodTypeAny, {
1249
+ captchas: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1250
+ solved: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1251
+ count: z.ZodNumber;
1252
+ }, "strip", z.ZodTypeAny, {
1195
1253
  count: number;
1196
1254
  }, {
1197
1255
  count: number;
1198
1256
  }>>>;
1199
- unsolved: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
1200
- count: import("zod").ZodNumber;
1201
- }, "strip", import("zod").ZodTypeAny, {
1257
+ unsolved: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1258
+ count: z.ZodNumber;
1259
+ }, "strip", z.ZodTypeAny, {
1202
1260
  count: number;
1203
1261
  }, {
1204
1262
  count: number;
1205
1263
  }>>>;
1206
- }, "strip", import("zod").ZodTypeAny, {
1264
+ }, "strip", z.ZodTypeAny, {
1207
1265
  solved: {
1208
1266
  count: number;
1209
1267
  };
@@ -1218,11 +1276,11 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").
1218
1276
  count: number;
1219
1277
  } | undefined;
1220
1278
  }>>>;
1221
- captchaSolutions: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
1222
- requiredNumberOfSolutions: import("zod").ZodNumber;
1223
- solutionWinningPercentage: import("zod").ZodNumber;
1224
- captchaBlockRecency: import("zod").ZodNumber;
1225
- }, "strip", import("zod").ZodTypeAny, {
1279
+ captchaSolutions: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1280
+ requiredNumberOfSolutions: z.ZodNumber;
1281
+ solutionWinningPercentage: z.ZodNumber;
1282
+ captchaBlockRecency: z.ZodNumber;
1283
+ }, "strip", z.ZodTypeAny, {
1226
1284
  requiredNumberOfSolutions: number;
1227
1285
  solutionWinningPercentage: number;
1228
1286
  captchaBlockRecency: number;
@@ -1231,28 +1289,28 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").
1231
1289
  solutionWinningPercentage: number;
1232
1290
  captchaBlockRecency: number;
1233
1291
  }>>>;
1234
- batchCommit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
1235
- interval: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
1236
- maxBatchExtrinsicPercentage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
1237
- }, "strip", import("zod").ZodTypeAny, {
1292
+ batchCommit: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1293
+ interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1294
+ maxBatchExtrinsicPercentage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1295
+ }, "strip", z.ZodTypeAny, {
1238
1296
  interval: number;
1239
1297
  maxBatchExtrinsicPercentage: number;
1240
1298
  }, {
1241
1299
  interval?: number | undefined;
1242
1300
  maxBatchExtrinsicPercentage?: number | undefined;
1243
1301
  }>>>;
1244
- server: import("zod").ZodObject<{
1245
- baseURL: import("zod").ZodString;
1246
- port: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
1247
- }, "strip", import("zod").ZodTypeAny, {
1302
+ server: z.ZodObject<{
1303
+ baseURL: z.ZodString;
1304
+ port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1305
+ }, "strip", z.ZodTypeAny, {
1248
1306
  baseURL: string;
1249
1307
  port: number;
1250
1308
  }, {
1251
1309
  baseURL: string;
1252
1310
  port?: number | undefined;
1253
1311
  }>;
1254
- mongoEventsUri: import("zod").ZodOptional<import("zod").ZodString>;
1255
- }>, "strip", import("zod").ZodTypeAny, {
1312
+ mongoEventsUri: z.ZodOptional<z.ZodString>;
1313
+ }>, "strip", z.ZodTypeAny, {
1256
1314
  captchas: {
1257
1315
  solved: {
1258
1316
  count: number;
@@ -1263,14 +1321,14 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").
1263
1321
  };
1264
1322
  logLevel: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log";
1265
1323
  defaultEnvironment: "development" | "staging" | "production";
1266
- defaultNetwork: "development" | "rococo" | "shiden";
1324
+ defaultNetwork: "development" | "rococo" | "shiden" | "astar";
1267
1325
  account: {
1268
- address?: string | undefined;
1269
1326
  secret?: string | undefined;
1327
+ address?: string | undefined;
1270
1328
  password?: string | undefined;
1271
1329
  };
1272
- networks: Record<"development" | "rococo" | "shiden", {
1273
- endpoint: string;
1330
+ networks: Record<"development" | "rococo" | "shiden" | "astar", {
1331
+ endpoint: string[];
1274
1332
  contract: {
1275
1333
  address: string;
1276
1334
  name: string;
@@ -1301,8 +1359,8 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").
1301
1359
  mongoEventsUri?: string | undefined;
1302
1360
  }, {
1303
1361
  account: {
1304
- address?: string | undefined;
1305
1362
  secret?: string | undefined;
1363
+ address?: string | undefined;
1306
1364
  password?: string | undefined;
1307
1365
  };
1308
1366
  server: {
@@ -1319,9 +1377,9 @@ export declare const ProsopoConfigSchema: import("zod").ZodObject<import("zod").
1319
1377
  } | undefined;
1320
1378
  logLevel?: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | "log" | undefined;
1321
1379
  defaultEnvironment?: "development" | "staging" | "production" | undefined;
1322
- defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
1380
+ defaultNetwork?: "development" | "rococo" | "shiden" | "astar" | undefined;
1323
1381
  networks?: Record<string, {
1324
- endpoint: string;
1382
+ endpoint: string[];
1325
1383
  contract: {
1326
1384
  address: string;
1327
1385
  name: string;