@cryptorobot.ai/client 1.32.0-dev.1052 → 1.32.0
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/lib/src/services/affiliates/links/links.shared.js +7 -1
- package/lib/src/services/copilot/concerns/concerns.shared.js +7 -1
- package/lib/src/services/exchanges/deposits/sync/sync.shared.js +1 -7
- package/lib/src/services/exchanges/ledger/ledger.shared.js +7 -1
- package/lib/src/services/homepage/homepage.shared.d.ts +2 -1
- package/lib/src/services/insights/etf-flow/etf-flow.shared.js +7 -1
- package/lib/src/services/series/balance/balance.shared.js +7 -1
- package/lib/src/services/strategies/generate/generate.schema.d.ts +3 -93
- package/lib/src/services/tax/research/research.shared.js +7 -1
- package/lib/src/services/tax/sessions/sessions.shared.js +7 -1
- package/lib/src/services/users/access/access.shared.js +7 -1
- package/lib/src/services/users/marketing/marketing.engine.d.ts +1 -5
- package/package.json +1 -1
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.affiliatesLinksClient = exports.affiliatesLinksMethods = exports.affiliatesLinksPath = void 0;
|
|
4
4
|
exports.affiliatesLinksPath = 'affiliates/links';
|
|
5
|
-
exports.affiliatesLinksMethods = [
|
|
5
|
+
exports.affiliatesLinksMethods = [
|
|
6
|
+
'find',
|
|
7
|
+
'get',
|
|
8
|
+
'create',
|
|
9
|
+
'patch',
|
|
10
|
+
'remove'
|
|
11
|
+
];
|
|
6
12
|
const affiliatesLinksClient = (client) => {
|
|
7
13
|
const connection = client.get('connection');
|
|
8
14
|
client.use(exports.affiliatesLinksPath, connection.service(exports.affiliatesLinksPath), {
|
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.copilotConcernsClient = exports.copilotConcernsMethods = exports.copilotConcernsPath = void 0;
|
|
4
4
|
exports.copilotConcernsPath = 'copilot/concerns';
|
|
5
|
-
exports.copilotConcernsMethods = [
|
|
5
|
+
exports.copilotConcernsMethods = [
|
|
6
|
+
'find',
|
|
7
|
+
'get',
|
|
8
|
+
'create',
|
|
9
|
+
'patch',
|
|
10
|
+
'remove'
|
|
11
|
+
];
|
|
6
12
|
const copilotConcernsClient = (client) => {
|
|
7
13
|
const connection = client.get('connection');
|
|
8
14
|
client.use(exports.copilotConcernsPath, connection.service(exports.copilotConcernsPath), {
|
|
@@ -2,13 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.exchangesDepositsSyncClient = exports.exchangesDepositsSyncMethods = exports.exchangesDepositsSyncPath = void 0;
|
|
4
4
|
exports.exchangesDepositsSyncPath = 'exchanges/deposits/sync';
|
|
5
|
-
exports.exchangesDepositsSyncMethods = [
|
|
6
|
-
'find',
|
|
7
|
-
'get',
|
|
8
|
-
'create',
|
|
9
|
-
'patch',
|
|
10
|
-
'remove'
|
|
11
|
-
];
|
|
5
|
+
exports.exchangesDepositsSyncMethods = ['find', 'get', 'create', 'patch', 'remove'];
|
|
12
6
|
const exchangesDepositsSyncClient = (client) => {
|
|
13
7
|
const connection = client.get('connection');
|
|
14
8
|
client.use(exports.exchangesDepositsSyncPath, connection.service(exports.exchangesDepositsSyncPath), {
|
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.exchangesLedgerClient = exports.exchangesLedgerMethods = exports.exchangesLedgerPath = void 0;
|
|
4
4
|
exports.exchangesLedgerPath = 'exchanges/ledger';
|
|
5
|
-
exports.exchangesLedgerMethods = [
|
|
5
|
+
exports.exchangesLedgerMethods = [
|
|
6
|
+
'find',
|
|
7
|
+
'get',
|
|
8
|
+
'create',
|
|
9
|
+
'patch',
|
|
10
|
+
'remove'
|
|
11
|
+
];
|
|
6
12
|
const exchangesLedgerClient = (client) => {
|
|
7
13
|
const connection = client.get('connection');
|
|
8
14
|
client.use(exports.exchangesLedgerPath, connection.service(exports.exchangesLedgerPath), {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ClientApplication } from '../../client';
|
|
2
|
-
import type {
|
|
2
|
+
import type { HomepageService } from './homepage.class';
|
|
3
|
+
import type { Homepage, HomepageData, HomepagePatch, HomepageQuery } from './homepage.class';
|
|
3
4
|
export type { Homepage, HomepageData, HomepagePatch, HomepageQuery };
|
|
4
5
|
export type HomepageClientService = Pick<HomepageService, (typeof homepageMethods)[number]>;
|
|
5
6
|
export declare const homepagePath = "homepage";
|
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.insightsEtfFlowClient = exports.insightsEtfFlowMethods = exports.insightsEtfFlowPath = void 0;
|
|
4
4
|
exports.insightsEtfFlowPath = 'insights/etf-flow';
|
|
5
|
-
exports.insightsEtfFlowMethods = [
|
|
5
|
+
exports.insightsEtfFlowMethods = [
|
|
6
|
+
'find',
|
|
7
|
+
'get',
|
|
8
|
+
'create',
|
|
9
|
+
'patch',
|
|
10
|
+
'remove'
|
|
11
|
+
];
|
|
6
12
|
const insightsEtfFlowClient = (client) => {
|
|
7
13
|
const connection = client.get('connection');
|
|
8
14
|
client.use(exports.insightsEtfFlowPath, connection.service(exports.insightsEtfFlowPath), {
|
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.seriesBalanceClient = exports.seriesBalanceMethods = exports.seriesBalancePath = void 0;
|
|
4
4
|
exports.seriesBalancePath = 'series/balance';
|
|
5
|
-
exports.seriesBalanceMethods = [
|
|
5
|
+
exports.seriesBalanceMethods = [
|
|
6
|
+
'find',
|
|
7
|
+
'get',
|
|
8
|
+
'create',
|
|
9
|
+
'patch',
|
|
10
|
+
'remove'
|
|
11
|
+
];
|
|
6
12
|
const seriesBalanceClient = (client) => {
|
|
7
13
|
const connection = client.get('connection');
|
|
8
14
|
client.use(exports.seriesBalancePath, connection.service(exports.seriesBalancePath), {
|
|
@@ -3,7 +3,6 @@ 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<{}>]>>;
|
|
7
6
|
prompt: import("@feathersjs/typebox").TString<string>;
|
|
8
7
|
context: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
9
8
|
description: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
@@ -38,7 +37,6 @@ export type StrategiesGenerate = Static<typeof strategiesGenerateSchema>;
|
|
|
38
37
|
export declare const strategiesGenerateValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
39
38
|
export declare const strategiesGenerateResolver: import("@feathersjs/schema").Resolver<{
|
|
40
39
|
_id: string | {};
|
|
41
|
-
userId?: string | {} | undefined;
|
|
42
40
|
prompt: string;
|
|
43
41
|
context?: string | undefined;
|
|
44
42
|
description?: string | undefined;
|
|
@@ -71,7 +69,6 @@ export declare const strategiesGenerateResolver: import("@feathersjs/schema").Re
|
|
|
71
69
|
}, HookContext<StrategiesGenerateService<import("./generate.class").StrategiesGenerateParams>>>;
|
|
72
70
|
export declare const strategiesGenerateExternalResolver: import("@feathersjs/schema").Resolver<{
|
|
73
71
|
_id: string | {};
|
|
74
|
-
userId?: string | {} | undefined;
|
|
75
72
|
prompt: string;
|
|
76
73
|
context?: string | undefined;
|
|
77
74
|
description?: string | undefined;
|
|
@@ -104,7 +101,6 @@ export declare const strategiesGenerateExternalResolver: import("@feathersjs/sch
|
|
|
104
101
|
}, HookContext<StrategiesGenerateService<import("./generate.class").StrategiesGenerateParams>>>;
|
|
105
102
|
export declare const strategiesGenerateDataSchema: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
106
103
|
_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<{}>]>>;
|
|
108
104
|
prompt: import("@feathersjs/typebox").TString<string>;
|
|
109
105
|
context: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
110
106
|
description: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
@@ -139,7 +135,6 @@ export type StrategiesGenerateData = Static<typeof strategiesGenerateDataSchema>
|
|
|
139
135
|
export declare const strategiesGenerateDataValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
140
136
|
export declare const strategiesGenerateDataResolver: import("@feathersjs/schema").Resolver<{
|
|
141
137
|
_id: string | {};
|
|
142
|
-
userId?: string | {} | undefined;
|
|
143
138
|
prompt: string;
|
|
144
139
|
context?: string | undefined;
|
|
145
140
|
description?: string | undefined;
|
|
@@ -172,7 +167,6 @@ export declare const strategiesGenerateDataResolver: import("@feathersjs/schema"
|
|
|
172
167
|
}, HookContext<StrategiesGenerateService<import("./generate.class").StrategiesGenerateParams>>>;
|
|
173
168
|
export declare const strategiesGeneratePatchSchema: import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
|
|
174
169
|
_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<{}>]>>;
|
|
176
170
|
prompt: import("@feathersjs/typebox").TString<string>;
|
|
177
171
|
context: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
178
172
|
description: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
@@ -207,7 +201,6 @@ export type StrategiesGeneratePatch = Static<typeof strategiesGeneratePatchSchem
|
|
|
207
201
|
export declare const strategiesGeneratePatchValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
208
202
|
export declare const strategiesGeneratePatchResolver: import("@feathersjs/schema").Resolver<{
|
|
209
203
|
_id: string | {};
|
|
210
|
-
userId?: string | {} | undefined;
|
|
211
204
|
prompt: string;
|
|
212
205
|
context?: string | undefined;
|
|
213
206
|
description?: string | undefined;
|
|
@@ -240,7 +233,6 @@ export declare const strategiesGeneratePatchResolver: import("@feathersjs/schema
|
|
|
240
233
|
}, HookContext<StrategiesGenerateService<import("./generate.class").StrategiesGenerateParams>>>;
|
|
241
234
|
export declare const strategiesGenerateQueryProperties: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
242
235
|
_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<{}>]>>;
|
|
244
236
|
prompt: import("@feathersjs/typebox").TString<string>;
|
|
245
237
|
context: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
246
238
|
description: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
@@ -270,7 +262,7 @@ export declare const strategiesGenerateQueryProperties: import("@feathersjs/type
|
|
|
270
262
|
}>;
|
|
271
263
|
}>>;
|
|
272
264
|
agendaJobId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
273
|
-
}>, ["_id", "
|
|
265
|
+
}>, ["_id", "prompt", "status", "strategyId", "error", "currentStep", "createdAt"]>;
|
|
274
266
|
export declare const strategiesGenerateQuerySchema: import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
|
|
275
267
|
$limit: import("@feathersjs/typebox").TNumber;
|
|
276
268
|
$skip: import("@feathersjs/typebox").TNumber;
|
|
@@ -282,9 +274,8 @@ export declare const strategiesGenerateQuerySchema: import("@feathersjs/typebox"
|
|
|
282
274
|
prompt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
283
275
|
status: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
284
276
|
strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
285
|
-
userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
286
277
|
}>;
|
|
287
|
-
$select: import("@feathersjs/typebox").TUnsafe<("_id" | "createdAt" | "currentStep" | "error" | "prompt" | "status" | "strategyId"
|
|
278
|
+
$select: import("@feathersjs/typebox").TUnsafe<("_id" | "createdAt" | "currentStep" | "error" | "prompt" | "status" | "strategyId")[]>;
|
|
288
279
|
$and: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
289
280
|
_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<{
|
|
290
281
|
$gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
@@ -363,17 +354,6 @@ export declare const strategiesGenerateQuerySchema: import("@feathersjs/typebox"
|
|
|
363
354
|
}>, import("@feathersjs/typebox").TObject<{
|
|
364
355
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
365
356
|
} | 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>]>>]>>;
|
|
377
357
|
}>>, import("@feathersjs/typebox").TObject<{
|
|
378
358
|
$or: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
379
359
|
_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<{
|
|
@@ -453,17 +433,6 @@ export declare const strategiesGenerateQuerySchema: import("@feathersjs/typebox"
|
|
|
453
433
|
}>, import("@feathersjs/typebox").TObject<{
|
|
454
434
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
455
435
|
} | 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>]>>]>>;
|
|
467
436
|
}>>>;
|
|
468
437
|
}>]>>;
|
|
469
438
|
$or: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
@@ -544,17 +513,6 @@ export declare const strategiesGenerateQuerySchema: import("@feathersjs/typebox"
|
|
|
544
513
|
}>, import("@feathersjs/typebox").TObject<{
|
|
545
514
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
546
515
|
} | 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>]>>]>>;
|
|
558
516
|
}>>>;
|
|
559
517
|
}>>, import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
560
518
|
_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<{
|
|
@@ -634,17 +592,6 @@ export declare const strategiesGenerateQuerySchema: import("@feathersjs/typebox"
|
|
|
634
592
|
}>, import("@feathersjs/typebox").TObject<{
|
|
635
593
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
636
594
|
} | 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>]>>]>>;
|
|
648
595
|
}>>]>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
649
596
|
export type StrategiesGenerateQuery = Static<typeof strategiesGenerateQuerySchema>;
|
|
650
597
|
export declare const strategiesGenerateQueryValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
@@ -659,9 +606,8 @@ export declare const strategiesGenerateQueryResolver: import("@feathersjs/schema
|
|
|
659
606
|
prompt?: number | undefined;
|
|
660
607
|
status?: number | undefined;
|
|
661
608
|
strategyId?: number | undefined;
|
|
662
|
-
userId?: number | undefined;
|
|
663
609
|
};
|
|
664
|
-
$select: ("_id" | "createdAt" | "currentStep" | "error" | "prompt" | "status" | "strategyId"
|
|
610
|
+
$select: ("_id" | "createdAt" | "currentStep" | "error" | "prompt" | "status" | "strategyId")[];
|
|
665
611
|
$and: ({
|
|
666
612
|
_id?: string | Partial<{
|
|
667
613
|
$gt: string | {};
|
|
@@ -726,15 +672,6 @@ export declare const strategiesGenerateQueryResolver: import("@feathersjs/schema
|
|
|
726
672
|
$in: string | (string | {})[] | {};
|
|
727
673
|
$nin: string | (string | {})[] | {};
|
|
728
674
|
} & {}> | {} | 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;
|
|
738
675
|
} | {
|
|
739
676
|
$or: {
|
|
740
677
|
_id?: string | Partial<{
|
|
@@ -800,15 +737,6 @@ export declare const strategiesGenerateQueryResolver: import("@feathersjs/schema
|
|
|
800
737
|
$in: string | (string | {})[] | {};
|
|
801
738
|
$nin: string | (string | {})[] | {};
|
|
802
739
|
} & {}> | {} | 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;
|
|
812
740
|
}[];
|
|
813
741
|
})[];
|
|
814
742
|
$or: {
|
|
@@ -875,15 +803,6 @@ export declare const strategiesGenerateQueryResolver: import("@feathersjs/schema
|
|
|
875
803
|
$in: string | (string | {})[] | {};
|
|
876
804
|
$nin: string | (string | {})[] | {};
|
|
877
805
|
} & {}> | {} | 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;
|
|
887
806
|
}[];
|
|
888
807
|
}> & {
|
|
889
808
|
_id?: string | Partial<{
|
|
@@ -949,13 +868,4 @@ export declare const strategiesGenerateQueryResolver: import("@feathersjs/schema
|
|
|
949
868
|
$in: string | (string | {})[] | {};
|
|
950
869
|
$nin: string | (string | {})[] | {};
|
|
951
870
|
} & {}> | {} | 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;
|
|
961
871
|
} & {}, HookContext<StrategiesGenerateService<import("./generate.class").StrategiesGenerateParams>>>;
|
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.taxResearchClient = exports.taxResearchMethods = exports.taxResearchPath = void 0;
|
|
4
4
|
exports.taxResearchPath = 'tax/research';
|
|
5
|
-
exports.taxResearchMethods = [
|
|
5
|
+
exports.taxResearchMethods = [
|
|
6
|
+
'find',
|
|
7
|
+
'get',
|
|
8
|
+
'create',
|
|
9
|
+
'patch',
|
|
10
|
+
'remove'
|
|
11
|
+
];
|
|
6
12
|
const taxResearchClient = (client) => {
|
|
7
13
|
const connection = client.get('connection');
|
|
8
14
|
client.use(exports.taxResearchPath, connection.service(exports.taxResearchPath), {
|
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.taxSessionsClient = exports.taxSessionsMethods = exports.taxSessionsPath = void 0;
|
|
4
4
|
exports.taxSessionsPath = 'tax/sessions';
|
|
5
|
-
exports.taxSessionsMethods = [
|
|
5
|
+
exports.taxSessionsMethods = [
|
|
6
|
+
'find',
|
|
7
|
+
'get',
|
|
8
|
+
'create',
|
|
9
|
+
'patch',
|
|
10
|
+
'remove'
|
|
11
|
+
];
|
|
6
12
|
const taxSessionsClient = (client) => {
|
|
7
13
|
const connection = client.get('connection');
|
|
8
14
|
client.use(exports.taxSessionsPath, connection.service(exports.taxSessionsPath), {
|
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.usersAccessClient = exports.usersAccessMethods = exports.usersAccessPath = void 0;
|
|
4
4
|
exports.usersAccessPath = 'users/access';
|
|
5
|
-
exports.usersAccessMethods = [
|
|
5
|
+
exports.usersAccessMethods = [
|
|
6
|
+
'find',
|
|
7
|
+
'get',
|
|
8
|
+
'create',
|
|
9
|
+
'patch',
|
|
10
|
+
'remove'
|
|
11
|
+
];
|
|
6
12
|
const usersAccessClient = (client) => {
|
|
7
13
|
const connection = client.get('connection');
|
|
8
14
|
client.use(exports.usersAccessPath, connection.service(exports.usersAccessPath), {
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import type { Application } from '../../../declarations';
|
|
2
|
-
export interface CampaignRunResult {
|
|
3
|
-
sent: string[];
|
|
4
|
-
failed: string[];
|
|
5
|
-
}
|
|
6
2
|
export interface CampaignRule<TContext = any> {
|
|
7
3
|
id: string;
|
|
8
4
|
subject: string;
|
|
@@ -17,4 +13,4 @@ export interface CampaignRule<TContext = any> {
|
|
|
17
13
|
export declare function triggerCampaignsForUser(app: Application, user: any, campaignIds: string[], allCampaigns: CampaignRule[]): Promise<void>;
|
|
18
14
|
export declare function runCampaignsForUser(app: Application, user: any, campaigns: CampaignRule[], options?: {
|
|
19
15
|
force?: boolean;
|
|
20
|
-
}): Promise<
|
|
16
|
+
}): Promise<void>;
|