@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,36 @@
1
+ import { Command } from "../../common/command.js";
2
+ import { Type } from "@sinclair/typebox";
3
+ import { FlowTypeSchema } from "../../contracts/flow-type.js";
4
+ import { parseResponseHelper } from "../../utils/parse-response-helper.js";
5
+ /**
6
+ * Fetch all flow types for a data core
7
+ */
8
+ export class FlowTypeListCommand extends Command {
9
+ /**
10
+ * Get the method
11
+ */
12
+ getMethod() {
13
+ return "GET";
14
+ }
15
+ /**
16
+ * Get the base url
17
+ */
18
+ getBaseUrl() {
19
+ return "https://flow-type-2.api.flowcore.io";
20
+ }
21
+ /**
22
+ * Get the path
23
+ */
24
+ getPath() {
25
+ const queryParams = new URLSearchParams();
26
+ queryParams.set("dataCoreId", this.input.dataCoreId);
27
+ return `/api/v1/flow-types?${queryParams.toString()}`;
28
+ }
29
+ /**
30
+ * Parse the response
31
+ */
32
+ parseResponse(rawResponse) {
33
+ const response = parseResponseHelper(Type.Array(FlowTypeSchema), rawResponse);
34
+ return response;
35
+ }
36
+ }
@@ -0,0 +1,37 @@
1
+ import { Command } from "../../common/command.js";
2
+ import { type FlowType } from "../../contracts/flow-type.js";
3
+ /**
4
+ * The input for the flow type update command
5
+ */
6
+ export interface FlowTypeUpdateInput {
7
+ /** The id of the data core */
8
+ flowTypeId: string;
9
+ /** The description of the flow type */
10
+ description?: string;
11
+ }
12
+ /**
13
+ * Update a flow type
14
+ */
15
+ export declare class FlowTypeUpdateCommand extends Command<FlowTypeUpdateInput, FlowType> {
16
+ /**
17
+ * Get the method
18
+ */
19
+ protected getMethod(): string;
20
+ /**
21
+ * Get the base url
22
+ */
23
+ protected getBaseUrl(): string;
24
+ /**
25
+ * Get the path
26
+ */
27
+ protected getPath(): string;
28
+ /**
29
+ * Get the body for the request
30
+ */
31
+ protected getBody(): Record<string, unknown>;
32
+ /**
33
+ * Parse the response
34
+ */
35
+ protected parseResponse(rawResponse: unknown): FlowType;
36
+ }
37
+ //# sourceMappingURL=flow-type.update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flow-type.update.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.update.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,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC;IAC/E;;OAEG;cACgB,SAAS,IAAI,MAAM;IAGtC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAIpC;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAKrD;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ;CAGjE"}
@@ -0,0 +1,39 @@
1
+ import { Command } from "../../common/command.js";
2
+ import { FlowTypeSchema } from "../../contracts/flow-type.js";
3
+ import { parseResponseHelper } from "../../utils/parse-response-helper.js";
4
+ /**
5
+ * Update a flow type
6
+ */
7
+ export class FlowTypeUpdateCommand extends Command {
8
+ /**
9
+ * Get the method
10
+ */
11
+ getMethod() {
12
+ return "PATCH";
13
+ }
14
+ /**
15
+ * Get the base url
16
+ */
17
+ getBaseUrl() {
18
+ return "https://flow-type-2.api.flowcore.io";
19
+ }
20
+ /**
21
+ * Get the path
22
+ */
23
+ getPath() {
24
+ return `/api/v1/flow-types/${this.input.flowTypeId}`;
25
+ }
26
+ /**
27
+ * Get the body for the request
28
+ */
29
+ getBody() {
30
+ const { flowTypeId: _flowTypeId, ...payload } = this.input;
31
+ return payload;
32
+ }
33
+ /**
34
+ * Parse the response
35
+ */
36
+ parseResponse(rawResponse) {
37
+ return parseResponseHelper(FlowTypeSchema, rawResponse);
38
+ }
39
+ }
@@ -0,0 +1,33 @@
1
+ export * from "./tenant/tenant.fetch.js";
2
+ export * from "./tenant/tenant.list.js";
3
+ export * from "./api-key/api-key.list.js";
4
+ export * from "./api-key/api-key.create.js";
5
+ export * from "./api-key/api-key.delete.js";
6
+ export * from "./secret/secret.list.js";
7
+ export * from "./secret/secret.create.js";
8
+ export * from "./secret/secret.delete.js";
9
+ export * from "./variable/variable.list.js";
10
+ export * from "./variable/variable.create.js";
11
+ export * from "./variable/variable.delete.js";
12
+ export * from "./data-core/data-core.exists.js";
13
+ export * from "./data-core/data-core.fetch.js";
14
+ export * from "./data-core/data-core.list.js";
15
+ export * from "./data-core/data-core.create.js";
16
+ export * from "./data-core/data-core.update.js";
17
+ export * from "./data-core/data-core.delete-request.js";
18
+ export * from "./flow-type/flow-type.exists.js";
19
+ export * from "./flow-type/flow-type.fetch.js";
20
+ export * from "./flow-type/flow-type.list.js";
21
+ export * from "./flow-type/flow-type.create.js";
22
+ export * from "./flow-type/flow-type.update.js";
23
+ export * from "./flow-type/flow-type.delete-request.js";
24
+ export * from "./event-type/event-type.exists.js";
25
+ export * from "./event-type/event-type.fetch.js";
26
+ export * from "./event-type/event-type.list.js";
27
+ export * from "./event-type/event-type.create.js";
28
+ export * from "./event-type/event-type.update.js";
29
+ export * from "./event-type/event-type.delete-request.js";
30
+ export * from "./event-type/event-type.truncate-request.js";
31
+ export * from "./events/events.fetch.js";
32
+ export * from "./events/events.fetch-time-buckets-by-names.js";
33
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/index.ts"],"names":[],"mappings":"AACA,cAAc,0BAA0B,CAAA;AACxC,cAAc,yBAAyB,CAAA;AAGvC,cAAc,2BAA2B,CAAA;AACzC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAG3C,cAAc,yBAAyB,CAAA;AACvC,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AAGzC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,+BAA+B,CAAA;AAG7C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,yCAAyC,CAAA;AAGvD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,yCAAyC,CAAA;AAGvD,cAAc,mCAAmC,CAAA;AACjD,cAAc,kCAAkC,CAAA;AAChD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,mCAAmC,CAAA;AACjD,cAAc,mCAAmC,CAAA;AACjD,cAAc,2CAA2C,CAAA;AACzD,cAAc,6CAA6C,CAAA;AAG3D,cAAc,0BAA0B,CAAA;AACxC,cAAc,gDAAgD,CAAA"}
@@ -0,0 +1,40 @@
1
+ // Tenant
2
+ export * from "./tenant/tenant.fetch.js";
3
+ export * from "./tenant/tenant.list.js";
4
+ // Api Key
5
+ export * from "./api-key/api-key.list.js";
6
+ export * from "./api-key/api-key.create.js";
7
+ export * from "./api-key/api-key.delete.js";
8
+ // Secret
9
+ export * from "./secret/secret.list.js";
10
+ export * from "./secret/secret.create.js";
11
+ export * from "./secret/secret.delete.js";
12
+ // Variable
13
+ export * from "./variable/variable.list.js";
14
+ export * from "./variable/variable.create.js";
15
+ export * from "./variable/variable.delete.js";
16
+ // Data Core
17
+ export * from "./data-core/data-core.exists.js";
18
+ export * from "./data-core/data-core.fetch.js";
19
+ export * from "./data-core/data-core.list.js";
20
+ export * from "./data-core/data-core.create.js";
21
+ export * from "./data-core/data-core.update.js";
22
+ export * from "./data-core/data-core.delete-request.js";
23
+ // Flow Types
24
+ export * from "./flow-type/flow-type.exists.js";
25
+ export * from "./flow-type/flow-type.fetch.js";
26
+ export * from "./flow-type/flow-type.list.js";
27
+ export * from "./flow-type/flow-type.create.js";
28
+ export * from "./flow-type/flow-type.update.js";
29
+ export * from "./flow-type/flow-type.delete-request.js";
30
+ // Event Types
31
+ export * from "./event-type/event-type.exists.js";
32
+ export * from "./event-type/event-type.fetch.js";
33
+ export * from "./event-type/event-type.list.js";
34
+ export * from "./event-type/event-type.create.js";
35
+ export * from "./event-type/event-type.update.js";
36
+ export * from "./event-type/event-type.delete-request.js";
37
+ export * from "./event-type/event-type.truncate-request.js";
38
+ // Events
39
+ export * from "./events/events.fetch.js";
40
+ export * from "./events/events.fetch-time-buckets-by-names.js";
@@ -0,0 +1,30 @@
1
+ import { GraphQlCommand } from "../../common/command.js";
2
+ /**
3
+ * The input for the secret create command
4
+ */
5
+ export interface SecretCreateInput {
6
+ /** The tenant id */
7
+ tenantId: string;
8
+ /** The key of the secret */
9
+ key: string;
10
+ /** The value of the secret */
11
+ value: string;
12
+ }
13
+ /**
14
+ * List secrets
15
+ */
16
+ export declare class SecretCreateCommand extends GraphQlCommand<SecretCreateInput, boolean> {
17
+ /**
18
+ * The allowed modes for the command
19
+ */
20
+ protected allowedModes: ("apiKey" | "bearer")[];
21
+ /**
22
+ * Parse the response
23
+ */
24
+ protected parseResponse(rawResponse: unknown): boolean;
25
+ /**
26
+ * Get the body for the request
27
+ */
28
+ protected getBody(): Record<string, unknown>;
29
+ }
30
+ //# sourceMappingURL=secret.create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secret.create.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.create.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAIxD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,4BAA4B;IAC5B,GAAG,EAAE,MAAM,CAAA;IACX,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAA;CACd;AAyBD;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,cAAc,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACjF;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,OAAO;IAW/D;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAMtD"}
@@ -0,0 +1,60 @@
1
+ import { Type } from "@sinclair/typebox";
2
+ import { GraphQlCommand } from "../../common/command.js";
3
+ import { parseResponseHelper } from "../../utils/parse-response-helper.js";
4
+ import { CommandError } from "../../exceptions/command-error.js";
5
+ const graphQlQueryById = `
6
+ mutation FLOWCORE_SDK_SECRET_CREATE($tenantId: ID!, $key: String!, $value: String!) {
7
+ organization(id: $tenantId) {
8
+ createSecret(key: $key, value: $value)
9
+ }
10
+ }
11
+ `;
12
+ const responseSchema = Type.Object({
13
+ errors: Type.Optional(Type.Array(Type.Object({
14
+ message: Type.String(),
15
+ }))),
16
+ data: Type.Object({
17
+ organization: Type.Object({
18
+ createSecret: Type.Union([Type.Boolean(), Type.Null()]),
19
+ }),
20
+ }),
21
+ });
22
+ /**
23
+ * List secrets
24
+ */
25
+ export class SecretCreateCommand extends GraphQlCommand {
26
+ constructor() {
27
+ super(...arguments);
28
+ /**
29
+ * The allowed modes for the command
30
+ */
31
+ Object.defineProperty(this, "allowedModes", {
32
+ enumerable: true,
33
+ configurable: true,
34
+ writable: true,
35
+ value: ["bearer"]
36
+ });
37
+ }
38
+ /**
39
+ * Parse the response
40
+ */
41
+ parseResponse(rawResponse) {
42
+ const response = parseResponseHelper(responseSchema, rawResponse);
43
+ if (response.errors) {
44
+ throw new CommandError(this.constructor.name, response.errors[0].message);
45
+ }
46
+ if (response.data.organization.createSecret === null) {
47
+ throw new CommandError(this.constructor.name, "Failed to create secret");
48
+ }
49
+ return response.data.organization.createSecret;
50
+ }
51
+ /**
52
+ * Get the body for the request
53
+ */
54
+ getBody() {
55
+ return {
56
+ query: graphQlQueryById,
57
+ variables: this.input,
58
+ };
59
+ }
60
+ }
@@ -0,0 +1,28 @@
1
+ import { GraphQlCommand } from "../../common/command.js";
2
+ /**
3
+ * The input for the secret delete command
4
+ */
5
+ export interface SecretDeleteInput {
6
+ /** The tenant id */
7
+ tenantId: string;
8
+ /** The key of the secret */
9
+ key: string;
10
+ }
11
+ /**
12
+ * List secrets
13
+ */
14
+ export declare class SecretDeleteCommand extends GraphQlCommand<SecretDeleteInput, boolean> {
15
+ /**
16
+ * The allowed modes for the command
17
+ */
18
+ protected allowedModes: ("apiKey" | "bearer")[];
19
+ /**
20
+ * Parse the response
21
+ */
22
+ protected parseResponse(rawResponse: unknown): boolean;
23
+ /**
24
+ * Get the body for the request
25
+ */
26
+ protected getBody(): Record<string, unknown>;
27
+ }
28
+ //# sourceMappingURL=secret.delete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secret.delete.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.delete.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAIxD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,4BAA4B;IAC5B,GAAG,EAAE,MAAM,CAAA;CACZ;AAyBD;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,cAAc,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACjF;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,OAAO;IAW/D;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAMtD"}
@@ -0,0 +1,60 @@
1
+ import { Type } from "@sinclair/typebox";
2
+ import { GraphQlCommand } from "../../common/command.js";
3
+ import { parseResponseHelper } from "../../utils/parse-response-helper.js";
4
+ import { CommandError } from "../../exceptions/command-error.js";
5
+ const graphQlQueryById = `
6
+ mutation FLOWCORE_SDK_SECRET_DELETE($tenantId: ID!, $key: String!) {
7
+ organization(id: $tenantId) {
8
+ removeSecret(key: $key)
9
+ }
10
+ }
11
+ `;
12
+ const responseSchema = Type.Object({
13
+ errors: Type.Optional(Type.Array(Type.Object({
14
+ message: Type.String(),
15
+ }))),
16
+ data: Type.Object({
17
+ organization: Type.Object({
18
+ removeSecret: Type.Union([Type.Boolean(), Type.Null()]),
19
+ }),
20
+ }),
21
+ });
22
+ /**
23
+ * List secrets
24
+ */
25
+ export class SecretDeleteCommand extends GraphQlCommand {
26
+ constructor() {
27
+ super(...arguments);
28
+ /**
29
+ * The allowed modes for the command
30
+ */
31
+ Object.defineProperty(this, "allowedModes", {
32
+ enumerable: true,
33
+ configurable: true,
34
+ writable: true,
35
+ value: ["bearer"]
36
+ });
37
+ }
38
+ /**
39
+ * Parse the response
40
+ */
41
+ parseResponse(rawResponse) {
42
+ const response = parseResponseHelper(responseSchema, rawResponse);
43
+ if (response.errors) {
44
+ throw new CommandError(this.constructor.name, response.errors[0].message);
45
+ }
46
+ if (response.data.organization.removeSecret !== true) {
47
+ throw new CommandError(this.constructor.name, "Failed to delete secret");
48
+ }
49
+ return response.data.organization.removeSecret;
50
+ }
51
+ /**
52
+ * Get the body for the request
53
+ */
54
+ getBody() {
55
+ return {
56
+ query: graphQlQueryById,
57
+ variables: this.input,
58
+ };
59
+ }
60
+ }
@@ -0,0 +1,26 @@
1
+ import { GraphQlCommand } from "../../common/command.js";
2
+ /**
3
+ * The input for the secret list command
4
+ */
5
+ export interface SecretListInput {
6
+ /** The tenant id */
7
+ tenantId: string;
8
+ }
9
+ /**
10
+ * List secrets
11
+ */
12
+ export declare class SecretListCommand extends GraphQlCommand<SecretListInput, string[]> {
13
+ /**
14
+ * The allowed modes for the command
15
+ */
16
+ protected allowedModes: ("apiKey" | "bearer")[];
17
+ /**
18
+ * Parse the response
19
+ */
20
+ protected parseResponse(rawResponse: unknown): string[];
21
+ /**
22
+ * Get the body for the request
23
+ */
24
+ protected getBody(): Record<string, unknown>;
25
+ }
26
+ //# sourceMappingURL=secret.list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secret.list.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.list.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAIxD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAA;CACjB;AA4BD;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,cAAc,CAAC,eAAe,EAAE,MAAM,EAAE,CAAC;IAC9E;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,MAAM,EAAE;IAWhE;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAMtD"}
@@ -0,0 +1,63 @@
1
+ import { Type } from "@sinclair/typebox";
2
+ import { GraphQlCommand } from "../../common/command.js";
3
+ import { parseResponseHelper } from "../../utils/parse-response-helper.js";
4
+ import { CommandError } from "../../exceptions/command-error.js";
5
+ const graphQlQueryById = `
6
+ query FLOWCORE_SDK_SECRET_LIST($tenantId: ID!) {
7
+ organization(search: {id: $tenantId}) {
8
+ secrets
9
+ }
10
+ }
11
+ `;
12
+ const responseSchema = Type.Object({
13
+ errors: Type.Optional(Type.Array(Type.Object({
14
+ message: Type.String(),
15
+ }))),
16
+ data: Type.Object({
17
+ organization: Type.Object({
18
+ secrets: Type.Union([
19
+ Type.Array(Type.String()),
20
+ Type.Null(),
21
+ ]),
22
+ }),
23
+ }),
24
+ });
25
+ /**
26
+ * List secrets
27
+ */
28
+ export class SecretListCommand extends GraphQlCommand {
29
+ constructor() {
30
+ super(...arguments);
31
+ /**
32
+ * The allowed modes for the command
33
+ */
34
+ Object.defineProperty(this, "allowedModes", {
35
+ enumerable: true,
36
+ configurable: true,
37
+ writable: true,
38
+ value: ["bearer"]
39
+ });
40
+ }
41
+ /**
42
+ * Parse the response
43
+ */
44
+ parseResponse(rawResponse) {
45
+ const response = parseResponseHelper(responseSchema, rawResponse);
46
+ if (response.errors) {
47
+ throw new CommandError(this.constructor.name, response.errors[0].message);
48
+ }
49
+ if (response.data.organization.secrets === null) {
50
+ throw new CommandError(this.constructor.name, "Failed to list secrets");
51
+ }
52
+ return response.data.organization.secrets;
53
+ }
54
+ /**
55
+ * Get the body for the request
56
+ */
57
+ getBody() {
58
+ return {
59
+ query: graphQlQueryById,
60
+ variables: this.input,
61
+ };
62
+ }
63
+ }
@@ -0,0 +1,42 @@
1
+ import { GraphQlCommand } from "../../common/command.js";
2
+ import { type Tenant } from "../../contracts/tenant.js";
3
+ /**
4
+ * The input for the tenant fetch by id command
5
+ */
6
+ export interface TenantFetchByIdInput {
7
+ /** The id of the tenant */
8
+ tenantId: string;
9
+ /** The name of the tenant */
10
+ tenant?: never;
11
+ }
12
+ /**
13
+ * The input for the tenant fetch by name command
14
+ */
15
+ export interface TenantFetchByNameInput {
16
+ /** The name of the tenant */
17
+ tenant: string;
18
+ /** The id of the tenant */
19
+ tenantId?: never;
20
+ }
21
+ /**
22
+ * The input for the tenant fetch command
23
+ */
24
+ export type TenantFetchInput = TenantFetchByIdInput | TenantFetchByNameInput;
25
+ /**
26
+ * Fetch a tenant
27
+ */
28
+ export declare class TenantFetchCommand extends GraphQlCommand<TenantFetchInput, Tenant> {
29
+ /**
30
+ * The allowed modes for the command
31
+ */
32
+ protected allowedModes: ("apiKey" | "bearer")[];
33
+ /**
34
+ * Parse the response
35
+ */
36
+ protected parseResponse(rawResponse: unknown): Tenant;
37
+ /**
38
+ * Get the body for the request
39
+ */
40
+ protected getBody(): Record<string, unknown>;
41
+ }
42
+ //# sourceMappingURL=tenant.fetch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tenant.fetch.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.fetch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,EAAE,KAAK,MAAM,EAAoC,MAAM,2BAA2B,CAAA;AAIzF;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,2BAA2B;IAC3B,QAAQ,EAAE,MAAM,CAAA;IAChB,6BAA6B;IAC7B,MAAM,CAAC,EAAE,KAAK,CAAA;CACf;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,6BAA6B;IAC7B,MAAM,EAAE,MAAM,CAAA;IACd,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,KAAK,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,GAAG,sBAAsB,CAAA;AAmC5E;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,cAAc,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAC9E;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,MAAM;IAU9D;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAYtD"}
@@ -0,0 +1,79 @@
1
+ import { Type } from "@sinclair/typebox";
2
+ import { GraphQlCommand } from "../../common/command.js";
3
+ import { TenantV0Schema, tenantV0ToTenant } from "../../contracts/tenant.js";
4
+ import { parseResponseHelper } from "../../utils/parse-response-helper.js";
5
+ import { NotFoundException } from "../../exceptions/not-found.js";
6
+ const graphQlQueryById = `
7
+ query FLOWCORE_SDK_TENANT_FETCH($tenantId: ID!) {
8
+ organization(search: {id: $tenantId}) {
9
+ id
10
+ org
11
+ displayName
12
+ description
13
+ website
14
+ }
15
+ }
16
+ `;
17
+ const graphQlQueryByName = `
18
+ query FLOWCORE_SDK_TENANT_FETCH($tenant: String) {
19
+ organization(search: {org: $tenant}) {
20
+ id
21
+ org
22
+ displayName
23
+ description
24
+ website
25
+ }
26
+ }
27
+ `;
28
+ const responseSchema = Type.Object({
29
+ data: Type.Object({
30
+ organization: Type.Union([
31
+ TenantV0Schema,
32
+ Type.Null(),
33
+ ]),
34
+ }),
35
+ });
36
+ /**
37
+ * Fetch a tenant
38
+ */
39
+ export class TenantFetchCommand extends GraphQlCommand {
40
+ constructor() {
41
+ super(...arguments);
42
+ /**
43
+ * The allowed modes for the command
44
+ */
45
+ Object.defineProperty(this, "allowedModes", {
46
+ enumerable: true,
47
+ configurable: true,
48
+ writable: true,
49
+ value: ["bearer"]
50
+ });
51
+ }
52
+ /**
53
+ * Parse the response
54
+ */
55
+ parseResponse(rawResponse) {
56
+ const response = parseResponseHelper(responseSchema, rawResponse);
57
+ if (!response.data.organization) {
58
+ throw new NotFoundException("Tenant", {
59
+ [this.input.tenantId ? "id" : "name"]: this.input.tenantId ?? this.input.tenant,
60
+ });
61
+ }
62
+ return tenantV0ToTenant(response.data.organization);
63
+ }
64
+ /**
65
+ * Get the body for the request
66
+ */
67
+ getBody() {
68
+ if ("tenantId" in this.input) {
69
+ return {
70
+ query: graphQlQueryById,
71
+ variables: this.input,
72
+ };
73
+ }
74
+ return {
75
+ query: graphQlQueryByName,
76
+ variables: this.input,
77
+ };
78
+ }
79
+ }
@@ -0,0 +1,20 @@
1
+ import { GraphQlCommand } from "../../common/command.js";
2
+ import { type TenantWithLinkType } from "../../contracts/tenant.js";
3
+ /**
4
+ * List tenants
5
+ */
6
+ export declare class TenantListCommand extends GraphQlCommand<Record<string, never>, TenantWithLinkType[]> {
7
+ /**
8
+ * The allowed modes for the command
9
+ */
10
+ protected allowedModes: ("apiKey" | "bearer")[];
11
+ /**
12
+ * Parse the response
13
+ */
14
+ protected parseResponse(rawResponse: unknown): TenantWithLinkType[];
15
+ /**
16
+ * Get the body for the request
17
+ */
18
+ protected getBody(): Record<string, unknown>;
19
+ }
20
+ //# sourceMappingURL=tenant.list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tenant.list.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.list.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,EAAoC,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AA+BrG;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,cAAc,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAChG;;OAEG;IACH,UAAmB,YAAY,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAa;IAErE;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,kBAAkB,EAAE;IAQ5E;;OAEG;cACgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAKtD"}