gp_pet_parents_api (EXPERIMENTAL)
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This Dart package is automatically generated by the OpenAPI Generator project:
- API version: 1.3.6
- Build package: org.openapitools.codegen.languages.DartDioClientCodegen
Requirements
- Dart 2.15.0+ or Flutter 2.8.0+
- Dio 5.0.0+ (https://pub.dev/packages/dio)
Installation & Usage
pub.dev
To use the package from pub.dev, please include the following in pubspec.yaml
dependencies:
gp_pet_parents_api: 1.3.6
Github
If this Dart package is published to Github, please include the following in pubspec.yaml
dependencies:
gp_pet_parents_api:
git:
url: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
#ref: main
Local development
To use the package from your local drive, please include the following in pubspec.yaml
dependencies:
gp_pet_parents_api:
path: /path/to/gp_pet_parents_api
Getting Started
Please follow the installation procedure and then run the following:
import 'package:gp_pet_parents_api/gp_pet_parents_api.dart';
final api = GpPetParentsApi().getBookingsApi();
final CreateBookingPetparent createBookingPetparent = ; // CreateBookingPetparent |
final String xCompanyId = xCompanyId_example; // String |
try {
final response = await api.createBookingPetparentV1BookingsPost(createBookingPetparent, xCompanyId);
print(response);
} catch on DioError (e) {
print("Exception when calling BookingsApi->createBookingPetparentV1BookingsPost: $e\n");
}
Documentation for API Endpoints
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
BookingsApi | createBookingPetparentV1BookingsPost | POST /petparent/v1/bookings | Create Booking |
BookingsApi | deleteBookingPetparentV1BookingsOrderIdDelete | DELETE /petparent/v1/bookings/{order_id} | Delete Booking |
BookingsApi | findShopSlotsPetparentV1BookingsAvailabilityGet | GET /petparent/v1/bookings/availability | Find Shop Slots |
BookingsApi | getBookingPetparentV1BookingsOrderIdGet | GET /petparent/v1/bookings/{order_id} | Get Booking |
BookingsApi | getCustomerBookingsPetparentV1BookingsGet | GET /petparent/v1/bookings | Get Customer Bookings |
BookingsApi | nextEmployeeSlotPetparentV1BookingsEmployeesEmployeeIdNextSlotGet | GET /petparent/v1/bookings/employees/{employee_id}/next-slot | Next Employee Slot |
CompaniesApi | getCompaniesPetparentV1CompaniesGet | GET /petparent/v1/companies | Get Companies |
CompanyApi | getCompanyPetparentV1CompanyGet | GET /petparent/v1/company | Get Company |
DefaultApi | healthPetparentV1HealthGet | GET /petparent/v1/health | Health |
DefaultApi | versionsPetparentV1VersionGet | GET /petparent/v1/version | Versions |
PetsApi | addPetVaccinePetparentV1PetsPetIdVaccinesPost | POST /petparent/v1/pets/{pet_id}/vaccines | Add Pet Vaccine |
PetsApi | createPetPetparentV1PetsPost | POST /petparent/v1/pets | Create Pet |
PetsApi | deletePetImagePetparentV1PetsPetIdImageDelete | DELETE /petparent/v1/pets/{pet_id}/image | Delete Pet Image |
PetsApi | deletePetPetparentV1PetsPetIdDelete | DELETE /petparent/v1/pets/{pet_id} | Delete Pet |
PetsApi | deletePetVaccinePetparentV1PetsPetIdVaccinesVaccineIdDelete | DELETE /petparent/v1/pets/{pet_id}/vaccines/{vaccine_id} | Delete Pet Vaccine |
PetsApi | getBreedListPetparentV1PettypesTypesTypeIdBreedsGet | GET /petparent/v1/pettypes/types/{type_id}/breeds | Get Breed List |
PetsApi | getPetListPetparentV1PetsGet | GET /petparent/v1/pets | Get Pet List |
PetsApi | getPetPetparentV1PetsPetIdGet | GET /petparent/v1/pets/{pet_id} | Get Pet |
PetsApi | getPetVaccineListPetparentV1PetsPetIdVaccinesGet | GET /petparent/v1/pets/{pet_id}/vaccines | Get Pet Vaccine List |
PetsApi | getTypeListPetparentV1PettypesTypesGet | GET /petparent/v1/pettypes/types | Get Type List |
PetsApi | updatePetImagePetparentV1PetsPetIdImagePut | PUT /petparent/v1/pets/{pet_id}/image | Update Pet Image |
PetsApi | updatePetPetparentV1PetsPetIdPut | PUT /petparent/v1/pets/{pet_id} | Update Pet |
PetsApi | uploadVaccineImagePetparentV1PetsPetIdVaccinesVaccineIdImagePut | PUT /petparent/v1/pets/{pet_id}/vaccines/{vaccine_id}/image | Upload Vaccine Image |
ProfileApi | deleteProfileImagePetparentV1ProfileImageDelete | DELETE /petparent/v1/profile/image | Delete Profile Image |
ProfileApi | getProfilePetparentV1ProfileGet | GET /petparent/v1/profile | Get Profile |
ProfileApi | updateProfileImagePetparentV1ProfileImagePut | PUT /petparent/v1/profile/image | Update Profile Image |
ProfileApi | updateProfilePetparentV1ProfilePut | PUT /petparent/v1/profile | Update Profile |
ShopsApi | getPetServiceListPetparentV1ShopsShopIdServicesGet | GET /petparent/v1/shops/{shop_id}/services | Get Pet Service List |
ShopsApi | getShopListPetparentV1ShopsGet | GET /petparent/v1/shops | Get Shop List |
ShopsApi | getShopPetparentV1ShopsShopIdGet | GET /petparent/v1/shops/{shop_id} | Get Shop |
ShopsApi | getShopVaccineListPetparentV1ShopsShopIdVaccinesGet | GET /petparent/v1/shops/{shop_id}/vaccines | Get Shop Vaccine List |
ShopsApi | getShopVaccineListPetparentV1ShopsShopIdVaccinesGet_0 | GET /petparent/v1/shops/{shop_id}/vaccines | Get Shop Vaccine List |
VaccinesApi | getCompanyVaccineListPetparentV1NecessaryVaccinesGet | GET /petparent/v1/necessary_vaccines | Get Company Vaccine List |
VaccinesApi | getVaccinesListPetparentV1VaccinesGet | GET /petparent/v1/vaccines | Get Vaccines List |
Documentation For Models
- Address
- Address1
- BookingAdditionalCharge
- BookingCard
- BookingCardImage
- BookingCardNotes
- BookingCustomer
- BookingEmployee
- BookingPet
- BookingService
- BookingShop
- BookingStatus
- BrandingColors
- CommonAddressScheme
- CompanyOnboardingProgress
- CompanyPaymentDetailsScheme
- Coordinates
- CreateBookingPetparent
- CustomerCreateOrUpdateQuery
- DetailBreed
- DetailCompany
- DetailCustomer
- DetailPet
- DetailPetType
- DetailPetVaccine
- DetailShop
- DetailShopVaccine
- DetailVaccine
- EmployeeAvailability
- EmployeeShopPetService
- Error
- ErrorColor
- HTTPValidationError
- Info
- InfoColor
- LocationInner
- OverviewBreed
- OverviewCompany
- OverviewCustomerPetVaccine
- OverviewPet
- OverviewPetType
- OverviewPetVaccine
- OverviewShop
- OverviewShopPetService
- OverviewVaccine
- PaymentStatus
- PeriodAvailability
- PetCreateOrUpdateQuery
- PetVaccineAddQuery
- Primary
- PrimaryColor
- Schedule
- Sex
- ShopAddressScheme
- ShopFeePayer
- ShopPaymentFlow
- Surface
- SurfaceColor
- Text
- TextColor
- TimeSlot
- ValidationError
- Warning
- WarningColor
- WeekSchedule
Documentation For Authorization
Authentication schemes defined for the API:
Auth0ImplicitBearer
- Type: OAuth
- Flow: implicit
- Authorization URL: https://auth.mvp.growth.pet/authorize?audience=https%3A%2F%2Fdev.growth.pet%2Fpetparent
- Scopes: N/A
Auth0HTTPBearer
- Type: HTTP basic authentication