@medusajs/link-modules 2.0.3-snapshot-20241108154832 → 2.0.3-snapshot-20241110102209

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. package/dist/definitions/cart-payment-collection.d.ts.map +1 -1
  2. package/dist/definitions/cart-payment-collection.js +2 -0
  3. package/dist/definitions/cart-payment-collection.js.map +1 -1
  4. package/dist/definitions/cart-promotion.d.ts.map +1 -1
  5. package/dist/definitions/cart-promotion.js +1 -0
  6. package/dist/definitions/cart-promotion.js.map +1 -1
  7. package/dist/definitions/fulfillment-provider-location.d.ts.map +1 -1
  8. package/dist/definitions/fulfillment-provider-location.js +1 -0
  9. package/dist/definitions/fulfillment-provider-location.js.map +1 -1
  10. package/dist/definitions/fulfillment-set-location.d.ts.map +1 -1
  11. package/dist/definitions/fulfillment-set-location.js +1 -0
  12. package/dist/definitions/fulfillment-set-location.js.map +1 -1
  13. package/dist/definitions/order-cart.d.ts.map +1 -1
  14. package/dist/definitions/order-cart.js +2 -0
  15. package/dist/definitions/order-cart.js.map +1 -1
  16. package/dist/definitions/order-claim-payment-collection.d.ts.map +1 -1
  17. package/dist/definitions/order-claim-payment-collection.js +2 -0
  18. package/dist/definitions/order-claim-payment-collection.js.map +1 -1
  19. package/dist/definitions/order-exchange-payment-collection.d.ts.map +1 -1
  20. package/dist/definitions/order-exchange-payment-collection.js +2 -0
  21. package/dist/definitions/order-exchange-payment-collection.js.map +1 -1
  22. package/dist/definitions/order-fulfillment.d.ts.map +1 -1
  23. package/dist/definitions/order-fulfillment.js +2 -0
  24. package/dist/definitions/order-fulfillment.js.map +1 -1
  25. package/dist/definitions/order-payment-collection.d.ts.map +1 -1
  26. package/dist/definitions/order-payment-collection.js +2 -0
  27. package/dist/definitions/order-payment-collection.js.map +1 -1
  28. package/dist/definitions/order-promotion.d.ts.map +1 -1
  29. package/dist/definitions/order-promotion.js +6 -1
  30. package/dist/definitions/order-promotion.js.map +1 -1
  31. package/dist/definitions/order-return-fulfillment.d.ts.map +1 -1
  32. package/dist/definitions/order-return-fulfillment.js +3 -1
  33. package/dist/definitions/order-return-fulfillment.js.map +1 -1
  34. package/dist/definitions/product-sales-channel.d.ts.map +1 -1
  35. package/dist/definitions/product-sales-channel.js +2 -0
  36. package/dist/definitions/product-sales-channel.js.map +1 -1
  37. package/dist/definitions/product-variant-inventory-item.d.ts.map +1 -1
  38. package/dist/definitions/product-variant-inventory-item.js +2 -0
  39. package/dist/definitions/product-variant-inventory-item.js.map +1 -1
  40. package/dist/definitions/product-variant-price-set.d.ts.map +1 -1
  41. package/dist/definitions/product-variant-price-set.js +2 -0
  42. package/dist/definitions/product-variant-price-set.js.map +1 -1
  43. package/dist/definitions/publishable-api-key-sales-channel.d.ts.map +1 -1
  44. package/dist/definitions/publishable-api-key-sales-channel.js +2 -0
  45. package/dist/definitions/publishable-api-key-sales-channel.js.map +1 -1
  46. package/dist/definitions/readonly/cart-customer.d.ts.map +1 -1
  47. package/dist/definitions/readonly/cart-customer.js +2 -0
  48. package/dist/definitions/readonly/cart-customer.js.map +1 -1
  49. package/dist/definitions/readonly/cart-product.d.ts.map +1 -1
  50. package/dist/definitions/readonly/cart-product.js +2 -0
  51. package/dist/definitions/readonly/cart-product.js.map +1 -1
  52. package/dist/definitions/readonly/cart-region.d.ts.map +1 -1
  53. package/dist/definitions/readonly/cart-region.js +2 -0
  54. package/dist/definitions/readonly/cart-region.js.map +1 -1
  55. package/dist/definitions/readonly/cart-sales-channel.d.ts.map +1 -1
  56. package/dist/definitions/readonly/cart-sales-channel.js +2 -0
  57. package/dist/definitions/readonly/cart-sales-channel.js.map +1 -1
  58. package/dist/definitions/readonly/inventory-level-stock-location.d.ts.map +1 -1
  59. package/dist/definitions/readonly/inventory-level-stock-location.js +1 -0
  60. package/dist/definitions/readonly/inventory-level-stock-location.js.map +1 -1
  61. package/dist/definitions/readonly/line-item-adjustment-promotion.d.ts.map +1 -1
  62. package/dist/definitions/readonly/line-item-adjustment-promotion.js +1 -0
  63. package/dist/definitions/readonly/line-item-adjustment-promotion.js.map +1 -1
  64. package/dist/definitions/readonly/order-customer.d.ts.map +1 -1
  65. package/dist/definitions/readonly/order-customer.js +2 -0
  66. package/dist/definitions/readonly/order-customer.js.map +1 -1
  67. package/dist/definitions/readonly/order-product.d.ts.map +1 -1
  68. package/dist/definitions/readonly/order-product.js +3 -0
  69. package/dist/definitions/readonly/order-product.js.map +1 -1
  70. package/dist/definitions/readonly/order-region.d.ts.map +1 -1
  71. package/dist/definitions/readonly/order-region.js +2 -0
  72. package/dist/definitions/readonly/order-region.js.map +1 -1
  73. package/dist/definitions/readonly/order-sales-channel.d.ts.map +1 -1
  74. package/dist/definitions/readonly/order-sales-channel.js +2 -0
  75. package/dist/definitions/readonly/order-sales-channel.js.map +1 -1
  76. package/dist/definitions/readonly/store-currency.d.ts.map +1 -1
  77. package/dist/definitions/readonly/store-currency.js +1 -0
  78. package/dist/definitions/readonly/store-currency.js.map +1 -1
  79. package/dist/definitions/region-payment-provider.d.ts.map +1 -1
  80. package/dist/definitions/region-payment-provider.js +2 -0
  81. package/dist/definitions/region-payment-provider.js.map +1 -1
  82. package/dist/definitions/sales-channel-location.d.ts.map +1 -1
  83. package/dist/definitions/sales-channel-location.js +2 -0
  84. package/dist/definitions/sales-channel-location.js.map +1 -1
  85. package/dist/definitions/shipping-option-price-set.d.ts.map +1 -1
  86. package/dist/definitions/shipping-option-price-set.js +2 -0
  87. package/dist/definitions/shipping-option-price-set.js.map +1 -1
  88. package/dist/utils/generate-schema.d.ts.map +1 -1
  89. package/dist/utils/generate-schema.js +16 -22
  90. package/dist/utils/generate-schema.js.map +1 -1
  91. package/package.json +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"cart-payment-collection.d.ts","sourceRoot":"","sources":["../../src/definitions/cart-payment-collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,qBAAqB,EAAE,kBA8DnC,CAAA"}
1
+ {"version":3,"file":"cart-payment-collection.d.ts","sourceRoot":"","sources":["../../src/definitions/cart-payment-collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,qBAAqB,EAAE,kBAgEnC,CAAA"}
@@ -41,6 +41,7 @@ exports.CartPaymentCollection = {
41
41
  extends: [
42
42
  {
43
43
  serviceName: utils_1.Modules.CART,
44
+ entity: "Cart",
44
45
  fieldAlias: {
45
46
  payment_collection: "payment_collection_link.payment_collection",
46
47
  },
@@ -53,6 +54,7 @@ exports.CartPaymentCollection = {
53
54
  },
54
55
  {
55
56
  serviceName: utils_1.Modules.PAYMENT,
57
+ entity: "PaymentCollection",
56
58
  fieldAlias: {
57
59
  cart: "cart_link.cart",
58
60
  },
@@ -1 +1 @@
1
- {"version":3,"file":"cart-payment-collection.js","sourceRoot":"","sources":["../../src/definitions/cart-payment-collection.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,qBAAqB,GAAuB;IACvD,WAAW,EAAE,aAAK,CAAC,qBAAqB;IACxC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,yBAAyB;QACpC,QAAQ,EAAE,UAAU;KACrB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,yBAAyB,EAAE,0BAA0B,CAAC;YAC7D,MAAM,EAAE,2BAA2B;SACpC;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,uBAAuB,CAAC;IACvD,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,SAAS;YACrB,KAAK,EAAE,MAAM;YACb,IAAI,EAAE;gBACJ,YAAY,EAAE,OAAO;aACtB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,mBAAmB;YAC3B,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,uBAAuB;YACnC,KAAK,EAAE,oBAAoB;YAC3B,IAAI,EAAE;gBACJ,YAAY,EAAE,oBAAoB;aACnC;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,UAAU,EAAE;gBACV,kBAAkB,EAAE,4CAA4C;aACjE;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,qBAAqB;gBACxC,UAAU,EAAE,SAAS;gBACrB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,yBAAyB;aACjC;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,UAAU,EAAE;gBACV,IAAI,EAAE,gBAAgB;aACvB;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,qBAAqB;gBACxC,UAAU,EAAE,uBAAuB;gBACnC,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,WAAW;aACnB;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"cart-payment-collection.js","sourceRoot":"","sources":["../../src/definitions/cart-payment-collection.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,qBAAqB,GAAuB;IACvD,WAAW,EAAE,aAAK,CAAC,qBAAqB;IACxC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,yBAAyB;QACpC,QAAQ,EAAE,UAAU;KACrB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,yBAAyB,EAAE,0BAA0B,CAAC;YAC7D,MAAM,EAAE,2BAA2B;SACpC;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,uBAAuB,CAAC;IACvD,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,SAAS;YACrB,KAAK,EAAE,MAAM;YACb,IAAI,EAAE;gBACJ,YAAY,EAAE,OAAO;aACtB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,mBAAmB;YAC3B,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,uBAAuB;YACnC,KAAK,EAAE,oBAAoB;YAC3B,IAAI,EAAE;gBACJ,YAAY,EAAE,oBAAoB;aACnC;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,MAAM,EAAE,MAAM;YACd,UAAU,EAAE;gBACV,kBAAkB,EAAE,4CAA4C;aACjE;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,qBAAqB;gBACxC,UAAU,EAAE,SAAS;gBACrB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,yBAAyB;aACjC;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,mBAAmB;YAC3B,UAAU,EAAE;gBACV,IAAI,EAAE,gBAAgB;aACvB;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,qBAAqB;gBACxC,UAAU,EAAE,uBAAuB;gBACnC,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,WAAW;aACnB;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"cart-promotion.d.ts","sourceRoot":"","sources":["../../src/definitions/cart-promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,aAAa,EAAE,kBAsD3B,CAAA"}
1
+ {"version":3,"file":"cart-promotion.d.ts","sourceRoot":"","sources":["../../src/definitions/cart-promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,aAAa,EAAE,kBAuD3B,CAAA"}
@@ -41,6 +41,7 @@ exports.CartPromotion = {
41
41
  extends: [
42
42
  {
43
43
  serviceName: utils_1.Modules.CART,
44
+ entity: "Cart",
44
45
  fieldAlias: {
45
46
  promotions: {
46
47
  path: "cart_link.promotions",
@@ -1 +1 @@
1
- {"version":3,"file":"cart-promotion.js","sourceRoot":"","sources":["../../src/definitions/cart-promotion.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,aAAa,GAAuB;IAC/C,WAAW,EAAE,aAAK,CAAC,aAAa;IAChC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,gBAAgB;QAC3B,QAAQ,EAAE,WAAW;KACtB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,gBAAgB,EAAE,iBAAiB,CAAC;YAC3C,MAAM,EAAE,mBAAmB;SAC5B;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,cAAc,CAAC;IAC9C,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,SAAS;YACrB,KAAK,EAAE,MAAM;YACb,IAAI,EAAE;gBACJ,YAAY,EAAE,OAAO;aACtB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,SAAS;YAC9B,MAAM,EAAE,WAAW;YACnB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,cAAc;YAC1B,KAAK,EAAE,YAAY;YACnB,IAAI,EAAE;gBACJ,YAAY,EAAE,YAAY;aAC3B;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,UAAU,EAAE;gBACV,UAAU,EAAE;oBACV,IAAI,EAAE,sBAAsB;oBAC5B,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,aAAa;gBAChC,UAAU,EAAE,SAAS;gBACrB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,WAAW;gBAClB,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"cart-promotion.js","sourceRoot":"","sources":["../../src/definitions/cart-promotion.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,aAAa,GAAuB;IAC/C,WAAW,EAAE,aAAK,CAAC,aAAa;IAChC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,gBAAgB;QAC3B,QAAQ,EAAE,WAAW;KACtB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,gBAAgB,EAAE,iBAAiB,CAAC;YAC3C,MAAM,EAAE,mBAAmB;SAC5B;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,cAAc,CAAC;IAC9C,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,SAAS;YACrB,KAAK,EAAE,MAAM;YACb,IAAI,EAAE;gBACJ,YAAY,EAAE,OAAO;aACtB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,SAAS;YAC9B,MAAM,EAAE,WAAW;YACnB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,cAAc;YAC1B,KAAK,EAAE,YAAY;YACnB,IAAI,EAAE;gBACJ,YAAY,EAAE,YAAY;aAC3B;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,MAAM,EAAE,MAAM;YACd,UAAU,EAAE;gBACV,UAAU,EAAE;oBACV,IAAI,EAAE,sBAAsB;oBAC5B,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,aAAa;gBAChC,UAAU,EAAE,SAAS;gBACrB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,WAAW;gBAClB,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillment-provider-location.d.ts","sourceRoot":"","sources":["../../src/definitions/fulfillment-provider-location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,2BAA2B,EAAE,kBAkEzC,CAAA"}
1
+ {"version":3,"file":"fulfillment-provider-location.d.ts","sourceRoot":"","sources":["../../src/definitions/fulfillment-provider-location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,2BAA2B,EAAE,kBAmEzC,CAAA"}
@@ -53,6 +53,7 @@ exports.LocationFulfillmentProvider = {
53
53
  },
54
54
  {
55
55
  serviceName: utils_1.Modules.FULFILLMENT,
56
+ entity: "FulfillmentProvider",
56
57
  relationship: {
57
58
  serviceName: utils_1.LINKS.LocationFulfillmentProvider,
58
59
  primaryKey: "fulfillment_provider_id",
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillment-provider-location.js","sourceRoot":"","sources":["../../src/definitions/fulfillment-provider-location.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,2BAA2B,GAAuB;IAC7D,WAAW,EAAE,aAAK,CAAC,2BAA2B;IAC9C,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,+BAA+B;QAC1C,QAAQ,EAAE,OAAO;KAClB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,+BAA+B,EAAE,gCAAgC,CAAC;YACzE,MAAM,EAAE,iCAAiC;SAC1C;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,mBAAmB,EAAE,yBAAyB,CAAC;IACnE,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,cAAc;YACnC,MAAM,EAAE,eAAe;YACvB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,mBAAmB;YAC/B,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,EAAE,YAAY,EAAE,gBAAgB,EAAE;SACzC;QACD;YACE,WAAW,EAAE,eAAO,CAAC,WAAW;YAChC,MAAM,EAAE,qBAAqB;YAC7B,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,yBAAyB;YACrC,KAAK,EAAE,sBAAsB;YAC7B,IAAI,EAAE,EAAE,YAAY,EAAE,sBAAsB,EAAE;SAC/C;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,cAAc;YACnC,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,2BAA2B;gBAC9C,UAAU,EAAE,mBAAmB;gBAC/B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,2BAA2B;gBAClC,MAAM,EAAE,IAAI;aACb;YACD,UAAU,EAAE;gBACV,qBAAqB,EAAE;oBACrB,IAAI,EAAE,gDAAgD;oBACtD,MAAM,EAAE,IAAI;iBACb;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,WAAW;YAChC,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,2BAA2B;gBAC9C,UAAU,EAAE,yBAAyB;gBACrC,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,gBAAgB;gBACvB,MAAM,EAAE,IAAI;aACb;YACD,UAAU,EAAE;gBACV,SAAS,EAAE;oBACT,IAAI,EAAE,yBAAyB;oBAC/B,MAAM,EAAE,IAAI;iBACb;aACF;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"fulfillment-provider-location.js","sourceRoot":"","sources":["../../src/definitions/fulfillment-provider-location.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,2BAA2B,GAAuB;IAC7D,WAAW,EAAE,aAAK,CAAC,2BAA2B;IAC9C,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,+BAA+B;QAC1C,QAAQ,EAAE,OAAO;KAClB;I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C/B,MAAM,EAAE,IAAI;iBACb;aACF;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillment-set-location.d.ts","sourceRoot":"","sources":["../../src/definitions/fulfillment-set-location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,sBAAsB,EAAE,kBAmEpC,CAAA"}
1
+ {"version":3,"file":"fulfillment-set-location.d.ts","sourceRoot":"","sources":["../../src/definitions/fulfillment-set-location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,sBAAsB,EAAE,kBAoEpC,CAAA"}
@@ -58,6 +58,7 @@ exports.LocationFulfillmentSet = {
58
58
  },
59
59
  {
60
60
  serviceName: utils_1.Modules.FULFILLMENT,
61
+ entity: "FulfillmentSet",
61
62
  fieldAlias: {
62
63
  location: "locations_link.location",
63
64
  },
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillment-set-location.js","sourceRoot":"","sources":["../../src/definitions/fulfillment-set-location.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,sBAAsB,GAAuB;IACxD,WAAW,EAAE,aAAK,CAAC,sBAAsB;IACzC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,0BAA0B;QACrC,QAAQ,EAAE,OAAO;KAClB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,0BAA0B,EAAE,2BAA2B,CAAC;YAC/D,MAAM,EAAE,4BAA4B;SACrC;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC;IAC9D,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,cAAc;YACnC,MAAM,EAAE,eAAe;YACvB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,mBAAmB;YAC/B,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE;gBACJ,YAAY,EAAE,gBAAgB;aAC/B;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,WAAW;YAChC,MAAM,EAAE,gBAAgB;YACxB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,oBAAoB;YAChC,KAAK,EAAE,iBAAiB;YACxB,IAAI,EAAE;gBACJ,YAAY,EAAE,iBAAiB;aAChC;YACD,aAAa,EAAE,IAAI;SACpB;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,cAAc;YACnC,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,sBAAsB;gBACzC,UAAU,EAAE,mBAAmB;gBAC/B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,sBAAsB;gBAC7B,MAAM,EAAE,IAAI;aACb;YACD,UAAU,EAAE;gBACV,gBAAgB,EAAE;oBAChB,IAAI,EAAE,sCAAsC;oBAC5C,MAAM,EAAE,IAAI;iBACb;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,WAAW;YAChC,UAAU,EAAE;gBACV,QAAQ,EAAE,yBAAyB;aACpC;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,sBAAsB;gBACzC,UAAU,EAAE,oBAAoB;gBAChC,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,gBAAgB;aACxB;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"fulfillment-set-location.js","sourceRoot":"","sources":["../../src/definitions/fulfillment-set-location.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,sBAAsB,GAAuB;IACxD,WAAW,EAAE,aAAK,CAAC,sBAAsB;IACzC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,0BAA0B;QACrC,QAAQ,EAAE,OAAO;KAClB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,0BAA0B,EAAE,2BAA2B,CAAC;YAC/D,MAA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],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,SAAS,EAAE,kBA8DvB,CAAA"}
1
+ {"version":3,"file":"order-cart.d.ts","sourceRoot":"","sources":["../../src/definitions/order-cart.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,SAAS,EAAE,kBAgEvB,CAAA"}
@@ -41,6 +41,7 @@ exports.OrderCart = {
41
41
  extends: [
42
42
  {
43
43
  serviceName: utils_1.Modules.ORDER,
44
+ entity: "Order",
44
45
  fieldAlias: {
45
46
  cart: "cart_link.cart",
46
47
  },
@@ -53,6 +54,7 @@ exports.OrderCart = {
53
54
  },
54
55
  {
55
56
  serviceName: utils_1.Modules.CART,
57
+ entity: "Cart",
56
58
  fieldAlias: {
57
59
  order: "order_link.order",
58
60
  },
@@ -1 +1 @@
1
- {"version":3,"file":"order-cart.js","sourceRoot":"","sources":["../../src/definitions/order-cart.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,SAAS,GAAuB;IAC3C,WAAW,EAAE,aAAK,CAAC,SAAS;IAC5B,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,YAAY;QACvB,QAAQ,EAAE,WAAW;KACtB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;YACnC,MAAM,EAAE,eAAe;SACxB;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,CAAC;IAC1C,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,UAAU;YACtB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE;gBACJ,YAAY,EAAE,QAAQ;aACvB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,SAAS;YACrB,KAAK,EAAE,MAAM;YACb,IAAI,EAAE;gBACJ,YAAY,EAAE,OAAO;aACtB;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,UAAU,EAAE;gBACV,IAAI,EAAE,gBAAgB;aACvB;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,SAAS;gBAC5B,UAAU,EAAE,UAAU;gBACtB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,WAAW;aACnB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,UAAU,EAAE;gBACV,KAAK,EAAE,kBAAkB;aAC1B;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,SAAS;gBAC5B,UAAU,EAAE,SAAS;gBACrB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,YAAY;aACpB;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"order-cart.js","sourceRoot":"","sources":["../../src/definitions/order-cart.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,SAAS,GAAuB;IAC3C,WAAW,EAAE,aAAK,CAAC,SAAS;IAC5B,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,YAAY;QACvB,QAAQ,EAAE,WAAW;KACtB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;YACnC,MAAM,EAAE,eAAe;SACxB;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,CAAC;IAC1C,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,UAAU;YACtB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE;gBACJ,YAAY,EAAE,QAAQ;aACvB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,SAAS;YACrB,KAAK,EAAE,MAAM;YACb,IAAI,EAAE;gBACJ,YAAY,EAAE,OAAO;aACtB;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,OAAO;YACf,UAAU,EAAE;gBACV,IAAI,EAAE,gBAAgB;aACvB;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,SAAS;gBAC5B,UAAU,EAAE,UAAU;gBACtB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,WAAW;aACnB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,MAAM,EAAE,MAAM;YACd,UAAU,EAAE;gBACV,KAAK,EAAE,kBAAkB;aAC1B;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,SAAS;gBAC5B,UAAU,EAAE,SAAS;gBACrB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,YAAY;aACpB;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"order-claim-payment-collection.d.ts","sourceRoot":"","sources":["../../src/definitions/order-claim-payment-collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,2BAA2B,EAAE,kBAoEzC,CAAA"}
1
+ {"version":3,"file":"order-claim-payment-collection.d.ts","sourceRoot":"","sources":["../../src/definitions/order-claim-payment-collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,2BAA2B,EAAE,kBAsEzC,CAAA"}
@@ -44,6 +44,7 @@ exports.OrderClaimPaymentCollection = {
44
44
  extends: [
45
45
  {
46
46
  serviceName: utils_1.Modules.ORDER,
47
+ entity: "OrderClaim",
47
48
  fieldAlias: {
48
49
  claim_payment_collections: {
49
50
  path: "claim_payment_collections_link.payment_collection",
@@ -59,6 +60,7 @@ exports.OrderClaimPaymentCollection = {
59
60
  },
60
61
  {
61
62
  serviceName: utils_1.Modules.PAYMENT,
63
+ entity: "PaymentCollection",
62
64
  fieldAlias: {
63
65
  claim: "order_claim_link.order",
64
66
  },
@@ -1 +1 @@
1
- {"version":3,"file":"order-claim-payment-collection.js","sourceRoot":"","sources":["../../src/definitions/order-claim-payment-collection.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,2BAA2B,GAAuB;IAC7D,WAAW,EAAE,aAAK,CAAC,2BAA2B;IAC9C,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,gCAAgC;QAC3C,QAAQ,EAAE,UAAU;KACrB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE;gBACJ,gCAAgC;gBAChC,iCAAiC;aAClC;YACD,MAAM,EAAE,iCAAiC;SAC1C;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,uBAAuB,CAAC;IACxD,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,UAAU;YACtB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE;gBACJ,YAAY,EAAE,aAAa;aAC5B;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,mBAAmB;YAC3B,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,uBAAuB;YACnC,KAAK,EAAE,oBAAoB;YAC3B,IAAI,EAAE;gBACJ,YAAY,EAAE,oBAAoB;aACnC;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,UAAU,EAAE;gBACV,yBAAyB,EAAE;oBACzB,IAAI,EAAE,mDAAmD;oBACzD,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,2BAA2B;gBAC9C,UAAU,EAAE,UAAU;gBACtB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,gCAAgC;aACxC;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,UAAU,EAAE;gBACV,KAAK,EAAE,wBAAwB;aAChC;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,2BAA2B;gBAC9C,UAAU,EAAE,uBAAuB;gBACnC,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,kBAAkB;aAC1B;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"order-claim-payment-collection.js","sourceRoot":"","sources":["../../src/definitions/order-claim-payment-collection.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,2BAA2B,GAAuB;IAC7D,WAAW,EAAE,aAAK,CAAC,2BAA2B;IAC9C,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,gCAAgC;QAC3C,QAAQ,EAAE,UAAU;KACrB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE;gBACJ,gCAAgC;gBAChC,iCAAiC;aAClC;YACD,MAAM,EAAE,iCAAiC;SAC1C;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,uBAAuB,CAAC;IACxD,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,UAAU;YACtB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE;gBACJ,YAAY,EAAE,aAAa;aAC5B;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,mBAAmB;YAC3B,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,uBAAuB;YACnC,KAAK,EAAE,oBAAoB;YAC3B,IAAI,EAAE;gBACJ,YAAY,EAAE,oBAAoB;aACnC;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE;gBACV,yBAAyB,EAAE;oBACzB,IAAI,EAAE,mDAAmD;oBACzD,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,2BAA2B;gBAC9C,UAAU,EAAE,UAAU;gBACtB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,gCAAgC;aACxC;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,mBAAmB;YAC3B,UAAU,EAAE;gBACV,KAAK,EAAE,wBAAwB;aAChC;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,2BAA2B;gBAC9C,UAAU,EAAE,uBAAuB;gBACnC,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,kBAAkB;aAC1B;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"order-exchange-payment-collection.d.ts","sourceRoot":"","sources":["../../src/definitions/order-exchange-payment-collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,8BAA8B,EAAE,kBAoE5C,CAAA"}
1
+ {"version":3,"file":"order-exchange-payment-collection.d.ts","sourceRoot":"","sources":["../../src/definitions/order-exchange-payment-collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,8BAA8B,EAAE,kBAsE5C,CAAA"}
@@ -44,6 +44,7 @@ exports.OrderExchangePaymentCollection = {
44
44
  extends: [
45
45
  {
46
46
  serviceName: utils_1.Modules.ORDER,
47
+ entity: "OrderExchange",
47
48
  fieldAlias: {
48
49
  exchange_payment_collections: {
49
50
  path: "exchange_payment_collections_link.payment_collection",
@@ -59,6 +60,7 @@ exports.OrderExchangePaymentCollection = {
59
60
  },
60
61
  {
61
62
  serviceName: utils_1.Modules.PAYMENT,
63
+ entity: "PaymentCollection",
62
64
  fieldAlias: {
63
65
  exchange: "order_exchange_link.order",
64
66
  },
@@ -1 +1 @@
1
- {"version":3,"file":"order-exchange-payment-collection.js","sourceRoot":"","sources":["../../src/definitions/order-exchange-payment-collection.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,8BAA8B,GAAuB;IAChE,WAAW,EAAE,aAAK,CAAC,8BAA8B;IACjD,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,mCAAmC;QAC9C,QAAQ,EAAE,QAAQ;KACnB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE;gBACJ,mCAAmC;gBACnC,oCAAoC;aACrC;YACD,MAAM,EAAE,oCAAoC;SAC7C;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,aAAa,EAAE,uBAAuB,CAAC;IAC3D,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,eAAe;YACvB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,aAAa;YACzB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE;gBACJ,YAAY,EAAE,gBAAgB;aAC/B;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,mBAAmB;YAC3B,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,uBAAuB;YACnC,KAAK,EAAE,oBAAoB;YAC3B,IAAI,EAAE;gBACJ,YAAY,EAAE,oBAAoB;aACnC;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,UAAU,EAAE;gBACV,4BAA4B,EAAE;oBAC5B,IAAI,EAAE,sDAAsD;oBAC5D,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,8BAA8B;gBACjD,UAAU,EAAE,aAAa;gBACzB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,mCAAmC;aAC3C;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,UAAU,EAAE;gBACV,QAAQ,EAAE,2BAA2B;aACtC;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,8BAA8B;gBACjD,UAAU,EAAE,uBAAuB;gBACnC,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,qBAAqB;aAC7B;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"order-exchange-payment-collection.js","sourceRoot":"","sources":["../../src/definitions/order-exchange-payment-collection.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,8BAA8B,GAAuB;IAChE,WAAW,EAAE,aAAK,CAAC,8BAA8B;IACjD,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,mCAAmC;QAC9C,QAAQ,EAAE,QAAQ;KACnB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE;gBACJ,mCAAmC;gBACnC,oCAAoC;aACrC;YACD,MAAM,EAAE,oCAAoC;SAC7C;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,aAAa,EAAE,uBAAuB,CAAC;IAC3D,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,eAAe;YACvB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,aAAa;YACzB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE;gBACJ,YAAY,EAAE,gBAAgB;aAC/B;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,mBAAmB;YAC3B,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,uBAAuB;YACnC,KAAK,EAAE,oBAAoB;YAC3B,IAAI,EAAE;gBACJ,YAAY,EAAE,oBAAoB;aACnC;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,eAAe;YACvB,UAAU,EAAE;gBACV,4BAA4B,EAAE;oBAC5B,IAAI,EAAE,sDAAsD;oBAC5D,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,8BAA8B;gBACjD,UAAU,EAAE,aAAa;gBACzB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,mCAAmC;aAC3C;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,mBAAmB;YAC3B,UAAU,EAAE;gBACV,QAAQ,EAAE,2BAA2B;aACtC;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,8BAA8B;gBACjD,UAAU,EAAE,uBAAuB;gBACnC,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,qBAAqB;aAC7B;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"order-fulfillment.d.ts","sourceRoot":"","sources":["../../src/definitions/order-fulfillment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,gBAAgB,EAAE,kBAkE9B,CAAA"}
1
+ {"version":3,"file":"order-fulfillment.d.ts","sourceRoot":"","sources":["../../src/definitions/order-fulfillment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,gBAAgB,EAAE,kBAoE9B,CAAA"}
@@ -41,6 +41,7 @@ exports.OrderFulfillment = {
41
41
  extends: [
42
42
  {
43
43
  serviceName: utils_1.Modules.ORDER,
44
+ entity: "Order",
44
45
  fieldAlias: {
45
46
  fulfillments: {
46
47
  path: "fulfillment_link.fulfillments",
@@ -57,6 +58,7 @@ exports.OrderFulfillment = {
57
58
  },
58
59
  {
59
60
  serviceName: utils_1.Modules.FULFILLMENT,
61
+ entity: "Fulfillment",
60
62
  fieldAlias: {
61
63
  order: "order_link.order",
62
64
  },
@@ -1 +1 @@
1
- {"version":3,"file":"order-fulfillment.js","sourceRoot":"","sources":["../../src/definitions/order-fulfillment.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,gBAAgB,GAAuB;IAClD,WAAW,EAAE,aAAK,CAAC,gBAAgB;IACnC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,mBAAmB;QAC9B,QAAQ,EAAE,QAAQ;KACnB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,mBAAmB,EAAE,oBAAoB,CAAC;YACjD,MAAM,EAAE,sBAAsB;SAC/B;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,gBAAgB,CAAC;IACjD,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,UAAU;YACtB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE;gBACJ,YAAY,EAAE,QAAQ;aACvB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,WAAW;YAChC,MAAM,EAAE,aAAa;YACrB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,gBAAgB;YAC5B,KAAK,EAAE,cAAc;YACrB,IAAI,EAAE;gBACJ,YAAY,EAAE,cAAc;aAC7B;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,UAAU,EAAE;gBACV,YAAY,EAAE;oBACZ,IAAI,EAAE,+BAA+B;oBACrC,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,gBAAgB;gBACnC,UAAU,EAAE,UAAU;gBACtB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,kBAAkB;gBACzB,MAAM,EAAE,IAAI;aACb;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,WAAW;YAChC,UAAU,EAAE;gBACV,KAAK,EAAE,kBAAkB;aAC1B;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,gBAAgB;gBACnC,UAAU,EAAE,gBAAgB;gBAC5B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,YAAY;aACpB;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"order-fulfillment.js","sourceRoot":"","sources":["../../src/definitions/order-fulfillment.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,gBAAgB,GAAuB;IAClD,WAAW,EAAE,aAAK,CAAC,gBAAgB;IACnC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,mBAAmB;QAC9B,QAAQ,EAAE,QAAQ;KACnB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,mBAAmB,EAAE,oBAAoB,CAAC;YACjD,MAAM,EAAE,sBAAsB;SAC/B;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,gBAAgB,CAAC;IACjD,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,UAAU;YACtB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE;gBACJ,YAAY,EAAE,QAAQ;aACvB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,WAAW;YAChC,MAAM,EAAE,aAAa;YACrB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,gBAAgB;YAC5B,KAAK,EAAE,cAAc;YACrB,IAAI,EAAE;gBACJ,YAAY,EAAE,cAAc;aAC7B;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,OAAO;YACf,UAAU,EAAE;gBACV,YAAY,EAAE;oBACZ,IAAI,EAAE,+BAA+B;oBACrC,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,gBAAgB;gBACnC,UAAU,EAAE,UAAU;gBACtB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,kBAAkB;gBACzB,MAAM,EAAE,IAAI;aACb;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,WAAW;YAChC,MAAM,EAAE,aAAa;YACrB,UAAU,EAAE;gBACV,KAAK,EAAE,kBAAkB;aAC1B;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,gBAAgB;gBACnC,UAAU,EAAE,gBAAgB;gBAC5B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,YAAY;aACpB;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"order-payment-collection.d.ts","sourceRoot":"","sources":["../../src/definitions/order-payment-collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,sBAAsB,EAAE,kBAkEpC,CAAA"}
1
+ {"version":3,"file":"order-payment-collection.d.ts","sourceRoot":"","sources":["../../src/definitions/order-payment-collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,sBAAsB,EAAE,kBAoEpC,CAAA"}
@@ -42,6 +42,7 @@ exports.OrderPaymentCollection = {
42
42
  extends: [
43
43
  {
44
44
  serviceName: utils_1.Modules.ORDER,
45
+ entity: "Order",
45
46
  fieldAlias: {
46
47
  payment_collections: {
47
48
  path: "payment_collections_link.payment_collection",
@@ -57,6 +58,7 @@ exports.OrderPaymentCollection = {
57
58
  },
58
59
  {
59
60
  serviceName: utils_1.Modules.PAYMENT,
61
+ entity: "PaymentCollection",
60
62
  fieldAlias: {
61
63
  order: "order_link.order",
62
64
  },
@@ -1 +1 @@
1
- {"version":3,"file":"order-payment-collection.js","sourceRoot":"","sources":["../../src/definitions/order-payment-collection.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,sBAAsB,GAAuB;IACxD,WAAW,EAAE,aAAK,CAAC,sBAAsB;IACzC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,0BAA0B;QACrC,QAAQ,EAAE,QAAQ;KACnB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,0BAA0B,EAAE,2BAA2B,CAAC;YAC/D,MAAM,EAAE,4BAA4B;SACrC;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,uBAAuB,CAAC;IACxD,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,UAAU;YACtB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE;gBACJ,YAAY,EAAE,QAAQ;aACvB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,mBAAmB;YAC3B,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,uBAAuB;YACnC,KAAK,EAAE,oBAAoB;YAC3B,IAAI,EAAE;gBACJ,YAAY,EAAE,oBAAoB;aACnC;YACD,aAAa,EAAE,IAAI;SACpB;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,UAAU,EAAE;gBACV,mBAAmB,EAAE;oBACnB,IAAI,EAAE,6CAA6C;oBACnD,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,sBAAsB;gBACzC,UAAU,EAAE,UAAU;gBACtB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,0BAA0B;aAClC;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,UAAU,EAAE;gBACV,KAAK,EAAE,kBAAkB;aAC1B;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,sBAAsB;gBACzC,UAAU,EAAE,uBAAuB;gBACnC,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,YAAY;aACpB;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"order-payment-collection.js","sourceRoot":"","sources":["../../src/definitions/order-payment-collection.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,sBAAsB,GAAuB;IACxD,WAAW,EAAE,aAAK,CAAC,sBAAsB;IACzC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,0BAA0B;QACrC,QAAQ,EAAE,QAAQ;KACnB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,0BAA0B,EAAE,2BAA2B,CAAC;YAC/D,MAAM,EAAE,4BAA4B;SACrC;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,uBAAuB,CAAC;IACxD,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,UAAU;YACtB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE;gBACJ,YAAY,EAAE,QAAQ;aACvB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,mBAAmB;YAC3B,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,uBAAuB;YACnC,KAAK,EAAE,oBAAoB;YAC3B,IAAI,EAAE;gBACJ,YAAY,EAAE,oBAAoB;aACnC;YACD,aAAa,EAAE,IAAI;SACpB;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,OAAO;YACf,UAAU,EAAE;gBACV,mBAAmB,EAAE;oBACnB,IAAI,EAAE,6CAA6C;oBACnD,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,sBAAsB;gBACzC,UAAU,EAAE,UAAU;gBACtB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,0BAA0B;aAClC;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,mBAAmB;YAC3B,UAAU,EAAE;gBACV,KAAK,EAAE,kBAAkB;aAC1B;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,sBAAsB;gBACzC,UAAU,EAAE,uBAAuB;gBACnC,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,YAAY;aACpB;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"order-promotion.d.ts","sourceRoot":"","sources":["../../src/definitions/order-promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,cAAc,EAAE,kBA2D5B,CAAA"}
1
+ {"version":3,"file":"order-promotion.d.ts","sourceRoot":"","sources":["../../src/definitions/order-promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,cAAc,EAAE,kBAgE5B,CAAA"}
@@ -41,8 +41,12 @@ exports.OrderPromotion = {
41
41
  extends: [
42
42
  {
43
43
  serviceName: utils_1.Modules.ORDER,
44
+ entity: "Order",
44
45
  fieldAlias: {
45
- promotion: "promotion_link.promotion",
46
+ promotion: {
47
+ path: "promotion_link.promotion",
48
+ isList: true,
49
+ },
46
50
  },
47
51
  relationship: {
48
52
  serviceName: utils_1.LINKS.OrderPromotion,
@@ -53,6 +57,7 @@ exports.OrderPromotion = {
53
57
  },
54
58
  {
55
59
  serviceName: utils_1.Modules.PROMOTION,
60
+ entity: "Promotion",
56
61
  relationship: {
57
62
  serviceName: utils_1.LINKS.OrderPromotion,
58
63
  primaryKey: "promotion_id",
@@ -1 +1 @@
1
- {"version":3,"file":"order-promotion.js","sourceRoot":"","sources":["../../src/definitions/order-promotion.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,cAAc,GAAuB;IAChD,WAAW,EAAE,aAAK,CAAC,cAAc;IACjC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,iBAAiB;QAC5B,QAAQ,EAAE,YAAY;KACvB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;YAC7C,MAAM,EAAE,oBAAoB;SAC7B;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,cAAc,CAAC;IAC/C,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,UAAU;YACtB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE;gBACJ,YAAY,EAAE,QAAQ;aACvB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,SAAS;YAC9B,MAAM,EAAE,WAAW;YACnB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,cAAc;YAC1B,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE;gBACJ,YAAY,EAAE,YAAY;aAC3B;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,UAAU,EAAE;gBACV,SAAS,EAAE,0BAA0B;aACtC;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,cAAc;gBACjC,UAAU,EAAE,UAAU;gBACtB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,gBAAgB;aACxB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,SAAS;YAC9B,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,cAAc;gBACjC,UAAU,EAAE,cAAc;gBAC1B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,YAAY;aACpB;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"order-promotion.js","sourceRoot":"","sources":["../../src/definitions/order-promotion.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,cAAc,GAAuB;IAChD,WAAW,EAAE,aAAK,CAAC,cAAc;IACjC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,iBAAiB;QAC5B,QAAQ,EAAE,YAAY;KACvB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;YAC7C,MAAM,EAAE,oBAAoB;SAC7B;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,cAAc,CAAC;IAC/C,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,UAAU;YACtB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE;gBACJ,YAAY,EAAE,QAAQ;aACvB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,SAAS;YAC9B,MAAM,EAAE,WAAW;YACnB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,cAAc;YAC1B,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE;gBACJ,YAAY,EAAE,YAAY;aAC3B;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,OAAO;YACf,UAAU,EAAE;gBACV,SAAS,EAAE;oBACT,IAAI,EAAE,0BAA0B;oBAChC,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,cAAc;gBACjC,UAAU,EAAE,UAAU;gBACtB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,gBAAgB;aACxB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,SAAS;YAC9B,MAAM,EAAE,WAAW;YACnB,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,cAAc;gBACjC,UAAU,EAAE,cAAc;gBAC1B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,YAAY;aACpB;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"order-return-fulfillment.d.ts","sourceRoot":"","sources":["../../src/definitions/order-return-fulfillment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,iBAAiB,EAAE,kBA+D/B,CAAA"}
1
+ {"version":3,"file":"order-return-fulfillment.d.ts","sourceRoot":"","sources":["../../src/definitions/order-return-fulfillment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,iBAAiB,EAAE,kBAiE/B,CAAA"}
@@ -19,7 +19,7 @@ exports.ReturnFulfillment = {
19
19
  relationships: [
20
20
  {
21
21
  serviceName: utils_1.Modules.ORDER,
22
- entity: "Order",
22
+ entity: "Return",
23
23
  primaryKey: "id",
24
24
  foreignKey: "return_id",
25
25
  alias: "return",
@@ -41,6 +41,7 @@ exports.ReturnFulfillment = {
41
41
  extends: [
42
42
  {
43
43
  serviceName: utils_1.Modules.ORDER,
44
+ entity: "Return",
44
45
  fieldAlias: {
45
46
  return_fulfillments: {
46
47
  path: "return_fulfillment_link.fulfillments",
@@ -57,6 +58,7 @@ exports.ReturnFulfillment = {
57
58
  },
58
59
  {
59
60
  serviceName: utils_1.Modules.FULFILLMENT,
61
+ entity: "Fulfillment",
60
62
  relationship: {
61
63
  serviceName: utils_1.LINKS.OrderFulfillment,
62
64
  primaryKey: "fulfillment_id",
@@ -1 +1 @@
1
- {"version":3,"file":"order-return-fulfillment.js","sourceRoot":"","sources":["../../src/definitions/order-return-fulfillment.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,iBAAiB,GAAuB;IACnD,WAAW,EAAE,aAAK,CAAC,iBAAiB;IACpC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,oBAAoB;QAC/B,QAAQ,EAAE,QAAQ;KACnB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,oBAAoB,EAAE,qBAAqB,CAAC;YACnD,MAAM,EAAE,uBAAuB;SAChC;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,gBAAgB,CAAC;IAClD,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,WAAW;YACvB,KAAK,EAAE,QAAQ;YACf,IAAI,EAAE;gBACJ,YAAY,EAAE,SAAS;aACxB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,WAAW;YAChC,MAAM,EAAE,aAAa;YACrB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,gBAAgB;YAC5B,KAAK,EAAE,cAAc;YACrB,IAAI,EAAE;gBACJ,YAAY,EAAE,cAAc;aAC7B;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,UAAU,EAAE;gBACV,mBAAmB,EAAE;oBACnB,IAAI,EAAE,sCAAsC;oBAC5C,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,gBAAgB;gBACnC,UAAU,EAAE,WAAW;gBACvB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,yBAAyB;gBAChC,MAAM,EAAE,IAAI;aACb;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,WAAW;YAChC,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,gBAAgB;gBACnC,UAAU,EAAE,gBAAgB;gBAC5B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,aAAa;aACrB;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"order-return-fulfillment.js","sourceRoot":"","sources":["../../src/definitions/order-return-fulfillment.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,iBAAiB,GAAuB;IACnD,WAAW,EAAE,aAAK,CAAC,iBAAiB;IACpC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,oBAAoB;QAC/B,QAAQ,EAAE,QAAQ;KACnB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,oBAAoB,EAAE,qBAAqB,CAAC;YACnD,MAAM,EAAE,uBAAuB;SAChC;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,gBAAgB,CAAC;IAClD,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,WAAW;YACvB,KAAK,EAAE,QAAQ;YACf,IAAI,EAAE;gBACJ,YAAY,EAAE,SAAS;aACxB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,WAAW;YAChC,MAAM,EAAE,aAAa;YACrB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,gBAAgB;YAC5B,KAAK,EAAE,cAAc;YACrB,IAAI,EAAE;gBACJ,YAAY,EAAE,cAAc;aAC7B;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE;gBACV,mBAAmB,EAAE;oBACnB,IAAI,EAAE,sCAAsC;oBAC5C,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,gBAAgB;gBACnC,UAAU,EAAE,WAAW;gBACvB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,yBAAyB;gBAChC,MAAM,EAAE,IAAI;aACb;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,WAAW;YAChC,MAAM,EAAE,aAAa;YACrB,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,gBAAgB;gBACnC,UAAU,EAAE,gBAAgB;gBAC5B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,aAAa;aACrB;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"product-sales-channel.d.ts","sourceRoot":"","sources":["../../src/definitions/product-sales-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,mBAAmB,EAAE,kBAkEjC,CAAA"}
1
+ {"version":3,"file":"product-sales-channel.d.ts","sourceRoot":"","sources":["../../src/definitions/product-sales-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,mBAAmB,EAAE,kBAoEjC,CAAA"}
@@ -43,6 +43,7 @@ exports.ProductSalesChannel = {
43
43
  extends: [
44
44
  {
45
45
  serviceName: utils_1.Modules.PRODUCT,
46
+ entity: "Product",
46
47
  fieldAlias: {
47
48
  sales_channels: {
48
49
  path: "sales_channels_link.sales_channel",
@@ -59,6 +60,7 @@ exports.ProductSalesChannel = {
59
60
  },
60
61
  {
61
62
  serviceName: utils_1.Modules.SALES_CHANNEL,
63
+ entity: "SalesChannel",
62
64
  relationship: {
63
65
  serviceName: utils_1.LINKS.ProductSalesChannel,
64
66
  primaryKey: "sales_channel_id",
@@ -1 +1 @@
1
- {"version":3,"file":"product-sales-channel.js","sourceRoot":"","sources":["../../src/definitions/product-sales-channel.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,mBAAmB,GAAuB;IACrD,WAAW,EAAE,aAAK,CAAC,mBAAmB;IACtC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,uBAAuB;QAClC,QAAQ,EAAE,QAAQ;KACnB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,uBAAuB;SAC9B;QACD;YACE,IAAI,EAAE,wBAAwB;SAC/B;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,kBAAkB,CAAC;IACrD,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,SAAS;YACjB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,YAAY;YACxB,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE;gBACJ,YAAY,EAAE,UAAU;aACzB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,aAAa;YAClC,MAAM,EAAE,cAAc;YACtB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,kBAAkB;YAC9B,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE;gBACJ,YAAY,EAAE,eAAe;aAC9B;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,UAAU,EAAE;gBACV,cAAc,EAAE;oBACd,IAAI,EAAE,mCAAmC;oBACzC,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,mBAAmB;gBACtC,UAAU,EAAE,YAAY;gBACxB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,qBAAqB;gBAC5B,MAAM,EAAE,IAAI;aACb;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,aAAa;YAClC,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,mBAAmB;gBACtC,UAAU,EAAE,kBAAkB;gBAC9B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,eAAe;gBACtB,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"product-sales-channel.js","sourceRoot":"","sources":["../../src/definitions/product-sales-channel.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,mBAAmB,GAAuB;IACrD,WAAW,EAAE,aAAK,CAAC,mBAAmB;IACtC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,uBAAuB;QAClC,QAAQ,EAAE,QAAQ;KACnB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,uBAAuB;SAC9B;QACD;YACE,IAAI,EAAE,wBAAwB;SAC/B;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,kBAAkB,CAAC;IACrD,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,SAAS;YACjB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,YAAY;YACxB,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE;gBACJ,YAAY,EAAE,UAAU;aACzB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,aAAa;YAClC,MAAM,EAAE,cAAc;YACtB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,kBAAkB;YAC9B,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE;gBACJ,YAAY,EAAE,eAAe;aAC9B;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,SAAS;YACjB,UAAU,EAAE;gBACV,cAAc,EAAE;oBACd,IAAI,EAAE,mCAAmC;oBACzC,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,mBAAmB;gBACtC,UAAU,EAAE,YAAY;gBACxB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,qBAAqB;gBAC5B,MAAM,EAAE,IAAI;aACb;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,aAAa;YAClC,MAAM,EAAE,cAAc;YACtB,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,mBAAmB;gBACtC,UAAU,EAAE,kBAAkB;gBAC9B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,eAAe;gBACtB,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"product-variant-inventory-item.d.ts","sourceRoot":"","sources":["../../src/definitions/product-variant-inventory-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,2BAA2B,EAAE,kBA4EzC,CAAA"}
1
+ {"version":3,"file":"product-variant-inventory-item.d.ts","sourceRoot":"","sources":["../../src/definitions/product-variant-inventory-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,2BAA2B,EAAE,kBA8EzC,CAAA"}
@@ -50,6 +50,7 @@ exports.ProductVariantInventoryItem = {
50
50
  extends: [
51
51
  {
52
52
  serviceName: utils_1.Modules.PRODUCT,
53
+ entity: "ProductVariant",
53
54
  fieldAlias: {
54
55
  inventory: "inventory_items.inventory",
55
56
  },
@@ -63,6 +64,7 @@ exports.ProductVariantInventoryItem = {
63
64
  },
64
65
  {
65
66
  serviceName: utils_1.Modules.INVENTORY,
67
+ entity: "InventoryItem",
66
68
  fieldAlias: {
67
69
  variants: {
68
70
  path: "variant_link.variant",
@@ -1 +1 @@
1
- {"version":3,"file":"product-variant-inventory-item.js","sourceRoot":"","sources":["../../src/definitions/product-variant-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EAAE;gBACV,QAAQ,EAAE;oBACR,IAAI,EAAE,sBAAsB;oBAC5B,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,2BAA2B;gBAC9C,UAAU,EAAE,mBAAmB;gBAC/B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,cAAc;gBACrB,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"product-variant-inventory-item.js","sourceRoot":"","sources":["../../src/definitions/product-variant-inventory-item.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,2BAA2B,GAAuB;IAC7D,WAAW,EAAE,aAAK,CAAC,2BAA2B;IAC9C,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,gCAAgC;QAC3C,QAAQ,EAAE,QAAQ;QAClB,WAAW,EAAE;YACX,iBAAiB,EAAE;gBACjB,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,GAAG;aAClB;SACF;KACF;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE;gBACJ,gCAAgC;gBAChC,iCAAiC;aAClC;YACD,MAAM,EAAE,iCAAiC;SAC1C;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,mBAAmB,CAAC;IACtD,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,gBAAgB;YACxB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,YAAY;YACxB,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE;gBACJ,YAAY,EAAE,iBAAiB;aAChC;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,SAAS;YAC9B,MAAM,EAAE,eAAe;YACvB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,mBAAmB;YAC/B,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE;gBACJ,YAAY,EAAE,gBAAgB;aAC/B;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,gBAAgB;YACxB,UAAU,EAAE;gBACV,SAAS,EAAE,2BAA2B;aACvC;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,2BAA2B;gBAC9C,UAAU,EAAE,YAAY;gBACxB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,iBAAiB;gBACxB,MAAM,EAAE,IAAI;aACb;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,SAAS;YAC9B,MAAM,EAAE,eAAe;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE;oBACR,IAAI,EAAE,sBAAsB;oBAC5B,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,2BAA2B;gBAC9C,UAAU,EAAE,mBAAmB;gBAC/B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,cAAc;gBACrB,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"product-variant-price-set.d.ts","sourceRoot":"","sources":["../../src/definitions/product-variant-price-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,sBAAsB,EAAE,kBAwEpC,CAAA"}
1
+ {"version":3,"file":"product-variant-price-set.d.ts","sourceRoot":"","sources":["../../src/definitions/product-variant-price-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,sBAAsB,EAAE,kBA0EpC,CAAA"}
@@ -42,6 +42,7 @@ exports.ProductVariantPriceSet = {
42
42
  extends: [
43
43
  {
44
44
  serviceName: utils_1.Modules.PRODUCT,
45
+ entity: "ProductVariant",
45
46
  fieldAlias: {
46
47
  price_set: "price_set_link.price_set",
47
48
  prices: {
@@ -63,6 +64,7 @@ exports.ProductVariantPriceSet = {
63
64
  },
64
65
  {
65
66
  serviceName: utils_1.Modules.PRICING,
67
+ entity: "PriceSet",
66
68
  relationship: {
67
69
  serviceName: utils_1.LINKS.ProductVariantPriceSet,
68
70
  primaryKey: "price_set_id",
@@ -1 +1 @@
1
- {"version":3,"file":"product-variant-price-set.js","sourceRoot":"","sources":["../../src/definitions/product-variant-price-set.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,sBAAsB,GAAuB;IACxD,WAAW,EAAE,aAAK,CAAC,sBAAsB;IACzC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,2BAA2B;QACtC,QAAQ,EAAE,MAAM;KACjB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,2BAA2B,EAAE,4BAA4B,CAAC;YACjE,MAAM,EAAE,4BAA4B;SACrC;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,cAAc,CAAC;IACjD,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,gBAAgB;YACxB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,YAAY;YACxB,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE;gBACJ,YAAY,EAAE,iBAAiB;aAChC;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,cAAc;YAC1B,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE;gBACJ,YAAY,EAAE,WAAW;aAC1B;YACD,aAAa,EAAE,IAAI;SACpB;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,UAAU,EAAE;gBACV,SAAS,EAAE,0BAA0B;gBACrC,MAAM,EAAE;oBACN,IAAI,EAAE,iCAAiC;oBACvC,MAAM,EAAE,IAAI;oBACZ,sBAAsB,EAAE,CAAC,0BAA0B,CAAC;iBACrD;gBACD,gBAAgB,EAAE;oBAChB,IAAI,EAAE,2CAA2C;oBACjD,sBAAsB,EAAE,CAAC,0BAA0B,CAAC;iBACrD;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,sBAAsB;gBACzC,UAAU,EAAE,YAAY;gBACxB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,gBAAgB;aACxB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,sBAAsB;gBACzC,UAAU,EAAE,cAAc;gBAC1B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,cAAc;aACtB;YACD,UAAU,EAAE;gBACV,OAAO,EAAE,sBAAsB;aAChC;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"product-variant-price-set.js","sourceRoot":"","sources":["../../src/definitions/product-variant-price-set.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,sBAAsB,GAAuB;IACxD,WAAW,EAAE,aAAK,CAAC,sBAAsB;IACzC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,2BAA2B;QACtC,QAAQ,EAAE,MAAM;KACjB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,2BAA2B,EAAE,4BAA4B,CAAC;YACjE,MAAM,EAAE,4BAA4B;SACrC;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,cAAc,CAAC;IACjD,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,gBAAgB;YACxB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,YAAY;YACxB,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE;gBACJ,YAAY,EAAE,iBAAiB;aAChC;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,cAAc;YAC1B,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE;gBACJ,YAAY,EAAE,WAAW;aAC1B;YACD,aAAa,EAAE,IAAI;SACpB;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,gBAAgB;YACxB,UAAU,EAAE;gBACV,SAAS,EAAE,0BAA0B;gBACrC,MAAM,EAAE;oBACN,IAAI,EAAE,iCAAiC;oBACvC,MAAM,EAAE,IAAI;oBACZ,sBAAsB,EAAE,CAAC,0BAA0B,CAAC;iBACrD;gBACD,gBAAgB,EAAE;oBAChB,IAAI,EAAE,2CAA2C;oBACjD,sBAAsB,EAAE,CAAC,0BAA0B,CAAC;iBACrD;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,sBAAsB;gBACzC,UAAU,EAAE,YAAY;gBACxB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,gBAAgB;aACxB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,UAAU;YAClB,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,sBAAsB;gBACzC,UAAU,EAAE,cAAc;gBAC1B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,cAAc;aACtB;YACD,UAAU,EAAE;gBACV,OAAO,EAAE,sBAAsB;aAChC;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"publishable-api-key-sales-channel.d.ts","sourceRoot":"","sources":["../../src/definitions/publishable-api-key-sales-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,6BAA6B,EAAE,kBAwE3C,CAAA"}
1
+ {"version":3,"file":"publishable-api-key-sales-channel.d.ts","sourceRoot":"","sources":["../../src/definitions/publishable-api-key-sales-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,6BAA6B,EAAE,kBA0E3C,CAAA"}
@@ -43,6 +43,7 @@ exports.PublishableApiKeySalesChannel = {
43
43
  extends: [
44
44
  {
45
45
  serviceName: utils_1.Modules.API_KEY,
46
+ entity: "ApiKey",
46
47
  fieldAlias: {
47
48
  sales_channels: {
48
49
  path: "sales_channels_link.sales_channel",
@@ -59,6 +60,7 @@ exports.PublishableApiKeySalesChannel = {
59
60
  },
60
61
  {
61
62
  serviceName: utils_1.Modules.SALES_CHANNEL,
63
+ entity: "SalesChannel",
62
64
  fieldAlias: {
63
65
  publishable_api_keys: {
64
66
  path: "api_keys_link.api_key",
@@ -1 +1 @@
1
- {"version":3,"file":"publishable-api-key-sales-channel.js","sourceRoot":"","sources":["../../src/definitions/publishable-api-key-sales-channel.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,6BAA6B,GAAuB;IAC/D,WAAW,EAAE,aAAK,CAAC,6BAA6B;IAChD,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,mCAAmC;QAC9C,QAAQ,EAAE,MAAM;KACjB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE;gBACJ,mCAAmC;gBACnC,oCAAoC;aACrC;SACF;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,oBAAoB,EAAE,kBAAkB,CAAC;IAC7D,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,oBAAoB;YAChC,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE;gBACJ,YAAY,EAAE,SAAS;aACxB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,aAAa;YAClC,MAAM,EAAE,cAAc;YACtB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,kBAAkB;YAC9B,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE;gBACJ,YAAY,EAAE,eAAe;aAC9B;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,UAAU,EAAE;gBACV,cAAc,EAAE;oBACd,IAAI,EAAE,mCAAmC;oBACzC,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,6BAA6B;gBAChD,UAAU,EAAE,oBAAoB;gBAChC,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,qBAAqB;gBAC5B,MAAM,EAAE,IAAI;aACb;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,aAAa;YAClC,UAAU,EAAE;gBACV,oBAAoB,EAAE;oBACpB,IAAI,EAAE,uBAAuB;oBAC7B,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,6BAA6B;gBAChD,UAAU,EAAE,kBAAkB;gBAC9B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,eAAe;gBACtB,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"publishable-api-key-sales-channel.js","sourceRoot":"","sources":["../../src/definitions/publishable-api-key-sales-channel.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,6BAA6B,GAAuB;IAC/D,WAAW,EAAE,aAAK,CAAC,6BAA6B;IAChD,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,mCAAmC;QAC9C,QAAQ,EAAE,MAAM;KACjB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE;gBACJ,mCAAmC;gBACnC,oCAAoC;aACrC;SACF;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,oBAAoB,EAAE,kBAAkB,CAAC;IAC7D,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,oBAAoB;YAChC,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE;gBACJ,YAAY,EAAE,SAAS;aACxB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,aAAa;YAClC,MAAM,EAAE,cAAc;YACtB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,kBAAkB;YAC9B,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE;gBACJ,YAAY,EAAE,eAAe;aAC9B;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE;gBACV,cAAc,EAAE;oBACd,IAAI,EAAE,mCAAmC;oBACzC,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,6BAA6B;gBAChD,UAAU,EAAE,oBAAoB;gBAChC,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,qBAAqB;gBAC5B,MAAM,EAAE,IAAI;aACb;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,aAAa;YAClC,MAAM,EAAE,cAAc;YACtB,UAAU,EAAE;gBACV,oBAAoB,EAAE;oBACpB,IAAI,EAAE,uBAAuB;oBAC7B,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,6BAA6B;gBAChD,UAAU,EAAE,kBAAkB;gBAC9B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,eAAe;gBACtB,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"cart-customer.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,YAAY,EAAE,kBAgC1B,CAAA"}
1
+ {"version":3,"file":"cart-customer.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,YAAY,EAAE,kBAkC1B,CAAA"}
@@ -8,6 +8,7 @@ exports.CartCustomer = {
8
8
  extends: [
9
9
  {
10
10
  serviceName: utils_1.Modules.CART,
11
+ entity: "Cart",
11
12
  relationship: {
12
13
  serviceName: utils_1.Modules.CUSTOMER,
13
14
  entity: "Customer",
@@ -21,6 +22,7 @@ exports.CartCustomer = {
21
22
  },
22
23
  {
23
24
  serviceName: utils_1.Modules.CUSTOMER,
25
+ entity: "Customer",
24
26
  relationship: {
25
27
  serviceName: utils_1.Modules.CART,
26
28
  entity: "Cart",
@@ -1 +1 @@
1
- {"version":3,"file":"cart-customer.js","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-customer.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,YAAY,GAAuB;IAC9C,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,QAAQ;gBAC7B,MAAM,EAAE,UAAU;gBAClB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,aAAa;gBACzB,KAAK,EAAE,UAAU;gBACjB,IAAI,EAAE;oBACJ,YAAY,EAAE,WAAW;iBAC1B;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,QAAQ;YAC7B,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,IAAI;gBACzB,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE,aAAa;gBACzB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,OAAO;gBACd,IAAI,EAAE;oBACJ,YAAY,EAAE,OAAO;iBACtB;gBACD,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"cart-customer.js","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-customer.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,YAAY,GAAuB;IAC9C,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,MAAM,EAAE,MAAM;YACd,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,QAAQ;gBAC7B,MAAM,EAAE,UAAU;gBAClB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,aAAa;gBACzB,KAAK,EAAE,UAAU;gBACjB,IAAI,EAAE;oBACJ,YAAY,EAAE,WAAW;iBAC1B;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,QAAQ;YAC7B,MAAM,EAAE,UAAU;YAClB,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,IAAI;gBACzB,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE,aAAa;gBACzB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,OAAO;gBACd,IAAI,EAAE;oBACJ,YAAY,EAAE,OAAO;iBACtB;gBACD,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"cart-product.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-product.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,WAAW,EAAE,kBA4CzB,CAAA"}
1
+ {"version":3,"file":"cart-product.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-product.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,WAAW,EAAE,kBA8CzB,CAAA"}
@@ -8,6 +8,7 @@ exports.CartProduct = {
8
8
  extends: [
9
9
  {
10
10
  serviceName: utils_1.Modules.CART,
11
+ entity: "LineItem",
11
12
  relationship: {
12
13
  serviceName: utils_1.Modules.PRODUCT,
13
14
  primaryKey: "id",
@@ -20,6 +21,7 @@ exports.CartProduct = {
20
21
  },
21
22
  {
22
23
  serviceName: utils_1.Modules.CART,
24
+ entity: "LineItem",
23
25
  relationship: {
24
26
  serviceName: utils_1.Modules.PRODUCT,
25
27
  entity: "ProductVariant",
@@ -1 +1 @@
1
- {"version":3,"file":"cart-product.js","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-product.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,WAAW,GAAuB;IAC7C,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,OAAO;gBAC5B,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,kBAAkB;gBAC9B,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE;oBACJ,YAAY,EAAE,UAAU;iBACzB;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,OAAO;gBAC5B,MAAM,EAAE,gBAAgB;gBACxB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,kBAAkB;gBAC9B,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE;oBACJ,YAAY,EAAE,iBAAiB;iBAChC;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,IAAI;gBACzB,MAAM,EAAE,UAAU;gBAClB,UAAU,EAAE,YAAY;gBACxB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,YAAY;gBACnB,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE;oBACJ,YAAY,EAAE,WAAW;iBAC1B;aACF;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"cart-product.js","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-product.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,WAAW,GAAuB;IAC7C,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,MAAM,EAAE,UAAU;YAClB,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,OAAO;gBAC5B,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,kBAAkB;gBAC9B,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE;oBACJ,YAAY,EAAE,UAAU;iBACzB;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,MAAM,EAAE,UAAU;YAClB,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,OAAO;gBAC5B,MAAM,EAAE,gBAAgB;gBACxB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,kBAAkB;gBAC9B,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE;oBACJ,YAAY,EAAE,iBAAiB;iBAChC;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,IAAI;gBACzB,MAAM,EAAE,UAAU;gBAClB,UAAU,EAAE,YAAY;gBACxB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,YAAY;gBACnB,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE;oBACJ,YAAY,EAAE,WAAW;iBAC1B;aACF;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"cart-region.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-region.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,UAAU,EAAE,kBAgCxB,CAAA"}
1
+ {"version":3,"file":"cart-region.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-region.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,UAAU,EAAE,kBAkCxB,CAAA"}
@@ -8,6 +8,7 @@ exports.CartRegion = {
8
8
  extends: [
9
9
  {
10
10
  serviceName: utils_1.Modules.CART,
11
+ entity: "Cart",
11
12
  relationship: {
12
13
  serviceName: utils_1.Modules.REGION,
13
14
  entity: "Region",
@@ -21,6 +22,7 @@ exports.CartRegion = {
21
22
  },
22
23
  {
23
24
  serviceName: utils_1.Modules.REGION,
25
+ entity: "Region",
24
26
  relationship: {
25
27
  serviceName: utils_1.Modules.CART,
26
28
  entity: "Cart",
@@ -1 +1 @@
1
- {"version":3,"file":"cart-region.js","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-region.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,UAAU,GAAuB;IAC5C,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,MAAM;gBAC3B,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,WAAW;gBACvB,KAAK,EAAE,QAAQ;gBACf,IAAI,EAAE;oBACJ,YAAY,EAAE,SAAS;iBACxB;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,MAAM;YAC3B,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,IAAI;gBACzB,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE,WAAW;gBACvB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,OAAO;gBACd,IAAI,EAAE;oBACJ,YAAY,EAAE,OAAO;iBACtB;gBACD,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"cart-region.js","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-region.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,UAAU,GAAuB;IAC5C,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,MAAM,EAAE,MAAM;YACd,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,MAAM;gBAC3B,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,WAAW;gBACvB,KAAK,EAAE,QAAQ;gBACf,IAAI,EAAE;oBACJ,YAAY,EAAE,SAAS;iBACxB;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,MAAM;YAC3B,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,IAAI;gBACzB,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE,WAAW;gBACvB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,OAAO;gBACd,IAAI,EAAE;oBACJ,YAAY,EAAE,OAAO;iBACtB;gBACD,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"cart-sales-channel.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-sales-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,gBAAgB,EAAE,kBAgC9B,CAAA"}
1
+ {"version":3,"file":"cart-sales-channel.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-sales-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,gBAAgB,EAAE,kBAkC9B,CAAA"}
@@ -8,6 +8,7 @@ exports.CartSalesChannel = {
8
8
  extends: [
9
9
  {
10
10
  serviceName: utils_1.Modules.CART,
11
+ entity: "Cart",
11
12
  relationship: {
12
13
  serviceName: utils_1.Modules.SALES_CHANNEL,
13
14
  entity: "SalesChannel",
@@ -21,6 +22,7 @@ exports.CartSalesChannel = {
21
22
  },
22
23
  {
23
24
  serviceName: utils_1.Modules.SALES_CHANNEL,
25
+ entity: "SalesChannel",
24
26
  relationship: {
25
27
  serviceName: utils_1.Modules.CART,
26
28
  entity: "Cart",
@@ -1 +1 @@
1
- {"version":3,"file":"cart-sales-channel.js","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-sales-channel.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,gBAAgB,GAAuB;IAClD,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,aAAa;gBAClC,MAAM,EAAE,cAAc;gBACtB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,kBAAkB;gBAC9B,KAAK,EAAE,eAAe;gBACtB,IAAI,EAAE;oBACJ,YAAY,EAAE,eAAe;iBAC9B;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,aAAa;YAClC,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,IAAI;gBACzB,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE,kBAAkB;gBAC9B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,OAAO;gBACd,IAAI,EAAE;oBACJ,YAAY,EAAE,OAAO;iBACtB;gBACD,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"cart-sales-channel.js","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-sales-channel.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,gBAAgB,GAAuB;IAClD,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,MAAM,EAAE,MAAM;YACd,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,aAAa;gBAClC,MAAM,EAAE,cAAc;gBACtB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,kBAAkB;gBAC9B,KAAK,EAAE,eAAe;gBACtB,IAAI,EAAE;oBACJ,YAAY,EAAE,eAAe;iBAC9B;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,aAAa;YAClC,MAAM,EAAE,cAAc;YACtB,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,IAAI;gBACzB,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE,kBAAkB;gBAC9B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,OAAO;gBACd,IAAI,EAAE;oBACJ,YAAY,EAAE,OAAO;iBACtB;gBACD,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"inventory-level-stock-location.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/inventory-level-stock-location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,2BAA2B,EAAE,kBAmBzC,CAAA"}
1
+ {"version":3,"file":"inventory-level-stock-location.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/inventory-level-stock-location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,2BAA2B,EAAE,kBAoBzC,CAAA"}
@@ -8,6 +8,7 @@ exports.InventoryLevelStockLocation = {
8
8
  extends: [
9
9
  {
10
10
  serviceName: utils_1.Modules.INVENTORY,
11
+ entity: "InventoryLevel",
11
12
  relationship: {
12
13
  serviceName: utils_1.Modules.STOCK_LOCATION,
13
14
  entity: "StockLocation",
@@ -1 +1 @@
1
- {"version":3,"file":"inventory-level-stock-location.js","sourceRoot":"","sources":["../../../src/definitions/readonly/inventory-level-stock-location.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,2BAA2B,GAAuB;IAC7D,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,SAAS;YAC9B,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,cAAc;gBACnC,MAAM,EAAE,eAAe;gBACvB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,aAAa;gBACzB,KAAK,EAAE,iBAAiB;gBACxB,IAAI,EAAE;oBACJ,YAAY,EAAE,gBAAgB;iBAC/B;gBACD,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"inventory-level-stock-location.js","sourceRoot":"","sources":["../../../src/definitions/readonly/inventory-level-stock-location.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,2BAA2B,GAAuB;IAC7D,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,SAAS;YAC9B,MAAM,EAAE,gBAAgB;YACxB,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,cAAc;gBACnC,MAAM,EAAE,eAAe;gBACvB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,aAAa;gBACzB,KAAK,EAAE,iBAAiB;gBACxB,IAAI,EAAE;oBACJ,YAAY,EAAE,gBAAgB;iBAC/B;gBACD,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"line-item-adjustment-promotion.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/line-item-adjustment-promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,2BAA2B,EAAE,kBAkBzC,CAAA"}
1
+ {"version":3,"file":"line-item-adjustment-promotion.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/line-item-adjustment-promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,2BAA2B,EAAE,kBAmBzC,CAAA"}
@@ -8,6 +8,7 @@ exports.LineItemAdjustmentPromotion = {
8
8
  extends: [
9
9
  {
10
10
  serviceName: utils_1.Modules.CART,
11
+ entity: "LineItemAdjustment",
11
12
  relationship: {
12
13
  serviceName: utils_1.Modules.PROMOTION,
13
14
  entity: "Promotion",
@@ -1 +1 @@
1
- {"version":3,"file":"line-item-adjustment-promotion.js","sourceRoot":"","sources":["../../../src/definitions/readonly/line-item-adjustment-promotion.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,2BAA2B,GAAuB;IAC7D,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,SAAS;gBAC9B,MAAM,EAAE,WAAW;gBACnB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,cAAc;gBAC1B,KAAK,EAAE,WAAW;gBAClB,IAAI,EAAE;oBACJ,YAAY,EAAE,YAAY;iBAC3B;aACF;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"line-item-adjustment-promotion.js","sourceRoot":"","sources":["../../../src/definitions/readonly/line-item-adjustment-promotion.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,2BAA2B,GAAuB;IAC7D,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,IAAI;YACzB,MAAM,EAAE,oBAAoB;YAC5B,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,SAAS;gBAC9B,MAAM,EAAE,WAAW;gBACnB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,cAAc;gBAC1B,KAAK,EAAE,WAAW;gBAClB,IAAI,EAAE;oBACJ,YAAY,EAAE,YAAY;iBAC3B;aACF;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"order-customer.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/order-customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,aAAa,EAAE,kBAgC3B,CAAA"}
1
+ {"version":3,"file":"order-customer.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/order-customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,aAAa,EAAE,kBAkC3B,CAAA"}
@@ -8,6 +8,7 @@ exports.OrderCustomer = {
8
8
  extends: [
9
9
  {
10
10
  serviceName: utils_1.Modules.ORDER,
11
+ entity: "Order",
11
12
  relationship: {
12
13
  serviceName: utils_1.Modules.CUSTOMER,
13
14
  entity: "Customer",
@@ -21,6 +22,7 @@ exports.OrderCustomer = {
21
22
  },
22
23
  {
23
24
  serviceName: utils_1.Modules.CUSTOMER,
25
+ entity: "Customer",
24
26
  relationship: {
25
27
  serviceName: utils_1.Modules.ORDER,
26
28
  entity: "Order",
@@ -1 +1 @@
1
- {"version":3,"file":"order-customer.js","sourceRoot":"","sources":["../../../src/definitions/readonly/order-customer.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,aAAa,GAAuB;IAC/C,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,QAAQ;gBAC7B,MAAM,EAAE,UAAU;gBAClB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,aAAa;gBACzB,KAAK,EAAE,UAAU;gBACjB,IAAI,EAAE;oBACJ,YAAY,EAAE,WAAW;iBAC1B;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,QAAQ;YAC7B,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,KAAK;gBAC1B,MAAM,EAAE,OAAO;gBACf,UAAU,EAAE,aAAa;gBACzB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,QAAQ;gBACf,IAAI,EAAE;oBACJ,YAAY,EAAE,QAAQ;iBACvB;gBACD,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"order-customer.js","sourceRoot":"","sources":["../../../src/definitions/readonly/order-customer.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,aAAa,GAAuB;IAC/C,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,OAAO;YACf,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,QAAQ;gBAC7B,MAAM,EAAE,UAAU;gBAClB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,aAAa;gBACzB,KAAK,EAAE,UAAU;gBACjB,IAAI,EAAE;oBACJ,YAAY,EAAE,WAAW;iBAC1B;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,QAAQ;YAC7B,MAAM,EAAE,UAAU;YAClB,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,KAAK;gBAC1B,MAAM,EAAE,OAAO;gBACf,UAAU,EAAE,aAAa;gBACzB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,QAAQ;gBACf,IAAI,EAAE;oBACJ,YAAY,EAAE,QAAQ;iBACvB;gBACD,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"order-product.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/order-product.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,YAAY,EAAE,kBA6C1B,CAAA"}
1
+ {"version":3,"file":"order-product.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/order-product.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,YAAY,EAAE,kBAgD1B,CAAA"}
@@ -8,6 +8,7 @@ exports.OrderProduct = {
8
8
  extends: [
9
9
  {
10
10
  serviceName: utils_1.Modules.ORDER,
11
+ entity: "OrderLineItem",
11
12
  relationship: {
12
13
  serviceName: utils_1.Modules.PRODUCT,
13
14
  entity: "Product",
@@ -21,6 +22,7 @@ exports.OrderProduct = {
21
22
  },
22
23
  {
23
24
  serviceName: utils_1.Modules.ORDER,
25
+ entity: "OrderLineItem",
24
26
  relationship: {
25
27
  serviceName: utils_1.Modules.PRODUCT,
26
28
  entity: "ProductVariant",
@@ -34,6 +36,7 @@ exports.OrderProduct = {
34
36
  },
35
37
  {
36
38
  serviceName: utils_1.Modules.PRODUCT,
39
+ entity: "ProductVariant",
37
40
  relationship: {
38
41
  serviceName: utils_1.Modules.ORDER,
39
42
  entity: "OrderLineItem",
@@ -1 +1 @@
1
- {"version":3,"file":"order-product.js","sourceRoot":"","sources":["../../../src/definitions/readonly/order-product.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,YAAY,GAAuB;IAC9C,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,OAAO;gBAC5B,MAAM,EAAE,SAAS;gBACjB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,kBAAkB;gBAC9B,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE;oBACJ,YAAY,EAAE,UAAU;iBACzB;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,OAAO;gBAC5B,MAAM,EAAE,gBAAgB;gBACxB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,kBAAkB;gBAC9B,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE;oBACJ,YAAY,EAAE,iBAAiB;iBAChC;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,KAAK;gBAC1B,MAAM,EAAE,eAAe;gBACvB,UAAU,EAAE,YAAY;gBACxB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,aAAa;gBACpB,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE;oBACJ,YAAY,EAAE,gBAAgB;iBAC/B;aACF;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"order-product.js","sourceRoot":"","sources":["../../../src/definitions/readonly/order-product.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,YAAY,GAAuB;IAC9C,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,eAAe;YACvB,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,OAAO;gBAC5B,MAAM,EAAE,SAAS;gBACjB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,kBAAkB;gBAC9B,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE;oBACJ,YAAY,EAAE,UAAU;iBACzB;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,eAAe;YACvB,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,OAAO;gBAC5B,MAAM,EAAE,gBAAgB;gBACxB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,kBAAkB;gBAC9B,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE;oBACJ,YAAY,EAAE,iBAAiB;iBAChC;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,gBAAgB;YACxB,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,KAAK;gBAC1B,MAAM,EAAE,eAAe;gBACvB,UAAU,EAAE,YAAY;gBACxB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,aAAa;gBACpB,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE;oBACJ,YAAY,EAAE,gBAAgB;iBAC/B;aACF;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"order-region.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/order-region.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,WAAW,EAAE,kBAgCzB,CAAA"}
1
+ {"version":3,"file":"order-region.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/order-region.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,WAAW,EAAE,kBAkCzB,CAAA"}
@@ -8,6 +8,7 @@ exports.OrderRegion = {
8
8
  extends: [
9
9
  {
10
10
  serviceName: utils_1.Modules.ORDER,
11
+ entity: "Order",
11
12
  relationship: {
12
13
  serviceName: utils_1.Modules.REGION,
13
14
  entity: "Region",
@@ -21,6 +22,7 @@ exports.OrderRegion = {
21
22
  },
22
23
  {
23
24
  serviceName: utils_1.Modules.REGION,
25
+ entity: "Region",
24
26
  relationship: {
25
27
  serviceName: utils_1.Modules.ORDER,
26
28
  entity: "Order",
@@ -1 +1 @@
1
- {"version":3,"file":"order-region.js","sourceRoot":"","sources":["../../../src/definitions/readonly/order-region.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,WAAW,GAAuB;IAC7C,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,MAAM;gBAC3B,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,WAAW;gBACvB,KAAK,EAAE,QAAQ;gBACf,IAAI,EAAE;oBACJ,YAAY,EAAE,SAAS;iBACxB;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,MAAM;YAC3B,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,KAAK;gBAC1B,MAAM,EAAE,OAAO;gBACf,UAAU,EAAE,WAAW;gBACvB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,QAAQ;gBACf,IAAI,EAAE;oBACJ,YAAY,EAAE,QAAQ;iBACvB;gBACD,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"order-region.js","sourceRoot":"","sources":["../../../src/definitions/readonly/order-region.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,WAAW,GAAuB;IAC7C,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,OAAO;YACf,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,MAAM;gBAC3B,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,WAAW;gBACvB,KAAK,EAAE,QAAQ;gBACf,IAAI,EAAE;oBACJ,YAAY,EAAE,SAAS;iBACxB;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,MAAM;YAC3B,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,KAAK;gBAC1B,MAAM,EAAE,OAAO;gBACf,UAAU,EAAE,WAAW;gBACvB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,QAAQ;gBACf,IAAI,EAAE;oBACJ,YAAY,EAAE,QAAQ;iBACvB;gBACD,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"order-sales-channel.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/order-sales-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,iBAAiB,EAAE,kBAgC/B,CAAA"}
1
+ {"version":3,"file":"order-sales-channel.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/order-sales-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,iBAAiB,EAAE,kBAkC/B,CAAA"}
@@ -8,6 +8,7 @@ exports.OrderSalesChannel = {
8
8
  extends: [
9
9
  {
10
10
  serviceName: utils_1.Modules.ORDER,
11
+ entity: "Order",
11
12
  relationship: {
12
13
  serviceName: utils_1.Modules.SALES_CHANNEL,
13
14
  entity: "SalesChannel",
@@ -21,6 +22,7 @@ exports.OrderSalesChannel = {
21
22
  },
22
23
  {
23
24
  serviceName: utils_1.Modules.SALES_CHANNEL,
25
+ entity: "SalesChannel",
24
26
  relationship: {
25
27
  serviceName: utils_1.Modules.ORDER,
26
28
  entity: "Order",
@@ -1 +1 @@
1
- {"version":3,"file":"order-sales-channel.js","sourceRoot":"","sources":["../../../src/definitions/readonly/order-sales-channel.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,iBAAiB,GAAuB;IACnD,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,aAAa;gBAClC,MAAM,EAAE,cAAc;gBACtB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,kBAAkB;gBAC9B,KAAK,EAAE,eAAe;gBACtB,IAAI,EAAE;oBACJ,YAAY,EAAE,eAAe;iBAC9B;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,aAAa;YAClC,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,KAAK;gBAC1B,MAAM,EAAE,OAAO;gBACf,UAAU,EAAE,kBAAkB;gBAC9B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,QAAQ;gBACf,IAAI,EAAE;oBACJ,YAAY,EAAE,QAAQ;iBACvB;gBACD,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"order-sales-channel.js","sourceRoot":"","sources":["../../../src/definitions/readonly/order-sales-channel.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,iBAAiB,GAAuB;IACnD,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,OAAO;YACf,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,aAAa;gBAClC,MAAM,EAAE,cAAc;gBACtB,UAAU,EAAE,IAAI;gBAChB,UAAU,EAAE,kBAAkB;gBAC9B,KAAK,EAAE,eAAe;gBACtB,IAAI,EAAE;oBACJ,YAAY,EAAE,eAAe;iBAC9B;aACF;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,aAAa;YAClC,MAAM,EAAE,cAAc;YACtB,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,KAAK;gBAC1B,MAAM,EAAE,OAAO;gBACf,UAAU,EAAE,kBAAkB;gBAC9B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,QAAQ;gBACf,IAAI,EAAE;oBACJ,YAAY,EAAE,QAAQ;iBACvB;gBACD,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"store-currency.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/store-currency.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,eAAe,EAAE,kBAkB7B,CAAA"}
1
+ {"version":3,"file":"store-currency.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/store-currency.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,eAAe,EAAE,kBAmB7B,CAAA"}
@@ -8,6 +8,7 @@ exports.StoreCurrencies = {
8
8
  extends: [
9
9
  {
10
10
  serviceName: utils_1.Modules.STORE,
11
+ entity: "Store",
11
12
  relationship: {
12
13
  serviceName: utils_1.Modules.CURRENCY,
13
14
  entity: "Currency",
@@ -1 +1 @@
1
- {"version":3,"file":"store-currency.js","sourceRoot":"","sources":["../../../src/definitions/readonly/store-currency.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,eAAe,GAAuB;IACjD,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,QAAQ;gBAC7B,MAAM,EAAE,UAAU;gBAClB,UAAU,EAAE,MAAM;gBAClB,UAAU,EAAE,oCAAoC;gBAChD,KAAK,EAAE,UAAU;gBACjB,IAAI,EAAE;oBACJ,YAAY,EAAE,YAAY;iBAC3B;aACF;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"store-currency.js","sourceRoot":"","sources":["../../../src/definitions/readonly/store-currency.ts"],"names":[],"mappings":";;;AACA,qDAAmD;AAEtC,QAAA,eAAe,GAAuB;IACjD,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,KAAK;YAC1B,MAAM,EAAE,OAAO;YACf,YAAY,EAAE;gBACZ,WAAW,EAAE,eAAO,CAAC,QAAQ;gBAC7B,MAAM,EAAE,UAAU;gBAClB,UAAU,EAAE,MAAM;gBAClB,UAAU,EAAE,oCAAoC;gBAChD,KAAK,EAAE,UAAU;gBACjB,IAAI,EAAE;oBACJ,YAAY,EAAE,YAAY;iBAC3B;aACF;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"region-payment-provider.d.ts","sourceRoot":"","sources":["../../src/definitions/region-payment-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,qBAAqB,EAAE,kBAoEnC,CAAA"}
1
+ {"version":3,"file":"region-payment-provider.d.ts","sourceRoot":"","sources":["../../src/definitions/region-payment-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,qBAAqB,EAAE,kBAsEnC,CAAA"}
@@ -39,6 +39,7 @@ exports.RegionPaymentProvider = {
39
39
  extends: [
40
40
  {
41
41
  serviceName: utils_1.Modules.REGION,
42
+ entity: "Region",
42
43
  fieldAlias: {
43
44
  payment_providers: {
44
45
  path: "payment_provider_link.payment_provider",
@@ -55,6 +56,7 @@ exports.RegionPaymentProvider = {
55
56
  },
56
57
  {
57
58
  serviceName: utils_1.Modules.PAYMENT,
59
+ entity: "PaymentProvider",
58
60
  fieldAlias: {
59
61
  regions: {
60
62
  path: "region_link.region",
@@ -1 +1 @@
1
- {"version":3,"file":"region-payment-provider.js","sourceRoot":"","sources":["../../src/definitions/region-payment-provider.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,qBAAqB,GAAuB;IACvD,WAAW,EAAE,aAAK,CAAC,qBAAqB;IACxC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,yBAAyB;QACpC,QAAQ,EAAE,OAAO;KAClB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,yBAAyB,EAAE,0BAA0B,CAAC;YAC7D,MAAM,EAAE,2BAA2B;SACpC;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,qBAAqB,CAAC;IACvD,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,MAAM;YAC3B,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,WAAW;YACvB,KAAK,EAAE,QAAQ;YACf,IAAI,EAAE;gBACJ,YAAY,EAAE,SAAS;aACxB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,iBAAiB;YACzB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,qBAAqB;YACjC,KAAK,EAAE,kBAAkB;YACzB,IAAI,EAAE,EAAE,YAAY,EAAE,kBAAkB,EAAE;SAC3C;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,MAAM;YAC3B,UAAU,EAAE;gBACV,iBAAiB,EAAE;oBACjB,IAAI,EAAE,wCAAwC;oBAC9C,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,qBAAqB;gBACxC,UAAU,EAAE,WAAW;gBACvB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,uBAAuB;gBAC9B,MAAM,EAAE,IAAI;aACb;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,IAAI,EAAE,oBAAoB;oBAC1B,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,qBAAqB;gBACxC,UAAU,EAAE,qBAAqB;gBACjC,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,aAAa;gBACpB,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"region-payment-provider.js","sourceRoot":"","sources":["../../src/definitions/region-payment-provider.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,qBAAqB,GAAuB;IACvD,WAAW,EAAE,aAAK,CAAC,qBAAqB;IACxC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,yBAAyB;QACpC,QAAQ,EAAE,OAAO;KAClB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,yBAAyB,EAAE,0BAA0B,CAAC;YAC7D,MAAM,EAAE,2BAA2B;SACpC;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,qBAAqB,CAAC;IACvD,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,MAAM;YAC3B,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,WAAW;YACvB,KAAK,EAAE,QAAQ;YACf,IAAI,EAAE;gBACJ,YAAY,EAAE,SAAS;aACxB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,iBAAiB;YACzB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,qBAAqB;YACjC,KAAK,EAAE,kBAAkB;YACzB,IAAI,EAAE,EAAE,YAAY,EAAE,kBAAkB,EAAE;SAC3C;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,MAAM;YAC3B,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE;gBACV,iBAAiB,EAAE;oBACjB,IAAI,EAAE,wCAAwC;oBAC9C,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,qBAAqB;gBACxC,UAAU,EAAE,WAAW;gBACvB,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,uBAAuB;gBAC9B,MAAM,EAAE,IAAI;aACb;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,iBAAiB;YACzB,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,IAAI,EAAE,oBAAoB;oBAC1B,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,qBAAqB;gBACxC,UAAU,EAAE,qBAAqB;gBACjC,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,aAAa;gBACpB,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"sales-channel-location.d.ts","sourceRoot":"","sources":["../../src/definitions/sales-channel-location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,oBAAoB,EAAE,kBAsElC,CAAA"}
1
+ {"version":3,"file":"sales-channel-location.d.ts","sourceRoot":"","sources":["../../src/definitions/sales-channel-location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,oBAAoB,EAAE,kBAwElC,CAAA"}
@@ -41,6 +41,7 @@ exports.SalesChannelLocation = {
41
41
  extends: [
42
42
  {
43
43
  serviceName: utils_1.Modules.SALES_CHANNEL,
44
+ entity: "SalesChannel",
44
45
  fieldAlias: {
45
46
  stock_locations: {
46
47
  path: "locations_link.location",
@@ -57,6 +58,7 @@ exports.SalesChannelLocation = {
57
58
  },
58
59
  {
59
60
  serviceName: utils_1.Modules.STOCK_LOCATION,
61
+ entity: "StockLocation",
60
62
  fieldAlias: {
61
63
  sales_channels: {
62
64
  path: "sales_channels_link.sales_channel",
@@ -1 +1 @@
1
- {"version":3,"file":"sales-channel-location.js","sourceRoot":"","sources":["../../src/definitions/sales-channel-location.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,oBAAoB,GAAuB;IACtD,WAAW,EAAE,aAAK,CAAC,oBAAoB;IACvC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,8BAA8B;QACzC,QAAQ,EAAE,OAAO;KAClB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,wBAAwB,EAAE,yBAAyB,CAAC;YAC3D,MAAM,EAAE,0BAA0B;SACnC;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,mBAAmB,CAAC;IAC5D,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,aAAa;YAClC,MAAM,EAAE,cAAc;YACtB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,kBAAkB;YAC9B,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE;gBACJ,YAAY,EAAE,eAAe;aAC9B;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,cAAc;YACnC,MAAM,EAAE,eAAe;YACvB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,mBAAmB;YAC/B,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE;gBACJ,YAAY,EAAE,gBAAgB;aAC/B;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,aAAa;YAClC,UAAU,EAAE;gBACV,eAAe,EAAE;oBACf,IAAI,EAAE,yBAAyB;oBAC/B,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,oBAAoB;gBACvC,UAAU,EAAE,kBAAkB;gBAC9B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,gBAAgB;gBACvB,MAAM,EAAE,IAAI;aACb;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,cAAc;YACnC,UAAU,EAAE;gBACV,cAAc,EAAE;oBACd,IAAI,EAAE,mCAAmC;oBACzC,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,oBAAoB;gBACvC,UAAU,EAAE,mBAAmB;gBAC/B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,qBAAqB;gBAC5B,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"sales-channel-location.js","sourceRoot":"","sources":["../../src/definitions/sales-channel-location.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,oBAAoB,GAAuB;IACtD,WAAW,EAAE,aAAK,CAAC,oBAAoB;IACvC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,8BAA8B;QACzC,QAAQ,EAAE,OAAO;KAClB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,wBAAwB,EAAE,yBAAyB,CAAC;YAC3D,MAAM,EAAE,0BAA0B;SACnC;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,mBAAmB,CAAC;IAC5D,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,aAAa;YAClC,MAAM,EAAE,cAAc;YACtB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,kBAAkB;YAC9B,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE;gBACJ,YAAY,EAAE,eAAe;aAC9B;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,cAAc;YACnC,MAAM,EAAE,eAAe;YACvB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,mBAAmB;YAC/B,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE;gBACJ,YAAY,EAAE,gBAAgB;aAC/B;SACF;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,aAAa;YAClC,MAAM,EAAE,cAAc;YACtB,UAAU,EAAE;gBACV,eAAe,EAAE;oBACf,IAAI,EAAE,yBAAyB;oBAC/B,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,oBAAoB;gBACvC,UAAU,EAAE,kBAAkB;gBAC9B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,gBAAgB;gBACvB,MAAM,EAAE,IAAI;aACb;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,cAAc;YACnC,MAAM,EAAE,eAAe;YACvB,UAAU,EAAE;gBACV,cAAc,EAAE;oBACd,IAAI,EAAE,mCAAmC;oBACzC,MAAM,EAAE,IAAI;iBACb;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,oBAAoB;gBACvC,UAAU,EAAE,mBAAmB;gBAC/B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,qBAAqB;gBAC5B,MAAM,EAAE,IAAI;aACb;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"shipping-option-price-set.d.ts","sourceRoot":"","sources":["../../src/definitions/shipping-option-price-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,sBAAsB,EAAE,kBAsEpC,CAAA"}
1
+ {"version":3,"file":"shipping-option-price-set.d.ts","sourceRoot":"","sources":["../../src/definitions/shipping-option-price-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAG9D,eAAO,MAAM,sBAAsB,EAAE,kBAwEpC,CAAA"}
@@ -42,6 +42,7 @@ exports.ShippingOptionPriceSet = {
42
42
  extends: [
43
43
  {
44
44
  serviceName: utils_1.Modules.FULFILLMENT,
45
+ entity: "ShippingOption",
45
46
  fieldAlias: {
46
47
  prices: {
47
48
  path: "price_set_link.price_set.prices",
@@ -61,6 +62,7 @@ exports.ShippingOptionPriceSet = {
61
62
  },
62
63
  {
63
64
  serviceName: utils_1.Modules.PRICING,
65
+ entity: "PriceSet",
64
66
  relationship: {
65
67
  serviceName: utils_1.LINKS.ShippingOptionPriceSet,
66
68
  primaryKey: "price_set_id",
@@ -1 +1 @@
1
- {"version":3,"file":"shipping-option-price-set.js","sourceRoot":"","sources":["../../src/definitions/shipping-option-price-set.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,sBAAsB,GAAuB;IACxD,WAAW,EAAE,aAAK,CAAC,sBAAsB;IACzC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,2BAA2B;QACtC,QAAQ,EAAE,MAAM;KACjB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,2BAA2B,EAAE,4BAA4B,CAAC;YACjE,MAAM,EAAE,4BAA4B;SACrC;KACF;IACD,WAAW,EAAE,CAAC,IAAI,EAAE,oBAAoB,EAAE,cAAc,CAAC;IACzD,aAAa,EAAE;QACb;YACE,WAAW,EAAE,eAAO,CAAC,WAAW;YAChC,MAAM,EAAE,gBAAgB;YACxB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,oBAAoB;YAChC,KAAK,EAAE,iBAAiB;YACxB,IAAI,EAAE;gBACJ,YAAY,EAAE,iBAAiB;aAChC;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,cAAc;YAC1B,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE;gBACJ,YAAY,EAAE,WAAW;aAC1B;YACD,aAAa,EAAE,IAAI;SACpB;KACF;IACD,OAAO,EAAE;QACP;YACE,WAAW,EAAE,eAAO,CAAC,WAAW;YAChC,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,IAAI,EAAE,iCAAiC;oBACvC,MAAM,EAAE,IAAI;iBACb;gBACD,gBAAgB,EAAE;oBAChB,IAAI,EAAE,2CAA2C;oBACjD,sBAAsB,EAAE,CAAC,0BAA0B,CAAC;iBACrD;aACF;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,sBAAsB;gBACzC,UAAU,EAAE,oBAAoB;gBAChC,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,gBAAgB;aACxB;SACF;QACD;YACE,WAAW,EAAE,eAAO,CAAC,OAAO;YAC5B,YAAY,EAAE;gBACZ,WAAW,EAAE,aAAK,CAAC,sBAAsB;gBACzC,UAAU,EAAE,cAAc;gBAC1B,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,sBAAsB;aAC9B;YACD,UAAU,EAAE;gBACV,eAAe,EAAE,sCAAsC;aACxD;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"shipping-option-price-set.js","sourceRoot":"","sources":["../../src/definitions/shipping-option-price-set.ts"],"names":[],"mappings":";;;AACA,qDAA0D;AAE7C,QAAA,sBAAsB,GAAuB;IACxD,WAAW,EAAE,aAAK,CAAC,sBAAsB;IACzC,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE;QACd,SAAS,EAAE,2BAA2B;QACtC,QAAQ,EAAE,MAAM;KACjB;IACD,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,2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EAAE,sCAAsC;aACxD;SACF;KACF;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"generate-schema.d.ts","sourceRoot":"","sources":["../../src/utils/generate-schema.ts"],"names":[],"mappings":"AACA,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EACzB,MAAM,2BAA2B,CAAA;AASlC,wBAAgB,qBAAqB,CACnC,YAAY,EAAE,kBAAkB,EAChC,OAAO,EAAE,wBAAwB,EACjC,OAAO,EAAE,wBAAwB,EACjC,EAAE,MAAM,EAAE,GAAE;IAAE,MAAM,MAAA;CAAwB,UAmM7C"}
1
+ {"version":3,"file":"generate-schema.d.ts","sourceRoot":"","sources":["../../src/utils/generate-schema.ts"],"names":[],"mappings":"AACA,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EACzB,MAAM,2BAA2B,CAAA;AASlC,wBAAgB,qBAAqB,CACnC,YAAY,EAAE,kBAAkB,EAChC,OAAO,EAAE,wBAAwB,EACjC,OAAO,EAAE,wBAAwB,EACjC,EAAE,MAAM,EAAE,GAAE;IAAE,MAAM,MAAA;CAAwB,UAgM7C"}
@@ -19,10 +19,7 @@ function generateGraphQLSchema(joinerConfig, primary, foreign, { logger } = { lo
19
19
  if (!extendedModule) {
20
20
  throw new Error(`Module ${extend.serviceName} not found. Please verify that the module is configured and installed, also the module must be loaded before the link modules.`);
21
21
  }
22
- /* const extJoinerConfig = MedusaModule.getJoinerConfig(
23
- extend.relationship.serviceName
24
- )*/
25
- const extendedEntityName = extendedModule[extend.serviceName].__joinerConfig.linkableKeys[extend.relationship.primaryKey];
22
+ let extendedEntityName = extendedModule[extend.serviceName].__joinerConfig.linkableKeys[extend.relationship.primaryKey];
26
23
  if (!isReadOnlyLink && (!primary || !foreign || !extendedEntityName)) {
27
24
  logger.warn(`Link modules schema: No linkable key found for ${extend.relationship.primaryKey} on module ${extend.serviceName}.`);
28
25
  continue;
@@ -30,11 +27,21 @@ function generateGraphQLSchema(joinerConfig, primary, foreign, { logger } = { lo
30
27
  const fieldName = (0, utils_1.camelToSnakeCase)((0, utils_1.lowerCaseFirst)(extend.relationship.alias));
31
28
  let type = extend.relationship.isList ? `[${entityName}]` : entityName;
32
29
  if (joinerConfig?.isReadOnlyLink) {
33
- // TODO: In readonly, the relation ship of the extend should be applied on all entities in the module that have the relationshiop foregin key attribute
34
- /*type = extend.relationship.isList
35
- ? `[${extendedEntityName}]`
36
- : extendedEntityName*/
37
- continue;
30
+ // TODO: In readonly links, the relationship of the extend where entity is undefined has to be applied on all entities in the module that have the relationshiop foreing key attribute (unkown in this context)
31
+ if (!extend.entity) {
32
+ continue;
33
+ }
34
+ const rel = extend.relationship;
35
+ const extendedService = modules_sdk_1.MedusaModule.getModuleInstance(rel.serviceName);
36
+ const hasGraphqlSchema = !!extendedService[rel.serviceName].__joinerConfig.schema;
37
+ const relEntity = rel.entity
38
+ ? rel.entity
39
+ : extendedService[rel.serviceName].__joinerConfig.linkableKeys[rel.primaryKey];
40
+ if (!relEntity || !hasGraphqlSchema) {
41
+ continue;
42
+ }
43
+ type = rel.isList ? `[${relEntity}]` : relEntity;
44
+ extendedEntityName = extend.entity;
38
45
  }
39
46
  /**
40
47
  * Find the field aliases shortcut to extend the entity with it
@@ -45,19 +52,6 @@ function generateGraphQLSchema(joinerConfig, primary, foreign, { logger } = { lo
45
52
  const isList = (0, utils_1.isString)(config)
46
53
  ? extend.relationship.isList
47
54
  : config.isList ?? extend.relationship.isList;
48
- // const pathSegments = path.split(",").reverse()
49
- /*const relationshipMarkerIndex = pathSegments.findIndex((segment) => {
50
- return !!joinerConfig.relationships!.find(
51
- (relation) => relation.alias === targetEntityAlias
52
- )
53
- })
54
-
55
- if (relationshipMarkerIndex === -1) {
56
- return
57
- }*/
58
- /*const relationshipPropertyPath = pathSegments
59
- .slice(0, relationshipMarkerIndex + 1)
60
- .reverse()*/
61
55
  const targetEntityAlias = path.split(".").pop();
62
56
  const targetEntityRelation = joinerConfig.relationships?.find((relation) => relation.alias === targetEntityAlias);
63
57
  if (!targetEntityRelation) {
@@ -1 +1 @@
1
- {"version":3,"file":"generate-schema.js","sourceRoot":"","sources":["../../src/utils/generate-schema.ts"],"names":[],"mappings":";;AAaA,sDAuMC;AApND,iEAA8D;AAK9D,qDAMkC;AAElC,SAAgB,qBAAqB,CACnC,YAAgC,EAChC,OAAiC,EACjC,OAAiC,EACjC,EAAE,MAAM,KAAiB,EAAE,MAAM,EAAE,OAAO,EAAE;IAE5C,IAAI,UAAqB,CAAA;IACzB,IAAI,UAAmB,CAAA;IAEvB,MAAM,cAAc,GAAG,YAAY,CAAC,cAAc,CAAA;IAClD,IAAI,CAAC,cAAc,EAAE,CAAC;QACpB,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAA;QAErE,UAAU,GAAG,IAAA,oBAAY,EACvB,OAAO;YACL,CAAC,YAAY,CAAC,cAAc,EAAE,SAAS;gBACrC,IAAA,wBAAgB,EACd,OAAO,CAAC,WAAW,EACnB,OAAO,CAAC,UAAU,EAClB,OAAO,CAAC,WAAW,EACnB,OAAO,CAAC,UAAU,CACnB,CAAC,CACP,CAAA;IACH,CAAC;IAED,IAAI,OAAO,GAAG,EAAE,CAAA;IAEhB,KAAK,MAAM,MAAM,IAAI,YAAY,CAAC,OAAO,IAAI,EAAE,EAAE,CAAC;QAChD,MAAM,cAAc,GAAG,0BAAY,CAAC,iBAAiB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAA;QACzE,IAAI,CAAC,cAAc,EAAE,CAAC;YACpB,MAAM,IAAI,KAAK,CACb,UAAU,MAAM,CAAC,WAAW,gIAAgI,CAC7J,CAAA;QACH,CAAC;QAED;;WAEG;QAEH,MAAM,kBAAkB,GACtB,cAAc,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,cAAc,CAAC,YAAY,CAC5D,MAAM,CAAC,YAAY,CAAC,UAAU,CAC/B,CAAA;QAEH,IAAI,CAAC,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O,CAAA;AAChB,CAAC;AAED,SAAS,cAAc,CAAC,IAAI;IAC1B,MAAM,OAAO,GAAG;QACd,OAAO,EAAE,OAAO;QAChB,OAAO,EAAE,KAAK;QACd,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,KAAK;QACd,SAAS,EAAE,KAAK;QAChB,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,OAAO;QACf,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,OAAO;QAChB,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,UAAU;QACpB,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,MAAM;QACZ,UAAU,EAAE,OAAO;QACnB,KAAK,EAAE,UAAU;QACjB,SAAS,EAAE,UAAU;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,MAAM;KACd,CAAA;IAED,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,QAAQ,CAAA;AAClC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/link-modules",
3
- "version": "2.0.3-snapshot-20241108154832",
3
+ "version": "2.0.3-snapshot-20241110102209",
4
4
  "description": "Medusa Default Link Modules Package and Definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -33,8 +33,8 @@
33
33
  "test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts"
34
34
  },
35
35
  "devDependencies": {
36
- "@medusajs/framework": "2.0.3-snapshot-20241108154832",
37
- "@medusajs/test-utils": "2.0.3-snapshot-20241108154832",
36
+ "@medusajs/framework": "2.0.3-snapshot-20241110102209",
37
+ "@medusajs/test-utils": "2.0.3-snapshot-20241110102209",
38
38
  "@mikro-orm/core": "5.9.7",
39
39
  "@mikro-orm/migrations": "5.9.7",
40
40
  "@mikro-orm/postgresql": "5.9.7",
@@ -47,7 +47,7 @@
47
47
  "typescript": "^5.6.2"
48
48
  },
49
49
  "peerDependencies": {
50
- "@medusajs/framework": "2.0.3-snapshot-20241108154832",
50
+ "@medusajs/framework": "2.0.3-snapshot-20241110102209",
51
51
  "@mikro-orm/core": "5.9.7",
52
52
  "@mikro-orm/migrations": "5.9.7",
53
53
  "@mikro-orm/postgresql": "5.9.7",