@flowcore/data-pump 0.1.2

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 (359) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/README.md +28 -0
  3. package/esm/_dnt.shims.d.ts +9 -0
  4. package/esm/_dnt.shims.d.ts.map +1 -0
  5. package/esm/_dnt.shims.js +64 -0
  6. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.create.d.ts +46 -0
  7. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.create.d.ts.map +1 -0
  8. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.create.js +94 -0
  9. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.delete.d.ts +28 -0
  10. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.delete.d.ts.map +1 -0
  11. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.delete.js +60 -0
  12. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.list.d.ts +27 -0
  13. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.list.d.ts.map +1 -0
  14. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.list.js +58 -0
  15. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.create.d.ts +43 -0
  16. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.create.d.ts.map +1 -0
  17. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.create.js +44 -0
  18. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.delete-request.d.ts +37 -0
  19. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.delete-request.d.ts.map +1 -0
  20. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.delete-request.js +94 -0
  21. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.exists.d.ts +37 -0
  22. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.exists.d.ts.map +1 -0
  23. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.exists.js +33 -0
  24. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.fetch.d.ts +55 -0
  25. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.fetch.d.ts.map +1 -0
  26. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.fetch.js +59 -0
  27. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.list.d.ts +33 -0
  28. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.list.d.ts.map +1 -0
  29. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.list.js +40 -0
  30. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.update.d.ts +41 -0
  31. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.update.d.ts.map +1 -0
  32. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.update.js +43 -0
  33. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.create.d.ts +39 -0
  34. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.create.d.ts.map +1 -0
  35. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.create.js +44 -0
  36. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.delete-request.d.ts +41 -0
  37. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.delete-request.d.ts.map +1 -0
  38. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.delete-request.js +107 -0
  39. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.exists.d.ts +37 -0
  40. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.exists.d.ts.map +1 -0
  41. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.exists.js +33 -0
  42. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.fetch.d.ts +49 -0
  43. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.fetch.d.ts.map +1 -0
  44. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.fetch.js +59 -0
  45. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.list.d.ts +31 -0
  46. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.list.d.ts.map +1 -0
  47. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.list.js +36 -0
  48. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.truncate-request.d.ts +41 -0
  49. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.truncate-request.d.ts.map +1 -0
  50. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.truncate-request.js +107 -0
  51. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.update.d.ts +37 -0
  52. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.update.d.ts.map +1 -0
  53. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.update.js +39 -0
  54. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch-time-buckets-by-names.d.ts +53 -0
  55. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch-time-buckets-by-names.d.ts.map +1 -0
  56. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch-time-buckets-by-names.js +41 -0
  57. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch.d.ts +58 -0
  58. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch.d.ts.map +1 -0
  59. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch.js +54 -0
  60. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.create.d.ts +39 -0
  61. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.create.d.ts.map +1 -0
  62. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.create.js +44 -0
  63. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.delete-request.d.ts +54 -0
  64. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.delete-request.d.ts.map +1 -0
  65. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.delete-request.js +127 -0
  66. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.exists.d.ts +39 -0
  67. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.exists.d.ts.map +1 -0
  68. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.exists.js +33 -0
  69. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.fetch.d.ts +55 -0
  70. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.fetch.d.ts.map +1 -0
  71. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.fetch.js +59 -0
  72. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.list.d.ts +31 -0
  73. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.list.d.ts.map +1 -0
  74. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.list.js +36 -0
  75. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.update.d.ts +37 -0
  76. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.update.d.ts.map +1 -0
  77. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.update.js +39 -0
  78. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/index.d.ts +33 -0
  79. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/index.d.ts.map +1 -0
  80. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/index.js +40 -0
  81. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.create.d.ts +30 -0
  82. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.create.d.ts.map +1 -0
  83. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.create.js +60 -0
  84. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.delete.d.ts +28 -0
  85. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.delete.d.ts.map +1 -0
  86. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.delete.js +60 -0
  87. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.list.d.ts +26 -0
  88. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.list.d.ts.map +1 -0
  89. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.list.js +63 -0
  90. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.fetch.d.ts +42 -0
  91. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.fetch.d.ts.map +1 -0
  92. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.fetch.js +79 -0
  93. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.list.d.ts +20 -0
  94. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.list.d.ts.map +1 -0
  95. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.list.js +65 -0
  96. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.create.d.ts +31 -0
  97. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.create.d.ts.map +1 -0
  98. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.create.js +66 -0
  99. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.delete.d.ts +28 -0
  100. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.delete.d.ts.map +1 -0
  101. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.delete.js +63 -0
  102. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.list.d.ts +27 -0
  103. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.list.d.ts.map +1 -0
  104. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.list.js +69 -0
  105. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/command.d.ts +85 -0
  106. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/command.d.ts.map +1 -0
  107. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/command.js +129 -0
  108. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/flowcore-client.d.ts +56 -0
  109. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/flowcore-client.d.ts.map +1 -0
  110. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/flowcore-client.js +126 -0
  111. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/notification-client.d.ts +90 -0
  112. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/notification-client.d.ts.map +1 -0
  113. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/notification-client.js +247 -0
  114. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/api-key.d.ts +14 -0
  115. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/api-key.d.ts.map +1 -0
  116. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/api-key.js +9 -0
  117. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/data-core.d.ts +41 -0
  118. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/data-core.d.ts.map +1 -0
  119. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/data-core.js +42 -0
  120. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event-type.d.ts +37 -0
  121. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event-type.d.ts.map +1 -0
  122. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event-type.js +39 -0
  123. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event.d.ts +20 -0
  124. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event.d.ts.map +1 -0
  125. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event.js +15 -0
  126. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/flow-type.d.ts +34 -0
  127. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/flow-type.d.ts.map +1 -0
  128. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/flow-type.js +34 -0
  129. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/index.d.ts +6 -0
  130. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/index.d.ts.map +1 -0
  131. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/index.js +1 -0
  132. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/tenant.d.ts +50 -0
  133. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/tenant.d.ts.map +1 -0
  134. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/tenant.js +33 -0
  135. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/variable.d.ts +13 -0
  136. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/variable.d.ts.map +1 -0
  137. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/variable.js +8 -0
  138. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/client-error.d.ts +9 -0
  139. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/client-error.d.ts.map +1 -0
  140. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/client-error.js +20 -0
  141. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/command-error.d.ts +7 -0
  142. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/command-error.d.ts.map +1 -0
  143. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/command-error.js +8 -0
  144. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/index.d.ts +5 -0
  145. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/index.d.ts.map +1 -0
  146. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/index.js +4 -0
  147. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/invalid-response.d.ts +8 -0
  148. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/invalid-response.d.ts.map +1 -0
  149. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/invalid-response.js +15 -0
  150. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/not-found.d.ts +7 -0
  151. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/not-found.d.ts.map +1 -0
  152. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/not-found.js +8 -0
  153. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/mod.d.ts +8 -0
  154. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/mod.d.ts.map +1 -0
  155. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/mod.js +7 -0
  156. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/logger.d.ts +8 -0
  157. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/logger.d.ts.map +1 -0
  158. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/logger.js +14 -0
  159. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/parse-response-helper.d.ts +6 -0
  160. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/parse-response-helper.d.ts.map +1 -0
  161. package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/parse-response-helper.js +16 -0
  162. package/esm/lib/data-pump-client.d.ts +30 -0
  163. package/esm/lib/data-pump-client.d.ts.map +1 -0
  164. package/esm/lib/data-pump-client.js +52 -0
  165. package/esm/lib/data-pump.d.ts +75 -0
  166. package/esm/lib/data-pump.d.ts.map +1 -0
  167. package/esm/lib/data-pump.js +364 -0
  168. package/esm/lib/nats-notifier.d.ts +18 -0
  169. package/esm/lib/nats-notifier.d.ts.map +1 -0
  170. package/esm/lib/nats-notifier.js +88 -0
  171. package/esm/lib/time-uuid.d.ts +13 -0
  172. package/esm/lib/time-uuid.d.ts.map +1 -0
  173. package/esm/lib/time-uuid.js +36 -0
  174. package/esm/lib/ws-notifier.d.ts +28 -0
  175. package/esm/lib/ws-notifier.d.ts.map +1 -0
  176. package/esm/lib/ws-notifier.js +87 -0
  177. package/esm/mod.d.ts +3 -0
  178. package/esm/mod.d.ts.map +1 -0
  179. package/esm/mod.js +2 -0
  180. package/esm/package.json +3 -0
  181. package/package.json +38 -0
  182. package/script/_dnt.shims.d.ts +9 -0
  183. package/script/_dnt.shims.d.ts.map +1 -0
  184. package/script/_dnt.shims.js +72 -0
  185. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.create.d.ts +46 -0
  186. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.create.d.ts.map +1 -0
  187. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.create.js +98 -0
  188. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.delete.d.ts +28 -0
  189. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.delete.d.ts.map +1 -0
  190. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.delete.js +64 -0
  191. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.list.d.ts +27 -0
  192. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.list.d.ts.map +1 -0
  193. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.list.js +62 -0
  194. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.create.d.ts +43 -0
  195. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.create.d.ts.map +1 -0
  196. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.create.js +48 -0
  197. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.delete-request.d.ts +37 -0
  198. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.delete-request.d.ts.map +1 -0
  199. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.delete-request.js +98 -0
  200. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.exists.d.ts +37 -0
  201. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.exists.d.ts.map +1 -0
  202. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.exists.js +37 -0
  203. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.fetch.d.ts +55 -0
  204. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.fetch.d.ts.map +1 -0
  205. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.fetch.js +63 -0
  206. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.list.d.ts +33 -0
  207. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.list.d.ts.map +1 -0
  208. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.list.js +44 -0
  209. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.update.d.ts +41 -0
  210. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.update.d.ts.map +1 -0
  211. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.update.js +47 -0
  212. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.create.d.ts +39 -0
  213. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.create.d.ts.map +1 -0
  214. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.create.js +48 -0
  215. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.delete-request.d.ts +41 -0
  216. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.delete-request.d.ts.map +1 -0
  217. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.delete-request.js +111 -0
  218. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.exists.d.ts +37 -0
  219. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.exists.d.ts.map +1 -0
  220. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.exists.js +37 -0
  221. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.fetch.d.ts +49 -0
  222. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.fetch.d.ts.map +1 -0
  223. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.fetch.js +63 -0
  224. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.list.d.ts +31 -0
  225. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.list.d.ts.map +1 -0
  226. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.list.js +40 -0
  227. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.truncate-request.d.ts +41 -0
  228. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.truncate-request.d.ts.map +1 -0
  229. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.truncate-request.js +111 -0
  230. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.update.d.ts +37 -0
  231. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.update.d.ts.map +1 -0
  232. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.update.js +43 -0
  233. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch-time-buckets-by-names.d.ts +53 -0
  234. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch-time-buckets-by-names.d.ts.map +1 -0
  235. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch-time-buckets-by-names.js +45 -0
  236. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch.d.ts +58 -0
  237. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch.d.ts.map +1 -0
  238. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch.js +58 -0
  239. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.create.d.ts +39 -0
  240. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.create.d.ts.map +1 -0
  241. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.create.js +48 -0
  242. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.delete-request.d.ts +54 -0
  243. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.delete-request.d.ts.map +1 -0
  244. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.delete-request.js +131 -0
  245. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.exists.d.ts +39 -0
  246. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.exists.d.ts.map +1 -0
  247. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.exists.js +37 -0
  248. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.fetch.d.ts +55 -0
  249. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.fetch.d.ts.map +1 -0
  250. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.fetch.js +63 -0
  251. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.list.d.ts +31 -0
  252. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.list.d.ts.map +1 -0
  253. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.list.js +40 -0
  254. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.update.d.ts +37 -0
  255. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.update.d.ts.map +1 -0
  256. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.update.js +43 -0
  257. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/index.d.ts +33 -0
  258. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/index.d.ts.map +1 -0
  259. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/index.js +56 -0
  260. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.create.d.ts +30 -0
  261. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.create.d.ts.map +1 -0
  262. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.create.js +64 -0
  263. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.delete.d.ts +28 -0
  264. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.delete.d.ts.map +1 -0
  265. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.delete.js +64 -0
  266. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.list.d.ts +26 -0
  267. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.list.d.ts.map +1 -0
  268. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.list.js +67 -0
  269. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.fetch.d.ts +42 -0
  270. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.fetch.d.ts.map +1 -0
  271. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.fetch.js +83 -0
  272. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.list.d.ts +20 -0
  273. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.list.d.ts.map +1 -0
  274. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.list.js +69 -0
  275. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.create.d.ts +31 -0
  276. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.create.d.ts.map +1 -0
  277. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.create.js +70 -0
  278. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.delete.d.ts +28 -0
  279. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.delete.d.ts.map +1 -0
  280. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.delete.js +67 -0
  281. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.list.d.ts +27 -0
  282. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.list.d.ts.map +1 -0
  283. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.list.js +73 -0
  284. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/command.d.ts +85 -0
  285. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/command.d.ts.map +1 -0
  286. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/command.js +134 -0
  287. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/flowcore-client.d.ts +56 -0
  288. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/flowcore-client.d.ts.map +1 -0
  289. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/flowcore-client.js +130 -0
  290. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/notification-client.d.ts +90 -0
  291. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/notification-client.d.ts.map +1 -0
  292. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/notification-client.js +274 -0
  293. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/api-key.d.ts +14 -0
  294. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/api-key.d.ts.map +1 -0
  295. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/api-key.js +12 -0
  296. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/data-core.d.ts +41 -0
  297. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/data-core.d.ts.map +1 -0
  298. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/data-core.js +46 -0
  299. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event-type.d.ts +37 -0
  300. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event-type.d.ts.map +1 -0
  301. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event-type.js +43 -0
  302. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event.d.ts +20 -0
  303. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event.d.ts.map +1 -0
  304. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event.js +18 -0
  305. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/flow-type.d.ts +34 -0
  306. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/flow-type.d.ts.map +1 -0
  307. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/flow-type.js +38 -0
  308. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/index.d.ts +6 -0
  309. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/index.d.ts.map +1 -0
  310. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/index.js +2 -0
  311. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/tenant.d.ts +50 -0
  312. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/tenant.d.ts.map +1 -0
  313. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/tenant.js +37 -0
  314. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/variable.d.ts +13 -0
  315. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/variable.d.ts.map +1 -0
  316. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/variable.js +11 -0
  317. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/client-error.d.ts +9 -0
  318. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/client-error.d.ts.map +1 -0
  319. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/client-error.js +24 -0
  320. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/command-error.d.ts +7 -0
  321. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/command-error.d.ts.map +1 -0
  322. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/command-error.js +12 -0
  323. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/index.d.ts +5 -0
  324. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/index.d.ts.map +1 -0
  325. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/index.js +20 -0
  326. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/invalid-response.d.ts +8 -0
  327. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/invalid-response.d.ts.map +1 -0
  328. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/invalid-response.js +19 -0
  329. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/not-found.d.ts +7 -0
  330. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/not-found.d.ts.map +1 -0
  331. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/not-found.js +12 -0
  332. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/mod.d.ts +8 -0
  333. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/mod.d.ts.map +1 -0
  334. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/mod.js +23 -0
  335. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/logger.d.ts +8 -0
  336. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/logger.d.ts.map +1 -0
  337. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/logger.js +17 -0
  338. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/parse-response-helper.d.ts +6 -0
  339. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/parse-response-helper.d.ts.map +1 -0
  340. package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/parse-response-helper.js +20 -0
  341. package/script/lib/data-pump-client.d.ts +30 -0
  342. package/script/lib/data-pump-client.d.ts.map +1 -0
  343. package/script/lib/data-pump-client.js +58 -0
  344. package/script/lib/data-pump.d.ts +75 -0
  345. package/script/lib/data-pump.d.ts.map +1 -0
  346. package/script/lib/data-pump.js +368 -0
  347. package/script/lib/nats-notifier.d.ts +18 -0
  348. package/script/lib/nats-notifier.d.ts.map +1 -0
  349. package/script/lib/nats-notifier.js +115 -0
  350. package/script/lib/time-uuid.d.ts +13 -0
  351. package/script/lib/time-uuid.d.ts.map +1 -0
  352. package/script/lib/time-uuid.js +40 -0
  353. package/script/lib/ws-notifier.d.ts +28 -0
  354. package/script/lib/ws-notifier.d.ts.map +1 -0
  355. package/script/lib/ws-notifier.js +94 -0
  356. package/script/mod.d.ts +3 -0
  357. package/script/mod.d.ts.map +1 -0
  358. package/script/mod.js +18 -0
  359. package/script/package.json +3 -0
@@ -0,0 +1,53 @@
1
+ import { Command } from "../../common/command.js";
2
+ /**
3
+ * The input for the events fetch indexes command
4
+ */
5
+ export interface EventsFetchTimeBucketsByNamesInput {
6
+ /** the tenant name */
7
+ tenant: string;
8
+ /** the data core id */
9
+ dataCoreId: string;
10
+ /** the flow type name */
11
+ flowType: string;
12
+ /** the event type names */
13
+ eventTypes: string[];
14
+ /** the paging cursor */
15
+ cursor?: string;
16
+ /** the page size (default is 10.000) */
17
+ pageSize?: number;
18
+ /** start from this time bucket */
19
+ fromTimeBucket?: string;
20
+ /** end at this time bucket */
21
+ toTimeBucket?: string;
22
+ }
23
+ /**
24
+ * The output for the events fetch indexes command
25
+ */
26
+ export interface EventsFetchTimeBucketsByNamesOutput {
27
+ /** the time buckets */
28
+ timeBuckets: string[];
29
+ /** the next page cursor */
30
+ nextCursor?: string;
31
+ }
32
+ /**
33
+ * Fetch time buckets for an event type
34
+ */
35
+ export declare class EventsFetchTimeBucketsByNamesCommand extends Command<EventsFetchTimeBucketsByNamesInput, EventsFetchTimeBucketsByNamesOutput> {
36
+ /**
37
+ * Get the base url for the request
38
+ */
39
+ protected getBaseUrl(): string;
40
+ /**
41
+ * Get the path for the request
42
+ */
43
+ protected getPath(): string;
44
+ /**
45
+ * Parse the response
46
+ */
47
+ protected parseResponse(rawResponse: unknown): EventsFetchTimeBucketsByNamesOutput;
48
+ /**
49
+ * Get the body for the request
50
+ */
51
+ protected getBody(): Record<string, unknown>;
52
+ }
53
+ //# sourceMappingURL=events.fetch-time-buckets-by-names.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.fetch-time-buckets-by-names.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch-time-buckets-by-names.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAEjD;;GAEG;AACH,MAAM,WAAW,kCAAkC;IACjD,sBAAsB;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,uBAAuB;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,yBAAyB;IACzB,QAAQ,EAAE,MAAM,CAAA;IAChB,2BAA2B;IAC3B,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,wBAAwB;IACxB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,wCAAwC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,kCAAkC;IAClC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,8BAA8B;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD,uBAAuB;IACvB,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,2BAA2B;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAUD;;GAEG;AACH,qBAAa,oCAAqC,SAAQ,OAAO,CAC/D,kCAAkC,EAClC,mCAAmC,CACpC;IACC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAGvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAGpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,mCAAmC;IAK3F;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAItD"}
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventsFetchTimeBucketsByNamesCommand = void 0;
4
+ const typebox_1 = require("@sinclair/typebox");
5
+ const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js");
6
+ const command_js_1 = require("../../common/command.js");
7
+ /**
8
+ * The response schema for the events fetch time buckets by names command
9
+ */
10
+ const responseSchema = typebox_1.Type.Object({
11
+ timeBuckets: typebox_1.Type.Array(typebox_1.Type.String()),
12
+ nextCursor: typebox_1.Type.Optional(typebox_1.Type.String()),
13
+ });
14
+ /**
15
+ * Fetch time buckets for an event type
16
+ */
17
+ class EventsFetchTimeBucketsByNamesCommand extends command_js_1.Command {
18
+ /**
19
+ * Get the base url for the request
20
+ */
21
+ getBaseUrl() {
22
+ return "https://event-source.api.flowcore.io";
23
+ }
24
+ /**
25
+ * Get the path for the request
26
+ */
27
+ getPath() {
28
+ return "/api/v1/time-buckets/by-names";
29
+ }
30
+ /**
31
+ * Parse the response
32
+ */
33
+ parseResponse(rawResponse) {
34
+ const response = (0, parse_response_helper_js_1.parseResponseHelper)(responseSchema, rawResponse);
35
+ return response;
36
+ }
37
+ /**
38
+ * Get the body for the request
39
+ */
40
+ getBody() {
41
+ const { ...rest } = this.input;
42
+ return rest;
43
+ }
44
+ }
45
+ exports.EventsFetchTimeBucketsByNamesCommand = EventsFetchTimeBucketsByNamesCommand;
@@ -0,0 +1,58 @@
1
+ import { Command } from "../../common/command.js";
2
+ import { type FlowcoreEvent } from "../../contracts/event.js";
3
+ /**
4
+ * The input for the events fetch indexes command
5
+ */
6
+ export interface EventsFetchEventsInput {
7
+ /** the tenant */
8
+ tenant: string;
9
+ /** the data core id */
10
+ dataCoreId: string;
11
+ /** the flow type name */
12
+ flowType: string;
13
+ /** the event type names */
14
+ eventTypes: string[];
15
+ /** the time bucket */
16
+ timeBucket: string;
17
+ /** the paging cursor */
18
+ cursor?: string;
19
+ /** the page size (default is 10.000) */
20
+ pageSize?: number;
21
+ /** start from this event id */
22
+ fromEventId?: string;
23
+ /** after this event id */
24
+ afterEventId?: string;
25
+ /** end at this event id */
26
+ toEventId?: string;
27
+ }
28
+ /**
29
+ * The output for the events fetch indexes command
30
+ */
31
+ export interface EventsFetchEventsOutput {
32
+ /** the events */
33
+ events: FlowcoreEvent[];
34
+ /** the next page cursor */
35
+ nextCursor?: string;
36
+ }
37
+ /**
38
+ * Fetch time buckets for an event type
39
+ */
40
+ export declare class EventsFetchCommand extends Command<EventsFetchEventsInput, EventsFetchEventsOutput> {
41
+ /**
42
+ * Get the base url for the request
43
+ */
44
+ protected getBaseUrl(): string;
45
+ /**
46
+ * Get the path for the request
47
+ */
48
+ protected getPath(): string;
49
+ /**
50
+ * Parse the response
51
+ */
52
+ protected parseResponse(rawResponse: unknown): EventsFetchEventsOutput;
53
+ /**
54
+ * Get the body for the request
55
+ */
56
+ protected getBody(): Record<string, unknown>;
57
+ }
58
+ //# sourceMappingURL=events.fetch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.fetch.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAEjD,OAAO,EAAE,KAAK,aAAa,EAAuB,MAAM,0BAA0B,CAAA;AAElF;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,iBAAiB;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,uBAAuB;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,yBAAyB;IACzB,QAAQ,EAAE,MAAM,CAAA;IAChB,2BAA2B;IAC3B,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,sBAAsB;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,wBAAwB;IACxB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,wCAAwC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,0BAA0B;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,iBAAiB;IACjB,MAAM,EAAE,aAAa,EAAE,CAAA;IACvB,2BAA2B;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAUD;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,OAAO,CAAC,sBAAsB,EAAE,uBAAuB,CAAC;IAC9F;;OAEG;cACgB,UAAU,IAAI,MAAM;IAGvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAUpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,uBAAuB;IAK/E;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAStD"}
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventsFetchCommand = void 0;
4
+ const typebox_1 = require("@sinclair/typebox");
5
+ const command_js_1 = require("../../common/command.js");
6
+ const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js");
7
+ const event_js_1 = require("../../contracts/event.js");
8
+ /**
9
+ * The response schema for the events fetch command
10
+ */
11
+ const responseSchema = typebox_1.Type.Object({
12
+ events: typebox_1.Type.Array(event_js_1.FlowcoreEventSchema),
13
+ nextCursor: typebox_1.Type.Optional(typebox_1.Type.String()),
14
+ });
15
+ /**
16
+ * Fetch time buckets for an event type
17
+ */
18
+ class EventsFetchCommand extends command_js_1.Command {
19
+ /**
20
+ * Get the base url for the request
21
+ */
22
+ getBaseUrl() {
23
+ return "https://event-source.api.flowcore.io";
24
+ }
25
+ /**
26
+ * Get the path for the request
27
+ */
28
+ getPath() {
29
+ const query = {
30
+ ...(this.input.cursor ? { cursor: this.input.cursor.toString() } : {}),
31
+ ...(this.input.pageSize ? { pageSize: this.input.pageSize.toString() } : {}),
32
+ ...(this.input.fromEventId ? { fromEventId: this.input.fromEventId } : {}),
33
+ ...(this.input.afterEventId ? { afterEventId: this.input.afterEventId } : {}),
34
+ ...(this.input.toEventId ? { toEventId: this.input.toEventId } : {}),
35
+ };
36
+ return `/api/v1/events?${new URLSearchParams(query).toString()}`;
37
+ }
38
+ /**
39
+ * Parse the response
40
+ */
41
+ parseResponse(rawResponse) {
42
+ const response = (0, parse_response_helper_js_1.parseResponseHelper)(responseSchema, rawResponse);
43
+ return response;
44
+ }
45
+ /**
46
+ * Get the body for the request
47
+ */
48
+ getBody() {
49
+ return {
50
+ tenant: this.input.tenant,
51
+ dataCoreId: this.input.dataCoreId,
52
+ flowType: this.input.flowType,
53
+ eventTypes: this.input.eventTypes,
54
+ timeBucket: this.input.timeBucket,
55
+ };
56
+ }
57
+ }
58
+ exports.EventsFetchCommand = EventsFetchCommand;
@@ -0,0 +1,39 @@
1
+ import { Command } from "../../common/command.js";
2
+ import { type FlowType } from "../../contracts/flow-type.js";
3
+ /**
4
+ * The input for the data core create command
5
+ */
6
+ export interface FlowTypeCreateInput {
7
+ /** The id of the data core */
8
+ dataCoreId: string;
9
+ /** The name of the flow type */
10
+ name: string;
11
+ /** The description of the flow type */
12
+ description: string;
13
+ }
14
+ /**
15
+ * Create a flow type
16
+ */
17
+ export declare class FlowTypeCreateCommand extends Command<FlowTypeCreateInput, FlowType> {
18
+ /**
19
+ * Whether the command should retry on failure
20
+ */
21
+ protected retryOnFailure: boolean;
22
+ /**
23
+ * Get the method
24
+ */
25
+ protected getMethod(): string;
26
+ /**
27
+ * Get the base url
28
+ */
29
+ protected getBaseUrl(): string;
30
+ /**
31
+ * Get the path
32
+ */
33
+ protected getPath(): string;
34
+ /**
35
+ * Parse the response
36
+ */
37
+ protected parseResponse(rawResponse: unknown): FlowType;
38
+ }
39
+ //# sourceMappingURL=flow-type.create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flow-type.create.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,8BAA8B,CAAA;AAG5E;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,uCAAuC;IACvC,WAAW,EAAE,MAAM,CAAA;CACpB;AAED;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC;IAC/E;;OAEG;IACH,UAAmB,cAAc,EAAE,OAAO,CAAQ;IAElD;;OAEG;cACgB,SAAS,IAAI,MAAM;IAGtC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAIpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ;CAGjE"}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FlowTypeCreateCommand = void 0;
4
+ const command_js_1 = require("../../common/command.js");
5
+ const flow_type_js_1 = require("../../contracts/flow-type.js");
6
+ const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js");
7
+ /**
8
+ * Create a flow type
9
+ */
10
+ class FlowTypeCreateCommand extends command_js_1.Command {
11
+ constructor() {
12
+ super(...arguments);
13
+ /**
14
+ * Whether the command should retry on failure
15
+ */
16
+ Object.defineProperty(this, "retryOnFailure", {
17
+ enumerable: true,
18
+ configurable: true,
19
+ writable: true,
20
+ value: false
21
+ });
22
+ }
23
+ /**
24
+ * Get the method
25
+ */
26
+ getMethod() {
27
+ return "POST";
28
+ }
29
+ /**
30
+ * Get the base url
31
+ */
32
+ getBaseUrl() {
33
+ return "https://flow-type-2.api.flowcore.io";
34
+ }
35
+ /**
36
+ * Get the path
37
+ */
38
+ getPath() {
39
+ return `/api/v1/flow-types`;
40
+ }
41
+ /**
42
+ * Parse the response
43
+ */
44
+ parseResponse(rawResponse) {
45
+ return (0, parse_response_helper_js_1.parseResponseHelper)(flow_type_js_1.FlowTypeSchema, rawResponse);
46
+ }
47
+ }
48
+ exports.FlowTypeCreateCommand = FlowTypeCreateCommand;
@@ -0,0 +1,54 @@
1
+ import { GraphQlCommand } from "../../common/command.js";
2
+ import type { FlowcoreClient } from "../../common/flowcore-client.js";
3
+ import type { ClientError } from "../../exceptions/client-error.js";
4
+ /**
5
+ * The input for the flow type delete request command
6
+ */
7
+ export interface FlowTypeDeleteRequestInput {
8
+ /** The id of the flow type */
9
+ flowTypeId: string;
10
+ /** Whether to wait for the flow type to be deleted */
11
+ waitForDelete?: boolean;
12
+ }
13
+ /**
14
+ * Request to delete a flow type
15
+ */
16
+ export declare class FlowTypeDeleteRequestCommand extends GraphQlCommand<FlowTypeDeleteRequestInput, boolean> {
17
+ /**
18
+ * Whether the command should retry on failure
19
+ */
20
+ protected retryOnFailure: boolean;
21
+ /**
22
+ * The allowed modes for the command
23
+ */
24
+ protected allowedModes: ("apiKey" | "bearer")[];
25
+ /**
26
+ * Create a new flow type delete request command
27
+ */
28
+ constructor(input: FlowTypeDeleteRequestInput);
29
+ /**
30
+ * Parse the response
31
+ */
32
+ protected parseResponse(response: unknown): boolean;
33
+ getRequest(client: FlowcoreClient): Promise<{
34
+ allowedModes: ("apiKey" | "bearer")[];
35
+ body: Record<string, unknown>;
36
+ headers: Record<string, string>;
37
+ baseUrl: string;
38
+ path: string;
39
+ method: string;
40
+ parseResponse: (response: unknown) => boolean | Promise<boolean>;
41
+ processResponse: (client: FlowcoreClient, response: boolean) => Promise<boolean>;
42
+ handleClientError: (error: ClientError) => void;
43
+ retryOnFailure: boolean;
44
+ }>;
45
+ /**
46
+ * Get the body for the request
47
+ */
48
+ protected getBody(): Record<string, unknown>;
49
+ /**
50
+ * Wait for the response (timeout: 25 seconds)
51
+ */
52
+ protected processResponse(client: FlowcoreClient, response: boolean): Promise<boolean>;
53
+ }
54
+ //# sourceMappingURL=flow-type.delete-request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flow-type.delete-request.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.delete-request.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAMrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEnE;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,sDAAsD;IACtD,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAmCD;;GAEG;AACH,qBAAa,4BAA6B,SAAQ,cAAc,CAAC,0BAA0B,EAAE,OAAO,CAAC;IACnG;;OAEG;IACH,UAAmB,cAAc,EAAE,OAAO,CAAQ;IAElD;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;gBACS,KAAK,EAAE,0BAA0B;IAO7C;;OAEG;cACgB,aAAa,CAAC,QAAQ,EAAE,OAAO,GAAG,OAAO;IAWtC,UAAU,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAC/D;QACE,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAA;QACrC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;QAC7B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;QAC/B,OAAO,EAAE,MAAM,CAAA;QACf,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,EAAE,MAAM,CAAA;QACd,aAAa,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;QAChE,eAAe,EAAE,CAAC,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;QAChF,iBAAiB,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAA;QAC/C,cAAc,EAAE,OAAO,CAAA;KACxB,CACF;IAqBD;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAOrD;;OAEG;cACsB,eAAe,CAAC,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;CAkBtG"}
@@ -0,0 +1,131 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FlowTypeDeleteRequestCommand = void 0;
4
+ const typebox_1 = require("@sinclair/typebox");
5
+ const command_js_1 = require("../../common/command.js");
6
+ const flow_type_fetch_js_1 = require("./flow-type.fetch.js");
7
+ const command_error_js_1 = require("../../exceptions/command-error.js");
8
+ const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js");
9
+ const not_found_js_1 = require("../../exceptions/not-found.js");
10
+ const flow_type_exists_js_1 = require("./flow-type.exists.js");
11
+ const graphQlQuery = `
12
+ mutation FLOWCORE_SDK_FLOW_TYPE_DELETE_REQUEST($flowTypeId: ID!, $dataCoreId: ID!) {
13
+ datacore(id: $dataCoreId) {
14
+ flowtype(id: $flowTypeId) {
15
+ requestDelete {
16
+ deleting
17
+ }
18
+ }
19
+ }
20
+ }
21
+ `;
22
+ const responseSchema = typebox_1.Type.Object({
23
+ errors: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.Object({
24
+ message: typebox_1.Type.String(),
25
+ }))),
26
+ data: typebox_1.Type.Union([
27
+ typebox_1.Type.Object({
28
+ datacore: typebox_1.Type.Object({
29
+ flowtype: typebox_1.Type.Object({
30
+ requestDelete: typebox_1.Type.Union([
31
+ typebox_1.Type.Object({
32
+ deleting: typebox_1.Type.Boolean(),
33
+ }),
34
+ typebox_1.Type.Null(),
35
+ ]),
36
+ }),
37
+ }),
38
+ }),
39
+ typebox_1.Type.Null(),
40
+ ]),
41
+ });
42
+ /**
43
+ * Request to delete a flow type
44
+ */
45
+ class FlowTypeDeleteRequestCommand extends command_js_1.GraphQlCommand {
46
+ /**
47
+ * Create a new flow type delete request command
48
+ */
49
+ constructor(input) {
50
+ super({
51
+ ...input,
52
+ waitForDelete: input.waitForDelete ?? true,
53
+ });
54
+ /**
55
+ * Whether the command should retry on failure
56
+ */
57
+ Object.defineProperty(this, "retryOnFailure", {
58
+ enumerable: true,
59
+ configurable: true,
60
+ writable: true,
61
+ value: false
62
+ });
63
+ /**
64
+ * The allowed modes for the command
65
+ */
66
+ Object.defineProperty(this, "allowedModes", {
67
+ enumerable: true,
68
+ configurable: true,
69
+ writable: true,
70
+ value: ["bearer"]
71
+ });
72
+ }
73
+ /**
74
+ * Parse the response
75
+ */
76
+ parseResponse(response) {
77
+ const parsedResponse = (0, parse_response_helper_js_1.parseResponseHelper)(responseSchema, response);
78
+ if (parsedResponse.errors) {
79
+ throw new command_error_js_1.CommandError(this.constructor.name, parsedResponse.errors[0].message);
80
+ }
81
+ if (!parsedResponse.data?.datacore?.flowtype?.requestDelete) {
82
+ throw new not_found_js_1.NotFoundException("FlowType", { id: this.input.flowTypeId });
83
+ }
84
+ return parsedResponse.data.datacore.flowtype.requestDelete.deleting;
85
+ }
86
+ async getRequest(client) {
87
+ const request = await super.getRequest(client);
88
+ const response = await client.execute(new flow_type_fetch_js_1.FlowTypeFetchCommand({
89
+ flowTypeId: this.input.flowTypeId,
90
+ }));
91
+ return {
92
+ ...request,
93
+ body: {
94
+ query: graphQlQuery,
95
+ variables: {
96
+ flowTypeId: this.input.flowTypeId,
97
+ dataCoreId: response.dataCoreId,
98
+ },
99
+ },
100
+ };
101
+ }
102
+ /**
103
+ * Get the body for the request
104
+ */
105
+ getBody() {
106
+ return {
107
+ query: graphQlQuery,
108
+ variables: this.input,
109
+ };
110
+ }
111
+ /**
112
+ * Wait for the response (timeout: 25 seconds)
113
+ */
114
+ async processResponse(client, response) {
115
+ if (!this.input.waitForDelete) {
116
+ return response;
117
+ }
118
+ const start = Date.now();
119
+ while (Date.now() - start < 25_000) {
120
+ const response = await client.execute(new flow_type_exists_js_1.FlowTypeExistsCommand({
121
+ flowTypeId: this.input.flowTypeId,
122
+ }));
123
+ if (!response.exists) {
124
+ break;
125
+ }
126
+ await new Promise((resolve) => setTimeout(resolve, 100));
127
+ }
128
+ return response;
129
+ }
130
+ }
131
+ exports.FlowTypeDeleteRequestCommand = FlowTypeDeleteRequestCommand;
@@ -0,0 +1,39 @@
1
+ import { Command } from "../../common/command.js";
2
+ /**
3
+ * The input for the flow type fetch by name command
4
+ */
5
+ export interface FlowTypeExistsInput {
6
+ /** The id of the flow type */
7
+ flowTypeId: string;
8
+ /** Wait for the flow type to be deleted */
9
+ waitForDelete?: boolean;
10
+ }
11
+ /**
12
+ * The output for the flow type exists command
13
+ */
14
+ export interface FlowTypeExistsOutput {
15
+ /** Whether the flow type exists */
16
+ exists: boolean;
17
+ }
18
+ /**
19
+ * Fetch a flow type
20
+ */
21
+ export declare class FlowTypeExistsCommand extends Command<FlowTypeExistsInput, FlowTypeExistsOutput> {
22
+ /**
23
+ * Get the method
24
+ */
25
+ protected getMethod(): string;
26
+ /**
27
+ * Get the base url
28
+ */
29
+ protected getBaseUrl(): string;
30
+ /**
31
+ * Get the path
32
+ */
33
+ protected getPath(): string;
34
+ /**
35
+ * Parse the response
36
+ */
37
+ protected parseResponse(rawResponse: unknown): FlowTypeExistsOutput;
38
+ }
39
+ //# sourceMappingURL=flow-type.exists.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flow-type.exists.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.exists.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAGjD;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,2CAA2C;IAC3C,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,mCAAmC;IACnC,MAAM,EAAE,OAAO,CAAA;CAChB;AAED;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,OAAO,CAAC,mBAAmB,EAAE,oBAAoB,CAAC;IAC3F;;OAEG;cACgB,SAAS,IAAI,MAAM;IAItC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAIpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,oBAAoB;CAI7E"}
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FlowTypeExistsCommand = void 0;
4
+ const typebox_1 = require("@sinclair/typebox");
5
+ const command_js_1 = require("../../common/command.js");
6
+ const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js");
7
+ /**
8
+ * Fetch a flow type
9
+ */
10
+ class FlowTypeExistsCommand extends command_js_1.Command {
11
+ /**
12
+ * Get the method
13
+ */
14
+ getMethod() {
15
+ return "GET";
16
+ }
17
+ /**
18
+ * Get the base url
19
+ */
20
+ getBaseUrl() {
21
+ return "https://flow-type-2.api.flowcore.io";
22
+ }
23
+ /**
24
+ * Get the path
25
+ */
26
+ getPath() {
27
+ return `/api/v1/flow-types/${this.input.flowTypeId}/exists`;
28
+ }
29
+ /**
30
+ * Parse the response
31
+ */
32
+ parseResponse(rawResponse) {
33
+ const response = (0, parse_response_helper_js_1.parseResponseHelper)(typebox_1.Type.Object({ exists: typebox_1.Type.Boolean() }), rawResponse);
34
+ return response;
35
+ }
36
+ }
37
+ exports.FlowTypeExistsCommand = FlowTypeExistsCommand;
@@ -0,0 +1,55 @@
1
+ import { Command } from "../../common/command.js";
2
+ import { type FlowType } from "../../contracts/flow-type.js";
3
+ import type { ClientError } from "../../exceptions/client-error.js";
4
+ /**
5
+ * The input for the flow type fetch by name command
6
+ */
7
+ export interface FlowTypeFetchByNameInput {
8
+ /** The id of the data core */
9
+ dataCoreId: string;
10
+ /** The name of the flow type */
11
+ flowType: string;
12
+ /** The id of the flow type */
13
+ flowTypeId?: never;
14
+ }
15
+ /**
16
+ * The input for the flow type fetch by id command
17
+ */
18
+ export interface FlowTypeFetchByIdInput {
19
+ /** The id of the flow type */
20
+ flowTypeId: string;
21
+ /** The id of the data core */
22
+ dataCoreId?: never;
23
+ /** The name of the flow type */
24
+ flowType?: never;
25
+ }
26
+ /**
27
+ * The input for the flow type fetch command
28
+ */
29
+ export type FlowTypeFetchInput = FlowTypeFetchByIdInput | FlowTypeFetchByNameInput;
30
+ /**
31
+ * Fetch a flow type
32
+ */
33
+ export declare class FlowTypeFetchCommand extends Command<FlowTypeFetchInput, FlowType> {
34
+ /**
35
+ * Get the method
36
+ */
37
+ protected getMethod(): string;
38
+ /**
39
+ * Get the base url
40
+ */
41
+ protected getBaseUrl(): string;
42
+ /**
43
+ * Get the path
44
+ */
45
+ protected getPath(): string;
46
+ /**
47
+ * Parse the response
48
+ */
49
+ protected parseResponse(rawResponse: unknown): FlowType;
50
+ /**
51
+ * Handle the client error
52
+ */
53
+ protected handleClientError(error: ClientError): void;
54
+ }
55
+ //# sourceMappingURL=flow-type.fetch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flow-type.fetch.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.fetch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAkB,MAAM,8BAA8B,CAAA;AAG5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEnE;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,gCAAgC;IAChC,QAAQ,EAAE,MAAM,CAAA;IAChB,8BAA8B;IAC9B,UAAU,CAAC,EAAE,KAAK,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,8BAA8B;IAC9B,UAAU,CAAC,EAAE,KAAK,CAAA;IAClB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,sBAAsB,GAAG,wBAAwB,CAAA;AAElF;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,OAAO,CAAC,kBAAkB,EAAE,QAAQ,CAAC;IAC7E;;OAEG;cACgB,SAAS,IAAI,MAAM;IAItC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAUpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ;IAYhE;;OAEG;cACgB,iBAAiB,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI;CAQ/D"}