@cryptorobot.ai/client 0.0.38 → 0.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/lib/src/client.js +33 -3
  2. package/lib/src/services/agents/agents.class.d.ts +11 -0
  3. package/lib/src/services/agents/agents.d.ts +11 -0
  4. package/lib/src/services/agents/agents.schema.d.ts +2371 -0
  5. package/lib/src/services/agents/agents.shared.d.ts +13 -0
  6. package/lib/src/services/agents/agents.shared.js +13 -0
  7. package/lib/src/services/agents/prepare/prepare.class.d.ts +18 -0
  8. package/lib/src/services/agents/prepare/prepare.d.ts +11 -0
  9. package/lib/src/services/agents/prepare/prepare.schema.d.ts +285 -0
  10. package/lib/src/services/agents/prepare/prepare.shared.d.ts +13 -0
  11. package/lib/src/services/agents/prepare/prepare.shared.js +13 -0
  12. package/lib/src/services/agents/sessions/conversations/conversations.class.d.ts +11 -0
  13. package/lib/src/services/agents/sessions/conversations/conversations.d.ts +11 -0
  14. package/lib/src/services/agents/sessions/conversations/conversations.schema.d.ts +2561 -0
  15. package/lib/src/services/agents/sessions/conversations/conversations.shared.d.ts +13 -0
  16. package/lib/src/services/agents/sessions/conversations/conversations.shared.js +13 -0
  17. package/lib/src/services/agents/sessions/sessions.class.d.ts +11 -0
  18. package/lib/src/services/agents/sessions/sessions.d.ts +11 -0
  19. package/lib/src/services/agents/sessions/sessions.schema.d.ts +803 -0
  20. package/lib/src/services/agents/sessions/sessions.shared.d.ts +13 -0
  21. package/lib/src/services/agents/sessions/sessions.shared.js +13 -0
  22. package/lib/src/services/events/events.class.d.ts +11 -0
  23. package/lib/src/services/events/events.d.ts +11 -0
  24. package/lib/src/services/events/events.schema.d.ts +786 -0
  25. package/lib/src/services/events/events.shared.d.ts +13 -0
  26. package/lib/src/services/events/events.shared.js +13 -0
  27. package/lib/src/services/events/triggers/triggers.class.d.ts +11 -0
  28. package/lib/src/services/events/triggers/triggers.d.ts +11 -0
  29. package/lib/src/services/events/triggers/triggers.schema.d.ts +1582 -0
  30. package/lib/src/services/events/triggers/triggers.shared.d.ts +13 -0
  31. package/lib/src/services/events/triggers/triggers.shared.js +13 -0
  32. package/lib/src/services/events/types/types.class.d.ts +11 -0
  33. package/lib/src/services/events/types/types.d.ts +11 -0
  34. package/lib/src/services/events/types/types.schema.d.ts +688 -0
  35. package/lib/src/services/events/types/types.shared.d.ts +13 -0
  36. package/lib/src/services/events/types/types.shared.js +13 -0
  37. package/lib/src/services/exchanges/balance/balance.schema.d.ts +16 -16
  38. package/lib/src/services/exchanges/download/download.schema.d.ts +58 -17
  39. package/lib/src/services/exchanges/download/download.shared.d.ts +1 -1
  40. package/lib/src/services/exchanges/download/download.shared.js +1 -1
  41. package/lib/src/services/exchanges/download/webhooks/webhooks.schema.d.ts +4 -4
  42. package/lib/src/services/exchanges/exchanges.schema.d.ts +100 -100
  43. package/lib/src/services/exchanges/ohlcv/ohlcv.class.d.ts +19 -0
  44. package/lib/src/services/exchanges/ohlcv/ohlcv.d.ts +11 -0
  45. package/lib/src/services/exchanges/ohlcv/ohlcv.schema.d.ts +507 -0
  46. package/lib/src/services/exchanges/ohlcv/ohlcv.shared.d.ts +13 -0
  47. package/lib/src/services/exchanges/ohlcv/ohlcv.shared.js +13 -0
  48. package/lib/src/services/exchanges/ticker/ticker.schema.d.ts +68 -68
  49. package/lib/src/services/extensions/extensions.class.d.ts +11 -0
  50. package/lib/src/services/extensions/extensions.d.ts +11 -0
  51. package/lib/src/services/extensions/extensions.schema.d.ts +1275 -0
  52. package/lib/src/services/extensions/extensions.shared.d.ts +13 -0
  53. package/lib/src/services/extensions/extensions.shared.js +13 -0
  54. package/lib/src/services/keys/KeysService.d.ts +13 -0
  55. package/lib/src/services/keys/keys.class.d.ts +11 -0
  56. package/lib/src/services/keys/keys.d.ts +11 -0
  57. package/lib/src/services/keys/keys.schema.d.ts +719 -0
  58. package/lib/src/services/keys/keys.shared.d.ts +14 -0
  59. package/lib/src/services/keys/keys.shared.js +13 -0
  60. package/lib/src/services/messages/messages.schema.d.ts +64 -32
  61. package/lib/src/services/restricted/restricted.class.d.ts +26 -0
  62. package/lib/src/services/restricted/restricted.d.ts +21 -0
  63. package/lib/src/services/restricted/restricted.shared.d.ts +13 -0
  64. package/lib/src/services/restricted/restricted.shared.js +13 -0
  65. package/lib/src/services/strategies/backtest/backtest.schema.d.ts +127 -60
  66. package/lib/src/services/strategies/backtest/results/results.schema.d.ts +36 -36
  67. package/lib/src/services/strategies/generate/generate.class.d.ts +11 -0
  68. package/lib/src/services/strategies/generate/generate.d.ts +11 -0
  69. package/lib/src/services/strategies/generate/generate.schema.d.ts +429 -0
  70. package/lib/src/services/strategies/generate/generate.shared.d.ts +13 -0
  71. package/lib/src/services/strategies/generate/generate.shared.js +13 -0
  72. package/lib/src/services/strategies/hyperopt/hyperopt.schema.d.ts +16 -8
  73. package/lib/src/services/strategies/indicators/indicators.schema.d.ts +177 -97
  74. package/lib/src/services/strategies/indicators/talib/talib.class.d.ts +11 -0
  75. package/lib/src/services/strategies/indicators/talib/talib.d.ts +11 -0
  76. package/lib/src/services/strategies/indicators/talib/talib.schema.d.ts +443 -0
  77. package/lib/src/services/strategies/indicators/talib/talib.shared.d.ts +13 -0
  78. package/lib/src/services/strategies/indicators/talib/talib.shared.js +13 -0
  79. package/lib/src/services/strategies/strategies.schema.d.ts +2732 -327
  80. package/lib/src/services/strategies/templates/templates.schema.d.ts +2146 -16
  81. package/lib/src/services/tools/openapi/openapi.class.d.ts +34 -0
  82. package/lib/src/services/tools/openapi/openapi.d.ts +10 -0
  83. package/lib/src/services/tools/openapi/openapi.shared.d.ts +13 -0
  84. package/lib/src/services/tools/openapi/openapi.shared.js +13 -0
  85. package/lib/src/services/tools/tools.class.d.ts +11 -0
  86. package/lib/src/services/tools/tools.d.ts +11 -0
  87. package/lib/src/services/tools/tools.schema.d.ts +269 -0
  88. package/lib/src/services/tools/tools.shared.d.ts +13 -0
  89. package/lib/src/services/tools/tools.shared.js +13 -0
  90. package/lib/src/services/traders/pods/api/api.schema.d.ts +1650 -464
  91. package/lib/src/services/traders/pods/events/events.schema.d.ts +4 -4
  92. package/lib/src/services/traders/pods/pods.schema.d.ts +1539 -443
  93. package/lib/src/services/traders/traders.schema.d.ts +142 -142
  94. package/lib/src/services/users/users.class.d.ts +178 -3
  95. package/lib/src/services/users/users.schema.d.ts +123 -85
  96. package/lib/src/services/users/users.shared.d.ts +4 -3
  97. package/lib/src/services/users/users.shared.js +1 -1
  98. package/package.json +2 -3
  99. package/readme.md +1 -2
@@ -0,0 +1,13 @@
1
+ import type { Params } from '@feathersjs/feathers';
2
+ import type { ClientApplication } from '../../client';
3
+ import type { Agents, AgentsData, AgentsPatch, AgentsQuery, AgentsService } from './agents.class';
4
+ export type { Agents, AgentsData, AgentsPatch, AgentsQuery };
5
+ export type AgentsClientService = Pick<AgentsService<Params<AgentsQuery>>, (typeof agentsMethods)[number]>;
6
+ export declare const agentsPath = "agents";
7
+ export declare const agentsMethods: readonly ["find", "get", "create", "patch", "remove"];
8
+ export declare const agentsClient: (client: ClientApplication) => void;
9
+ declare module '../../client' {
10
+ interface ServiceTypes {
11
+ [agentsPath]: AgentsClientService;
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.agentsClient = exports.agentsMethods = exports.agentsPath = void 0;
4
+ exports.agentsPath = 'agents';
5
+ exports.agentsMethods = ['find', 'get', 'create', 'patch', 'remove'];
6
+ const agentsClient = (client) => {
7
+ const connection = client.get('connection');
8
+ client.use(exports.agentsPath, connection.service(exports.agentsPath), {
9
+ methods: exports.agentsMethods
10
+ });
11
+ };
12
+ exports.agentsClient = agentsClient;
13
+ //# sourceMappingURL=agents.shared.js.map
@@ -0,0 +1,18 @@
1
+ import type { Params, ServiceInterface } from '@feathersjs/feathers';
2
+ import type { Application } from '../../../declarations';
3
+ import type { AgentsPrepare, AgentsPrepareData, AgentsPreparePatch, AgentsPrepareQuery } from './prepare.schema';
4
+ export type { AgentsPrepare, AgentsPrepareData, AgentsPreparePatch, AgentsPrepareQuery };
5
+ export interface AgentsPrepareServiceOptions {
6
+ app: Application;
7
+ }
8
+ export interface AgentsPrepareParams extends Params<AgentsPrepareQuery> {
9
+ }
10
+ export declare class AgentsPrepareService<ServiceParams extends AgentsPrepareParams = AgentsPrepareParams> implements ServiceInterface<AgentsPrepare, AgentsPrepareData, ServiceParams, AgentsPreparePatch> {
11
+ options: AgentsPrepareServiceOptions;
12
+ constructor(options: AgentsPrepareServiceOptions);
13
+ create(data: AgentsPrepareData, params?: ServiceParams): Promise<AgentsPrepare>;
14
+ create(data: AgentsPrepareData[], params?: ServiceParams): Promise<AgentsPrepare[]>;
15
+ }
16
+ export declare const getOptions: (app: Application) => {
17
+ app: Application;
18
+ };
@@ -0,0 +1,11 @@
1
+ import type { Application } from '../../../declarations';
2
+ import { AgentsPrepareService } from './prepare.class';
3
+ import { agentsPreparePath } from './prepare.shared';
4
+ export * from './prepare.class';
5
+ export * from './prepare.schema';
6
+ export declare const agentsPrepare: (app: Application) => void;
7
+ declare module '../../../declarations' {
8
+ interface ServiceTypes {
9
+ [agentsPreparePath]: AgentsPrepareService;
10
+ }
11
+ }
@@ -0,0 +1,285 @@
1
+ import type { Static } from '@feathersjs/typebox';
2
+ import type { HookContext } from '../../../declarations';
3
+ import type { AgentsPrepareService } from './prepare.class';
4
+ export declare const agentsPrepareSchema: import("@feathersjs/typebox").TObject<{
5
+ template: import("@feathersjs/typebox").TLiteral<"initial">;
6
+ message: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
7
+ agents: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
8
+ key: import("@feathersjs/typebox").TString<string>;
9
+ id: import("@feathersjs/typebox").TString<string>;
10
+ name: import("@feathersjs/typebox").TString<string>;
11
+ role: import("@feathersjs/typebox").TString<string>;
12
+ }>>>;
13
+ }>;
14
+ export type AgentsPrepare = Static<typeof agentsPrepareSchema>;
15
+ export declare const agentsPrepareValidator: import("@feathersjs/schema").Validator<any, any>;
16
+ export declare const agentsPrepareResolver: import("@feathersjs/schema").Resolver<{
17
+ message?: string | undefined;
18
+ agents?: {
19
+ name: string;
20
+ key: string;
21
+ id: string;
22
+ role: string;
23
+ }[] | undefined;
24
+ template: "initial";
25
+ }, HookContext<AgentsPrepareService<import("./prepare.class").AgentsPrepareParams>>>;
26
+ export declare const agentsPrepareExternalResolver: import("@feathersjs/schema").Resolver<{
27
+ message?: string | undefined;
28
+ agents?: {
29
+ name: string;
30
+ key: string;
31
+ id: string;
32
+ role: string;
33
+ }[] | undefined;
34
+ template: "initial";
35
+ }, HookContext<AgentsPrepareService<import("./prepare.class").AgentsPrepareParams>>>;
36
+ export declare const agentsPrepareDataSchema: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
37
+ template: import("@feathersjs/typebox").TLiteral<"initial">;
38
+ message: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
39
+ agents: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
40
+ key: import("@feathersjs/typebox").TString<string>;
41
+ id: import("@feathersjs/typebox").TString<string>;
42
+ name: import("@feathersjs/typebox").TString<string>;
43
+ role: import("@feathersjs/typebox").TString<string>;
44
+ }>>>;
45
+ }>, ["template"]>;
46
+ export type AgentsPrepareData = Static<typeof agentsPrepareDataSchema>;
47
+ export declare const agentsPrepareDataValidator: import("@feathersjs/schema").Validator<any, any>;
48
+ export declare const agentsPrepareDataResolver: import("@feathersjs/schema").Resolver<{
49
+ message?: string | undefined;
50
+ agents?: {
51
+ name: string;
52
+ key: string;
53
+ id: string;
54
+ role: string;
55
+ }[] | undefined;
56
+ template: "initial";
57
+ }, HookContext<AgentsPrepareService<import("./prepare.class").AgentsPrepareParams>>>;
58
+ export declare const agentsPreparePatchSchema: import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
59
+ template: import("@feathersjs/typebox").TLiteral<"initial">;
60
+ message: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
61
+ agents: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
62
+ key: import("@feathersjs/typebox").TString<string>;
63
+ id: import("@feathersjs/typebox").TString<string>;
64
+ name: import("@feathersjs/typebox").TString<string>;
65
+ role: import("@feathersjs/typebox").TString<string>;
66
+ }>>>;
67
+ }>>;
68
+ export type AgentsPreparePatch = Static<typeof agentsPreparePatchSchema>;
69
+ export declare const agentsPreparePatchValidator: import("@feathersjs/schema").Validator<any, any>;
70
+ export declare const agentsPreparePatchResolver: import("@feathersjs/schema").Resolver<{
71
+ message?: string | undefined;
72
+ agents?: {
73
+ name: string;
74
+ key: string;
75
+ id: string;
76
+ role: string;
77
+ }[] | undefined;
78
+ template: "initial";
79
+ }, HookContext<AgentsPrepareService<import("./prepare.class").AgentsPrepareParams>>>;
80
+ export declare const agentsPrepareQueryProperties: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
81
+ template: import("@feathersjs/typebox").TLiteral<"initial">;
82
+ message: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
83
+ agents: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
84
+ key: import("@feathersjs/typebox").TString<string>;
85
+ id: import("@feathersjs/typebox").TString<string>;
86
+ name: import("@feathersjs/typebox").TString<string>;
87
+ role: import("@feathersjs/typebox").TString<string>;
88
+ }>>>;
89
+ }>, ["template", "message"]>;
90
+ export declare const agentsPrepareQuerySchema: import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
91
+ $limit: import("@feathersjs/typebox").TNumber;
92
+ $skip: import("@feathersjs/typebox").TNumber;
93
+ $sort: import("@feathersjs/typebox").TObject<{
94
+ message: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
95
+ template: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
96
+ }>;
97
+ $select: import("@feathersjs/typebox").TUnsafe<("message" | "template")[]>;
98
+ $and: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
99
+ message: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
100
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
101
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
102
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
103
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
104
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
105
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>>;
106
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>>;
107
+ }>, import("@feathersjs/typebox").TObject<{
108
+ [key: string]: import("@feathersjs/typebox").TSchema;
109
+ } | undefined>]>>]>>;
110
+ template: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"initial">, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
111
+ $gt: import("@feathersjs/typebox").TLiteral<"initial">;
112
+ $gte: import("@feathersjs/typebox").TLiteral<"initial">;
113
+ $lt: import("@feathersjs/typebox").TLiteral<"initial">;
114
+ $lte: import("@feathersjs/typebox").TLiteral<"initial">;
115
+ $ne: import("@feathersjs/typebox").TLiteral<"initial">;
116
+ $in: import("@feathersjs/typebox").TLiteral<"initial"> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TLiteral<"initial">>;
117
+ $nin: import("@feathersjs/typebox").TLiteral<"initial"> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TLiteral<"initial">>;
118
+ }>, import("@feathersjs/typebox").TObject<{
119
+ [key: string]: import("@feathersjs/typebox").TSchema;
120
+ } | undefined>]>>]>>;
121
+ }>>, import("@feathersjs/typebox").TObject<{
122
+ $or: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
123
+ message: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
124
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
125
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
126
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
127
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
128
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
129
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>>;
130
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>>;
131
+ }>, import("@feathersjs/typebox").TObject<{
132
+ [key: string]: import("@feathersjs/typebox").TSchema;
133
+ } | undefined>]>>]>>;
134
+ template: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"initial">, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
135
+ $gt: import("@feathersjs/typebox").TLiteral<"initial">;
136
+ $gte: import("@feathersjs/typebox").TLiteral<"initial">;
137
+ $lt: import("@feathersjs/typebox").TLiteral<"initial">;
138
+ $lte: import("@feathersjs/typebox").TLiteral<"initial">;
139
+ $ne: import("@feathersjs/typebox").TLiteral<"initial">;
140
+ $in: import("@feathersjs/typebox").TLiteral<"initial"> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TLiteral<"initial">>;
141
+ $nin: import("@feathersjs/typebox").TLiteral<"initial"> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TLiteral<"initial">>;
142
+ }>, import("@feathersjs/typebox").TObject<{
143
+ [key: string]: import("@feathersjs/typebox").TSchema;
144
+ } | undefined>]>>]>>;
145
+ }>>>;
146
+ }>]>>;
147
+ $or: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
148
+ message: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
149
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
150
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
151
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
152
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
153
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
154
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>>;
155
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>>;
156
+ }>, import("@feathersjs/typebox").TObject<{
157
+ [key: string]: import("@feathersjs/typebox").TSchema;
158
+ } | undefined>]>>]>>;
159
+ template: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"initial">, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
160
+ $gt: import("@feathersjs/typebox").TLiteral<"initial">;
161
+ $gte: import("@feathersjs/typebox").TLiteral<"initial">;
162
+ $lt: import("@feathersjs/typebox").TLiteral<"initial">;
163
+ $lte: import("@feathersjs/typebox").TLiteral<"initial">;
164
+ $ne: import("@feathersjs/typebox").TLiteral<"initial">;
165
+ $in: import("@feathersjs/typebox").TLiteral<"initial"> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TLiteral<"initial">>;
166
+ $nin: import("@feathersjs/typebox").TLiteral<"initial"> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TLiteral<"initial">>;
167
+ }>, import("@feathersjs/typebox").TObject<{
168
+ [key: string]: import("@feathersjs/typebox").TSchema;
169
+ } | undefined>]>>]>>;
170
+ }>>>;
171
+ }>>, import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
172
+ message: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
173
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
174
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
175
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
176
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
177
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
178
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>>;
179
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>>;
180
+ }>, import("@feathersjs/typebox").TObject<{
181
+ [key: string]: import("@feathersjs/typebox").TSchema;
182
+ } | undefined>]>>]>>;
183
+ template: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"initial">, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
184
+ $gt: import("@feathersjs/typebox").TLiteral<"initial">;
185
+ $gte: import("@feathersjs/typebox").TLiteral<"initial">;
186
+ $lt: import("@feathersjs/typebox").TLiteral<"initial">;
187
+ $lte: import("@feathersjs/typebox").TLiteral<"initial">;
188
+ $ne: import("@feathersjs/typebox").TLiteral<"initial">;
189
+ $in: import("@feathersjs/typebox").TLiteral<"initial"> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TLiteral<"initial">>;
190
+ $nin: import("@feathersjs/typebox").TLiteral<"initial"> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TLiteral<"initial">>;
191
+ }>, import("@feathersjs/typebox").TObject<{
192
+ [key: string]: import("@feathersjs/typebox").TSchema;
193
+ } | undefined>]>>]>>;
194
+ }>>]>, import("@feathersjs/typebox").TObject<{}>]>;
195
+ export type AgentsPrepareQuery = Static<typeof agentsPrepareQuerySchema>;
196
+ export declare const agentsPrepareQueryValidator: import("@feathersjs/schema").Validator<any, any>;
197
+ export declare const agentsPrepareQueryResolver: import("@feathersjs/schema").Resolver<Partial<{
198
+ $limit: number;
199
+ $skip: number;
200
+ $sort: {
201
+ message?: number | undefined;
202
+ template?: number | undefined;
203
+ };
204
+ $select: ("message" | "template")[];
205
+ $and: ({
206
+ message?: string | Partial<{
207
+ $gt?: string | undefined;
208
+ $gte?: string | undefined;
209
+ $lt?: string | undefined;
210
+ $lte?: string | undefined;
211
+ $ne?: string | undefined;
212
+ $in: string | string[];
213
+ $nin: string | string[];
214
+ } & {}> | undefined;
215
+ template?: "initial" | Partial<{
216
+ $gt: "initial";
217
+ $gte: "initial";
218
+ $lt: "initial";
219
+ $lte: "initial";
220
+ $ne: "initial";
221
+ $in: "initial" | "initial"[];
222
+ $nin: "initial" | "initial"[];
223
+ } & {}> | undefined;
224
+ } | {
225
+ $or: {
226
+ message?: string | Partial<{
227
+ $gt?: string | undefined;
228
+ $gte?: string | undefined;
229
+ $lt?: string | undefined;
230
+ $lte?: string | undefined;
231
+ $ne?: string | undefined;
232
+ $in: string | string[];
233
+ $nin: string | string[];
234
+ } & {}> | undefined;
235
+ template?: "initial" | Partial<{
236
+ $gt: "initial";
237
+ $gte: "initial";
238
+ $lt: "initial";
239
+ $lte: "initial";
240
+ $ne: "initial";
241
+ $in: "initial" | "initial"[];
242
+ $nin: "initial" | "initial"[];
243
+ } & {}> | undefined;
244
+ }[];
245
+ })[];
246
+ $or: {
247
+ message?: string | Partial<{
248
+ $gt?: string | undefined;
249
+ $gte?: string | undefined;
250
+ $lt?: string | undefined;
251
+ $lte?: string | undefined;
252
+ $ne?: string | undefined;
253
+ $in: string | string[];
254
+ $nin: string | string[];
255
+ } & {}> | undefined;
256
+ template?: "initial" | Partial<{
257
+ $gt: "initial";
258
+ $gte: "initial";
259
+ $lt: "initial";
260
+ $lte: "initial";
261
+ $ne: "initial";
262
+ $in: "initial" | "initial"[];
263
+ $nin: "initial" | "initial"[];
264
+ } & {}> | undefined;
265
+ }[];
266
+ }> & {
267
+ message?: string | Partial<{
268
+ $gt?: string | undefined;
269
+ $gte?: string | undefined;
270
+ $lt?: string | undefined;
271
+ $lte?: string | undefined;
272
+ $ne?: string | undefined;
273
+ $in: string | string[];
274
+ $nin: string | string[];
275
+ } & {}> | undefined;
276
+ template?: "initial" | Partial<{
277
+ $gt: "initial";
278
+ $gte: "initial";
279
+ $lt: "initial";
280
+ $lte: "initial";
281
+ $ne: "initial";
282
+ $in: "initial" | "initial"[];
283
+ $nin: "initial" | "initial"[];
284
+ } & {}> | undefined;
285
+ } & {}, HookContext<AgentsPrepareService<import("./prepare.class").AgentsPrepareParams>>>;
@@ -0,0 +1,13 @@
1
+ import type { Params } from '@feathersjs/feathers';
2
+ import type { ClientApplication } from '../../../client';
3
+ import type { AgentsPrepare, AgentsPrepareData, AgentsPreparePatch, AgentsPrepareQuery, AgentsPrepareService } from './prepare.class';
4
+ export type { AgentsPrepare, AgentsPrepareData, AgentsPreparePatch, AgentsPrepareQuery };
5
+ export type AgentsPrepareClientService = Pick<AgentsPrepareService<Params<AgentsPrepareQuery>>, (typeof agentsPrepareMethods)[number]>;
6
+ export declare const agentsPreparePath = "agents/prepare";
7
+ export declare const agentsPrepareMethods: readonly ["create"];
8
+ export declare const agentsPrepareClient: (client: ClientApplication) => void;
9
+ declare module '../../../client' {
10
+ interface ServiceTypes {
11
+ [agentsPreparePath]: AgentsPrepareClientService;
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.agentsPrepareClient = exports.agentsPrepareMethods = exports.agentsPreparePath = void 0;
4
+ exports.agentsPreparePath = 'agents/prepare';
5
+ exports.agentsPrepareMethods = ['create'];
6
+ const agentsPrepareClient = (client) => {
7
+ const connection = client.get('connection');
8
+ client.use(exports.agentsPreparePath, connection.service(exports.agentsPreparePath), {
9
+ methods: exports.agentsPrepareMethods
10
+ });
11
+ };
12
+ exports.agentsPrepareClient = agentsPrepareClient;
13
+ //# sourceMappingURL=prepare.shared.js.map
@@ -0,0 +1,11 @@
1
+ import type { Params } from '@feathersjs/feathers';
2
+ import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
3
+ import { MongoDBService } from '@feathersjs/mongodb';
4
+ import type { Application } from '../../../../declarations';
5
+ import type { AgentsSessionsConversations, AgentsSessionsConversationsData, AgentsSessionsConversationsPatch, AgentsSessionsConversationsQuery } from './conversations.schema';
6
+ export type { AgentsSessionsConversations, AgentsSessionsConversationsData, AgentsSessionsConversationsPatch, AgentsSessionsConversationsQuery };
7
+ export interface AgentsSessionsConversationsParams extends MongoDBAdapterParams<AgentsSessionsConversationsQuery> {
8
+ }
9
+ export declare class AgentsSessionsConversationsService<ServiceParams extends Params = AgentsSessionsConversationsParams> extends MongoDBService<AgentsSessionsConversations, AgentsSessionsConversationsData, AgentsSessionsConversationsParams, AgentsSessionsConversationsPatch> {
10
+ }
11
+ export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
@@ -0,0 +1,11 @@
1
+ import type { Application } from '../../../../declarations';
2
+ import { AgentsSessionsConversationsService } from './conversations.class';
3
+ import { agentsSessionsConversationsPath } from './conversations.shared';
4
+ export * from './conversations.class';
5
+ export * from './conversations.schema';
6
+ export declare const agentsSessionsConversations: (app: Application) => void;
7
+ declare module '../../../../declarations' {
8
+ interface ServiceTypes {
9
+ [agentsSessionsConversationsPath]: AgentsSessionsConversationsService;
10
+ }
11
+ }