@prosopo/types 0.3.40 → 0.3.42

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