@requence/service 1.0.0-alpha.2 → 1.0.0-alpha.21

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 (88) hide show
  1. package/CHANGELOG.md +109 -0
  2. package/build/{chunk-0x9092n4.js → chunk-6w7td62p.js} +5 -44
  3. package/build/chunk-6w7td62p.js.map +10 -0
  4. package/build/cli.js +22 -11
  5. package/build/cli.js.map +3 -3
  6. package/build/index.js +556 -775
  7. package/build/index.js.map +16 -16
  8. package/build/types/helpers/src/files/RequenceFile.d.ts +40 -0
  9. package/build/types/helpers/src/files/RequenceFile.d.ts.map +1 -0
  10. package/build/types/helpers/src/files/RequenceStream.d.ts +32 -0
  11. package/build/types/helpers/src/files/RequenceStream.d.ts.map +1 -0
  12. package/build/types/helpers/src/files/fileObject.d.ts +16 -0
  13. package/build/types/helpers/src/files/fileObject.d.ts.map +1 -0
  14. package/build/types/helpers/src/files/index.d.ts +7 -0
  15. package/build/types/helpers/src/files/index.d.ts.map +1 -0
  16. package/build/types/helpers/src/files/isValidMimeType.d.ts +5 -0
  17. package/build/types/helpers/src/files/isValidMimeType.d.ts.map +1 -0
  18. package/build/types/helpers/src/files/mapOutput.d.ts +10 -0
  19. package/build/types/helpers/src/files/mapOutput.d.ts.map +1 -0
  20. package/build/types/helpers/src/files/streamObject.d.ts +14 -0
  21. package/build/types/helpers/src/files/streamObject.d.ts.map +1 -0
  22. package/build/types/helpers/src/files/types.d.ts +4 -0
  23. package/build/types/helpers/src/files/types.d.ts.map +1 -0
  24. package/build/types/helpers/src/index.d.ts +9 -6
  25. package/build/types/helpers/src/index.d.ts.map +1 -1
  26. package/build/types/helpers/src/jsonschema/mapSchema.d.ts +20 -0
  27. package/build/types/helpers/src/jsonschema/mapSchema.d.ts.map +1 -0
  28. package/build/types/helpers/src/jsonschema/types.d.ts +11 -0
  29. package/build/types/helpers/src/jsonschema/types.d.ts.map +1 -0
  30. package/build/types/helpers/src/jsonschema/validate.d.ts +29 -0
  31. package/build/types/helpers/src/jsonschema/validate.d.ts.map +1 -0
  32. package/build/types/helpers/src/jsonschema/zod.d.ts +12 -0
  33. package/build/types/helpers/src/jsonschema/zod.d.ts.map +1 -0
  34. package/build/types/helpers/src/protocol/NodeTree.d.ts +504 -0
  35. package/build/types/helpers/src/protocol/NodeTree.d.ts.map +1 -0
  36. package/build/types/helpers/src/protocol/command.d.ts +420 -0
  37. package/build/types/helpers/src/protocol/command.d.ts.map +1 -0
  38. package/build/types/helpers/src/protocol/helpers.d.ts +5 -0
  39. package/build/types/helpers/src/protocol/helpers.d.ts.map +1 -0
  40. package/build/types/helpers/src/protocol/index.d.ts +8 -0
  41. package/build/types/helpers/src/protocol/index.d.ts.map +1 -0
  42. package/build/types/helpers/src/protocol/nodeType.d.ts +283 -0
  43. package/build/types/helpers/src/protocol/nodeType.d.ts.map +1 -0
  44. package/build/types/helpers/src/protocol/targetNodes.d.ts +253 -0
  45. package/build/types/helpers/src/protocol/targetNodes.d.ts.map +1 -0
  46. package/build/types/helpers/src/protocol/taskOptions.d.ts +17 -0
  47. package/build/types/helpers/src/protocol/taskOptions.d.ts.map +1 -0
  48. package/build/types/helpers/src/protocol/treeNodes.d.ts +606 -0
  49. package/build/types/helpers/src/protocol/treeNodes.d.ts.map +1 -0
  50. package/build/types/helpers/src/protocol/update.d.ts +264 -0
  51. package/build/types/helpers/src/protocol/update.d.ts.map +1 -0
  52. package/build/types/helpers/src/utils/callbackToAsyncIterator.d.ts +3 -0
  53. package/build/types/helpers/src/utils/callbackToAsyncIterator.d.ts.map +1 -0
  54. package/build/types/helpers/src/utils/clone.d.ts +3 -0
  55. package/build/types/helpers/src/utils/clone.d.ts.map +1 -0
  56. package/build/types/helpers/src/utils/createObjectProxy.d.ts +2 -0
  57. package/build/types/helpers/src/utils/createObjectProxy.d.ts.map +1 -0
  58. package/build/types/helpers/src/{createRemotePromise.d.ts → utils/createRemotePromise.d.ts} +1 -1
  59. package/build/types/helpers/src/utils/createRemotePromise.d.ts.map +1 -0
  60. package/build/types/helpers/src/utils/isRecord.d.ts +2 -0
  61. package/build/types/helpers/src/utils/isRecord.d.ts.map +1 -0
  62. package/build/types/helpers/src/utils/mapData.d.ts +17 -0
  63. package/build/types/helpers/src/utils/mapData.d.ts.map +1 -0
  64. package/build/types/helpers/src/{utils.d.ts → utils/matchSchema.d.ts} +2 -2
  65. package/build/types/helpers/src/utils/matchSchema.d.ts.map +1 -0
  66. package/build/types/helpers/src/utils/obfuscate.d.ts.map +1 -0
  67. package/build/types/helpers/src/utils/resolveRequenceTypes.d.ts +2 -0
  68. package/build/types/helpers/src/utils/resolveRequenceTypes.d.ts.map +1 -0
  69. package/build/types/helpers/src/utils/types.d.ts +4 -0
  70. package/build/types/helpers/src/utils/types.d.ts.map +1 -0
  71. package/build/types/service/src/createAmqpConnection.d.ts +17 -18
  72. package/build/types/service/src/createAmqpConnection.d.ts.map +1 -1
  73. package/build/types/service/src/helpers.d.ts +13 -88
  74. package/build/types/service/src/helpers.d.ts.map +1 -1
  75. package/build/types/service/src/index.d.ts +7 -5
  76. package/build/types/service/src/index.d.ts.map +1 -1
  77. package/build/types/service/src/mapInput.d.ts +2 -0
  78. package/build/types/service/src/mapInput.d.ts.map +1 -0
  79. package/package.json +7 -8
  80. package/build/chunk-0x9092n4.js.map +0 -12
  81. package/build/types/helpers/src/clone.d.ts +0 -3
  82. package/build/types/helpers/src/clone.d.ts.map +0 -1
  83. package/build/types/helpers/src/createObjectProxy.d.ts +0 -2
  84. package/build/types/helpers/src/createObjectProxy.d.ts.map +0 -1
  85. package/build/types/helpers/src/createRemotePromise.d.ts.map +0 -1
  86. package/build/types/helpers/src/obfuscate.d.ts.map +0 -1
  87. package/build/types/helpers/src/utils.d.ts.map +0 -1
  88. /package/build/types/helpers/src/{obfuscate.d.ts → utils/obfuscate.d.ts} +0 -0
@@ -0,0 +1,264 @@
1
+ import { z } from 'zod/v4';
2
+ declare const nodeStartUpdateSchema: z.ZodObject<{
3
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
4
+ id: z.ZodUUID;
5
+ node: z.ZodObject<{
6
+ id: z.ZodUUID;
7
+ type: z.ZodEnum<{
8
+ service: "service";
9
+ logic: "logic";
10
+ or: "or";
11
+ reference: "reference";
12
+ }>;
13
+ alias: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strip>;
15
+ type: z.ZodLiteral<"NODE_START">;
16
+ triggers: z.ZodArray<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ export type NodeStartUpdate = z.infer<typeof nodeStartUpdateSchema>;
19
+ declare const nodeErrorUpdateSchema: z.ZodObject<{
20
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
21
+ id: z.ZodUUID;
22
+ node: z.ZodObject<{
23
+ id: z.ZodUUID;
24
+ type: z.ZodEnum<{
25
+ service: "service";
26
+ logic: "logic";
27
+ or: "or";
28
+ reference: "reference";
29
+ }>;
30
+ alias: z.ZodOptional<z.ZodString>;
31
+ }, z.core.$strip>;
32
+ type: z.ZodLiteral<"NODE_ERROR">;
33
+ error: z.ZodString;
34
+ }, z.core.$strip>;
35
+ export type NodeErrorUpdate = z.infer<typeof nodeErrorUpdateSchema>;
36
+ declare const nodeUpdateSchema: z.ZodObject<{
37
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
38
+ id: z.ZodUUID;
39
+ node: z.ZodObject<{
40
+ id: z.ZodUUID;
41
+ type: z.ZodEnum<{
42
+ service: "service";
43
+ logic: "logic";
44
+ or: "or";
45
+ reference: "reference";
46
+ }>;
47
+ alias: z.ZodOptional<z.ZodString>;
48
+ }, z.core.$strip>;
49
+ type: z.ZodLiteral<"NODE_UPDATE">;
50
+ output: z.ZodNullable<z.ZodString>;
51
+ data: z.ZodUnknown;
52
+ }, z.core.$strip>;
53
+ export type NodeUpdate = z.infer<typeof nodeUpdateSchema>;
54
+ declare const nodeFinishedUpdateSchema: z.ZodObject<{
55
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
56
+ id: z.ZodUUID;
57
+ node: z.ZodObject<{
58
+ id: z.ZodUUID;
59
+ type: z.ZodEnum<{
60
+ service: "service";
61
+ logic: "logic";
62
+ or: "or";
63
+ reference: "reference";
64
+ }>;
65
+ alias: z.ZodOptional<z.ZodString>;
66
+ }, z.core.$strip>;
67
+ type: z.ZodLiteral<"NODE_FINISHED">;
68
+ }, z.core.$strip>;
69
+ export type NodeFinishedUpdate = z.infer<typeof nodeFinishedUpdateSchema>;
70
+ declare const nodeDebugUpdateSchema: z.ZodObject<{
71
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
72
+ id: z.ZodUUID;
73
+ node: z.ZodObject<{
74
+ id: z.ZodUUID;
75
+ type: z.ZodEnum<{
76
+ service: "service";
77
+ logic: "logic";
78
+ or: "or";
79
+ reference: "reference";
80
+ }>;
81
+ alias: z.ZodOptional<z.ZodString>;
82
+ }, z.core.$strip>;
83
+ type: z.ZodLiteral<"NODE_DEBUG">;
84
+ severity: z.ZodEnum<{
85
+ error: "error";
86
+ log: "log";
87
+ info: "info";
88
+ warn: "warn";
89
+ system: "system";
90
+ }>;
91
+ data: z.ZodUnknown;
92
+ }, z.core.$strip>;
93
+ export type NodeDebugUpdate = z.infer<typeof nodeDebugUpdateSchema>;
94
+ declare const nodeDeferUpdateSchema: z.ZodObject<{
95
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
96
+ id: z.ZodUUID;
97
+ node: z.ZodObject<{
98
+ id: z.ZodUUID;
99
+ type: z.ZodEnum<{
100
+ service: "service";
101
+ logic: "logic";
102
+ or: "or";
103
+ reference: "reference";
104
+ }>;
105
+ alias: z.ZodOptional<z.ZodString>;
106
+ }, z.core.$strip>;
107
+ type: z.ZodLiteral<"NODE_DEFER">;
108
+ reason: z.ZodUnknown;
109
+ }, z.core.$strip>;
110
+ export type NodeDeferUpdate = z.infer<typeof nodeDeferUpdateSchema>;
111
+ declare const taskStartUpdateSchema: z.ZodObject<{
112
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
113
+ id: z.ZodUUID;
114
+ type: z.ZodLiteral<"TASK_START">;
115
+ parentTask: z.ZodDefault<z.ZodNullable<z.ZodObject<{
116
+ taskId: z.ZodUUID;
117
+ nodeId: z.ZodUUID;
118
+ messageId: z.ZodUUID;
119
+ }, z.core.$strip>>>;
120
+ input: z.ZodUnknown;
121
+ }, z.core.$strip>;
122
+ export type TaskStartUpdate = z.infer<typeof taskStartUpdateSchema>;
123
+ declare const taskErrorUpdateSchema: z.ZodObject<{
124
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
125
+ id: z.ZodUUID;
126
+ type: z.ZodLiteral<"TASK_ERROR">;
127
+ reason: z.ZodOptional<z.ZodString>;
128
+ }, z.core.$strip>;
129
+ export type TaskErrorUpdate = z.infer<typeof taskErrorUpdateSchema>;
130
+ declare const taskFinishedUpdateSchema: z.ZodObject<{
131
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
132
+ id: z.ZodUUID;
133
+ type: z.ZodLiteral<"TASK_FINISHED">;
134
+ exitName: z.ZodNullable<z.ZodString>;
135
+ result: z.ZodRecord<z.ZodString, z.ZodUnknown>;
136
+ }, z.core.$strip>;
137
+ export type TaskFinishedUpdate = z.infer<typeof taskFinishedUpdateSchema>;
138
+ export declare const updateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
139
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
140
+ id: z.ZodUUID;
141
+ node: z.ZodObject<{
142
+ id: z.ZodUUID;
143
+ type: z.ZodEnum<{
144
+ service: "service";
145
+ logic: "logic";
146
+ or: "or";
147
+ reference: "reference";
148
+ }>;
149
+ alias: z.ZodOptional<z.ZodString>;
150
+ }, z.core.$strip>;
151
+ type: z.ZodLiteral<"NODE_START">;
152
+ triggers: z.ZodArray<z.ZodString>;
153
+ }, z.core.$strip>, z.ZodObject<{
154
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
155
+ id: z.ZodUUID;
156
+ node: z.ZodObject<{
157
+ id: z.ZodUUID;
158
+ type: z.ZodEnum<{
159
+ service: "service";
160
+ logic: "logic";
161
+ or: "or";
162
+ reference: "reference";
163
+ }>;
164
+ alias: z.ZodOptional<z.ZodString>;
165
+ }, z.core.$strip>;
166
+ type: z.ZodLiteral<"NODE_ERROR">;
167
+ error: z.ZodString;
168
+ }, z.core.$strip>, z.ZodObject<{
169
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
170
+ id: z.ZodUUID;
171
+ node: z.ZodObject<{
172
+ id: z.ZodUUID;
173
+ type: z.ZodEnum<{
174
+ service: "service";
175
+ logic: "logic";
176
+ or: "or";
177
+ reference: "reference";
178
+ }>;
179
+ alias: z.ZodOptional<z.ZodString>;
180
+ }, z.core.$strip>;
181
+ type: z.ZodLiteral<"NODE_UPDATE">;
182
+ output: z.ZodNullable<z.ZodString>;
183
+ data: z.ZodUnknown;
184
+ }, z.core.$strip>, z.ZodObject<{
185
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
186
+ id: z.ZodUUID;
187
+ node: z.ZodObject<{
188
+ id: z.ZodUUID;
189
+ type: z.ZodEnum<{
190
+ service: "service";
191
+ logic: "logic";
192
+ or: "or";
193
+ reference: "reference";
194
+ }>;
195
+ alias: z.ZodOptional<z.ZodString>;
196
+ }, z.core.$strip>;
197
+ type: z.ZodLiteral<"NODE_FINISHED">;
198
+ }, z.core.$strip>, z.ZodObject<{
199
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
200
+ id: z.ZodUUID;
201
+ node: z.ZodObject<{
202
+ id: z.ZodUUID;
203
+ type: z.ZodEnum<{
204
+ service: "service";
205
+ logic: "logic";
206
+ or: "or";
207
+ reference: "reference";
208
+ }>;
209
+ alias: z.ZodOptional<z.ZodString>;
210
+ }, z.core.$strip>;
211
+ type: z.ZodLiteral<"NODE_DEBUG">;
212
+ severity: z.ZodEnum<{
213
+ error: "error";
214
+ log: "log";
215
+ info: "info";
216
+ warn: "warn";
217
+ system: "system";
218
+ }>;
219
+ data: z.ZodUnknown;
220
+ }, z.core.$strip>, z.ZodObject<{
221
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
222
+ id: z.ZodUUID;
223
+ node: z.ZodObject<{
224
+ id: z.ZodUUID;
225
+ type: z.ZodEnum<{
226
+ service: "service";
227
+ logic: "logic";
228
+ or: "or";
229
+ reference: "reference";
230
+ }>;
231
+ alias: z.ZodOptional<z.ZodString>;
232
+ }, z.core.$strip>;
233
+ type: z.ZodLiteral<"NODE_DEFER">;
234
+ reason: z.ZodUnknown;
235
+ }, z.core.$strip>, z.ZodObject<{
236
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
237
+ id: z.ZodUUID;
238
+ type: z.ZodLiteral<"TASK_START">;
239
+ parentTask: z.ZodDefault<z.ZodNullable<z.ZodObject<{
240
+ taskId: z.ZodUUID;
241
+ nodeId: z.ZodUUID;
242
+ messageId: z.ZodUUID;
243
+ }, z.core.$strip>>>;
244
+ input: z.ZodUnknown;
245
+ }, z.core.$strip>, z.ZodObject<{
246
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
247
+ id: z.ZodUUID;
248
+ type: z.ZodLiteral<"TASK_ERROR">;
249
+ reason: z.ZodOptional<z.ZodString>;
250
+ }, z.core.$strip>, z.ZodObject<{
251
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
252
+ id: z.ZodUUID;
253
+ type: z.ZodLiteral<"TASK_FINISHED">;
254
+ exitName: z.ZodNullable<z.ZodString>;
255
+ result: z.ZodRecord<z.ZodString, z.ZodUnknown>;
256
+ }, z.core.$strip>, z.ZodObject<{
257
+ timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>;
258
+ id: z.ZodUUID;
259
+ type: z.ZodLiteral<"TASK_ABORTED">;
260
+ reason: z.ZodOptional<z.ZodString>;
261
+ }, z.core.$strip>]>;
262
+ export type Update = z.infer<typeof updateSchema>;
263
+ export {};
264
+ //# sourceMappingURL=update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAkB1B,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;iBAGzB,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEnE,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;iBAGzB,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEnE,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;iBAIpB,CAAA;AAEF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEzD,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;iBAE5B,CAAA;AAEF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAEzE,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;iBAIzB,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEnE,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;iBAGzB,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEnE,QAAA,MAAM,qBAAqB;;;;;;;;;;iBAWzB,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEnE,QAAA,MAAM,qBAAqB;;;;;iBAGzB,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEnE,QAAA,MAAM,wBAAwB;;;;;;iBAI5B,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAOzE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAWvB,CAAA;AAEF,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare function callbackToAsyncIterator<T>(subscribe: (push: (value: T) => void, fail: (error: Error) => void, end: () => void) => void): AsyncIterator<T>;
2
+ export declare function callbackToAsyncIterable<T>(...args: Parameters<typeof callbackToAsyncIterator<T>>): AsyncIterable<T>;
3
+ //# sourceMappingURL=callbackToAsyncIterator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callbackToAsyncIterator.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/callbackToAsyncIterator.ts"],"names":[],"mappings":"AAEA,wBAAgB,uBAAuB,CAAC,CAAC,EACvC,SAAS,EAAE,CACT,IAAI,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,EACxB,IAAI,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,EAC5B,GAAG,EAAE,MAAM,IAAI,KACZ,IAAI,GACR,aAAa,CAAC,CAAC,CAAC,CAgDlB;AAED,wBAAgB,uBAAuB,CAAC,CAAC,EACvC,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC,CAAC,CAAC,GACrD,aAAa,CAAC,CAAC,CAAC,CAMlB"}
@@ -0,0 +1,3 @@
1
+ export declare const CLONE_SYMBOL: unique symbol;
2
+ export declare function clone(data: any): any;
3
+ //# sourceMappingURL=clone.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/clone.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,eAAqB,CAAA;AAE9C,wBAAgB,KAAK,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,CAiBpC"}
@@ -0,0 +1,2 @@
1
+ export declare function createObjectProxy(obj: Record<string, unknown>, onChange: (newObj: Record<string, unknown>) => void): Record<string, unknown>;
2
+ //# sourceMappingURL=createObjectProxy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createObjectProxy.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/createObjectProxy.ts"],"names":[],"mappings":"AAEA,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC5B,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,2BA2BpD"}
@@ -1,4 +1,4 @@
1
- export default function createRemotePromise<T = void>(onAwait?: (resolve: (value: T) => void, reject: (error: any) => void) => void | Promise<void>): Promise<T> & {
1
+ export declare function createRemotePromise<T = void>(onAwait?: (resolve: (value: T) => void, reject: (error: any) => void) => void | Promise<void>): Promise<T> & {
2
2
  resolve: (value: T | PromiseLike<T>) => void;
3
3
  reject: (reason?: any) => void;
4
4
  promise: Promise<T>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRemotePromise.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/createRemotePromise.ts"],"names":[],"mappings":"AAAA,wBAAgB,mBAAmB,CAAC,CAAC,GAAG,IAAI,EAC1C,OAAO,CAAC,EAAE,CACR,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,EAC3B,MAAM,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,KACzB,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;qBAEI,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,KAAK,IAAI;sBAC1B,GAAG,KAAK,IAAI;;EAgC3C;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare function isRecord(data: unknown): data is Record<string, unknown>;
2
+ //# sourceMappingURL=isRecord.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isRecord.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/isRecord.ts"],"names":[],"mappings":"AAGA,wBAAgB,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEvE"}
@@ -0,0 +1,17 @@
1
+ type DataVistor<T> = (data: T, path: Array<string | number>) => Promise<any> | any;
2
+ interface DataVistors {
3
+ Null?: DataVistor<null>;
4
+ String?: DataVistor<string>;
5
+ Number?: DataVistor<number>;
6
+ Object?: DataVistor<object>;
7
+ Array?: DataVistor<Array<any>>;
8
+ Buffer?: DataVistor<Buffer>;
9
+ Symbol?: DataVistor<symbol>;
10
+ }
11
+ type HasPromiseVistor<T extends DataVistors, Then, Else> = T[keyof T] extends (...args: any[]) => any ? Promise<any> extends ReturnType<T[keyof T]> ? Then : Else : Else;
12
+ export declare function mapData<Output, Input = unknown, V extends DataVistors = DataVistors>(data: Input, visitors: V): HasPromiseVistor<V, Promise<unknown extends Output ? Input : Output>, unknown extends Output ? Input : Output>;
13
+ export declare namespace mapData {
14
+ var abort: () => never;
15
+ }
16
+ export {};
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AAC,EAChD,OAAO,SAAS,MAAM,GAAG,KAAK,GAAG,MAAM,CACxC,CA2EA;yBAtFe,OAAO"}
@@ -1,4 +1,4 @@
1
- import type { z } from 'zod';
1
+ import type { z } from 'zod/v4';
2
2
  export declare function matchSchema<Schema extends z.ZodSchema>(schema: Schema, input: unknown): input is z.infer<Schema>;
3
3
  export declare function matchSchema<Schema extends z.ZodSchema>(schema: Schema): (input: unknown) => input is z.infer<Schema>;
4
- //# sourceMappingURL=utils.d.ts.map
4
+ //# sourceMappingURL=matchSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"matchSchema.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/matchSchema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE/B,wBAAgB,WAAW,CAAC,MAAM,SAAS,CAAC,CAAC,SAAS,EACpD,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;AAC3B,wBAAgB,WAAW,CAAC,MAAM,SAAS,CAAC,CAAC,SAAS,EACpD,MAAM,EAAE,MAAM,GACb,CAAC,KAAK,EAAE,OAAO,KAAK,KAAK,IAAI,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"obfuscate.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/obfuscate.ts"],"names":[],"mappings":"AAUA,wBAAgB,SAAS,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,UA0BhD;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,UAU1C;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,YA4BtC"}
@@ -0,0 +1,2 @@
1
+ export declare function resolveRequenceTypes(data: any): any;
2
+ //# sourceMappingURL=resolveRequenceTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveRequenceTypes.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/resolveRequenceTypes.ts"],"names":[],"mappings":"AAQA,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,OAY7C"}
@@ -0,0 +1,4 @@
1
+ export type Prettify<T> = {
2
+ [K in keyof T]: T[K];
3
+ } & {};
4
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/utils/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;KACvB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,GAAG,EAAE,CAAA"}
@@ -1,19 +1,17 @@
1
- import { type ExtendendContextHelper, type JSONValue } from './helpers.ts';
2
- type Input<V extends keyof Requence.Version> = Requence.Version[V]['input'];
3
- type Configuration<V extends keyof Requence.Version> = Requence.Version[V]['configuration'];
4
- type OutputName<V extends keyof Requence.Version, K = keyof Requence.Version[V]['outputs']> = K extends '__default__' ? null : K;
5
- type OutputValue<V extends keyof Requence.Version, O extends OutputName<V> | null> = Requence.Version[V]['outputs'][O extends null ? '__default__' : O];
6
- interface ServiceContextHelper<V extends keyof Requence.Version> extends Omit<ExtendendContextHelper, 'getData' | 'getConfiguration' | 'toOutput'> {
7
- getData: {
8
- (): Input<V>;
9
- (alias?: string): unknown;
10
- };
11
- getConfiguration(): Configuration<V>;
1
+ import { type AmqpConnectionManagerOptions } from 'amqp-connection-manager';
2
+ import { type ContextHelper, type JSONValue } from './helpers.ts';
3
+ type Input<V extends keyof RequenceService.Version> = RequenceService.Version[V]['input'];
4
+ type Configuration<V extends keyof RequenceService.Version> = RequenceService.Version[V]['configuration'];
5
+ type OutputName<V extends keyof RequenceService.Version, K = keyof RequenceService.Version[V]['outputs']> = K extends '__default__' ? null : K;
6
+ type OutputValue<V extends keyof RequenceService.Version, O extends OutputName<V> | null> = RequenceService.Version[V]['outputs'][O extends null ? '__default__' : O];
7
+ interface ServiceContextHelper<V extends keyof RequenceService.Version> extends Omit<ContextHelper, 'input' | 'configuration' | 'getData' | 'getConfiguration' | 'toOutput'> {
8
+ input: Input<V>;
9
+ configuration: Configuration<V>;
12
10
  toOutput<O extends OutputName<V>>(name: O, value: OutputValue<V, O>): '__output_value__';
13
11
  }
14
- type ReturnValue<V extends keyof Requence.Version> = ReturnType<ServiceContextHelper<V>['toOutput']> | OutputValue<V, null> | '__output_value__';
15
- type ApiOutputName<V> = V extends keyof Requence.Version ? OutputName<V> : string | null;
16
- type ApiOutputValue<V, O> = V extends keyof Requence.Version ? O extends OutputName<V> ? OutputValue<V, O> : unknown : unknown;
12
+ type ReturnValue<V extends keyof RequenceService.Version> = ReturnType<ServiceContextHelper<V>['toOutput']> | OutputValue<V, null> | '__output_value__';
13
+ type ApiOutputName<V> = V extends keyof RequenceService.Version ? OutputName<V> : string | null;
14
+ type ApiOutputValue<V, O> = V extends keyof RequenceService.Version ? O extends OutputName<V> ? OutputValue<V, O> : unknown : unknown;
17
15
  interface ActorApi<V> {
18
16
  sendToOutput<O extends ApiOutputName<V>>(outputName: O, data: ApiOutputValue<V, O>): void;
19
17
  send(data: ApiOutputValue<V, null>): void;
@@ -31,13 +29,14 @@ interface ConnectionOptions {
31
29
  connectionTimeout: number;
32
30
  prefetch?: number;
33
31
  silent?: boolean;
32
+ connectionOptions?: AmqpConnectionManagerOptions['connectionOptions'];
34
33
  }
35
- type MessageHandlerContext<V> = V extends keyof Requence.Version ? ServiceContextHelper<V> : ExtendendContextHelper;
36
- type MessageHandlerReturnValue<V> = V extends keyof Requence.Version ? ReturnValue<V> : JSONValue;
34
+ type MessageHandlerContext<V> = V extends keyof RequenceService.Version ? ServiceContextHelper<V> : ContextHelper;
35
+ type MessageHandlerReturnValue<V> = V extends keyof RequenceService.Version ? ReturnValue<V> : JSONValue;
37
36
  type MessageHandlerFunction<V> = (context: MessageHandlerContext<V>) => MaybePromise<MessageHandlerReturnValue<V> | void>;
38
37
  type MessageHandlerGenerator<V> = (context: MessageHandlerContext<V>) => Generator<MessageHandlerReturnValue<V>, MessageHandlerReturnValue<V>, void>;
39
38
  type MessageHandlerAsyncGenerator<V> = (context: MessageHandlerContext<V>) => AsyncGenerator<MessageHandlerReturnValue<V>, MessageHandlerReturnValue<V>, void>;
40
- export type MessageHandler<V> = MessageHandlerAsyncGenerator<V> | MessageHandlerGenerator<V> | MessageHandlerFunction<V>;
41
- export default function createConnection<V>({ url, version, prefetch, silent, connectionTimeout, }: ConnectionOptions, messageHandler: MessageHandler<V>): ConnectionApi<V>;
39
+ export type MessageHandler<V> = V extends keyof RequenceService.Version ? RequenceService.Version[V]['mode'] extends 'linear' ? MessageHandlerFunction<V> : MessageHandlerAsyncGenerator<V> | MessageHandlerGenerator<V> | MessageHandlerFunction<V> : MessageHandlerAsyncGenerator<V> | MessageHandlerGenerator<V> | MessageHandlerFunction<V>;
40
+ export default function createConnection<V>({ url, version, prefetch, silent, connectionTimeout, connectionOptions, }: ConnectionOptions, messageHandler: MessageHandler<V>): ConnectionApi<V>;
42
41
  export {};
43
42
  //# sourceMappingURL=createAmqpConnection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createAmqpConnection.d.ts","sourceRoot":"","sources":["../../../../src/createAmqpConnection.ts"],"names":[],"mappings":"AAOA,OAAoC,EAElC,KAAK,sBAAsB,EAC3B,KAAK,SAAS,EAGf,MAAM,cAAc,CAAA;AAErB,KAAK,KAAK,CAAC,CAAC,SAAS,MAAM,QAAQ,CAAC,OAAO,IAAI,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;AAC3E,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,QAAQ,CAAC,OAAO,IACjD,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAA;AACtC,KAAK,UAAU,CACb,CAAC,SAAS,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,CAAC,CAAC,CAAC,GAC1B,sBAAsB,CAAC,CAAC,CAAC,CAAA;AAcjC,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,CAAC,EACxC,EACE,GAAG,EACH,OAAO,EACP,QAAY,EACZ,MAAc,EACd,iBAAiB,EACjB,iBAAiB,GAClB,EAAE,iBAAiB,EACpB,cAAc,EAAE,cAAc,CAAC,CAAC,CAAC,oBAoXlC"}
@@ -1,5 +1,4 @@
1
- import { type Context } from '@requence/helpers/context';
2
- import type { Nodes, ServiceNode } from '@requence/helpers/protocol';
1
+ import type { TaskOptions } from '../../helpers/src/protocol/index.js';
3
2
  export type JSONValue = string | number | boolean | {
4
3
  [x: string]: JSONValue;
5
4
  } | Array<JSONValue> | null;
@@ -7,6 +6,8 @@ export declare class RetryError extends Error {
7
6
  delay?: number | undefined;
8
7
  constructor(delay?: number | undefined);
9
8
  }
9
+ export declare class SkipError extends Error {
10
+ }
10
11
  export declare class AbortError extends Error {
11
12
  }
12
13
  declare const OUTPUT_VALUE: unique symbol;
@@ -14,99 +15,22 @@ type OutputValue = {
14
15
  [OUTPUT_VALUE]: string | null;
15
16
  value: any;
16
17
  };
17
- export declare function unwrapResult(result: unknown): {
18
- value: any;
18
+ export declare function unwrapResult(result: unknown, options: Pick<TaskOptions, 'uploadUrl' | 'streamUrl'>, onDone: () => void): Promise<{
19
+ value: unknown;
19
20
  outputName: string | null;
20
- };
21
- export default function createExtendedContextHelper(options: {
22
- serviceId: string;
21
+ }>;
22
+ export default function createContextHelper(options: {
23
23
  taskId: string;
24
- context: Context;
25
- nodes: Nodes;
26
- state: Record<string, any>;
24
+ input: unknown;
25
+ configuration: unknown;
27
26
  onLog: (method: 'log' | 'warn' | 'info' | 'error', data: any[]) => void;
28
27
  onDefer: (reason?: string) => string;
29
- onStateChange: (newObj: Record<string, unknown>) => void;
30
28
  }): {
31
- internal: {
32
- results: Map<string, {
33
- node: {
34
- type: "entry";
35
- id: "__entry__";
36
- output: import("@requence/helpers/protocol").Output[];
37
- inputSchema?: import("json-schema").JSONSchema7 | null | undefined;
38
- metaSchema?: import("json-schema").JSONSchema7 | null | undefined;
39
- meta?: Record<string, any> | undefined;
40
- } | {
41
- type: "service";
42
- id: string;
43
- name: string;
44
- output: import("@requence/helpers/protocol").Output[];
45
- version: string;
46
- inputSchema?: {
47
- type: "object";
48
- properties: Record<string, import("json-schema").JSONSchema7>;
49
- required?: string[] | undefined;
50
- description?: string | undefined;
51
- maxProperties?: number | undefined;
52
- minProperties?: number | undefined;
53
- additionalProperties?: boolean | undefined;
54
- } | null | undefined;
55
- meta?: Record<string, any> | undefined;
56
- configuration?: any;
57
- configurationSchema?: import("json-schema").JSONSchema7 | null | undefined;
58
- alias?: string | undefined;
59
- ttl?: number | undefined;
60
- retry?: number | undefined;
61
- retryDelay?: number | undefined;
62
- } | {
63
- type: "catch";
64
- id: string;
65
- output: import("@requence/helpers/protocol").Output[];
66
- subject: string;
67
- meta?: Record<string, any> | undefined;
68
- } | {
69
- type: "logic";
70
- id: string;
71
- output: import("@requence/helpers/protocol").Output[];
72
- script: string;
73
- concurrency: boolean;
74
- language: "javascript" | "python" | "typescript";
75
- maxExecutionTime: number;
76
- inputSchema?: {
77
- type: "object";
78
- properties: Record<string, import("json-schema").JSONSchema7>;
79
- required?: string[] | undefined;
80
- description?: string | undefined;
81
- maxProperties?: number | undefined;
82
- minProperties?: number | undefined;
83
- additionalProperties?: boolean | undefined;
84
- } | null | undefined;
85
- meta?: Record<string, any> | undefined;
86
- alias?: string | undefined;
87
- } | {
88
- type: "or";
89
- id: string;
90
- output: import("@requence/helpers/protocol").Output[];
91
- meta?: Record<string, any> | undefined;
92
- alias?: string | undefined;
93
- };
94
- executionDate: Date | null;
95
- data: any;
96
- error: string;
97
- }>;
98
- };
99
- getInput(): unknown;
100
- getMeta(): unknown;
101
- getData(alias?: string): any;
102
- getError(alias: string): string | null;
103
- } & {
104
29
  taskId: string;
30
+ input: any;
31
+ configuration: any;
105
32
  toOutput(name: string | null, value: unknown): OutputValue;
106
33
  defer: (reason?: string) => string;
107
- getConfiguration(): unknown;
108
- getNode(): ServiceNode;
109
- state: Record<string, any>;
110
34
  debug: {
111
35
  log(...data: any[]): void;
112
36
  info(...data: any[]): void;
@@ -115,7 +39,8 @@ export default function createExtendedContextHelper(options: {
115
39
  };
116
40
  retry(delay?: number): never;
117
41
  abort(reason?: string): never;
42
+ skip(): never;
118
43
  };
119
- export type ExtendendContextHelper = ReturnType<typeof createExtendedContextHelper>;
44
+ export type ContextHelper = ReturnType<typeof createContextHelper>;
120
45
  export {};
121
46
  //# sourceMappingURL=helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/helpers.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,OAAO,EAGb,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAEpE,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,MAAM,GACN,OAAO,GACP;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GAC1B,KAAK,CAAC,SAAS,CAAC,GAChB,IAAI,CAAA;AAER,qBAAa,UAAW,SAAQ,KAAK;IAChB,KAAK,CAAC,EAAE,MAAM;gBAAd,KAAK,CAAC,EAAE,MAAM,YAAA;CAGlC;AAED,qBAAa,UAAW,SAAQ,KAAK;CAAG;AAExC,QAAA,MAAM,YAAY,eAAyB,CAAA;AAE3C,KAAK,WAAW,GAAG;IACjB,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,KAAK,EAAE,GAAG,CAAA;CACX,CAAA;AAMD,wBAAgB,YAAY,CAAC,MAAM,EAAE,OAAO;;;EAK3C;AAED,MAAM,CAAC,OAAO,UAAU,2BAA2B,CAAC,OAAO,EAAE;IAC3D,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,C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CAGlC;AAED,qBAAa,SAAU,SAAQ,KAAK;CAAG;AAEvC,qBAAa,UAAW,SAAQ,KAAK;CAAG;AAExC,QAAA,MAAM,YAAY,eAAyB,CAAA;AAE3C,KAAK,WAAW,GAAG;IACjB,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,KAAK,EAAE,GAAG,CAAA;CACX,CAAA;AAMD,wBAAsB,YAAY,CAChC,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,WAAW,CAAC,EACrD,MAAM,EAAE,MAAM,IAAI;;;GAYnB;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,OAAO,EAAE;IACnD,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,OAAO,CAAA;IACd,aAAa,EAAE,OAAO,CAAA;IACtB,KAAK,EAAE,CAAC,MAAM,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAA;IACvE,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,MAAM,CAAA;CACrC;;;;mBAMkB,MAAM,GAAG,IAAI,SAAS,OAAO,GAAG,WAAW;qBAPzC,MAAM,KAAK,MAAM;;qBAgBnB,GAAG,EAAE;sBAGJ,GAAG,EAAE;sBAGL,GAAG,EAAE;uBAGJ,GAAG,EAAE;;kBAIR,MAAM;mBAGL,MAAM;;EAOxB;AAED,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAA"}
@@ -1,13 +1,15 @@
1
+ import type { AmqpConnectionManagerOptions } from 'amqp-connection-manager';
1
2
  import { type ConnectionApi, type MessageHandler } from './createAmqpConnection.ts';
2
- export type ServiceApi<V extends keyof Requence.Version | (string & {})> = ConnectionApi<V>;
3
+ export { RequenceFile, RequenceStream } from '../../helpers/src/files/index.js';
4
+ export type ServiceApi<V extends keyof RequenceService.Version | (string & {})> = ConnectionApi<V>;
3
5
  interface ServiceOptions<V extends string> {
4
- serviceKey?: string;
6
+ accessToken?: string;
5
7
  version: V;
6
8
  prefetch?: number;
7
9
  connectionTimeout?: number;
8
10
  silent?: boolean;
11
+ connectionOptions?: AmqpConnectionManagerOptions['connectionOptions'];
9
12
  }
10
- export default function createService<V extends keyof Requence.Version | (string & {})>(version: V, messageHandler: MessageHandler<V>): ServiceApi<V>;
11
- export default function createService<V extends keyof Requence.Version | (string & {})>(options: ServiceOptions<V>, messageHandler: MessageHandler<V>): ServiceApi<V>;
12
- export {};
13
+ export declare function createService<V extends keyof RequenceService.Version | (string & {})>(version: V, messageHandler: MessageHandler<V>): ServiceApi<V>;
14
+ export declare function createService<V extends keyof RequenceService.Version | (string & {})>(options: ServiceOptions<V>, messageHandler: MessageHandler<V>): ServiceApi<V>;
13
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAKA,OAA6B,EAC3B,KAAK,aAAa,EAClB,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAA;AAElC,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,QAAQ,CAAC,OAAO,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,IACrE,aAAa,CAAC,CAAC,CAAC,CAAA;AASlB,UAAU,cAAc,CAAC,CAAC,SAAS,MAAM;IACvC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,CAAC,CAAA;IACV,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAkBD,MAAM,CAAC,OAAO,UAAU,aAAa,CACnC,CAAC,SAAS,MAAM,QAAQ,CAAC,OAAO,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,EAChD,OAAO,EAAE,CAA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gB,aAAa,CAC3B,CAAC,SAAS,MAAM,eAAe,CAAC,OAAO,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,EACvD,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export default function mapInput(data: unknown): unknown;
2
+ //# sourceMappingURL=mapInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapInput.d.ts","sourceRoot":"","sources":["../../../../src/mapInput.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAWvD"}