pointpos_api 0.2.2
pointpos_api: ^0.2.2 copied to clipboard

PointPOS API client

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add pointpos_api

With Flutter:

 $ flutter pub add pointpos_api

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


dependencies:
  pointpos_api: ^0.2.2

Alternatively, your editor might support dart pub get 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:pointpos_api/api.dart';
import 'package:pointpos_api/api/adjustment_stock_api.dart';
import 'package:pointpos_api/api/adjustment_stock_api.jretro.dart';
import 'package:pointpos_api/api/customer_api.dart';
import 'package:pointpos_api/api/customer_api.jretro.dart';
import 'package:pointpos_api/api/discount_api.dart';
import 'package:pointpos_api/api/discount_api.jretro.dart';
import 'package:pointpos_api/api/document_api.dart';
import 'package:pointpos_api/api/document_api.jretro.dart';
import 'package:pointpos_api/api/employee_api.dart';
import 'package:pointpos_api/api/employee_api.jretro.dart';
import 'package:pointpos_api/api/gratuity_api.dart';
import 'package:pointpos_api/api/gratuity_api.jretro.dart';
import 'package:pointpos_api/api/ingredient_api.dart';
import 'package:pointpos_api/api/ingredient_api.jretro.dart';
import 'package:pointpos_api/api/ingredient_category_api.dart';
import 'package:pointpos_api/api/ingredient_category_api.jretro.dart';
import 'package:pointpos_api/api/item_api.dart';
import 'package:pointpos_api/api/item_api.jretro.dart';
import 'package:pointpos_api/api/item_category_api.dart';
import 'package:pointpos_api/api/item_category_api.jretro.dart';
import 'package:pointpos_api/api/loyalty_program_api.dart';
import 'package:pointpos_api/api/loyalty_program_api.jretro.dart';
import 'package:pointpos_api/api/merchant_account_api.dart';
import 'package:pointpos_api/api/merchant_account_api.jretro.dart';
import 'package:pointpos_api/api/merchant_api.dart';
import 'package:pointpos_api/api/merchant_api.jretro.dart';
import 'package:pointpos_api/api/modifier_api.dart';
import 'package:pointpos_api/api/modifier_api.jretro.dart';
import 'package:pointpos_api/api/order_api.dart';
import 'package:pointpos_api/api/order_api.jretro.dart';
import 'package:pointpos_api/api/outlet_api.dart';
import 'package:pointpos_api/api/outlet_api.jretro.dart';
import 'package:pointpos_api/api/payment_configuration_api.dart';
import 'package:pointpos_api/api/payment_configuration_api.jretro.dart';
import 'package:pointpos_api/api/promo_api.dart';
import 'package:pointpos_api/api/promo_api.jretro.dart';
import 'package:pointpos_api/api/purchase_order_api.dart';
import 'package:pointpos_api/api/purchase_order_api.jretro.dart';
import 'package:pointpos_api/api/recipe_api.dart';
import 'package:pointpos_api/api/recipe_api.jretro.dart';
import 'package:pointpos_api/api/reports_api.dart';
import 'package:pointpos_api/api/reports_api.jretro.dart';
import 'package:pointpos_api/api/role_api.dart';
import 'package:pointpos_api/api/role_api.jretro.dart';
import 'package:pointpos_api/api/role_permission_api.dart';
import 'package:pointpos_api/api/role_permission_api.jretro.dart';
import 'package:pointpos_api/api/sales_type_api.dart';
import 'package:pointpos_api/api/sales_type_api.jretro.dart';
import 'package:pointpos_api/api/shift_api.dart';
import 'package:pointpos_api/api/shift_api.jretro.dart';
import 'package:pointpos_api/api/splash_screen_api.dart';
import 'package:pointpos_api/api/splash_screen_api.jretro.dart';
import 'package:pointpos_api/api/supplier_api.dart';
import 'package:pointpos_api/api/supplier_api.jretro.dart';
import 'package:pointpos_api/api/table_api.dart';
import 'package:pointpos_api/api/table_api.jretro.dart';
import 'package:pointpos_api/api/table_group_api.dart';
import 'package:pointpos_api/api/table_group_api.jretro.dart';
import 'package:pointpos_api/api/tax_api.dart';
import 'package:pointpos_api/api/tax_api.jretro.dart';
import 'package:pointpos_api/api/unit_api.dart';
import 'package:pointpos_api/api/unit_api.jretro.dart';
import 'package:pointpos_api/auth/api_key_auth.dart';
import 'package:pointpos_api/auth/auth.dart';
import 'package:pointpos_api/auth/basic_auth.dart';
import 'package:pointpos_api/auth/oauth.dart';
import 'package:pointpos_api/model/adjustment_stock.dart';
import 'package:pointpos_api/model/adjustment_stock.jser.dart';
import 'package:pointpos_api/model/adjustment_stock_items.dart';
import 'package:pointpos_api/model/adjustment_stock_items.jser.dart';
import 'package:pointpos_api/model/adjustment_stock_variants.dart';
import 'package:pointpos_api/model/adjustment_stock_variants.jser.dart';
import 'package:pointpos_api/model/change_password.dart';
import 'package:pointpos_api/model/change_password.jser.dart';
import 'package:pointpos_api/model/create_feedback.dart';
import 'package:pointpos_api/model/create_feedback.jser.dart';
import 'package:pointpos_api/model/create_feedback_all_of.dart';
import 'package:pointpos_api/model/create_feedback_all_of.jser.dart';
import 'package:pointpos_api/model/customer.dart';
import 'package:pointpos_api/model/customer.jser.dart';
import 'package:pointpos_api/model/discount.dart';
import 'package:pointpos_api/model/discount.jser.dart';
import 'package:pointpos_api/model/employee.dart';
import 'package:pointpos_api/model/employee.jser.dart';
import 'package:pointpos_api/model/end_shift.dart';
import 'package:pointpos_api/model/end_shift.jser.dart';
import 'package:pointpos_api/model/exception.dart';
import 'package:pointpos_api/model/exception.jser.dart';
import 'package:pointpos_api/model/feedback.dart';
import 'package:pointpos_api/model/feedback.jser.dart';
import 'package:pointpos_api/model/forbidden_exception.dart';
import 'package:pointpos_api/model/forbidden_exception.jser.dart';
import 'package:pointpos_api/model/forgot_password.dart';
import 'package:pointpos_api/model/forgot_password.jser.dart';
import 'package:pointpos_api/model/gratuity.dart';
import 'package:pointpos_api/model/gratuity.jser.dart';
import 'package:pointpos_api/model/image.dart';
import 'package:pointpos_api/model/image.jser.dart';
import 'package:pointpos_api/model/image_all_of.dart';
import 'package:pointpos_api/model/image_all_of.jser.dart';
import 'package:pointpos_api/model/ingredient.dart';
import 'package:pointpos_api/model/ingredient.jser.dart';
import 'package:pointpos_api/model/ingredient_category.dart';
import 'package:pointpos_api/model/ingredient_category.jser.dart';
import 'package:pointpos_api/model/ingredient_cost_of_goods_sold.dart';
import 'package:pointpos_api/model/ingredient_cost_of_goods_sold.jser.dart';
import 'package:pointpos_api/model/ingredient_inventory.dart';
import 'package:pointpos_api/model/ingredient_inventory.jser.dart';
import 'package:pointpos_api/model/inline_response200.dart';
import 'package:pointpos_api/model/inline_response200.jser.dart';
import 'package:pointpos_api/model/internal_server_error_exception.dart';
import 'package:pointpos_api/model/internal_server_error_exception.jser.dart';
import 'package:pointpos_api/model/item.dart';
import 'package:pointpos_api/model/item.jser.dart';
import 'package:pointpos_api/model/item_all_of.dart';
import 'package:pointpos_api/model/item_all_of.jser.dart';
import 'package:pointpos_api/model/item_all_of_inventory.dart';
import 'package:pointpos_api/model/item_all_of_inventory.jser.dart';
import 'package:pointpos_api/model/item_category.dart';
import 'package:pointpos_api/model/item_category.jser.dart';
import 'package:pointpos_api/model/login.dart';
import 'package:pointpos_api/model/login.jser.dart';
import 'package:pointpos_api/model/loyalty_program.dart';
import 'package:pointpos_api/model/loyalty_program.jser.dart';
import 'package:pointpos_api/model/loyalty_program_point_from_buy_item.dart';
import 'package:pointpos_api/model/loyalty_program_point_from_buy_item.jser.dart';
import 'package:pointpos_api/model/loyalty_program_point_from_buy_item_eligible_categories.dart';
import 'package:pointpos_api/model/loyalty_program_point_from_buy_item_eligible_categories.jser.dart';
import 'package:pointpos_api/model/loyalty_program_point_from_buy_item_eligible_items.dart';
import 'package:pointpos_api/model/loyalty_program_point_from_buy_item_eligible_items.jser.dart';
import 'package:pointpos_api/model/loyalty_program_point_from_total_spent.dart';
import 'package:pointpos_api/model/loyalty_program_point_from_total_spent.jser.dart';
import 'package:pointpos_api/model/loyalty_program_redeem_rules.dart';
import 'package:pointpos_api/model/loyalty_program_redeem_rules.jser.dart';
import 'package:pointpos_api/model/merchant_account.dart';
import 'package:pointpos_api/model/merchant_account.jser.dart';
import 'package:pointpos_api/model/merchant_account_business_info.dart';
import 'package:pointpos_api/model/merchant_account_business_info.jser.dart';
import 'package:pointpos_api/model/merchant_account_check_out_setting.dart';
import 'package:pointpos_api/model/merchant_account_check_out_setting.jser.dart';
import 'package:pointpos_api/model/merchant_account_check_out_setting_other_settings.dart';
import 'package:pointpos_api/model/merchant_account_check_out_setting_other_settings.jser.dart';
import 'package:pointpos_api/model/merchant_account_check_out_setting_rounding_settings.dart';
import 'package:pointpos_api/model/merchant_account_check_out_setting_rounding_settings.jser.dart';
import 'package:pointpos_api/model/merchant_account_check_out_setting_stok_limit.dart';
import 'package:pointpos_api/model/merchant_account_check_out_setting_stok_limit.jser.dart';
import 'package:pointpos_api/model/merchant_account_check_out_setting_tax_and_gratuity_setting.dart';
import 'package:pointpos_api/model/merchant_account_check_out_setting_tax_and_gratuity_setting.jser.dart';
import 'package:pointpos_api/model/merchant_account_email_notifications_setting.dart';
import 'package:pointpos_api/model/merchant_account_email_notifications_setting.jser.dart';
import 'package:pointpos_api/model/merchant_account_identification.dart';
import 'package:pointpos_api/model/merchant_account_identification.jser.dart';
import 'package:pointpos_api/model/merchant_account_npwp.dart';
import 'package:pointpos_api/model/merchant_account_npwp.jser.dart';
import 'package:pointpos_api/model/merchant_account_personal_details.dart';
import 'package:pointpos_api/model/merchant_account_personal_details.jser.dart';
import 'package:pointpos_api/model/merchant_account_personal_details_email.dart';
import 'package:pointpos_api/model/merchant_account_personal_details_email.jser.dart';
import 'package:pointpos_api/model/merchant_account_personal_details_phone.dart';
import 'package:pointpos_api/model/merchant_account_personal_details_phone.jser.dart';
import 'package:pointpos_api/model/merchant_account_public_profile.dart';
import 'package:pointpos_api/model/merchant_account_public_profile.jser.dart';
import 'package:pointpos_api/model/merchant_account_shift.dart';
import 'package:pointpos_api/model/merchant_account_shift.jser.dart';
import 'package:pointpos_api/model/modifier.dart';
import 'package:pointpos_api/model/modifier.jser.dart';
import 'package:pointpos_api/model/modifier_options.dart';
import 'package:pointpos_api/model/modifier_options.jser.dart';
import 'package:pointpos_api/model/not_found_exception.dart';
import 'package:pointpos_api/model/not_found_exception.jser.dart';
import 'package:pointpos_api/model/order.dart';
import 'package:pointpos_api/model/order.jser.dart';
import 'package:pointpos_api/model/order_cash.dart';
import 'package:pointpos_api/model/order_cash.jser.dart';
import 'package:pointpos_api/model/order_discounts.dart';
import 'package:pointpos_api/model/order_discounts.jser.dart';
import 'package:pointpos_api/model/order_gratuities.dart';
import 'package:pointpos_api/model/order_gratuities.jser.dart';
import 'package:pointpos_api/model/order_items.dart';
import 'package:pointpos_api/model/order_items.jser.dart';
import 'package:pointpos_api/model/order_modifiers.dart';
import 'package:pointpos_api/model/order_modifiers.jser.dart';
import 'package:pointpos_api/model/order_option_ids.dart';
import 'package:pointpos_api/model/order_option_ids.jser.dart';
import 'package:pointpos_api/model/order_payments.dart';
import 'package:pointpos_api/model/order_payments.jser.dart';
import 'package:pointpos_api/model/order_taxes.dart';
import 'package:pointpos_api/model/order_taxes.jser.dart';
import 'package:pointpos_api/model/outlet.dart';
import 'package:pointpos_api/model/outlet.jser.dart';
import 'package:pointpos_api/model/outlet_receipt_settings.dart';
import 'package:pointpos_api/model/outlet_receipt_settings.jser.dart';
import 'package:pointpos_api/model/outlet_receipt_settings_outlet_info.dart';
import 'package:pointpos_api/model/outlet_receipt_settings_outlet_info.jser.dart';
import 'package:pointpos_api/model/payment_configuration.dart';
import 'package:pointpos_api/model/payment_configuration.jser.dart';
import 'package:pointpos_api/model/payment_configuration_configurations.dart';
import 'package:pointpos_api/model/payment_configuration_configurations.jser.dart';
import 'package:pointpos_api/model/payment_configuration_group.dart';
import 'package:pointpos_api/model/payment_configuration_group.jser.dart';
import 'package:pointpos_api/model/profile.dart';
import 'package:pointpos_api/model/profile.jser.dart';
import 'package:pointpos_api/model/profile_all_of.dart';
import 'package:pointpos_api/model/profile_all_of.jser.dart';
import 'package:pointpos_api/model/promo.dart';
import 'package:pointpos_api/model/promo.jser.dart';
import 'package:pointpos_api/model/promo_promo_period.dart';
import 'package:pointpos_api/model/promo_promo_period.jser.dart';
import 'package:pointpos_api/model/promo_promo_period_date_range.dart';
import 'package:pointpos_api/model/promo_promo_period_date_range.jser.dart';
import 'package:pointpos_api/model/promo_promo_period_time_range.dart';
import 'package:pointpos_api/model/promo_promo_period_time_range.jser.dart';
import 'package:pointpos_api/model/promo_promo_period_week_day.dart';
import 'package:pointpos_api/model/promo_promo_period_week_day.jser.dart';
import 'package:pointpos_api/model/promo_requirement.dart';
import 'package:pointpos_api/model/promo_requirement.jser.dart';
import 'package:pointpos_api/model/promo_requirement_eligible_categories.dart';
import 'package:pointpos_api/model/promo_requirement_eligible_categories.jser.dart';
import 'package:pointpos_api/model/promo_requirement_eligible_items.dart';
import 'package:pointpos_api/model/promo_requirement_eligible_items.jser.dart';
import 'package:pointpos_api/model/promo_reward.dart';
import 'package:pointpos_api/model/promo_reward.jser.dart';
import 'package:pointpos_api/model/promo_reward_discount.dart';
import 'package:pointpos_api/model/promo_reward_discount.jser.dart';
import 'package:pointpos_api/model/purchase_order.dart';
import 'package:pointpos_api/model/purchase_order.jser.dart';
import 'package:pointpos_api/model/purchase_order_items.dart';
import 'package:pointpos_api/model/purchase_order_items.jser.dart';
import 'package:pointpos_api/model/purchase_order_variants.dart';
import 'package:pointpos_api/model/purchase_order_variants.jser.dart';
import 'package:pointpos_api/model/recipe.dart';
import 'package:pointpos_api/model/recipe.jser.dart';
import 'package:pointpos_api/model/recipe_ingredients.dart';
import 'package:pointpos_api/model/recipe_ingredients.jser.dart';
import 'package:pointpos_api/model/refresh_token.dart';
import 'package:pointpos_api/model/refresh_token.jser.dart';
import 'package:pointpos_api/model/refund_order.dart';
import 'package:pointpos_api/model/refund_order.jser.dart';
import 'package:pointpos_api/model/refund_order_items.dart';
import 'package:pointpos_api/model/refund_order_items.jser.dart';
import 'package:pointpos_api/model/reports_sales.dart';
import 'package:pointpos_api/model/reports_sales.jser.dart';
import 'package:pointpos_api/model/reports_sales_sales.dart';
import 'package:pointpos_api/model/reports_sales_sales.jser.dart';
import 'package:pointpos_api/model/resend_email_verification.dart';
import 'package:pointpos_api/model/resend_email_verification.jser.dart';
import 'package:pointpos_api/model/reset_password.dart';
import 'package:pointpos_api/model/reset_password.jser.dart';
import 'package:pointpos_api/model/role.dart';
import 'package:pointpos_api/model/role.jser.dart';
import 'package:pointpos_api/model/role_permission.dart';
import 'package:pointpos_api/model/role_permission.jser.dart';
import 'package:pointpos_api/model/sales_type.dart';
import 'package:pointpos_api/model/sales_type.jser.dart';
import 'package:pointpos_api/model/send_receipt.dart';
import 'package:pointpos_api/model/send_receipt.jser.dart';
import 'package:pointpos_api/model/shift.dart';
import 'package:pointpos_api/model/shift.jser.dart';
import 'package:pointpos_api/model/shift_card.dart';
import 'package:pointpos_api/model/shift_card.jser.dart';
import 'package:pointpos_api/model/shift_cash.dart';
import 'package:pointpos_api/model/shift_cash.jser.dart';
import 'package:pointpos_api/model/shift_others.dart';
import 'package:pointpos_api/model/shift_others.jser.dart';
import 'package:pointpos_api/model/shift_sold_items.dart';
import 'package:pointpos_api/model/shift_sold_items.jser.dart';
import 'package:pointpos_api/model/signup.dart';
import 'package:pointpos_api/model/signup.jser.dart';
import 'package:pointpos_api/model/signup_all_of.dart';
import 'package:pointpos_api/model/signup_all_of.jser.dart';
import 'package:pointpos_api/model/splash_screen.dart';
import 'package:pointpos_api/model/splash_screen.jser.dart';
import 'package:pointpos_api/model/start_shift.dart';
import 'package:pointpos_api/model/start_shift.jser.dart';
import 'package:pointpos_api/model/supplier.dart';
import 'package:pointpos_api/model/supplier.jser.dart';
import 'package:pointpos_api/model/table.dart';
import 'package:pointpos_api/model/table.jser.dart';
import 'package:pointpos_api/model/table_group.dart';
import 'package:pointpos_api/model/table_group.jser.dart';
import 'package:pointpos_api/model/table_location.dart';
import 'package:pointpos_api/model/table_location.jser.dart';
import 'package:pointpos_api/model/tax.dart';
import 'package:pointpos_api/model/tax.jser.dart';
import 'package:pointpos_api/model/token.dart';
import 'package:pointpos_api/model/token.jser.dart';
import 'package:pointpos_api/model/unauthorized_exception.dart';
import 'package:pointpos_api/model/unauthorized_exception.jser.dart';
import 'package:pointpos_api/model/unit.dart';
import 'package:pointpos_api/model/unit.jser.dart';
import 'package:pointpos_api/model/update_item.dart';
import 'package:pointpos_api/model/update_item.jser.dart';
import 'package:pointpos_api/model/update_item_cost_of_goods_sold.dart';
import 'package:pointpos_api/model/update_item_cost_of_goods_sold.jser.dart';
import 'package:pointpos_api/model/update_item_inventory.dart';
import 'package:pointpos_api/model/update_item_inventory.jser.dart';
import 'package:pointpos_api/model/update_item_price_per_sales_type.dart';
import 'package:pointpos_api/model/update_item_price_per_sales_type.jser.dart';
import 'package:pointpos_api/model/update_item_variants.dart';
import 'package:pointpos_api/model/update_item_variants.jser.dart';
import 'package:pointpos_api/model/update_profile.dart';
import 'package:pointpos_api/model/update_profile.jser.dart';
import 'package:pointpos_api/model/validation_exception.dart';
import 'package:pointpos_api/model/validation_exception.jser.dart';