@xyo-network/sentinel-model 3.8.0 → 3.8.2
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.
- package/dist/neutral/index.d.ts +2051 -15
- package/package.json +11 -11
- package/dist/neutral/Automation.d.ts +0 -49
- package/dist/neutral/Automation.d.ts.map +0 -1
- package/dist/neutral/Config.d.ts +0 -15
- package/dist/neutral/Config.d.ts.map +0 -1
- package/dist/neutral/EventData.d.ts +0 -5
- package/dist/neutral/EventData.d.ts.map +0 -1
- package/dist/neutral/EventsModels/JobEnd.d.ts +0 -12
- package/dist/neutral/EventsModels/JobEnd.d.ts.map +0 -1
- package/dist/neutral/EventsModels/JobStart.d.ts +0 -10
- package/dist/neutral/EventsModels/JobStart.d.ts.map +0 -1
- package/dist/neutral/EventsModels/ReportEnd.d.ts +0 -13
- package/dist/neutral/EventsModels/ReportEnd.d.ts.map +0 -1
- package/dist/neutral/EventsModels/ReportStart.d.ts +0 -10
- package/dist/neutral/EventsModels/ReportStart.d.ts.map +0 -1
- package/dist/neutral/EventsModels/TaskEnd.d.ts +0 -14
- package/dist/neutral/EventsModels/TaskEnd.d.ts.map +0 -1
- package/dist/neutral/EventsModels/TaskStart.d.ts +0 -13
- package/dist/neutral/EventsModels/TaskStart.d.ts.map +0 -1
- package/dist/neutral/EventsModels/index.d.ts +0 -7
- package/dist/neutral/EventsModels/index.d.ts.map +0 -1
- package/dist/neutral/Instance.d.ts +0 -10
- package/dist/neutral/Instance.d.ts.map +0 -1
- package/dist/neutral/Job.d.ts +0 -5
- package/dist/neutral/Job.d.ts.map +0 -1
- package/dist/neutral/Module.d.ts +0 -8
- package/dist/neutral/Module.d.ts.map +0 -1
- package/dist/neutral/Params.d.ts +0 -5
- package/dist/neutral/Params.d.ts.map +0 -1
- package/dist/neutral/Queries/Report.d.ts +0 -7
- package/dist/neutral/Queries/Report.d.ts.map +0 -1
- package/dist/neutral/Queries/index.d.ts +0 -6
- package/dist/neutral/Queries/index.d.ts.map +0 -1
- package/dist/neutral/ResolvedTask.d.ts +0 -14
- package/dist/neutral/ResolvedTask.d.ts.map +0 -1
- package/dist/neutral/Sentinel.d.ts +0 -9
- package/dist/neutral/Sentinel.d.ts.map +0 -1
- package/dist/neutral/Task.d.ts +0 -15
- package/dist/neutral/Task.d.ts.map +0 -1
- package/dist/neutral/attachable/AttachableInstance.d.ts +0 -13
- package/dist/neutral/attachable/AttachableInstance.d.ts.map +0 -1
- package/dist/neutral/attachable/asAttachableInstance.d.ts +0 -434
- package/dist/neutral/attachable/asAttachableInstance.d.ts.map +0 -1
- package/dist/neutral/attachable/index.d.ts +0 -4
- package/dist/neutral/attachable/index.d.ts.map +0 -1
- package/dist/neutral/attachable/isAttachableInstance.d.ts +0 -6
- package/dist/neutral/attachable/isAttachableInstance.d.ts.map +0 -1
- package/dist/neutral/index.d.ts.map +0 -1
- package/dist/neutral/typeChecks.d.ts +0 -1445
- package/dist/neutral/typeChecks.d.ts.map +0 -1
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,15 +1,2051 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import * as _xylabs_promise from '@xylabs/promise';
|
|
2
|
+
import { Promisable } from '@xylabs/promise';
|
|
3
|
+
import * as _xylabs_object from '@xylabs/object';
|
|
4
|
+
import { WithAdditional, EmptyObject, TypeCheck, IsObjectFactory } from '@xylabs/object';
|
|
5
|
+
import * as _xyo_network_module_model from '@xyo-network/module-model';
|
|
6
|
+
import { Module, ModuleEventArgs, ModuleEventData, ModuleIdentifier, ModuleConfig, AnyConfigSchema, ModuleParams, ModuleQueryResult, ModuleInstance, AttachableModuleInstance, ModuleQueries } from '@xyo-network/module-model';
|
|
7
|
+
import { Address } from '@xylabs/hex';
|
|
8
|
+
import { EventData } from '@xyo-network/module-events';
|
|
9
|
+
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
10
|
+
import { Payload, Query } from '@xyo-network/payload-model';
|
|
11
|
+
import { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
12
|
+
import * as _xyo_network_account_model from '@xyo-network/account-model';
|
|
13
|
+
import { AccountInstance } from '@xyo-network/account-model';
|
|
14
|
+
import * as _xylabs_logger from '@xylabs/logger';
|
|
15
|
+
import { ObjectTypeShape } from '@xylabs/typeof';
|
|
16
|
+
import { ArchivistInstance } from '@xyo-network/archivist-model';
|
|
17
|
+
import { DivinerInstance } from '@xyo-network/diviner-model';
|
|
18
|
+
import { WitnessInstance } from '@xyo-network/witness-model';
|
|
19
|
+
|
|
20
|
+
type JobEndEventArgs<T extends Module = Module> = ModuleEventArgs<T, {
|
|
21
|
+
finalResult?: Record<Address, Payload[]>;
|
|
22
|
+
inPayloads?: Payload[];
|
|
23
|
+
}>;
|
|
24
|
+
interface JobEndEventData<T extends Module = Module> extends EventData {
|
|
25
|
+
jobEnd: JobEndEventArgs<T>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
type JobStartEventArgs<T extends Module = Module> = ModuleEventArgs<T, {
|
|
29
|
+
inPayloads?: Payload[];
|
|
30
|
+
}>;
|
|
31
|
+
interface JobStartEventData<T extends Module = Module> extends EventData {
|
|
32
|
+
jobStart: JobStartEventArgs<T>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
type ReportEndEventArgs<T extends Module = Module> = ModuleEventArgs<T, {
|
|
36
|
+
boundwitness?: BoundWitness;
|
|
37
|
+
inPayloads?: Payload[];
|
|
38
|
+
outPayloads?: Payload[];
|
|
39
|
+
}>;
|
|
40
|
+
interface ReportEndEventData<T extends Module = Module> extends EventData {
|
|
41
|
+
reportEnd: ReportEndEventArgs<T>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
type ReportStartEventArgs<T extends Module = Module> = ModuleEventArgs<T, {
|
|
45
|
+
inPayloads?: Payload[];
|
|
46
|
+
}>;
|
|
47
|
+
interface ReportStartEventData<T extends Module = Module> extends EventData {
|
|
48
|
+
reportStart: ReportStartEventArgs<T>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
type TaskEndEventArgs<T extends Module = Module> = ModuleEventArgs<T, {
|
|
52
|
+
address: Address;
|
|
53
|
+
inPayloads?: Payload[];
|
|
54
|
+
name?: string;
|
|
55
|
+
outPayloads?: Payload[];
|
|
56
|
+
}>;
|
|
57
|
+
interface TaskEndEventData<T extends Module = Module> extends EventData {
|
|
58
|
+
taskEnd: TaskEndEventArgs<T>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
type TaskStartEventArgs<T extends Module = Module> = ModuleEventArgs<T, {
|
|
62
|
+
address: Address;
|
|
63
|
+
inPayloads?: Payload[];
|
|
64
|
+
name?: string;
|
|
65
|
+
}>;
|
|
66
|
+
interface TaskStartEventData<T extends Module = Module> extends EventData {
|
|
67
|
+
taskStart: TaskStartEventArgs<T>;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
interface SentinelModuleEventData<T extends Module = Module> extends TaskEndEventData<T>, TaskStartEventData<T>, JobEndEventData<T>, JobStartEventData<T>, ReportEndEventData<T>, ReportStartEventData<T>, ModuleEventData<T> {
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
declare const SentinelAutomationSchema: "network.xyo.automation";
|
|
74
|
+
type SentinelAutomationSchema = typeof SentinelAutomationSchema;
|
|
75
|
+
declare const SentinelIntervalAutomationSchema: "network.xyo.automation.interval";
|
|
76
|
+
type SentinelIntervalAutomationSchema = typeof SentinelIntervalAutomationSchema;
|
|
77
|
+
declare const SentinelEventAutomationSchema: "network.xyo.automation.event";
|
|
78
|
+
type SentinelEventAutomationSchema = typeof SentinelEventAutomationSchema;
|
|
79
|
+
type SentinelBaseAutomationPayload<T extends Payload> = Payload<{
|
|
80
|
+
type?: 'interval' | 'event';
|
|
81
|
+
} & T>;
|
|
82
|
+
type SentinelIntervalAutomationPayload = SentinelBaseAutomationPayload<{
|
|
83
|
+
end?: number;
|
|
84
|
+
frequency?: number;
|
|
85
|
+
frequencyUnits?: 'second' | 'minute' | 'hour' | 'day' | 'millis';
|
|
86
|
+
remaining?: number;
|
|
87
|
+
schema: SentinelIntervalAutomationSchema;
|
|
88
|
+
start: number;
|
|
89
|
+
type: 'interval';
|
|
90
|
+
}>;
|
|
91
|
+
declare const isSentinelIntervalAutomation: (x?: unknown | null) => x is _xylabs_object.DeepRestrictToStringKeys<{
|
|
92
|
+
schema: "network.xyo.automation.interval";
|
|
93
|
+
type: "interval";
|
|
94
|
+
end?: number | undefined;
|
|
95
|
+
frequency?: number | undefined;
|
|
96
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
97
|
+
remaining?: number | undefined;
|
|
98
|
+
start: number;
|
|
99
|
+
}>;
|
|
100
|
+
type SentinelEventAutomationPayload = SentinelBaseAutomationPayload<{
|
|
101
|
+
schema: SentinelEventAutomationSchema;
|
|
102
|
+
type: 'event';
|
|
103
|
+
}>;
|
|
104
|
+
type SentinelAutomationPayload = Payload<SentinelIntervalAutomationPayload | SentinelEventAutomationPayload, SentinelAutomationSchema | SentinelIntervalAutomationSchema | SentinelEventAutomationSchema>;
|
|
105
|
+
|
|
106
|
+
interface ModuleTask<TEndpoints extends string = string> {
|
|
107
|
+
endPoint?: TEndpoints;
|
|
108
|
+
input?: boolean | ModuleIdentifier | ModuleIdentifier[];
|
|
109
|
+
mod: ModuleIdentifier;
|
|
110
|
+
required?: boolean;
|
|
111
|
+
}
|
|
112
|
+
type ArchivistTask = ModuleTask<'all' | 'clear' | 'commit' | 'delete' | 'get' | 'insert'>;
|
|
113
|
+
type DivinerTask = ModuleTask<'divine'>;
|
|
114
|
+
type WitnessTask = ModuleTask<'observe'>;
|
|
115
|
+
type Task = WitnessTask | DivinerTask | ArchivistTask | ModuleTask;
|
|
116
|
+
|
|
117
|
+
declare const SentinelConfigSchema: "network.xyo.sentinel.config";
|
|
118
|
+
type SentinelConfigSchema = typeof SentinelConfigSchema;
|
|
119
|
+
type SentinelConfig<TConfig extends Payload | void = void, TSchema extends string | void = void> = ModuleConfig<WithAdditional<{
|
|
120
|
+
automations?: SentinelAutomationPayload[];
|
|
121
|
+
schema: TConfig extends Payload ? TConfig['schema'] : SentinelConfigSchema;
|
|
122
|
+
synchronous?: boolean;
|
|
123
|
+
tasks: Task[];
|
|
124
|
+
throwErrors?: boolean;
|
|
125
|
+
}, TConfig>, TSchema>;
|
|
126
|
+
|
|
127
|
+
type SentinelParams<TConfig extends AnyConfigSchema<SentinelConfig> = AnyConfigSchema<SentinelConfig>, TAdditionalParams extends EmptyObject | void = void> = ModuleParams<TConfig, TAdditionalParams>;
|
|
128
|
+
|
|
129
|
+
interface SentinelModule<TParams extends SentinelParams = SentinelParams, TEventData extends SentinelModuleEventData = SentinelModuleEventData> extends Module<TParams, TEventData> {
|
|
130
|
+
}
|
|
131
|
+
interface CustomSentinelModule<TParams extends SentinelParams = SentinelParams, TEvents extends SentinelModuleEventData<SentinelModule<TParams>> = SentinelModuleEventData<SentinelModule<TParams>>> extends Module<TParams, TEvents> {
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
interface Sentinel<TIn extends Payload = Payload, TOut extends Payload = Payload> {
|
|
135
|
+
report: (payloads?: TIn[]) => Promisable<TOut[]>;
|
|
136
|
+
reportQuery: (payloads?: TIn[], account?: AccountInstance) => Promisable<ModuleQueryResult<TOut>>;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
interface SentinelInstance<TParams extends SentinelParams = SentinelParams, TEventData extends SentinelModuleEventData = SentinelModuleEventData> extends SentinelModule<TParams, TEventData>, Sentinel, ModuleInstance<TParams, TEventData> {
|
|
140
|
+
}
|
|
141
|
+
interface CustomSentinelInstance<TParams extends SentinelParams = SentinelParams, TEvents extends SentinelModuleEventData<SentinelInstance<TParams>> = SentinelModuleEventData<SentinelInstance<TParams>>> extends CustomSentinelModule<TParams, TEvents>, Sentinel, SentinelInstance<TParams, TEvents> {
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
interface AttachableSentinelInstance<TParams extends SentinelParams = SentinelParams, TEventData extends SentinelModuleEventData = SentinelModuleEventData> extends SentinelModule<TParams, TEventData>, AttachableModuleInstance<TParams, TEventData>, SentinelInstance<TParams, TEventData> {
|
|
145
|
+
}
|
|
146
|
+
type AttachableSentinelInstanceTypeCheck<T extends AttachableSentinelInstance = AttachableSentinelInstance> = TypeCheck<T>;
|
|
147
|
+
declare class IsAttachableSentinelInstanceFactory<T extends AttachableSentinelInstance = AttachableSentinelInstance> extends IsObjectFactory<T> {
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
declare const asAttachableSentinelInstance: {
|
|
151
|
+
<TType extends AttachableSentinelInstance<_xylabs_object.BaseParamsFields & {
|
|
152
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
153
|
+
addToResolvers?: boolean;
|
|
154
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
155
|
+
allowNameResolution?: boolean;
|
|
156
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
157
|
+
schema: _xyo_network_payload_model.Schema;
|
|
158
|
+
readonly archiving?: {
|
|
159
|
+
readonly archivists?: string[] | undefined;
|
|
160
|
+
readonly queries?: string[] | undefined;
|
|
161
|
+
} | undefined;
|
|
162
|
+
readonly allowedQueries?: string[] | undefined;
|
|
163
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
164
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
165
|
+
readonly labels?: {
|
|
166
|
+
[x: string]: string | undefined;
|
|
167
|
+
} | undefined;
|
|
168
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
169
|
+
readonly paging?: {
|
|
170
|
+
[x: string]: {
|
|
171
|
+
size?: number | undefined;
|
|
172
|
+
};
|
|
173
|
+
} | undefined;
|
|
174
|
+
readonly retry?: {
|
|
175
|
+
backoff?: number | undefined;
|
|
176
|
+
interval?: number | undefined;
|
|
177
|
+
retries?: number | undefined;
|
|
178
|
+
} | undefined;
|
|
179
|
+
readonly security?: {
|
|
180
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
181
|
+
readonly allowed?: {
|
|
182
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
183
|
+
} | undefined;
|
|
184
|
+
readonly disallowed?: {
|
|
185
|
+
[x: string]: Lowercase<string>[];
|
|
186
|
+
} | undefined;
|
|
187
|
+
} | undefined;
|
|
188
|
+
readonly sign?: boolean | undefined;
|
|
189
|
+
readonly storeQueries?: boolean | undefined;
|
|
190
|
+
readonly timestamp?: boolean | undefined;
|
|
191
|
+
automations?: ({
|
|
192
|
+
schema: "network.xyo.automation";
|
|
193
|
+
type: "interval";
|
|
194
|
+
end?: number | undefined;
|
|
195
|
+
frequency?: number | undefined;
|
|
196
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
197
|
+
remaining?: number | undefined;
|
|
198
|
+
start: number;
|
|
199
|
+
} | {
|
|
200
|
+
schema: "network.xyo.automation.interval";
|
|
201
|
+
type: "interval";
|
|
202
|
+
end?: number | undefined;
|
|
203
|
+
frequency?: number | undefined;
|
|
204
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
205
|
+
remaining?: number | undefined;
|
|
206
|
+
start: number;
|
|
207
|
+
} | {
|
|
208
|
+
schema: "network.xyo.automation.event";
|
|
209
|
+
type: "interval";
|
|
210
|
+
end?: number | undefined;
|
|
211
|
+
frequency?: number | undefined;
|
|
212
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
213
|
+
remaining?: number | undefined;
|
|
214
|
+
start: number;
|
|
215
|
+
} | {
|
|
216
|
+
schema: "network.xyo.automation";
|
|
217
|
+
type: "event";
|
|
218
|
+
} | {
|
|
219
|
+
schema: "network.xyo.automation.interval";
|
|
220
|
+
type: "event";
|
|
221
|
+
} | {
|
|
222
|
+
schema: "network.xyo.automation.event";
|
|
223
|
+
type: "event";
|
|
224
|
+
})[] | undefined;
|
|
225
|
+
synchronous?: boolean | undefined;
|
|
226
|
+
tasks: ({
|
|
227
|
+
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
228
|
+
input?: string | boolean | string[] | undefined;
|
|
229
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
230
|
+
required?: boolean | undefined;
|
|
231
|
+
} | {
|
|
232
|
+
endPoint?: "divine" | undefined;
|
|
233
|
+
input?: string | boolean | string[] | undefined;
|
|
234
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
235
|
+
required?: boolean | undefined;
|
|
236
|
+
} | {
|
|
237
|
+
endPoint?: "observe" | undefined;
|
|
238
|
+
input?: string | boolean | string[] | undefined;
|
|
239
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
240
|
+
required?: boolean | undefined;
|
|
241
|
+
} | {
|
|
242
|
+
endPoint?: string | undefined;
|
|
243
|
+
input?: string | boolean | string[] | undefined;
|
|
244
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
245
|
+
required?: boolean | undefined;
|
|
246
|
+
})[];
|
|
247
|
+
throwErrors?: boolean | undefined;
|
|
248
|
+
}>;
|
|
249
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
250
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
251
|
+
}, SentinelModuleEventData<_xyo_network_module_model.Module<_xylabs_object.BaseParamsFields & {
|
|
252
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
253
|
+
addToResolvers?: boolean;
|
|
254
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
255
|
+
allowNameResolution?: boolean;
|
|
256
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
257
|
+
schema: _xyo_network_payload_model.Schema;
|
|
258
|
+
readonly archiving?: {
|
|
259
|
+
readonly archivists?: string[] | undefined;
|
|
260
|
+
readonly queries?: string[] | undefined;
|
|
261
|
+
} | undefined;
|
|
262
|
+
readonly allowedQueries?: string[] | undefined;
|
|
263
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
264
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
265
|
+
readonly labels?: {
|
|
266
|
+
[x: string]: string | undefined;
|
|
267
|
+
} | undefined;
|
|
268
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
269
|
+
readonly paging?: {
|
|
270
|
+
[x: string]: {
|
|
271
|
+
size?: number | undefined;
|
|
272
|
+
};
|
|
273
|
+
} | undefined;
|
|
274
|
+
readonly retry?: {
|
|
275
|
+
backoff?: number | undefined;
|
|
276
|
+
interval?: number | undefined;
|
|
277
|
+
retries?: number | undefined;
|
|
278
|
+
} | undefined;
|
|
279
|
+
readonly security?: {
|
|
280
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
281
|
+
readonly allowed?: {
|
|
282
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
283
|
+
} | undefined;
|
|
284
|
+
readonly disallowed?: {
|
|
285
|
+
[x: string]: Lowercase<string>[];
|
|
286
|
+
} | undefined;
|
|
287
|
+
} | undefined;
|
|
288
|
+
readonly sign?: boolean | undefined;
|
|
289
|
+
readonly storeQueries?: boolean | undefined;
|
|
290
|
+
readonly timestamp?: boolean | undefined;
|
|
291
|
+
}>;
|
|
292
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
293
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
294
|
+
}, _xyo_network_module_model.ModuleEventData<object>>>>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
295
|
+
<TType extends AttachableSentinelInstance<_xylabs_object.BaseParamsFields & {
|
|
296
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
297
|
+
addToResolvers?: boolean;
|
|
298
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
299
|
+
allowNameResolution?: boolean;
|
|
300
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
301
|
+
schema: _xyo_network_payload_model.Schema;
|
|
302
|
+
readonly archiving?: {
|
|
303
|
+
readonly archivists?: string[] | undefined;
|
|
304
|
+
readonly queries?: string[] | undefined;
|
|
305
|
+
} | undefined;
|
|
306
|
+
readonly allowedQueries?: string[] | undefined;
|
|
307
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
308
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
309
|
+
readonly labels?: {
|
|
310
|
+
[x: string]: string | undefined;
|
|
311
|
+
} | undefined;
|
|
312
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
313
|
+
readonly paging?: {
|
|
314
|
+
[x: string]: {
|
|
315
|
+
size?: number | undefined;
|
|
316
|
+
};
|
|
317
|
+
} | undefined;
|
|
318
|
+
readonly retry?: {
|
|
319
|
+
backoff?: number | undefined;
|
|
320
|
+
interval?: number | undefined;
|
|
321
|
+
retries?: number | undefined;
|
|
322
|
+
} | undefined;
|
|
323
|
+
readonly security?: {
|
|
324
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
325
|
+
readonly allowed?: {
|
|
326
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
327
|
+
} | undefined;
|
|
328
|
+
readonly disallowed?: {
|
|
329
|
+
[x: string]: Lowercase<string>[];
|
|
330
|
+
} | undefined;
|
|
331
|
+
} | undefined;
|
|
332
|
+
readonly sign?: boolean | undefined;
|
|
333
|
+
readonly storeQueries?: boolean | undefined;
|
|
334
|
+
readonly timestamp?: boolean | undefined;
|
|
335
|
+
automations?: ({
|
|
336
|
+
schema: "network.xyo.automation";
|
|
337
|
+
type: "interval";
|
|
338
|
+
end?: number | undefined;
|
|
339
|
+
frequency?: number | undefined;
|
|
340
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
341
|
+
remaining?: number | undefined;
|
|
342
|
+
start: number;
|
|
343
|
+
} | {
|
|
344
|
+
schema: "network.xyo.automation.interval";
|
|
345
|
+
type: "interval";
|
|
346
|
+
end?: number | undefined;
|
|
347
|
+
frequency?: number | undefined;
|
|
348
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
349
|
+
remaining?: number | undefined;
|
|
350
|
+
start: number;
|
|
351
|
+
} | {
|
|
352
|
+
schema: "network.xyo.automation.event";
|
|
353
|
+
type: "interval";
|
|
354
|
+
end?: number | undefined;
|
|
355
|
+
frequency?: number | undefined;
|
|
356
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
357
|
+
remaining?: number | undefined;
|
|
358
|
+
start: number;
|
|
359
|
+
} | {
|
|
360
|
+
schema: "network.xyo.automation";
|
|
361
|
+
type: "event";
|
|
362
|
+
} | {
|
|
363
|
+
schema: "network.xyo.automation.interval";
|
|
364
|
+
type: "event";
|
|
365
|
+
} | {
|
|
366
|
+
schema: "network.xyo.automation.event";
|
|
367
|
+
type: "event";
|
|
368
|
+
})[] | undefined;
|
|
369
|
+
synchronous?: boolean | undefined;
|
|
370
|
+
tasks: ({
|
|
371
|
+
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
372
|
+
input?: string | boolean | string[] | undefined;
|
|
373
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
374
|
+
required?: boolean | undefined;
|
|
375
|
+
} | {
|
|
376
|
+
endPoint?: "divine" | undefined;
|
|
377
|
+
input?: string | boolean | string[] | undefined;
|
|
378
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
379
|
+
required?: boolean | undefined;
|
|
380
|
+
} | {
|
|
381
|
+
endPoint?: "observe" | undefined;
|
|
382
|
+
input?: string | boolean | string[] | undefined;
|
|
383
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
384
|
+
required?: boolean | undefined;
|
|
385
|
+
} | {
|
|
386
|
+
endPoint?: string | undefined;
|
|
387
|
+
input?: string | boolean | string[] | undefined;
|
|
388
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
389
|
+
required?: boolean | undefined;
|
|
390
|
+
})[];
|
|
391
|
+
throwErrors?: boolean | undefined;
|
|
392
|
+
}>;
|
|
393
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
394
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
395
|
+
}, SentinelModuleEventData<_xyo_network_module_model.Module<_xylabs_object.BaseParamsFields & {
|
|
396
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
397
|
+
addToResolvers?: boolean;
|
|
398
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
399
|
+
allowNameResolution?: boolean;
|
|
400
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
401
|
+
schema: _xyo_network_payload_model.Schema;
|
|
402
|
+
readonly archiving?: {
|
|
403
|
+
readonly archivists?: string[] | undefined;
|
|
404
|
+
readonly queries?: string[] | undefined;
|
|
405
|
+
} | undefined;
|
|
406
|
+
readonly allowedQueries?: string[] | undefined;
|
|
407
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
408
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
409
|
+
readonly labels?: {
|
|
410
|
+
[x: string]: string | undefined;
|
|
411
|
+
} | undefined;
|
|
412
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
413
|
+
readonly paging?: {
|
|
414
|
+
[x: string]: {
|
|
415
|
+
size?: number | undefined;
|
|
416
|
+
};
|
|
417
|
+
} | undefined;
|
|
418
|
+
readonly retry?: {
|
|
419
|
+
backoff?: number | undefined;
|
|
420
|
+
interval?: number | undefined;
|
|
421
|
+
retries?: number | undefined;
|
|
422
|
+
} | undefined;
|
|
423
|
+
readonly security?: {
|
|
424
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
425
|
+
readonly allowed?: {
|
|
426
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
427
|
+
} | undefined;
|
|
428
|
+
readonly disallowed?: {
|
|
429
|
+
[x: string]: Lowercase<string>[];
|
|
430
|
+
} | undefined;
|
|
431
|
+
} | undefined;
|
|
432
|
+
readonly sign?: boolean | undefined;
|
|
433
|
+
readonly storeQueries?: boolean | undefined;
|
|
434
|
+
readonly timestamp?: boolean | undefined;
|
|
435
|
+
}>;
|
|
436
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
437
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
438
|
+
}, _xyo_network_module_model.ModuleEventData<object>>>>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<AttachableSentinelInstance<_xylabs_object.BaseParamsFields & {
|
|
439
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
440
|
+
addToResolvers?: boolean;
|
|
441
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
442
|
+
allowNameResolution?: boolean;
|
|
443
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
444
|
+
schema: _xyo_network_payload_model.Schema;
|
|
445
|
+
readonly archiving?: {
|
|
446
|
+
readonly archivists?: string[] | undefined;
|
|
447
|
+
readonly queries?: string[] | undefined;
|
|
448
|
+
} | undefined;
|
|
449
|
+
readonly allowedQueries?: string[] | undefined;
|
|
450
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
451
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
452
|
+
readonly labels?: {
|
|
453
|
+
[x: string]: string | undefined;
|
|
454
|
+
} | undefined;
|
|
455
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
456
|
+
readonly paging?: {
|
|
457
|
+
[x: string]: {
|
|
458
|
+
size?: number | undefined;
|
|
459
|
+
};
|
|
460
|
+
} | undefined;
|
|
461
|
+
readonly retry?: {
|
|
462
|
+
backoff?: number | undefined;
|
|
463
|
+
interval?: number | undefined;
|
|
464
|
+
retries?: number | undefined;
|
|
465
|
+
} | undefined;
|
|
466
|
+
readonly security?: {
|
|
467
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
468
|
+
readonly allowed?: {
|
|
469
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
470
|
+
} | undefined;
|
|
471
|
+
readonly disallowed?: {
|
|
472
|
+
[x: string]: Lowercase<string>[];
|
|
473
|
+
} | undefined;
|
|
474
|
+
} | undefined;
|
|
475
|
+
readonly sign?: boolean | undefined;
|
|
476
|
+
readonly storeQueries?: boolean | undefined;
|
|
477
|
+
readonly timestamp?: boolean | undefined;
|
|
478
|
+
automations?: ({
|
|
479
|
+
schema: "network.xyo.automation";
|
|
480
|
+
type: "interval";
|
|
481
|
+
end?: number | undefined;
|
|
482
|
+
frequency?: number | undefined;
|
|
483
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
484
|
+
remaining?: number | undefined;
|
|
485
|
+
start: number;
|
|
486
|
+
} | {
|
|
487
|
+
schema: "network.xyo.automation.interval";
|
|
488
|
+
type: "interval";
|
|
489
|
+
end?: number | undefined;
|
|
490
|
+
frequency?: number | undefined;
|
|
491
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
492
|
+
remaining?: number | undefined;
|
|
493
|
+
start: number;
|
|
494
|
+
} | {
|
|
495
|
+
schema: "network.xyo.automation.event";
|
|
496
|
+
type: "interval";
|
|
497
|
+
end?: number | undefined;
|
|
498
|
+
frequency?: number | undefined;
|
|
499
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
500
|
+
remaining?: number | undefined;
|
|
501
|
+
start: number;
|
|
502
|
+
} | {
|
|
503
|
+
schema: "network.xyo.automation";
|
|
504
|
+
type: "event";
|
|
505
|
+
} | {
|
|
506
|
+
schema: "network.xyo.automation.interval";
|
|
507
|
+
type: "event";
|
|
508
|
+
} | {
|
|
509
|
+
schema: "network.xyo.automation.event";
|
|
510
|
+
type: "event";
|
|
511
|
+
})[] | undefined;
|
|
512
|
+
synchronous?: boolean | undefined;
|
|
513
|
+
tasks: ({
|
|
514
|
+
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
515
|
+
input?: string | boolean | string[] | undefined;
|
|
516
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
517
|
+
required?: boolean | undefined;
|
|
518
|
+
} | {
|
|
519
|
+
endPoint?: "divine" | undefined;
|
|
520
|
+
input?: string | boolean | string[] | undefined;
|
|
521
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
522
|
+
required?: boolean | undefined;
|
|
523
|
+
} | {
|
|
524
|
+
endPoint?: "observe" | undefined;
|
|
525
|
+
input?: string | boolean | string[] | undefined;
|
|
526
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
527
|
+
required?: boolean | undefined;
|
|
528
|
+
} | {
|
|
529
|
+
endPoint?: string | undefined;
|
|
530
|
+
input?: string | boolean | string[] | undefined;
|
|
531
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
532
|
+
required?: boolean | undefined;
|
|
533
|
+
})[];
|
|
534
|
+
throwErrors?: boolean | undefined;
|
|
535
|
+
}>;
|
|
536
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
537
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
538
|
+
}, SentinelModuleEventData<_xyo_network_module_model.Module<_xylabs_object.BaseParamsFields & {
|
|
539
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
540
|
+
addToResolvers?: boolean;
|
|
541
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
542
|
+
allowNameResolution?: boolean;
|
|
543
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
544
|
+
schema: _xyo_network_payload_model.Schema;
|
|
545
|
+
readonly archiving?: {
|
|
546
|
+
readonly archivists?: string[] | undefined;
|
|
547
|
+
readonly queries?: string[] | undefined;
|
|
548
|
+
} | undefined;
|
|
549
|
+
readonly allowedQueries?: string[] | undefined;
|
|
550
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
551
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
552
|
+
readonly labels?: {
|
|
553
|
+
[x: string]: string | undefined;
|
|
554
|
+
} | undefined;
|
|
555
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
556
|
+
readonly paging?: {
|
|
557
|
+
[x: string]: {
|
|
558
|
+
size?: number | undefined;
|
|
559
|
+
};
|
|
560
|
+
} | undefined;
|
|
561
|
+
readonly retry?: {
|
|
562
|
+
backoff?: number | undefined;
|
|
563
|
+
interval?: number | undefined;
|
|
564
|
+
retries?: number | undefined;
|
|
565
|
+
} | undefined;
|
|
566
|
+
readonly security?: {
|
|
567
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
568
|
+
readonly allowed?: {
|
|
569
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
570
|
+
} | undefined;
|
|
571
|
+
readonly disallowed?: {
|
|
572
|
+
[x: string]: Lowercase<string>[];
|
|
573
|
+
} | undefined;
|
|
574
|
+
} | undefined;
|
|
575
|
+
readonly sign?: boolean | undefined;
|
|
576
|
+
readonly storeQueries?: boolean | undefined;
|
|
577
|
+
readonly timestamp?: boolean | undefined;
|
|
578
|
+
}>;
|
|
579
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
580
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
581
|
+
}, _xyo_network_module_model.ModuleEventData<object>>>>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
582
|
+
};
|
|
583
|
+
|
|
584
|
+
declare const requiredAttachableSentinelInstanceFunctions: ObjectTypeShape;
|
|
585
|
+
declare const isAttachableSentinelInstance: TypeCheck<AttachableSentinelInstance>;
|
|
586
|
+
|
|
587
|
+
type ResolvedModuleTask<TTask extends ModuleTask = ModuleTask, TInstance extends ModuleInstance = ModuleInstance> = Omit<TTask, 'mod'> & {
|
|
588
|
+
mod: TInstance;
|
|
589
|
+
};
|
|
590
|
+
type ResolvedArchivistTask = ResolvedModuleTask<ArchivistTask, ArchivistInstance>;
|
|
591
|
+
type ResolvedDivinerTask = ResolvedModuleTask<DivinerTask, DivinerInstance>;
|
|
592
|
+
type ResolvedWitnessTask = ResolvedModuleTask<WitnessTask, WitnessInstance>;
|
|
593
|
+
type ResolvedTask = ResolvedArchivistTask | ResolvedDivinerTask | ResolvedWitnessTask | ResolvedModuleTask;
|
|
594
|
+
|
|
595
|
+
interface SentinelJob {
|
|
596
|
+
tasks: ResolvedTask[][];
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
declare const SentinelReportQuerySchema: "network.xyo.query.sentinel.report";
|
|
600
|
+
type SentinelReportQuerySchema = typeof SentinelReportQuerySchema;
|
|
601
|
+
type SentinelReportQuery = Query<{
|
|
602
|
+
schema: SentinelReportQuerySchema;
|
|
603
|
+
}>;
|
|
604
|
+
|
|
605
|
+
type SentinelQueries = SentinelReportQuery;
|
|
606
|
+
type SentinelModuleQueries = ModuleQueries | SentinelQueries;
|
|
607
|
+
|
|
608
|
+
declare const isSentinelInstance: _xylabs_object.TypeCheck<SentinelInstance<_xylabs_object.BaseParamsFields & {
|
|
609
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
610
|
+
addToResolvers?: boolean;
|
|
611
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
612
|
+
allowNameResolution?: boolean;
|
|
613
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
614
|
+
schema: _xyo_network_payload_model.Schema;
|
|
615
|
+
readonly archiving?: {
|
|
616
|
+
readonly archivists?: string[] | undefined;
|
|
617
|
+
readonly queries?: string[] | undefined;
|
|
618
|
+
} | undefined;
|
|
619
|
+
readonly allowedQueries?: string[] | undefined;
|
|
620
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
621
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
622
|
+
readonly labels?: {
|
|
623
|
+
[x: string]: string | undefined;
|
|
624
|
+
} | undefined;
|
|
625
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
626
|
+
readonly paging?: {
|
|
627
|
+
[x: string]: {
|
|
628
|
+
size?: number | undefined;
|
|
629
|
+
};
|
|
630
|
+
} | undefined;
|
|
631
|
+
readonly retry?: {
|
|
632
|
+
backoff?: number | undefined;
|
|
633
|
+
interval?: number | undefined;
|
|
634
|
+
retries?: number | undefined;
|
|
635
|
+
} | undefined;
|
|
636
|
+
readonly security?: {
|
|
637
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
638
|
+
readonly allowed?: {
|
|
639
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
640
|
+
} | undefined;
|
|
641
|
+
readonly disallowed?: {
|
|
642
|
+
[x: string]: Lowercase<string>[];
|
|
643
|
+
} | undefined;
|
|
644
|
+
} | undefined;
|
|
645
|
+
readonly sign?: boolean | undefined;
|
|
646
|
+
readonly storeQueries?: boolean | undefined;
|
|
647
|
+
readonly timestamp?: boolean | undefined;
|
|
648
|
+
automations?: ({
|
|
649
|
+
schema: "network.xyo.automation";
|
|
650
|
+
type: "interval";
|
|
651
|
+
end?: number | undefined;
|
|
652
|
+
frequency?: number | undefined;
|
|
653
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
654
|
+
remaining?: number | undefined;
|
|
655
|
+
start: number;
|
|
656
|
+
} | {
|
|
657
|
+
schema: "network.xyo.automation.interval";
|
|
658
|
+
type: "interval";
|
|
659
|
+
end?: number | undefined;
|
|
660
|
+
frequency?: number | undefined;
|
|
661
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
662
|
+
remaining?: number | undefined;
|
|
663
|
+
start: number;
|
|
664
|
+
} | {
|
|
665
|
+
schema: "network.xyo.automation.event";
|
|
666
|
+
type: "interval";
|
|
667
|
+
end?: number | undefined;
|
|
668
|
+
frequency?: number | undefined;
|
|
669
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
670
|
+
remaining?: number | undefined;
|
|
671
|
+
start: number;
|
|
672
|
+
} | {
|
|
673
|
+
schema: "network.xyo.automation";
|
|
674
|
+
type: "event";
|
|
675
|
+
} | {
|
|
676
|
+
schema: "network.xyo.automation.interval";
|
|
677
|
+
type: "event";
|
|
678
|
+
} | {
|
|
679
|
+
schema: "network.xyo.automation.event";
|
|
680
|
+
type: "event";
|
|
681
|
+
})[] | undefined;
|
|
682
|
+
synchronous?: boolean | undefined;
|
|
683
|
+
tasks: ({
|
|
684
|
+
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
685
|
+
input?: string | boolean | string[] | undefined;
|
|
686
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
687
|
+
required?: boolean | undefined;
|
|
688
|
+
} | {
|
|
689
|
+
endPoint?: "divine" | undefined;
|
|
690
|
+
input?: string | boolean | string[] | undefined;
|
|
691
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
692
|
+
required?: boolean | undefined;
|
|
693
|
+
} | {
|
|
694
|
+
endPoint?: "observe" | undefined;
|
|
695
|
+
input?: string | boolean | string[] | undefined;
|
|
696
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
697
|
+
required?: boolean | undefined;
|
|
698
|
+
} | {
|
|
699
|
+
endPoint?: string | undefined;
|
|
700
|
+
input?: string | boolean | string[] | undefined;
|
|
701
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
702
|
+
required?: boolean | undefined;
|
|
703
|
+
})[];
|
|
704
|
+
throwErrors?: boolean | undefined;
|
|
705
|
+
}>;
|
|
706
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
707
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
708
|
+
}, SentinelModuleEventData<_xyo_network_module_model.Module<_xylabs_object.BaseParamsFields & {
|
|
709
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
710
|
+
addToResolvers?: boolean;
|
|
711
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
712
|
+
allowNameResolution?: boolean;
|
|
713
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
714
|
+
schema: _xyo_network_payload_model.Schema;
|
|
715
|
+
readonly archiving?: {
|
|
716
|
+
readonly archivists?: string[] | undefined;
|
|
717
|
+
readonly queries?: string[] | undefined;
|
|
718
|
+
} | undefined;
|
|
719
|
+
readonly allowedQueries?: string[] | undefined;
|
|
720
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
721
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
722
|
+
readonly labels?: {
|
|
723
|
+
[x: string]: string | undefined;
|
|
724
|
+
} | undefined;
|
|
725
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
726
|
+
readonly paging?: {
|
|
727
|
+
[x: string]: {
|
|
728
|
+
size?: number | undefined;
|
|
729
|
+
};
|
|
730
|
+
} | undefined;
|
|
731
|
+
readonly retry?: {
|
|
732
|
+
backoff?: number | undefined;
|
|
733
|
+
interval?: number | undefined;
|
|
734
|
+
retries?: number | undefined;
|
|
735
|
+
} | undefined;
|
|
736
|
+
readonly security?: {
|
|
737
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
738
|
+
readonly allowed?: {
|
|
739
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
740
|
+
} | undefined;
|
|
741
|
+
readonly disallowed?: {
|
|
742
|
+
[x: string]: Lowercase<string>[];
|
|
743
|
+
} | undefined;
|
|
744
|
+
} | undefined;
|
|
745
|
+
readonly sign?: boolean | undefined;
|
|
746
|
+
readonly storeQueries?: boolean | undefined;
|
|
747
|
+
readonly timestamp?: boolean | undefined;
|
|
748
|
+
}>;
|
|
749
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
750
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
751
|
+
}, _xyo_network_module_model.ModuleEventData<object>>>>>;
|
|
752
|
+
declare const isSentinelModule: _xyo_network_module_model.ModuleTypeCheck<SentinelModule<_xylabs_object.BaseParamsFields & {
|
|
753
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
754
|
+
addToResolvers?: boolean;
|
|
755
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
756
|
+
allowNameResolution?: boolean;
|
|
757
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
758
|
+
schema: _xyo_network_payload_model.Schema;
|
|
759
|
+
readonly archiving?: {
|
|
760
|
+
readonly archivists?: string[] | undefined;
|
|
761
|
+
readonly queries?: string[] | undefined;
|
|
762
|
+
} | undefined;
|
|
763
|
+
readonly allowedQueries?: string[] | undefined;
|
|
764
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
765
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
766
|
+
readonly labels?: {
|
|
767
|
+
[x: string]: string | undefined;
|
|
768
|
+
} | undefined;
|
|
769
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
770
|
+
readonly paging?: {
|
|
771
|
+
[x: string]: {
|
|
772
|
+
size?: number | undefined;
|
|
773
|
+
};
|
|
774
|
+
} | undefined;
|
|
775
|
+
readonly retry?: {
|
|
776
|
+
backoff?: number | undefined;
|
|
777
|
+
interval?: number | undefined;
|
|
778
|
+
retries?: number | undefined;
|
|
779
|
+
} | undefined;
|
|
780
|
+
readonly security?: {
|
|
781
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
782
|
+
readonly allowed?: {
|
|
783
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
784
|
+
} | undefined;
|
|
785
|
+
readonly disallowed?: {
|
|
786
|
+
[x: string]: Lowercase<string>[];
|
|
787
|
+
} | undefined;
|
|
788
|
+
} | undefined;
|
|
789
|
+
readonly sign?: boolean | undefined;
|
|
790
|
+
readonly storeQueries?: boolean | undefined;
|
|
791
|
+
readonly timestamp?: boolean | undefined;
|
|
792
|
+
automations?: ({
|
|
793
|
+
schema: "network.xyo.automation";
|
|
794
|
+
type: "interval";
|
|
795
|
+
end?: number | undefined;
|
|
796
|
+
frequency?: number | undefined;
|
|
797
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
798
|
+
remaining?: number | undefined;
|
|
799
|
+
start: number;
|
|
800
|
+
} | {
|
|
801
|
+
schema: "network.xyo.automation.interval";
|
|
802
|
+
type: "interval";
|
|
803
|
+
end?: number | undefined;
|
|
804
|
+
frequency?: number | undefined;
|
|
805
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
806
|
+
remaining?: number | undefined;
|
|
807
|
+
start: number;
|
|
808
|
+
} | {
|
|
809
|
+
schema: "network.xyo.automation.event";
|
|
810
|
+
type: "interval";
|
|
811
|
+
end?: number | undefined;
|
|
812
|
+
frequency?: number | undefined;
|
|
813
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
814
|
+
remaining?: number | undefined;
|
|
815
|
+
start: number;
|
|
816
|
+
} | {
|
|
817
|
+
schema: "network.xyo.automation";
|
|
818
|
+
type: "event";
|
|
819
|
+
} | {
|
|
820
|
+
schema: "network.xyo.automation.interval";
|
|
821
|
+
type: "event";
|
|
822
|
+
} | {
|
|
823
|
+
schema: "network.xyo.automation.event";
|
|
824
|
+
type: "event";
|
|
825
|
+
})[] | undefined;
|
|
826
|
+
synchronous?: boolean | undefined;
|
|
827
|
+
tasks: ({
|
|
828
|
+
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
829
|
+
input?: string | boolean | string[] | undefined;
|
|
830
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
831
|
+
required?: boolean | undefined;
|
|
832
|
+
} | {
|
|
833
|
+
endPoint?: "divine" | undefined;
|
|
834
|
+
input?: string | boolean | string[] | undefined;
|
|
835
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
836
|
+
required?: boolean | undefined;
|
|
837
|
+
} | {
|
|
838
|
+
endPoint?: "observe" | undefined;
|
|
839
|
+
input?: string | boolean | string[] | undefined;
|
|
840
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
841
|
+
required?: boolean | undefined;
|
|
842
|
+
} | {
|
|
843
|
+
endPoint?: string | undefined;
|
|
844
|
+
input?: string | boolean | string[] | undefined;
|
|
845
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
846
|
+
required?: boolean | undefined;
|
|
847
|
+
})[];
|
|
848
|
+
throwErrors?: boolean | undefined;
|
|
849
|
+
}>;
|
|
850
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
851
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
852
|
+
}, SentinelModuleEventData<_xyo_network_module_model.Module<_xylabs_object.BaseParamsFields & {
|
|
853
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
854
|
+
addToResolvers?: boolean;
|
|
855
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
856
|
+
allowNameResolution?: boolean;
|
|
857
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
858
|
+
schema: _xyo_network_payload_model.Schema;
|
|
859
|
+
readonly archiving?: {
|
|
860
|
+
readonly archivists?: string[] | undefined;
|
|
861
|
+
readonly queries?: string[] | undefined;
|
|
862
|
+
} | undefined;
|
|
863
|
+
readonly allowedQueries?: string[] | undefined;
|
|
864
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
865
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
866
|
+
readonly labels?: {
|
|
867
|
+
[x: string]: string | undefined;
|
|
868
|
+
} | undefined;
|
|
869
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
870
|
+
readonly paging?: {
|
|
871
|
+
[x: string]: {
|
|
872
|
+
size?: number | undefined;
|
|
873
|
+
};
|
|
874
|
+
} | undefined;
|
|
875
|
+
readonly retry?: {
|
|
876
|
+
backoff?: number | undefined;
|
|
877
|
+
interval?: number | undefined;
|
|
878
|
+
retries?: number | undefined;
|
|
879
|
+
} | undefined;
|
|
880
|
+
readonly security?: {
|
|
881
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
882
|
+
readonly allowed?: {
|
|
883
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
884
|
+
} | undefined;
|
|
885
|
+
readonly disallowed?: {
|
|
886
|
+
[x: string]: Lowercase<string>[];
|
|
887
|
+
} | undefined;
|
|
888
|
+
} | undefined;
|
|
889
|
+
readonly sign?: boolean | undefined;
|
|
890
|
+
readonly storeQueries?: boolean | undefined;
|
|
891
|
+
readonly timestamp?: boolean | undefined;
|
|
892
|
+
}>;
|
|
893
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
894
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
895
|
+
}, _xyo_network_module_model.ModuleEventData<object>>>>>;
|
|
896
|
+
declare const asSentinelModule: {
|
|
897
|
+
<TType extends SentinelModule<_xylabs_object.BaseParamsFields & {
|
|
898
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
899
|
+
addToResolvers?: boolean;
|
|
900
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
901
|
+
allowNameResolution?: boolean;
|
|
902
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
903
|
+
schema: _xyo_network_payload_model.Schema;
|
|
904
|
+
readonly archiving?: {
|
|
905
|
+
readonly archivists?: string[] | undefined;
|
|
906
|
+
readonly queries?: string[] | undefined;
|
|
907
|
+
} | undefined;
|
|
908
|
+
readonly allowedQueries?: string[] | undefined;
|
|
909
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
910
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
911
|
+
readonly labels?: {
|
|
912
|
+
[x: string]: string | undefined;
|
|
913
|
+
} | undefined;
|
|
914
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
915
|
+
readonly paging?: {
|
|
916
|
+
[x: string]: {
|
|
917
|
+
size?: number | undefined;
|
|
918
|
+
};
|
|
919
|
+
} | undefined;
|
|
920
|
+
readonly retry?: {
|
|
921
|
+
backoff?: number | undefined;
|
|
922
|
+
interval?: number | undefined;
|
|
923
|
+
retries?: number | undefined;
|
|
924
|
+
} | undefined;
|
|
925
|
+
readonly security?: {
|
|
926
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
927
|
+
readonly allowed?: {
|
|
928
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
929
|
+
} | undefined;
|
|
930
|
+
readonly disallowed?: {
|
|
931
|
+
[x: string]: Lowercase<string>[];
|
|
932
|
+
} | undefined;
|
|
933
|
+
} | undefined;
|
|
934
|
+
readonly sign?: boolean | undefined;
|
|
935
|
+
readonly storeQueries?: boolean | undefined;
|
|
936
|
+
readonly timestamp?: boolean | undefined;
|
|
937
|
+
automations?: ({
|
|
938
|
+
schema: "network.xyo.automation";
|
|
939
|
+
type: "interval";
|
|
940
|
+
end?: number | undefined;
|
|
941
|
+
frequency?: number | undefined;
|
|
942
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
943
|
+
remaining?: number | undefined;
|
|
944
|
+
start: number;
|
|
945
|
+
} | {
|
|
946
|
+
schema: "network.xyo.automation.interval";
|
|
947
|
+
type: "interval";
|
|
948
|
+
end?: number | undefined;
|
|
949
|
+
frequency?: number | undefined;
|
|
950
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
951
|
+
remaining?: number | undefined;
|
|
952
|
+
start: number;
|
|
953
|
+
} | {
|
|
954
|
+
schema: "network.xyo.automation.event";
|
|
955
|
+
type: "interval";
|
|
956
|
+
end?: number | undefined;
|
|
957
|
+
frequency?: number | undefined;
|
|
958
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
959
|
+
remaining?: number | undefined;
|
|
960
|
+
start: number;
|
|
961
|
+
} | {
|
|
962
|
+
schema: "network.xyo.automation";
|
|
963
|
+
type: "event";
|
|
964
|
+
} | {
|
|
965
|
+
schema: "network.xyo.automation.interval";
|
|
966
|
+
type: "event";
|
|
967
|
+
} | {
|
|
968
|
+
schema: "network.xyo.automation.event";
|
|
969
|
+
type: "event";
|
|
970
|
+
})[] | undefined;
|
|
971
|
+
synchronous?: boolean | undefined;
|
|
972
|
+
tasks: ({
|
|
973
|
+
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
974
|
+
input?: string | boolean | string[] | undefined;
|
|
975
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
976
|
+
required?: boolean | undefined;
|
|
977
|
+
} | {
|
|
978
|
+
endPoint?: "divine" | undefined;
|
|
979
|
+
input?: string | boolean | string[] | undefined;
|
|
980
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
981
|
+
required?: boolean | undefined;
|
|
982
|
+
} | {
|
|
983
|
+
endPoint?: "observe" | undefined;
|
|
984
|
+
input?: string | boolean | string[] | undefined;
|
|
985
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
986
|
+
required?: boolean | undefined;
|
|
987
|
+
} | {
|
|
988
|
+
endPoint?: string | undefined;
|
|
989
|
+
input?: string | boolean | string[] | undefined;
|
|
990
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
991
|
+
required?: boolean | undefined;
|
|
992
|
+
})[];
|
|
993
|
+
throwErrors?: boolean | undefined;
|
|
994
|
+
}>;
|
|
995
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
996
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
997
|
+
}, SentinelModuleEventData<_xyo_network_module_model.Module<_xylabs_object.BaseParamsFields & {
|
|
998
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
999
|
+
addToResolvers?: boolean;
|
|
1000
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1001
|
+
allowNameResolution?: boolean;
|
|
1002
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
1003
|
+
schema: _xyo_network_payload_model.Schema;
|
|
1004
|
+
readonly archiving?: {
|
|
1005
|
+
readonly archivists?: string[] | undefined;
|
|
1006
|
+
readonly queries?: string[] | undefined;
|
|
1007
|
+
} | undefined;
|
|
1008
|
+
readonly allowedQueries?: string[] | undefined;
|
|
1009
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
1010
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1011
|
+
readonly labels?: {
|
|
1012
|
+
[x: string]: string | undefined;
|
|
1013
|
+
} | undefined;
|
|
1014
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
1015
|
+
readonly paging?: {
|
|
1016
|
+
[x: string]: {
|
|
1017
|
+
size?: number | undefined;
|
|
1018
|
+
};
|
|
1019
|
+
} | undefined;
|
|
1020
|
+
readonly retry?: {
|
|
1021
|
+
backoff?: number | undefined;
|
|
1022
|
+
interval?: number | undefined;
|
|
1023
|
+
retries?: number | undefined;
|
|
1024
|
+
} | undefined;
|
|
1025
|
+
readonly security?: {
|
|
1026
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
1027
|
+
readonly allowed?: {
|
|
1028
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1029
|
+
} | undefined;
|
|
1030
|
+
readonly disallowed?: {
|
|
1031
|
+
[x: string]: Lowercase<string>[];
|
|
1032
|
+
} | undefined;
|
|
1033
|
+
} | undefined;
|
|
1034
|
+
readonly sign?: boolean | undefined;
|
|
1035
|
+
readonly storeQueries?: boolean | undefined;
|
|
1036
|
+
readonly timestamp?: boolean | undefined;
|
|
1037
|
+
}>;
|
|
1038
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1039
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1040
|
+
}, _xyo_network_module_model.ModuleEventData<object>>>>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
1041
|
+
<TType extends SentinelModule<_xylabs_object.BaseParamsFields & {
|
|
1042
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
1043
|
+
addToResolvers?: boolean;
|
|
1044
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1045
|
+
allowNameResolution?: boolean;
|
|
1046
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
1047
|
+
schema: _xyo_network_payload_model.Schema;
|
|
1048
|
+
readonly archiving?: {
|
|
1049
|
+
readonly archivists?: string[] | undefined;
|
|
1050
|
+
readonly queries?: string[] | undefined;
|
|
1051
|
+
} | undefined;
|
|
1052
|
+
readonly allowedQueries?: string[] | undefined;
|
|
1053
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
1054
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1055
|
+
readonly labels?: {
|
|
1056
|
+
[x: string]: string | undefined;
|
|
1057
|
+
} | undefined;
|
|
1058
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
1059
|
+
readonly paging?: {
|
|
1060
|
+
[x: string]: {
|
|
1061
|
+
size?: number | undefined;
|
|
1062
|
+
};
|
|
1063
|
+
} | undefined;
|
|
1064
|
+
readonly retry?: {
|
|
1065
|
+
backoff?: number | undefined;
|
|
1066
|
+
interval?: number | undefined;
|
|
1067
|
+
retries?: number | undefined;
|
|
1068
|
+
} | undefined;
|
|
1069
|
+
readonly security?: {
|
|
1070
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
1071
|
+
readonly allowed?: {
|
|
1072
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1073
|
+
} | undefined;
|
|
1074
|
+
readonly disallowed?: {
|
|
1075
|
+
[x: string]: Lowercase<string>[];
|
|
1076
|
+
} | undefined;
|
|
1077
|
+
} | undefined;
|
|
1078
|
+
readonly sign?: boolean | undefined;
|
|
1079
|
+
readonly storeQueries?: boolean | undefined;
|
|
1080
|
+
readonly timestamp?: boolean | undefined;
|
|
1081
|
+
automations?: ({
|
|
1082
|
+
schema: "network.xyo.automation";
|
|
1083
|
+
type: "interval";
|
|
1084
|
+
end?: number | undefined;
|
|
1085
|
+
frequency?: number | undefined;
|
|
1086
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1087
|
+
remaining?: number | undefined;
|
|
1088
|
+
start: number;
|
|
1089
|
+
} | {
|
|
1090
|
+
schema: "network.xyo.automation.interval";
|
|
1091
|
+
type: "interval";
|
|
1092
|
+
end?: number | undefined;
|
|
1093
|
+
frequency?: number | undefined;
|
|
1094
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1095
|
+
remaining?: number | undefined;
|
|
1096
|
+
start: number;
|
|
1097
|
+
} | {
|
|
1098
|
+
schema: "network.xyo.automation.event";
|
|
1099
|
+
type: "interval";
|
|
1100
|
+
end?: number | undefined;
|
|
1101
|
+
frequency?: number | undefined;
|
|
1102
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1103
|
+
remaining?: number | undefined;
|
|
1104
|
+
start: number;
|
|
1105
|
+
} | {
|
|
1106
|
+
schema: "network.xyo.automation";
|
|
1107
|
+
type: "event";
|
|
1108
|
+
} | {
|
|
1109
|
+
schema: "network.xyo.automation.interval";
|
|
1110
|
+
type: "event";
|
|
1111
|
+
} | {
|
|
1112
|
+
schema: "network.xyo.automation.event";
|
|
1113
|
+
type: "event";
|
|
1114
|
+
})[] | undefined;
|
|
1115
|
+
synchronous?: boolean | undefined;
|
|
1116
|
+
tasks: ({
|
|
1117
|
+
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
1118
|
+
input?: string | boolean | string[] | undefined;
|
|
1119
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1120
|
+
required?: boolean | undefined;
|
|
1121
|
+
} | {
|
|
1122
|
+
endPoint?: "divine" | undefined;
|
|
1123
|
+
input?: string | boolean | string[] | undefined;
|
|
1124
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1125
|
+
required?: boolean | undefined;
|
|
1126
|
+
} | {
|
|
1127
|
+
endPoint?: "observe" | undefined;
|
|
1128
|
+
input?: string | boolean | string[] | undefined;
|
|
1129
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1130
|
+
required?: boolean | undefined;
|
|
1131
|
+
} | {
|
|
1132
|
+
endPoint?: string | undefined;
|
|
1133
|
+
input?: string | boolean | string[] | undefined;
|
|
1134
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1135
|
+
required?: boolean | undefined;
|
|
1136
|
+
})[];
|
|
1137
|
+
throwErrors?: boolean | undefined;
|
|
1138
|
+
}>;
|
|
1139
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1140
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1141
|
+
}, SentinelModuleEventData<_xyo_network_module_model.Module<_xylabs_object.BaseParamsFields & {
|
|
1142
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
1143
|
+
addToResolvers?: boolean;
|
|
1144
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1145
|
+
allowNameResolution?: boolean;
|
|
1146
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
1147
|
+
schema: _xyo_network_payload_model.Schema;
|
|
1148
|
+
readonly archiving?: {
|
|
1149
|
+
readonly archivists?: string[] | undefined;
|
|
1150
|
+
readonly queries?: string[] | undefined;
|
|
1151
|
+
} | undefined;
|
|
1152
|
+
readonly allowedQueries?: string[] | undefined;
|
|
1153
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
1154
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1155
|
+
readonly labels?: {
|
|
1156
|
+
[x: string]: string | undefined;
|
|
1157
|
+
} | undefined;
|
|
1158
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
1159
|
+
readonly paging?: {
|
|
1160
|
+
[x: string]: {
|
|
1161
|
+
size?: number | undefined;
|
|
1162
|
+
};
|
|
1163
|
+
} | undefined;
|
|
1164
|
+
readonly retry?: {
|
|
1165
|
+
backoff?: number | undefined;
|
|
1166
|
+
interval?: number | undefined;
|
|
1167
|
+
retries?: number | undefined;
|
|
1168
|
+
} | undefined;
|
|
1169
|
+
readonly security?: {
|
|
1170
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
1171
|
+
readonly allowed?: {
|
|
1172
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1173
|
+
} | undefined;
|
|
1174
|
+
readonly disallowed?: {
|
|
1175
|
+
[x: string]: Lowercase<string>[];
|
|
1176
|
+
} | undefined;
|
|
1177
|
+
} | undefined;
|
|
1178
|
+
readonly sign?: boolean | undefined;
|
|
1179
|
+
readonly storeQueries?: boolean | undefined;
|
|
1180
|
+
readonly timestamp?: boolean | undefined;
|
|
1181
|
+
}>;
|
|
1182
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1183
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1184
|
+
}, _xyo_network_module_model.ModuleEventData<object>>>>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<SentinelModule<_xylabs_object.BaseParamsFields & {
|
|
1185
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
1186
|
+
addToResolvers?: boolean;
|
|
1187
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1188
|
+
allowNameResolution?: boolean;
|
|
1189
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
1190
|
+
schema: _xyo_network_payload_model.Schema;
|
|
1191
|
+
readonly archiving?: {
|
|
1192
|
+
readonly archivists?: string[] | undefined;
|
|
1193
|
+
readonly queries?: string[] | undefined;
|
|
1194
|
+
} | undefined;
|
|
1195
|
+
readonly allowedQueries?: string[] | undefined;
|
|
1196
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
1197
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1198
|
+
readonly labels?: {
|
|
1199
|
+
[x: string]: string | undefined;
|
|
1200
|
+
} | undefined;
|
|
1201
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
1202
|
+
readonly paging?: {
|
|
1203
|
+
[x: string]: {
|
|
1204
|
+
size?: number | undefined;
|
|
1205
|
+
};
|
|
1206
|
+
} | undefined;
|
|
1207
|
+
readonly retry?: {
|
|
1208
|
+
backoff?: number | undefined;
|
|
1209
|
+
interval?: number | undefined;
|
|
1210
|
+
retries?: number | undefined;
|
|
1211
|
+
} | undefined;
|
|
1212
|
+
readonly security?: {
|
|
1213
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
1214
|
+
readonly allowed?: {
|
|
1215
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1216
|
+
} | undefined;
|
|
1217
|
+
readonly disallowed?: {
|
|
1218
|
+
[x: string]: Lowercase<string>[];
|
|
1219
|
+
} | undefined;
|
|
1220
|
+
} | undefined;
|
|
1221
|
+
readonly sign?: boolean | undefined;
|
|
1222
|
+
readonly storeQueries?: boolean | undefined;
|
|
1223
|
+
readonly timestamp?: boolean | undefined;
|
|
1224
|
+
automations?: ({
|
|
1225
|
+
schema: "network.xyo.automation";
|
|
1226
|
+
type: "interval";
|
|
1227
|
+
end?: number | undefined;
|
|
1228
|
+
frequency?: number | undefined;
|
|
1229
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1230
|
+
remaining?: number | undefined;
|
|
1231
|
+
start: number;
|
|
1232
|
+
} | {
|
|
1233
|
+
schema: "network.xyo.automation.interval";
|
|
1234
|
+
type: "interval";
|
|
1235
|
+
end?: number | undefined;
|
|
1236
|
+
frequency?: number | undefined;
|
|
1237
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1238
|
+
remaining?: number | undefined;
|
|
1239
|
+
start: number;
|
|
1240
|
+
} | {
|
|
1241
|
+
schema: "network.xyo.automation.event";
|
|
1242
|
+
type: "interval";
|
|
1243
|
+
end?: number | undefined;
|
|
1244
|
+
frequency?: number | undefined;
|
|
1245
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1246
|
+
remaining?: number | undefined;
|
|
1247
|
+
start: number;
|
|
1248
|
+
} | {
|
|
1249
|
+
schema: "network.xyo.automation";
|
|
1250
|
+
type: "event";
|
|
1251
|
+
} | {
|
|
1252
|
+
schema: "network.xyo.automation.interval";
|
|
1253
|
+
type: "event";
|
|
1254
|
+
} | {
|
|
1255
|
+
schema: "network.xyo.automation.event";
|
|
1256
|
+
type: "event";
|
|
1257
|
+
})[] | undefined;
|
|
1258
|
+
synchronous?: boolean | undefined;
|
|
1259
|
+
tasks: ({
|
|
1260
|
+
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
1261
|
+
input?: string | boolean | string[] | undefined;
|
|
1262
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1263
|
+
required?: boolean | undefined;
|
|
1264
|
+
} | {
|
|
1265
|
+
endPoint?: "divine" | undefined;
|
|
1266
|
+
input?: string | boolean | string[] | undefined;
|
|
1267
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1268
|
+
required?: boolean | undefined;
|
|
1269
|
+
} | {
|
|
1270
|
+
endPoint?: "observe" | undefined;
|
|
1271
|
+
input?: string | boolean | string[] | undefined;
|
|
1272
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1273
|
+
required?: boolean | undefined;
|
|
1274
|
+
} | {
|
|
1275
|
+
endPoint?: string | undefined;
|
|
1276
|
+
input?: string | boolean | string[] | undefined;
|
|
1277
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1278
|
+
required?: boolean | undefined;
|
|
1279
|
+
})[];
|
|
1280
|
+
throwErrors?: boolean | undefined;
|
|
1281
|
+
}>;
|
|
1282
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1283
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1284
|
+
}, SentinelModuleEventData<_xyo_network_module_model.Module<_xylabs_object.BaseParamsFields & {
|
|
1285
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
1286
|
+
addToResolvers?: boolean;
|
|
1287
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1288
|
+
allowNameResolution?: boolean;
|
|
1289
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
1290
|
+
schema: _xyo_network_payload_model.Schema;
|
|
1291
|
+
readonly archiving?: {
|
|
1292
|
+
readonly archivists?: string[] | undefined;
|
|
1293
|
+
readonly queries?: string[] | undefined;
|
|
1294
|
+
} | undefined;
|
|
1295
|
+
readonly allowedQueries?: string[] | undefined;
|
|
1296
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
1297
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1298
|
+
readonly labels?: {
|
|
1299
|
+
[x: string]: string | undefined;
|
|
1300
|
+
} | undefined;
|
|
1301
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
1302
|
+
readonly paging?: {
|
|
1303
|
+
[x: string]: {
|
|
1304
|
+
size?: number | undefined;
|
|
1305
|
+
};
|
|
1306
|
+
} | undefined;
|
|
1307
|
+
readonly retry?: {
|
|
1308
|
+
backoff?: number | undefined;
|
|
1309
|
+
interval?: number | undefined;
|
|
1310
|
+
retries?: number | undefined;
|
|
1311
|
+
} | undefined;
|
|
1312
|
+
readonly security?: {
|
|
1313
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
1314
|
+
readonly allowed?: {
|
|
1315
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1316
|
+
} | undefined;
|
|
1317
|
+
readonly disallowed?: {
|
|
1318
|
+
[x: string]: Lowercase<string>[];
|
|
1319
|
+
} | undefined;
|
|
1320
|
+
} | undefined;
|
|
1321
|
+
readonly sign?: boolean | undefined;
|
|
1322
|
+
readonly storeQueries?: boolean | undefined;
|
|
1323
|
+
readonly timestamp?: boolean | undefined;
|
|
1324
|
+
}>;
|
|
1325
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1326
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1327
|
+
}, _xyo_network_module_model.ModuleEventData<object>>>>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
1328
|
+
};
|
|
1329
|
+
declare const asSentinelInstance: {
|
|
1330
|
+
<TType extends SentinelInstance<_xylabs_object.BaseParamsFields & {
|
|
1331
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
1332
|
+
addToResolvers?: boolean;
|
|
1333
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1334
|
+
allowNameResolution?: boolean;
|
|
1335
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
1336
|
+
schema: _xyo_network_payload_model.Schema;
|
|
1337
|
+
readonly archiving?: {
|
|
1338
|
+
readonly archivists?: string[] | undefined;
|
|
1339
|
+
readonly queries?: string[] | undefined;
|
|
1340
|
+
} | undefined;
|
|
1341
|
+
readonly allowedQueries?: string[] | undefined;
|
|
1342
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
1343
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1344
|
+
readonly labels?: {
|
|
1345
|
+
[x: string]: string | undefined;
|
|
1346
|
+
} | undefined;
|
|
1347
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
1348
|
+
readonly paging?: {
|
|
1349
|
+
[x: string]: {
|
|
1350
|
+
size?: number | undefined;
|
|
1351
|
+
};
|
|
1352
|
+
} | undefined;
|
|
1353
|
+
readonly retry?: {
|
|
1354
|
+
backoff?: number | undefined;
|
|
1355
|
+
interval?: number | undefined;
|
|
1356
|
+
retries?: number | undefined;
|
|
1357
|
+
} | undefined;
|
|
1358
|
+
readonly security?: {
|
|
1359
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
1360
|
+
readonly allowed?: {
|
|
1361
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1362
|
+
} | undefined;
|
|
1363
|
+
readonly disallowed?: {
|
|
1364
|
+
[x: string]: Lowercase<string>[];
|
|
1365
|
+
} | undefined;
|
|
1366
|
+
} | undefined;
|
|
1367
|
+
readonly sign?: boolean | undefined;
|
|
1368
|
+
readonly storeQueries?: boolean | undefined;
|
|
1369
|
+
readonly timestamp?: boolean | undefined;
|
|
1370
|
+
automations?: ({
|
|
1371
|
+
schema: "network.xyo.automation";
|
|
1372
|
+
type: "interval";
|
|
1373
|
+
end?: number | undefined;
|
|
1374
|
+
frequency?: number | undefined;
|
|
1375
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1376
|
+
remaining?: number | undefined;
|
|
1377
|
+
start: number;
|
|
1378
|
+
} | {
|
|
1379
|
+
schema: "network.xyo.automation.interval";
|
|
1380
|
+
type: "interval";
|
|
1381
|
+
end?: number | undefined;
|
|
1382
|
+
frequency?: number | undefined;
|
|
1383
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1384
|
+
remaining?: number | undefined;
|
|
1385
|
+
start: number;
|
|
1386
|
+
} | {
|
|
1387
|
+
schema: "network.xyo.automation.event";
|
|
1388
|
+
type: "interval";
|
|
1389
|
+
end?: number | undefined;
|
|
1390
|
+
frequency?: number | undefined;
|
|
1391
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1392
|
+
remaining?: number | undefined;
|
|
1393
|
+
start: number;
|
|
1394
|
+
} | {
|
|
1395
|
+
schema: "network.xyo.automation";
|
|
1396
|
+
type: "event";
|
|
1397
|
+
} | {
|
|
1398
|
+
schema: "network.xyo.automation.interval";
|
|
1399
|
+
type: "event";
|
|
1400
|
+
} | {
|
|
1401
|
+
schema: "network.xyo.automation.event";
|
|
1402
|
+
type: "event";
|
|
1403
|
+
})[] | undefined;
|
|
1404
|
+
synchronous?: boolean | undefined;
|
|
1405
|
+
tasks: ({
|
|
1406
|
+
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
1407
|
+
input?: string | boolean | string[] | undefined;
|
|
1408
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1409
|
+
required?: boolean | undefined;
|
|
1410
|
+
} | {
|
|
1411
|
+
endPoint?: "divine" | undefined;
|
|
1412
|
+
input?: string | boolean | string[] | undefined;
|
|
1413
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1414
|
+
required?: boolean | undefined;
|
|
1415
|
+
} | {
|
|
1416
|
+
endPoint?: "observe" | undefined;
|
|
1417
|
+
input?: string | boolean | string[] | undefined;
|
|
1418
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1419
|
+
required?: boolean | undefined;
|
|
1420
|
+
} | {
|
|
1421
|
+
endPoint?: string | undefined;
|
|
1422
|
+
input?: string | boolean | string[] | undefined;
|
|
1423
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1424
|
+
required?: boolean | undefined;
|
|
1425
|
+
})[];
|
|
1426
|
+
throwErrors?: boolean | undefined;
|
|
1427
|
+
}>;
|
|
1428
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1429
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1430
|
+
}, SentinelModuleEventData<_xyo_network_module_model.Module<_xylabs_object.BaseParamsFields & {
|
|
1431
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
1432
|
+
addToResolvers?: boolean;
|
|
1433
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1434
|
+
allowNameResolution?: boolean;
|
|
1435
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
1436
|
+
schema: _xyo_network_payload_model.Schema;
|
|
1437
|
+
readonly archiving?: {
|
|
1438
|
+
readonly archivists?: string[] | undefined;
|
|
1439
|
+
readonly queries?: string[] | undefined;
|
|
1440
|
+
} | undefined;
|
|
1441
|
+
readonly allowedQueries?: string[] | undefined;
|
|
1442
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
1443
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1444
|
+
readonly labels?: {
|
|
1445
|
+
[x: string]: string | undefined;
|
|
1446
|
+
} | undefined;
|
|
1447
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
1448
|
+
readonly paging?: {
|
|
1449
|
+
[x: string]: {
|
|
1450
|
+
size?: number | undefined;
|
|
1451
|
+
};
|
|
1452
|
+
} | undefined;
|
|
1453
|
+
readonly retry?: {
|
|
1454
|
+
backoff?: number | undefined;
|
|
1455
|
+
interval?: number | undefined;
|
|
1456
|
+
retries?: number | undefined;
|
|
1457
|
+
} | undefined;
|
|
1458
|
+
readonly security?: {
|
|
1459
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
1460
|
+
readonly allowed?: {
|
|
1461
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1462
|
+
} | undefined;
|
|
1463
|
+
readonly disallowed?: {
|
|
1464
|
+
[x: string]: Lowercase<string>[];
|
|
1465
|
+
} | undefined;
|
|
1466
|
+
} | undefined;
|
|
1467
|
+
readonly sign?: boolean | undefined;
|
|
1468
|
+
readonly storeQueries?: boolean | undefined;
|
|
1469
|
+
readonly timestamp?: boolean | undefined;
|
|
1470
|
+
}>;
|
|
1471
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1472
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1473
|
+
}, _xyo_network_module_model.ModuleEventData<object>>>>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
1474
|
+
<TType extends SentinelInstance<_xylabs_object.BaseParamsFields & {
|
|
1475
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
1476
|
+
addToResolvers?: boolean;
|
|
1477
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1478
|
+
allowNameResolution?: boolean;
|
|
1479
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
1480
|
+
schema: _xyo_network_payload_model.Schema;
|
|
1481
|
+
readonly archiving?: {
|
|
1482
|
+
readonly archivists?: string[] | undefined;
|
|
1483
|
+
readonly queries?: string[] | undefined;
|
|
1484
|
+
} | undefined;
|
|
1485
|
+
readonly allowedQueries?: string[] | undefined;
|
|
1486
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
1487
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1488
|
+
readonly labels?: {
|
|
1489
|
+
[x: string]: string | undefined;
|
|
1490
|
+
} | undefined;
|
|
1491
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
1492
|
+
readonly paging?: {
|
|
1493
|
+
[x: string]: {
|
|
1494
|
+
size?: number | undefined;
|
|
1495
|
+
};
|
|
1496
|
+
} | undefined;
|
|
1497
|
+
readonly retry?: {
|
|
1498
|
+
backoff?: number | undefined;
|
|
1499
|
+
interval?: number | undefined;
|
|
1500
|
+
retries?: number | undefined;
|
|
1501
|
+
} | undefined;
|
|
1502
|
+
readonly security?: {
|
|
1503
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
1504
|
+
readonly allowed?: {
|
|
1505
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1506
|
+
} | undefined;
|
|
1507
|
+
readonly disallowed?: {
|
|
1508
|
+
[x: string]: Lowercase<string>[];
|
|
1509
|
+
} | undefined;
|
|
1510
|
+
} | undefined;
|
|
1511
|
+
readonly sign?: boolean | undefined;
|
|
1512
|
+
readonly storeQueries?: boolean | undefined;
|
|
1513
|
+
readonly timestamp?: boolean | undefined;
|
|
1514
|
+
automations?: ({
|
|
1515
|
+
schema: "network.xyo.automation";
|
|
1516
|
+
type: "interval";
|
|
1517
|
+
end?: number | undefined;
|
|
1518
|
+
frequency?: number | undefined;
|
|
1519
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1520
|
+
remaining?: number | undefined;
|
|
1521
|
+
start: number;
|
|
1522
|
+
} | {
|
|
1523
|
+
schema: "network.xyo.automation.interval";
|
|
1524
|
+
type: "interval";
|
|
1525
|
+
end?: number | undefined;
|
|
1526
|
+
frequency?: number | undefined;
|
|
1527
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1528
|
+
remaining?: number | undefined;
|
|
1529
|
+
start: number;
|
|
1530
|
+
} | {
|
|
1531
|
+
schema: "network.xyo.automation.event";
|
|
1532
|
+
type: "interval";
|
|
1533
|
+
end?: number | undefined;
|
|
1534
|
+
frequency?: number | undefined;
|
|
1535
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1536
|
+
remaining?: number | undefined;
|
|
1537
|
+
start: number;
|
|
1538
|
+
} | {
|
|
1539
|
+
schema: "network.xyo.automation";
|
|
1540
|
+
type: "event";
|
|
1541
|
+
} | {
|
|
1542
|
+
schema: "network.xyo.automation.interval";
|
|
1543
|
+
type: "event";
|
|
1544
|
+
} | {
|
|
1545
|
+
schema: "network.xyo.automation.event";
|
|
1546
|
+
type: "event";
|
|
1547
|
+
})[] | undefined;
|
|
1548
|
+
synchronous?: boolean | undefined;
|
|
1549
|
+
tasks: ({
|
|
1550
|
+
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
1551
|
+
input?: string | boolean | string[] | undefined;
|
|
1552
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1553
|
+
required?: boolean | undefined;
|
|
1554
|
+
} | {
|
|
1555
|
+
endPoint?: "divine" | undefined;
|
|
1556
|
+
input?: string | boolean | string[] | undefined;
|
|
1557
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1558
|
+
required?: boolean | undefined;
|
|
1559
|
+
} | {
|
|
1560
|
+
endPoint?: "observe" | undefined;
|
|
1561
|
+
input?: string | boolean | string[] | undefined;
|
|
1562
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1563
|
+
required?: boolean | undefined;
|
|
1564
|
+
} | {
|
|
1565
|
+
endPoint?: string | undefined;
|
|
1566
|
+
input?: string | boolean | string[] | undefined;
|
|
1567
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1568
|
+
required?: boolean | undefined;
|
|
1569
|
+
})[];
|
|
1570
|
+
throwErrors?: boolean | undefined;
|
|
1571
|
+
}>;
|
|
1572
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1573
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1574
|
+
}, SentinelModuleEventData<_xyo_network_module_model.Module<_xylabs_object.BaseParamsFields & {
|
|
1575
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
1576
|
+
addToResolvers?: boolean;
|
|
1577
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1578
|
+
allowNameResolution?: boolean;
|
|
1579
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
1580
|
+
schema: _xyo_network_payload_model.Schema;
|
|
1581
|
+
readonly archiving?: {
|
|
1582
|
+
readonly archivists?: string[] | undefined;
|
|
1583
|
+
readonly queries?: string[] | undefined;
|
|
1584
|
+
} | undefined;
|
|
1585
|
+
readonly allowedQueries?: string[] | undefined;
|
|
1586
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
1587
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1588
|
+
readonly labels?: {
|
|
1589
|
+
[x: string]: string | undefined;
|
|
1590
|
+
} | undefined;
|
|
1591
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
1592
|
+
readonly paging?: {
|
|
1593
|
+
[x: string]: {
|
|
1594
|
+
size?: number | undefined;
|
|
1595
|
+
};
|
|
1596
|
+
} | undefined;
|
|
1597
|
+
readonly retry?: {
|
|
1598
|
+
backoff?: number | undefined;
|
|
1599
|
+
interval?: number | undefined;
|
|
1600
|
+
retries?: number | undefined;
|
|
1601
|
+
} | undefined;
|
|
1602
|
+
readonly security?: {
|
|
1603
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
1604
|
+
readonly allowed?: {
|
|
1605
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1606
|
+
} | undefined;
|
|
1607
|
+
readonly disallowed?: {
|
|
1608
|
+
[x: string]: Lowercase<string>[];
|
|
1609
|
+
} | undefined;
|
|
1610
|
+
} | undefined;
|
|
1611
|
+
readonly sign?: boolean | undefined;
|
|
1612
|
+
readonly storeQueries?: boolean | undefined;
|
|
1613
|
+
readonly timestamp?: boolean | undefined;
|
|
1614
|
+
}>;
|
|
1615
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1616
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1617
|
+
}, _xyo_network_module_model.ModuleEventData<object>>>>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<SentinelInstance<_xylabs_object.BaseParamsFields & {
|
|
1618
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
1619
|
+
addToResolvers?: boolean;
|
|
1620
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1621
|
+
allowNameResolution?: boolean;
|
|
1622
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
1623
|
+
schema: _xyo_network_payload_model.Schema;
|
|
1624
|
+
readonly archiving?: {
|
|
1625
|
+
readonly archivists?: string[] | undefined;
|
|
1626
|
+
readonly queries?: string[] | undefined;
|
|
1627
|
+
} | undefined;
|
|
1628
|
+
readonly allowedQueries?: string[] | undefined;
|
|
1629
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
1630
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1631
|
+
readonly labels?: {
|
|
1632
|
+
[x: string]: string | undefined;
|
|
1633
|
+
} | undefined;
|
|
1634
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
1635
|
+
readonly paging?: {
|
|
1636
|
+
[x: string]: {
|
|
1637
|
+
size?: number | undefined;
|
|
1638
|
+
};
|
|
1639
|
+
} | undefined;
|
|
1640
|
+
readonly retry?: {
|
|
1641
|
+
backoff?: number | undefined;
|
|
1642
|
+
interval?: number | undefined;
|
|
1643
|
+
retries?: number | undefined;
|
|
1644
|
+
} | undefined;
|
|
1645
|
+
readonly security?: {
|
|
1646
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
1647
|
+
readonly allowed?: {
|
|
1648
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1649
|
+
} | undefined;
|
|
1650
|
+
readonly disallowed?: {
|
|
1651
|
+
[x: string]: Lowercase<string>[];
|
|
1652
|
+
} | undefined;
|
|
1653
|
+
} | undefined;
|
|
1654
|
+
readonly sign?: boolean | undefined;
|
|
1655
|
+
readonly storeQueries?: boolean | undefined;
|
|
1656
|
+
readonly timestamp?: boolean | undefined;
|
|
1657
|
+
automations?: ({
|
|
1658
|
+
schema: "network.xyo.automation";
|
|
1659
|
+
type: "interval";
|
|
1660
|
+
end?: number | undefined;
|
|
1661
|
+
frequency?: number | undefined;
|
|
1662
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1663
|
+
remaining?: number | undefined;
|
|
1664
|
+
start: number;
|
|
1665
|
+
} | {
|
|
1666
|
+
schema: "network.xyo.automation.interval";
|
|
1667
|
+
type: "interval";
|
|
1668
|
+
end?: number | undefined;
|
|
1669
|
+
frequency?: number | undefined;
|
|
1670
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1671
|
+
remaining?: number | undefined;
|
|
1672
|
+
start: number;
|
|
1673
|
+
} | {
|
|
1674
|
+
schema: "network.xyo.automation.event";
|
|
1675
|
+
type: "interval";
|
|
1676
|
+
end?: number | undefined;
|
|
1677
|
+
frequency?: number | undefined;
|
|
1678
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1679
|
+
remaining?: number | undefined;
|
|
1680
|
+
start: number;
|
|
1681
|
+
} | {
|
|
1682
|
+
schema: "network.xyo.automation";
|
|
1683
|
+
type: "event";
|
|
1684
|
+
} | {
|
|
1685
|
+
schema: "network.xyo.automation.interval";
|
|
1686
|
+
type: "event";
|
|
1687
|
+
} | {
|
|
1688
|
+
schema: "network.xyo.automation.event";
|
|
1689
|
+
type: "event";
|
|
1690
|
+
})[] | undefined;
|
|
1691
|
+
synchronous?: boolean | undefined;
|
|
1692
|
+
tasks: ({
|
|
1693
|
+
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
1694
|
+
input?: string | boolean | string[] | undefined;
|
|
1695
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1696
|
+
required?: boolean | undefined;
|
|
1697
|
+
} | {
|
|
1698
|
+
endPoint?: "divine" | undefined;
|
|
1699
|
+
input?: string | boolean | string[] | undefined;
|
|
1700
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1701
|
+
required?: boolean | undefined;
|
|
1702
|
+
} | {
|
|
1703
|
+
endPoint?: "observe" | undefined;
|
|
1704
|
+
input?: string | boolean | string[] | undefined;
|
|
1705
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1706
|
+
required?: boolean | undefined;
|
|
1707
|
+
} | {
|
|
1708
|
+
endPoint?: string | undefined;
|
|
1709
|
+
input?: string | boolean | string[] | undefined;
|
|
1710
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1711
|
+
required?: boolean | undefined;
|
|
1712
|
+
})[];
|
|
1713
|
+
throwErrors?: boolean | undefined;
|
|
1714
|
+
}>;
|
|
1715
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1716
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1717
|
+
}, SentinelModuleEventData<_xyo_network_module_model.Module<_xylabs_object.BaseParamsFields & {
|
|
1718
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
1719
|
+
addToResolvers?: boolean;
|
|
1720
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1721
|
+
allowNameResolution?: boolean;
|
|
1722
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
1723
|
+
schema: _xyo_network_payload_model.Schema;
|
|
1724
|
+
readonly archiving?: {
|
|
1725
|
+
readonly archivists?: string[] | undefined;
|
|
1726
|
+
readonly queries?: string[] | undefined;
|
|
1727
|
+
} | undefined;
|
|
1728
|
+
readonly allowedQueries?: string[] | undefined;
|
|
1729
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
1730
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1731
|
+
readonly labels?: {
|
|
1732
|
+
[x: string]: string | undefined;
|
|
1733
|
+
} | undefined;
|
|
1734
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
1735
|
+
readonly paging?: {
|
|
1736
|
+
[x: string]: {
|
|
1737
|
+
size?: number | undefined;
|
|
1738
|
+
};
|
|
1739
|
+
} | undefined;
|
|
1740
|
+
readonly retry?: {
|
|
1741
|
+
backoff?: number | undefined;
|
|
1742
|
+
interval?: number | undefined;
|
|
1743
|
+
retries?: number | undefined;
|
|
1744
|
+
} | undefined;
|
|
1745
|
+
readonly security?: {
|
|
1746
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
1747
|
+
readonly allowed?: {
|
|
1748
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1749
|
+
} | undefined;
|
|
1750
|
+
readonly disallowed?: {
|
|
1751
|
+
[x: string]: Lowercase<string>[];
|
|
1752
|
+
} | undefined;
|
|
1753
|
+
} | undefined;
|
|
1754
|
+
readonly sign?: boolean | undefined;
|
|
1755
|
+
readonly storeQueries?: boolean | undefined;
|
|
1756
|
+
readonly timestamp?: boolean | undefined;
|
|
1757
|
+
}>;
|
|
1758
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1759
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1760
|
+
}, _xyo_network_module_model.ModuleEventData<object>>>>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
1761
|
+
};
|
|
1762
|
+
declare const withSentinelModule: <R>(mod: any, closure: (mod: SentinelModule<_xylabs_object.BaseParamsFields & {
|
|
1763
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
1764
|
+
addToResolvers?: boolean;
|
|
1765
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1766
|
+
allowNameResolution?: boolean;
|
|
1767
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
1768
|
+
schema: _xyo_network_payload_model.Schema;
|
|
1769
|
+
readonly archiving?: {
|
|
1770
|
+
readonly archivists?: string[] | undefined;
|
|
1771
|
+
readonly queries?: string[] | undefined;
|
|
1772
|
+
} | undefined;
|
|
1773
|
+
readonly allowedQueries?: string[] | undefined;
|
|
1774
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
1775
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1776
|
+
readonly labels?: {
|
|
1777
|
+
[x: string]: string | undefined;
|
|
1778
|
+
} | undefined;
|
|
1779
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
1780
|
+
readonly paging?: {
|
|
1781
|
+
[x: string]: {
|
|
1782
|
+
size?: number | undefined;
|
|
1783
|
+
};
|
|
1784
|
+
} | undefined;
|
|
1785
|
+
readonly retry?: {
|
|
1786
|
+
backoff?: number | undefined;
|
|
1787
|
+
interval?: number | undefined;
|
|
1788
|
+
retries?: number | undefined;
|
|
1789
|
+
} | undefined;
|
|
1790
|
+
readonly security?: {
|
|
1791
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
1792
|
+
readonly allowed?: {
|
|
1793
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1794
|
+
} | undefined;
|
|
1795
|
+
readonly disallowed?: {
|
|
1796
|
+
[x: string]: Lowercase<string>[];
|
|
1797
|
+
} | undefined;
|
|
1798
|
+
} | undefined;
|
|
1799
|
+
readonly sign?: boolean | undefined;
|
|
1800
|
+
readonly storeQueries?: boolean | undefined;
|
|
1801
|
+
readonly timestamp?: boolean | undefined;
|
|
1802
|
+
automations?: ({
|
|
1803
|
+
schema: "network.xyo.automation";
|
|
1804
|
+
type: "interval";
|
|
1805
|
+
end?: number | undefined;
|
|
1806
|
+
frequency?: number | undefined;
|
|
1807
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1808
|
+
remaining?: number | undefined;
|
|
1809
|
+
start: number;
|
|
1810
|
+
} | {
|
|
1811
|
+
schema: "network.xyo.automation.interval";
|
|
1812
|
+
type: "interval";
|
|
1813
|
+
end?: number | undefined;
|
|
1814
|
+
frequency?: number | undefined;
|
|
1815
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1816
|
+
remaining?: number | undefined;
|
|
1817
|
+
start: number;
|
|
1818
|
+
} | {
|
|
1819
|
+
schema: "network.xyo.automation.event";
|
|
1820
|
+
type: "interval";
|
|
1821
|
+
end?: number | undefined;
|
|
1822
|
+
frequency?: number | undefined;
|
|
1823
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1824
|
+
remaining?: number | undefined;
|
|
1825
|
+
start: number;
|
|
1826
|
+
} | {
|
|
1827
|
+
schema: "network.xyo.automation";
|
|
1828
|
+
type: "event";
|
|
1829
|
+
} | {
|
|
1830
|
+
schema: "network.xyo.automation.interval";
|
|
1831
|
+
type: "event";
|
|
1832
|
+
} | {
|
|
1833
|
+
schema: "network.xyo.automation.event";
|
|
1834
|
+
type: "event";
|
|
1835
|
+
})[] | undefined;
|
|
1836
|
+
synchronous?: boolean | undefined;
|
|
1837
|
+
tasks: ({
|
|
1838
|
+
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
1839
|
+
input?: string | boolean | string[] | undefined;
|
|
1840
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1841
|
+
required?: boolean | undefined;
|
|
1842
|
+
} | {
|
|
1843
|
+
endPoint?: "divine" | undefined;
|
|
1844
|
+
input?: string | boolean | string[] | undefined;
|
|
1845
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1846
|
+
required?: boolean | undefined;
|
|
1847
|
+
} | {
|
|
1848
|
+
endPoint?: "observe" | undefined;
|
|
1849
|
+
input?: string | boolean | string[] | undefined;
|
|
1850
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1851
|
+
required?: boolean | undefined;
|
|
1852
|
+
} | {
|
|
1853
|
+
endPoint?: string | undefined;
|
|
1854
|
+
input?: string | boolean | string[] | undefined;
|
|
1855
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1856
|
+
required?: boolean | undefined;
|
|
1857
|
+
})[];
|
|
1858
|
+
throwErrors?: boolean | undefined;
|
|
1859
|
+
}>;
|
|
1860
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1861
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1862
|
+
}, SentinelModuleEventData<_xyo_network_module_model.Module<_xylabs_object.BaseParamsFields & {
|
|
1863
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
1864
|
+
addToResolvers?: boolean;
|
|
1865
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1866
|
+
allowNameResolution?: boolean;
|
|
1867
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
1868
|
+
schema: _xyo_network_payload_model.Schema;
|
|
1869
|
+
readonly archiving?: {
|
|
1870
|
+
readonly archivists?: string[] | undefined;
|
|
1871
|
+
readonly queries?: string[] | undefined;
|
|
1872
|
+
} | undefined;
|
|
1873
|
+
readonly allowedQueries?: string[] | undefined;
|
|
1874
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
1875
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1876
|
+
readonly labels?: {
|
|
1877
|
+
[x: string]: string | undefined;
|
|
1878
|
+
} | undefined;
|
|
1879
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
1880
|
+
readonly paging?: {
|
|
1881
|
+
[x: string]: {
|
|
1882
|
+
size?: number | undefined;
|
|
1883
|
+
};
|
|
1884
|
+
} | undefined;
|
|
1885
|
+
readonly retry?: {
|
|
1886
|
+
backoff?: number | undefined;
|
|
1887
|
+
interval?: number | undefined;
|
|
1888
|
+
retries?: number | undefined;
|
|
1889
|
+
} | undefined;
|
|
1890
|
+
readonly security?: {
|
|
1891
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
1892
|
+
readonly allowed?: {
|
|
1893
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1894
|
+
} | undefined;
|
|
1895
|
+
readonly disallowed?: {
|
|
1896
|
+
[x: string]: Lowercase<string>[];
|
|
1897
|
+
} | undefined;
|
|
1898
|
+
} | undefined;
|
|
1899
|
+
readonly sign?: boolean | undefined;
|
|
1900
|
+
readonly storeQueries?: boolean | undefined;
|
|
1901
|
+
readonly timestamp?: boolean | undefined;
|
|
1902
|
+
}>;
|
|
1903
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
1904
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
1905
|
+
}, _xyo_network_module_model.ModuleEventData<object>>>>) => R) => R | undefined;
|
|
1906
|
+
declare const withSentinelInstance: <R>(mod: any, closure: (mod: SentinelInstance<_xylabs_object.BaseParamsFields & {
|
|
1907
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
1908
|
+
addToResolvers?: boolean;
|
|
1909
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
1910
|
+
allowNameResolution?: boolean;
|
|
1911
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
1912
|
+
schema: _xyo_network_payload_model.Schema;
|
|
1913
|
+
readonly archiving?: {
|
|
1914
|
+
readonly archivists?: string[] | undefined;
|
|
1915
|
+
readonly queries?: string[] | undefined;
|
|
1916
|
+
} | undefined;
|
|
1917
|
+
readonly allowedQueries?: string[] | undefined;
|
|
1918
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
1919
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
1920
|
+
readonly labels?: {
|
|
1921
|
+
[x: string]: string | undefined;
|
|
1922
|
+
} | undefined;
|
|
1923
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
1924
|
+
readonly paging?: {
|
|
1925
|
+
[x: string]: {
|
|
1926
|
+
size?: number | undefined;
|
|
1927
|
+
};
|
|
1928
|
+
} | undefined;
|
|
1929
|
+
readonly retry?: {
|
|
1930
|
+
backoff?: number | undefined;
|
|
1931
|
+
interval?: number | undefined;
|
|
1932
|
+
retries?: number | undefined;
|
|
1933
|
+
} | undefined;
|
|
1934
|
+
readonly security?: {
|
|
1935
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
1936
|
+
readonly allowed?: {
|
|
1937
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
1938
|
+
} | undefined;
|
|
1939
|
+
readonly disallowed?: {
|
|
1940
|
+
[x: string]: Lowercase<string>[];
|
|
1941
|
+
} | undefined;
|
|
1942
|
+
} | undefined;
|
|
1943
|
+
readonly sign?: boolean | undefined;
|
|
1944
|
+
readonly storeQueries?: boolean | undefined;
|
|
1945
|
+
readonly timestamp?: boolean | undefined;
|
|
1946
|
+
automations?: ({
|
|
1947
|
+
schema: "network.xyo.automation";
|
|
1948
|
+
type: "interval";
|
|
1949
|
+
end?: number | undefined;
|
|
1950
|
+
frequency?: number | undefined;
|
|
1951
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1952
|
+
remaining?: number | undefined;
|
|
1953
|
+
start: number;
|
|
1954
|
+
} | {
|
|
1955
|
+
schema: "network.xyo.automation.interval";
|
|
1956
|
+
type: "interval";
|
|
1957
|
+
end?: number | undefined;
|
|
1958
|
+
frequency?: number | undefined;
|
|
1959
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1960
|
+
remaining?: number | undefined;
|
|
1961
|
+
start: number;
|
|
1962
|
+
} | {
|
|
1963
|
+
schema: "network.xyo.automation.event";
|
|
1964
|
+
type: "interval";
|
|
1965
|
+
end?: number | undefined;
|
|
1966
|
+
frequency?: number | undefined;
|
|
1967
|
+
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
1968
|
+
remaining?: number | undefined;
|
|
1969
|
+
start: number;
|
|
1970
|
+
} | {
|
|
1971
|
+
schema: "network.xyo.automation";
|
|
1972
|
+
type: "event";
|
|
1973
|
+
} | {
|
|
1974
|
+
schema: "network.xyo.automation.interval";
|
|
1975
|
+
type: "event";
|
|
1976
|
+
} | {
|
|
1977
|
+
schema: "network.xyo.automation.event";
|
|
1978
|
+
type: "event";
|
|
1979
|
+
})[] | undefined;
|
|
1980
|
+
synchronous?: boolean | undefined;
|
|
1981
|
+
tasks: ({
|
|
1982
|
+
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
1983
|
+
input?: string | boolean | string[] | undefined;
|
|
1984
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1985
|
+
required?: boolean | undefined;
|
|
1986
|
+
} | {
|
|
1987
|
+
endPoint?: "divine" | undefined;
|
|
1988
|
+
input?: string | boolean | string[] | undefined;
|
|
1989
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1990
|
+
required?: boolean | undefined;
|
|
1991
|
+
} | {
|
|
1992
|
+
endPoint?: "observe" | undefined;
|
|
1993
|
+
input?: string | boolean | string[] | undefined;
|
|
1994
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
1995
|
+
required?: boolean | undefined;
|
|
1996
|
+
} | {
|
|
1997
|
+
endPoint?: string | undefined;
|
|
1998
|
+
input?: string | boolean | string[] | undefined;
|
|
1999
|
+
mod: _xyo_network_module_model.ModuleIdentifier;
|
|
2000
|
+
required?: boolean | undefined;
|
|
2001
|
+
})[];
|
|
2002
|
+
throwErrors?: boolean | undefined;
|
|
2003
|
+
}>;
|
|
2004
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
2005
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
2006
|
+
}, SentinelModuleEventData<_xyo_network_module_model.Module<_xylabs_object.BaseParamsFields & {
|
|
2007
|
+
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
2008
|
+
addToResolvers?: boolean;
|
|
2009
|
+
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
2010
|
+
allowNameResolution?: boolean;
|
|
2011
|
+
config: _xylabs_object.DeepRestrictToStringKeys<{
|
|
2012
|
+
schema: _xyo_network_payload_model.Schema;
|
|
2013
|
+
readonly archiving?: {
|
|
2014
|
+
readonly archivists?: string[] | undefined;
|
|
2015
|
+
readonly queries?: string[] | undefined;
|
|
2016
|
+
} | undefined;
|
|
2017
|
+
readonly allowedQueries?: string[] | undefined;
|
|
2018
|
+
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
2019
|
+
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
2020
|
+
readonly labels?: {
|
|
2021
|
+
[x: string]: string | undefined;
|
|
2022
|
+
} | undefined;
|
|
2023
|
+
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
2024
|
+
readonly paging?: {
|
|
2025
|
+
[x: string]: {
|
|
2026
|
+
size?: number | undefined;
|
|
2027
|
+
};
|
|
2028
|
+
} | undefined;
|
|
2029
|
+
readonly retry?: {
|
|
2030
|
+
backoff?: number | undefined;
|
|
2031
|
+
interval?: number | undefined;
|
|
2032
|
+
retries?: number | undefined;
|
|
2033
|
+
} | undefined;
|
|
2034
|
+
readonly security?: {
|
|
2035
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
2036
|
+
readonly allowed?: {
|
|
2037
|
+
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
2038
|
+
} | undefined;
|
|
2039
|
+
readonly disallowed?: {
|
|
2040
|
+
[x: string]: Lowercase<string>[];
|
|
2041
|
+
} | undefined;
|
|
2042
|
+
} | undefined;
|
|
2043
|
+
readonly sign?: boolean | undefined;
|
|
2044
|
+
readonly storeQueries?: boolean | undefined;
|
|
2045
|
+
readonly timestamp?: boolean | undefined;
|
|
2046
|
+
}>;
|
|
2047
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
2048
|
+
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
2049
|
+
}, _xyo_network_module_model.ModuleEventData<object>>>>) => R) => R | undefined;
|
|
2050
|
+
|
|
2051
|
+
export { type ArchivistTask, type AttachableSentinelInstance, type AttachableSentinelInstanceTypeCheck, type CustomSentinelInstance, type CustomSentinelModule, type DivinerTask, IsAttachableSentinelInstanceFactory, type JobEndEventArgs, type JobEndEventData, type JobStartEventArgs, type JobStartEventData, type ModuleTask, type ReportEndEventArgs, type ReportEndEventData, type ReportStartEventArgs, type ReportStartEventData, type ResolvedArchivistTask, type ResolvedDivinerTask, type ResolvedModuleTask, type ResolvedTask, type ResolvedWitnessTask, type Sentinel, type SentinelAutomationPayload, SentinelAutomationSchema, type SentinelBaseAutomationPayload, type SentinelConfig, SentinelConfigSchema, type SentinelEventAutomationPayload, SentinelEventAutomationSchema, type SentinelInstance, type SentinelIntervalAutomationPayload, SentinelIntervalAutomationSchema, type SentinelJob, type SentinelModule, type SentinelModuleEventData, type SentinelModuleQueries, type SentinelParams, type SentinelQueries, type SentinelReportQuery, SentinelReportQuerySchema, type Task, type TaskEndEventArgs, type TaskEndEventData, type TaskStartEventArgs, type TaskStartEventData, type WitnessTask, asAttachableSentinelInstance, asSentinelInstance, asSentinelModule, isAttachableSentinelInstance, isSentinelInstance, isSentinelIntervalAutomation, isSentinelModule, requiredAttachableSentinelInstanceFunctions, withSentinelInstance, withSentinelModule };
|