@reachu/database 1.0.141 → 1.0.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/src/migrations/1701782890059-channel_user_update.ts +16 -0
- package/src/migrations/1701969845764-promote_to_qa_07_12_23.ts +48 -0
- package/dist/config/connect.d.ts +0 -2
- package/dist/config/connect.js +0 -34
- package/dist/config/connect.js.map +0 -1
- package/dist/entity/Address.d.ts +0 -9
- package/dist/entity/Address.js +0 -44
- package/dist/entity/Address.js.map +0 -1
- package/dist/entity/ApiCredential.d.ts +0 -8
- package/dist/entity/ApiCredential.js +0 -41
- package/dist/entity/ApiCredential.js.map +0 -1
- package/dist/entity/Attribute.d.ts +0 -8
- package/dist/entity/Attribute.js +0 -41
- package/dist/entity/Attribute.js.map +0 -1
- package/dist/entity/AuditedModel.d.ts +0 -4
- package/dist/entity/AuditedModel.js +0 -24
- package/dist/entity/AuditedModel.js.map +0 -1
- package/dist/entity/BankAccount.d.ts +0 -11
- package/dist/entity/BankAccount.js +0 -55
- package/dist/entity/BankAccount.js.map +0 -1
- package/dist/entity/Business.d.ts +0 -21
- package/dist/entity/Business.js +0 -83
- package/dist/entity/Business.js.map +0 -1
- package/dist/entity/BusinessProducts.d.ts +0 -6
- package/dist/entity/BusinessProducts.js +0 -32
- package/dist/entity/BusinessProducts.js.map +0 -1
- package/dist/entity/CardRegistration.d.ts +0 -10
- package/dist/entity/CardRegistration.js +0 -51
- package/dist/entity/CardRegistration.js.map +0 -1
- package/dist/entity/Category.d.ts +0 -15
- package/dist/entity/Category.js +0 -68
- package/dist/entity/Category.js.map +0 -1
- package/dist/entity/CategoryImages.d.ts +0 -12
- package/dist/entity/CategoryImages.js +0 -57
- package/dist/entity/CategoryImages.js.map +0 -1
- package/dist/entity/Channel.d.ts +0 -12
- package/dist/entity/Channel.js +0 -56
- package/dist/entity/Channel.js.map +0 -1
- package/dist/entity/ChannelGroup.d.ts +0 -15
- package/dist/entity/ChannelGroup.js +0 -77
- package/dist/entity/ChannelGroup.js.map +0 -1
- package/dist/entity/ChannelUser.d.ts +0 -26
- package/dist/entity/ChannelUser.js +0 -111
- package/dist/entity/ChannelUser.js.map +0 -1
- package/dist/entity/ChannelUserProductSync.d.ts +0 -12
- package/dist/entity/ChannelUserProductSync.js +0 -63
- package/dist/entity/ChannelUserProductSync.js.map +0 -1
- package/dist/entity/Check.d.ts +0 -5
- package/dist/entity/Check.js +0 -28
- package/dist/entity/Check.js.map +0 -1
- package/dist/entity/CheckoutMetadata.d.ts +0 -6
- package/dist/entity/CheckoutMetadata.js +0 -35
- package/dist/entity/CheckoutMetadata.js.map +0 -1
- package/dist/entity/Collection.d.ts +0 -17
- package/dist/entity/Collection.js +0 -77
- package/dist/entity/Collection.js.map +0 -1
- package/dist/entity/CollectionItem.d.ts +0 -10
- package/dist/entity/CollectionItem.js +0 -47
- package/dist/entity/CollectionItem.js.map +0 -1
- package/dist/entity/CollectionShared.d.ts +0 -11
- package/dist/entity/CollectionShared.js +0 -51
- package/dist/entity/CollectionShared.js.map +0 -1
- package/dist/entity/Connection.d.ts +0 -13
- package/dist/entity/Connection.js +0 -66
- package/dist/entity/Connection.js.map +0 -1
- package/dist/entity/Contact.d.ts +0 -9
- package/dist/entity/Contact.js +0 -44
- package/dist/entity/Contact.js.map +0 -1
- package/dist/entity/Country.d.ts +0 -7
- package/dist/entity/Country.js +0 -36
- package/dist/entity/Country.js.map +0 -1
- package/dist/entity/Courier.d.ts +0 -7
- package/dist/entity/Courier.js +0 -39
- package/dist/entity/Courier.js.map +0 -1
- package/dist/entity/Currency.d.ts +0 -7
- package/dist/entity/Currency.js +0 -39
- package/dist/entity/Currency.js.map +0 -1
- package/dist/entity/CustomProduct.d.ts +0 -22
- package/dist/entity/CustomProduct.js +0 -95
- package/dist/entity/CustomProduct.js.map +0 -1
- package/dist/entity/CustomProductImage.d.ts +0 -10
- package/dist/entity/CustomProductImage.js +0 -51
- package/dist/entity/CustomProductImage.js.map +0 -1
- package/dist/entity/CustomVariant.d.ts +0 -13
- package/dist/entity/CustomVariant.js +0 -59
- package/dist/entity/CustomVariant.js.map +0 -1
- package/dist/entity/EnvType.d.ts +0 -6
- package/dist/entity/EnvType.js +0 -35
- package/dist/entity/EnvType.js.map +0 -1
- package/dist/entity/EnvironmentConfiguration.d.ts +0 -7
- package/dist/entity/EnvironmentConfiguration.js +0 -39
- package/dist/entity/EnvironmentConfiguration.js.map +0 -1
- package/dist/entity/ExchangeRate.d.ts +0 -8
- package/dist/entity/ExchangeRate.js +0 -43
- package/dist/entity/ExchangeRate.js.map +0 -1
- package/dist/entity/ExternalRequest.d.ts +0 -12
- package/dist/entity/ExternalRequest.js +0 -55
- package/dist/entity/ExternalRequest.js.map +0 -1
- package/dist/entity/FlatRate.d.ts +0 -9
- package/dist/entity/FlatRate.js +0 -45
- package/dist/entity/FlatRate.js.map +0 -1
- package/dist/entity/FlatRateCountry.d.ts +0 -7
- package/dist/entity/FlatRateCountry.js +0 -39
- package/dist/entity/FlatRateCountry.js.map +0 -1
- package/dist/entity/Fulfillment.d.ts +0 -5
- package/dist/entity/Fulfillment.js +0 -28
- package/dist/entity/Fulfillment.js.map +0 -1
- package/dist/entity/Image.d.ts +0 -12
- package/dist/entity/Image.js +0 -58
- package/dist/entity/Image.js.map +0 -1
- package/dist/entity/ImportedProduct.d.ts +0 -18
- package/dist/entity/ImportedProduct.js +0 -80
- package/dist/entity/ImportedProduct.js.map +0 -1
- package/dist/entity/MagentoConnection.entity.d.ts +0 -14
- package/dist/entity/MagentoConnection.entity.js +0 -69
- package/dist/entity/MagentoConnection.entity.js.map +0 -1
- package/dist/entity/MetricActiveUser.d.ts +0 -8
- package/dist/entity/MetricActiveUser.js +0 -43
- package/dist/entity/MetricActiveUser.js.map +0 -1
- package/dist/entity/Notification.d.ts +0 -20
- package/dist/entity/Notification.js +0 -58
- package/dist/entity/Notification.js.map +0 -1
- package/dist/entity/Option.d.ts +0 -9
- package/dist/entity/Option.js +0 -45
- package/dist/entity/Option.js.map +0 -1
- package/dist/entity/Order.d.ts +0 -30
- package/dist/entity/Order.js +0 -110
- package/dist/entity/Order.js.map +0 -1
- package/dist/entity/OrderCustomer.d.ts +0 -17
- package/dist/entity/OrderCustomer.js +0 -76
- package/dist/entity/OrderCustomer.js.map +0 -1
- package/dist/entity/OrderItem.d.ts +0 -36
- package/dist/entity/OrderItem.js +0 -159
- package/dist/entity/OrderItem.js.map +0 -1
- package/dist/entity/OrderShipping.d.ts +0 -12
- package/dist/entity/OrderShipping.js +0 -69
- package/dist/entity/OrderShipping.js.map +0 -1
- package/dist/entity/OrderTracking.d.ts +0 -16
- package/dist/entity/OrderTracking.js +0 -73
- package/dist/entity/OrderTracking.js.map +0 -1
- package/dist/entity/Payment.d.ts +0 -19
- package/dist/entity/Payment.js +0 -85
- package/dist/entity/Payment.js.map +0 -1
- package/dist/entity/PaymentMethod.d.ts +0 -9
- package/dist/entity/PaymentMethod.js +0 -48
- package/dist/entity/PaymentMethod.js.map +0 -1
- package/dist/entity/PaymentShopify.d.ts +0 -7
- package/dist/entity/PaymentShopify.js +0 -39
- package/dist/entity/PaymentShopify.js.map +0 -1
- package/dist/entity/Permission.d.ts +0 -5
- package/dist/entity/Permission.js +0 -31
- package/dist/entity/Permission.js.map +0 -1
- package/dist/entity/Price.entity.d.ts +0 -6
- package/dist/entity/Price.entity.js +0 -33
- package/dist/entity/Price.entity.js.map +0 -1
- package/dist/entity/Product.entity.d.ts +0 -68
- package/dist/entity/Product.entity.js +0 -274
- package/dist/entity/Product.entity.js.map +0 -1
- package/dist/entity/ProductAttribute.d.ts +0 -9
- package/dist/entity/ProductAttribute.js +0 -49
- package/dist/entity/ProductAttribute.js.map +0 -1
- package/dist/entity/ProductCategory.d.ts +0 -9
- package/dist/entity/ProductCategory.js +0 -47
- package/dist/entity/ProductCategory.js.map +0 -1
- package/dist/entity/ProductDigital.d.ts +0 -29
- package/dist/entity/ProductDigital.js +0 -102
- package/dist/entity/ProductDigital.js.map +0 -1
- package/dist/entity/Request.d.ts +0 -8
- package/dist/entity/Request.js +0 -42
- package/dist/entity/Request.js.map +0 -1
- package/dist/entity/Return.d.ts +0 -8
- package/dist/entity/Return.js +0 -40
- package/dist/entity/Return.js.map +0 -1
- package/dist/entity/ReturnAddress.d.ts +0 -10
- package/dist/entity/ReturnAddress.js +0 -48
- package/dist/entity/ReturnAddress.js.map +0 -1
- package/dist/entity/Role.d.ts +0 -7
- package/dist/entity/Role.js +0 -42
- package/dist/entity/Role.js.map +0 -1
- package/dist/entity/RolePermission.d.ts +0 -8
- package/dist/entity/RolePermission.js +0 -40
- package/dist/entity/RolePermission.js.map +0 -1
- package/dist/entity/ShippingPackage.d.ts +0 -7
- package/dist/entity/ShippingPackage.js +0 -39
- package/dist/entity/ShippingPackage.js.map +0 -1
- package/dist/entity/ShopifyConnection.d.ts +0 -15
- package/dist/entity/ShopifyConnection.js +0 -71
- package/dist/entity/ShopifyConnection.js.map +0 -1
- package/dist/entity/Subcategory.d.ts +0 -9
- package/dist/entity/Subcategory.js +0 -41
- package/dist/entity/Subcategory.js.map +0 -1
- package/dist/entity/Translate.d.ts +0 -8
- package/dist/entity/Translate.js +0 -43
- package/dist/entity/Translate.js.map +0 -1
- package/dist/entity/User.d.ts +0 -90
- package/dist/entity/User.js +0 -333
- package/dist/entity/User.js.map +0 -1
- package/dist/entity/UserChannelApiKey.d.ts +0 -10
- package/dist/entity/UserChannelApiKey.js +0 -47
- package/dist/entity/UserChannelApiKey.js.map +0 -1
- package/dist/entity/UserRole.d.ts +0 -8
- package/dist/entity/UserRole.js +0 -40
- package/dist/entity/UserRole.js.map +0 -1
- package/dist/entity/UserSettings.d.ts +0 -19
- package/dist/entity/UserSettings.js +0 -94
- package/dist/entity/UserSettings.js.map +0 -1
- package/dist/entity/Variant.d.ts +0 -20
- package/dist/entity/Variant.js +0 -85
- package/dist/entity/Variant.js.map +0 -1
- package/dist/entity/Wallet.d.ts +0 -6
- package/dist/entity/Wallet.js +0 -35
- package/dist/entity/Wallet.js.map +0 -1
- package/dist/entity/WooConnection.d.ts +0 -10
- package/dist/entity/WooConnection.js +0 -52
- package/dist/entity/WooConnection.js.map +0 -1
- package/dist/entity/index.d.ts +0 -102
- package/dist/entity/index.js +0 -211
- package/dist/entity/index.js.map +0 -1
- package/dist/entity/modules/discount/Discount.d.ts +0 -18
- package/dist/entity/modules/discount/Discount.js +0 -80
- package/dist/entity/modules/discount/Discount.js.map +0 -1
- package/dist/entity/modules/discount/DiscountCart.d.ts +0 -10
- package/dist/entity/modules/discount/DiscountCart.js +0 -51
- package/dist/entity/modules/discount/DiscountCart.js.map +0 -1
- package/dist/entity/modules/discount/DiscountProduct.d.ts +0 -9
- package/dist/entity/modules/discount/DiscountProduct.js +0 -47
- package/dist/entity/modules/discount/DiscountProduct.js.map +0 -1
- package/dist/entity/modules/discount/DiscountType.d.ts +0 -8
- package/dist/entity/modules/discount/DiscountType.js +0 -41
- package/dist/entity/modules/discount/DiscountType.js.map +0 -1
- package/dist/entity/modules/shipping/ProductShipping.d.ts +0 -10
- package/dist/entity/modules/shipping/ProductShipping.js +0 -53
- package/dist/entity/modules/shipping/ProductShipping.js.map +0 -1
- package/dist/entity/modules/shipping/Shipping.d.ts +0 -17
- package/dist/entity/modules/shipping/Shipping.js +0 -75
- package/dist/entity/modules/shipping/Shipping.js.map +0 -1
- package/dist/entity/modules/shipping/ShippingCountry.d.ts +0 -12
- package/dist/entity/modules/shipping/ShippingCountry.js +0 -57
- package/dist/entity/modules/shipping/ShippingCountry.js.map +0 -1
- package/dist/entity/modules/shopcart/Cart.d.ts +0 -15
- package/dist/entity/modules/shopcart/Cart.js +0 -64
- package/dist/entity/modules/shopcart/Cart.js.map +0 -1
- package/dist/entity/modules/shopcart/CartItem.d.ts +0 -17
- package/dist/entity/modules/shopcart/CartItem.js +0 -76
- package/dist/entity/modules/shopcart/CartItem.js.map +0 -1
- package/dist/entity/modules/shopcart/Checkout.d.ts +0 -23
- package/dist/entity/modules/shopcart/Checkout.js +0 -99
- package/dist/entity/modules/shopcart/Checkout.js.map +0 -1
- package/dist/entity/modules/shopcart/CheckoutBillingAddress.d.ts +0 -18
- package/dist/entity/modules/shopcart/CheckoutBillingAddress.js +0 -84
- package/dist/entity/modules/shopcart/CheckoutBillingAddress.js.map +0 -1
- package/dist/entity/modules/shopcart/CheckoutShippingAddress.d.ts +0 -18
- package/dist/entity/modules/shopcart/CheckoutShippingAddress.js +0 -84
- package/dist/entity/modules/shopcart/CheckoutShippingAddress.js.map +0 -1
- package/dist/entity/modules/shopcart/PriceData.d.ts +0 -9
- package/dist/entity/modules/shopcart/PriceData.js +0 -48
- package/dist/entity/modules/shopcart/PriceData.js.map +0 -1
- package/dist/entity/modules/subscriptions/Plan.d.ts +0 -13
- package/dist/entity/modules/subscriptions/Plan.js +0 -61
- package/dist/entity/modules/subscriptions/Plan.js.map +0 -1
- package/dist/entity/modules/subscriptions/Subscription.d.ts +0 -14
- package/dist/entity/modules/subscriptions/Subscription.js +0 -63
- package/dist/entity/modules/subscriptions/Subscription.js.map +0 -1
- package/dist/entity/modules/subscriptions/UserCountPlan.d.ts +0 -10
- package/dist/entity/modules/subscriptions/UserCountPlan.js +0 -49
- package/dist/entity/modules/subscriptions/UserCountPlan.js.map +0 -1
- package/dist/entity/modules/templates/AuthInfo.d.ts +0 -22
- package/dist/entity/modules/templates/AuthInfo.js +0 -98
- package/dist/entity/modules/templates/AuthInfo.js.map +0 -1
- package/dist/entity/modules/templates/AuthMethod.d.ts +0 -8
- package/dist/entity/modules/templates/AuthMethod.js +0 -42
- package/dist/entity/modules/templates/AuthMethod.js.map +0 -1
- package/dist/entity/modules/templates/EndpointTemplateEcommerce.d.ts +0 -13
- package/dist/entity/modules/templates/EndpointTemplateEcommerce.js +0 -61
- package/dist/entity/modules/templates/EndpointTemplateEcommerce.js.map +0 -1
- package/dist/entity/modules/templates/TemplateEcommerce.d.ts +0 -30
- package/dist/entity/modules/templates/TemplateEcommerce.js +0 -128
- package/dist/entity/modules/templates/TemplateEcommerce.js.map +0 -1
- package/dist/entity/modules/templates/UserTemplateEcommerce.d.ts +0 -15
- package/dist/entity/modules/templates/UserTemplateEcommerce.js +0 -61
- package/dist/entity/modules/templates/UserTemplateEcommerce.js.map +0 -1
- package/dist/entity/modules/templates/WebhookTemplateEcommerce.d.ts +0 -14
- package/dist/entity/modules/templates/WebhookTemplateEcommerce.js +0 -65
- package/dist/entity/modules/templates/WebhookTemplateEcommerce.js.map +0 -1
- package/dist/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.d.ts +0 -12
- package/dist/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.js +0 -56
- package/dist/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.js.map +0 -1
- package/dist/entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrder.d.ts +0 -12
- package/dist/entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrder.js +0 -56
- package/dist/entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrder.js.map +0 -1
- package/dist/entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrderMapped.d.ts +0 -12
- package/dist/entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrderMapped.js +0 -56
- package/dist/entity/modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrderMapped.js.map +0 -1
- package/dist/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.d.ts +0 -12
- package/dist/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.js +0 -56
- package/dist/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.js.map +0 -1
- package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProduct.d.ts +0 -11
- package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProduct.js +0 -52
- package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProduct.js.map +0 -1
- package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProductMapped.d.ts +0 -11
- package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProductMapped.js +0 -52
- package/dist/entity/modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProductMapped.js.map +0 -1
- package/dist/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.d.ts +0 -12
- package/dist/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.js +0 -56
- package/dist/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.js.map +0 -1
- package/dist/entity/modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariant.d.ts +0 -12
- package/dist/entity/modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariant.js +0 -56
- package/dist/entity/modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariant.js.map +0 -1
- package/dist/entity/modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariantMapped.d.ts +0 -12
- package/dist/entity/modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariantMapped.js +0 -56
- package/dist/entity/modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariantMapped.js.map +0 -1
- package/dist/examples/app01.d.ts +0 -1
- package/dist/examples/app01.js +0 -23
- package/dist/examples/app01.js.map +0 -1
- package/dist/helpers/index.d.ts +0 -6
- package/dist/helpers/index.js +0 -33
- package/dist/helpers/index.js.map +0 -1
- package/dist/helpers/order/index.d.ts +0 -28
- package/dist/helpers/order/index.js +0 -47
- package/dist/helpers/order/index.js.map +0 -1
- package/dist/helpers/products/index.d.ts +0 -2
- package/dist/helpers/products/index.js +0 -25
- package/dist/helpers/products/index.js.map +0 -1
- package/dist/helpers/products/storage/index.d.ts +0 -2
- package/dist/helpers/products/storage/index.js +0 -25
- package/dist/helpers/products/storage/index.js.map +0 -1
- package/dist/helpers/products/storage/search.d.ts +0 -56
- package/dist/helpers/products/storage/search.js +0 -193
- package/dist/helpers/products/storage/search.js.map +0 -1
- package/dist/helpers/querys/index.d.ts +0 -2
- package/dist/helpers/querys/index.js +0 -31
- package/dist/helpers/querys/index.js.map +0 -1
- package/dist/helpers/returns/index.d.ts +0 -2
- package/dist/helpers/returns/index.js +0 -25
- package/dist/helpers/returns/index.js.map +0 -1
- package/dist/helpers/returns/storage.d.ts +0 -3
- package/dist/helpers/returns/storage.js +0 -23
- package/dist/helpers/returns/storage.js.map +0 -1
- package/dist/helpers/statistics/connections.d.ts +0 -6
- package/dist/helpers/statistics/connections.js +0 -78
- package/dist/helpers/statistics/connections.js.map +0 -1
- package/dist/helpers/statistics/index.d.ts +0 -2
- package/dist/helpers/statistics/index.js +0 -25
- package/dist/helpers/statistics/index.js.map +0 -1
- package/dist/index.d.ts +0 -7
- package/dist/index.js +0 -35
- package/dist/index.js.map +0 -1
- package/dist/interface/connectionConfig.d.ts +0 -16
- package/dist/interface/connectionConfig.js +0 -3
- package/dist/interface/connectionConfig.js.map +0 -1
- package/dist/migrations/1628474597284-InitialSchema.d.ts +0 -6
- package/dist/migrations/1628474597284-InitialSchema.js +0 -203
- package/dist/migrations/1628474597284-InitialSchema.js.map +0 -1
- package/dist/migrations/1630077596132-RemoveMangopay.d.ts +0 -6
- package/dist/migrations/1630077596132-RemoveMangopay.js +0 -53
- package/dist/migrations/1630077596132-RemoveMangopay.js.map +0 -1
- package/dist/migrations/1633444449026-MagentoIntegration.d.ts +0 -6
- package/dist/migrations/1633444449026-MagentoIntegration.js +0 -42
- package/dist/migrations/1633444449026-MagentoIntegration.js.map +0 -1
- package/dist/migrations/1634070448072-MagentoIntegrationExternalChannelOrder.d.ts +0 -6
- package/dist/migrations/1634070448072-MagentoIntegrationExternalChannelOrder.js +0 -31
- package/dist/migrations/1634070448072-MagentoIntegrationExternalChannelOrder.js.map +0 -1
- package/dist/migrations/1635811861541-SSCCOrderGenerator.d.ts +0 -6
- package/dist/migrations/1635811861541-SSCCOrderGenerator.js +0 -29
- package/dist/migrations/1635811861541-SSCCOrderGenerator.js.map +0 -1
- package/dist/migrations/1638447028594-RolesFeature.d.ts +0 -6
- package/dist/migrations/1638447028594-RolesFeature.js +0 -47
- package/dist/migrations/1638447028594-RolesFeature.js.map +0 -1
- package/dist/migrations/1638493697631-ProductCurrencyPrice.d.ts +0 -6
- package/dist/migrations/1638493697631-ProductCurrencyPrice.js +0 -35
- package/dist/migrations/1638493697631-ProductCurrencyPrice.js.map +0 -1
- package/dist/migrations/1646797095632-UpdateWooTrackingNumber.d.ts +0 -6
- package/dist/migrations/1646797095632-UpdateWooTrackingNumber.js +0 -33
- package/dist/migrations/1646797095632-UpdateWooTrackingNumber.js.map +0 -1
- package/dist/migrations/1648526519546-AddedUserSettings.d.ts +0 -6
- package/dist/migrations/1648526519546-AddedUserSettings.js +0 -37
- package/dist/migrations/1648526519546-AddedUserSettings.js.map +0 -1
- package/dist/migrations/1651206194365-Wolt.d.ts +0 -6
- package/dist/migrations/1651206194365-Wolt.js +0 -52
- package/dist/migrations/1651206194365-Wolt.js.map +0 -1
- package/dist/migrations/1663227133335-shop-cart.d.ts +0 -6
- package/dist/migrations/1663227133335-shop-cart.js +0 -62
- package/dist/migrations/1663227133335-shop-cart.js.map +0 -1
- package/dist/migrations/1664160721396-collection.d.ts +0 -6
- package/dist/migrations/1664160721396-collection.js +0 -43
- package/dist/migrations/1664160721396-collection.js.map +0 -1
- package/dist/migrations/1664222251306-update-collection.d.ts +0 -6
- package/dist/migrations/1664222251306-update-collection.js +0 -37
- package/dist/migrations/1664222251306-update-collection.js.map +0 -1
- package/dist/migrations/1665757388450-channel.d.ts +0 -6
- package/dist/migrations/1665757388450-channel.js +0 -59
- package/dist/migrations/1665757388450-channel.js.map +0 -1
- package/dist/migrations/1666098098114-prod-22-10-18.d.ts +0 -6
- package/dist/migrations/1666098098114-prod-22-10-18.js +0 -110
- package/dist/migrations/1666098098114-prod-22-10-18.js.map +0 -1
- package/dist/migrations/1666631086586-user-channel-api-key-and-currency.d.ts +0 -6
- package/dist/migrations/1666631086586-user-channel-api-key-and-currency.js +0 -39
- package/dist/migrations/1666631086586-user-channel-api-key-and-currency.js.map +0 -1
- package/dist/migrations/1666632054252-user-channel-api-key-and-currency-update.d.ts +0 -6
- package/dist/migrations/1666632054252-user-channel-api-key-and-currency-update.js +0 -35
- package/dist/migrations/1666632054252-user-channel-api-key-and-currency-update.js.map +0 -1
- package/dist/migrations/1666752877685-checkout-and-usser-settings.d.ts +0 -6
- package/dist/migrations/1666752877685-checkout-and-usser-settings.js +0 -39
- package/dist/migrations/1666752877685-checkout-and-usser-settings.js.map +0 -1
- package/dist/migrations/1666846907205-update-user-settings.d.ts +0 -6
- package/dist/migrations/1666846907205-update-user-settings.js +0 -31
- package/dist/migrations/1666846907205-update-user-settings.js.map +0 -1
- package/dist/migrations/1667259333252-prod-22-10-31.d.ts +0 -6
- package/dist/migrations/1667259333252-prod-22-10-31.js +0 -43
- package/dist/migrations/1667259333252-prod-22-10-31.js.map +0 -1
- package/dist/migrations/1667518502388-product-update.d.ts +0 -6
- package/dist/migrations/1667518502388-product-update.js +0 -31
- package/dist/migrations/1667518502388-product-update.js.map +0 -1
- package/dist/migrations/1668571948507-ExchangeRate.d.ts +0 -6
- package/dist/migrations/1668571948507-ExchangeRate.js +0 -29
- package/dist/migrations/1668571948507-ExchangeRate.js.map +0 -1
- package/dist/migrations/1668580085818-update-ExchangeRate.d.ts +0 -6
- package/dist/migrations/1668580085818-update-ExchangeRate.js +0 -31
- package/dist/migrations/1668580085818-update-ExchangeRate.js.map +0 -1
- package/dist/migrations/1669318273596-update-oder-notification.d.ts +0 -6
- package/dist/migrations/1669318273596-update-oder-notification.js +0 -33
- package/dist/migrations/1669318273596-update-oder-notification.js.map +0 -1
- package/dist/migrations/1669737769669-option.d.ts +0 -6
- package/dist/migrations/1669737769669-option.js +0 -29
- package/dist/migrations/1669737769669-option.js.map +0 -1
- package/dist/migrations/1669912111945-shipping.d.ts +0 -6
- package/dist/migrations/1669912111945-shipping.js +0 -39
- package/dist/migrations/1669912111945-shipping.js.map +0 -1
- package/dist/migrations/1670258127812-price.d.ts +0 -6
- package/dist/migrations/1670258127812-price.js +0 -31
- package/dist/migrations/1670258127812-price.js.map +0 -1
- package/dist/migrations/1670952109146-variant.d.ts +0 -6
- package/dist/migrations/1670952109146-variant.js +0 -29
- package/dist/migrations/1670952109146-variant.js.map +0 -1
- package/dist/migrations/1671409580304-order.d.ts +0 -6
- package/dist/migrations/1671409580304-order.js +0 -33
- package/dist/migrations/1671409580304-order.js.map +0 -1
- package/dist/migrations/1672239194236-user-shipping.d.ts +0 -6
- package/dist/migrations/1672239194236-user-shipping.js +0 -31
- package/dist/migrations/1672239194236-user-shipping.js.map +0 -1
- package/dist/migrations/1673628218703-promote_to_production_2023_13_01.d.ts +0 -6
- package/dist/migrations/1673628218703-promote_to_production_2023_13_01.js +0 -67
- package/dist/migrations/1673628218703-promote_to_production_2023_13_01.js.map +0 -1
- package/dist/migrations/1674016904315-exchangeRate_2023_13_01.d.ts +0 -6
- package/dist/migrations/1674016904315-exchangeRate_2023_13_01.js +0 -29
- package/dist/migrations/1674016904315-exchangeRate_2023_13_01.js.map +0 -1
- package/dist/migrations/1674743576475-promote_to_production_2023_26_01.d.ts +0 -6
- package/dist/migrations/1674743576475-promote_to_production_2023_26_01.js +0 -29
- package/dist/migrations/1674743576475-promote_to_production_2023_26_01.js.map +0 -1
- package/dist/migrations/1675452256156-task-1062.d.ts +0 -6
- package/dist/migrations/1675452256156-task-1062.js +0 -39
- package/dist/migrations/1675452256156-task-1062.js.map +0 -1
- package/dist/migrations/1676057445311-task-1062V2.d.ts +0 -6
- package/dist/migrations/1676057445311-task-1062V2.js +0 -29
- package/dist/migrations/1676057445311-task-1062V2.js.map +0 -1
- package/dist/migrations/1676060390524-task-1062V3.d.ts +0 -6
- package/dist/migrations/1676060390524-task-1062V3.js +0 -31
- package/dist/migrations/1676060390524-task-1062V3.js.map +0 -1
- package/dist/migrations/1676389900564-task-1062V4.d.ts +0 -6
- package/dist/migrations/1676389900564-task-1062V4.js +0 -29
- package/dist/migrations/1676389900564-task-1062V4.js.map +0 -1
- package/dist/migrations/1676558804200-task-1074V1.d.ts +0 -6
- package/dist/migrations/1676558804200-task-1074V1.js +0 -29
- package/dist/migrations/1676558804200-task-1074V1.js.map +0 -1
- package/dist/migrations/1676656657956-task-1084V1.d.ts +0 -6
- package/dist/migrations/1676656657956-task-1084V1.js +0 -29
- package/dist/migrations/1676656657956-task-1084V1.js.map +0 -1
- package/dist/migrations/1677706695399-promote_to_production_2023_01_03.d.ts +0 -6
- package/dist/migrations/1677706695399-promote_to_production_2023_01_03.js +0 -49
- package/dist/migrations/1677706695399-promote_to_production_2023_01_03.js.map +0 -1
- package/dist/migrations/1677763068338-task-1032V1.d.ts +0 -6
- package/dist/migrations/1677763068338-task-1032V1.js +0 -51
- package/dist/migrations/1677763068338-task-1032V1.js.map +0 -1
- package/dist/migrations/1677764464274-task-1032V2.d.ts +0 -6
- package/dist/migrations/1677764464274-task-1032V2.js +0 -33
- package/dist/migrations/1677764464274-task-1032V2.js.map +0 -1
- package/dist/migrations/1678115824175-task-1098V1.d.ts +0 -6
- package/dist/migrations/1678115824175-task-1098V1.js +0 -31
- package/dist/migrations/1678115824175-task-1098V1.js.map +0 -1
- package/dist/migrations/1679329902116-promote_to_production_2023_03_20.d.ts +0 -6
- package/dist/migrations/1679329902116-promote_to_production_2023_03_20.js +0 -61
- package/dist/migrations/1679329902116-promote_to_production_2023_03_20.js.map +0 -1
- package/dist/migrations/1680581444059-template.d.ts +0 -6
- package/dist/migrations/1680581444059-template.js +0 -111
- package/dist/migrations/1680581444059-template.js.map +0 -1
- package/dist/migrations/1681167494090-template-channel-name.d.ts +0 -6
- package/dist/migrations/1681167494090-template-channel-name.js +0 -29
- package/dist/migrations/1681167494090-template-channel-name.js.map +0 -1
- package/dist/migrations/1681170372251-template-channel-fix.d.ts +0 -6
- package/dist/migrations/1681170372251-template-channel-fix.js +0 -39
- package/dist/migrations/1681170372251-template-channel-fix.js.map +0 -1
- package/dist/migrations/1681236978678-template-channel-update.d.ts +0 -6
- package/dist/migrations/1681236978678-template-channel-update.js +0 -37
- package/dist/migrations/1681236978678-template-channel-update.js.map +0 -1
- package/dist/migrations/1681258240525-template-channel-update-2.d.ts +0 -6
- package/dist/migrations/1681258240525-template-channel-update-2.js +0 -33
- package/dist/migrations/1681258240525-template-channel-update-2.js.map +0 -1
- package/dist/migrations/1681485048240-template-ecommerce.d.ts +0 -6
- package/dist/migrations/1681485048240-template-ecommerce.js +0 -86
- package/dist/migrations/1681485048240-template-ecommerce.js.map +0 -1
- package/dist/migrations/1681485990275-template-ecommerce-two.d.ts +0 -6
- package/dist/migrations/1681485990275-template-ecommerce-two.js +0 -31
- package/dist/migrations/1681485990275-template-ecommerce-two.js.map +0 -1
- package/dist/migrations/1681741033630-Subscriptions.d.ts +0 -6
- package/dist/migrations/1681741033630-Subscriptions.js +0 -37
- package/dist/migrations/1681741033630-Subscriptions.js.map +0 -1
- package/dist/migrations/1681765500644-template-auth-fix.d.ts +0 -6
- package/dist/migrations/1681765500644-template-auth-fix.js +0 -55
- package/dist/migrations/1681765500644-template-auth-fix.js.map +0 -1
- package/dist/migrations/1681967226231-Subscriptions_v2.d.ts +0 -6
- package/dist/migrations/1681967226231-Subscriptions_v2.js +0 -31
- package/dist/migrations/1681967226231-Subscriptions_v2.js.map +0 -1
- package/dist/migrations/1682475704295-Subscriptions_v3.d.ts +0 -6
- package/dist/migrations/1682475704295-Subscriptions_v3.js +0 -42
- package/dist/migrations/1682475704295-Subscriptions_v3.js.map +0 -1
- package/dist/migrations/1682691040003-code-in-plan.d.ts +0 -6
- package/dist/migrations/1682691040003-code-in-plan.js +0 -31
- package/dist/migrations/1682691040003-code-in-plan.js.map +0 -1
- package/dist/migrations/1682702844783-promote_to_production_28_04_2023.d.ts +0 -6
- package/dist/migrations/1682702844783-promote_to_production_28_04_2023.js +0 -125
- package/dist/migrations/1682702844783-promote_to_production_28_04_2023.js.map +0 -1
- package/dist/migrations/1683077989567-update_plan.d.ts +0 -6
- package/dist/migrations/1683077989567-update_plan.js +0 -31
- package/dist/migrations/1683077989567-update_plan.js.map +0 -1
- package/dist/migrations/1683322405116-translate.d.ts +0 -6
- package/dist/migrations/1683322405116-translate.js +0 -29
- package/dist/migrations/1683322405116-translate.js.map +0 -1
- package/dist/migrations/1683656076895-promote_to_production_09_05_2023.d.ts +0 -6
- package/dist/migrations/1683656076895-promote_to_production_09_05_2023.js +0 -35
- package/dist/migrations/1683656076895-promote_to_production_09_05_2023.js.map +0 -1
- package/dist/migrations/1683904619468-connections.d.ts +0 -6
- package/dist/migrations/1683904619468-connections.js +0 -37
- package/dist/migrations/1683904619468-connections.js.map +0 -1
- package/dist/migrations/1683908691683-connections-update.d.ts +0 -6
- package/dist/migrations/1683908691683-connections-update.js +0 -39
- package/dist/migrations/1683908691683-connections-update.js.map +0 -1
- package/dist/migrations/1684176902363-connections-update-2.d.ts +0 -6
- package/dist/migrations/1684176902363-connections-update-2.js +0 -33
- package/dist/migrations/1684176902363-connections-update-2.js.map +0 -1
- package/dist/migrations/1684451330738-externalRequest.d.ts +0 -6
- package/dist/migrations/1684451330738-externalRequest.js +0 -39
- package/dist/migrations/1684451330738-externalRequest.js.map +0 -1
- package/dist/migrations/1684452127341-externalRequest_v1.d.ts +0 -6
- package/dist/migrations/1684452127341-externalRequest_v1.js +0 -33
- package/dist/migrations/1684452127341-externalRequest_v1.js.map +0 -1
- package/dist/migrations/1684452476996-externalRequest_v2.d.ts +0 -6
- package/dist/migrations/1684452476996-externalRequest_v2.js +0 -33
- package/dist/migrations/1684452476996-externalRequest_v2.js.map +0 -1
- package/dist/migrations/1684935064606-shopify-conn.d.ts +0 -6
- package/dist/migrations/1684935064606-shopify-conn.js +0 -33
- package/dist/migrations/1684935064606-shopify-conn.js.map +0 -1
- package/dist/migrations/1684975416295-shopify-conn-2.d.ts +0 -6
- package/dist/migrations/1684975416295-shopify-conn-2.js +0 -31
- package/dist/migrations/1684975416295-shopify-conn-2.js.map +0 -1
- package/dist/migrations/1685123080409-externalRequest_v3.d.ts +0 -6
- package/dist/migrations/1685123080409-externalRequest_v3.js +0 -31
- package/dist/migrations/1685123080409-externalRequest_v3.js.map +0 -1
- package/dist/migrations/1685127311585-externalRequest_v4.d.ts +0 -6
- package/dist/migrations/1685127311585-externalRequest_v4.js +0 -33
- package/dist/migrations/1685127311585-externalRequest_v4.js.map +0 -1
- package/dist/migrations/1685128263295-external-request-update.d.ts +0 -6
- package/dist/migrations/1685128263295-external-request-update.js +0 -45
- package/dist/migrations/1685128263295-external-request-update.js.map +0 -1
- package/dist/migrations/1686235086187-fix-multiple-shops.d.ts +0 -6
- package/dist/migrations/1686235086187-fix-multiple-shops.js +0 -31
- package/dist/migrations/1686235086187-fix-multiple-shops.js.map +0 -1
- package/dist/migrations/1686309865248-cart_shipping_country.d.ts +0 -6
- package/dist/migrations/1686309865248-cart_shipping_country.js +0 -33
- package/dist/migrations/1686309865248-cart_shipping_country.js.map +0 -1
- package/dist/migrations/1686837392110-cart_shipping_default.d.ts +0 -6
- package/dist/migrations/1686837392110-cart_shipping_default.js +0 -29
- package/dist/migrations/1686837392110-cart_shipping_default.js.map +0 -1
- package/dist/migrations/1687235204409-channel_user.d.ts +0 -6
- package/dist/migrations/1687235204409-channel_user.js +0 -29
- package/dist/migrations/1687235204409-channel_user.js.map +0 -1
- package/dist/migrations/1687322723851-channel_apikey.d.ts +0 -6
- package/dist/migrations/1687322723851-channel_apikey.js +0 -31
- package/dist/migrations/1687322723851-channel_apikey.js.map +0 -1
- package/dist/migrations/1687872767462-add-columns-template-endpoint.d.ts +0 -6
- package/dist/migrations/1687872767462-add-columns-template-endpoint.js +0 -43
- package/dist/migrations/1687872767462-add-columns-template-endpoint.js.map +0 -1
- package/dist/migrations/1687876131132-migration-develop.d.ts +0 -6
- package/dist/migrations/1687876131132-migration-develop.js +0 -31
- package/dist/migrations/1687876131132-migration-develop.js.map +0 -1
- package/dist/migrations/1687877455406-migration-develop_01.d.ts +0 -6
- package/dist/migrations/1687877455406-migration-develop_01.js +0 -37
- package/dist/migrations/1687877455406-migration-develop_01.js.map +0 -1
- package/dist/migrations/1687877967732-migration-pre-develop.d.ts +0 -6
- package/dist/migrations/1687877967732-migration-pre-develop.js +0 -31
- package/dist/migrations/1687877967732-migration-pre-develop.js.map +0 -1
- package/dist/migrations/1687909776321-migration-pre-develop-shopiffy-connection.d.ts +0 -6
- package/dist/migrations/1687909776321-migration-pre-develop-shopiffy-connection.js +0 -35
- package/dist/migrations/1687909776321-migration-pre-develop-shopiffy-connection.js.map +0 -1
- package/dist/migrations/1687981491374-add-info-to-auth.d.ts +0 -6
- package/dist/migrations/1687981491374-add-info-to-auth.js +0 -37
- package/dist/migrations/1687981491374-add-info-to-auth.js.map +0 -1
- package/dist/migrations/1687993176652-add-info-to-auth-2.d.ts +0 -6
- package/dist/migrations/1687993176652-add-info-to-auth-2.js +0 -35
- package/dist/migrations/1687993176652-add-info-to-auth-2.js.map +0 -1
- package/dist/migrations/1687997223199-migration-pre-develop-api-key-channel.d.ts +0 -6
- package/dist/migrations/1687997223199-migration-pre-develop-api-key-channel.js +0 -35
- package/dist/migrations/1687997223199-migration-pre-develop-api-key-channel.js.map +0 -1
- package/dist/migrations/1688049065964-add-title-endpoint.d.ts +0 -6
- package/dist/migrations/1688049065964-add-title-endpoint.js +0 -29
- package/dist/migrations/1688049065964-add-title-endpoint.js.map +0 -1
- package/dist/migrations/1688489173526-add-webhook-template.d.ts +0 -6
- package/dist/migrations/1688489173526-add-webhook-template.js +0 -31
- package/dist/migrations/1688489173526-add-webhook-template.js.map +0 -1
- package/dist/migrations/1688921300692-migration-pre-develop-user-channel-exported-product.d.ts +0 -6
- package/dist/migrations/1688921300692-migration-pre-develop-user-channel-exported-product.js +0 -31
- package/dist/migrations/1688921300692-migration-pre-develop-user-channel-exported-product.js.map +0 -1
- package/dist/migrations/1688925248106-migration-pre-develop-user-channel-exported-product_v1.d.ts +0 -6
- package/dist/migrations/1688925248106-migration-pre-develop-user-channel-exported-product_v1.js +0 -31
- package/dist/migrations/1688925248106-migration-pre-develop-user-channel-exported-product_v1.js.map +0 -1
- package/dist/migrations/1689005718747-add-active-colum-in-variant.d.ts +0 -6
- package/dist/migrations/1689005718747-add-active-colum-in-variant.js +0 -47
- package/dist/migrations/1689005718747-add-active-colum-in-variant.js.map +0 -1
- package/dist/migrations/1689020331011-add-discount.d.ts +0 -6
- package/dist/migrations/1689020331011-add-discount.js +0 -45
- package/dist/migrations/1689020331011-add-discount.js.map +0 -1
- package/dist/migrations/1689279346515-add-discount-user.d.ts +0 -6
- package/dist/migrations/1689279346515-add-discount-user.js +0 -31
- package/dist/migrations/1689279346515-add-discount-user.js.map +0 -1
- package/dist/migrations/1689345976870-promote_to_development_14_07_23.d.ts +0 -6
- package/dist/migrations/1689345976870-promote_to_development_14_07_23.js +0 -47
- package/dist/migrations/1689345976870-promote_to_development_14_07_23.js.map +0 -1
- package/dist/migrations/1689702729291-discount-applied.d.ts +0 -6
- package/dist/migrations/1689702729291-discount-applied.js +0 -29
- package/dist/migrations/1689702729291-discount-applied.js.map +0 -1
- package/dist/migrations/1689964936496-promote_to_production_21_07_23_01.d.ts +0 -6
- package/dist/migrations/1689964936496-promote_to_production_21_07_23_01.js +0 -93
- package/dist/migrations/1689964936496-promote_to_production_21_07_23_01.js.map +0 -1
- package/dist/migrations/1691662129283-woo_connect_channel_user.d.ts +0 -6
- package/dist/migrations/1691662129283-woo_connect_channel_user.js +0 -31
- package/dist/migrations/1691662129283-woo_connect_channel_user.js.map +0 -1
- package/dist/migrations/1691670038774-woo_connect_channel_user_1.d.ts +0 -6
- package/dist/migrations/1691670038774-woo_connect_channel_user_1.js +0 -33
- package/dist/migrations/1691670038774-woo_connect_channel_user_1.js.map +0 -1
- package/dist/migrations/1691670866271-woo_connect_channel_user_3.d.ts +0 -6
- package/dist/migrations/1691670866271-woo_connect_channel_user_3.js +0 -35
- package/dist/migrations/1691670866271-woo_connect_channel_user_3.js.map +0 -1
- package/dist/migrations/1691671305372-woo_connect_channel_user_4.d.ts +0 -6
- package/dist/migrations/1691671305372-woo_connect_channel_user_4.js +0 -31
- package/dist/migrations/1691671305372-woo_connect_channel_user_4.js.map +0 -1
- package/dist/migrations/1691671493692-woo_connect_channel_user_5.d.ts +0 -6
- package/dist/migrations/1691671493692-woo_connect_channel_user_5.js +0 -29
- package/dist/migrations/1691671493692-woo_connect_channel_user_5.js.map +0 -1
- package/dist/migrations/1691679304105-woo_connect_channel_user_6.d.ts +0 -6
- package/dist/migrations/1691679304105-woo_connect_channel_user_6.js +0 -31
- package/dist/migrations/1691679304105-woo_connect_channel_user_6.js.map +0 -1
- package/dist/migrations/1691764260299-promote_to_production_11_08_23.d.ts +0 -6
- package/dist/migrations/1691764260299-promote_to_production_11_08_23.js +0 -33
- package/dist/migrations/1691764260299-promote_to_production_11_08_23.js.map +0 -1
- package/dist/migrations/1693220480521-woo_connect_supplier.d.ts +0 -6
- package/dist/migrations/1693220480521-woo_connect_supplier.js +0 -29
- package/dist/migrations/1693220480521-woo_connect_supplier.js.map +0 -1
- package/dist/migrations/1693249143377-first-stem-category.d.ts +0 -6
- package/dist/migrations/1693249143377-first-stem-category.js +0 -31
- package/dist/migrations/1693249143377-first-stem-category.js.map +0 -1
- package/dist/migrations/1693335945081-first-step-category-2.d.ts +0 -6
- package/dist/migrations/1693335945081-first-step-category-2.js +0 -33
- package/dist/migrations/1693335945081-first-step-category-2.js.map +0 -1
- package/dist/migrations/1693484300635-variant_images.d.ts +0 -6
- package/dist/migrations/1693484300635-variant_images.js +0 -43
- package/dist/migrations/1693484300635-variant_images.js.map +0 -1
- package/dist/migrations/1694450850673-promote_to_production_11_09_23.d.ts +0 -6
- package/dist/migrations/1694450850673-promote_to_production_11_09_23.js +0 -51
- package/dist/migrations/1694450850673-promote_to_production_11_09_23.js.map +0 -1
- package/dist/migrations/1694451010874-promote_to_production_11_09_23__01.d.ts +0 -6
- package/dist/migrations/1694451010874-promote_to_production_11_09_23__01.js +0 -51
- package/dist/migrations/1694451010874-promote_to_production_11_09_23__01.js.map +0 -1
- package/dist/migrations/1694661125001-user-channel-and-megento-connection.d.ts +0 -6
- package/dist/migrations/1694661125001-user-channel-and-megento-connection.js +0 -37
- package/dist/migrations/1694661125001-user-channel-and-megento-connection.js.map +0 -1
- package/dist/migrations/1694787189040-flag-digital.d.ts +0 -6
- package/dist/migrations/1694787189040-flag-digital.js +0 -29
- package/dist/migrations/1694787189040-flag-digital.js.map +0 -1
- package/dist/migrations/1695122269023-imported_magento.d.ts +0 -6
- package/dist/migrations/1695122269023-imported_magento.js +0 -31
- package/dist/migrations/1695122269023-imported_magento.js.map +0 -1
- package/dist/migrations/1695123846329-imported_magento_1.d.ts +0 -6
- package/dist/migrations/1695123846329-imported_magento_1.js +0 -33
- package/dist/migrations/1695123846329-imported_magento_1.js.map +0 -1
- package/dist/migrations/1695658039275-digital-product-v-1.d.ts +0 -6
- package/dist/migrations/1695658039275-digital-product-v-1.js +0 -31
- package/dist/migrations/1695658039275-digital-product-v-1.js.map +0 -1
- package/dist/migrations/1695907880854-digital-product-v-2.d.ts +0 -6
- package/dist/migrations/1695907880854-digital-product-v-2.js +0 -29
- package/dist/migrations/1695907880854-digital-product-v-2.js.map +0 -1
- package/dist/migrations/1696260773644-digital_update.d.ts +0 -6
- package/dist/migrations/1696260773644-digital_update.js +0 -39
- package/dist/migrations/1696260773644-digital_update.js.map +0 -1
- package/dist/migrations/1696266360829-digital_update_01.d.ts +0 -6
- package/dist/migrations/1696266360829-digital_update_01.js +0 -35
- package/dist/migrations/1696266360829-digital_update_01.js.map +0 -1
- package/dist/migrations/1696268533737-digital_update_02.d.ts +0 -6
- package/dist/migrations/1696268533737-digital_update_02.js +0 -31
- package/dist/migrations/1696268533737-digital_update_02.js.map +0 -1
- package/dist/migrations/1696596436032-promote_to_production.d.ts +0 -6
- package/dist/migrations/1696596436032-promote_to_production.js +0 -51
- package/dist/migrations/1696596436032-promote_to_production.js.map +0 -1
- package/dist/migrations/1696608295188-compareat-line-items-1.d.ts +0 -6
- package/dist/migrations/1696608295188-compareat-line-items-1.js +0 -29
- package/dist/migrations/1696608295188-compareat-line-items-1.js.map +0 -1
- package/dist/migrations/1697724057621-promote_to_production.d.ts +0 -6
- package/dist/migrations/1697724057621-promote_to_production.js +0 -31
- package/dist/migrations/1697724057621-promote_to_production.js.map +0 -1
- package/dist/migrations/1697858770679-user_channel.d.ts +0 -6
- package/dist/migrations/1697858770679-user_channel.js +0 -29
- package/dist/migrations/1697858770679-user_channel.js.map +0 -1
- package/dist/migrations/1699601410949-promote_to_PRODUCTION_10_11_2023.d.ts +0 -6
- package/dist/migrations/1699601410949-promote_to_PRODUCTION_10_11_2023.js +0 -41
- package/dist/migrations/1699601410949-promote_to_PRODUCTION_10_11_2023.js.map +0 -1
- package/dist/migrations/1700068092273-generated_15_11_2023.d.ts +0 -6
- package/dist/migrations/1700068092273-generated_15_11_2023.js +0 -29
- package/dist/migrations/1700068092273-generated_15_11_2023.js.map +0 -1
- package/dist/migrations/1700574103856-subscription-response-max.d.ts +0 -6
- package/dist/migrations/1700574103856-subscription-response-max.js +0 -31
- package/dist/migrations/1700574103856-subscription-response-max.js.map +0 -1
- package/dist/migrations/1700597907034-product-digital-reachu.d.ts +0 -6
- package/dist/migrations/1700597907034-product-digital-reachu.js +0 -29
- package/dist/migrations/1700597907034-product-digital-reachu.js.map +0 -1
- package/dist/migrations/1701109844785-oda-and-wolt-deleted.d.ts +0 -6
- package/dist/migrations/1701109844785-oda-and-wolt-deleted.js +0 -31
- package/dist/migrations/1701109844785-oda-and-wolt-deleted.js.map +0 -1
- package/dist/migrations/1701763179365-promote_to_qa_05_12_2023.d.ts +0 -6
- package/dist/migrations/1701763179365-promote_to_qa_05_12_2023.js +0 -29
- package/dist/migrations/1701763179365-promote_to_qa_05_12_2023.js.map +0 -1
- package/dist/migrations/1701763272354-promote_to_prod_05_12_2023.d.ts +0 -6
- package/dist/migrations/1701763272354-promote_to_prod_05_12_2023.js +0 -39
- package/dist/migrations/1701763272354-promote_to_prod_05_12_2023.js.map +0 -1
- package/dist/migrations/1701807577519-test-step-1.d.ts +0 -6
- package/dist/migrations/1701807577519-test-step-1.js +0 -43
- package/dist/migrations/1701807577519-test-step-1.js.map +0 -1
- package/dist/migrations/1701868990386-test-v2.d.ts +0 -6
- package/dist/migrations/1701868990386-test-v2.js +0 -81
- package/dist/migrations/1701868990386-test-v2.js.map +0 -1
- package/dist/migrations/execute/index.d.ts +0 -1
- package/dist/migrations/execute/index.js +0 -9
- package/dist/migrations/execute/index.js.map +0 -1
- package/dist/migrations/index.d.ts +0 -11
- package/dist/migrations/index.js +0 -24
- package/dist/migrations/index.js.map +0 -1
- package/dist/repositories/discount/index.d.ts +0 -13
- package/dist/repositories/discount/index.js +0 -42
- package/dist/repositories/discount/index.js.map +0 -1
- package/dist/repositories/index.d.ts +0 -191
- package/dist/repositories/index.js +0 -471
- package/dist/repositories/index.js.map +0 -1
- package/dist/repositories/shipping/index.d.ts +0 -10
- package/dist/repositories/shipping/index.js +0 -35
- package/dist/repositories/shipping/index.js.map +0 -1
- package/dist/repositories/shopcart/index.d.ts +0 -19
- package/dist/repositories/shopcart/index.js +0 -56
- package/dist/repositories/shopcart/index.js.map +0 -1
- package/dist/repositories/subscriptions/index.d.ts +0 -10
- package/dist/repositories/subscriptions/index.js +0 -35
- package/dist/repositories/subscriptions/index.js.map +0 -1
- package/dist/repositories/templates/index.d.ts +0 -46
- package/dist/repositories/templates/index.js +0 -119
- package/dist/repositories/templates/index.js.map +0 -1
- package/dist/staticData/ChannelName.d.ts +0 -9
- package/dist/staticData/ChannelName.js +0 -11
- package/dist/staticData/ChannelName.js.map +0 -1
- package/dist/staticData/ConnectionType.d.ts +0 -5
- package/dist/staticData/ConnectionType.js +0 -7
- package/dist/staticData/ConnectionType.js.map +0 -1
- package/dist/staticData/Currency.d.ts +0 -9
- package/dist/staticData/Currency.js +0 -14
- package/dist/staticData/Currency.js.map +0 -1
- package/dist/staticData/OrderStatus.d.ts +0 -18
- package/dist/staticData/OrderStatus.js +0 -44
- package/dist/staticData/OrderStatus.js.map +0 -1
- package/dist/staticData/PaymentProcessor.d.ts +0 -8
- package/dist/staticData/PaymentProcessor.js +0 -12
- package/dist/staticData/PaymentProcessor.js.map +0 -1
- package/dist/staticData/ProductOrigin.d.ts +0 -10
- package/dist/staticData/ProductOrigin.js +0 -18
- package/dist/staticData/ProductOrigin.js.map +0 -1
- package/dist/staticData/TrackingProcessor.d.ts +0 -7
- package/dist/staticData/TrackingProcessor.js +0 -11
- package/dist/staticData/TrackingProcessor.js.map +0 -1
- package/dist/staticData/VippsPaymentStatus.d.ts +0 -15
- package/dist/staticData/VippsPaymentStatus.js +0 -41
- package/dist/staticData/VippsPaymentStatus.js.map +0 -1
- package/dist/staticData/index.d.ts +0 -9
- package/dist/staticData/index.js +0 -23
- package/dist/staticData/index.js.map +0 -1
- package/dist/subscribers/ProductSubscriber.d.ts +0 -8
- package/dist/subscribers/ProductSubscriber.js +0 -46
- package/dist/subscribers/ProductSubscriber.js.map +0 -1
- package/dist/subscribers/UserSubscriber.d.ts +0 -8
- package/dist/subscribers/UserSubscriber.js +0 -46
- package/dist/subscribers/UserSubscriber.js.map +0 -1
- package/dist/subscribers/index.d.ts +0 -3
- package/dist/subscribers/index.js +0 -8
- package/dist/subscribers/index.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -10521
- package/dist/utils/index.d.ts +0 -13
- package/dist/utils/index.js +0 -109
- package/dist/utils/index.js.map +0 -1
package/dist/entity/index.js
DELETED
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Role = exports.ReturnAddress = exports.Return = exports.ExternalRequest = exports.Request = exports.Product = exports.Price = exports.Permission = exports.PaymentShopify = exports.Payment = exports.OrderTracking = exports.OrderShipping = exports.OrderItem = exports.OrderCustomer = exports.Order = exports.Option = exports.Notification = exports.MetricActiveUser = exports.MagentoConnection = exports.ImportedProduct = exports.Image = exports.Fulfillment = exports.FlatRateCountry = exports.FlatRate = exports.Courier = exports.Country = exports.Contact = exports.CheckoutMetadata = exports.Check = exports.Channel = exports.Category = exports.CardRegistration = exports.BusinessProducts = exports.Business = exports.BankAccount = exports.AuditedModel = exports.ApiCredential = exports.Address = exports.ShippingCountry = exports.Shipping = exports.ProductShipping = exports.PriceData = exports.CheckoutShippingAddress = exports.CheckoutBillingAddress = exports.Checkout = exports.CartItem = exports.Cart = exports.CustomProductImage = exports.CustomProduct = exports.CustomVariant = void 0;
|
|
7
|
-
exports.ProductDigital = exports.ProductCategory = exports.DiscountType = exports.DiscountProduct = exports.DiscountCart = exports.Discount = exports.Connection = exports.Translate = exports.EnvironmentConfiguration = exports.UserCountPlan = exports.Subscription = exports.Plan = exports.ReachuSchemeConfigVariant = exports.TemplateEcommerceSchemeConfigVariantMapped = exports.TemplateEcommerceSchemeConfigVariant = exports.ReachuSchemeConfigProduct = exports.TemplateEcommerceSchemeConfigProductMapped = exports.TemplateEcommerceSchemeConfigProduct = exports.ReachuSchemeConfigOrder = exports.TemplateEcommerceSchemeConfigOrderMapped = exports.TemplateEcommerceSchemeConfigOrder = exports.UserTemplateEcommerce = exports.TemplateEcommerce = exports.WebhookTemplateEcommerce = exports.EndpointTemplateEcommerce = exports.AuthMethod = exports.AuthInfo = exports.CategoryImages = exports.ProductAttribute = exports.Attribute = exports.ExchangeRate = exports.Currency = exports.UserChannelApiKey = exports.ChannelUserProductSync = exports.ChannelUser = exports.ChannelGroup = exports.CollectionShared = exports.CollectionItem = exports.Collection = exports.PaymentMethod = exports.UserSettings = exports.WooConnection = exports.Wallet = exports.Variant = exports.UserRole = exports.User = exports.Subcategory = exports.ShopifyConnection = exports.ShippingPackage = exports.RolePermission = void 0;
|
|
8
|
-
exports.EnvType = void 0;
|
|
9
|
-
const Address_1 = __importDefault(require("./Address"));
|
|
10
|
-
exports.Address = Address_1.default;
|
|
11
|
-
const ApiCredential_1 = __importDefault(require("./ApiCredential"));
|
|
12
|
-
exports.ApiCredential = ApiCredential_1.default;
|
|
13
|
-
const AuditedModel_1 = __importDefault(require("./AuditedModel"));
|
|
14
|
-
exports.AuditedModel = AuditedModel_1.default;
|
|
15
|
-
const BankAccount_1 = __importDefault(require("./BankAccount"));
|
|
16
|
-
exports.BankAccount = BankAccount_1.default;
|
|
17
|
-
const Business_1 = __importDefault(require("./Business"));
|
|
18
|
-
exports.Business = Business_1.default;
|
|
19
|
-
const BusinessProducts_1 = __importDefault(require("./BusinessProducts"));
|
|
20
|
-
exports.BusinessProducts = BusinessProducts_1.default;
|
|
21
|
-
const CardRegistration_1 = __importDefault(require("./CardRegistration"));
|
|
22
|
-
exports.CardRegistration = CardRegistration_1.default;
|
|
23
|
-
const Category_1 = __importDefault(require("./Category"));
|
|
24
|
-
exports.Category = Category_1.default;
|
|
25
|
-
const Channel_1 = __importDefault(require("./Channel"));
|
|
26
|
-
exports.Channel = Channel_1.default;
|
|
27
|
-
const Check_1 = __importDefault(require("./Check"));
|
|
28
|
-
exports.Check = Check_1.default;
|
|
29
|
-
const CheckoutMetadata_1 = __importDefault(require("./CheckoutMetadata"));
|
|
30
|
-
exports.CheckoutMetadata = CheckoutMetadata_1.default;
|
|
31
|
-
const Contact_1 = __importDefault(require("./Contact"));
|
|
32
|
-
exports.Contact = Contact_1.default;
|
|
33
|
-
const Country_1 = __importDefault(require("./Country"));
|
|
34
|
-
exports.Country = Country_1.default;
|
|
35
|
-
const Courier_1 = __importDefault(require("./Courier"));
|
|
36
|
-
exports.Courier = Courier_1.default;
|
|
37
|
-
const FlatRate_1 = __importDefault(require("./FlatRate"));
|
|
38
|
-
exports.FlatRate = FlatRate_1.default;
|
|
39
|
-
const FlatRateCountry_1 = __importDefault(require("./FlatRateCountry"));
|
|
40
|
-
exports.FlatRateCountry = FlatRateCountry_1.default;
|
|
41
|
-
const Fulfillment_1 = __importDefault(require("./Fulfillment"));
|
|
42
|
-
exports.Fulfillment = Fulfillment_1.default;
|
|
43
|
-
const Image_1 = __importDefault(require("./Image"));
|
|
44
|
-
exports.Image = Image_1.default;
|
|
45
|
-
const ImportedProduct_1 = __importDefault(require("./ImportedProduct"));
|
|
46
|
-
exports.ImportedProduct = ImportedProduct_1.default;
|
|
47
|
-
const MagentoConnection_entity_1 = require("./MagentoConnection.entity");
|
|
48
|
-
Object.defineProperty(exports, "MagentoConnection", { enumerable: true, get: function () { return MagentoConnection_entity_1.MagentoConnection; } });
|
|
49
|
-
const MetricActiveUser_1 = __importDefault(require("./MetricActiveUser"));
|
|
50
|
-
exports.MetricActiveUser = MetricActiveUser_1.default;
|
|
51
|
-
const Notification_1 = __importDefault(require("./Notification"));
|
|
52
|
-
exports.Notification = Notification_1.default;
|
|
53
|
-
const Option_1 = __importDefault(require("./Option"));
|
|
54
|
-
exports.Option = Option_1.default;
|
|
55
|
-
const Order_1 = __importDefault(require("./Order"));
|
|
56
|
-
exports.Order = Order_1.default;
|
|
57
|
-
const OrderCustomer_1 = __importDefault(require("./OrderCustomer"));
|
|
58
|
-
exports.OrderCustomer = OrderCustomer_1.default;
|
|
59
|
-
const OrderItem_1 = __importDefault(require("./OrderItem"));
|
|
60
|
-
exports.OrderItem = OrderItem_1.default;
|
|
61
|
-
const OrderShipping_1 = __importDefault(require("./OrderShipping"));
|
|
62
|
-
exports.OrderShipping = OrderShipping_1.default;
|
|
63
|
-
const OrderTracking_1 = __importDefault(require("./OrderTracking"));
|
|
64
|
-
exports.OrderTracking = OrderTracking_1.default;
|
|
65
|
-
const Payment_1 = __importDefault(require("./Payment"));
|
|
66
|
-
exports.Payment = Payment_1.default;
|
|
67
|
-
const PaymentShopify_1 = __importDefault(require("./PaymentShopify"));
|
|
68
|
-
exports.PaymentShopify = PaymentShopify_1.default;
|
|
69
|
-
const Permission_1 = __importDefault(require("./Permission"));
|
|
70
|
-
exports.Permission = Permission_1.default;
|
|
71
|
-
const Price_entity_1 = require("./Price.entity");
|
|
72
|
-
Object.defineProperty(exports, "Price", { enumerable: true, get: function () { return Price_entity_1.Price; } });
|
|
73
|
-
const Product_entity_1 = require("./Product.entity");
|
|
74
|
-
Object.defineProperty(exports, "Product", { enumerable: true, get: function () { return Product_entity_1.Product; } });
|
|
75
|
-
const Request_1 = __importDefault(require("./Request"));
|
|
76
|
-
exports.Request = Request_1.default;
|
|
77
|
-
const ExternalRequest_1 = __importDefault(require("./ExternalRequest"));
|
|
78
|
-
exports.ExternalRequest = ExternalRequest_1.default;
|
|
79
|
-
const Return_1 = __importDefault(require("./Return"));
|
|
80
|
-
exports.Return = Return_1.default;
|
|
81
|
-
const ReturnAddress_1 = __importDefault(require("./ReturnAddress"));
|
|
82
|
-
exports.ReturnAddress = ReturnAddress_1.default;
|
|
83
|
-
const Role_1 = __importDefault(require("./Role"));
|
|
84
|
-
exports.Role = Role_1.default;
|
|
85
|
-
const RolePermission_1 = __importDefault(require("./RolePermission"));
|
|
86
|
-
exports.RolePermission = RolePermission_1.default;
|
|
87
|
-
const ShippingPackage_1 = __importDefault(require("./ShippingPackage"));
|
|
88
|
-
exports.ShippingPackage = ShippingPackage_1.default;
|
|
89
|
-
const ShopifyConnection_1 = __importDefault(require("./ShopifyConnection"));
|
|
90
|
-
exports.ShopifyConnection = ShopifyConnection_1.default;
|
|
91
|
-
const Subcategory_1 = __importDefault(require("./Subcategory"));
|
|
92
|
-
exports.Subcategory = Subcategory_1.default;
|
|
93
|
-
const User_1 = __importDefault(require("./User"));
|
|
94
|
-
exports.User = User_1.default;
|
|
95
|
-
const UserRole_1 = __importDefault(require("./UserRole"));
|
|
96
|
-
exports.UserRole = UserRole_1.default;
|
|
97
|
-
const Variant_1 = __importDefault(require("./Variant"));
|
|
98
|
-
exports.Variant = Variant_1.default;
|
|
99
|
-
const Wallet_1 = __importDefault(require("./Wallet"));
|
|
100
|
-
exports.Wallet = Wallet_1.default;
|
|
101
|
-
const WooConnection_1 = __importDefault(require("./WooConnection"));
|
|
102
|
-
exports.WooConnection = WooConnection_1.default;
|
|
103
|
-
const UserSettings_1 = __importDefault(require("./UserSettings"));
|
|
104
|
-
exports.UserSettings = UserSettings_1.default;
|
|
105
|
-
const PaymentMethod_1 = __importDefault(require("./PaymentMethod"));
|
|
106
|
-
exports.PaymentMethod = PaymentMethod_1.default;
|
|
107
|
-
const Collection_1 = __importDefault(require("./Collection"));
|
|
108
|
-
exports.Collection = Collection_1.default;
|
|
109
|
-
const CollectionItem_1 = __importDefault(require("./CollectionItem"));
|
|
110
|
-
exports.CollectionItem = CollectionItem_1.default;
|
|
111
|
-
const CollectionShared_1 = __importDefault(require("./CollectionShared"));
|
|
112
|
-
exports.CollectionShared = CollectionShared_1.default;
|
|
113
|
-
const ChannelGroup_1 = __importDefault(require("./ChannelGroup"));
|
|
114
|
-
exports.ChannelGroup = ChannelGroup_1.default;
|
|
115
|
-
const ChannelUser_1 = __importDefault(require("./ChannelUser"));
|
|
116
|
-
exports.ChannelUser = ChannelUser_1.default;
|
|
117
|
-
const ChannelUserProductSync_1 = __importDefault(require("./ChannelUserProductSync"));
|
|
118
|
-
exports.ChannelUserProductSync = ChannelUserProductSync_1.default;
|
|
119
|
-
const UserChannelApiKey_1 = __importDefault(require("./UserChannelApiKey"));
|
|
120
|
-
exports.UserChannelApiKey = UserChannelApiKey_1.default;
|
|
121
|
-
const Currency_1 = __importDefault(require("./Currency"));
|
|
122
|
-
exports.Currency = Currency_1.default;
|
|
123
|
-
const ExchangeRate_1 = __importDefault(require("./ExchangeRate"));
|
|
124
|
-
exports.ExchangeRate = ExchangeRate_1.default;
|
|
125
|
-
const EnvironmentConfiguration_1 = __importDefault(require("./EnvironmentConfiguration"));
|
|
126
|
-
exports.EnvironmentConfiguration = EnvironmentConfiguration_1.default;
|
|
127
|
-
const ProductCategory_1 = __importDefault(require("./ProductCategory"));
|
|
128
|
-
exports.ProductCategory = ProductCategory_1.default;
|
|
129
|
-
const ProductDigital_1 = __importDefault(require("./ProductDigital"));
|
|
130
|
-
exports.ProductDigital = ProductDigital_1.default;
|
|
131
|
-
const EnvType_1 = __importDefault(require("./EnvType"));
|
|
132
|
-
exports.EnvType = EnvType_1.default;
|
|
133
|
-
const Cart_1 = __importDefault(require("./modules/shopcart/Cart"));
|
|
134
|
-
exports.Cart = Cart_1.default;
|
|
135
|
-
const CartItem_1 = __importDefault(require("./modules/shopcart/CartItem"));
|
|
136
|
-
exports.CartItem = CartItem_1.default;
|
|
137
|
-
const Checkout_1 = __importDefault(require("./modules/shopcart/Checkout"));
|
|
138
|
-
exports.Checkout = Checkout_1.default;
|
|
139
|
-
const CheckoutBillingAddress_1 = require("./modules/shopcart/CheckoutBillingAddress");
|
|
140
|
-
Object.defineProperty(exports, "CheckoutBillingAddress", { enumerable: true, get: function () { return CheckoutBillingAddress_1.CheckoutBillingAddress; } });
|
|
141
|
-
const CheckoutShippingAddress_1 = require("./modules/shopcart/CheckoutShippingAddress");
|
|
142
|
-
Object.defineProperty(exports, "CheckoutShippingAddress", { enumerable: true, get: function () { return CheckoutShippingAddress_1.CheckoutShippingAddress; } });
|
|
143
|
-
const PriceData_1 = require("./modules/shopcart/PriceData");
|
|
144
|
-
Object.defineProperty(exports, "PriceData", { enumerable: true, get: function () { return PriceData_1.PriceData; } });
|
|
145
|
-
const ProductShipping_1 = __importDefault(require("./modules/shipping/ProductShipping"));
|
|
146
|
-
exports.ProductShipping = ProductShipping_1.default;
|
|
147
|
-
const Shipping_1 = __importDefault(require("./modules/shipping/Shipping"));
|
|
148
|
-
exports.Shipping = Shipping_1.default;
|
|
149
|
-
const ShippingCountry_1 = __importDefault(require("./modules/shipping/ShippingCountry"));
|
|
150
|
-
exports.ShippingCountry = ShippingCountry_1.default;
|
|
151
|
-
const CustomVariant_1 = __importDefault(require("./CustomVariant"));
|
|
152
|
-
exports.CustomVariant = CustomVariant_1.default;
|
|
153
|
-
const CustomProduct_1 = require("./CustomProduct");
|
|
154
|
-
Object.defineProperty(exports, "CustomProduct", { enumerable: true, get: function () { return CustomProduct_1.CustomProduct; } });
|
|
155
|
-
const CustomProductImage_1 = __importDefault(require("./CustomProductImage"));
|
|
156
|
-
exports.CustomProductImage = CustomProductImage_1.default;
|
|
157
|
-
const Attribute_1 = __importDefault(require("./Attribute"));
|
|
158
|
-
exports.Attribute = Attribute_1.default;
|
|
159
|
-
const ProductAttribute_1 = __importDefault(require("./ProductAttribute"));
|
|
160
|
-
exports.ProductAttribute = ProductAttribute_1.default;
|
|
161
|
-
const CategoryImages_1 = __importDefault(require("./CategoryImages"));
|
|
162
|
-
exports.CategoryImages = CategoryImages_1.default;
|
|
163
|
-
const AuthInfo_1 = __importDefault(require("./modules/templates/AuthInfo"));
|
|
164
|
-
exports.AuthInfo = AuthInfo_1.default;
|
|
165
|
-
const AuthMethod_1 = __importDefault(require("./modules/templates/AuthMethod"));
|
|
166
|
-
exports.AuthMethod = AuthMethod_1.default;
|
|
167
|
-
const EndpointTemplateEcommerce_1 = __importDefault(require("./modules/templates/EndpointTemplateEcommerce"));
|
|
168
|
-
exports.EndpointTemplateEcommerce = EndpointTemplateEcommerce_1.default;
|
|
169
|
-
const TemplateEcommerce_1 = __importDefault(require("./modules/templates/TemplateEcommerce"));
|
|
170
|
-
exports.TemplateEcommerce = TemplateEcommerce_1.default;
|
|
171
|
-
const UserTemplateEcommerce_1 = __importDefault(require("./modules/templates/UserTemplateEcommerce"));
|
|
172
|
-
exports.UserTemplateEcommerce = UserTemplateEcommerce_1.default;
|
|
173
|
-
const WebhookTemplateEcommerce_1 = __importDefault(require("./modules/templates/WebhookTemplateEcommerce"));
|
|
174
|
-
exports.WebhookTemplateEcommerce = WebhookTemplateEcommerce_1.default;
|
|
175
|
-
const ReachuSchemeConfigOrder_1 = __importDefault(require("./modules/templates/schemeOrder/ReachuSchemeConfigOrder"));
|
|
176
|
-
exports.ReachuSchemeConfigOrder = ReachuSchemeConfigOrder_1.default;
|
|
177
|
-
const TemplateEcommerceSchemeConfigOrder_1 = __importDefault(require("./modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrder"));
|
|
178
|
-
exports.TemplateEcommerceSchemeConfigOrder = TemplateEcommerceSchemeConfigOrder_1.default;
|
|
179
|
-
const TemplateEcommerceSchemeConfigOrderMapped_1 = __importDefault(require("./modules/templates/schemeOrder/TemplateEcommerceSchemeConfigOrderMapped"));
|
|
180
|
-
exports.TemplateEcommerceSchemeConfigOrderMapped = TemplateEcommerceSchemeConfigOrderMapped_1.default;
|
|
181
|
-
const ReachuSchemeConfigProduct_1 = __importDefault(require("./modules/templates/schemeProduct/ReachuSchemeConfigProduct"));
|
|
182
|
-
exports.ReachuSchemeConfigProduct = ReachuSchemeConfigProduct_1.default;
|
|
183
|
-
const TemplateEcommerceSchemeConfigProduct_1 = __importDefault(require("./modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProduct"));
|
|
184
|
-
exports.TemplateEcommerceSchemeConfigProduct = TemplateEcommerceSchemeConfigProduct_1.default;
|
|
185
|
-
const TemplateEcommerceSchemeConfigProductMapped_1 = __importDefault(require("./modules/templates/schemeProduct/TemplateEcommerceSchemeConfigProductMapped"));
|
|
186
|
-
exports.TemplateEcommerceSchemeConfigProductMapped = TemplateEcommerceSchemeConfigProductMapped_1.default;
|
|
187
|
-
const ReachuSchemeConfigVariant_1 = __importDefault(require("./modules/templates/schemeVariant/ReachuSchemeConfigVariant"));
|
|
188
|
-
exports.ReachuSchemeConfigVariant = ReachuSchemeConfigVariant_1.default;
|
|
189
|
-
const TemplateEcommerceSchemeConfigVariant_1 = __importDefault(require("./modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariant"));
|
|
190
|
-
exports.TemplateEcommerceSchemeConfigVariant = TemplateEcommerceSchemeConfigVariant_1.default;
|
|
191
|
-
const TemplateEcommerceSchemeConfigVariantMapped_1 = __importDefault(require("./modules/templates/schemeVariant/TemplateEcommerceSchemeConfigVariantMapped"));
|
|
192
|
-
exports.TemplateEcommerceSchemeConfigVariantMapped = TemplateEcommerceSchemeConfigVariantMapped_1.default;
|
|
193
|
-
const Plan_1 = __importDefault(require("./modules/subscriptions/Plan"));
|
|
194
|
-
exports.Plan = Plan_1.default;
|
|
195
|
-
const Subscription_1 = __importDefault(require("./modules/subscriptions/Subscription"));
|
|
196
|
-
exports.Subscription = Subscription_1.default;
|
|
197
|
-
const UserCountPlan_1 = __importDefault(require("./modules/subscriptions/UserCountPlan"));
|
|
198
|
-
exports.UserCountPlan = UserCountPlan_1.default;
|
|
199
|
-
const Translate_1 = __importDefault(require("./Translate"));
|
|
200
|
-
exports.Translate = Translate_1.default;
|
|
201
|
-
const Connection_1 = __importDefault(require("./Connection"));
|
|
202
|
-
exports.Connection = Connection_1.default;
|
|
203
|
-
const Discount_1 = __importDefault(require("./modules/discount/Discount"));
|
|
204
|
-
exports.Discount = Discount_1.default;
|
|
205
|
-
const DiscountCart_1 = __importDefault(require("./modules/discount/DiscountCart"));
|
|
206
|
-
exports.DiscountCart = DiscountCart_1.default;
|
|
207
|
-
const DiscountProduct_1 = __importDefault(require("./modules/discount/DiscountProduct"));
|
|
208
|
-
exports.DiscountProduct = DiscountProduct_1.default;
|
|
209
|
-
const DiscountType_1 = __importDefault(require("./modules/discount/DiscountType"));
|
|
210
|
-
exports.DiscountType = DiscountType_1.default;
|
|
211
|
-
//# sourceMappingURL=index.js.map
|
package/dist/entity/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entity/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import AuditedModel from '../../AuditedModel';
|
|
2
|
-
import DiscountType from './DiscountType';
|
|
3
|
-
import DiscountProduct from './DiscountProduct';
|
|
4
|
-
import DiscountCart from './DiscountCart';
|
|
5
|
-
import User from '../../User';
|
|
6
|
-
export default class Discount extends AuditedModel {
|
|
7
|
-
id: number;
|
|
8
|
-
deletedAt: Date;
|
|
9
|
-
discountCount?: number;
|
|
10
|
-
code: string;
|
|
11
|
-
percentage: number;
|
|
12
|
-
startDate: Date;
|
|
13
|
-
endDate: Date;
|
|
14
|
-
discountType: DiscountType;
|
|
15
|
-
discountProduct: DiscountProduct[];
|
|
16
|
-
discountCart: DiscountCart[];
|
|
17
|
-
user: User;
|
|
18
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
const typeorm_1 = require("typeorm");
|
|
16
|
-
const AuditedModel_1 = __importDefault(require("../../AuditedModel"));
|
|
17
|
-
const DiscountType_1 = __importDefault(require("./DiscountType"));
|
|
18
|
-
const DiscountProduct_1 = __importDefault(require("./DiscountProduct"));
|
|
19
|
-
const DiscountCart_1 = __importDefault(require("./DiscountCart"));
|
|
20
|
-
const User_1 = __importDefault(require("../../User"));
|
|
21
|
-
let Discount = class Discount extends AuditedModel_1.default {
|
|
22
|
-
};
|
|
23
|
-
__decorate([
|
|
24
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
25
|
-
__metadata("design:type", Number)
|
|
26
|
-
], Discount.prototype, "id", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
typeorm_1.DeleteDateColumn(),
|
|
29
|
-
__metadata("design:type", Date)
|
|
30
|
-
], Discount.prototype, "deletedAt", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
typeorm_1.Column('integer', { nullable: true }),
|
|
33
|
-
__metadata("design:type", Number)
|
|
34
|
-
], Discount.prototype, "discountCount", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
typeorm_1.Column('varchar', { nullable: false }),
|
|
37
|
-
__metadata("design:type", String)
|
|
38
|
-
], Discount.prototype, "code", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
typeorm_1.Column('integer', { nullable: false }),
|
|
41
|
-
__metadata("design:type", Number)
|
|
42
|
-
], Discount.prototype, "percentage", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
typeorm_1.Column('datetime', { nullable: false }),
|
|
45
|
-
__metadata("design:type", Date)
|
|
46
|
-
], Discount.prototype, "startDate", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
typeorm_1.Column('datetime', { nullable: false }),
|
|
49
|
-
__metadata("design:type", Date)
|
|
50
|
-
], Discount.prototype, "endDate", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
typeorm_1.ManyToOne(() => DiscountType_1.default, (discountType) => discountType.discount, {
|
|
53
|
-
onDelete: 'CASCADE',
|
|
54
|
-
nullable: false,
|
|
55
|
-
}),
|
|
56
|
-
typeorm_1.JoinColumn(),
|
|
57
|
-
__metadata("design:type", DiscountType_1.default)
|
|
58
|
-
], Discount.prototype, "discountType", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
typeorm_1.OneToMany(() => DiscountProduct_1.default, (discountProduct) => discountProduct.discount),
|
|
61
|
-
typeorm_1.JoinColumn(),
|
|
62
|
-
__metadata("design:type", Array)
|
|
63
|
-
], Discount.prototype, "discountProduct", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
typeorm_1.OneToMany(() => DiscountCart_1.default, (discountCart) => discountCart.discount),
|
|
66
|
-
typeorm_1.JoinColumn(),
|
|
67
|
-
__metadata("design:type", Array)
|
|
68
|
-
], Discount.prototype, "discountCart", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
typeorm_1.ManyToOne(() => User_1.default, (user) => user.id, {
|
|
71
|
-
nullable: true,
|
|
72
|
-
}),
|
|
73
|
-
typeorm_1.JoinColumn(),
|
|
74
|
-
__metadata("design:type", User_1.default)
|
|
75
|
-
], Discount.prototype, "user", void 0);
|
|
76
|
-
Discount = __decorate([
|
|
77
|
-
typeorm_1.Entity()
|
|
78
|
-
], Discount);
|
|
79
|
-
exports.default = Discount;
|
|
80
|
-
//# sourceMappingURL=Discount.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Discount.js","sourceRoot":"","sources":["../../../../src/entity/modules/discount/Discount.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAQiB;AACjB,sEAA8C;AAC9C,kEAA0C;AAC1C,wEAAgD;AAChD,kEAA0C;AAC1C,sDAA8B;AAG9B,IAAqB,QAAQ,GAA7B,MAAqB,QAAS,SAAQ,sBAAY;CA0CjD,CAAA;AAxCC;IADC,gCAAsB,EAAE;;oCACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;2CAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACf;AAGvB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;sCAC1B;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;4CACpB;AAGnB;IADC,gBAAM,CAAC,UAAU,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;8BAC7B,IAAI;2CAAC;AAGhB;IADC,gBAAM,CAAC,UAAU,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;8BAC/B,IAAI;yCAAC;AAOd;IALC,mBAAS,CAAC,GAAG,EAAE,CAAC,sBAAY,EAAE,CAAC,YAA0B,EAAE,EAAE,CAAC,YAAY,CAAC,QAAQ,EAAE;QACpF,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,oBAAU,EAAE;8BACC,sBAAY;8CAAC;AAI3B;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,yBAAe,EAAE,CAAC,eAAgC,EAAE,EAAE,CAAC,eAAe,CAAC,QAAQ,CAAC;IAChG,oBAAU,EAAE;;iDACsB;AAInC;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,sBAAY,EAAE,CAAC,YAA0B,EAAE,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC;IACpF,oBAAU,EAAE;;8CACgB;AAM7B;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAU,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE;QAC9C,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,oBAAU,EAAE;8BACP,cAAI;sCAAC;AAzCQ,QAAQ;IAD5B,gBAAM,EAAE;GACY,QAAQ,CA0C5B;kBA1CoB,QAAQ"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import AuditedModel from '../../AuditedModel';
|
|
2
|
-
import Discount from './Discount';
|
|
3
|
-
import Cart from '../../modules/shopcart/Cart';
|
|
4
|
-
export default class DiscountCart extends AuditedModel {
|
|
5
|
-
id: number;
|
|
6
|
-
deletedAt: Date;
|
|
7
|
-
discount: Discount;
|
|
8
|
-
cart: Cart;
|
|
9
|
-
applied: boolean;
|
|
10
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
const typeorm_1 = require("typeorm");
|
|
16
|
-
const AuditedModel_1 = __importDefault(require("../../AuditedModel"));
|
|
17
|
-
const Discount_1 = __importDefault(require("./Discount"));
|
|
18
|
-
const Cart_1 = __importDefault(require("../../modules/shopcart/Cart"));
|
|
19
|
-
let DiscountCart = class DiscountCart extends AuditedModel_1.default {
|
|
20
|
-
};
|
|
21
|
-
__decorate([
|
|
22
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], DiscountCart.prototype, "id", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
typeorm_1.DeleteDateColumn(),
|
|
27
|
-
__metadata("design:type", Date)
|
|
28
|
-
], DiscountCart.prototype, "deletedAt", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
typeorm_1.ManyToOne(() => Discount_1.default, (discount) => discount.id, {
|
|
31
|
-
nullable: false,
|
|
32
|
-
}),
|
|
33
|
-
typeorm_1.JoinColumn(),
|
|
34
|
-
__metadata("design:type", Discount_1.default)
|
|
35
|
-
], DiscountCart.prototype, "discount", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
typeorm_1.ManyToOne(() => Cart_1.default, (cart) => cart.id, {
|
|
38
|
-
nullable: false,
|
|
39
|
-
}),
|
|
40
|
-
typeorm_1.JoinColumn(),
|
|
41
|
-
__metadata("design:type", Cart_1.default)
|
|
42
|
-
], DiscountCart.prototype, "cart", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
typeorm_1.Column('boolean', { default: false }),
|
|
45
|
-
__metadata("design:type", Boolean)
|
|
46
|
-
], DiscountCart.prototype, "applied", void 0);
|
|
47
|
-
DiscountCart = __decorate([
|
|
48
|
-
typeorm_1.Entity()
|
|
49
|
-
], DiscountCart);
|
|
50
|
-
exports.default = DiscountCart;
|
|
51
|
-
//# sourceMappingURL=DiscountCart.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DiscountCart.js","sourceRoot":"","sources":["../../../../src/entity/modules/discount/DiscountCart.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAOiB;AACjB,sEAA8C;AAC9C,0DAAkC;AAClC,uEAA+C;AAG/C,IAAqB,YAAY,GAAjC,MAAqB,YAAa,SAAQ,sBAAY;CAqBrD,CAAA;AAnBC;IADC,gCAAsB,EAAE;;wCACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;+CAAC;AAMhB;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,kBAAQ,EAAE,CAAC,QAAkB,EAAE,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;QAC9D,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,oBAAU,EAAE;8BACH,kBAAQ;8CAAC;AAMnB;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAU,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE;QAC9C,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,oBAAU,EAAE;8BACP,cAAI;0CAAC;AAGX;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;6CACrB;AApBE,YAAY;IADhC,gBAAM,EAAE;GACY,YAAY,CAqBhC;kBArBoB,YAAY"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import AuditedModel from '../../AuditedModel';
|
|
2
|
-
import Discount from './Discount';
|
|
3
|
-
import { Product } from '../../Product.entity';
|
|
4
|
-
export default class DiscountProduct extends AuditedModel {
|
|
5
|
-
id: number;
|
|
6
|
-
deletedAt: Date;
|
|
7
|
-
product: Product;
|
|
8
|
-
discount: Discount;
|
|
9
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
const typeorm_1 = require("typeorm");
|
|
16
|
-
const AuditedModel_1 = __importDefault(require("../../AuditedModel"));
|
|
17
|
-
const Discount_1 = __importDefault(require("./Discount"));
|
|
18
|
-
const Product_entity_1 = require("../../Product.entity");
|
|
19
|
-
let DiscountProduct = class DiscountProduct extends AuditedModel_1.default {
|
|
20
|
-
};
|
|
21
|
-
__decorate([
|
|
22
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], DiscountProduct.prototype, "id", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
typeorm_1.DeleteDateColumn(),
|
|
27
|
-
__metadata("design:type", Date)
|
|
28
|
-
], DiscountProduct.prototype, "deletedAt", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
typeorm_1.ManyToOne(() => Product_entity_1.Product, (product) => product.id, {
|
|
31
|
-
nullable: false,
|
|
32
|
-
}),
|
|
33
|
-
typeorm_1.JoinColumn(),
|
|
34
|
-
__metadata("design:type", Product_entity_1.Product)
|
|
35
|
-
], DiscountProduct.prototype, "product", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
typeorm_1.ManyToOne(() => Discount_1.default, (discount) => discount.id, {
|
|
38
|
-
nullable: false,
|
|
39
|
-
}),
|
|
40
|
-
typeorm_1.JoinColumn(),
|
|
41
|
-
__metadata("design:type", Discount_1.default)
|
|
42
|
-
], DiscountProduct.prototype, "discount", void 0);
|
|
43
|
-
DiscountProduct = __decorate([
|
|
44
|
-
typeorm_1.Entity()
|
|
45
|
-
], DiscountProduct);
|
|
46
|
-
exports.default = DiscountProduct;
|
|
47
|
-
//# sourceMappingURL=DiscountProduct.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DiscountProduct.js","sourceRoot":"","sources":["../../../../src/entity/modules/discount/DiscountProduct.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAAkG;AAClG,sEAA8C;AAC9C,0DAAkC;AAClC,yDAA+C;AAG/C,IAAqB,eAAe,GAApC,MAAqB,eAAgB,SAAQ,sBAAY;CAkBxD,CAAA;AAhBC;IADC,gCAAsB,EAAE;;2CACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;kDAAC;AAMhB;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,CAAC,OAAgB,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;QAC1D,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,oBAAU,EAAE;8BACJ,wBAAO;gDAAC;AAMjB;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,kBAAQ,EAAE,CAAC,QAAkB,EAAE,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;QAC9D,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,oBAAU,EAAE;8BACH,kBAAQ;iDAAC;AAjBA,eAAe;IADnC,gBAAM,EAAE;GACY,eAAe,CAkBnC;kBAlBoB,eAAe"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
const typeorm_1 = require("typeorm");
|
|
16
|
-
const AuditedModel_1 = __importDefault(require("../../AuditedModel"));
|
|
17
|
-
const Discount_1 = __importDefault(require("./Discount"));
|
|
18
|
-
let DiscountType = class DiscountType extends AuditedModel_1.default {
|
|
19
|
-
};
|
|
20
|
-
__decorate([
|
|
21
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
22
|
-
__metadata("design:type", Number)
|
|
23
|
-
], DiscountType.prototype, "id", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
typeorm_1.DeleteDateColumn(),
|
|
26
|
-
__metadata("design:type", Date)
|
|
27
|
-
], DiscountType.prototype, "deletedAt", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
typeorm_1.Column('varchar', { nullable: false }),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], DiscountType.prototype, "type", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
typeorm_1.OneToMany(() => Discount_1.default, (discount) => discount.discountType),
|
|
34
|
-
typeorm_1.JoinColumn(),
|
|
35
|
-
__metadata("design:type", Array)
|
|
36
|
-
], DiscountType.prototype, "discount", void 0);
|
|
37
|
-
DiscountType = __decorate([
|
|
38
|
-
typeorm_1.Entity()
|
|
39
|
-
], DiscountType);
|
|
40
|
-
exports.default = DiscountType;
|
|
41
|
-
//# sourceMappingURL=DiscountType.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DiscountType.js","sourceRoot":"","sources":["../../../../src/entity/modules/discount/DiscountType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAOiB;AACjB,sEAA8C;AAC9C,0DAAkC;AAGlC,IAAqB,YAAY,GAAjC,MAAqB,YAAa,SAAQ,sBAAY;CAarD,CAAA;AAXC;IADC,gCAAsB,EAAE;;wCACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;+CAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;0CAC1B;AAIb;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,kBAAQ,EAAE,CAAC,QAAkB,EAAE,EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC;IACxE,oBAAU,EAAE;;8CACQ;AAZF,YAAY;IADhC,gBAAM,EAAE;GACY,YAAY,CAahC;kBAboB,YAAY"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Product } from '../../Product.entity';
|
|
2
|
-
import AuditedModel from '../../AuditedModel';
|
|
3
|
-
import Shipping from './Shipping';
|
|
4
|
-
export default class ProductShipping extends AuditedModel {
|
|
5
|
-
id: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
deletedAt: Date;
|
|
8
|
-
shipping: Shipping;
|
|
9
|
-
product: Product;
|
|
10
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
const Product_entity_1 = require("../../Product.entity");
|
|
16
|
-
const typeorm_1 = require("typeorm");
|
|
17
|
-
const AuditedModel_1 = __importDefault(require("../../AuditedModel"));
|
|
18
|
-
const Shipping_1 = __importDefault(require("./Shipping"));
|
|
19
|
-
let ProductShipping = class ProductShipping extends AuditedModel_1.default {
|
|
20
|
-
};
|
|
21
|
-
__decorate([
|
|
22
|
-
typeorm_1.PrimaryGeneratedColumn('uuid'),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], ProductShipping.prototype, "id", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
typeorm_1.Column('varchar', { nullable: true }),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], ProductShipping.prototype, "description", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
typeorm_1.DeleteDateColumn(),
|
|
31
|
-
__metadata("design:type", Date)
|
|
32
|
-
], ProductShipping.prototype, "deletedAt", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
typeorm_1.ManyToOne(() => Shipping_1.default, (shipping) => shipping.shippingCountry, {
|
|
35
|
-
eager: true,
|
|
36
|
-
onDelete: 'CASCADE',
|
|
37
|
-
}),
|
|
38
|
-
typeorm_1.JoinColumn(),
|
|
39
|
-
__metadata("design:type", Shipping_1.default)
|
|
40
|
-
], ProductShipping.prototype, "shipping", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
typeorm_1.ManyToOne(() => Product_entity_1.Product, (product) => product.productShipping, {
|
|
43
|
-
eager: true,
|
|
44
|
-
onDelete: 'CASCADE',
|
|
45
|
-
}),
|
|
46
|
-
typeorm_1.JoinColumn(),
|
|
47
|
-
__metadata("design:type", Product_entity_1.Product)
|
|
48
|
-
], ProductShipping.prototype, "product", void 0);
|
|
49
|
-
ProductShipping = __decorate([
|
|
50
|
-
typeorm_1.Entity()
|
|
51
|
-
], ProductShipping);
|
|
52
|
-
exports.default = ProductShipping;
|
|
53
|
-
//# sourceMappingURL=ProductShipping.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductShipping.js","sourceRoot":"","sources":["../../../../src/entity/modules/shipping/ProductShipping.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,yDAA+C;AAC/C,qCAOiB;AACjB,sEAA8C;AAC9C,0DAAkC;AAGlC,IAAqB,eAAe,GAApC,MAAqB,eAAgB,SAAQ,sBAAY;CAuBxD,CAAA;AArBC;IADC,gCAAsB,CAAC,MAAM,CAAC;;2CACpB;AAGX;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACjB;AAGrB;IADC,0BAAgB,EAAE;8BACR,IAAI;kDAAC;AAOhB;IALC,mBAAS,CAAC,GAAG,EAAE,CAAC,kBAAQ,EAAE,CAAC,QAAkB,EAAE,EAAE,CAAC,QAAQ,CAAC,eAAe,EAAE;QAC3E,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,oBAAU,EAAE;8BACH,kBAAQ;iDAAC;AAOnB;IALC,mBAAS,CAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,CAAC,OAAgB,EAAE,EAAE,CAAC,OAAO,CAAC,eAAe,EAAE;QACvE,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,oBAAU,EAAE;8BACJ,wBAAO;gDAAC;AAtBE,eAAe;IADnC,gBAAM,EAAE;GACY,eAAe,CAuBnC;kBAvBoB,eAAe"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import AuditedModel from '../../AuditedModel';
|
|
2
|
-
import ShippingCountry from './ShippingCountry';
|
|
3
|
-
import User from '../../User';
|
|
4
|
-
import CartItem from '../shopcart/CartItem';
|
|
5
|
-
export default class Shipping extends AuditedModel {
|
|
6
|
-
id: string;
|
|
7
|
-
amount?: number;
|
|
8
|
-
customPriceEnabled: boolean;
|
|
9
|
-
name?: string;
|
|
10
|
-
description?: string;
|
|
11
|
-
deletedAt: Date;
|
|
12
|
-
currencyCode?: string;
|
|
13
|
-
shippingCountry: ShippingCountry[];
|
|
14
|
-
user: User;
|
|
15
|
-
default: boolean;
|
|
16
|
-
cartItem: CartItem[];
|
|
17
|
-
}
|