lori_sdk 0.6.9
lori_sdk: ^0.6.9 copied to clipboard

A Flutter package to access Neomode's API (LORI). The package encapsulates most of the complexity and provide an easy way to connect to the best omnichannel platform.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add lori_sdk

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  lori_sdk: ^0.6.9

Alternatively, your editor might support or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:lori_sdk/data/api/firebase/firebase_api.dart';
import 'package:lori_sdk/data/api/sales/commerce/sales_commerce_api.dart';
import 'package:lori_sdk/data/api/sales/commerce/sales_commerce_carts_api.dart';
import 'package:lori_sdk/data/api/sales/sales_api.dart';
import 'package:lori_sdk/data/api/sales/sales_buyer_api.dart';
import 'package:lori_sdk/data/api/sales/sales_catalog_api.dart';
import 'package:lori_sdk/data/api/sales/sales_marketing_api.dart';
import 'package:lori_sdk/data/api/sales/sales_retailer_api.dart';
import 'package:lori_sdk/data/api/sales/sales_search_api.dart';
import 'package:lori_sdk/data/database/authResponseDaoStub.dart';
import 'package:lori_sdk/data/database/cartDaoStub.dart';
import 'package:lori_sdk/data/database/interfaces/authResponseDao.dart';
import 'package:lori_sdk/data/database/interfaces/cartDao.dart';
import 'package:lori_sdk/data/database/interfaces/notificationDao.dart';
import 'package:lori_sdk/data/database/interfaces/productDao.dart';
import 'package:lori_sdk/data/database/interfaces/searchTermsDao.dart';
import 'package:lori_sdk/data/database/interfaces/userDao.dart';
import 'package:lori_sdk/data/database/mobile/mobileAuthResponseDao.dart';
import 'package:lori_sdk/data/database/mobile/mobileCartDao.dart';
import 'package:lori_sdk/data/database/mobile/mobileNotificationDao.dart';
import 'package:lori_sdk/data/database/mobile/mobileProductDao.dart';
import 'package:lori_sdk/data/database/mobile/mobileSearchTermsDao.dart';
import 'package:lori_sdk/data/database/mobile/mobileUserDao.dart';
import 'package:lori_sdk/data/database/notificationDaoStub.dart';
import 'package:lori_sdk/data/database/productDaoStub.dart';
import 'package:lori_sdk/data/database/searchTermsDaoStub.dart';
import 'package:lori_sdk/data/database/userDaoStub.dart';
import 'package:lori_sdk/data/database/web/webAuthResponseDao.dart';
import 'package:lori_sdk/data/database/web/webCartDao.dart';
import 'package:lori_sdk/data/database/web/webNotificationDao.dart';
import 'package:lori_sdk/data/database/web/webProductDao.dart';
import 'package:lori_sdk/data/database/web/webSearchTermsDao.dart';
import 'package:lori_sdk/data/database/web/webUserDao.dart';
import 'package:lori_sdk/data/lori_api.dart';
import 'package:lori_sdk/data/lori_push_notification_token.dart';
import 'package:lori_sdk/data/models/addressCep.dart';
import 'package:lori_sdk/data/models/addressCep.g.dart';
import 'package:lori_sdk/data/models/addressCity.dart';
import 'package:lori_sdk/data/models/addressCity.g.dart';
import 'package:lori_sdk/data/models/addressState.dart';
import 'package:lori_sdk/data/models/addressState.g.dart';
import 'package:lori_sdk/data/models/authResponse.dart';
import 'package:lori_sdk/data/models/authResponse.g.dart';
import 'package:lori_sdk/data/models/banner.dart';
import 'package:lori_sdk/data/models/banner.g.dart';
import 'package:lori_sdk/data/models/cart/bonus.dart';
import 'package:lori_sdk/data/models/cart/bonus.g.dart';
import 'package:lori_sdk/data/models/cart/cart.dart';
import 'package:lori_sdk/data/models/cart/cart.g.dart';
import 'package:lori_sdk/data/models/cart/cartItem.dart';
import 'package:lori_sdk/data/models/cart/cartItem.g.dart';
import 'package:lori_sdk/data/models/cart/freight.dart';
import 'package:lori_sdk/data/models/cart/freight.g.dart';
import 'package:lori_sdk/data/models/cart/installment.dart';
import 'package:lori_sdk/data/models/cart/installment.g.dart';
import 'package:lori_sdk/data/models/cart/paymentMethod.dart';
import 'package:lori_sdk/data/models/cart/paymentMethod.g.dart';
import 'package:lori_sdk/data/models/cart/seller.dart';
import 'package:lori_sdk/data/models/cart/seller.g.dart';
import 'package:lori_sdk/data/models/cart/sellerModality.dart';
import 'package:lori_sdk/data/models/cart/sellerModality.g.dart';
import 'package:lori_sdk/data/models/cart/voucher.dart';
import 'package:lori_sdk/data/models/cart/voucher.g.dart';
import 'package:lori_sdk/data/models/cart/workingHours.dart';
import 'package:lori_sdk/data/models/cart/workingHours.g.dart';
import 'package:lori_sdk/data/models/check_email_response.dart';
import 'package:lori_sdk/data/models/configurations/brandConfigurations.dart';
import 'package:lori_sdk/data/models/configurations/brandConfigurations.g.dart';
import 'package:lori_sdk/data/models/configurations/complementaryNameProduct.dart';
import 'package:lori_sdk/data/models/configurations/configurations.dart';
import 'package:lori_sdk/data/models/configurations/configurations.g.dart';
import 'package:lori_sdk/data/models/configurations/internalConfigurations.dart';
import 'package:lori_sdk/data/models/configurations/internalConfigurations.g.dart';
import 'package:lori_sdk/data/models/configurations/orderCodeType.dart';
import 'package:lori_sdk/data/models/configurations/whatsapp_configurations.dart';
import 'package:lori_sdk/data/models/faq.dart';
import 'package:lori_sdk/data/models/faq.g.dart';
import 'package:lori_sdk/data/models/filter/filters_response.dart';
import 'package:lori_sdk/data/models/filter/filters_response.g.dart';
import 'package:lori_sdk/data/models/key_value.dart';
import 'package:lori_sdk/data/models/key_value.g.dart';
import 'package:lori_sdk/data/models/notification.dart';
import 'package:lori_sdk/data/models/notification.g.dart';
import 'package:lori_sdk/data/models/order/buyedItem.dart';
import 'package:lori_sdk/data/models/order/buyedItem.g.dart';
import 'package:lori_sdk/data/models/order/complaint.dart';
import 'package:lori_sdk/data/models/order/complaint.g.dart';
import 'package:lori_sdk/data/models/order/complaintType.dart';
import 'package:lori_sdk/data/models/order/complaintType.g.dart';
import 'package:lori_sdk/data/models/order/order.dart';
import 'package:lori_sdk/data/models/order/order.g.dart';
import 'package:lori_sdk/data/models/order/orderInstallment.dart';
import 'package:lori_sdk/data/models/order/orderInstallment.g.dart';
import 'package:lori_sdk/data/models/order/orderStep.dart';
import 'package:lori_sdk/data/models/order/orderStep.g.dart';
import 'package:lori_sdk/data/models/order/paymentInfo.dart';
import 'package:lori_sdk/data/models/order/paymentInfo.g.dart';
import 'package:lori_sdk/data/models/privacyPolicy.dart';
import 'package:lori_sdk/data/models/privacyPolicy.g.dart';
import 'package:lori_sdk/data/models/product/evaluation.dart';
import 'package:lori_sdk/data/models/product/evaluation.g.dart';
import 'package:lori_sdk/data/models/product/evaluationForm.dart';
import 'package:lori_sdk/data/models/product/evaluationForm.g.dart';
import 'package:lori_sdk/data/models/product/favoriteProduct.dart';
import 'package:lori_sdk/data/models/product/favoriteProduct.g.dart';
import 'package:lori_sdk/data/models/product/opinion.dart';
import 'package:lori_sdk/data/models/product/opinion.g.dart';
import 'package:lori_sdk/data/models/product/opinionQuestion.dart';
import 'package:lori_sdk/data/models/product/opinionQuestion.g.dart';
import 'package:lori_sdk/data/models/product/opinionResponse.dart';
import 'package:lori_sdk/data/models/product/opinionResponse.g.dart';
import 'package:lori_sdk/data/models/product/product.dart';
import 'package:lori_sdk/data/models/product/product.g.dart';
import 'package:lori_sdk/data/models/product/productImage.dart';
import 'package:lori_sdk/data/models/product/productImage.g.dart';
import 'package:lori_sdk/data/models/product/productOrder.dart';
import 'package:lori_sdk/data/models/product/productTag.dart';
import 'package:lori_sdk/data/models/product/productTag.g.dart';
import 'package:lori_sdk/data/models/product/searchTerm.dart';
import 'package:lori_sdk/data/models/product/searchTerm.g.dart';
import 'package:lori_sdk/data/models/product/skuAttribute.dart';
import 'package:lori_sdk/data/models/product/skuAttribute.g.dart';
import 'package:lori_sdk/data/models/promotion.dart';
import 'package:lori_sdk/data/models/promotion.g.dart';
import 'package:lori_sdk/data/models/promotionPolicy.dart';
import 'package:lori_sdk/data/models/promotionPolicy.g.dart';
import 'package:lori_sdk/data/models/ranking/dealer.dart';
import 'package:lori_sdk/data/models/ranking/dealer.g.dart';
import 'package:lori_sdk/data/models/ranking/dealerRanking.dart';
import 'package:lori_sdk/data/models/ranking/dealerRanking.g.dart';
import 'package:lori_sdk/data/models/ranking/ranking.dart';
import 'package:lori_sdk/data/models/ranking/ranking.g.dart';
import 'package:lori_sdk/data/models/response/productPaginationResult.dart';
import 'package:lori_sdk/data/models/response/productPaginationResult.g.dart';
import 'package:lori_sdk/data/models/response/storeResult.dart';
import 'package:lori_sdk/data/models/response/storeResult.g.dart';
import 'package:lori_sdk/data/models/singleton/cartSingleton.dart';
import 'package:lori_sdk/data/models/singleton/notificationSingleton.dart';
import 'package:lori_sdk/data/models/singleton/productSingleton.dart';
import 'package:lori_sdk/data/models/singleton/searchTermsSingleton.dart';
import 'package:lori_sdk/data/models/singleton/userSingleton.dart';
import 'package:lori_sdk/data/models/smsRequestResult.dart';
import 'package:lori_sdk/data/models/smsRequestResult.g.dart';
import 'package:lori_sdk/data/models/store.dart';
import 'package:lori_sdk/data/models/store.g.dart';
import 'package:lori_sdk/data/models/trustDefenderConfiguration.dart';
import 'package:lori_sdk/data/models/trustDefenderConfiguration.g.dart';
import 'package:lori_sdk/data/models/tutorial.dart';
import 'package:lori_sdk/data/models/tutorial.g.dart';
import 'package:lori_sdk/data/models/user.dart';
import 'package:lori_sdk/data/models/user.g.dart';
import 'package:lori_sdk/data/models/userAddress.dart';
import 'package:lori_sdk/data/models/userAddress.g.dart';
import 'package:lori_sdk/data/models/userTerms.dart';
import 'package:lori_sdk/data/models/userTerms.g.dart';
import 'package:lori_sdk/data/models/user_promotions/userPromotion.dart';
import 'package:lori_sdk/data/models/user_promotions/userPromotion.g.dart';
import 'package:lori_sdk/data/models/v2/category.dart';
import 'package:lori_sdk/data/models/v2/category.g.dart';
import 'package:lori_sdk/ext/extensions.dart';
import 'package:lori_sdk/misc/lori_sdk_exception.dart';
import 'package:lori_sdk/utils/lori_utils.dart';
0
likes
60
pub points
52%
popularity

Publisher

neomode.com.br

A Flutter package to access Neomode's API (LORI). The package encapsulates most of the complexity and provide an easy way to connect to the best omnichannel platform.

Homepage

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, dio, firebase_performance, flutter, flutter_phoenix, http, intl, json_annotation, path, shared_preferences, simple_rsa, sqflite, uuid, validators

More

Packages that depend on lori_sdk