@medusajs/types 1.12.0-preview-20240925125714 → 1.12.0-preview-20240930112011

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/dist/cart/workflows.d.ts +1 -0
  2. package/dist/cart/workflows.d.ts.map +1 -1
  3. package/dist/common/config-module.d.ts +2 -2
  4. package/dist/common/config-module.d.ts.map +1 -1
  5. package/dist/fulfillment/mutations/fulfillment.d.ts +5 -0
  6. package/dist/fulfillment/mutations/fulfillment.d.ts.map +1 -1
  7. package/dist/http/cart/store/entities.d.ts +14 -2
  8. package/dist/http/cart/store/entities.d.ts.map +1 -1
  9. package/dist/http/claim/admin/entities.d.ts +5 -0
  10. package/dist/http/claim/admin/entities.d.ts.map +1 -1
  11. package/dist/http/claim/admin/responses.d.ts +4 -3
  12. package/dist/http/claim/admin/responses.d.ts.map +1 -1
  13. package/dist/http/claim/common.d.ts +1 -1
  14. package/dist/http/exchange/admin/responses.d.ts +4 -3
  15. package/dist/http/exchange/admin/responses.d.ts.map +1 -1
  16. package/dist/http/order/admin/entities.d.ts +24 -12
  17. package/dist/http/order/admin/entities.d.ts.map +1 -1
  18. package/dist/http/order/admin/responses.d.ts +2 -3
  19. package/dist/http/order/admin/responses.d.ts.map +1 -1
  20. package/dist/http/order/common.d.ts +17 -50
  21. package/dist/http/order/common.d.ts.map +1 -1
  22. package/dist/http/order/store/entities.d.ts +19 -3
  23. package/dist/http/order/store/entities.d.ts.map +1 -1
  24. package/dist/http/order-edit/admin/responses.d.ts +3 -3
  25. package/dist/http/order-edit/admin/responses.d.ts.map +1 -1
  26. package/dist/http/payment/admin/entities.d.ts +7 -0
  27. package/dist/http/payment/admin/entities.d.ts.map +1 -1
  28. package/dist/http/payment/store/entities.d.ts +3 -0
  29. package/dist/http/payment/store/entities.d.ts.map +1 -1
  30. package/dist/http/product/admin/entitites.d.ts +8 -1
  31. package/dist/http/product/admin/entitites.d.ts.map +1 -1
  32. package/dist/http/product/store/entitites.d.ts +16 -4
  33. package/dist/http/product/store/entitites.d.ts.map +1 -1
  34. package/dist/http/product-category/store/entities.d.ts +3 -1
  35. package/dist/http/product-category/store/entities.d.ts.map +1 -1
  36. package/dist/http/promotion/admin/entities.d.ts +8 -1
  37. package/dist/http/promotion/admin/entities.d.ts.map +1 -1
  38. package/dist/http/return/admin/entities.d.ts +1 -0
  39. package/dist/http/return/admin/entities.d.ts.map +1 -1
  40. package/dist/http/return/store/entities.d.ts +4 -1
  41. package/dist/http/return/store/entities.d.ts.map +1 -1
  42. package/dist/http/return-reason/admin/payloads.d.ts +7 -4
  43. package/dist/http/return-reason/admin/payloads.d.ts.map +1 -1
  44. package/dist/http/tax-rate/admin/entities.d.ts +1 -1
  45. package/dist/http/tax-rate/admin/entities.d.ts.map +1 -1
  46. package/dist/http/tax-rate/admin/payloads.d.ts +2 -2
  47. package/dist/http/tax-rate/admin/payloads.d.ts.map +1 -1
  48. package/dist/http/tax-region/admin/payloads.d.ts +1 -1
  49. package/dist/http/tax-region/admin/payloads.d.ts.map +1 -1
  50. package/dist/modules-sdk/index.d.ts +5 -0
  51. package/dist/modules-sdk/index.d.ts.map +1 -1
  52. package/dist/order/common.d.ts +335 -13
  53. package/dist/order/common.d.ts.map +1 -1
  54. package/dist/payment/common.d.ts +1 -1
  55. package/dist/payment/common.d.ts.map +1 -1
  56. package/dist/tsconfig.tsbuildinfo +1 -0
  57. package/package.json +18 -5
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG;AACpE,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;CAAG;AACxE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG;AACpE,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;IACnE,gBAAgB,CAAC,EAAE,mBAAmB,EAAE,CAAA;IACxC,iBAAiB,EAAE,oBAAoB,EAAE,CAAA;CAC1C;AACD,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;IAC7D,kBAAkB,CAAC,EAAE,sBAAsB,CAAA;CAC5C"}
@@ -7,20 +7,27 @@ import { AdminSalesChannel } from "../../sales-channel";
7
7
  import { BaseProduct, BaseProductImage, BaseProductOption, BaseProductOptionValue, BaseProductVariant, ProductStatus } from "../common";
8
8
  export interface AdminProductVariant extends BaseProductVariant {
9
9
  prices: AdminPrice[] | null;
10
+ options: AdminProductOptionValue[] | null;
11
+ product?: AdminProduct | null;
10
12
  }
11
13
  export interface AdminProductOption extends BaseProductOption {
14
+ product?: AdminProduct | null;
15
+ values?: AdminProductOptionValue[];
12
16
  }
13
17
  export interface AdminProductImage extends BaseProductImage {
14
18
  }
15
19
  export interface AdminProductOptionValue extends BaseProductOptionValue {
20
+ option?: AdminProductOption | null;
16
21
  }
17
22
  export interface AdminProduct extends Omit<BaseProduct, "categories" | "variants"> {
18
23
  collection?: AdminCollection | null;
19
24
  categories?: AdminProductCategory[] | null;
20
25
  sales_channels?: AdminSalesChannel[] | null;
21
- variants?: AdminProductVariant[] | null;
26
+ variants: AdminProductVariant[] | null;
22
27
  type: AdminProductType | null;
23
28
  tags?: AdminProductTag[] | null;
29
+ options: AdminProductOption[] | null;
30
+ images: AdminProductImage[] | null;
24
31
  }
25
32
  export type AdminProductStatus = ProductStatus;
26
33
  export interface AdminProductVariantInventoryLink {
@@ -1 +1 @@
1
- {"version":3,"file":"entitites.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/entitites.ts"],"names":[],"mappings":"AA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C,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAA;IAC3C,QAAQ,EAAE,mBAAmB,EAAE,GAAG,IAAI,CAAA;IACtC,IAAI,EAAE,gBAAgB,GAAG,IAAI,CAAA;IAC7B,IAAI,CAAC,EAAE,eAAe,EAAE,GAAG,IAAI,CAAA;IAC/B,OAAO,EAAE,kBAAkB,EAAE,GAAG,IAAI,CAAA;IACpC,MAAM,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAA;CACnC;AACD,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAA;AAC9C,MAAM,WAAW,gCAAgC;IAC/C,OAAO,EAAE;QACP,UAAU,EAAE,MAAM,CAAA;KACnB,CAAA;IACD,SAAS,EAAE;QACT,iBAAiB,EAAE,MAAM,CAAA;KAC1B,CAAA;CACF"}
@@ -1,17 +1,29 @@
1
+ import { StoreCollection } from "../../collection";
1
2
  import { StoreProductCategory } from "../../product-category";
3
+ import { StoreProductTag } from "../../product-tag";
2
4
  import { StoreProductType } from "../../product-type";
3
5
  import { BaseProduct, BaseProductImage, BaseProductOption, BaseProductOptionValue, BaseProductVariant, ProductStatus } from "../common";
4
- export interface StoreProduct extends Omit<BaseProduct, "categories"> {
6
+ export interface StoreProduct extends Omit<BaseProduct, "categories" | "sales_channels" | "variants" | "options"> {
7
+ collection?: StoreCollection | null;
5
8
  categories?: StoreProductCategory[] | null;
9
+ variants: StoreProductVariant[] | null;
6
10
  type?: StoreProductType | null;
11
+ tags?: StoreProductTag[] | null;
12
+ options: StoreProductOption[] | null;
13
+ images: StoreProductImage[] | null;
7
14
  }
8
- export interface StoreProductVariant extends BaseProductVariant {
15
+ export interface StoreProductVariant extends Omit<BaseProductVariant, "product" | "options"> {
16
+ options: StoreProductOptionValue[] | null;
17
+ product?: StoreProduct | null;
9
18
  }
10
- export interface StoreProductOption extends BaseProductOption {
19
+ export interface StoreProductOption extends Omit<BaseProductOption, "product" | "values"> {
20
+ product?: StoreProduct | null;
21
+ values?: StoreProductOptionValue[];
11
22
  }
12
23
  export interface StoreProductImage extends BaseProductImage {
13
24
  }
14
- export interface StoreProductOptionValue extends BaseProductOptionValue {
25
+ export interface StoreProductOptionValue extends Omit<BaseProductOptionValue, "option"> {
26
+ option?: StoreProductOption | null;
15
27
  }
16
28
  export type StoreProductStatus = ProductStatus;
17
29
  //# sourceMappingURL=entitites.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entitites.d.ts","sourceRoot":"","sources":["../../../../src/http/product/store/entitites.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,aAAa,EACd,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,WAAW,EAAE,YAAY,CAAC;IACnE,UAAU,CAAC,EAAE,oBAAoB,EAAE,GAAG,IAAI,CAAA;IAC1C,IAAI,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAA;CAC/B;AACD,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAClE,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;CAAG;AAC1E,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAA"}
1
+ {"version":3,"file":"entitites.d.ts","sourceRoot":"","sources":["../../../../src/http/product/store/entitites.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,gBAAgB,EA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@
1
1
  import { StoreProduct } from "../../product/store";
2
2
  import { BaseProductCategory } from "../common";
3
- export interface StoreProductCategory extends BaseProductCategory {
3
+ export interface StoreProductCategory extends Omit<BaseProductCategory, "is_active" | "is_internal" | "products" | "parent_category" | "category_children"> {
4
4
  products?: StoreProduct[];
5
+ parent_category: StoreProductCategory | null;
6
+ category_children: StoreProductCategory[];
5
7
  }
6
8
  //# sourceMappingURL=entities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/product-category/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAE/C,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAA;CAC1B"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/product-category/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAE/C,MAAM,WAAW,oBAAqB,SACpC,IAAI,CAAC,mBAAmB,EAAE,WAAW,GAAG,aAAa,GAAG,UAAU,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;IAC3G,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAA;IACzB,eAAe,EAAE,oBAAoB,GAAG,IAAI,CAAA;IAC5C,iBAAiB,EAAE,oBAAoB,EAAE,CAAA;CAC5C"}
@@ -1,5 +1,12 @@
1
- import { BasePromotion, BasePromotionRule, BaseRuleAttributeOptions, BaseRuleOperatorOptions, BaseRuleValueOptions } from "../common";
1
+ import { BaseApplicationMethod, BasePromotion, BasePromotionRule, BaseRuleAttributeOptions, BaseRuleOperatorOptions, BaseRuleValueOptions } from "../common";
2
2
  export interface AdminPromotion extends BasePromotion {
3
+ application_method?: AdminApplicationMethod;
4
+ rules?: AdminPromotionRule[];
5
+ }
6
+ export interface AdminApplicationMethod extends BaseApplicationMethod {
7
+ promotion?: AdminPromotion;
8
+ target_rules?: AdminPromotionRule[];
9
+ buy_rules?: AdminPromotionRule[];
3
10
  }
4
11
  export interface AdminPromotionRule extends BasePromotionRule {
5
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,wBAAwB,EACxB,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,WAAW,CAAC;AAEnB,MAAM,WAAW,cAAe,SAAQ,aAAa;CAAG;AACxD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,wBAAyB,SAAQ,wBAAwB;CAAG;AAC7E,MAAM,WAAW,uBAAwB,SAAQ,uBAAuB;CAAG;AAC3E,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;CAAG"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,aAAa,EACb,iBAAiB,EACjB,wBAAwB,EACxB,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,WAAW,CAAC;AAEnB,MAAM,WAAW,cAAe,SAAQ,aAAa;IACnD,kBAAkB,CAAC,EAAE,sBAAsB,CAAA;IAC3C,KAAK,CAAC,EAAE,kBAAkB,EAAE,CAAA;CAC7B;AACD,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;IACnE,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,YAAY,CAAC,EAAE,kBAAkB,EAAE,CAAA;IACnC,SAAS,CAAC,EAAE,kBAAkB,EAAE,CAAA;CACjC;AACD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,wBAAyB,SAAQ,wBAAwB;CAAG;AAC7E,MAAM,WAAW,uBAAwB,SAAQ,uBAAuB;CAAG;AAC3E,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;CAAG"}
@@ -2,5 +2,6 @@ import { BaseReturn, BaseReturnItem } from "../common";
2
2
  export interface AdminReturnItem extends BaseReturnItem {
3
3
  }
4
4
  export interface AdminReturn extends BaseReturn {
5
+ items: AdminReturnItem[];
5
6
  }
6
7
  //# sourceMappingURL=entities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/return/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEvD,MAAM,WAAW,eAAgB,SAAQ,cAAc;CAAG;AAC1D,MAAM,WAAW,WAAY,SAAQ,UAAU;CAAG"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/return/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEvD,MAAM,WAAW,eAAgB,SAAQ,cAAc;CAAG;AAC1D,MAAM,WAAW,WAAY,SAAQ,UAAU;IAC7C,KAAK,EAAE,eAAe,EAAE,CAAA;CACzB"}
@@ -1,4 +1,7 @@
1
- import { BaseReturn } from "../common";
1
+ import { BaseReturn, BaseReturnItem } from "../common";
2
2
  export interface StoreReturn extends BaseReturn {
3
+ items: StoreReturnItem[];
4
+ }
5
+ export interface StoreReturnItem extends BaseReturnItem {
3
6
  }
4
7
  //# sourceMappingURL=entities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/return/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,MAAM,WAAW,WAAY,SAAQ,UAAU;CAAG"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/return/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEvD,MAAM,WAAW,WAAY,SAAQ,UAAU;IAC7C,KAAK,EAAE,eAAe,EAAE,CAAA;CACzB;AACD,MAAM,WAAW,eAAgB,SAAQ,cAAc;CAAG"}
@@ -1,10 +1,13 @@
1
- import { AdminReturnReason } from "./entities";
2
- type AdminBaseReturnReasonPayload = Pick<AdminReturnReason, "value" | "label" | "description">;
3
- export interface AdminCreateReturnReason extends AdminBaseReturnReasonPayload {
1
+ type AdminBaseReturnReasonPayload = {
2
+ value: string;
3
+ label: string;
4
+ description?: string;
4
5
  metadata?: Record<string, unknown> | null;
6
+ };
7
+ export interface AdminCreateReturnReason extends AdminBaseReturnReasonPayload {
8
+ parent_return_reason_id?: string;
5
9
  }
6
10
  export interface AdminUpdateReturnReason extends AdminBaseReturnReasonPayload {
7
- metadata?: Record<string, unknown> | null;
8
11
  }
9
12
  export {};
10
13
  //# sourceMappingURL=payloads.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/return-reason/admin/payloads.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE9C,KAAK,4BAA4B,GAAG,IAAI,CACtC,iBAAiB,EACjB,OAAO,GAAG,OAAO,GAAG,aAAa,CAClC,CAAA;AAED,MAAM,WAAW,uBAAwB,SAAQ,4BAA4B;IAC3E,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,MAAM,WAAW,uBAAwB,SAAQ,4BAA4B;IAC3E,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
1
+ {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/return-reason/admin/payloads.ts"],"names":[],"mappings":"AAAA,KAAK,4BAA4B,GAAG;IAClC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C,CAAA;AAED,MAAM,WAAW,uBAAwB,SAAQ,4BAA4B;IAC3E,uBAAuB,CAAC,EAAE,MAAM,CAAA;CACjC;AAED,MAAM,WAAW,uBAAwB,SAAQ,4BAA4B;CAC5E"}
@@ -6,7 +6,7 @@ export interface AdminTaxRateRule {
6
6
  export interface AdminTaxRate {
7
7
  id: string;
8
8
  rate: number | null;
9
- code: string | null;
9
+ code: string;
10
10
  name: string;
11
11
  metadata: Record<string, unknown> | null;
12
12
  tax_region_id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/tax-rate/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,OAAO,CAAA;IACtB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,cAAc,CAAA;IAC1B,KAAK,EAAE,gBAAgB,EAAE,CAAA;CAC1B"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/tax-rate/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,OAAO,CAAA;IACtB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,cAAc,CAAA;IAC1B,KAAK,EAAE,gBAAgB,EAAE,CAAA;CAC1B"}
@@ -6,7 +6,7 @@ export interface AdminCreateTaxRate {
6
6
  name: string;
7
7
  tax_region_id: string;
8
8
  rate?: number;
9
- code?: string;
9
+ code: string;
10
10
  rules?: AdminCreateTaxRateRule[];
11
11
  is_default?: boolean;
12
12
  is_combinable?: boolean;
@@ -15,7 +15,7 @@ export interface AdminCreateTaxRate {
15
15
  export interface AdminUpdateTaxRate {
16
16
  name?: string;
17
17
  rate?: number;
18
- code?: string | null;
18
+ code: string;
19
19
  rules?: AdminCreateTaxRateRule[];
20
20
  is_default?: boolean;
21
21
  is_combinable?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/tax-rate/admin/payloads.ts"],"names":[],"mappings":"AAAA,UAAU,sBAAsB;IAC9B,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,sBAAsB,EAAE,CAAA;IAChC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,KAAK,CAAC,EAAE,sBAAsB,EAAE,CAAA;IAChC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC"}
1
+ {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/tax-rate/admin/payloads.ts"],"names":[],"mappings":"AAAA,UAAU,sBAAsB;IAC9B,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,sBAAsB,EAAE,CAAA;IAChC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,sBAAsB,EAAE,CAAA;IAChC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC"}
@@ -4,7 +4,7 @@ export interface AdminCreateTaxRegion {
4
4
  parent_id?: string;
5
5
  default_tax_rate?: {
6
6
  rate?: number;
7
- code?: string;
7
+ code: string;
8
8
  name: string;
9
9
  is_combinable?: boolean;
10
10
  metadata?: Record<string, unknown>;
@@ -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,CAAC,EAAE,MAAM,CAAA;QACb,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,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"}
@@ -180,6 +180,11 @@ export type ModuleExports<T = Constructor<any>> = {
180
180
  runMigrations?(options: LoaderOptions<any>, moduleDeclaration?: InternalModuleDeclaration): Promise<void>;
181
181
  revertMigration?(options: LoaderOptions<any>, moduleDeclaration?: InternalModuleDeclaration): Promise<void>;
182
182
  generateMigration?(options: LoaderOptions<any>, moduleDeclaration?: InternalModuleDeclaration): Promise<void>;
183
+ /**
184
+ * Explicitly set the the true location of the module resources.
185
+ * Can be used to re-export the module from a different location and specify its original location.
186
+ */
187
+ discoveryPath?: string;
183
188
  };
184
189
  export interface ModuleServiceInitializeOptions {
185
190
  database: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules-sdk/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAEnE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,uBAAuB,EACvB,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