@xyo-network/api-call-witness 2.84.4 → 2.84.5

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.
@@ -19,23 +19,302 @@ export type ApiUriTemplateCallWitnessConfig = WitnessConfig<ApiCallWitnessConfig
19
19
  export type ApiCallWitnessConfig = ApiUriCallWitnessConfig | ApiUriTemplateCallWitnessConfig | ApiCallWitnessConfigBase;
20
20
  export declare const isApiCallWitnessConfig: (x?: unknown) => x is {
21
21
  schema: string;
22
- } & import("@xyo-network/payload-model").PayloadFields;
22
+ } & object;
23
23
  export declare const asApiCallWitnessConfig: {
24
24
  <TType extends {
25
25
  schema: string;
26
- } & import("@xyo-network/payload-model").PayloadFields>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
26
+ } & object>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
27
27
  <TType_1 extends {
28
28
  schema: string;
29
- } & import("@xyo-network/payload-model").PayloadFields>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
29
+ } & object>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
30
+ };
31
+ export declare const isApiUriCallWitnessConfig: (value?: unknown) => value is import("@xyo-network/payload-model").SchemaFields & object & {
32
+ accountDerivationPath?: string | undefined;
33
+ readonly archivist?: string | undefined;
34
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
35
+ readonly name?: string | undefined;
36
+ readonly paging?: Record<string, {
37
+ size?: number | undefined;
38
+ }> | undefined;
39
+ schema: "network.xyo.api.call.witness.config";
40
+ readonly security?: {
41
+ readonly allowAnonymous?: boolean | undefined;
42
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
43
+ readonly disallowed?: Record<string, string[]> | undefined;
44
+ } | undefined;
45
+ readonly sign?: boolean | undefined;
46
+ readonly storeQueries?: boolean | undefined;
47
+ readonly timestamp?: boolean | undefined;
48
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
49
+ schema: "network.xyo.api.call.witness.config";
50
+ } & {
51
+ accountDerivationPath?: string | undefined;
52
+ readonly archivist?: string | undefined;
53
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
54
+ readonly name?: string | undefined;
55
+ readonly paging?: Record<string, {
56
+ size?: number | undefined;
57
+ }> | undefined;
58
+ schema: "network.xyo.api.call.witness.config";
59
+ readonly security?: {
60
+ readonly allowAnonymous?: boolean | undefined;
61
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
62
+ readonly disallowed?: Record<string, string[]> | undefined;
63
+ } | undefined;
64
+ readonly sign?: boolean | undefined;
65
+ readonly storeQueries?: boolean | undefined;
66
+ readonly timestamp?: boolean | undefined;
67
+ } & {
68
+ schema: "network.xyo.api.call.witness.config";
69
+ } & {
70
+ accept?: "application/json" | undefined;
71
+ queries?: ApiCall['queries'];
72
+ schema: ApiCallWitnessConfigSchema;
73
+ timeout?: number | undefined;
74
+ verb?: ApiCall['verb'];
75
+ } & {
76
+ uri: ApiUriCall['uri'];
30
77
  };
31
- export declare const isApiUriCallWitnessConfig: (value?: unknown) => value is ApiUriCallWitnessConfig;
32
78
  export declare const asApiUriCallWitnessConfig: {
33
- <TType extends ApiUriCallWitnessConfig>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
34
- <TType_1 extends ApiUriCallWitnessConfig>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
79
+ <TType extends import("@xyo-network/payload-model").SchemaFields & object & {
80
+ accountDerivationPath?: string | undefined;
81
+ readonly archivist?: string | undefined;
82
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
83
+ readonly name?: string | undefined;
84
+ readonly paging?: Record<string, {
85
+ size?: number | undefined;
86
+ }> | undefined;
87
+ schema: "network.xyo.api.call.witness.config";
88
+ readonly security?: {
89
+ readonly allowAnonymous?: boolean | undefined;
90
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
91
+ readonly disallowed?: Record<string, string[]> | undefined;
92
+ } | undefined;
93
+ readonly sign?: boolean | undefined;
94
+ readonly storeQueries?: boolean | undefined;
95
+ readonly timestamp?: boolean | undefined;
96
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
97
+ schema: "network.xyo.api.call.witness.config";
98
+ } & {
99
+ accountDerivationPath?: string | undefined;
100
+ readonly archivist?: string | undefined;
101
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
102
+ readonly name?: string | undefined;
103
+ readonly paging?: Record<string, {
104
+ size?: number | undefined;
105
+ }> | undefined;
106
+ schema: "network.xyo.api.call.witness.config";
107
+ readonly security?: {
108
+ readonly allowAnonymous?: boolean | undefined;
109
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
110
+ readonly disallowed?: Record<string, string[]> | undefined;
111
+ } | undefined;
112
+ readonly sign?: boolean | undefined;
113
+ readonly storeQueries?: boolean | undefined;
114
+ readonly timestamp?: boolean | undefined;
115
+ } & {
116
+ schema: "network.xyo.api.call.witness.config";
117
+ } & {
118
+ accept?: "application/json" | undefined;
119
+ queries?: ApiCall['queries'];
120
+ schema: ApiCallWitnessConfigSchema;
121
+ timeout?: number | undefined;
122
+ verb?: ApiCall['verb'];
123
+ } & {
124
+ uri: ApiUriCall['uri'];
125
+ }>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
126
+ <TType_1 extends import("@xyo-network/payload-model").SchemaFields & object & {
127
+ accountDerivationPath?: string | undefined;
128
+ readonly archivist?: string | undefined;
129
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
130
+ readonly name?: string | undefined;
131
+ readonly paging?: Record<string, {
132
+ size?: number | undefined;
133
+ }> | undefined;
134
+ schema: "network.xyo.api.call.witness.config";
135
+ readonly security?: {
136
+ readonly allowAnonymous?: boolean | undefined;
137
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
138
+ readonly disallowed?: Record<string, string[]> | undefined;
139
+ } | undefined;
140
+ readonly sign?: boolean | undefined;
141
+ readonly storeQueries?: boolean | undefined;
142
+ readonly timestamp?: boolean | undefined;
143
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
144
+ schema: "network.xyo.api.call.witness.config";
145
+ } & {
146
+ accountDerivationPath?: string | undefined;
147
+ readonly archivist?: string | undefined;
148
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
149
+ readonly name?: string | undefined;
150
+ readonly paging?: Record<string, {
151
+ size?: number | undefined;
152
+ }> | undefined;
153
+ schema: "network.xyo.api.call.witness.config";
154
+ readonly security?: {
155
+ readonly allowAnonymous?: boolean | undefined;
156
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
157
+ readonly disallowed?: Record<string, string[]> | undefined;
158
+ } | undefined;
159
+ readonly sign?: boolean | undefined;
160
+ readonly storeQueries?: boolean | undefined;
161
+ readonly timestamp?: boolean | undefined;
162
+ } & {
163
+ schema: "network.xyo.api.call.witness.config";
164
+ } & {
165
+ accept?: "application/json" | undefined;
166
+ queries?: ApiCall['queries'];
167
+ schema: ApiCallWitnessConfigSchema;
168
+ timeout?: number | undefined;
169
+ verb?: ApiCall['verb'];
170
+ } & {
171
+ uri: ApiUriCall['uri'];
172
+ }>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
173
+ };
174
+ export declare const isApiUriTemplateCallWitnessConfig: (value?: unknown) => value is import("@xyo-network/payload-model").SchemaFields & object & {
175
+ accountDerivationPath?: string | undefined;
176
+ readonly archivist?: string | undefined;
177
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
178
+ readonly name?: string | undefined;
179
+ readonly paging?: Record<string, {
180
+ size?: number | undefined;
181
+ }> | undefined;
182
+ schema: "network.xyo.api.call.witness.config";
183
+ readonly security?: {
184
+ readonly allowAnonymous?: boolean | undefined;
185
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
186
+ readonly disallowed?: Record<string, string[]> | undefined;
187
+ } | undefined;
188
+ readonly sign?: boolean | undefined;
189
+ readonly storeQueries?: boolean | undefined;
190
+ readonly timestamp?: boolean | undefined;
191
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
192
+ schema: "network.xyo.api.call.witness.config";
193
+ } & {
194
+ accountDerivationPath?: string | undefined;
195
+ readonly archivist?: string | undefined;
196
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
197
+ readonly name?: string | undefined;
198
+ readonly paging?: Record<string, {
199
+ size?: number | undefined;
200
+ }> | undefined;
201
+ schema: "network.xyo.api.call.witness.config";
202
+ readonly security?: {
203
+ readonly allowAnonymous?: boolean | undefined;
204
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
205
+ readonly disallowed?: Record<string, string[]> | undefined;
206
+ } | undefined;
207
+ readonly sign?: boolean | undefined;
208
+ readonly storeQueries?: boolean | undefined;
209
+ readonly timestamp?: boolean | undefined;
210
+ } & {
211
+ schema: "network.xyo.api.call.witness.config";
212
+ } & {
213
+ accept?: "application/json" | undefined;
214
+ queries?: ApiCall['queries'];
215
+ schema: ApiCallWitnessConfigSchema;
216
+ timeout?: number | undefined;
217
+ verb?: ApiCall['verb'];
218
+ } & {
219
+ params?: Record<string, unknown> | undefined;
220
+ uriTemplate: ApiUriTemplateCall['uriTemplate'];
35
221
  };
36
- export declare const isApiUriTemplateCallWitnessConfig: (value?: unknown) => value is ApiUriTemplateCallWitnessConfig;
37
222
  export declare const asApiUriTemplateCallWitnessConfig: {
38
- <TType extends ApiUriTemplateCallWitnessConfig>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
39
- <TType_1 extends ApiUriTemplateCallWitnessConfig>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
223
+ <TType extends import("@xyo-network/payload-model").SchemaFields & object & {
224
+ accountDerivationPath?: string | undefined;
225
+ readonly archivist?: string | undefined;
226
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
227
+ readonly name?: string | undefined;
228
+ readonly paging?: Record<string, {
229
+ size?: number | undefined;
230
+ }> | undefined;
231
+ schema: "network.xyo.api.call.witness.config";
232
+ readonly security?: {
233
+ readonly allowAnonymous?: boolean | undefined;
234
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
235
+ readonly disallowed?: Record<string, string[]> | undefined;
236
+ } | undefined;
237
+ readonly sign?: boolean | undefined;
238
+ readonly storeQueries?: boolean | undefined;
239
+ readonly timestamp?: boolean | undefined;
240
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
241
+ schema: "network.xyo.api.call.witness.config";
242
+ } & {
243
+ accountDerivationPath?: string | undefined;
244
+ readonly archivist?: string | undefined;
245
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
246
+ readonly name?: string | undefined;
247
+ readonly paging?: Record<string, {
248
+ size?: number | undefined;
249
+ }> | undefined;
250
+ schema: "network.xyo.api.call.witness.config";
251
+ readonly security?: {
252
+ readonly allowAnonymous?: boolean | undefined;
253
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
254
+ readonly disallowed?: Record<string, string[]> | undefined;
255
+ } | undefined;
256
+ readonly sign?: boolean | undefined;
257
+ readonly storeQueries?: boolean | undefined;
258
+ readonly timestamp?: boolean | undefined;
259
+ } & {
260
+ schema: "network.xyo.api.call.witness.config";
261
+ } & {
262
+ accept?: "application/json" | undefined;
263
+ queries?: ApiCall['queries'];
264
+ schema: ApiCallWitnessConfigSchema;
265
+ timeout?: number | undefined;
266
+ verb?: ApiCall['verb'];
267
+ } & {
268
+ params?: Record<string, unknown> | undefined;
269
+ uriTemplate: ApiUriTemplateCall['uriTemplate'];
270
+ }>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
271
+ <TType_1 extends import("@xyo-network/payload-model").SchemaFields & object & {
272
+ accountDerivationPath?: string | undefined;
273
+ readonly archivist?: string | undefined;
274
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
275
+ readonly name?: string | undefined;
276
+ readonly paging?: Record<string, {
277
+ size?: number | undefined;
278
+ }> | undefined;
279
+ schema: "network.xyo.api.call.witness.config";
280
+ readonly security?: {
281
+ readonly allowAnonymous?: boolean | undefined;
282
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
283
+ readonly disallowed?: Record<string, string[]> | undefined;
284
+ } | undefined;
285
+ readonly sign?: boolean | undefined;
286
+ readonly storeQueries?: boolean | undefined;
287
+ readonly timestamp?: boolean | undefined;
288
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
289
+ schema: "network.xyo.api.call.witness.config";
290
+ } & {
291
+ accountDerivationPath?: string | undefined;
292
+ readonly archivist?: string | undefined;
293
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
294
+ readonly name?: string | undefined;
295
+ readonly paging?: Record<string, {
296
+ size?: number | undefined;
297
+ }> | undefined;
298
+ schema: "network.xyo.api.call.witness.config";
299
+ readonly security?: {
300
+ readonly allowAnonymous?: boolean | undefined;
301
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
302
+ readonly disallowed?: Record<string, string[]> | undefined;
303
+ } | undefined;
304
+ readonly sign?: boolean | undefined;
305
+ readonly storeQueries?: boolean | undefined;
306
+ readonly timestamp?: boolean | undefined;
307
+ } & {
308
+ schema: "network.xyo.api.call.witness.config";
309
+ } & {
310
+ accept?: "application/json" | undefined;
311
+ queries?: ApiCall['queries'];
312
+ schema: ApiCallWitnessConfigSchema;
313
+ timeout?: number | undefined;
314
+ verb?: ApiCall['verb'];
315
+ } & {
316
+ params?: Record<string, unknown> | undefined;
317
+ uriTemplate: ApiUriTemplateCall['uriTemplate'];
318
+ }>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
40
319
  };
41
320
  //# sourceMappingURL=Config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAEnE,eAAO,MAAM,0BAA0B,wCAAwC,CAAA;AAC/E,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAA;AAE1E,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAAC;IACnD,MAAM,CAAC,EAAE,kBAAkB,CAAA;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAA;IAC5B,MAAM,EAAE,0BAA0B,CAAA;IAClC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,CAAA;CACvB,CAAC,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG,aAAa,CACjD,wBAAwB,GAAG;IACzB,GAAG,EAAE,UAAU,CAAC,KAAK,CAAC,CAAA;CACvB,CACF,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,aAAa,CACzD,wBAAwB,GAAG;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAChC,WAAW,EAAE,kBAAkB,CAAC,aAAa,CAAC,CAAA;CAC/C,CACF,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,uBAAuB,GAAG,+BAA+B,GAAG,wBAAwB,CAAA;AAEvH,eAAO,MAAM,sBAAsB;;sDAAoD,CAAA;AACvF,eAAO,MAAM,sBAAsB;;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ateCallWitnessConfig = WitnessConfig<ApiCallWitnessConfig
19
19
  export type ApiCallWitnessConfig = ApiUriCallWitnessConfig | ApiUriTemplateCallWitnessConfig | ApiCallWitnessConfigBase;
20
20
  export declare const isApiCallWitnessConfig: (x?: unknown) => x is {
21
21
  schema: string;
22
- } & import("@xyo-network/payload-model").PayloadFields;
22
+ } & object;
23
23
  export declare const asApiCallWitnessConfig: {
24
24
  <TType extends {
25
25
  schema: string;
26
- } & import("@xyo-network/payload-model").PayloadFields>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
26
+ } & object>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
27
27
  <TType_1 extends {
28
28
  schema: string;
29
- } & import("@xyo-network/payload-model").PayloadFields>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
29
+ } & object>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
30
+ };
31
+ export declare const isApiUriCallWitnessConfig: (value?: unknown) => value is import("@xyo-network/payload-model").SchemaFields & object & {
32
+ accountDerivationPath?: string | undefined;
33
+ readonly archivist?: string | undefined;
34
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
35
+ readonly name?: string | undefined;
36
+ readonly paging?: Record<string, {
37
+ size?: number | undefined;
38
+ }> | undefined;
39
+ schema: "network.xyo.api.call.witness.config";
40
+ readonly security?: {
41
+ readonly allowAnonymous?: boolean | undefined;
42
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
43
+ readonly disallowed?: Record<string, string[]> | undefined;
44
+ } | undefined;
45
+ readonly sign?: boolean | undefined;
46
+ readonly storeQueries?: boolean | undefined;
47
+ readonly timestamp?: boolean | undefined;
48
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
49
+ schema: "network.xyo.api.call.witness.config";
50
+ } & {
51
+ accountDerivationPath?: string | undefined;
52
+ readonly archivist?: string | undefined;
53
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
54
+ readonly name?: string | undefined;
55
+ readonly paging?: Record<string, {
56
+ size?: number | undefined;
57
+ }> | undefined;
58
+ schema: "network.xyo.api.call.witness.config";
59
+ readonly security?: {
60
+ readonly allowAnonymous?: boolean | undefined;
61
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
62
+ readonly disallowed?: Record<string, string[]> | undefined;
63
+ } | undefined;
64
+ readonly sign?: boolean | undefined;
65
+ readonly storeQueries?: boolean | undefined;
66
+ readonly timestamp?: boolean | undefined;
67
+ } & {
68
+ schema: "network.xyo.api.call.witness.config";
69
+ } & {
70
+ accept?: "application/json" | undefined;
71
+ queries?: ApiCall['queries'];
72
+ schema: ApiCallWitnessConfigSchema;
73
+ timeout?: number | undefined;
74
+ verb?: ApiCall['verb'];
75
+ } & {
76
+ uri: ApiUriCall['uri'];
30
77
  };
31
- export declare const isApiUriCallWitnessConfig: (value?: unknown) => value is ApiUriCallWitnessConfig;
32
78
  export declare const asApiUriCallWitnessConfig: {
33
- <TType extends ApiUriCallWitnessConfig>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
34
- <TType_1 extends ApiUriCallWitnessConfig>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
79
+ <TType extends import("@xyo-network/payload-model").SchemaFields & object & {
80
+ accountDerivationPath?: string | undefined;
81
+ readonly archivist?: string | undefined;
82
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
83
+ readonly name?: string | undefined;
84
+ readonly paging?: Record<string, {
85
+ size?: number | undefined;
86
+ }> | undefined;
87
+ schema: "network.xyo.api.call.witness.config";
88
+ readonly security?: {
89
+ readonly allowAnonymous?: boolean | undefined;
90
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
91
+ readonly disallowed?: Record<string, string[]> | undefined;
92
+ } | undefined;
93
+ readonly sign?: boolean | undefined;
94
+ readonly storeQueries?: boolean | undefined;
95
+ readonly timestamp?: boolean | undefined;
96
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
97
+ schema: "network.xyo.api.call.witness.config";
98
+ } & {
99
+ accountDerivationPath?: string | undefined;
100
+ readonly archivist?: string | undefined;
101
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
102
+ readonly name?: string | undefined;
103
+ readonly paging?: Record<string, {
104
+ size?: number | undefined;
105
+ }> | undefined;
106
+ schema: "network.xyo.api.call.witness.config";
107
+ readonly security?: {
108
+ readonly allowAnonymous?: boolean | undefined;
109
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
110
+ readonly disallowed?: Record<string, string[]> | undefined;
111
+ } | undefined;
112
+ readonly sign?: boolean | undefined;
113
+ readonly storeQueries?: boolean | undefined;
114
+ readonly timestamp?: boolean | undefined;
115
+ } & {
116
+ schema: "network.xyo.api.call.witness.config";
117
+ } & {
118
+ accept?: "application/json" | undefined;
119
+ queries?: ApiCall['queries'];
120
+ schema: ApiCallWitnessConfigSchema;
121
+ timeout?: number | undefined;
122
+ verb?: ApiCall['verb'];
123
+ } & {
124
+ uri: ApiUriCall['uri'];
125
+ }>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
126
+ <TType_1 extends import("@xyo-network/payload-model").SchemaFields & object & {
127
+ accountDerivationPath?: string | undefined;
128
+ readonly archivist?: string | undefined;
129
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
130
+ readonly name?: string | undefined;
131
+ readonly paging?: Record<string, {
132
+ size?: number | undefined;
133
+ }> | undefined;
134
+ schema: "network.xyo.api.call.witness.config";
135
+ readonly security?: {
136
+ readonly allowAnonymous?: boolean | undefined;
137
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
138
+ readonly disallowed?: Record<string, string[]> | undefined;
139
+ } | undefined;
140
+ readonly sign?: boolean | undefined;
141
+ readonly storeQueries?: boolean | undefined;
142
+ readonly timestamp?: boolean | undefined;
143
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
144
+ schema: "network.xyo.api.call.witness.config";
145
+ } & {
146
+ accountDerivationPath?: string | undefined;
147
+ readonly archivist?: string | undefined;
148
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
149
+ readonly name?: string | undefined;
150
+ readonly paging?: Record<string, {
151
+ size?: number | undefined;
152
+ }> | undefined;
153
+ schema: "network.xyo.api.call.witness.config";
154
+ readonly security?: {
155
+ readonly allowAnonymous?: boolean | undefined;
156
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
157
+ readonly disallowed?: Record<string, string[]> | undefined;
158
+ } | undefined;
159
+ readonly sign?: boolean | undefined;
160
+ readonly storeQueries?: boolean | undefined;
161
+ readonly timestamp?: boolean | undefined;
162
+ } & {
163
+ schema: "network.xyo.api.call.witness.config";
164
+ } & {
165
+ accept?: "application/json" | undefined;
166
+ queries?: ApiCall['queries'];
167
+ schema: ApiCallWitnessConfigSchema;
168
+ timeout?: number | undefined;
169
+ verb?: ApiCall['verb'];
170
+ } & {
171
+ uri: ApiUriCall['uri'];
172
+ }>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
173
+ };
174
+ export declare const isApiUriTemplateCallWitnessConfig: (value?: unknown) => value is import("@xyo-network/payload-model").SchemaFields & object & {
175
+ accountDerivationPath?: string | undefined;
176
+ readonly archivist?: string | undefined;
177
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
178
+ readonly name?: string | undefined;
179
+ readonly paging?: Record<string, {
180
+ size?: number | undefined;
181
+ }> | undefined;
182
+ schema: "network.xyo.api.call.witness.config";
183
+ readonly security?: {
184
+ readonly allowAnonymous?: boolean | undefined;
185
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
186
+ readonly disallowed?: Record<string, string[]> | undefined;
187
+ } | undefined;
188
+ readonly sign?: boolean | undefined;
189
+ readonly storeQueries?: boolean | undefined;
190
+ readonly timestamp?: boolean | undefined;
191
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
192
+ schema: "network.xyo.api.call.witness.config";
193
+ } & {
194
+ accountDerivationPath?: string | undefined;
195
+ readonly archivist?: string | undefined;
196
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
197
+ readonly name?: string | undefined;
198
+ readonly paging?: Record<string, {
199
+ size?: number | undefined;
200
+ }> | undefined;
201
+ schema: "network.xyo.api.call.witness.config";
202
+ readonly security?: {
203
+ readonly allowAnonymous?: boolean | undefined;
204
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
205
+ readonly disallowed?: Record<string, string[]> | undefined;
206
+ } | undefined;
207
+ readonly sign?: boolean | undefined;
208
+ readonly storeQueries?: boolean | undefined;
209
+ readonly timestamp?: boolean | undefined;
210
+ } & {
211
+ schema: "network.xyo.api.call.witness.config";
212
+ } & {
213
+ accept?: "application/json" | undefined;
214
+ queries?: ApiCall['queries'];
215
+ schema: ApiCallWitnessConfigSchema;
216
+ timeout?: number | undefined;
217
+ verb?: ApiCall['verb'];
218
+ } & {
219
+ params?: Record<string, unknown> | undefined;
220
+ uriTemplate: ApiUriTemplateCall['uriTemplate'];
35
221
  };
36
- export declare const isApiUriTemplateCallWitnessConfig: (value?: unknown) => value is ApiUriTemplateCallWitnessConfig;
37
222
  export declare const asApiUriTemplateCallWitnessConfig: {
38
- <TType extends ApiUriTemplateCallWitnessConfig>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
39
- <TType_1 extends ApiUriTemplateCallWitnessConfig>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
223
+ <TType extends import("@xyo-network/payload-model").SchemaFields & object & {
224
+ accountDerivationPath?: string | undefined;
225
+ readonly archivist?: string | undefined;
226
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
227
+ readonly name?: string | undefined;
228
+ readonly paging?: Record<string, {
229
+ size?: number | undefined;
230
+ }> | undefined;
231
+ schema: "network.xyo.api.call.witness.config";
232
+ readonly security?: {
233
+ readonly allowAnonymous?: boolean | undefined;
234
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
235
+ readonly disallowed?: Record<string, string[]> | undefined;
236
+ } | undefined;
237
+ readonly sign?: boolean | undefined;
238
+ readonly storeQueries?: boolean | undefined;
239
+ readonly timestamp?: boolean | undefined;
240
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
241
+ schema: "network.xyo.api.call.witness.config";
242
+ } & {
243
+ accountDerivationPath?: string | undefined;
244
+ readonly archivist?: string | undefined;
245
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
246
+ readonly name?: string | undefined;
247
+ readonly paging?: Record<string, {
248
+ size?: number | undefined;
249
+ }> | undefined;
250
+ schema: "network.xyo.api.call.witness.config";
251
+ readonly security?: {
252
+ readonly allowAnonymous?: boolean | undefined;
253
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
254
+ readonly disallowed?: Record<string, string[]> | undefined;
255
+ } | undefined;
256
+ readonly sign?: boolean | undefined;
257
+ readonly storeQueries?: boolean | undefined;
258
+ readonly timestamp?: boolean | undefined;
259
+ } & {
260
+ schema: "network.xyo.api.call.witness.config";
261
+ } & {
262
+ accept?: "application/json" | undefined;
263
+ queries?: ApiCall['queries'];
264
+ schema: ApiCallWitnessConfigSchema;
265
+ timeout?: number | undefined;
266
+ verb?: ApiCall['verb'];
267
+ } & {
268
+ params?: Record<string, unknown> | undefined;
269
+ uriTemplate: ApiUriTemplateCall['uriTemplate'];
270
+ }>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
271
+ <TType_1 extends import("@xyo-network/payload-model").SchemaFields & object & {
272
+ accountDerivationPath?: string | undefined;
273
+ readonly archivist?: string | undefined;
274
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
275
+ readonly name?: string | undefined;
276
+ readonly paging?: Record<string, {
277
+ size?: number | undefined;
278
+ }> | undefined;
279
+ schema: "network.xyo.api.call.witness.config";
280
+ readonly security?: {
281
+ readonly allowAnonymous?: boolean | undefined;
282
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
283
+ readonly disallowed?: Record<string, string[]> | undefined;
284
+ } | undefined;
285
+ readonly sign?: boolean | undefined;
286
+ readonly storeQueries?: boolean | undefined;
287
+ readonly timestamp?: boolean | undefined;
288
+ } & import("@xyo-network/module-model").ArchivingModuleConfig & {
289
+ schema: "network.xyo.api.call.witness.config";
290
+ } & {
291
+ accountDerivationPath?: string | undefined;
292
+ readonly archivist?: string | undefined;
293
+ readonly labels?: import("@xyo-network/module-model").Labels | undefined;
294
+ readonly name?: string | undefined;
295
+ readonly paging?: Record<string, {
296
+ size?: number | undefined;
297
+ }> | undefined;
298
+ schema: "network.xyo.api.call.witness.config";
299
+ readonly security?: {
300
+ readonly allowAnonymous?: boolean | undefined;
301
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
302
+ readonly disallowed?: Record<string, string[]> | undefined;
303
+ } | undefined;
304
+ readonly sign?: boolean | undefined;
305
+ readonly storeQueries?: boolean | undefined;
306
+ readonly timestamp?: boolean | undefined;
307
+ } & {
308
+ schema: "network.xyo.api.call.witness.config";
309
+ } & {
310
+ accept?: "application/json" | undefined;
311
+ queries?: ApiCall['queries'];
312
+ schema: ApiCallWitnessConfigSchema;
313
+ timeout?: number | undefined;
314
+ verb?: ApiCall['verb'];
315
+ } & {
316
+ params?: Record<string, unknown> | undefined;
317
+ uriTemplate: ApiUriTemplateCall['uriTemplate'];
318
+ }>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
40
319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