@cryptorobot.ai/client 1.32.0-dev.1051 → 1.32.0-dev.1052
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.
|
@@ -3,6 +3,7 @@ import { type HookContext } from '../../../declarations';
|
|
|
3
3
|
import type { StrategiesGenerateService } from './generate.class';
|
|
4
4
|
export declare const strategiesGenerateSchema: import("@feathersjs/typebox").TObject<{
|
|
5
5
|
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
6
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
6
7
|
prompt: import("@feathersjs/typebox").TString<string>;
|
|
7
8
|
context: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
8
9
|
description: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
@@ -37,6 +38,7 @@ export type StrategiesGenerate = Static<typeof strategiesGenerateSchema>;
|
|
|
37
38
|
export declare const strategiesGenerateValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
38
39
|
export declare const strategiesGenerateResolver: import("@feathersjs/schema").Resolver<{
|
|
39
40
|
_id: string | {};
|
|
41
|
+
userId?: string | {} | undefined;
|
|
40
42
|
prompt: string;
|
|
41
43
|
context?: string | undefined;
|
|
42
44
|
description?: string | undefined;
|
|
@@ -69,6 +71,7 @@ export declare const strategiesGenerateResolver: import("@feathersjs/schema").Re
|
|
|
69
71
|
}, HookContext<StrategiesGenerateService<import("./generate.class").StrategiesGenerateParams>>>;
|
|
70
72
|
export declare const strategiesGenerateExternalResolver: import("@feathersjs/schema").Resolver<{
|
|
71
73
|
_id: string | {};
|
|
74
|
+
userId?: string | {} | undefined;
|
|
72
75
|
prompt: string;
|
|
73
76
|
context?: string | undefined;
|
|
74
77
|
description?: string | undefined;
|
|
@@ -101,6 +104,7 @@ export declare const strategiesGenerateExternalResolver: import("@feathersjs/sch
|
|
|
101
104
|
}, HookContext<StrategiesGenerateService<import("./generate.class").StrategiesGenerateParams>>>;
|
|
102
105
|
export declare const strategiesGenerateDataSchema: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
103
106
|
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
107
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
104
108
|
prompt: import("@feathersjs/typebox").TString<string>;
|
|
105
109
|
context: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
106
110
|
description: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
@@ -135,6 +139,7 @@ export type StrategiesGenerateData = Static<typeof strategiesGenerateDataSchema>
|
|
|
135
139
|
export declare const strategiesGenerateDataValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
136
140
|
export declare const strategiesGenerateDataResolver: import("@feathersjs/schema").Resolver<{
|
|
137
141
|
_id: string | {};
|
|
142
|
+
userId?: string | {} | undefined;
|
|
138
143
|
prompt: string;
|
|
139
144
|
context?: string | undefined;
|
|
140
145
|
description?: string | undefined;
|
|
@@ -167,6 +172,7 @@ export declare const strategiesGenerateDataResolver: import("@feathersjs/schema"
|
|
|
167
172
|
}, HookContext<StrategiesGenerateService<import("./generate.class").StrategiesGenerateParams>>>;
|
|
168
173
|
export declare const strategiesGeneratePatchSchema: import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
|
|
169
174
|
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
175
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
170
176
|
prompt: import("@feathersjs/typebox").TString<string>;
|
|
171
177
|
context: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
172
178
|
description: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
@@ -201,6 +207,7 @@ export type StrategiesGeneratePatch = Static<typeof strategiesGeneratePatchSchem
|
|
|
201
207
|
export declare const strategiesGeneratePatchValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
202
208
|
export declare const strategiesGeneratePatchResolver: import("@feathersjs/schema").Resolver<{
|
|
203
209
|
_id: string | {};
|
|
210
|
+
userId?: string | {} | undefined;
|
|
204
211
|
prompt: string;
|
|
205
212
|
context?: string | undefined;
|
|
206
213
|
description?: string | undefined;
|
|
@@ -233,6 +240,7 @@ export declare const strategiesGeneratePatchResolver: import("@feathersjs/schema
|
|
|
233
240
|
}, HookContext<StrategiesGenerateService<import("./generate.class").StrategiesGenerateParams>>>;
|
|
234
241
|
export declare const strategiesGenerateQueryProperties: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
235
242
|
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
243
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
236
244
|
prompt: import("@feathersjs/typebox").TString<string>;
|
|
237
245
|
context: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
238
246
|
description: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
@@ -262,7 +270,7 @@ export declare const strategiesGenerateQueryProperties: import("@feathersjs/type
|
|
|
262
270
|
}>;
|
|
263
271
|
}>>;
|
|
264
272
|
agendaJobId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
265
|
-
}>, ["_id", "prompt", "status", "strategyId", "error", "currentStep", "createdAt"]>;
|
|
273
|
+
}>, ["_id", "userId", "prompt", "status", "strategyId", "error", "currentStep", "createdAt"]>;
|
|
266
274
|
export declare const strategiesGenerateQuerySchema: import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
|
|
267
275
|
$limit: import("@feathersjs/typebox").TNumber;
|
|
268
276
|
$skip: import("@feathersjs/typebox").TNumber;
|
|
@@ -274,8 +282,9 @@ export declare const strategiesGenerateQuerySchema: import("@feathersjs/typebox"
|
|
|
274
282
|
prompt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
275
283
|
status: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
276
284
|
strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
285
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
277
286
|
}>;
|
|
278
|
-
$select: import("@feathersjs/typebox").TUnsafe<("_id" | "createdAt" | "currentStep" | "error" | "prompt" | "status" | "strategyId")[]>;
|
|
287
|
+
$select: import("@feathersjs/typebox").TUnsafe<("_id" | "createdAt" | "currentStep" | "error" | "prompt" | "status" | "strategyId" | "userId")[]>;
|
|
279
288
|
$and: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
280
289
|
_id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
281
290
|
$gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
@@ -354,6 +363,17 @@ export declare const strategiesGenerateQuerySchema: import("@feathersjs/typebox"
|
|
|
354
363
|
}>, import("@feathersjs/typebox").TObject<{
|
|
355
364
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
356
365
|
} | undefined>]>>]>>;
|
|
366
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
367
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
368
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
369
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
370
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
371
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
372
|
+
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
373
|
+
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
374
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
375
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
376
|
+
} | undefined>]>>]>>;
|
|
357
377
|
}>>, import("@feathersjs/typebox").TObject<{
|
|
358
378
|
$or: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
359
379
|
_id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
@@ -433,6 +453,17 @@ export declare const strategiesGenerateQuerySchema: import("@feathersjs/typebox"
|
|
|
433
453
|
}>, import("@feathersjs/typebox").TObject<{
|
|
434
454
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
435
455
|
} | undefined>]>>]>>;
|
|
456
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
457
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
458
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
459
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
460
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
461
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
462
|
+
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
463
|
+
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
464
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
465
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
466
|
+
} | undefined>]>>]>>;
|
|
436
467
|
}>>>;
|
|
437
468
|
}>]>>;
|
|
438
469
|
$or: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
@@ -513,6 +544,17 @@ export declare const strategiesGenerateQuerySchema: import("@feathersjs/typebox"
|
|
|
513
544
|
}>, import("@feathersjs/typebox").TObject<{
|
|
514
545
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
515
546
|
} | undefined>]>>]>>;
|
|
547
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
548
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
549
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
550
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
551
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
552
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
553
|
+
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
554
|
+
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
555
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
556
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
557
|
+
} | undefined>]>>]>>;
|
|
516
558
|
}>>>;
|
|
517
559
|
}>>, import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
518
560
|
_id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
@@ -592,6 +634,17 @@ export declare const strategiesGenerateQuerySchema: import("@feathersjs/typebox"
|
|
|
592
634
|
}>, import("@feathersjs/typebox").TObject<{
|
|
593
635
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
594
636
|
} | undefined>]>>]>>;
|
|
637
|
+
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
638
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
639
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
640
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
641
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
642
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
643
|
+
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
644
|
+
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>> | import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
645
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
646
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
647
|
+
} | undefined>]>>]>>;
|
|
595
648
|
}>>]>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
596
649
|
export type StrategiesGenerateQuery = Static<typeof strategiesGenerateQuerySchema>;
|
|
597
650
|
export declare const strategiesGenerateQueryValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
@@ -606,8 +659,9 @@ export declare const strategiesGenerateQueryResolver: import("@feathersjs/schema
|
|
|
606
659
|
prompt?: number | undefined;
|
|
607
660
|
status?: number | undefined;
|
|
608
661
|
strategyId?: number | undefined;
|
|
662
|
+
userId?: number | undefined;
|
|
609
663
|
};
|
|
610
|
-
$select: ("_id" | "createdAt" | "currentStep" | "error" | "prompt" | "status" | "strategyId")[];
|
|
664
|
+
$select: ("_id" | "createdAt" | "currentStep" | "error" | "prompt" | "status" | "strategyId" | "userId")[];
|
|
611
665
|
$and: ({
|
|
612
666
|
_id?: string | Partial<{
|
|
613
667
|
$gt: string | {};
|
|
@@ -672,6 +726,15 @@ export declare const strategiesGenerateQueryResolver: import("@feathersjs/schema
|
|
|
672
726
|
$in: string | (string | {})[] | {};
|
|
673
727
|
$nin: string | (string | {})[] | {};
|
|
674
728
|
} & {}> | {} | undefined;
|
|
729
|
+
userId?: string | Partial<{
|
|
730
|
+
$gt?: string | {} | undefined;
|
|
731
|
+
$gte?: string | {} | undefined;
|
|
732
|
+
$lt?: string | {} | undefined;
|
|
733
|
+
$lte?: string | {} | undefined;
|
|
734
|
+
$ne?: string | {} | undefined;
|
|
735
|
+
$in: string | (string | {})[] | {};
|
|
736
|
+
$nin: string | (string | {})[] | {};
|
|
737
|
+
} & {}> | {} | undefined;
|
|
675
738
|
} | {
|
|
676
739
|
$or: {
|
|
677
740
|
_id?: string | Partial<{
|
|
@@ -737,6 +800,15 @@ export declare const strategiesGenerateQueryResolver: import("@feathersjs/schema
|
|
|
737
800
|
$in: string | (string | {})[] | {};
|
|
738
801
|
$nin: string | (string | {})[] | {};
|
|
739
802
|
} & {}> | {} | undefined;
|
|
803
|
+
userId?: string | Partial<{
|
|
804
|
+
$gt?: string | {} | undefined;
|
|
805
|
+
$gte?: string | {} | undefined;
|
|
806
|
+
$lt?: string | {} | undefined;
|
|
807
|
+
$lte?: string | {} | undefined;
|
|
808
|
+
$ne?: string | {} | undefined;
|
|
809
|
+
$in: string | (string | {})[] | {};
|
|
810
|
+
$nin: string | (string | {})[] | {};
|
|
811
|
+
} & {}> | {} | undefined;
|
|
740
812
|
}[];
|
|
741
813
|
})[];
|
|
742
814
|
$or: {
|
|
@@ -803,6 +875,15 @@ export declare const strategiesGenerateQueryResolver: import("@feathersjs/schema
|
|
|
803
875
|
$in: string | (string | {})[] | {};
|
|
804
876
|
$nin: string | (string | {})[] | {};
|
|
805
877
|
} & {}> | {} | undefined;
|
|
878
|
+
userId?: string | Partial<{
|
|
879
|
+
$gt?: string | {} | undefined;
|
|
880
|
+
$gte?: string | {} | undefined;
|
|
881
|
+
$lt?: string | {} | undefined;
|
|
882
|
+
$lte?: string | {} | undefined;
|
|
883
|
+
$ne?: string | {} | undefined;
|
|
884
|
+
$in: string | (string | {})[] | {};
|
|
885
|
+
$nin: string | (string | {})[] | {};
|
|
886
|
+
} & {}> | {} | undefined;
|
|
806
887
|
}[];
|
|
807
888
|
}> & {
|
|
808
889
|
_id?: string | Partial<{
|
|
@@ -868,4 +949,13 @@ export declare const strategiesGenerateQueryResolver: import("@feathersjs/schema
|
|
|
868
949
|
$in: string | (string | {})[] | {};
|
|
869
950
|
$nin: string | (string | {})[] | {};
|
|
870
951
|
} & {}> | {} | undefined;
|
|
952
|
+
userId?: string | Partial<{
|
|
953
|
+
$gt?: string | {} | undefined;
|
|
954
|
+
$gte?: string | {} | undefined;
|
|
955
|
+
$lt?: string | {} | undefined;
|
|
956
|
+
$lte?: string | {} | undefined;
|
|
957
|
+
$ne?: string | {} | undefined;
|
|
958
|
+
$in: string | (string | {})[] | {};
|
|
959
|
+
$nin: string | (string | {})[] | {};
|
|
960
|
+
} & {}> | {} | undefined;
|
|
871
961
|
} & {}, HookContext<StrategiesGenerateService<import("./generate.class").StrategiesGenerateParams>>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import type { Application } from '../../../declarations';
|
|
2
|
+
export interface CampaignRunResult {
|
|
3
|
+
sent: string[];
|
|
4
|
+
failed: string[];
|
|
5
|
+
}
|
|
2
6
|
export interface CampaignRule<TContext = any> {
|
|
3
7
|
id: string;
|
|
4
8
|
subject: string;
|
|
@@ -13,4 +17,4 @@ export interface CampaignRule<TContext = any> {
|
|
|
13
17
|
export declare function triggerCampaignsForUser(app: Application, user: any, campaignIds: string[], allCampaigns: CampaignRule[]): Promise<void>;
|
|
14
18
|
export declare function runCampaignsForUser(app: Application, user: any, campaigns: CampaignRule[], options?: {
|
|
15
19
|
force?: boolean;
|
|
16
|
-
}): Promise<
|
|
20
|
+
}): Promise<CampaignRunResult>;
|