@medusajs/types 3.0.0-preview-20250211091350 → 3.0.0-preview-20250406180144

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 (264) hide show
  1. package/dist/cache/service.d.ts +27 -0
  2. package/dist/cache/service.d.ts.map +1 -1
  3. package/dist/cart/common.d.ts +81 -0
  4. package/dist/cart/common.d.ts.map +1 -1
  5. package/dist/cart/mutations.d.ts +17 -2
  6. package/dist/cart/mutations.d.ts.map +1 -1
  7. package/dist/cart/mutations.js.map +1 -1
  8. package/dist/cart/service.d.ts +114 -1
  9. package/dist/cart/service.d.ts.map +1 -1
  10. package/dist/cart/workflows.d.ts +9 -0
  11. package/dist/cart/workflows.d.ts.map +1 -1
  12. package/dist/common/config-module.d.ts +5 -1
  13. package/dist/common/config-module.d.ts.map +1 -1
  14. package/dist/dal/repository-service.d.ts +2 -2
  15. package/dist/dal/repository-service.d.ts.map +1 -1
  16. package/dist/dml/index.d.ts +8 -0
  17. package/dist/dml/index.d.ts.map +1 -1
  18. package/dist/event-bus/common.d.ts +24 -0
  19. package/dist/event-bus/common.d.ts.map +1 -1
  20. package/dist/event-bus/event-bus-module.d.ts +58 -0
  21. package/dist/event-bus/event-bus-module.d.ts.map +1 -1
  22. package/dist/file/common.d.ts +3 -2
  23. package/dist/file/common.d.ts.map +1 -1
  24. package/dist/file/mutations.d.ts +5 -2
  25. package/dist/file/mutations.d.ts.map +1 -1
  26. package/dist/file/provider.d.ts +9 -3
  27. package/dist/file/provider.d.ts.map +1 -1
  28. package/dist/file/service.d.ts +10 -9
  29. package/dist/file/service.d.ts.map +1 -1
  30. package/dist/fulfillment/common/order.d.ts +2 -72
  31. package/dist/fulfillment/common/order.d.ts.map +1 -1
  32. package/dist/fulfillment/mutations/shipping-option.d.ts +23 -2
  33. package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
  34. package/dist/fulfillment/mutations/shipping-profile.d.ts +1 -1
  35. package/dist/fulfillment/mutations/shipping-profile.d.ts.map +1 -1
  36. package/dist/fulfillment/service.d.ts +3 -0
  37. package/dist/fulfillment/service.d.ts.map +1 -1
  38. package/dist/http/auth/payloads.d.ts +3 -0
  39. package/dist/http/auth/payloads.d.ts.map +1 -1
  40. package/dist/http/common/request.d.ts +2 -2
  41. package/dist/http/common/response.d.ts +21 -0
  42. package/dist/http/common/response.d.ts.map +1 -1
  43. package/dist/http/draft-order/admin/entities.d.ts +6 -0
  44. package/dist/http/draft-order/admin/entities.d.ts.map +1 -0
  45. package/dist/http/draft-order/admin/entities.js +3 -0
  46. package/dist/http/draft-order/admin/entities.js.map +1 -0
  47. package/dist/http/draft-order/admin/index.d.ts +5 -0
  48. package/dist/http/draft-order/admin/index.d.ts.map +1 -0
  49. package/dist/http/draft-order/admin/index.js +21 -0
  50. package/dist/http/draft-order/admin/index.js.map +1 -0
  51. package/dist/http/draft-order/admin/payloads.d.ts +243 -0
  52. package/dist/http/draft-order/admin/payloads.d.ts.map +1 -0
  53. package/dist/http/draft-order/admin/payloads.js +3 -0
  54. package/dist/http/draft-order/admin/payloads.js.map +1 -0
  55. package/dist/http/draft-order/admin/queries.d.ts +35 -0
  56. package/dist/http/draft-order/admin/queries.d.ts.map +1 -0
  57. package/dist/http/draft-order/admin/queries.js +3 -0
  58. package/dist/http/draft-order/admin/queries.js.map +1 -0
  59. package/dist/http/draft-order/admin/responses.d.ts +13 -0
  60. package/dist/http/draft-order/admin/responses.d.ts.map +1 -0
  61. package/dist/http/draft-order/admin/responses.js +3 -0
  62. package/dist/http/draft-order/admin/responses.js.map +1 -0
  63. package/dist/http/draft-order/index.d.ts +2 -0
  64. package/dist/http/draft-order/index.d.ts.map +1 -0
  65. package/dist/http/draft-order/index.js +18 -0
  66. package/dist/http/draft-order/index.js.map +1 -0
  67. package/dist/http/file/admin/responses.d.ts +6 -0
  68. package/dist/http/file/admin/responses.d.ts.map +1 -1
  69. package/dist/http/file/common.d.ts +17 -0
  70. package/dist/http/file/common.d.ts.map +1 -1
  71. package/dist/http/fulfillment/store/index.d.ts +4 -0
  72. package/dist/http/fulfillment/store/index.d.ts.map +1 -1
  73. package/dist/http/fulfillment-provider/admin/responses.d.ts +3 -0
  74. package/dist/http/fulfillment-provider/admin/responses.d.ts.map +1 -1
  75. package/dist/http/index.d.ts +2 -0
  76. package/dist/http/index.d.ts.map +1 -1
  77. package/dist/http/index.js +2 -0
  78. package/dist/http/index.js.map +1 -1
  79. package/dist/http/inventory-level/admin/payloads.d.ts +0 -16
  80. package/dist/http/inventory-level/admin/payloads.d.ts.map +1 -1
  81. package/dist/http/order/admin/entities.d.ts +10 -1
  82. package/dist/http/order/admin/entities.d.ts.map +1 -1
  83. package/dist/http/order/admin/queries.d.ts +0 -9
  84. package/dist/http/order/admin/queries.d.ts.map +1 -1
  85. package/dist/http/order/admin/responses.d.ts +0 -6
  86. package/dist/http/order/admin/responses.d.ts.map +1 -1
  87. package/dist/http/order/common.d.ts +6 -39
  88. package/dist/http/order/common.d.ts.map +1 -1
  89. package/dist/http/payment/admin/queries.d.ts +6 -0
  90. package/dist/http/payment/admin/queries.d.ts.map +1 -1
  91. package/dist/http/payment/admin/responses.d.ts +3 -0
  92. package/dist/http/payment/admin/responses.d.ts.map +1 -1
  93. package/dist/http/plugins/admin/responses.d.ts +10 -0
  94. package/dist/http/plugins/admin/responses.d.ts.map +1 -0
  95. package/dist/http/plugins/admin/responses.js +3 -0
  96. package/dist/http/plugins/admin/responses.js.map +1 -0
  97. package/dist/http/plugins/index.d.ts +2 -0
  98. package/dist/http/plugins/index.d.ts.map +1 -0
  99. package/dist/http/plugins/index.js +18 -0
  100. package/dist/http/plugins/index.js.map +1 -0
  101. package/dist/http/pricing/common.d.ts +8 -0
  102. package/dist/http/pricing/common.d.ts.map +1 -1
  103. package/dist/http/product/admin/payloads.d.ts +2 -2
  104. package/dist/http/product/admin/payloads.d.ts.map +1 -1
  105. package/dist/http/promotion/admin/entities.d.ts +20 -0
  106. package/dist/http/promotion/admin/entities.d.ts.map +1 -1
  107. package/dist/http/promotion/admin/payloads.d.ts +156 -0
  108. package/dist/http/promotion/admin/payloads.d.ts.map +1 -1
  109. package/dist/http/promotion/admin/queries.d.ts +45 -1
  110. package/dist/http/promotion/admin/queries.d.ts.map +1 -1
  111. package/dist/http/promotion/admin/responses.d.ts +17 -2
  112. package/dist/http/promotion/admin/responses.d.ts.map +1 -1
  113. package/dist/http/promotion/common.d.ts +53 -0
  114. package/dist/http/promotion/common.d.ts.map +1 -1
  115. package/dist/http/region/admin/entities.d.ts +3 -0
  116. package/dist/http/region/admin/entities.d.ts.map +1 -1
  117. package/dist/http/region/admin/payloads.d.ts +68 -0
  118. package/dist/http/region/admin/payloads.d.ts.map +1 -1
  119. package/dist/http/region/admin/queries.d.ts +21 -0
  120. package/dist/http/region/admin/queries.d.ts.map +1 -1
  121. package/dist/http/region/admin/responses.d.ts +6 -0
  122. package/dist/http/region/admin/responses.d.ts.map +1 -1
  123. package/dist/http/reservation/admin/entities.d.ts +39 -0
  124. package/dist/http/reservation/admin/entities.d.ts.map +1 -1
  125. package/dist/http/reservation/admin/payloads.d.ts +32 -0
  126. package/dist/http/reservation/admin/payloads.d.ts.map +1 -1
  127. package/dist/http/reservation/admin/queries.d.ts +34 -0
  128. package/dist/http/reservation/admin/queries.d.ts.map +1 -1
  129. package/dist/http/reservation/admin/responses.d.ts +6 -0
  130. package/dist/http/reservation/admin/responses.d.ts.map +1 -1
  131. package/dist/http/return/admin/entities.d.ts +3 -0
  132. package/dist/http/return/admin/entities.d.ts.map +1 -1
  133. package/dist/http/return/admin/payloads.d.ts +154 -0
  134. package/dist/http/return/admin/payloads.d.ts.map +1 -1
  135. package/dist/http/return/admin/queries.d.ts +15 -0
  136. package/dist/http/return/admin/queries.d.ts.map +1 -1
  137. package/dist/http/return/admin/responses.d.ts +6 -0
  138. package/dist/http/return/admin/responses.d.ts.map +1 -1
  139. package/dist/http/return/common.d.ts +73 -0
  140. package/dist/http/return/common.d.ts.map +1 -1
  141. package/dist/http/return-reason/admin/payloads.d.ts +21 -0
  142. package/dist/http/return-reason/admin/payloads.d.ts.map +1 -1
  143. package/dist/http/return-reason/admin/queries.d.ts +3 -0
  144. package/dist/http/return-reason/admin/queries.d.ts.map +1 -1
  145. package/dist/http/return-reason/admin/responses.d.ts +6 -0
  146. package/dist/http/return-reason/admin/responses.d.ts.map +1 -1
  147. package/dist/http/return-reason/common.d.ts +27 -0
  148. package/dist/http/return-reason/common.d.ts.map +1 -1
  149. package/dist/http/sales-channel/admin/entities.d.ts +24 -0
  150. package/dist/http/sales-channel/admin/entities.d.ts.map +1 -1
  151. package/dist/http/sales-channel/admin/payloads.d.ts +32 -0
  152. package/dist/http/sales-channel/admin/payloads.d.ts.map +1 -1
  153. package/dist/http/sales-channel/admin/queries.d.ts +32 -0
  154. package/dist/http/sales-channel/admin/queries.d.ts.map +1 -1
  155. package/dist/http/sales-channel/admin/responses.d.ts +6 -0
  156. package/dist/http/sales-channel/admin/responses.d.ts.map +1 -1
  157. package/dist/http/shipping-option/admin/entities.d.ts +187 -0
  158. package/dist/http/shipping-option/admin/entities.d.ts.map +1 -1
  159. package/dist/http/shipping-option/admin/payloads.d.ts +181 -0
  160. package/dist/http/shipping-option/admin/payloads.d.ts.map +1 -1
  161. package/dist/http/shipping-option/admin/queries.d.ts +36 -0
  162. package/dist/http/shipping-option/admin/queries.d.ts.map +1 -1
  163. package/dist/http/shipping-option/admin/responses.d.ts +6 -0
  164. package/dist/http/shipping-option/admin/responses.d.ts.map +1 -1
  165. package/dist/http/shipping-option/store/payloads.d.ts +12 -0
  166. package/dist/http/shipping-option/store/payloads.d.ts.map +1 -1
  167. package/dist/http/shipping-option/store/responses.d.ts +12 -0
  168. package/dist/http/shipping-option/store/responses.d.ts.map +1 -1
  169. package/dist/http/shipping-profile/admin/entities.d.ts +21 -0
  170. package/dist/http/shipping-profile/admin/entities.d.ts.map +1 -1
  171. package/dist/http/shipping-profile/admin/payloads.d.ts +18 -0
  172. package/dist/http/shipping-profile/admin/payloads.d.ts.map +1 -1
  173. package/dist/http/shipping-profile/admin/queries.d.ts +27 -0
  174. package/dist/http/shipping-profile/admin/queries.d.ts.map +1 -1
  175. package/dist/http/shipping-profile/admin/responses.d.ts +6 -0
  176. package/dist/http/shipping-profile/admin/responses.d.ts.map +1 -1
  177. package/dist/http/stock-locations/admin/entities.d.ts +21 -0
  178. package/dist/http/stock-locations/admin/entities.d.ts.map +1 -1
  179. package/dist/http/stock-locations/admin/payloads.d.ts +69 -0
  180. package/dist/http/stock-locations/admin/payloads.d.ts.map +1 -1
  181. package/dist/http/stock-locations/admin/queries.d.ts +24 -2
  182. package/dist/http/stock-locations/admin/queries.d.ts.map +1 -1
  183. package/dist/http/stock-locations/admin/responses.d.ts +6 -0
  184. package/dist/http/stock-locations/admin/responses.d.ts.map +1 -1
  185. package/dist/http/store/admin/entities.d.ts +54 -0
  186. package/dist/http/store/admin/entities.d.ts.map +1 -1
  187. package/dist/http/store/admin/queries.d.ts +9 -0
  188. package/dist/http/store/admin/queries.d.ts.map +1 -1
  189. package/dist/http/store/admin/responses.d.ts +6 -0
  190. package/dist/http/store/admin/responses.d.ts.map +1 -1
  191. package/dist/http/tax-rate/admin/entities.d.ts +54 -0
  192. package/dist/http/tax-rate/admin/entities.d.ts.map +1 -1
  193. package/dist/http/tax-rate/admin/payloads.d.ts +57 -0
  194. package/dist/http/tax-rate/admin/payloads.d.ts.map +1 -1
  195. package/dist/http/tax-rate/admin/queries.d.ts +30 -0
  196. package/dist/http/tax-rate/admin/queries.d.ts.map +1 -1
  197. package/dist/http/tax-rate/admin/responses.d.ts +6 -0
  198. package/dist/http/tax-rate/admin/responses.d.ts.map +1 -1
  199. package/dist/http/tax-region/admin/entities.d.ts +42 -0
  200. package/dist/http/tax-region/admin/entities.d.ts.map +1 -1
  201. package/dist/http/tax-region/admin/payloads.d.ts +30 -0
  202. package/dist/http/tax-region/admin/payloads.d.ts.map +1 -1
  203. package/dist/http/tax-region/admin/queries.d.ts +28 -0
  204. package/dist/http/tax-region/admin/queries.d.ts.map +1 -1
  205. package/dist/http/tax-region/admin/responses.d.ts +6 -0
  206. package/dist/http/tax-region/admin/responses.d.ts.map +1 -1
  207. package/dist/http/user/admin/entities.d.ts +27 -0
  208. package/dist/http/user/admin/entities.d.ts.map +1 -1
  209. package/dist/http/user/admin/payloads.d.ts +12 -0
  210. package/dist/http/user/admin/payloads.d.ts.map +1 -1
  211. package/dist/http/user/admin/queries.d.ts +24 -0
  212. package/dist/http/user/admin/queries.d.ts.map +1 -1
  213. package/dist/http/user/admin/responses.d.ts +6 -0
  214. package/dist/http/user/admin/responses.d.ts.map +1 -1
  215. package/dist/http/workflow-execution/admin/entities.d.ts +136 -2
  216. package/dist/http/workflow-execution/admin/entities.d.ts.map +1 -1
  217. package/dist/http/workflow-execution/admin/queries.d.ts +6 -0
  218. package/dist/http/workflow-execution/admin/queries.d.ts.map +1 -1
  219. package/dist/http/workflow-execution/admin/responses.d.ts +6 -0
  220. package/dist/http/workflow-execution/admin/responses.d.ts.map +1 -1
  221. package/dist/index-data/query-config/query-input-config.d.ts +1 -1
  222. package/dist/index-data/query-config/query-input-config.d.ts.map +1 -1
  223. package/dist/locking/index.d.ts +466 -0
  224. package/dist/locking/index.d.ts.map +1 -1
  225. package/dist/modules-sdk/index.d.ts +6 -1
  226. package/dist/modules-sdk/index.d.ts.map +1 -1
  227. package/dist/modules-sdk/medusa-internal-service.d.ts +5 -5
  228. package/dist/modules-sdk/medusa-internal-service.d.ts.map +1 -1
  229. package/dist/modules-sdk/remote-query-object-from-string.d.ts +4 -0
  230. package/dist/modules-sdk/remote-query-object-from-string.d.ts.map +1 -1
  231. package/dist/modules-sdk/remote-query.d.ts +16 -0
  232. package/dist/modules-sdk/remote-query.d.ts.map +1 -1
  233. package/dist/notification/mutations.d.ts +5 -4
  234. package/dist/notification/mutations.d.ts.map +1 -1
  235. package/dist/notification/service.d.ts +2 -5
  236. package/dist/notification/service.d.ts.map +1 -1
  237. package/dist/order/common.d.ts +45 -79
  238. package/dist/order/common.d.ts.map +1 -1
  239. package/dist/order/mutations.d.ts +38 -1
  240. package/dist/order/mutations.d.ts.map +1 -1
  241. package/dist/order/service.d.ts +101 -3
  242. package/dist/order/service.d.ts.map +1 -1
  243. package/dist/payment/common.d.ts +9 -1
  244. package/dist/payment/common.d.ts.map +1 -1
  245. package/dist/payment/mutations.d.ts +24 -1
  246. package/dist/payment/mutations.d.ts.map +1 -1
  247. package/dist/payment/provider.d.ts +121 -85
  248. package/dist/payment/provider.d.ts.map +1 -1
  249. package/dist/payment/service.d.ts +89 -10
  250. package/dist/payment/service.d.ts.map +1 -1
  251. package/dist/product/common.d.ts +11 -6
  252. package/dist/product/common.d.ts.map +1 -1
  253. package/dist/tax/provider.d.ts +9 -37
  254. package/dist/tax/provider.d.ts.map +1 -1
  255. package/dist/tsconfig.tsbuildinfo +1 -1
  256. package/dist/workflow/order/items.d.ts +5 -1
  257. package/dist/workflow/order/items.d.ts.map +1 -1
  258. package/dist/workflow/product-category/index.d.ts +5 -4
  259. package/dist/workflow/product-category/index.d.ts.map +1 -1
  260. package/dist/workflows/products/mutations.d.ts +2 -2
  261. package/dist/workflows/products/mutations.d.ts.map +1 -1
  262. package/dist/workflows-sdk/service.d.ts +12 -8
  263. package/dist/workflows-sdk/service.d.ts.map +1 -1
  264. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/tax-region/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE;QACjB,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,MAAM,CAAA;QACZ,aAAa,CAAC,EAAE,OAAO,CAAA;QACvB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KACnC,CAAA;IACD,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC"}
1
+ {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/tax-region/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,gBAAgB,CAAC,EAAE;QACjB;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAA;QACb;;WAEG;QACH,IAAI,EAAE,MAAM,CAAA;QACZ;;WAEG;QACH,IAAI,EAAE,MAAM,CAAA;QACZ;;WAEG;QACH,aAAa,CAAC,EAAE,OAAO,CAAA;QACvB;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KACnC,CAAA;IACD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC"}
@@ -1,14 +1,42 @@
1
1
  import { BaseFilterable, OperatorMap } from "../../../dal";
2
2
  import { FindParams, SelectParams } from "../../common";
3
3
  export interface AdminTaxRegionListParams extends FindParams, BaseFilterable<AdminTaxRegionListParams> {
4
+ /**
5
+ * Filter by tax region ID(s).
6
+ */
4
7
  id?: string | string[];
8
+ /**
9
+ * Query or keywords to search the tax region's searchable fields.
10
+ */
5
11
  q?: string;
12
+ /**
13
+ * Filter by the tax region's parent ID(s) to retrieve its children.
14
+ */
6
15
  parent_id?: string | string[] | OperatorMap<string | string[]>;
16
+ /**
17
+ * Filter by the tax region's country code(s).
18
+ */
7
19
  country_code?: string | string[] | OperatorMap<string | string[]>;
20
+ /**
21
+ * Filter by the tax region's province code(s).
22
+ */
8
23
  province_code?: string | string[] | OperatorMap<string | string[]>;
24
+ /**
25
+ * Filter by the date the tax region was created.
26
+ */
9
27
  created_at?: string | OperatorMap<string>;
28
+ /**
29
+ * Filter by the date the tax region was updated.
30
+ */
10
31
  updated_at?: string | OperatorMap<string>;
32
+ /**
33
+ * Filter by the date the tax region was deleted.
34
+ */
11
35
  deleted_at?: string | OperatorMap<string>;
36
+ /**
37
+ * Filter by the ID of the user who created the tax region to
38
+ * retrieve tax regions created by a specific user.
39
+ */
12
40
  created_by?: string | OperatorMap<string>;
13
41
  }
14
42
  export interface AdminTaxRegionParams extends SelectParams {
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/tax-region/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAEvD,MAAM,WAAW,wBACf,SAAQ,UAAU,EAChB,cAAc,CAAC,wBAAwB,CAAC;IAC1C,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IAC9D,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IACjE,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IAClE,UAAU,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACzC,UAAU,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACzC,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1C;AAED,MAAM,WAAW,oBAAqB,SAAQ,YAAY;CAAG"}
@@ -1,9 +1,15 @@
1
1
  import { DeleteResponse, PaginatedResponse } from "../../common";
2
2
  import { AdminTaxRegion } from "./entities";
3
3
  export interface AdminTaxRegionResponse {
4
+ /**
5
+ * The tax region's details.
6
+ */
4
7
  tax_region: AdminTaxRegion;
5
8
  }
6
9
  export type AdminTaxRegionListResponse = PaginatedResponse<{
10
+ /**
11
+ * The list of tax regions.
12
+ */
7
13
  tax_regions: AdminTaxRegion[];
8
14
  }>;
9
15
  export interface AdminTaxRegionDeleteResponse extends DeleteResponse<"tax_region"> {
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/tax-region/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE3C,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,cAAc,CAAA;CAC3B;AAED,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;IACzD,WAAW,EAAE,cAAc,EAAE,CAAA;CAC9B,CAAC,CAAA;AAEF,MAAM,WAAW,4BACf,SAAQ,cAAc,CAAC,YAAY,CAAC;CAAG"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/tax-region/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE3C,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,UAAU,EAAE,cAAc,CAAA;CAC3B;AAED,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;IACzD;;OAEG;IACH,WAAW,EAAE,cAAc,EAAE,CAAA;CAC9B,CAAC,CAAA;AAEF,MAAM,WAAW,4BACf,SAAQ,cAAc,CAAC,YAAY,CAAC;CAAG"}
@@ -1,12 +1,39 @@
1
1
  export interface AdminUser {
2
+ /**
3
+ * The user's ID.
4
+ */
2
5
  id: string;
6
+ /**
7
+ * The user's email.
8
+ */
3
9
  email: string;
10
+ /**
11
+ * The user's first name.
12
+ */
4
13
  first_name: string | null;
14
+ /**
15
+ * The user's last name.
16
+ */
5
17
  last_name: string | null;
18
+ /**
19
+ * The URL of the user's avatar image.
20
+ */
6
21
  avatar_url: string | null;
22
+ /**
23
+ * Custom key-value pairs that can be added to the user.
24
+ */
7
25
  metadata: Record<string, unknown> | null;
26
+ /**
27
+ * The date the user was created.
28
+ */
8
29
  created_at: string;
30
+ /**
31
+ * The date the user was updated.
32
+ */
9
33
  updated_at: string;
34
+ /**
35
+ * The date the user was deleted.
36
+ */
10
37
  deleted_at: string | null;
11
38
  }
12
39
  //# sourceMappingURL=entities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/user/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/user/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B"}
@@ -5,9 +5,21 @@ export interface AdminCreateUser {
5
5
  avatar_url?: string | null;
6
6
  }
7
7
  export interface AdminUpdateUser {
8
+ /**
9
+ * The first name of the user.
10
+ */
8
11
  first_name?: string | null;
12
+ /**
13
+ * The last name of the user.
14
+ */
9
15
  last_name?: string | null;
16
+ /**
17
+ * The URL of the user's avatar image.
18
+ */
10
19
  avatar_url?: string | null;
20
+ /**
21
+ * Custom key-value pairs that can be added to the user.
22
+ */
11
23
  metadata?: Record<string, unknown> | null;
12
24
  }
13
25
  //# sourceMappingURL=payloads.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/user/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B;AAED,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
1
+ {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/user/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
@@ -1,13 +1,37 @@
1
1
  import { OperatorMap } from "../../../dal";
2
2
  import { FindParams, SelectParams } from "../../common";
3
3
  export interface AdminUserListParams extends FindParams {
4
+ /**
5
+ * Query or keywords to search the user's searchable fields.
6
+ */
4
7
  q?: string;
8
+ /**
9
+ * Filter by user ID(s).
10
+ */
5
11
  id?: string | string[];
12
+ /**
13
+ * Filter by email(s).
14
+ */
6
15
  email?: string | null;
16
+ /**
17
+ * Filter by first name(s).
18
+ */
7
19
  first_name?: string | null;
20
+ /**
21
+ * Filter by last name(s).
22
+ */
8
23
  last_name?: string | null;
24
+ /**
25
+ * Filter by the date the user was created.
26
+ */
9
27
  created_at?: OperatorMap<string>;
28
+ /**
29
+ * Filter by the date the user was updated.
30
+ */
10
31
  updated_at?: OperatorMap<string>;
32
+ /**
33
+ * Filter by the date the user was deleted.
34
+ */
11
35
  deleted_at?: OperatorMap<string>;
12
36
  }
13
37
  export interface AdminUserParams extends SelectParams {
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/user/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAEvD,MAAM,WAAW,mBAAoB,SAAQ,UAAU;IACrD,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,eAAgB,SAAQ,YAAY;CAAG"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/user/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAEvD,MAAM,WAAW,mBAAoB,SAAQ,UAAU;IACrD;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,eAAgB,SAAQ,YAAY;CAAG"}
@@ -1,9 +1,15 @@
1
1
  import { DeleteResponse, PaginatedResponse } from "../../common";
2
2
  import { AdminUser } from "./entities";
3
3
  export interface AdminUserResponse {
4
+ /**
5
+ * The user's details.
6
+ */
4
7
  user: AdminUser;
5
8
  }
6
9
  export interface AdminUserListResponse extends PaginatedResponse<{
10
+ /**
11
+ * The list of users.
12
+ */
7
13
  users: AdminUser[];
8
14
  }> {
9
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/user/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAEtC,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,SAAS,CAAA;CAChB;AAED,MAAM,WAAW,qBACf,SAAQ,iBAAiB,CAAC;IAAE,KAAK,EAAE,SAAS,EAAE,CAAA;CAAE,CAAC;CAAG;AAEtD,MAAM,WAAW,uBAAwB,SAAQ,cAAc,CAAC,MAAM,CAAC;CAAG"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/user/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAEtC,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,IAAI,EAAE,SAAS,CAAA;CAChB;AAED,MAAM,WAAW,qBACf,SAAQ,iBAAiB,CAAC;IACxB;;OAEG;IACH,KAAK,EAAE,SAAS,EAAE,CAAA;CACnB,CAAC;CAAG;AAEP,MAAM,WAAW,uBAAwB,SAAQ,cAAc,CAAC,MAAM,CAAC;CAAG"}
@@ -1,62 +1,196 @@
1
1
  export type TransactionStepStatus = "idle" | "ok" | "waiting_response" | "temp_failure" | "permanent_failure";
2
2
  export type TransactionState = "not_started" | "invoking" | "waiting_to_compensate" | "compensating" | "done" | "reverted" | "failed";
3
3
  export type TransactionStepState = "not_started" | "invoking" | "compensating" | "done" | "reverted" | "failed" | "dormant" | "skipped" | "skipped_failure" | "timeout";
4
- interface AdminWorkflowExecutionExecution {
4
+ export interface AdminWorkflowExecutionExecution {
5
+ /**
6
+ * The details of the workflow execution's steps.
7
+ * The key is the step's ID, and the value is the step's details.
8
+ */
5
9
  steps: Record<string, AdminWorkflowExecutionStep>;
6
10
  }
7
11
  export type StepInvokeResult = {
12
+ /**
13
+ * The output details of the step.
14
+ */
8
15
  output: {
16
+ /**
17
+ * The output of the step. This is the first parameter
18
+ * passed to the returned `StepResponse` function.
19
+ */
9
20
  output: unknown;
21
+ /**
22
+ * The input of the step's compensation function.
23
+ * This is the second parameter passed to the returned `StepResponse` function.
24
+ */
10
25
  compensateInput: unknown;
11
26
  };
12
27
  };
13
28
  export type StepError = {
29
+ /**
30
+ * The error details.
31
+ */
14
32
  error: Record<string, unknown>;
33
+ /**
34
+ * The ID of the action that failed.
35
+ */
15
36
  action: string;
37
+ /**
38
+ * The type of the handler that failed. It can be `invoke` or `compensate`.
39
+ */
16
40
  handlerType: string;
17
41
  };
18
42
  export interface WorkflowExecutionContext {
43
+ /**
44
+ * The data of the workflow execution.
45
+ */
19
46
  data: {
47
+ /**
48
+ * The details of the invocation of the workflow execution's steps.
49
+ * The key is the step's ID, and the value is the step's details.
50
+ *
51
+ * These details are only included for steps that have their `saveResponse` property set to `true`.
52
+ */
20
53
  invoke: Record<string, StepInvokeResult>;
54
+ /**
55
+ * The payload or input of the workflow execution.
56
+ */
21
57
  payload?: unknown;
22
58
  };
59
+ /**
60
+ * The output of the compensation function of the workflow execution.
61
+ * The key is the step's ID, and the value is the compensation function's output.
62
+ *
63
+ * These details are only included for steps that have their `saveResponse` property set to `true`.
64
+ */
23
65
  compensate: Record<string, unknown>;
66
+ /**
67
+ * The errors of the workflow execution.
68
+ */
24
69
  errors: StepError[];
25
70
  }
26
71
  export interface WorkflowExecutionDefinition {
72
+ /**
73
+ * If true, the step is executed asynchronously. This means that the workflow will not wait for the response of this step.
74
+ * Async steps require to have their responses set using `setStepSuccess` or `setStepFailure`, unless it is combined with `backgroundExecution: true`.
75
+ * If combined with a timeout, and any response is not set within that interval, the step will be marked as `TransactionStepStatus.TIMEOUT` and the workflow will be reverted immediately.
76
+ */
27
77
  async?: boolean;
78
+ /**
79
+ * If true, the compensation function for this step is executed asynchronously. Which means, the response has to be set using `setStepSuccess` or `setStepFailure`.
80
+ */
28
81
  compensateAsync?: boolean;
82
+ /**
83
+ * If true, no compensation action will be triggered for this step in case of a failure.
84
+ */
29
85
  noCompensation?: boolean;
86
+ /**
87
+ * Indicates whether the workflow should continue even if there is a permanent failure in this step.
88
+ * In case it is set to true, the children steps of this step will not be executed and their status will be marked as `TransactionStepState`.SKIPPED_FAILURE.
89
+ */
30
90
  continueOnPermanentFailure?: boolean;
91
+ /**
92
+ * The maximum number of times this step should be retried in case of temporary failures.
93
+ * The default is 0 (no retries).
94
+ */
31
95
  maxRetries?: number;
96
+ /**
97
+ * If true, the workflow will not wait for their sibling steps to complete before moving to the next step.
98
+ */
32
99
  noWait?: boolean;
100
+ /**
101
+ * The interval (in seconds) between retry attempts after a temporary failure.
102
+ * The default is to retry immediately.
103
+ */
33
104
  retryInterval?: number;
105
+ /**
106
+ * The interval (in seconds) to retry a step even if its status is `TransactionStepStatus.WAITING`.
107
+ */
34
108
  retryIntervalAwaiting?: number;
109
+ /**
110
+ * If true, the response of this step will be stored.
111
+ * Default is true.
112
+ */
35
113
  saveResponse?: boolean;
114
+ /**
115
+ * The maximum amount of time (in seconds) to wait for this step to complete.
116
+ * This is NOT an execution timeout, the step will always be executed and wait for its response.
117
+ * If the response is not received within the timeout set, it will be marked as `TransactionStepStatus.TIMEOUT` and the workflow will be reverted as soon as it receives the response.
118
+ */
36
119
  timeout?: number;
37
120
  }
38
121
  export interface WorkflowExecutionFn {
122
+ /**
123
+ * The state of the step.
124
+ */
39
125
  state: TransactionStepState;
126
+ /**
127
+ * The status of the step.
128
+ */
40
129
  status: TransactionStepStatus;
41
130
  }
42
131
  export interface AdminWorkflowExecutionStep {
132
+ /**
133
+ * The ID of the step.
134
+ */
43
135
  id: string;
136
+ /**
137
+ * The invoke function of the step.
138
+ */
44
139
  invoke: WorkflowExecutionFn;
140
+ /**
141
+ * The definition of the step.
142
+ */
45
143
  definition: WorkflowExecutionDefinition;
144
+ /**
145
+ * The compensate function of the step.
146
+ */
46
147
  compensate: WorkflowExecutionFn;
148
+ /**
149
+ * The depth of the step.
150
+ */
47
151
  depth: number;
152
+ /**
153
+ * The date the step was started.
154
+ */
48
155
  startedAt: number;
49
156
  }
50
157
  export interface AdminWorkflowExecution {
158
+ /**
159
+ * The ID of the workflow execution.
160
+ */
51
161
  id: string;
162
+ /**
163
+ * The ID of the workflow.
164
+ */
52
165
  workflow_id: string;
166
+ /**
167
+ * The ID of the transaction.
168
+ */
53
169
  transaction_id: string;
170
+ /**
171
+ * The execution details of the workflow.
172
+ */
54
173
  execution: AdminWorkflowExecutionExecution;
174
+ /**
175
+ * The context of the workflow execution.
176
+ * This includes the data, errors and the output of the step and compensation functions of the workflow execution.
177
+ */
55
178
  context: WorkflowExecutionContext;
179
+ /**
180
+ * The state of the workflow execution.
181
+ */
56
182
  state: TransactionState;
183
+ /**
184
+ * The date the workflow execution was created.
185
+ */
57
186
  created_at: Date;
187
+ /**
188
+ * The date the workflow execution was updated.
189
+ */
58
190
  updated_at: Date;
191
+ /**
192
+ * The date the workflow execution was deleted.
193
+ */
59
194
  deleted_at?: Date | null;
60
195
  }
61
- export {};
62
196
  //# sourceMappingURL=entities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/workflow-execution/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAC7B,MAAM,GACN,IAAI,GACJ,kBAAkB,GAClB,cAAc,GACd,mBAAmB,CAAA;AAEvB,MAAM,MAAM,gBAAgB,GACxB,aAAa,GACb,UAAU,GACV,uBAAuB,GACvB,cAAc,GACd,MAAM,GACN,UAAU,GACV,QAAQ,CAAA;AAEZ,MAAM,MAAM,oBAAoB,GAC5B,aAAa,GACb,UAAU,GACV,cAAc,GACd,MAAM,GACN,UAAU,GACV,QAAQ,GACR,SAAS,GACT,SAAS,GACT,iBAAiB,GACjB,SAAS,CAAA;AAEb,UAAU,+BAA+B;IACvC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAA;CAClD;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE;QACN,MAAM,EAAE,OAAO,CAAA;QACf,eAAe,EAAE,OAAO,CAAA;KACzB,CAAA;CACF,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC9B,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE;QACJ,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAA;QACxC,OAAO,CAAC,EAAE,OAAO,CAAA;KAClB,CAAA;IACD,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACnC,MAAM,EAAE,SAAS,EAAE,CAAA;CACpB;AAED,MAAM,WAAW,2BAA2B;IAC1C,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,0BAA0B,CAAC,EAAE,OAAO,CAAA;IACpC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,oBAAoB,CAAA;IAC3B,MAAM,EAAE,qBAAqB,CAAA;CAC9B;AAED,MAAM,WAAW,0BAA0B;IACzC,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,mBAAmB,CAAA;IAC3B,UAAU,EAAE,2BAA2B,CAAA;IACvC,UAAU,EAAE,mBAAmB,CAAA;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;IACtB,SAAS,EAAE,+BAA+B,CAAA;IAC1C,OAAO,EAAE,wBAAwB,CAAA;IACjC,KAAK,EAAE,gBAAgB,CAAA;IACvB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;CACzB"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/workflow-execution/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAC7B,MAAM,GACN,IAAI,GACJ,kBAAkB,GAClB,cAAc,GACd,mBAAmB,CAAA;AAEvB,MAAM,MAAM,gBAAgB,GACxB,aAAa,GACb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owExecutionsParams extends FindParams {
3
+ /**
4
+ * Filter by the ID of the transaction to retrieve workflow executions for a specific transaction.
5
+ */
3
6
  transaction_id?: string | string[];
7
+ /**
8
+ * Filter by the ID of the workflow to retrieve workflow executions for a specific workflow.
9
+ */
4
10
  workflow_id?: string | string[];
5
11
  }
6
12
  //# sourceMappingURL=queries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/workflow-execution/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,WAAW,gCAAiC,SAAQ,UAAU;IAClE,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAClC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAChC"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/workflow-execution/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,WAAW,gCAAiC,SAAQ,UAAU;IAClE;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAClC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAChC"}
@@ -2,9 +2,15 @@ import { Acknowledgement } from "../../../workflows-sdk";
2
2
  import { PaginatedResponse } from "../../common/response";
3
3
  import { AdminWorkflowExecution } from "./entities";
4
4
  export interface AdminWorkflowExecutionResponse {
5
+ /**
6
+ * The workflow execution's details.
7
+ */
5
8
  workflow_execution: AdminWorkflowExecution;
6
9
  }
7
10
  export type AdminWorkflowExecutionListResponse = PaginatedResponse<{
11
+ /**
12
+ * The list of workflow executions.
13
+ */
8
14
  workflow_executions: AdminWorkflowExecution[];
9
15
  }>;
10
16
  export type AdminWorkflowRunResponse = {
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/workflow-execution/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAA;AAEnD,MAAM,WAAW,8BAA8B;IAC7C,kBAAkB,EAAE,sBAAsB,CAAA;CAC3C;AAED,MAAM,MAAM,kCAAkC,GAAG,iBAAiB,CAAC;IACjE,mBAAmB,EAAE,sBAAsB,EAAE,CAAA;CAC9C,CAAC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,eAAe,EAAE,eAAe,CAAA;CACjC,CAAA"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/workflow-execution/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAA;AAEnD,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,kBAAkB,EAAE,sBAAsB,CAAA;CAC3C;AAED,MAAM,MAAM,kCAAkC,GAAG,iBAAiB,CAAC;IACjE;;OAEG;IACH,mBAAmB,EAAE,sBAAsB,EAAE,CAAA;CAC9C,CAAC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,eAAe,EAAE,eAAe,CAAA;CACjC,CAAA"}
@@ -12,7 +12,7 @@ export type IndexQueryConfig<TEntry extends string> = {
12
12
  export type QueryFunctionReturnPagination = {
13
13
  skip?: number;
14
14
  take?: number;
15
- count: number;
15
+ count?: number;
16
16
  };
17
17
  /**
18
18
  * The QueryResultSet presents a typed output for the
@@ -1 +1 @@
1
- {"version":3,"file":"query-input-config.d.ts","sourceRoot":"","sources":["../../../src/index-data/query-config/query-input-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mDAAmD,CAAA;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAE3D,MAAM,MAAM,gBAAgB,CAAC,MAAM,SAAS,MAAM,IAAI;IACpD,MAAM,EAAE,mBAAmB,CACzB,uBAAuB,CAAC,MAAM,GAAG,MAAM,uBAAuB,CAAC,CAChE,SAAS,KAAK,GACX,MAAM,EAAE,GACR,mBAAmB,CACjB,uBAAuB,CAAC,MAAM,GAAG,MAAM,uBAAuB,CAAC,CAChE,EAAE,CAAA;IACP,OAAO,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAA;IAC9B,WAAW,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAA;IAClC,UAAU,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,CAAC,CAAA;IAC5D,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,cAAc,CAAC,MAAM,SAAS,MAAM,IAAI;IAClD,IAAI,EAAE,MAAM,SAAS,MAAM,uBAAuB,GAC9C,uBAAuB,CAAC,MAAM,CAAC,EAAE,GACjC,GAAG,EAAE,CAAA;IACT,QAAQ,CAAC,EAAE,6BAA6B,CAAA;CACzC,CAAA"}
1
+ {"version":3,"file":"query-input-config.d.ts","sourceRoot":"","sources":["../../../src/index-data/query-config/query-input-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mDAAmD,CAAA;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAE3D,MAAM,MAAM,gBAAgB,CAAC,MAAM,SAAS,MAAM,IAAI;IACpD,MAAM,EAAE,mBAAmB,CACzB,uBAAuB,CAAC,MAAM,GAAG,MAAM,uBAAuB,CAAC,CAChE,SAAS,KAAK,GACX,MAAM,EAAE,GACR,mBAAmB,CACjB,uBAAuB,CAAC,MAAM,GAAG,MAAM,uBAAuB,CAAC,CAChE,EAAE,CAAA;IACP,OAAO,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAA;IAC9B,WAAW,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAA;IAClC,UAAU,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,CAAC,CAAA;IAC5D,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,cAAc,CAAC,MAAM,SAAS,MAAM,IAAI;IAClD,IAAI,EAAE,MAAM,SAAS,MAAM,uBAAuB,GAC9C,uBAAuB,CAAC,MAAM,CAAC,EAAE,GACjC,GAAG,EAAE,CAAA;IACT,QAAQ,CAAC,EAAE,6BAA6B,CAAA;CACzC,CAAA"}