@medusajs/types 3.0.0-preview-20250211091350 → 3.0.0-preview-20250406164537
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.
- package/dist/cache/service.d.ts +27 -0
- package/dist/cache/service.d.ts.map +1 -1
- package/dist/cart/common.d.ts +81 -0
- package/dist/cart/common.d.ts.map +1 -1
- package/dist/cart/mutations.d.ts +17 -2
- package/dist/cart/mutations.d.ts.map +1 -1
- package/dist/cart/mutations.js.map +1 -1
- package/dist/cart/service.d.ts +114 -1
- package/dist/cart/service.d.ts.map +1 -1
- package/dist/cart/workflows.d.ts +9 -0
- package/dist/cart/workflows.d.ts.map +1 -1
- package/dist/common/config-module.d.ts +5 -1
- package/dist/common/config-module.d.ts.map +1 -1
- package/dist/dal/repository-service.d.ts +2 -2
- package/dist/dal/repository-service.d.ts.map +1 -1
- package/dist/dml/index.d.ts +8 -0
- package/dist/dml/index.d.ts.map +1 -1
- package/dist/event-bus/common.d.ts +24 -0
- package/dist/event-bus/common.d.ts.map +1 -1
- package/dist/event-bus/event-bus-module.d.ts +58 -0
- package/dist/event-bus/event-bus-module.d.ts.map +1 -1
- package/dist/file/common.d.ts +3 -2
- package/dist/file/common.d.ts.map +1 -1
- package/dist/file/mutations.d.ts +5 -2
- package/dist/file/mutations.d.ts.map +1 -1
- package/dist/file/provider.d.ts +9 -3
- package/dist/file/provider.d.ts.map +1 -1
- package/dist/file/service.d.ts +10 -9
- package/dist/file/service.d.ts.map +1 -1
- package/dist/fulfillment/common/order.d.ts +2 -72
- package/dist/fulfillment/common/order.d.ts.map +1 -1
- package/dist/fulfillment/mutations/shipping-option.d.ts +23 -2
- package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
- package/dist/fulfillment/mutations/shipping-profile.d.ts +1 -1
- package/dist/fulfillment/mutations/shipping-profile.d.ts.map +1 -1
- package/dist/fulfillment/service.d.ts +3 -0
- package/dist/fulfillment/service.d.ts.map +1 -1
- package/dist/http/auth/payloads.d.ts +3 -0
- package/dist/http/auth/payloads.d.ts.map +1 -1
- package/dist/http/common/request.d.ts +2 -2
- package/dist/http/common/response.d.ts +21 -0
- package/dist/http/common/response.d.ts.map +1 -1
- package/dist/http/draft-order/admin/entities.d.ts +6 -0
- package/dist/http/draft-order/admin/entities.d.ts.map +1 -0
- package/dist/http/draft-order/admin/entities.js +3 -0
- package/dist/http/draft-order/admin/entities.js.map +1 -0
- package/dist/http/draft-order/admin/index.d.ts +5 -0
- package/dist/http/draft-order/admin/index.d.ts.map +1 -0
- package/dist/http/draft-order/admin/index.js +21 -0
- package/dist/http/draft-order/admin/index.js.map +1 -0
- package/dist/http/draft-order/admin/payloads.d.ts +243 -0
- package/dist/http/draft-order/admin/payloads.d.ts.map +1 -0
- package/dist/http/draft-order/admin/payloads.js +3 -0
- package/dist/http/draft-order/admin/payloads.js.map +1 -0
- package/dist/http/draft-order/admin/queries.d.ts +35 -0
- package/dist/http/draft-order/admin/queries.d.ts.map +1 -0
- package/dist/http/draft-order/admin/queries.js +3 -0
- package/dist/http/draft-order/admin/queries.js.map +1 -0
- package/dist/http/draft-order/admin/responses.d.ts +13 -0
- package/dist/http/draft-order/admin/responses.d.ts.map +1 -0
- package/dist/http/draft-order/admin/responses.js +3 -0
- package/dist/http/draft-order/admin/responses.js.map +1 -0
- package/dist/http/draft-order/index.d.ts +2 -0
- package/dist/http/draft-order/index.d.ts.map +1 -0
- package/dist/http/draft-order/index.js +18 -0
- package/dist/http/draft-order/index.js.map +1 -0
- package/dist/http/file/admin/responses.d.ts +6 -0
- package/dist/http/file/admin/responses.d.ts.map +1 -1
- package/dist/http/file/common.d.ts +17 -0
- package/dist/http/file/common.d.ts.map +1 -1
- package/dist/http/fulfillment/store/index.d.ts +4 -0
- package/dist/http/fulfillment/store/index.d.ts.map +1 -1
- package/dist/http/fulfillment-provider/admin/responses.d.ts +3 -0
- package/dist/http/fulfillment-provider/admin/responses.d.ts.map +1 -1
- package/dist/http/index.d.ts +2 -0
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +2 -0
- package/dist/http/index.js.map +1 -1
- package/dist/http/inventory-level/admin/payloads.d.ts +0 -16
- package/dist/http/inventory-level/admin/payloads.d.ts.map +1 -1
- package/dist/http/order/admin/entities.d.ts +10 -1
- package/dist/http/order/admin/entities.d.ts.map +1 -1
- package/dist/http/order/admin/queries.d.ts +0 -9
- package/dist/http/order/admin/queries.d.ts.map +1 -1
- package/dist/http/order/admin/responses.d.ts +0 -6
- package/dist/http/order/admin/responses.d.ts.map +1 -1
- package/dist/http/order/common.d.ts +6 -39
- package/dist/http/order/common.d.ts.map +1 -1
- package/dist/http/payment/admin/queries.d.ts +6 -0
- package/dist/http/payment/admin/queries.d.ts.map +1 -1
- package/dist/http/payment/admin/responses.d.ts +3 -0
- package/dist/http/payment/admin/responses.d.ts.map +1 -1
- package/dist/http/plugins/admin/responses.d.ts +10 -0
- package/dist/http/plugins/admin/responses.d.ts.map +1 -0
- package/dist/http/plugins/admin/responses.js +3 -0
- package/dist/http/plugins/admin/responses.js.map +1 -0
- package/dist/http/plugins/index.d.ts +2 -0
- package/dist/http/plugins/index.d.ts.map +1 -0
- package/dist/http/plugins/index.js +18 -0
- package/dist/http/plugins/index.js.map +1 -0
- package/dist/http/pricing/common.d.ts +8 -0
- package/dist/http/pricing/common.d.ts.map +1 -1
- package/dist/http/product/admin/payloads.d.ts +2 -2
- package/dist/http/product/admin/payloads.d.ts.map +1 -1
- package/dist/http/promotion/admin/entities.d.ts +20 -0
- package/dist/http/promotion/admin/entities.d.ts.map +1 -1
- package/dist/http/promotion/admin/payloads.d.ts +156 -0
- package/dist/http/promotion/admin/payloads.d.ts.map +1 -1
- package/dist/http/promotion/admin/queries.d.ts +45 -1
- package/dist/http/promotion/admin/queries.d.ts.map +1 -1
- package/dist/http/promotion/admin/responses.d.ts +17 -2
- package/dist/http/promotion/admin/responses.d.ts.map +1 -1
- package/dist/http/promotion/common.d.ts +53 -0
- package/dist/http/promotion/common.d.ts.map +1 -1
- package/dist/http/region/admin/entities.d.ts +3 -0
- package/dist/http/region/admin/entities.d.ts.map +1 -1
- package/dist/http/region/admin/payloads.d.ts +68 -0
- package/dist/http/region/admin/payloads.d.ts.map +1 -1
- package/dist/http/region/admin/queries.d.ts +21 -0
- package/dist/http/region/admin/queries.d.ts.map +1 -1
- package/dist/http/region/admin/responses.d.ts +6 -0
- package/dist/http/region/admin/responses.d.ts.map +1 -1
- package/dist/http/reservation/admin/entities.d.ts +39 -0
- package/dist/http/reservation/admin/entities.d.ts.map +1 -1
- package/dist/http/reservation/admin/payloads.d.ts +32 -0
- package/dist/http/reservation/admin/payloads.d.ts.map +1 -1
- package/dist/http/reservation/admin/queries.d.ts +34 -0
- package/dist/http/reservation/admin/queries.d.ts.map +1 -1
- package/dist/http/reservation/admin/responses.d.ts +6 -0
- package/dist/http/reservation/admin/responses.d.ts.map +1 -1
- package/dist/http/return/admin/entities.d.ts +3 -0
- package/dist/http/return/admin/entities.d.ts.map +1 -1
- package/dist/http/return/admin/payloads.d.ts +154 -0
- package/dist/http/return/admin/payloads.d.ts.map +1 -1
- package/dist/http/return/admin/queries.d.ts +15 -0
- package/dist/http/return/admin/queries.d.ts.map +1 -1
- package/dist/http/return/admin/responses.d.ts +6 -0
- package/dist/http/return/admin/responses.d.ts.map +1 -1
- package/dist/http/return/common.d.ts +73 -0
- package/dist/http/return/common.d.ts.map +1 -1
- package/dist/http/return-reason/admin/payloads.d.ts +21 -0
- package/dist/http/return-reason/admin/payloads.d.ts.map +1 -1
- package/dist/http/return-reason/admin/queries.d.ts +3 -0
- package/dist/http/return-reason/admin/queries.d.ts.map +1 -1
- package/dist/http/return-reason/admin/responses.d.ts +6 -0
- package/dist/http/return-reason/admin/responses.d.ts.map +1 -1
- package/dist/http/return-reason/common.d.ts +27 -0
- package/dist/http/return-reason/common.d.ts.map +1 -1
- package/dist/http/sales-channel/admin/entities.d.ts +24 -0
- package/dist/http/sales-channel/admin/entities.d.ts.map +1 -1
- package/dist/http/sales-channel/admin/payloads.d.ts +32 -0
- package/dist/http/sales-channel/admin/payloads.d.ts.map +1 -1
- package/dist/http/sales-channel/admin/queries.d.ts +32 -0
- package/dist/http/sales-channel/admin/queries.d.ts.map +1 -1
- package/dist/http/sales-channel/admin/responses.d.ts +6 -0
- package/dist/http/sales-channel/admin/responses.d.ts.map +1 -1
- package/dist/http/shipping-option/admin/entities.d.ts +187 -0
- package/dist/http/shipping-option/admin/entities.d.ts.map +1 -1
- package/dist/http/shipping-option/admin/payloads.d.ts +181 -0
- package/dist/http/shipping-option/admin/payloads.d.ts.map +1 -1
- package/dist/http/shipping-option/admin/queries.d.ts +36 -0
- package/dist/http/shipping-option/admin/queries.d.ts.map +1 -1
- package/dist/http/shipping-option/admin/responses.d.ts +6 -0
- package/dist/http/shipping-option/admin/responses.d.ts.map +1 -1
- package/dist/http/shipping-option/store/payloads.d.ts +12 -0
- package/dist/http/shipping-option/store/payloads.d.ts.map +1 -1
- package/dist/http/shipping-option/store/responses.d.ts +12 -0
- package/dist/http/shipping-option/store/responses.d.ts.map +1 -1
- package/dist/http/shipping-profile/admin/entities.d.ts +21 -0
- package/dist/http/shipping-profile/admin/entities.d.ts.map +1 -1
- package/dist/http/shipping-profile/admin/payloads.d.ts +18 -0
- package/dist/http/shipping-profile/admin/payloads.d.ts.map +1 -1
- package/dist/http/shipping-profile/admin/queries.d.ts +27 -0
- package/dist/http/shipping-profile/admin/queries.d.ts.map +1 -1
- package/dist/http/shipping-profile/admin/responses.d.ts +6 -0
- package/dist/http/shipping-profile/admin/responses.d.ts.map +1 -1
- package/dist/http/stock-locations/admin/entities.d.ts +21 -0
- package/dist/http/stock-locations/admin/entities.d.ts.map +1 -1
- package/dist/http/stock-locations/admin/payloads.d.ts +69 -0
- package/dist/http/stock-locations/admin/payloads.d.ts.map +1 -1
- package/dist/http/stock-locations/admin/queries.d.ts +24 -2
- package/dist/http/stock-locations/admin/queries.d.ts.map +1 -1
- package/dist/http/stock-locations/admin/responses.d.ts +6 -0
- package/dist/http/stock-locations/admin/responses.d.ts.map +1 -1
- package/dist/http/store/admin/entities.d.ts +54 -0
- package/dist/http/store/admin/entities.d.ts.map +1 -1
- package/dist/http/store/admin/queries.d.ts +9 -0
- package/dist/http/store/admin/queries.d.ts.map +1 -1
- package/dist/http/store/admin/responses.d.ts +6 -0
- package/dist/http/store/admin/responses.d.ts.map +1 -1
- package/dist/http/tax-rate/admin/entities.d.ts +54 -0
- package/dist/http/tax-rate/admin/entities.d.ts.map +1 -1
- package/dist/http/tax-rate/admin/payloads.d.ts +57 -0
- package/dist/http/tax-rate/admin/payloads.d.ts.map +1 -1
- package/dist/http/tax-rate/admin/queries.d.ts +30 -0
- package/dist/http/tax-rate/admin/queries.d.ts.map +1 -1
- package/dist/http/tax-rate/admin/responses.d.ts +6 -0
- package/dist/http/tax-rate/admin/responses.d.ts.map +1 -1
- package/dist/http/tax-region/admin/entities.d.ts +42 -0
- package/dist/http/tax-region/admin/entities.d.ts.map +1 -1
- package/dist/http/tax-region/admin/payloads.d.ts +30 -0
- package/dist/http/tax-region/admin/payloads.d.ts.map +1 -1
- package/dist/http/tax-region/admin/queries.d.ts +28 -0
- package/dist/http/tax-region/admin/queries.d.ts.map +1 -1
- package/dist/http/tax-region/admin/responses.d.ts +6 -0
- package/dist/http/tax-region/admin/responses.d.ts.map +1 -1
- package/dist/http/user/admin/entities.d.ts +27 -0
- package/dist/http/user/admin/entities.d.ts.map +1 -1
- package/dist/http/user/admin/payloads.d.ts +12 -0
- package/dist/http/user/admin/payloads.d.ts.map +1 -1
- package/dist/http/user/admin/queries.d.ts +24 -0
- package/dist/http/user/admin/queries.d.ts.map +1 -1
- package/dist/http/user/admin/responses.d.ts +6 -0
- package/dist/http/user/admin/responses.d.ts.map +1 -1
- package/dist/http/workflow-execution/admin/entities.d.ts +136 -2
- package/dist/http/workflow-execution/admin/entities.d.ts.map +1 -1
- package/dist/http/workflow-execution/admin/queries.d.ts +6 -0
- package/dist/http/workflow-execution/admin/queries.d.ts.map +1 -1
- package/dist/http/workflow-execution/admin/responses.d.ts +6 -0
- package/dist/http/workflow-execution/admin/responses.d.ts.map +1 -1
- package/dist/index-data/query-config/query-input-config.d.ts +1 -1
- package/dist/index-data/query-config/query-input-config.d.ts.map +1 -1
- package/dist/locking/index.d.ts +466 -0
- package/dist/locking/index.d.ts.map +1 -1
- package/dist/modules-sdk/index.d.ts +6 -1
- package/dist/modules-sdk/index.d.ts.map +1 -1
- package/dist/modules-sdk/medusa-internal-service.d.ts +5 -5
- package/dist/modules-sdk/medusa-internal-service.d.ts.map +1 -1
- package/dist/modules-sdk/remote-query-object-from-string.d.ts +4 -0
- package/dist/modules-sdk/remote-query-object-from-string.d.ts.map +1 -1
- package/dist/modules-sdk/remote-query.d.ts +16 -0
- package/dist/modules-sdk/remote-query.d.ts.map +1 -1
- package/dist/notification/mutations.d.ts +5 -4
- package/dist/notification/mutations.d.ts.map +1 -1
- package/dist/notification/service.d.ts +2 -5
- package/dist/notification/service.d.ts.map +1 -1
- package/dist/order/common.d.ts +45 -79
- package/dist/order/common.d.ts.map +1 -1
- package/dist/order/mutations.d.ts +38 -1
- package/dist/order/mutations.d.ts.map +1 -1
- package/dist/order/service.d.ts +101 -3
- package/dist/order/service.d.ts.map +1 -1
- package/dist/payment/common.d.ts +9 -1
- package/dist/payment/common.d.ts.map +1 -1
- package/dist/payment/mutations.d.ts +24 -1
- package/dist/payment/mutations.d.ts.map +1 -1
- package/dist/payment/provider.d.ts +121 -85
- package/dist/payment/provider.d.ts.map +1 -1
- package/dist/payment/service.d.ts +89 -10
- package/dist/payment/service.d.ts.map +1 -1
- package/dist/product/common.d.ts +11 -6
- package/dist/product/common.d.ts.map +1 -1
- package/dist/tax/provider.d.ts +9 -37
- package/dist/tax/provider.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/workflow/order/items.d.ts +5 -1
- package/dist/workflow/order/items.d.ts.map +1 -1
- package/dist/workflow/product-category/index.d.ts +5 -4
- package/dist/workflow/product-category/index.d.ts.map +1 -1
- package/dist/workflows/products/mutations.d.ts +2 -2
- package/dist/workflows/products/mutations.d.ts.map +1 -1
- package/dist/workflows-sdk/service.d.ts +12 -8
- package/dist/workflows-sdk/service.d.ts.map +1 -1
- 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,UAAU,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACzC,UAAU,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;CAC1C;AAED,MAAM,WAAW,oBAAqB,SAAQ,YAAY;CAAG"}
|
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;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IAC9D;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IACjE;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IAClE;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACzC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACzC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACzC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;CAC1C;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;
|
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,
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/workflow-execution/admin/entities.ts"],"names":[],"mappings":"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"}
|
@@ -1,6 +1,12 @@
|
|
1
1
|
import { FindParams } from "../../common";
|
2
2
|
export interface AdminGetWorkflowExecutionsParams 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"}
|
@@ -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;
|
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"}
|