@pikku/addon-graph 0.12.4 → 0.12.6

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 (173) hide show
  1. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
  2. package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
  3. package/dist/.pikku/addon/pikku-package.gen.js +1 -1
  4. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
  5. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +3 -2
  6. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
  7. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
  8. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  9. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  10. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  11. package/dist/.pikku/function/pikku-function-types.gen.d.ts +15 -44
  12. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
  13. package/dist/.pikku/function/pikku-function-types.gen.js +3 -12
  14. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
  15. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  16. package/dist/.pikku/function/pikku-functions-meta.gen.json +350 -33
  17. package/dist/.pikku/function/pikku-functions.gen.js +19 -1
  18. package/dist/.pikku/function/pikku-functions.gen.js.map +1 -1
  19. package/dist/.pikku/http/pikku-http-types.gen.d.ts +2 -24
  20. package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -1
  21. package/dist/.pikku/http/pikku-http-types.gen.js +2 -24
  22. package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -1
  23. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  24. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  25. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  26. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  27. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  28. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  29. package/dist/.pikku/pikku-services.gen.d.ts +5 -1
  30. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
  31. package/dist/.pikku/pikku-services.gen.js +4 -0
  32. package/dist/.pikku/pikku-services.gen.js.map +1 -1
  33. package/dist/.pikku/pikku-types.gen.d.ts +2 -1
  34. package/dist/.pikku/pikku-types.gen.d.ts.map +1 -1
  35. package/dist/.pikku/pikku-types.gen.js +3 -1
  36. package/dist/.pikku/pikku-types.gen.js.map +1 -1
  37. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  38. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  39. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +163 -7
  40. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +172 -7
  41. package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +652 -0
  42. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  43. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +10 -1
  44. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  45. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  46. package/dist/.pikku/schemas/register.gen.js +93 -57
  47. package/dist/.pikku/schemas/register.gen.js.map +1 -1
  48. package/dist/.pikku/schemas/schemas/AggregateInput.schema.json +1 -1
  49. package/dist/.pikku/schemas/schemas/BranchInput.schema.json +1 -0
  50. package/dist/.pikku/schemas/schemas/BranchOutput.schema.json +1 -0
  51. package/dist/.pikku/schemas/schemas/ConcatInput.schema.json +1 -0
  52. package/dist/.pikku/schemas/schemas/ConcatOutput.schema.json +1 -0
  53. package/dist/.pikku/schemas/schemas/DateTimeInput.schema.json +1 -1
  54. package/dist/.pikku/schemas/schemas/EditFieldsOutput.schema.json +1 -1
  55. package/dist/.pikku/schemas/schemas/FanoutInput.schema.json +1 -0
  56. package/dist/.pikku/schemas/schemas/FanoutOutput.schema.json +1 -0
  57. package/dist/.pikku/schemas/schemas/HttpRequestInput.schema.json +1 -0
  58. package/dist/.pikku/schemas/schemas/HttpRequestOutput.schema.json +1 -0
  59. package/dist/.pikku/schemas/schemas/ReadFileInput.schema.json +1 -0
  60. package/dist/.pikku/schemas/schemas/ReadFileOutput.schema.json +1 -0
  61. package/dist/.pikku/schemas/schemas/SplitTextInput.schema.json +1 -0
  62. package/dist/.pikku/schemas/schemas/SplitTextOutput.schema.json +1 -0
  63. package/dist/.pikku/schemas/schemas/StopAndErrorInput.schema.json +1 -0
  64. package/dist/.pikku/schemas/schemas/StopAndErrorOutput.schema.json +1 -0
  65. package/dist/.pikku/schemas/schemas/WaitInput.schema.json +1 -0
  66. package/dist/.pikku/schemas/schemas/WaitOutput.schema.json +1 -0
  67. package/dist/.pikku/schemas/schemas/WriteFileInput.schema.json +1 -0
  68. package/dist/.pikku/schemas/schemas/WriteFileOutput.schema.json +1 -0
  69. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +6 -0
  70. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +1 -0
  71. package/dist/.pikku/scopes/pikku-scope-types.gen.js +5 -0
  72. package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +1 -0
  73. package/dist/.pikku/scopes/pikku-scopes-meta.gen.json +1 -0
  74. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +36 -0
  75. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +1 -0
  76. package/dist/.pikku/scopes/pikku-scopes.gen.js +28 -0
  77. package/dist/.pikku/scopes/pikku-scopes.gen.js.map +1 -0
  78. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  79. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  80. package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +1 -0
  81. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +11 -1
  82. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -1
  83. package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -1
  84. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -1
  85. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  86. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  87. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  88. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  89. package/dist/.pikku/variables/pikku-variables-meta.gen.json +1 -0
  90. package/dist/.pikku/variables/pikku-variables.gen.d.ts +11 -1
  91. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -1
  92. package/dist/.pikku/variables/pikku-variables.gen.js +13 -3
  93. package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -1
  94. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
  95. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +22 -5
  96. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
  97. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +4 -1
  98. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
  99. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  100. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  101. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  102. package/dist/src/functions/array/aggregate.function.d.ts +33 -4
  103. package/dist/src/functions/array/aggregate.function.d.ts.map +1 -1
  104. package/dist/src/functions/array/aggregate.function.js +47 -14
  105. package/dist/src/functions/array/aggregate.function.js.map +1 -1
  106. package/dist/src/functions/array/aggregate.function.test.d.ts +2 -0
  107. package/dist/src/functions/array/aggregate.function.test.d.ts.map +1 -0
  108. package/dist/src/functions/array/aggregate.function.test.js +42 -0
  109. package/dist/src/functions/array/aggregate.function.test.js.map +1 -0
  110. package/dist/src/functions/array/fanout.function.d.ts +32 -0
  111. package/dist/src/functions/array/fanout.function.d.ts.map +1 -0
  112. package/dist/src/functions/array/fanout.function.js +80 -0
  113. package/dist/src/functions/array/fanout.function.js.map +1 -0
  114. package/dist/src/functions/array/fanout.function.test.d.ts +2 -0
  115. package/dist/src/functions/array/fanout.function.test.d.ts.map +1 -0
  116. package/dist/src/functions/array/fanout.function.test.js +66 -0
  117. package/dist/src/functions/array/fanout.function.test.js.map +1 -0
  118. package/dist/src/functions/array/summarize.function.d.ts +4 -4
  119. package/dist/src/functions/data/date-time.function.d.ts +17 -3
  120. package/dist/src/functions/data/date-time.function.d.ts.map +1 -1
  121. package/dist/src/functions/data/date-time.function.js +46 -0
  122. package/dist/src/functions/data/date-time.function.js.map +1 -1
  123. package/dist/src/functions/data/jwt.function.d.ts +4 -4
  124. package/dist/src/functions/data/read-file.function.d.ts +40 -0
  125. package/dist/src/functions/data/read-file.function.d.ts.map +1 -0
  126. package/dist/src/functions/data/read-file.function.js +39 -0
  127. package/dist/src/functions/data/read-file.function.js.map +1 -0
  128. package/dist/src/functions/data/type-convert.function.d.ts +4 -4
  129. package/dist/src/functions/data/wait.function.d.ts +26 -0
  130. package/dist/src/functions/data/wait.function.d.ts.map +1 -0
  131. package/dist/src/functions/data/wait.function.js +29 -0
  132. package/dist/src/functions/data/wait.function.js.map +1 -0
  133. package/dist/src/functions/data/write-file.function.d.ts +40 -0
  134. package/dist/src/functions/data/write-file.function.d.ts.map +1 -0
  135. package/dist/src/functions/data/write-file.function.js +37 -0
  136. package/dist/src/functions/data/write-file.function.js.map +1 -0
  137. package/dist/src/functions/logic/branch.function.d.ts +71 -0
  138. package/dist/src/functions/logic/branch.function.d.ts.map +1 -0
  139. package/dist/src/functions/logic/branch.function.js +213 -0
  140. package/dist/src/functions/logic/branch.function.js.map +1 -0
  141. package/dist/src/functions/logic/stop-and-error.function.d.ts +13 -0
  142. package/dist/src/functions/logic/stop-and-error.function.d.ts.map +1 -0
  143. package/dist/src/functions/logic/stop-and-error.function.js +18 -0
  144. package/dist/src/functions/logic/stop-and-error.function.js.map +1 -0
  145. package/dist/src/functions/network/http-request.function.d.ts +105 -0
  146. package/dist/src/functions/network/http-request.function.d.ts.map +1 -0
  147. package/dist/src/functions/network/http-request.function.js +142 -0
  148. package/dist/src/functions/network/http-request.function.js.map +1 -0
  149. package/dist/src/functions/network/http-request.function.test.d.ts +2 -0
  150. package/dist/src/functions/network/http-request.function.test.d.ts.map +1 -0
  151. package/dist/src/functions/network/http-request.function.test.js +119 -0
  152. package/dist/src/functions/network/http-request.function.test.js.map +1 -0
  153. package/dist/src/functions/transform/concat.function.d.ts +21 -0
  154. package/dist/src/functions/transform/concat.function.d.ts.map +1 -0
  155. package/dist/src/functions/transform/concat.function.js +22 -0
  156. package/dist/src/functions/transform/concat.function.js.map +1 -0
  157. package/dist/src/functions/transform/concat.function.test.d.ts +2 -0
  158. package/dist/src/functions/transform/concat.function.test.d.ts.map +1 -0
  159. package/dist/src/functions/transform/concat.function.test.js +23 -0
  160. package/dist/src/functions/transform/concat.function.test.js.map +1 -0
  161. package/dist/src/functions/transform/edit-fields.function.d.ts +9 -12
  162. package/dist/src/functions/transform/edit-fields.function.d.ts.map +1 -1
  163. package/dist/src/functions/transform/edit-fields.function.js +9 -4
  164. package/dist/src/functions/transform/edit-fields.function.js.map +1 -1
  165. package/dist/src/functions/transform/split-text.function.d.ts +41 -0
  166. package/dist/src/functions/transform/split-text.function.d.ts.map +1 -0
  167. package/dist/src/functions/transform/split-text.function.js +116 -0
  168. package/dist/src/functions/transform/split-text.function.js.map +1 -0
  169. package/dist/src/functions/transform/split-text.function.test.d.ts +2 -0
  170. package/dist/src/functions/transform/split-text.function.test.d.ts.map +1 -0
  171. package/dist/src/functions/transform/split-text.function.test.js +66 -0
  172. package/dist/src/functions/transform/split-text.function.test.js.map +1 -0
  173. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.46
2
+ * This file was generated by @pikku/cli@0.12.83
3
3
  */
4
4
  /**
5
5
  * This provides the structure needed for typescript to be aware of RPCs and their return types
@@ -14,12 +14,23 @@ export type AggregateInput = {
14
14
  items: {
15
15
  [key: string]: unknown;
16
16
  }[];
17
- /** The field path to collect values from */
18
- field: string;
17
+ /** The field path to collect values from (single-field mode) */
18
+ field?: string | undefined;
19
19
  /** The name of the output field containing the list */
20
20
  outputField?: string | undefined;
21
21
  /** Only include unique values */
22
22
  unique?: boolean | undefined;
23
+ /** Collect several fields at once into one output item */
24
+ fields?: {
25
+ /** The field path to collect values from */
26
+ field: string;
27
+ /** The output field name (defaults to the source field path) */
28
+ outputField?: string | undefined;
29
+ /** Only include unique values */
30
+ unique?: boolean | undefined;
31
+ }[] | undefined;
32
+ /** Collect the entire items into a single list field (n8n aggregateAllItemData) */
33
+ includeAllItems?: boolean | undefined;
23
34
  }
24
35
  export type AggregateOutput = {
25
36
  /** The output object with aggregated values */
@@ -27,6 +38,31 @@ export type AggregateOutput = {
27
38
  [key: string]: unknown;
28
39
  };
29
40
  }
41
+ export type BranchInput = {
42
+ /** Cases evaluated in order; the first match wins */
43
+ cases: {
44
+ /** The `next` branch key to take when this case matches */
45
+ key: string;
46
+ /** How the conditions combine */
47
+ combinator: "and" | "or";
48
+ conditions: {
49
+ /** Left-hand operand (resolved before evaluation) */
50
+ left: unknown;
51
+ /** Right-hand operand — omitted for unary operators like isEmpty */
52
+ right?: unknown | undefined;
53
+ /** Value type the operands are coerced to before comparison */
54
+ type: "string" | "number" | "boolean" | "dateTime" | "array" | "object";
55
+ /** Comparison operation, e.g. equals, contains, gt, isEmpty */
56
+ operation: string;
57
+ }[];
58
+ }[];
59
+ /** Branch key taken when no case matches */
60
+ fallback?: string | undefined;
61
+ }
62
+ export type BranchOutput = {
63
+ /** The branch key taken, or null when the path dead-ends */
64
+ branch: string | null;
65
+ }
30
66
  export type ChunkInput = {
31
67
  /** The array to split into chunks */
32
68
  items: unknown[];
@@ -51,6 +87,14 @@ export type CoalesceOutput = {
51
87
  /** Index of the returned value (-1 if all null) */
52
88
  index: number;
53
89
  }
90
+ export type ConcatInput = {
91
+ /** The input streams to concatenate; each array is flattened one level, each non-array counts as a single item */
92
+ inputs: unknown[];
93
+ }
94
+ export type ConcatOutput = {
95
+ /** All input items concatenated in input order */
96
+ items: unknown[];
97
+ }
54
98
  export type CryptoInput = {
55
99
  /** The cryptographic operation to perform */
56
100
  operation: "hash" | "hmac" | "randomBytes" | "uuid" | "base64Encode" | "base64Decode" | "hexEncode" | "hexDecode";
@@ -73,7 +117,9 @@ export type DateTimeInput = {
73
117
  /** The input date/time value (ISO string, timestamp, or parseable date string) */
74
118
  value?: (string | number) | undefined;
75
119
  /** The operation to perform */
76
- operation: "format" | "parse" | "add" | "subtract" | "startOf" | "endOf" | "diff" | "now";
120
+ operation: "format" | "parse" | "add" | "subtract" | "startOf" | "endOf" | "diff" | "extract" | "now";
121
+ /** The date/time component to extract for the extract operation */
122
+ part?: ("year" | "month" | "week" | "day" | "dayOfWeek" | "hour" | "minute" | "second") | undefined;
77
123
  /** Output format for format operation (e.g., YYYY-MM-DD) */
78
124
  format?: string | undefined;
79
125
  /** Amount for add/subtract operations */
@@ -111,11 +157,23 @@ export type EditFieldsInput = {
111
157
  }[];
112
158
  }
113
159
  export type EditFieldsOutput = {
114
- /** The transformed object */
115
- item: {
160
+ [key: string]: unknown;
161
+ }
162
+ export type FanoutInput = {
163
+ /** The array to fan out over — one child invocation per element */
164
+ items: unknown[];
165
+ /** RPC name invoked once per item as a durable child step */
166
+ child: string;
167
+ /** Per-item input template; `$item` references resolve against the current element */
168
+ childInput?: {
116
169
  [key: string]: unknown;
117
- };
170
+ } | undefined;
171
+ /** Run child invocations concurrently or one after another */
172
+ mode: "parallel" | "sequential";
173
+ /** Stable prefix for the per-item durable step names (`<prefix>#<index>`); defaults to `child` */
174
+ stepPrefix?: string | undefined;
118
175
  }
176
+ export type FanoutOutput = unknown[]
119
177
  export type FindInput = {
120
178
  /** The array to search */
121
179
  items: {
@@ -154,6 +212,42 @@ export type GroupByOutput = {
154
212
  }[];
155
213
  };
156
214
  }
215
+ export type HttpRequestInput = {
216
+ /** HTTP method */
217
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
218
+ /** The request URL */
219
+ url: string;
220
+ /** Request headers */
221
+ headers?: {
222
+ [key: string]: unknown;
223
+ } | undefined;
224
+ /** Query string parameters appended to the URL */
225
+ query?: {
226
+ [key: string]: unknown;
227
+ } | undefined;
228
+ /** Request body — JSON-encoded unless it is already a string */
229
+ body?: unknown | undefined;
230
+ /** Optional authentication resolved from a secret at request time */
231
+ auth?: {
232
+ /** How the credential is applied to the request */
233
+ mode: "bearer" | "apiKeyHeader" | "apiKeyQuery" | "basic" | "oauth2";
234
+ /** Secret key the value is provisioned under */
235
+ credential: string;
236
+ /** apiKeyHeader — header name (defaults to Authorization) */
237
+ headerName?: string | undefined;
238
+ /** apiKeyQuery — query-param name (defaults to api_key) */
239
+ queryName?: string | undefined;
240
+ /** Static, non-secret headers always sent (e.g. Notion-Version) */
241
+ extraHeaders?: {
242
+ [key: string]: string;
243
+ } | undefined;
244
+ /** Where the value comes from — secret (default) or credential */
245
+ source?: ("secret" | "credential") | undefined;
246
+ } | undefined;
247
+ }
248
+ export type HttpRequestOutput = {
249
+ [key: string]: unknown;
250
+ }
157
251
  export type JwtDecodeInput = {
158
252
  /** The JWT token to decode */
159
253
  token: string;
@@ -247,6 +341,22 @@ export type PickOutput = {
247
341
  [key: string]: unknown;
248
342
  };
249
343
  }
344
+ export type ReadFileInput = {
345
+ /** Storage bucket (defaults to the content service root bucket) */
346
+ bucket?: string | undefined;
347
+ /** Asset key / path of the file to read */
348
+ key: string;
349
+ /** How to decode the file bytes into `data` (default utf8) */
350
+ encoding?: ("utf8" | "base64") | undefined;
351
+ }
352
+ export type ReadFileOutput = {
353
+ /** File contents decoded with the requested encoding */
354
+ data: string;
355
+ /** Bucket the file was read from */
356
+ bucket: string;
357
+ /** Asset key that was read */
358
+ key: string;
359
+ }
250
360
  export type RemoveDuplicatesInput = {
251
361
  /** The array of items to deduplicate */
252
362
  items: {
@@ -336,6 +446,27 @@ export type SplitOutOutput = {
336
446
  [key: string]: unknown;
337
447
  }[];
338
448
  }
449
+ export type SplitTextInput = {
450
+ /** The text to split into chunks */
451
+ text: string;
452
+ /** Splitting strategy: recursive (paragraph→line→word hierarchy, default), character (single separator), or token (approximate token budget) */
453
+ strategy?: ("recursive" | "character" | "token") | undefined;
454
+ /** Maximum size of each chunk (characters, or tokens for the token strategy; default 1000) */
455
+ chunkSize?: number | undefined;
456
+ /** Amount of overlap carried between consecutive chunks (default 200) */
457
+ chunkOverlap?: number | undefined;
458
+ /** Separator for the character strategy (default "\n\n") */
459
+ separator?: string | undefined;
460
+ }
461
+ export type SplitTextOutput = {
462
+ /** The resulting text chunks */
463
+ chunks: string[];
464
+ }
465
+ export type StopAndErrorInput = {
466
+ /** The error message to throw, halting the workflow */
467
+ message: string;
468
+ }
469
+ export type StopAndErrorOutput = void | undefined
339
470
  export type StringTransformInput = {
340
471
  /** The input string */
341
472
  value: string;
@@ -411,6 +542,31 @@ export type UniqueOutput = {
411
542
  /** Array with only unique values */
412
543
  items: unknown[];
413
544
  }
545
+ export type WaitInput = {
546
+ /** A unique name for this wait step */
547
+ name: string;
548
+ /** How long to wait */
549
+ amount: number;
550
+ /** The unit for the wait amount */
551
+ unit: "seconds" | "minutes" | "hours" | "days";
552
+ }
553
+ export type WaitOutput = void | undefined
554
+ export type WriteFileInput = {
555
+ /** Storage bucket (defaults to the content service root bucket) */
556
+ bucket?: string | undefined;
557
+ /** Asset key / path to write the file to */
558
+ key: string;
559
+ /** File contents, decoded according to `encoding` */
560
+ data: string;
561
+ /** How `data` is encoded (default utf8) */
562
+ encoding?: ("utf8" | "base64") | undefined;
563
+ }
564
+ export type WriteFileOutput = {
565
+ /** Bucket the file was written to */
566
+ bucket: string;
567
+ /** Asset key of the written file */
568
+ assetKey: string;
569
+ }
414
570
 
415
571
  interface RPCHandler<I, O> {
416
572
  input: I;
@@ -420,6 +576,7 @@ interface RPCHandler<I, O> {
420
576
  export type RPCMap = {
421
577
  readonly 'aggregate': RPCHandler<AggregateInput, AggregateOutput>,
422
578
  readonly 'chunk': RPCHandler<ChunkInput, ChunkOutput>,
579
+ readonly 'fanout': RPCHandler<FanoutInput, FanoutOutput>,
423
580
  readonly 'find': RPCHandler<FindInput, FindOutput>,
424
581
  readonly 'groupBy': RPCHandler<GroupByInput, GroupByOutput>,
425
582
  readonly 'limit': RPCHandler<LimitInput, LimitOutput>,
@@ -435,14 +592,22 @@ export type RPCMap = {
435
592
  readonly 'jwtSign': RPCHandler<JwtSignInput, JwtSignOutput>,
436
593
  readonly 'jwtDecode': RPCHandler<JwtDecodeInput, JwtDecodeOutput>,
437
594
  readonly 'math': RPCHandler<MathInput, MathOutput>,
595
+ readonly 'readFile': RPCHandler<ReadFileInput, ReadFileOutput>,
438
596
  readonly 'sleep': RPCHandler<SleepInput, SleepOutput>,
439
597
  readonly 'stringTransform': RPCHandler<StringTransformInput, StringTransformOutput>,
440
598
  readonly 'typeConvert': RPCHandler<TypeConvertInput, TypeConvertOutput>,
599
+ readonly 'wait': RPCHandler<WaitInput, WaitOutput>,
600
+ readonly 'writeFile': RPCHandler<WriteFileInput, WriteFileOutput>,
601
+ readonly 'branch': RPCHandler<BranchInput, BranchOutput>,
602
+ readonly 'stopAndError': RPCHandler<StopAndErrorInput, StopAndErrorOutput>,
603
+ readonly 'httpRequest': RPCHandler<HttpRequestInput, HttpRequestOutput>,
604
+ readonly 'concat': RPCHandler<ConcatInput, ConcatOutput>,
441
605
  readonly 'editFields': RPCHandler<EditFieldsInput, EditFieldsOutput>,
442
606
  readonly 'merge': RPCHandler<MergeInput, MergeOutput>,
443
607
  readonly 'omit': RPCHandler<OmitInput, OmitOutput>,
444
608
  readonly 'pick': RPCHandler<PickInput, PickOutput>,
445
609
  readonly 'renameKeys': RPCHandler<RenameKeysInput, RenameKeysOutput>,
610
+ readonly 'splitText': RPCHandler<SplitTextInput, SplitTextOutput>,
446
611
  };
447
612
 
448
613