@reachu/database 1.0.11 → 1.0.13
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/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 -13
- package/dist/entity/Category.js +0 -58
- 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 -13
- package/dist/entity/ChannelUser.js +0 -59
- 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 -16
- package/dist/entity/Collection.js +0 -73
- 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/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/ExchangeRate.d.ts +0 -8
- package/dist/entity/ExchangeRate.js +0 -43
- package/dist/entity/ExchangeRate.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 -10
- package/dist/entity/Image.js +0 -49
- package/dist/entity/Image.js.map +0 -1
- package/dist/entity/ImportedProduct.d.ts +0 -14
- package/dist/entity/ImportedProduct.js +0 -66
- package/dist/entity/ImportedProduct.js.map +0 -1
- package/dist/entity/MagentoConnection.entity.d.ts +0 -13
- package/dist/entity/MagentoConnection.entity.js +0 -65
- 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 -29
- package/dist/entity/Order.js +0 -106
- 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 -5
- package/dist/entity/Price.entity.js +0 -29
- package/dist/entity/Price.entity.js.map +0 -1
- package/dist/entity/Product.entity.d.ts +0 -65
- package/dist/entity/Product.entity.js +0 -262
- 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/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 -13
- package/dist/entity/ShopifyConnection.js +0 -65
- 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/User.d.ts +0 -87
- package/dist/entity/User.js +0 -321
- 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 -12
- package/dist/entity/UserSettings.js +0 -54
- package/dist/entity/UserSettings.js.map +0 -1
- package/dist/entity/UserTokenWolt.d.ts +0 -8
- package/dist/entity/UserTokenWolt.js +0 -41
- package/dist/entity/UserTokenWolt.js.map +0 -1
- package/dist/entity/Variant.d.ts +0 -17
- package/dist/entity/Variant.js +0 -75
- 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 -9
- package/dist/entity/WooConnection.js +0 -48
- package/dist/entity/WooConnection.js.map +0 -1
- package/dist/entity/index.d.ts +0 -74
- package/dist/entity/index.js +0 -154
- package/dist/entity/index.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 -10
- package/dist/entity/modules/shipping/ShippingCountry.js +0 -52
- package/dist/entity/modules/shipping/ShippingCountry.js.map +0 -1
- package/dist/entity/modules/shopcart/Cart.d.ts +0 -14
- package/dist/entity/modules/shopcart/Cart.js +0 -60
- package/dist/entity/modules/shopcart/Cart.js.map +0 -1
- package/dist/entity/modules/shopcart/CartItem.d.ts +0 -15
- package/dist/entity/modules/shopcart/CartItem.js +0 -66
- 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 -8
- package/dist/entity/modules/shopcart/PriceData.js +0 -44
- package/dist/entity/modules/shopcart/PriceData.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 -5
- package/dist/helpers/index.js +0 -31
- 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 -53
- package/dist/helpers/products/storage/search.js +0 -181
- package/dist/helpers/products/storage/search.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/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/index.d.ts +0 -167
- package/dist/repositories/index.js +0 -404
- 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/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 -8828
- package/dist/utils/index.d.ts +0 -13
- package/dist/utils/index.js +0 -109
- package/dist/utils/index.js.map +0 -1
|
@@ -1,49 +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 Attribute_1 = __importDefault(require("./Attribute"));
|
|
17
|
-
const AuditedModel_1 = __importDefault(require("./AuditedModel"));
|
|
18
|
-
const Product_entity_1 = require("./Product.entity");
|
|
19
|
-
let ProductAttribute = class ProductAttribute extends AuditedModel_1.default {
|
|
20
|
-
};
|
|
21
|
-
__decorate([
|
|
22
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], ProductAttribute.prototype, "id", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
typeorm_1.DeleteDateColumn(),
|
|
27
|
-
__metadata("design:type", Date)
|
|
28
|
-
], ProductAttribute.prototype, "deletedAt", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
typeorm_1.ManyToOne(() => Attribute_1.default, (attribute) => attribute.productAttribute, {
|
|
31
|
-
eager: true,
|
|
32
|
-
onDelete: 'CASCADE',
|
|
33
|
-
}),
|
|
34
|
-
typeorm_1.JoinColumn(),
|
|
35
|
-
__metadata("design:type", Attribute_1.default)
|
|
36
|
-
], ProductAttribute.prototype, "attribute", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
typeorm_1.ManyToOne(() => Product_entity_1.Product, (product) => product.productAttribute, {
|
|
39
|
-
eager: true,
|
|
40
|
-
onDelete: 'CASCADE',
|
|
41
|
-
}),
|
|
42
|
-
typeorm_1.JoinColumn(),
|
|
43
|
-
__metadata("design:type", Product_entity_1.Product)
|
|
44
|
-
], ProductAttribute.prototype, "product", void 0);
|
|
45
|
-
ProductAttribute = __decorate([
|
|
46
|
-
typeorm_1.Entity()
|
|
47
|
-
], ProductAttribute);
|
|
48
|
-
exports.default = ProductAttribute;
|
|
49
|
-
//# sourceMappingURL=ProductAttribute.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductAttribute.js","sourceRoot":"","sources":["../../src/entity/ProductAttribute.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAAkG;AAClG,4DAAoC;AACpC,kEAA0C;AAC1C,qDAA2C;AAG3C,IAAqB,gBAAgB,GAArC,MAAqB,gBAAiB,SAAQ,sBAAY;CAoBzD,CAAA;AAlBC;IADC,gCAAsB,EAAE;;4CACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;mDAAC;AAOhB;IALC,mBAAS,CAAC,GAAG,EAAE,CAAC,mBAAS,EAAE,CAAC,SAAoB,EAAE,EAAE,CAAC,SAAS,CAAC,gBAAgB,EAAE;QAChF,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,oBAAU,EAAE;8BACF,mBAAS;mDAAC;AAOrB;IALC,mBAAS,CAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,CAAC,OAAgB,EAAE,EAAE,CAAC,OAAO,CAAC,gBAAgB,EAAE;QACxE,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,oBAAU,EAAE;8BACJ,wBAAO;iDAAC;AAnBE,gBAAgB;IADpC,gBAAM,EAAE;GACY,gBAAgB,CAoBpC;kBApBoB,gBAAgB"}
|
package/dist/entity/Request.d.ts
DELETED
package/dist/entity/Request.js
DELETED
|
@@ -1,42 +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 User_1 = __importDefault(require("./User"));
|
|
18
|
-
let Request = class Request extends AuditedModel_1.default {
|
|
19
|
-
};
|
|
20
|
-
__decorate([
|
|
21
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
22
|
-
__metadata("design:type", Number)
|
|
23
|
-
], Request.prototype, "id", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
typeorm_1.ManyToOne(() => User_1.default, { eager: true, onDelete: 'CASCADE' }),
|
|
26
|
-
typeorm_1.JoinColumn(),
|
|
27
|
-
__metadata("design:type", User_1.default)
|
|
28
|
-
], Request.prototype, "sender", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
typeorm_1.ManyToOne(() => User_1.default, { eager: true, onDelete: 'CASCADE' }),
|
|
31
|
-
typeorm_1.JoinColumn(),
|
|
32
|
-
__metadata("design:type", User_1.default)
|
|
33
|
-
], Request.prototype, "receiver", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
typeorm_1.Column('integer', { nullable: true, default: 0 }),
|
|
36
|
-
__metadata("design:type", Number)
|
|
37
|
-
], Request.prototype, "state", void 0);
|
|
38
|
-
Request = __decorate([
|
|
39
|
-
typeorm_1.Entity()
|
|
40
|
-
], Request);
|
|
41
|
-
exports.default = Request;
|
|
42
|
-
//# sourceMappingURL=Request.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../src/entity/Request.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAAwF;AACxF,kEAA0C;AAC1C,kDAA0B;AAG1B,IAAqB,OAAO,GAA5B,MAAqB,OAAQ,SAAQ,sBAAY;CAiBhD,CAAA;AAfC;IADC,gCAAsB,EAAE;;mCACd;AAIX;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC3D,oBAAU,EAAE;8BACL,cAAI;uCAAC;AAIb;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC3D,oBAAU,EAAE;8BACH,cAAI;yCAAC;AAMf;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;sCACpC;AAhBK,OAAO;IAD3B,gBAAM,EAAE;GACY,OAAO,CAiB3B;kBAjBoB,OAAO"}
|
package/dist/entity/Return.d.ts
DELETED
package/dist/entity/Return.js
DELETED
|
@@ -1,40 +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 ReturnAddress_1 = __importDefault(require("./ReturnAddress"));
|
|
17
|
-
class Return {
|
|
18
|
-
}
|
|
19
|
-
__decorate([
|
|
20
|
-
typeorm_1.Column('varchar', { nullable: true }),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], Return.prototype, "right", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
typeorm_1.Column('varchar', { nullable: true }),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], Return.prototype, "label", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
typeorm_1.Column('varchar', { nullable: true }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], Return.prototype, "cost", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
typeorm_1.Column('text', { nullable: true }),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], Return.prototype, "policy", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
typeorm_1.Column(() => ReturnAddress_1.default, { prefix: 'address_' }),
|
|
37
|
-
__metadata("design:type", ReturnAddress_1.default)
|
|
38
|
-
], Return.prototype, "address", void 0);
|
|
39
|
-
exports.default = Return;
|
|
40
|
-
//# sourceMappingURL=Return.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Return.js","sourceRoot":"","sources":["../../src/entity/Return.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAAiC;AACjC,oEAAsC;AAEtC,MAAqB,MAAM;CAe1B;AAbC;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qCACvB;AAGf;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qCACvB;AAGf;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oCACxB;AAGd;IADC,gBAAM,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sCACnB;AAGhB;IADC,gBAAM,CAAC,GAAG,EAAE,CAAC,uBAAO,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;8BACrC,uBAAO;uCAAC;AAdnB,yBAeC"}
|
|
@@ -1,48 +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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const typeorm_1 = require("typeorm");
|
|
13
|
-
class Address {
|
|
14
|
-
}
|
|
15
|
-
__decorate([
|
|
16
|
-
typeorm_1.Column('boolean', { default: false }),
|
|
17
|
-
__metadata("design:type", Boolean)
|
|
18
|
-
], Address.prototype, "sameAsBusiness", void 0);
|
|
19
|
-
__decorate([
|
|
20
|
-
typeorm_1.Column('boolean', { default: false }),
|
|
21
|
-
__metadata("design:type", Boolean)
|
|
22
|
-
], Address.prototype, "sameAsWarehouse", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
typeorm_1.Column('varchar', { nullable: true }),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], Address.prototype, "country", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
typeorm_1.Column('varchar', { nullable: true }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], Address.prototype, "timezone", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
typeorm_1.Column('varchar', { nullable: true }),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], Address.prototype, "address", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
typeorm_1.Column('varchar', { nullable: true }),
|
|
37
|
-
__metadata("design:type", String)
|
|
38
|
-
], Address.prototype, "address2", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
typeorm_1.Column('varchar', { nullable: true }),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], Address.prototype, "postCode", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
typeorm_1.Column('varchar', { nullable: true }),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], Address.prototype, "returnCity", void 0);
|
|
47
|
-
exports.default = Address;
|
|
48
|
-
//# sourceMappingURL=ReturnAddress.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReturnAddress.js","sourceRoot":"","sources":["../../src/entity/ReturnAddress.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qCAAiC;AAEjC,MAAqB,OAAO;CAwB3B;AAtBC;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;+CACd;AAGxB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;gDACb;AAGzB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wCACrB;AAGjB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACpB;AAGlB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wCACrB;AAGjB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACpB;AAGlB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACpB;AAGlB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CAClB;AAvBtB,0BAwBC"}
|
package/dist/entity/Role.d.ts
DELETED
package/dist/entity/Role.js
DELETED
|
@@ -1,42 +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 RolePermission_1 = __importDefault(require("./RolePermission"));
|
|
17
|
-
let Role = class Role {
|
|
18
|
-
};
|
|
19
|
-
__decorate([
|
|
20
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
21
|
-
__metadata("design:type", Number)
|
|
22
|
-
], Role.prototype, "idRole", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
typeorm_1.Column('varchar', { nullable: false }),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], Role.prototype, "role", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
typeorm_1.Column('boolean', { default: true, nullable: false }),
|
|
29
|
-
__metadata("design:type", Boolean)
|
|
30
|
-
], Role.prototype, "activeRole", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
typeorm_1.OneToMany(() => RolePermission_1.default, (rolePermission) => rolePermission.role, {
|
|
33
|
-
cascade: true,
|
|
34
|
-
}),
|
|
35
|
-
typeorm_1.JoinColumn(),
|
|
36
|
-
__metadata("design:type", Array)
|
|
37
|
-
], Role.prototype, "rolePermission", void 0);
|
|
38
|
-
Role = __decorate([
|
|
39
|
-
typeorm_1.Entity()
|
|
40
|
-
], Role);
|
|
41
|
-
exports.default = Role;
|
|
42
|
-
//# sourceMappingURL=Role.js.map
|
package/dist/entity/Role.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Role.js","sourceRoot":"","sources":["../../src/entity/Role.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAAwF;AACxF,sEAA8C;AAG9C,IAAqB,IAAI,GAAzB,MAAqB,IAAI;CAexB,CAAA;AAbC;IADC,gCAAsB,EAAE;;oCACV;AAGf;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;kCAC1B;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;wCAClC;AAMpB;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,wBAAc,EAAE,CAAC,cAA8B,EAAE,EAAE,CAAC,cAAc,CAAC,IAAI,EAAE;QACxF,OAAO,EAAE,IAAI;KACd,CAAC;IACD,oBAAU,EAAE;;4CACoB;AAdd,IAAI;IADxB,gBAAM,EAAE;GACY,IAAI,CAexB;kBAfoB,IAAI"}
|
|
@@ -1,40 +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 Permission_1 = __importDefault(require("./Permission"));
|
|
17
|
-
const Role_1 = __importDefault(require("./Role"));
|
|
18
|
-
let RolePermission = class RolePermission {
|
|
19
|
-
};
|
|
20
|
-
__decorate([
|
|
21
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
22
|
-
__metadata("design:type", Number)
|
|
23
|
-
], RolePermission.prototype, "idRolePermission", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
typeorm_1.Column('boolean', { default: true, nullable: false }),
|
|
26
|
-
__metadata("design:type", Boolean)
|
|
27
|
-
], RolePermission.prototype, "activeRolePermission", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
typeorm_1.ManyToOne(() => Permission_1.default, (permission) => permission.idPermission, { nullable: false }),
|
|
30
|
-
__metadata("design:type", Permission_1.default)
|
|
31
|
-
], RolePermission.prototype, "permission", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
typeorm_1.ManyToOne(() => Role_1.default, (role) => role.idRole, { nullable: false }),
|
|
34
|
-
__metadata("design:type", Role_1.default)
|
|
35
|
-
], RolePermission.prototype, "role", void 0);
|
|
36
|
-
RolePermission = __decorate([
|
|
37
|
-
typeorm_1.Entity()
|
|
38
|
-
], RolePermission);
|
|
39
|
-
exports.default = RolePermission;
|
|
40
|
-
//# sourceMappingURL=RolePermission.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RolePermission.js","sourceRoot":"","sources":["../../src/entity/RolePermission.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAA4E;AAE5E,8DAAsC;AACtC,kDAA0B;AAG1B,IAAqB,cAAc,GAAnC,MAAqB,cAAc;CAYlC,CAAA;AAVC;IADC,gCAAsB,EAAE;;wDACA;AAGzB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;4DACxB;AAG9B;IADC,mBAAS,CAAC,GAAG,EAAE,CAAC,oBAAU,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;8BAC9E,oBAAU;kDAAC;AAGvB;IADC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;8BAC5D,cAAI;4CAAC;AAXQ,cAAc;IADlC,gBAAM,EAAE;GACY,cAAc,CAYlC;kBAZoB,cAAc"}
|
|
@@ -1,39 +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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const typeorm_1 = require("typeorm");
|
|
13
|
-
let ShippingPackage = class ShippingPackage {
|
|
14
|
-
};
|
|
15
|
-
__decorate([
|
|
16
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
17
|
-
__metadata("design:type", Number)
|
|
18
|
-
], ShippingPackage.prototype, "id", void 0);
|
|
19
|
-
__decorate([
|
|
20
|
-
typeorm_1.Column('decimal', { precision: 10, scale: 2 }),
|
|
21
|
-
__metadata("design:type", Number)
|
|
22
|
-
], ShippingPackage.prototype, "height", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
typeorm_1.Column('decimal', { precision: 10, scale: 2 }),
|
|
25
|
-
__metadata("design:type", Number)
|
|
26
|
-
], ShippingPackage.prototype, "depth", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
typeorm_1.Column('decimal', { precision: 10, scale: 2 }),
|
|
29
|
-
__metadata("design:type", Number)
|
|
30
|
-
], ShippingPackage.prototype, "weight", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
typeorm_1.Column('decimal', { precision: 10, scale: 2 }),
|
|
33
|
-
__metadata("design:type", Number)
|
|
34
|
-
], ShippingPackage.prototype, "width", void 0);
|
|
35
|
-
ShippingPackage = __decorate([
|
|
36
|
-
typeorm_1.Entity()
|
|
37
|
-
], ShippingPackage);
|
|
38
|
-
exports.default = ShippingPackage;
|
|
39
|
-
//# sourceMappingURL=ShippingPackage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ShippingPackage.js","sourceRoot":"","sources":["../../src/entity/ShippingPackage.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qCAAiE;AAGjE,IAAqB,eAAe,GAApC,MAAqB,eAAe;CAenC,CAAA;AAbC;IADC,gCAAsB,EAAE;;2CACd;AAGX;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;;+CAChC;AAGf;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;;8CACjC;AAGd;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;;+CAChC;AAGf;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;;8CACjC;AAdK,eAAe;IADnC,gBAAM,EAAE;GACY,eAAe,CAenC;kBAfoB,eAAe"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import User from './User';
|
|
2
|
-
export default class ShopifyConnection {
|
|
3
|
-
id: number;
|
|
4
|
-
importedProducts: boolean;
|
|
5
|
-
reseller: User;
|
|
6
|
-
supplier: User;
|
|
7
|
-
accessToken: string;
|
|
8
|
-
url: string;
|
|
9
|
-
currency?: string;
|
|
10
|
-
carrierId?: string;
|
|
11
|
-
fulfillmentId?: string;
|
|
12
|
-
locationId?: string;
|
|
13
|
-
}
|
|
@@ -1,65 +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 User_1 = __importDefault(require("./User"));
|
|
17
|
-
let ShopifyConnection = class ShopifyConnection {
|
|
18
|
-
};
|
|
19
|
-
__decorate([
|
|
20
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
21
|
-
__metadata("design:type", Number)
|
|
22
|
-
], ShopifyConnection.prototype, "id", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
typeorm_1.Column({ type: 'boolean', default: false }),
|
|
25
|
-
__metadata("design:type", Boolean)
|
|
26
|
-
], ShopifyConnection.prototype, "importedProducts", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
typeorm_1.OneToOne(() => User_1.default, (user) => user.shopifyReseller, { onDelete: 'CASCADE' }),
|
|
29
|
-
typeorm_1.JoinColumn(),
|
|
30
|
-
__metadata("design:type", User_1.default)
|
|
31
|
-
], ShopifyConnection.prototype, "reseller", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
typeorm_1.OneToOne(() => User_1.default, (user) => user.shopifySupplier, { onDelete: 'CASCADE' }),
|
|
34
|
-
typeorm_1.JoinColumn(),
|
|
35
|
-
__metadata("design:type", User_1.default)
|
|
36
|
-
], ShopifyConnection.prototype, "supplier", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
typeorm_1.Column('varchar', { nullable: true }),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], ShopifyConnection.prototype, "accessToken", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
typeorm_1.Column('varchar', { nullable: true }),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], ShopifyConnection.prototype, "url", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
typeorm_1.Column('varchar', { nullable: true }),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], ShopifyConnection.prototype, "currency", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
typeorm_1.Column('varchar', { nullable: true }),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], ShopifyConnection.prototype, "carrierId", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
typeorm_1.Column('varchar', { nullable: true }),
|
|
55
|
-
__metadata("design:type", String)
|
|
56
|
-
], ShopifyConnection.prototype, "fulfillmentId", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
typeorm_1.Column('varchar', { nullable: true }),
|
|
59
|
-
__metadata("design:type", String)
|
|
60
|
-
], ShopifyConnection.prototype, "locationId", void 0);
|
|
61
|
-
ShopifyConnection = __decorate([
|
|
62
|
-
typeorm_1.Entity()
|
|
63
|
-
], ShopifyConnection);
|
|
64
|
-
exports.default = ShopifyConnection;
|
|
65
|
-
//# sourceMappingURL=ShopifyConnection.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ShopifyConnection.js","sourceRoot":"","sources":["../../src/entity/ShopifyConnection.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAAuF;AACvF,kDAA0B;AAG1B,IAAqB,iBAAiB,GAAtC,MAAqB,iBAAiB;CAgCrC,CAAA;AA9BC;IADC,gCAAsB,EAAE;;6CACd;AAGX;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;2DAClB;AAI1B;IAFC,kBAAQ,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC7E,oBAAU,EAAE;8BACH,cAAI;mDAAC;AAIf;IAFC,kBAAQ,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC7E,oBAAU,EAAE;8BACH,cAAI;mDAAC;AAGf;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDAClB;AAGpB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CAC1B;AAGZ;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACpB;AAGlB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACnB;AAGnB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACf;AAGvB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDAClB;AA/BD,iBAAiB;IADrC,gBAAM,EAAE;GACY,iBAAiB,CAgCrC;kBAhCoB,iBAAiB"}
|
|
@@ -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 Category_1 = __importDefault(require("./Category"));
|
|
18
|
-
let Subcategory = class Subcategory extends AuditedModel_1.default {
|
|
19
|
-
};
|
|
20
|
-
Subcategory.getCacheKey = () => 'SUBCATEGORIES';
|
|
21
|
-
__decorate([
|
|
22
|
-
typeorm_1.PrimaryGeneratedColumn(),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], Subcategory.prototype, "id", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
typeorm_1.DeleteDateColumn(),
|
|
27
|
-
__metadata("design:type", Date)
|
|
28
|
-
], Subcategory.prototype, "deletedAt", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
typeorm_1.Column('varchar'),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], Subcategory.prototype, "name", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
typeorm_1.ManyToOne(() => Category_1.default, (category) => category.subcategories, { eager: true }),
|
|
35
|
-
__metadata("design:type", Category_1.default)
|
|
36
|
-
], Subcategory.prototype, "category", void 0);
|
|
37
|
-
Subcategory = __decorate([
|
|
38
|
-
typeorm_1.Entity()
|
|
39
|
-
], Subcategory);
|
|
40
|
-
exports.default = Subcategory;
|
|
41
|
-
//# sourceMappingURL=Subcategory.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Subcategory.js","sourceRoot":"","sources":["../../src/entity/Subcategory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAA8F;AAC9F,kEAA0C;AAC1C,0DAAkC;AAGlC,IAAqB,WAAW,GAAhC,MAAqB,WAAY,SAAQ,sBAAY;CAcpD,CAAA;AADQ,uBAAW,GAAG,GAAG,EAAE,CAAC,eAAe,CAAC;AAX3C;IADC,gCAAsB,EAAE;;uCACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;8CAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,CAAC;;yCACL;AAGb;IADC,mBAAS,CAAC,GAAG,EAAE,CAAC,kBAAQ,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;8BACvE,kBAAQ;6CAAC;AAXA,WAAW;IAD/B,gBAAM,EAAE;GACY,WAAW,CAc/B;kBAdoB,WAAW"}
|
package/dist/entity/User.d.ts
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import AuditedModel from './AuditedModel';
|
|
2
|
-
import Category from './Category';
|
|
3
|
-
import Address from './Address';
|
|
4
|
-
import Courier from './Courier';
|
|
5
|
-
import FlatRate from './FlatRate';
|
|
6
|
-
import ShippingPackage from './ShippingPackage';
|
|
7
|
-
import Check from './Check';
|
|
8
|
-
import WooConnection from './WooConnection';
|
|
9
|
-
import Business from './Business';
|
|
10
|
-
import ShopifyConnection from './ShopifyConnection';
|
|
11
|
-
import ApiCredential from './ApiCredential';
|
|
12
|
-
import { MagentoConnection } from './MagentoConnection.entity';
|
|
13
|
-
import UserRole from './UserRole';
|
|
14
|
-
import UserSettings from './UserSettings';
|
|
15
|
-
import Shipping from './modules/shipping/Shipping';
|
|
16
|
-
export default class User extends AuditedModel {
|
|
17
|
-
id: number;
|
|
18
|
-
deletedAt: Date;
|
|
19
|
-
isBusiness: boolean;
|
|
20
|
-
business: Business;
|
|
21
|
-
uid: string;
|
|
22
|
-
code?: string;
|
|
23
|
-
active: boolean;
|
|
24
|
-
isAdmin: boolean;
|
|
25
|
-
isSupplier: boolean;
|
|
26
|
-
username: string;
|
|
27
|
-
name: string;
|
|
28
|
-
surname: string;
|
|
29
|
-
dateBirth: Date;
|
|
30
|
-
phone: string;
|
|
31
|
-
phoneCode: string;
|
|
32
|
-
address?: string;
|
|
33
|
-
address2?: string;
|
|
34
|
-
postCode?: string;
|
|
35
|
-
state: string;
|
|
36
|
-
country: string;
|
|
37
|
-
city: string;
|
|
38
|
-
avatar: string;
|
|
39
|
-
website: string;
|
|
40
|
-
description: string;
|
|
41
|
-
facebookAccessToken?: string;
|
|
42
|
-
facebookPageId?: string;
|
|
43
|
-
instagramAccountId?: string;
|
|
44
|
-
squarespaceApiToken?: string;
|
|
45
|
-
firstSquarespaceImport?: boolean;
|
|
46
|
-
interests: string;
|
|
47
|
-
gender?: string;
|
|
48
|
-
contactName?: string;
|
|
49
|
-
brandName?: string;
|
|
50
|
-
organizationNumber?: string;
|
|
51
|
-
vatNumber?: string;
|
|
52
|
-
warehouseSameAddress: boolean;
|
|
53
|
-
warehouse: Address;
|
|
54
|
-
categories: Category[];
|
|
55
|
-
courier: Courier;
|
|
56
|
-
flatRate: FlatRate;
|
|
57
|
-
settings: UserSettings;
|
|
58
|
-
woo: WooConnection;
|
|
59
|
-
shopifyReseller: ShopifyConnection;
|
|
60
|
-
shopifySupplier: ShopifyConnection;
|
|
61
|
-
magento: MagentoConnection;
|
|
62
|
-
odaId?: string;
|
|
63
|
-
shippingPackage: ShippingPackage;
|
|
64
|
-
termsAndConditions: boolean;
|
|
65
|
-
privacyPolicy: boolean;
|
|
66
|
-
coverImage?: string;
|
|
67
|
-
listingsQuantity?: string;
|
|
68
|
-
importedQuantity?: string;
|
|
69
|
-
ordersQuantity?: string;
|
|
70
|
-
connectionsQuantity?: string;
|
|
71
|
-
isSender?: string;
|
|
72
|
-
isReceiver?: string;
|
|
73
|
-
requestId?: string;
|
|
74
|
-
requestState?: string;
|
|
75
|
-
listingsDraft?: string;
|
|
76
|
-
listingsPublished?: string;
|
|
77
|
-
savedProducts?: string;
|
|
78
|
-
exportedProducts?: string;
|
|
79
|
-
check: Check;
|
|
80
|
-
rate: number;
|
|
81
|
-
apiCredentials: ApiCredential;
|
|
82
|
-
email?: string;
|
|
83
|
-
userRole: UserRole[];
|
|
84
|
-
shipping: Shipping[];
|
|
85
|
-
static invalidateCache(userId: any, removeCache: (key: any) => Promise<void>): void;
|
|
86
|
-
static getUsersMeKey(id: any): string;
|
|
87
|
-
}
|