@prosopo/types 0.2.13 → 0.2.14

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 (68) hide show
  1. package/dist/cjs/config/config.cjs +56 -52
  2. package/dist/cjs/config/enumMap.cjs +2 -2
  3. package/dist/cjs/config/network.cjs +12 -12
  4. package/dist/cjs/contract/artifacts.cjs +2 -2
  5. package/dist/cjs/datasets/captcha.cjs +36 -36
  6. package/dist/cjs/datasets/dataset.cjs +16 -16
  7. package/dist/cjs/procaptcha/manager.cjs +7 -7
  8. package/dist/cjs/provider/api.cjs +15 -14
  9. package/dist/cjs/provider/argv.cjs +2 -3
  10. package/dist/config/config.d.ts +253 -425
  11. package/dist/config/config.d.ts.map +1 -1
  12. package/dist/config/config.js +59 -54
  13. package/dist/config/config.js.map +1 -1
  14. package/dist/config/enumMap.d.ts +2 -2
  15. package/dist/config/enumMap.d.ts.map +1 -1
  16. package/dist/config/enumMap.js +2 -2
  17. package/dist/config/enumMap.js.map +1 -1
  18. package/dist/config/network.d.ts +23 -23
  19. package/dist/config/network.d.ts.map +1 -1
  20. package/dist/config/network.js +13 -13
  21. package/dist/config/network.js.map +1 -1
  22. package/dist/contract/artifacts.d.ts +2 -2
  23. package/dist/contract/artifacts.d.ts.map +1 -1
  24. package/dist/contract/artifacts.js +1 -1
  25. package/dist/contract/artifacts.js.map +1 -1
  26. package/dist/contract/batch.d.ts +2 -2
  27. package/dist/contract/batch.d.ts.map +1 -1
  28. package/dist/contract/contract.d.ts +1 -1
  29. package/dist/contract/contract.d.ts.map +1 -1
  30. package/dist/contract/useWeight.d.ts +1 -1
  31. package/dist/contract/useWeight.d.ts.map +1 -1
  32. package/dist/datasets/captcha.d.ts +158 -158
  33. package/dist/datasets/captcha.d.ts.map +1 -1
  34. package/dist/datasets/captcha.js +37 -37
  35. package/dist/datasets/captcha.js.map +1 -1
  36. package/dist/datasets/dataset.d.ts +87 -88
  37. package/dist/datasets/dataset.d.ts.map +1 -1
  38. package/dist/datasets/dataset.js +17 -17
  39. package/dist/datasets/dataset.js.map +1 -1
  40. package/dist/index.d.ts +1 -1
  41. package/dist/index.d.ts.map +1 -1
  42. package/dist/procaptcha/manager.d.ts +18 -18
  43. package/dist/procaptcha/manager.d.ts.map +1 -1
  44. package/dist/procaptcha/manager.js +8 -8
  45. package/dist/procaptcha/manager.js.map +1 -1
  46. package/dist/provider/accounts.d.ts +2 -3
  47. package/dist/provider/accounts.d.ts.map +1 -1
  48. package/dist/provider/api.d.ts +32 -26
  49. package/dist/provider/api.d.ts.map +1 -1
  50. package/dist/provider/api.js +16 -15
  51. package/dist/provider/api.js.map +1 -1
  52. package/dist/provider/argv.d.ts +2 -3
  53. package/dist/provider/argv.d.ts.map +1 -1
  54. package/dist/provider/argv.js +3 -3
  55. package/dist/provider/argv.js.map +1 -1
  56. package/package.json +3 -3
  57. package/dist/cjs/contracts/captcha/dist/build-extrinsic/captcha.cjs +0 -339
  58. package/dist/cjs/contracts/captcha/dist/contract-info/captcha.cjs +0 -6
  59. package/dist/cjs/contracts/captcha/dist/contracts/captcha.cjs +0 -79
  60. package/dist/cjs/contracts/captcha/dist/data/captcha.json.cjs +0 -3374
  61. package/dist/cjs/contracts/captcha/dist/event-data/captcha.json.cjs +0 -3
  62. package/dist/cjs/contracts/captcha/dist/events/captcha.cjs +0 -23
  63. package/dist/cjs/contracts/captcha/dist/index.cjs +0 -44
  64. package/dist/cjs/contracts/captcha/dist/mixed-methods/captcha.cjs +0 -470
  65. package/dist/cjs/contracts/captcha/dist/query/captcha.cjs +0 -468
  66. package/dist/cjs/contracts/captcha/dist/shared/utils.cjs +0 -31
  67. package/dist/cjs/contracts/captcha/dist/tx-sign-and-send/captcha.cjs +0 -426
  68. package/dist/cjs/contracts/captcha/dist/types-arguments/captcha.cjs +0 -62
@@ -1,14 +1,16 @@
1
1
  import { ProsopoNetworksSchema } from './network.js';
2
- import { z } from 'zod';
3
- export declare const DatabaseTypes: z.ZodEnum<["mongo", "mongoMemory"]>;
4
- export declare const EnvironmentTypesSchema: z.ZodEnum<["development", "staging", "production"]>;
5
- export type EnvironmentTypes = z.infer<typeof EnvironmentTypesSchema>;
6
- export declare const DatabaseConfigSchema: z.ZodRecord<z.ZodEnum<["development", "staging", "production"]>, z.ZodObject<{
7
- type: z.ZodString;
8
- endpoint: z.ZodString;
9
- dbname: z.ZodString;
10
- authSource: z.ZodString;
11
- }, "strip", z.ZodTypeAny, {
2
+ import { input } from 'zod';
3
+ import { output } from 'zod';
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"]>;
7
+ 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, {
12
14
  type: string;
13
15
  endpoint: string;
14
16
  dbname: string;
@@ -19,29 +21,29 @@ export declare const DatabaseConfigSchema: z.ZodRecord<z.ZodEnum<["development",
19
21
  dbname: string;
20
22
  authSource: string;
21
23
  }>>;
22
- export declare const BatchCommitConfigSchema: z.ZodObject<{
23
- interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
24
- maxBatchExtrinsicPercentage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
25
- }, "strip", z.ZodTypeAny, {
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, {
26
28
  interval: number;
27
29
  maxBatchExtrinsicPercentage: number;
28
30
  }, {
29
31
  interval?: number | undefined;
30
32
  maxBatchExtrinsicPercentage?: number | undefined;
31
33
  }>;
32
- export type BatchCommitConfigInput = z.input<typeof BatchCommitConfigSchema>;
33
- export type BatchCommitConfigOutput = z.output<typeof BatchCommitConfigSchema>;
34
- export type DatabaseConfigInput = z.input<typeof DatabaseConfigSchema>;
35
- export type DatabaseConfigOutput = z.output<typeof DatabaseConfigSchema>;
36
- export declare const ProsopoBaseConfigSchema: z.ZodObject<{
37
- logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
38
- defaultEnvironment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
39
- defaultNetwork: z.ZodDefault<z.ZodEnum<["development", "rococo", "shiden"]>>;
40
- account: z.ZodObject<{
41
- address: z.ZodOptional<z.ZodString>;
42
- secret: z.ZodOptional<z.ZodString>;
43
- password: z.ZodOptional<z.ZodString>;
44
- }, "strip", z.ZodTypeAny, {
34
+ export type BatchCommitConfigInput = input<typeof BatchCommitConfigSchema>;
35
+ export type BatchCommitConfigOutput = output<typeof BatchCommitConfigSchema>;
36
+ export type DatabaseConfigInput = input<typeof DatabaseConfigSchema>;
37
+ 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"]>>>;
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, {
45
47
  address?: string | undefined;
46
48
  secret?: string | undefined;
47
49
  password?: string | undefined;
@@ -50,7 +52,7 @@ export declare const ProsopoBaseConfigSchema: z.ZodObject<{
50
52
  secret?: string | undefined;
51
53
  password?: string | undefined;
52
54
  }>;
53
- }, "strip", z.ZodTypeAny, {
55
+ }, "strip", import("zod").ZodTypeAny, {
54
56
  logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal";
55
57
  defaultEnvironment: "development" | "staging" | "production";
56
58
  defaultNetwork: "development" | "rococo" | "shiden";
@@ -69,15 +71,15 @@ export declare const ProsopoBaseConfigSchema: z.ZodObject<{
69
71
  defaultEnvironment?: "development" | "staging" | "production" | undefined;
70
72
  defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
71
73
  }>;
72
- export declare const ProsopoBasicConfigSchema: z.ZodObject<{
73
- logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
74
- defaultEnvironment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
75
- defaultNetwork: z.ZodDefault<z.ZodEnum<["development", "rococo", "shiden"]>>;
76
- account: z.ZodObject<{
77
- address: z.ZodOptional<z.ZodString>;
78
- secret: z.ZodOptional<z.ZodString>;
79
- password: z.ZodOptional<z.ZodString>;
80
- }, "strip", z.ZodTypeAny, {
74
+ export declare const ProsopoBasicConfigSchema: import("zod").ZodObject<{
75
+ logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
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, {
81
83
  address?: string | undefined;
82
84
  secret?: string | undefined;
83
85
  password?: string | undefined;
@@ -86,21 +88,21 @@ export declare const ProsopoBasicConfigSchema: z.ZodObject<{
86
88
  secret?: string | undefined;
87
89
  password?: string | undefined;
88
90
  }>;
89
- networks: z.ZodDefault<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
90
- endpoint: z.ZodString;
91
- contract: z.ZodObject<{
92
- address: z.ZodString;
93
- name: z.ZodString;
94
- }, "strip", z.ZodTypeAny, {
91
+ networks: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
92
+ endpoint: import("zod").ZodString;
93
+ contract: import("zod").ZodObject<{
94
+ address: import("zod").ZodString;
95
+ name: import("zod").ZodString;
96
+ }, "strip", import("zod").ZodTypeAny, {
95
97
  address: string;
96
98
  name: string;
97
99
  }, {
98
100
  address: string;
99
101
  name: string;
100
102
  }>;
101
- pairType: z.ZodUnion<[z.ZodLiteral<"sr25519">, z.ZodLiteral<"ed25519">, z.ZodLiteral<"ecdsa">, z.ZodLiteral<"ethereum">]>;
102
- ss58Format: z.ZodDefault<z.ZodNumber>;
103
- }, "strip", z.ZodTypeAny, {
103
+ pairType: import("zod").ZodUnion<[import("zod").ZodLiteral<"sr25519">, import("zod").ZodLiteral<"ed25519">, import("zod").ZodLiteral<"ecdsa">, import("zod").ZodLiteral<"ethereum">]>;
104
+ ss58Format: import("zod").ZodDefault<import("zod").ZodNumber>;
105
+ }, "strip", import("zod").ZodTypeAny, {
104
106
  endpoint: string;
105
107
  contract: {
106
108
  address: string;
@@ -133,12 +135,12 @@ export declare const ProsopoBasicConfigSchema: z.ZodObject<{
133
135
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
134
136
  ss58Format?: number | undefined;
135
137
  }>>>;
136
- database: z.ZodOptional<z.ZodRecord<z.ZodEnum<["development", "staging", "production"]>, z.ZodObject<{
137
- type: z.ZodString;
138
- endpoint: z.ZodString;
139
- dbname: z.ZodString;
140
- authSource: z.ZodString;
141
- }, "strip", z.ZodTypeAny, {
138
+ database: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["development", "staging", "production"]>, import("zod").ZodObject<{
139
+ type: import("zod").ZodString;
140
+ endpoint: import("zod").ZodString;
141
+ dbname: import("zod").ZodString;
142
+ authSource: import("zod").ZodString;
143
+ }, "strip", import("zod").ZodTypeAny, {
142
144
  type: string;
143
145
  endpoint: string;
144
146
  dbname: string;
@@ -149,7 +151,7 @@ export declare const ProsopoBasicConfigSchema: z.ZodObject<{
149
151
  dbname: string;
150
152
  authSource: string;
151
153
  }>>>;
152
- }, "strip", z.ZodTypeAny, {
154
+ }, "strip", import("zod").ZodTypeAny, {
153
155
  logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal";
154
156
  defaultEnvironment: "development" | "staging" | "production";
155
157
  defaultNetwork: "development" | "rococo" | "shiden";
@@ -198,26 +200,26 @@ export declare const ProsopoBasicConfigSchema: z.ZodObject<{
198
200
  authSource: string;
199
201
  }>> | undefined;
200
202
  }>;
201
- export type ProsopoNetworksSchemaInput = z.input<typeof ProsopoNetworksSchema>;
202
- export type ProsopoNetworksSchemaOutput = z.output<typeof ProsopoNetworksSchema>;
203
- export type ProsopoBasicConfigInput = z.input<typeof ProsopoBasicConfigSchema>;
204
- export type ProsopoBasicConfigOutput = z.output<typeof ProsopoBasicConfigSchema>;
205
- export declare const ProsopoCaptchaCountConfigSchema: z.ZodObject<{
206
- solved: z.ZodDefault<z.ZodOptional<z.ZodObject<{
207
- count: z.ZodNumber;
208
- }, "strip", z.ZodTypeAny, {
203
+ export type ProsopoNetworksSchemaInput = input<typeof ProsopoNetworksSchema>;
204
+ export type ProsopoNetworksSchemaOutput = output<typeof ProsopoNetworksSchema>;
205
+ export type ProsopoBasicConfigInput = input<typeof ProsopoBasicConfigSchema>;
206
+ export type ProsopoBasicConfigOutput = output<typeof ProsopoBasicConfigSchema>;
207
+ export declare const ProsopoCaptchaCountConfigSchema: import("zod").ZodObject<{
208
+ solved: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
209
+ count: import("zod").ZodNumber;
210
+ }, "strip", import("zod").ZodTypeAny, {
209
211
  count: number;
210
212
  }, {
211
213
  count: number;
212
214
  }>>>;
213
- unsolved: z.ZodDefault<z.ZodOptional<z.ZodObject<{
214
- count: z.ZodNumber;
215
- }, "strip", z.ZodTypeAny, {
215
+ unsolved: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
216
+ count: import("zod").ZodNumber;
217
+ }, "strip", import("zod").ZodTypeAny, {
216
218
  count: number;
217
219
  }, {
218
220
  count: number;
219
221
  }>>>;
220
- }, "strip", z.ZodTypeAny, {
222
+ }, "strip", import("zod").ZodTypeAny, {
221
223
  solved: {
222
224
  count: number;
223
225
  };
@@ -232,22 +234,22 @@ export declare const ProsopoCaptchaCountConfigSchema: z.ZodObject<{
232
234
  count: number;
233
235
  } | undefined;
234
236
  }>;
235
- export type ProsopoCaptchaCountConfigSchemaInput = z.input<typeof ProsopoCaptchaCountConfigSchema>;
236
- export declare const ProsopoImageServerConfigSchema: z.ZodObject<{
237
- baseURL: z.ZodString;
238
- port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
239
- }, "strip", z.ZodTypeAny, {
237
+ export type ProsopoCaptchaCountConfigSchemaInput = input<typeof ProsopoCaptchaCountConfigSchema>;
238
+ export declare const ProsopoImageServerConfigSchema: import("zod").ZodObject<{
239
+ baseURL: import("zod").ZodString;
240
+ port: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
241
+ }, "strip", import("zod").ZodTypeAny, {
240
242
  baseURL: string;
241
243
  port: number;
242
244
  }, {
243
245
  baseURL: string;
244
246
  port?: number | undefined;
245
247
  }>;
246
- export declare const ProsopoCaptchaSolutionConfigSchema: z.ZodObject<{
247
- requiredNumberOfSolutions: z.ZodNumber;
248
- solutionWinningPercentage: z.ZodNumber;
249
- captchaBlockRecency: z.ZodNumber;
250
- }, "strip", z.ZodTypeAny, {
248
+ export declare const ProsopoCaptchaSolutionConfigSchema: import("zod").ZodObject<{
249
+ requiredNumberOfSolutions: import("zod").ZodNumber;
250
+ solutionWinningPercentage: import("zod").ZodNumber;
251
+ captchaBlockRecency: import("zod").ZodNumber;
252
+ }, "strip", import("zod").ZodTypeAny, {
251
253
  requiredNumberOfSolutions: number;
252
254
  solutionWinningPercentage: number;
253
255
  captchaBlockRecency: number;
@@ -256,15 +258,15 @@ export declare const ProsopoCaptchaSolutionConfigSchema: z.ZodObject<{
256
258
  solutionWinningPercentage: number;
257
259
  captchaBlockRecency: number;
258
260
  }>;
259
- export declare const ProsopoClientConfigSchema: z.ZodEffects<z.ZodObject<{
260
- logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
261
- defaultEnvironment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
262
- defaultNetwork: z.ZodDefault<z.ZodEnum<["development", "rococo", "shiden"]>>;
263
- account: z.ZodObject<{
264
- address: z.ZodOptional<z.ZodString>;
265
- secret: z.ZodOptional<z.ZodString>;
266
- password: z.ZodOptional<z.ZodString>;
267
- }, "strip", z.ZodTypeAny, {
261
+ export declare const ProsopoClientConfigSchema: import("zod").ZodObject<{
262
+ logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
263
+ defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
264
+ defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
265
+ account: import("zod").ZodObject<{
266
+ address: import("zod").ZodOptional<import("zod").ZodString>;
267
+ secret: import("zod").ZodOptional<import("zod").ZodString>;
268
+ password: import("zod").ZodOptional<import("zod").ZodString>;
269
+ }, "strip", import("zod").ZodTypeAny, {
268
270
  address?: string | undefined;
269
271
  secret?: string | undefined;
270
272
  password?: string | undefined;
@@ -273,21 +275,21 @@ export declare const ProsopoClientConfigSchema: z.ZodEffects<z.ZodObject<{
273
275
  secret?: string | undefined;
274
276
  password?: string | undefined;
275
277
  }>;
276
- networks: z.ZodDefault<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
277
- endpoint: z.ZodString;
278
- contract: z.ZodObject<{
279
- address: z.ZodString;
280
- name: z.ZodString;
281
- }, "strip", z.ZodTypeAny, {
278
+ networks: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
279
+ endpoint: import("zod").ZodString;
280
+ contract: import("zod").ZodObject<{
281
+ address: import("zod").ZodString;
282
+ name: import("zod").ZodString;
283
+ }, "strip", import("zod").ZodTypeAny, {
282
284
  address: string;
283
285
  name: string;
284
286
  }, {
285
287
  address: string;
286
288
  name: string;
287
289
  }>;
288
- pairType: z.ZodUnion<[z.ZodLiteral<"sr25519">, z.ZodLiteral<"ed25519">, z.ZodLiteral<"ecdsa">, z.ZodLiteral<"ethereum">]>;
289
- ss58Format: z.ZodDefault<z.ZodNumber>;
290
- }, "strip", z.ZodTypeAny, {
290
+ pairType: import("zod").ZodUnion<[import("zod").ZodLiteral<"sr25519">, import("zod").ZodLiteral<"ed25519">, import("zod").ZodLiteral<"ecdsa">, import("zod").ZodLiteral<"ethereum">]>;
291
+ ss58Format: import("zod").ZodDefault<import("zod").ZodNumber>;
292
+ }, "strip", import("zod").ZodTypeAny, {
291
293
  endpoint: string;
292
294
  contract: {
293
295
  address: string;
@@ -320,12 +322,12 @@ export declare const ProsopoClientConfigSchema: z.ZodEffects<z.ZodObject<{
320
322
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
321
323
  ss58Format?: number | undefined;
322
324
  }>>>;
323
- database: z.ZodOptional<z.ZodRecord<z.ZodEnum<["development", "staging", "production"]>, z.ZodObject<{
324
- type: z.ZodString;
325
- endpoint: z.ZodString;
326
- dbname: z.ZodString;
327
- authSource: z.ZodString;
328
- }, "strip", z.ZodTypeAny, {
325
+ database: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["development", "staging", "production"]>, import("zod").ZodObject<{
326
+ type: import("zod").ZodString;
327
+ endpoint: import("zod").ZodString;
328
+ dbname: import("zod").ZodString;
329
+ authSource: import("zod").ZodString;
330
+ }, "strip", import("zod").ZodTypeAny, {
329
331
  type: string;
330
332
  endpoint: string;
331
333
  dbname: string;
@@ -336,12 +338,12 @@ export declare const ProsopoClientConfigSchema: z.ZodEffects<z.ZodObject<{
336
338
  dbname: string;
337
339
  authSource: string;
338
340
  }>>>;
339
- userAccountAddress: z.ZodOptional<z.ZodString>;
340
- web2: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
341
- solutionThreshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
342
- dappName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
343
- serverUrl: z.ZodString;
344
- }, "strip", z.ZodTypeAny, {
341
+ userAccountAddress: import("zod").ZodOptional<import("zod").ZodString>;
342
+ web2: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
343
+ solutionThreshold: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
344
+ dappName: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
345
+ serverUrl: import("zod").ZodOptional<import("zod").ZodString>;
346
+ }, "strip", import("zod").ZodTypeAny, {
345
347
  logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal";
346
348
  defaultEnvironment: "development" | "staging" | "production";
347
349
  defaultNetwork: "development" | "rococo" | "shiden";
@@ -362,65 +364,6 @@ export declare const ProsopoClientConfigSchema: z.ZodEffects<z.ZodObject<{
362
364
  web2: boolean;
363
365
  solutionThreshold: number;
364
366
  dappName: string;
365
- serverUrl: string;
366
- database?: Partial<Record<"development" | "staging" | "production", {
367
- type: string;
368
- endpoint: string;
369
- dbname: string;
370
- authSource: string;
371
- }>> | undefined;
372
- userAccountAddress?: string | undefined;
373
- }, {
374
- account: {
375
- address?: string | undefined;
376
- secret?: string | undefined;
377
- password?: string | undefined;
378
- };
379
- serverUrl: string;
380
- logLevel?: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | undefined;
381
- defaultEnvironment?: "development" | "staging" | "production" | undefined;
382
- defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
383
- networks?: Record<string, {
384
- endpoint: string;
385
- contract: {
386
- address: string;
387
- name: string;
388
- };
389
- pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
390
- ss58Format?: number | undefined;
391
- }> | undefined;
392
- database?: Partial<Record<"development" | "staging" | "production", {
393
- type: string;
394
- endpoint: string;
395
- dbname: string;
396
- authSource: string;
397
- }>> | undefined;
398
- userAccountAddress?: string | undefined;
399
- web2?: boolean | undefined;
400
- solutionThreshold?: number | undefined;
401
- dappName?: string | undefined;
402
- }>, {
403
- logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal";
404
- defaultEnvironment: "development" | "staging" | "production";
405
- defaultNetwork: "development" | "rococo" | "shiden";
406
- account: {
407
- address?: string | undefined;
408
- secret?: string | undefined;
409
- password?: string | undefined;
410
- };
411
- networks: Record<"development" | "rococo" | "shiden", {
412
- endpoint: string;
413
- contract: {
414
- address: string;
415
- name: string;
416
- };
417
- pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
418
- ss58Format: number;
419
- }>;
420
- web2: boolean;
421
- solutionThreshold: number;
422
- dappName: string;
423
- serverUrl: string;
424
367
  database?: Partial<Record<"development" | "staging" | "production", {
425
368
  type: string;
426
369
  endpoint: string;
@@ -428,13 +371,13 @@ export declare const ProsopoClientConfigSchema: z.ZodEffects<z.ZodObject<{
428
371
  authSource: string;
429
372
  }>> | undefined;
430
373
  userAccountAddress?: string | undefined;
374
+ serverUrl?: string | undefined;
431
375
  }, {
432
376
  account: {
433
377
  address?: string | undefined;
434
378
  secret?: string | undefined;
435
379
  password?: string | undefined;
436
380
  };
437
- serverUrl: string;
438
381
  logLevel?: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | undefined;
439
382
  defaultEnvironment?: "development" | "staging" | "production" | undefined;
440
383
  defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
@@ -457,16 +400,17 @@ export declare const ProsopoClientConfigSchema: z.ZodEffects<z.ZodObject<{
457
400
  web2?: boolean | undefined;
458
401
  solutionThreshold?: number | undefined;
459
402
  dappName?: string | undefined;
403
+ serverUrl?: string | undefined;
460
404
  }>;
461
- export declare const ProsopoServerConfigSchema: z.ZodEffects<z.ZodObject<{
462
- logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
463
- defaultEnvironment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
464
- defaultNetwork: z.ZodDefault<z.ZodEnum<["development", "rococo", "shiden"]>>;
465
- account: z.ZodObject<{
466
- address: z.ZodOptional<z.ZodString>;
467
- secret: z.ZodOptional<z.ZodString>;
468
- password: z.ZodOptional<z.ZodString>;
469
- }, "strip", z.ZodTypeAny, {
405
+ export declare const ProsopoServerConfigSchema: import("zod").ZodObject<{
406
+ logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
407
+ defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
408
+ defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
409
+ account: import("zod").ZodObject<{
410
+ address: import("zod").ZodOptional<import("zod").ZodString>;
411
+ secret: import("zod").ZodOptional<import("zod").ZodString>;
412
+ password: import("zod").ZodOptional<import("zod").ZodString>;
413
+ }, "strip", import("zod").ZodTypeAny, {
470
414
  address?: string | undefined;
471
415
  secret?: string | undefined;
472
416
  password?: string | undefined;
@@ -475,21 +419,21 @@ export declare const ProsopoServerConfigSchema: z.ZodEffects<z.ZodObject<{
475
419
  secret?: string | undefined;
476
420
  password?: string | undefined;
477
421
  }>;
478
- networks: z.ZodDefault<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
479
- endpoint: z.ZodString;
480
- contract: z.ZodObject<{
481
- address: z.ZodString;
482
- name: z.ZodString;
483
- }, "strip", z.ZodTypeAny, {
422
+ networks: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
423
+ endpoint: import("zod").ZodString;
424
+ contract: import("zod").ZodObject<{
425
+ address: import("zod").ZodString;
426
+ name: import("zod").ZodString;
427
+ }, "strip", import("zod").ZodTypeAny, {
484
428
  address: string;
485
429
  name: string;
486
430
  }, {
487
431
  address: string;
488
432
  name: string;
489
433
  }>;
490
- pairType: z.ZodUnion<[z.ZodLiteral<"sr25519">, z.ZodLiteral<"ed25519">, z.ZodLiteral<"ecdsa">, z.ZodLiteral<"ethereum">]>;
491
- ss58Format: z.ZodDefault<z.ZodNumber>;
492
- }, "strip", z.ZodTypeAny, {
434
+ pairType: import("zod").ZodUnion<[import("zod").ZodLiteral<"sr25519">, import("zod").ZodLiteral<"ed25519">, import("zod").ZodLiteral<"ecdsa">, import("zod").ZodLiteral<"ethereum">]>;
435
+ ss58Format: import("zod").ZodDefault<import("zod").ZodNumber>;
436
+ }, "strip", import("zod").ZodTypeAny, {
493
437
  endpoint: string;
494
438
  contract: {
495
439
  address: string;
@@ -522,12 +466,12 @@ export declare const ProsopoServerConfigSchema: z.ZodEffects<z.ZodObject<{
522
466
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
523
467
  ss58Format?: number | undefined;
524
468
  }>>>;
525
- database: z.ZodOptional<z.ZodRecord<z.ZodEnum<["development", "staging", "production"]>, z.ZodObject<{
526
- type: z.ZodString;
527
- endpoint: z.ZodString;
528
- dbname: z.ZodString;
529
- authSource: z.ZodString;
530
- }, "strip", z.ZodTypeAny, {
469
+ database: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["development", "staging", "production"]>, import("zod").ZodObject<{
470
+ type: import("zod").ZodString;
471
+ endpoint: import("zod").ZodString;
472
+ dbname: import("zod").ZodString;
473
+ authSource: import("zod").ZodString;
474
+ }, "strip", import("zod").ZodTypeAny, {
531
475
  type: string;
532
476
  endpoint: string;
533
477
  dbname: string;
@@ -538,70 +482,12 @@ export declare const ProsopoServerConfigSchema: z.ZodEffects<z.ZodObject<{
538
482
  dbname: string;
539
483
  authSource: string;
540
484
  }>>>;
541
- userAccountAddress: z.ZodOptional<z.ZodString>;
542
- web2: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
543
- solutionThreshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
544
- dappName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
545
- serverUrl: z.ZodString;
546
- }, "strip", z.ZodTypeAny, {
547
- logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal";
548
- defaultEnvironment: "development" | "staging" | "production";
549
- defaultNetwork: "development" | "rococo" | "shiden";
550
- account: {
551
- address?: string | undefined;
552
- secret?: string | undefined;
553
- password?: string | undefined;
554
- };
555
- networks: Record<"development" | "rococo" | "shiden", {
556
- endpoint: string;
557
- contract: {
558
- address: string;
559
- name: string;
560
- };
561
- pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
562
- ss58Format: number;
563
- }>;
564
- web2: boolean;
565
- solutionThreshold: number;
566
- dappName: string;
567
- serverUrl: string;
568
- database?: Partial<Record<"development" | "staging" | "production", {
569
- type: string;
570
- endpoint: string;
571
- dbname: string;
572
- authSource: string;
573
- }>> | undefined;
574
- userAccountAddress?: string | undefined;
575
- }, {
576
- account: {
577
- address?: string | undefined;
578
- secret?: string | undefined;
579
- password?: string | undefined;
580
- };
581
- serverUrl: string;
582
- logLevel?: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | undefined;
583
- defaultEnvironment?: "development" | "staging" | "production" | undefined;
584
- defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
585
- networks?: Record<string, {
586
- endpoint: string;
587
- contract: {
588
- address: string;
589
- name: string;
590
- };
591
- pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
592
- ss58Format?: number | undefined;
593
- }> | undefined;
594
- database?: Partial<Record<"development" | "staging" | "production", {
595
- type: string;
596
- endpoint: string;
597
- dbname: string;
598
- authSource: string;
599
- }>> | undefined;
600
- userAccountAddress?: string | undefined;
601
- web2?: boolean | undefined;
602
- solutionThreshold?: number | undefined;
603
- dappName?: string | undefined;
604
- }>, {
485
+ userAccountAddress: import("zod").ZodOptional<import("zod").ZodString>;
486
+ web2: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
487
+ solutionThreshold: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
488
+ dappName: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
489
+ serverUrl: import("zod").ZodString;
490
+ }, "strip", import("zod").ZodTypeAny, {
605
491
  logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal";
606
492
  defaultEnvironment: "development" | "staging" | "production";
607
493
  defaultNetwork: "development" | "rococo" | "shiden";
@@ -660,26 +546,26 @@ export declare const ProsopoServerConfigSchema: z.ZodEffects<z.ZodObject<{
660
546
  solutionThreshold?: number | undefined;
661
547
  dappName?: string | undefined;
662
548
  }>;
663
- export type ProsopoServerConfigInput = z.input<typeof ProsopoClientConfigSchema>;
664
- export type ProsopoServerConfigOutput = z.output<typeof ProsopoClientConfigSchema>;
665
- export declare const AccountCreatorConfigSchema: z.ZodObject<{
666
- area: z.ZodObject<{
667
- width: z.ZodNumber;
668
- height: z.ZodNumber;
669
- }, "strip", z.ZodTypeAny, {
549
+ export type ProsopoServerConfigInput = input<typeof ProsopoServerConfigSchema>;
550
+ export type ProsopoServerConfigOutput = output<typeof ProsopoServerConfigSchema>;
551
+ export declare const AccountCreatorConfigSchema: import("zod").ZodObject<{
552
+ area: import("zod").ZodObject<{
553
+ width: import("zod").ZodNumber;
554
+ height: import("zod").ZodNumber;
555
+ }, "strip", import("zod").ZodTypeAny, {
670
556
  width: number;
671
557
  height: number;
672
558
  }, {
673
559
  width: number;
674
560
  height: number;
675
561
  }>;
676
- offsetParameter: z.ZodNumber;
677
- multiplier: z.ZodNumber;
678
- fontSizeFactor: z.ZodNumber;
679
- maxShadowBlur: z.ZodNumber;
680
- numberOfRounds: z.ZodNumber;
681
- seed: z.ZodNumber;
682
- }, "strip", z.ZodTypeAny, {
562
+ offsetParameter: import("zod").ZodNumber;
563
+ multiplier: import("zod").ZodNumber;
564
+ fontSizeFactor: import("zod").ZodNumber;
565
+ maxShadowBlur: import("zod").ZodNumber;
566
+ numberOfRounds: import("zod").ZodNumber;
567
+ seed: import("zod").ZodNumber;
568
+ }, "strip", import("zod").ZodTypeAny, {
683
569
  area: {
684
570
  width: number;
685
571
  height: number;
@@ -702,17 +588,17 @@ export declare const AccountCreatorConfigSchema: z.ZodObject<{
702
588
  numberOfRounds: number;
703
589
  seed: number;
704
590
  }>;
705
- export type ProsopoClientConfigInput = z.input<typeof ProsopoClientConfigSchema>;
706
- export type ProsopoClientConfigOutput = z.output<typeof ProsopoClientConfigSchema>;
707
- export declare const ProcaptchaConfigSchema: z.ZodIntersection<z.ZodEffects<z.ZodObject<{
708
- logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
709
- defaultEnvironment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
710
- defaultNetwork: z.ZodDefault<z.ZodEnum<["development", "rococo", "shiden"]>>;
711
- account: z.ZodObject<{
712
- address: z.ZodOptional<z.ZodString>;
713
- secret: z.ZodOptional<z.ZodString>;
714
- password: z.ZodOptional<z.ZodString>;
715
- }, "strip", z.ZodTypeAny, {
591
+ export type ProsopoClientConfigInput = input<typeof ProsopoClientConfigSchema>;
592
+ export type ProsopoClientConfigOutput = output<typeof ProsopoClientConfigSchema>;
593
+ export declare const ProcaptchaConfigSchema: import("zod").ZodIntersection<import("zod").ZodObject<{
594
+ logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
595
+ defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
596
+ defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
597
+ account: import("zod").ZodObject<{
598
+ address: import("zod").ZodOptional<import("zod").ZodString>;
599
+ secret: import("zod").ZodOptional<import("zod").ZodString>;
600
+ password: import("zod").ZodOptional<import("zod").ZodString>;
601
+ }, "strip", import("zod").ZodTypeAny, {
716
602
  address?: string | undefined;
717
603
  secret?: string | undefined;
718
604
  password?: string | undefined;
@@ -721,21 +607,21 @@ export declare const ProcaptchaConfigSchema: z.ZodIntersection<z.ZodEffects<z.Zo
721
607
  secret?: string | undefined;
722
608
  password?: string | undefined;
723
609
  }>;
724
- networks: z.ZodDefault<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
725
- endpoint: z.ZodString;
726
- contract: z.ZodObject<{
727
- address: z.ZodString;
728
- name: z.ZodString;
729
- }, "strip", z.ZodTypeAny, {
610
+ networks: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
611
+ endpoint: import("zod").ZodString;
612
+ contract: import("zod").ZodObject<{
613
+ address: import("zod").ZodString;
614
+ name: import("zod").ZodString;
615
+ }, "strip", import("zod").ZodTypeAny, {
730
616
  address: string;
731
617
  name: string;
732
618
  }, {
733
619
  address: string;
734
620
  name: string;
735
621
  }>;
736
- pairType: z.ZodUnion<[z.ZodLiteral<"sr25519">, z.ZodLiteral<"ed25519">, z.ZodLiteral<"ecdsa">, z.ZodLiteral<"ethereum">]>;
737
- ss58Format: z.ZodDefault<z.ZodNumber>;
738
- }, "strip", z.ZodTypeAny, {
622
+ pairType: import("zod").ZodUnion<[import("zod").ZodLiteral<"sr25519">, import("zod").ZodLiteral<"ed25519">, import("zod").ZodLiteral<"ecdsa">, import("zod").ZodLiteral<"ethereum">]>;
623
+ ss58Format: import("zod").ZodDefault<import("zod").ZodNumber>;
624
+ }, "strip", import("zod").ZodTypeAny, {
739
625
  endpoint: string;
740
626
  contract: {
741
627
  address: string;
@@ -768,12 +654,12 @@ export declare const ProcaptchaConfigSchema: z.ZodIntersection<z.ZodEffects<z.Zo
768
654
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
769
655
  ss58Format?: number | undefined;
770
656
  }>>>;
771
- database: z.ZodOptional<z.ZodRecord<z.ZodEnum<["development", "staging", "production"]>, z.ZodObject<{
772
- type: z.ZodString;
773
- endpoint: z.ZodString;
774
- dbname: z.ZodString;
775
- authSource: z.ZodString;
776
- }, "strip", z.ZodTypeAny, {
657
+ database: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["development", "staging", "production"]>, import("zod").ZodObject<{
658
+ type: import("zod").ZodString;
659
+ endpoint: import("zod").ZodString;
660
+ dbname: import("zod").ZodString;
661
+ authSource: import("zod").ZodString;
662
+ }, "strip", import("zod").ZodTypeAny, {
777
663
  type: string;
778
664
  endpoint: string;
779
665
  dbname: string;
@@ -784,12 +670,12 @@ export declare const ProcaptchaConfigSchema: z.ZodIntersection<z.ZodEffects<z.Zo
784
670
  dbname: string;
785
671
  authSource: string;
786
672
  }>>>;
787
- userAccountAddress: z.ZodOptional<z.ZodString>;
788
- web2: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
789
- solutionThreshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
790
- dappName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
791
- serverUrl: z.ZodString;
792
- }, "strip", z.ZodTypeAny, {
673
+ userAccountAddress: import("zod").ZodOptional<import("zod").ZodString>;
674
+ web2: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
675
+ solutionThreshold: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
676
+ dappName: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
677
+ serverUrl: import("zod").ZodOptional<import("zod").ZodString>;
678
+ }, "strip", import("zod").ZodTypeAny, {
793
679
  logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal";
794
680
  defaultEnvironment: "development" | "staging" | "production";
795
681
  defaultNetwork: "development" | "rococo" | "shiden";
@@ -810,7 +696,6 @@ export declare const ProcaptchaConfigSchema: z.ZodIntersection<z.ZodEffects<z.Zo
810
696
  web2: boolean;
811
697
  solutionThreshold: number;
812
698
  dappName: string;
813
- serverUrl: string;
814
699
  database?: Partial<Record<"development" | "staging" | "production", {
815
700
  type: string;
816
701
  endpoint: string;
@@ -818,71 +703,13 @@ export declare const ProcaptchaConfigSchema: z.ZodIntersection<z.ZodEffects<z.Zo
818
703
  authSource: string;
819
704
  }>> | undefined;
820
705
  userAccountAddress?: string | undefined;
706
+ serverUrl?: string | undefined;
821
707
  }, {
822
708
  account: {
823
709
  address?: string | undefined;
824
710
  secret?: string | undefined;
825
711
  password?: string | undefined;
826
712
  };
827
- serverUrl: string;
828
- logLevel?: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | undefined;
829
- defaultEnvironment?: "development" | "staging" | "production" | undefined;
830
- defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
831
- networks?: Record<string, {
832
- endpoint: string;
833
- contract: {
834
- address: string;
835
- name: string;
836
- };
837
- pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
838
- ss58Format?: number | undefined;
839
- }> | undefined;
840
- database?: Partial<Record<"development" | "staging" | "production", {
841
- type: string;
842
- endpoint: string;
843
- dbname: string;
844
- authSource: string;
845
- }>> | undefined;
846
- userAccountAddress?: string | undefined;
847
- web2?: boolean | undefined;
848
- solutionThreshold?: number | undefined;
849
- dappName?: string | undefined;
850
- }>, {
851
- logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal";
852
- defaultEnvironment: "development" | "staging" | "production";
853
- defaultNetwork: "development" | "rococo" | "shiden";
854
- account: {
855
- address?: string | undefined;
856
- secret?: string | undefined;
857
- password?: string | undefined;
858
- };
859
- networks: Record<"development" | "rococo" | "shiden", {
860
- endpoint: string;
861
- contract: {
862
- address: string;
863
- name: string;
864
- };
865
- pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
866
- ss58Format: number;
867
- }>;
868
- web2: boolean;
869
- solutionThreshold: number;
870
- dappName: string;
871
- serverUrl: string;
872
- database?: Partial<Record<"development" | "staging" | "production", {
873
- type: string;
874
- endpoint: string;
875
- dbname: string;
876
- authSource: string;
877
- }>> | undefined;
878
- userAccountAddress?: string | undefined;
879
- }, {
880
- account: {
881
- address?: string | undefined;
882
- secret?: string | undefined;
883
- password?: string | undefined;
884
- };
885
- serverUrl: string;
886
713
  logLevel?: "error" | "trace" | "debug" | "info" | "warn" | "fatal" | undefined;
887
714
  defaultEnvironment?: "development" | "staging" | "production" | undefined;
888
715
  defaultNetwork?: "development" | "rococo" | "shiden" | undefined;
@@ -905,25 +732,26 @@ export declare const ProcaptchaConfigSchema: z.ZodIntersection<z.ZodEffects<z.Zo
905
732
  web2?: boolean | undefined;
906
733
  solutionThreshold?: number | undefined;
907
734
  dappName?: string | undefined;
908
- }>, z.ZodObject<{
909
- accountCreator: z.ZodOptional<z.ZodObject<{
910
- area: z.ZodObject<{
911
- width: z.ZodNumber;
912
- height: z.ZodNumber;
913
- }, "strip", z.ZodTypeAny, {
735
+ serverUrl?: string | undefined;
736
+ }>, import("zod").ZodObject<{
737
+ accountCreator: import("zod").ZodOptional<import("zod").ZodObject<{
738
+ area: import("zod").ZodObject<{
739
+ width: import("zod").ZodNumber;
740
+ height: import("zod").ZodNumber;
741
+ }, "strip", import("zod").ZodTypeAny, {
914
742
  width: number;
915
743
  height: number;
916
744
  }, {
917
745
  width: number;
918
746
  height: number;
919
747
  }>;
920
- offsetParameter: z.ZodNumber;
921
- multiplier: z.ZodNumber;
922
- fontSizeFactor: z.ZodNumber;
923
- maxShadowBlur: z.ZodNumber;
924
- numberOfRounds: z.ZodNumber;
925
- seed: z.ZodNumber;
926
- }, "strip", z.ZodTypeAny, {
748
+ offsetParameter: import("zod").ZodNumber;
749
+ multiplier: import("zod").ZodNumber;
750
+ fontSizeFactor: import("zod").ZodNumber;
751
+ maxShadowBlur: import("zod").ZodNumber;
752
+ numberOfRounds: import("zod").ZodNumber;
753
+ seed: import("zod").ZodNumber;
754
+ }, "strip", import("zod").ZodTypeAny, {
927
755
  area: {
928
756
  width: number;
929
757
  height: number;
@@ -946,9 +774,9 @@ export declare const ProcaptchaConfigSchema: z.ZodIntersection<z.ZodEffects<z.Zo
946
774
  numberOfRounds: number;
947
775
  seed: number;
948
776
  }>>;
949
- theme: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"light">, z.ZodLiteral<"dark">]>>;
950
- challengeValidLength: z.ZodOptional<z.ZodNumber>;
951
- }, "strip", z.ZodTypeAny, {
777
+ theme: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"light">, import("zod").ZodLiteral<"dark">]>>;
778
+ challengeValidLength: import("zod").ZodOptional<import("zod").ZodNumber>;
779
+ }, "strip", import("zod").ZodTypeAny, {
952
780
  accountCreator?: {
953
781
  area: {
954
782
  width: number;
@@ -979,17 +807,17 @@ export declare const ProcaptchaConfigSchema: z.ZodIntersection<z.ZodEffects<z.Zo
979
807
  theme?: "light" | "dark" | undefined;
980
808
  challengeValidLength?: number | undefined;
981
809
  }>>;
982
- export type ProcaptchaClientConfigInput = z.input<typeof ProcaptchaConfigSchema>;
983
- export type ProcaptchaClientConfigOutput = z.output<typeof ProcaptchaConfigSchema>;
984
- export declare const ProsopoConfigSchema: z.ZodObject<{
985
- logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
986
- defaultEnvironment: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
987
- defaultNetwork: z.ZodDefault<z.ZodEnum<["development", "rococo", "shiden"]>>;
988
- account: z.ZodObject<{
989
- address: z.ZodOptional<z.ZodString>;
990
- secret: z.ZodOptional<z.ZodString>;
991
- password: z.ZodOptional<z.ZodString>;
992
- }, "strip", z.ZodTypeAny, {
810
+ export type ProcaptchaClientConfigInput = input<typeof ProcaptchaConfigSchema>;
811
+ export type ProcaptchaClientConfigOutput = output<typeof ProcaptchaConfigSchema>;
812
+ export declare const ProsopoConfigSchema: import("zod").ZodObject<{
813
+ logLevel: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
814
+ defaultEnvironment: import("zod").ZodDefault<import("zod").ZodEnum<["development", "staging", "production"]>>;
815
+ defaultNetwork: import("zod").ZodDefault<import("zod").ZodEnum<["development", "rococo", "shiden"]>>;
816
+ account: import("zod").ZodObject<{
817
+ address: import("zod").ZodOptional<import("zod").ZodString>;
818
+ secret: import("zod").ZodOptional<import("zod").ZodString>;
819
+ password: import("zod").ZodOptional<import("zod").ZodString>;
820
+ }, "strip", import("zod").ZodTypeAny, {
993
821
  address?: string | undefined;
994
822
  secret?: string | undefined;
995
823
  password?: string | undefined;
@@ -998,21 +826,21 @@ export declare const ProsopoConfigSchema: z.ZodObject<{
998
826
  secret?: string | undefined;
999
827
  password?: string | undefined;
1000
828
  }>;
1001
- networks: z.ZodDefault<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
1002
- endpoint: z.ZodString;
1003
- contract: z.ZodObject<{
1004
- address: z.ZodString;
1005
- name: z.ZodString;
1006
- }, "strip", z.ZodTypeAny, {
829
+ networks: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
830
+ endpoint: import("zod").ZodString;
831
+ contract: import("zod").ZodObject<{
832
+ address: import("zod").ZodString;
833
+ name: import("zod").ZodString;
834
+ }, "strip", import("zod").ZodTypeAny, {
1007
835
  address: string;
1008
836
  name: string;
1009
837
  }, {
1010
838
  address: string;
1011
839
  name: string;
1012
840
  }>;
1013
- pairType: z.ZodUnion<[z.ZodLiteral<"sr25519">, z.ZodLiteral<"ed25519">, z.ZodLiteral<"ecdsa">, z.ZodLiteral<"ethereum">]>;
1014
- ss58Format: z.ZodDefault<z.ZodNumber>;
1015
- }, "strip", z.ZodTypeAny, {
841
+ pairType: import("zod").ZodUnion<[import("zod").ZodLiteral<"sr25519">, import("zod").ZodLiteral<"ed25519">, import("zod").ZodLiteral<"ecdsa">, import("zod").ZodLiteral<"ethereum">]>;
842
+ ss58Format: import("zod").ZodDefault<import("zod").ZodNumber>;
843
+ }, "strip", import("zod").ZodTypeAny, {
1016
844
  endpoint: string;
1017
845
  contract: {
1018
846
  address: string;
@@ -1045,12 +873,12 @@ export declare const ProsopoConfigSchema: z.ZodObject<{
1045
873
  pairType: "sr25519" | "ed25519" | "ecdsa" | "ethereum";
1046
874
  ss58Format?: number | undefined;
1047
875
  }>>>;
1048
- database: z.ZodOptional<z.ZodRecord<z.ZodEnum<["development", "staging", "production"]>, z.ZodObject<{
1049
- type: z.ZodString;
1050
- endpoint: z.ZodString;
1051
- dbname: z.ZodString;
1052
- authSource: z.ZodString;
1053
- }, "strip", z.ZodTypeAny, {
876
+ database: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["development", "staging", "production"]>, import("zod").ZodObject<{
877
+ type: import("zod").ZodString;
878
+ endpoint: import("zod").ZodString;
879
+ dbname: import("zod").ZodString;
880
+ authSource: import("zod").ZodString;
881
+ }, "strip", import("zod").ZodTypeAny, {
1054
882
  type: string;
1055
883
  endpoint: string;
1056
884
  dbname: string;
@@ -1061,22 +889,22 @@ export declare const ProsopoConfigSchema: z.ZodObject<{
1061
889
  dbname: string;
1062
890
  authSource: string;
1063
891
  }>>>;
1064
- captchas: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1065
- solved: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1066
- count: z.ZodNumber;
1067
- }, "strip", z.ZodTypeAny, {
892
+ captchas: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
893
+ solved: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
894
+ count: import("zod").ZodNumber;
895
+ }, "strip", import("zod").ZodTypeAny, {
1068
896
  count: number;
1069
897
  }, {
1070
898
  count: number;
1071
899
  }>>>;
1072
- unsolved: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1073
- count: z.ZodNumber;
1074
- }, "strip", z.ZodTypeAny, {
900
+ unsolved: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
901
+ count: import("zod").ZodNumber;
902
+ }, "strip", import("zod").ZodTypeAny, {
1075
903
  count: number;
1076
904
  }, {
1077
905
  count: number;
1078
906
  }>>>;
1079
- }, "strip", z.ZodTypeAny, {
907
+ }, "strip", import("zod").ZodTypeAny, {
1080
908
  solved: {
1081
909
  count: number;
1082
910
  };
@@ -1091,11 +919,11 @@ export declare const ProsopoConfigSchema: z.ZodObject<{
1091
919
  count: number;
1092
920
  } | undefined;
1093
921
  }>>>;
1094
- captchaSolutions: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1095
- requiredNumberOfSolutions: z.ZodNumber;
1096
- solutionWinningPercentage: z.ZodNumber;
1097
- captchaBlockRecency: z.ZodNumber;
1098
- }, "strip", z.ZodTypeAny, {
922
+ captchaSolutions: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
923
+ requiredNumberOfSolutions: import("zod").ZodNumber;
924
+ solutionWinningPercentage: import("zod").ZodNumber;
925
+ captchaBlockRecency: import("zod").ZodNumber;
926
+ }, "strip", import("zod").ZodTypeAny, {
1099
927
  requiredNumberOfSolutions: number;
1100
928
  solutionWinningPercentage: number;
1101
929
  captchaBlockRecency: number;
@@ -1104,27 +932,27 @@ export declare const ProsopoConfigSchema: z.ZodObject<{
1104
932
  solutionWinningPercentage: number;
1105
933
  captchaBlockRecency: number;
1106
934
  }>>>;
1107
- batchCommit: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1108
- interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1109
- maxBatchExtrinsicPercentage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1110
- }, "strip", z.ZodTypeAny, {
935
+ batchCommit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodObject<{
936
+ interval: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
937
+ maxBatchExtrinsicPercentage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
938
+ }, "strip", import("zod").ZodTypeAny, {
1111
939
  interval: number;
1112
940
  maxBatchExtrinsicPercentage: number;
1113
941
  }, {
1114
942
  interval?: number | undefined;
1115
943
  maxBatchExtrinsicPercentage?: number | undefined;
1116
944
  }>>>;
1117
- server: z.ZodObject<{
1118
- baseURL: z.ZodString;
1119
- port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1120
- }, "strip", z.ZodTypeAny, {
945
+ server: import("zod").ZodObject<{
946
+ baseURL: import("zod").ZodString;
947
+ port: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
948
+ }, "strip", import("zod").ZodTypeAny, {
1121
949
  baseURL: string;
1122
950
  port: number;
1123
951
  }, {
1124
952
  baseURL: string;
1125
953
  port?: number | undefined;
1126
954
  }>;
1127
- }, "strip", z.ZodTypeAny, {
955
+ }, "strip", import("zod").ZodTypeAny, {
1128
956
  logLevel: "error" | "trace" | "debug" | "info" | "warn" | "fatal";
1129
957
  defaultEnvironment: "development" | "staging" | "production";
1130
958
  defaultNetwork: "development" | "rococo" | "shiden";
@@ -1215,6 +1043,6 @@ export declare const ProsopoConfigSchema: z.ZodObject<{
1215
1043
  maxBatchExtrinsicPercentage?: number | undefined;
1216
1044
  } | undefined;
1217
1045
  }>;
1218
- export type ProsopoConfigInput = z.input<typeof ProsopoConfigSchema>;
1219
- export type ProsopoConfigOutput = z.output<typeof ProsopoConfigSchema>;
1046
+ export type ProsopoConfigInput = input<typeof ProsopoConfigSchema>;
1047
+ export type ProsopoConfigOutput = output<typeof ProsopoConfigSchema>;
1220
1048
  //# sourceMappingURL=config.d.ts.map