mindbody-api-v6 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +357 -0
- data/Rakefile +8 -0
- data/docs/AddAppointmentRequest.md +23 -0
- data/docs/AddAppointmentResponse.md +8 -0
- data/docs/AddArrivalRequest.md +9 -0
- data/docs/AddArrivalResponse.md +9 -0
- data/docs/AddClientRequest.md +61 -0
- data/docs/AddClientResponse.md +8 -0
- data/docs/AddClientToClassRequest.md +17 -0
- data/docs/AddClientToClassResponse.md +8 -0
- data/docs/AddClientToClassVisit.md +28 -0
- data/docs/AddClientToEnrollmentRequest.md +15 -0
- data/docs/AddContactLogRequest.md +16 -0
- data/docs/AddContactLogType.md +9 -0
- data/docs/Amenity.md +9 -0
- data/docs/Appointment.md +24 -0
- data/docs/AppointmentApi.md +460 -0
- data/docs/AppointmentOption.md +11 -0
- data/docs/AssignedClientIndex.md +9 -0
- data/docs/AutopaySchedule.md +10 -0
- data/docs/Availability.md +15 -0
- data/docs/BookingWindow.md +11 -0
- data/docs/CheckoutAppointmentBookingRequest.md +14 -0
- data/docs/CheckoutItem.md +9 -0
- data/docs/CheckoutItemWrapper.md +17 -0
- data/docs/CheckoutPaymentInfo.md +9 -0
- data/docs/CheckoutShoppingCartRequest.md +18 -0
- data/docs/ClassApi.md +589 -0
- data/docs/ClassDescription.md +22 -0
- data/docs/ClassPayrollEvent.md +10 -0
- data/docs/ClassSchedule.md +29 -0
- data/docs/Client.md +61 -0
- data/docs/ClientApi.md +1473 -0
- data/docs/ClientContract.md +16 -0
- data/docs/ClientCreditCard.md +17 -0
- data/docs/ClientDocument.md +10 -0
- data/docs/ClientIndex.md +13 -0
- data/docs/ClientIndexValue.md +10 -0
- data/docs/ClientMembership.md +20 -0
- data/docs/ClientPurchaseRecord.md +16 -0
- data/docs/ClientRelationship.md +10 -0
- data/docs/ClientService.md +18 -0
- data/docs/Color.md +9 -0
- data/docs/ContactLog.md +18 -0
- data/docs/ContactLogComment.md +11 -0
- data/docs/ContactLogSubType.md +8 -0
- data/docs/ContactLogType.md +9 -0
- data/docs/Contract.md +41 -0
- data/docs/ContractItem.md +14 -0
- data/docs/Course.md +17 -0
- data/docs/CreditCardInfo.md +16 -0
- data/docs/CrossRegionalClientAssociation.md +10 -0
- data/docs/CustomClientField.md +10 -0
- data/docs/CustomClientFieldValue.md +11 -0
- data/docs/CustomPaymentMethod.md +9 -0
- data/docs/EnrollmentApi.md +137 -0
- data/docs/FormulaNote.md +12 -0
- data/docs/GetActivationCodeResponse.md +9 -0
- data/docs/GetActiveClientMembershipsRequest.md +11 -0
- data/docs/GetActiveClientMembershipsResponse.md +9 -0
- data/docs/GetActiveSessionTimesRequest.md +13 -0
- data/docs/GetActiveSessionTimesResponse.md +9 -0
- data/docs/GetAppointmentOptionsResponse.md +8 -0
- data/docs/GetBookableItemsRequest.md +16 -0
- data/docs/GetBookableItemsResponse.md +9 -0
- data/docs/GetClassDescriptionsRequest.md +15 -0
- data/docs/GetClassDescriptionsResponse.md +9 -0
- data/docs/GetClassPayrollRequest.md +13 -0
- data/docs/GetClassPayrollResponse.md +9 -0
- data/docs/GetClassSchedulesRequest.md +16 -0
- data/docs/GetClassSchedulesResponse.md +9 -0
- data/docs/GetClassVisitsRequest.md +9 -0
- data/docs/GetClassVisitsResponse.md +8 -0
- data/docs/GetClassesRequest.md +22 -0
- data/docs/GetClassesResponse.md +9 -0
- data/docs/GetClientAccountBalancesRequest.md +12 -0
- data/docs/GetClientAccountBalancesResponse.md +9 -0
- data/docs/GetClientContractsRequest.md +12 -0
- data/docs/GetClientContractsResponse.md +9 -0
- data/docs/GetClientFormulaNotesRequest.md +11 -0
- data/docs/GetClientFormulaNotesResponse.md +9 -0
- data/docs/GetClientIndexesRequest.md +8 -0
- data/docs/GetClientIndexesResponse.md +8 -0
- data/docs/GetClientPurchasesRequest.md +13 -0
- data/docs/GetClientPurchasesResponse.md +9 -0
- data/docs/GetClientReferralTypesRequest.md +8 -0
- data/docs/GetClientReferralTypesResponse.md +8 -0
- data/docs/GetClientServicesRequest.md +20 -0
- data/docs/GetClientServicesResponse.md +9 -0
- data/docs/GetClientVisitsRequest.md +15 -0
- data/docs/GetClientVisitsResponse.md +9 -0
- data/docs/GetClientsRequest.md +13 -0
- data/docs/GetClientsResponse.md +9 -0
- data/docs/GetContactLogsRequest.md +16 -0
- data/docs/GetContactLogsResponse.md +9 -0
- data/docs/GetContractsRequest.md +13 -0
- data/docs/GetContractsResponse.md +9 -0
- data/docs/GetCrossRegionalClientAssociationsRequest.md +11 -0
- data/docs/GetCrossRegionalClientAssociationsResponse.md +9 -0
- data/docs/GetCustomClientFieldsRequest.md +9 -0
- data/docs/GetCustomClientFieldsResponse.md +9 -0
- data/docs/GetCustomPaymentMethodsRequest.md +9 -0
- data/docs/GetCustomPaymentMethodsResponse.md +9 -0
- data/docs/GetEnrollmentsRequest.md +16 -0
- data/docs/GetEnrollmentsResponse.md +9 -0
- data/docs/GetGiftCardResponse.md +9 -0
- data/docs/GetGiftCardsRequest.md +12 -0
- data/docs/GetLocationsRequest.md +9 -0
- data/docs/GetLocationsResponse.md +9 -0
- data/docs/GetPackagesRequest.md +11 -0
- data/docs/GetPackagesResponse.md +9 -0
- data/docs/GetProductsRequest.md +15 -0
- data/docs/GetProductsResponse.md +9 -0
- data/docs/GetProgramsRequest.md +11 -0
- data/docs/GetProgramsResponse.md +9 -0
- data/docs/GetRequiredClientFieldsResponse.md +8 -0
- data/docs/GetResourcesRequest.md +13 -0
- data/docs/GetResourcesResponse.md +9 -0
- data/docs/GetSalesRequest.md +7 -0
- data/docs/GetSalesResponse.md +9 -0
- data/docs/GetScheduleItemsRequest.md +14 -0
- data/docs/GetScheduleItemsResponse.md +9 -0
- data/docs/GetServicesRequest.md +18 -0
- data/docs/GetServicesResponse.md +9 -0
- data/docs/GetSessionTypesRequest.md +11 -0
- data/docs/GetSessionTypesResponse.md +9 -0
- data/docs/GetSitesRequest.md +10 -0
- data/docs/GetSitesResponse.md +9 -0
- data/docs/GetStaffAppointmentsRequest.md +15 -0
- data/docs/GetStaffAppointmentsResponse.md +9 -0
- data/docs/GetStaffPermissionsRequest.md +8 -0
- data/docs/GetStaffPermissionsResponse.md +8 -0
- data/docs/GetStaffRequest.md +14 -0
- data/docs/GetStaffResponse.md +9 -0
- data/docs/GetTimeClockRequest.md +13 -0
- data/docs/GetTimeClockResponse.md +9 -0
- data/docs/GetWaitlistEntriesRequest.md +14 -0
- data/docs/GetWaitlistEntriesResponse.md +9 -0
- data/docs/GiftCard.md +19 -0
- data/docs/GiftCardLayout.md +9 -0
- data/docs/IssueRequest.md +9 -0
- data/docs/IssueResponse.md +10 -0
- data/docs/Level.md +10 -0
- data/docs/Liability.md +10 -0
- data/docs/Location.md +32 -0
- data/docs/MembershipTypeRestriction.md +9 -0
- data/docs/ModelClass.md +33 -0
- data/docs/Package.md +13 -0
- data/docs/PaginationResponse.md +11 -0
- data/docs/PayrollApi.md +140 -0
- data/docs/Product.md +18 -0
- data/docs/Program.md +11 -0
- data/docs/ProspectStage.md +10 -0
- data/docs/PurchaseContractRequest.md +18 -0
- data/docs/PurchaseContractResponse.md +11 -0
- data/docs/PurchaseGiftCardRequest.md +19 -0
- data/docs/PurchaseGiftCardResponse.md +17 -0
- data/docs/PurchasedItem.md +9 -0
- data/docs/Relationship.md +10 -0
- data/docs/RemoveClientFromClassRequest.md +12 -0
- data/docs/RemoveClientFromClassResponse.md +8 -0
- data/docs/RemoveFromWaitlistRequest.md +8 -0
- data/docs/RemoveFromWaitlistResponse.md +7 -0
- data/docs/Resource.md +9 -0
- data/docs/Sale.md +15 -0
- data/docs/SaleApi.md +683 -0
- data/docs/SalePayment.md +12 -0
- data/docs/SalesRep.md +12 -0
- data/docs/SendPasswordResetEmailRequest.md +10 -0
- data/docs/Service.md +16 -0
- data/docs/SessionType.md +17 -0
- data/docs/Site.md +27 -0
- data/docs/SiteApi.md +362 -0
- data/docs/Size.md +9 -0
- data/docs/Staff.md +31 -0
- data/docs/StaffApi.md +131 -0
- data/docs/StaffPermissionGroup.md +11 -0
- data/docs/StoredCardInfo.md +8 -0
- data/docs/SubstituteClassTeacherRequest.md +13 -0
- data/docs/SubstituteClassTeacherResponse.md +8 -0
- data/docs/SubstituteTeacherClass.md +27 -0
- data/docs/TimeCardEvent.md +10 -0
- data/docs/TimeClockReport.md +13 -0
- data/docs/Unavailability.md +11 -0
- data/docs/UpcomingAutopayEvent.md +11 -0
- data/docs/UpdateAppointmentRequest.md +19 -0
- data/docs/UpdateAppointmentResponse.md +8 -0
- data/docs/UpdateClientRequest.md +11 -0
- data/docs/UpdateClientResponse.md +8 -0
- data/docs/UpdateClientServiceRequest.md +11 -0
- data/docs/UpdateClientServiceResponse.md +8 -0
- data/docs/UpdateClientVisitRequest.md +13 -0
- data/docs/UpdateClientVisitResponse.md +8 -0
- data/docs/UpdateContactLogComment.md +9 -0
- data/docs/UpdateContactLogRequest.md +16 -0
- data/docs/UpdateContactLogType.md +9 -0
- data/docs/UploadClientDocumentRequest.md +9 -0
- data/docs/UploadClientDocumentResponse.md +9 -0
- data/docs/UploadClientPhotoRequest.md +9 -0
- data/docs/UploadClientPhotoResponse.md +9 -0
- data/docs/User.md +11 -0
- data/docs/UserTokenApi.md +115 -0
- data/docs/Visit.md +25 -0
- data/docs/WaitlistEntry.md +16 -0
- data/git_push.sh +55 -0
- data/lib/swagger_client.rb +241 -0
- data/lib/swagger_client/api/appointment_api.rb +570 -0
- data/lib/swagger_client/api/class_api.rb +727 -0
- data/lib/swagger_client/api/client_api.rb +1795 -0
- data/lib/swagger_client/api/enrollment_api.rb +180 -0
- data/lib/swagger_client/api/payroll_api.rb +181 -0
- data/lib/swagger_client/api/sale_api.rb +829 -0
- data/lib/swagger_client/api/site_api.rb +433 -0
- data/lib/swagger_client/api/staff_api.rb +171 -0
- data/lib/swagger_client/api/user_token_api.rb +150 -0
- data/lib/swagger_client/api_client.rb +389 -0
- data/lib/swagger_client/api_error.rb +38 -0
- data/lib/swagger_client/configuration.rb +209 -0
- data/lib/swagger_client/models/add_appointment_request.rb +395 -0
- data/lib/swagger_client/models/add_appointment_response.rb +184 -0
- data/lib/swagger_client/models/add_arrival_request.rb +204 -0
- data/lib/swagger_client/models/add_arrival_response.rb +194 -0
- data/lib/swagger_client/models/add_client_request.rb +766 -0
- data/lib/swagger_client/models/add_client_response.rb +184 -0
- data/lib/swagger_client/models/add_client_to_class_request.rb +284 -0
- data/lib/swagger_client/models/add_client_to_class_response.rb +184 -0
- data/lib/swagger_client/models/add_client_to_class_visit.rb +442 -0
- data/lib/swagger_client/models/add_client_to_enrollment_request.rb +266 -0
- data/lib/swagger_client/models/add_contact_log_request.rb +278 -0
- data/lib/swagger_client/models/add_contact_log_type.rb +197 -0
- data/lib/swagger_client/models/amenity.rb +195 -0
- data/lib/swagger_client/models/appointment.rb +393 -0
- data/lib/swagger_client/models/appointment_option.rb +215 -0
- data/lib/swagger_client/models/assigned_client_index.rb +195 -0
- data/lib/swagger_client/models/autopay_schedule.rb +204 -0
- data/lib/swagger_client/models/availability.rb +257 -0
- data/lib/swagger_client/models/booking_window.rb +215 -0
- data/lib/swagger_client/models/checkout_appointment_booking_request.rb +246 -0
- data/lib/swagger_client/models/checkout_item.rb +196 -0
- data/lib/swagger_client/models/checkout_item_wrapper.rb +286 -0
- data/lib/swagger_client/models/checkout_payment_info.rb +196 -0
- data/lib/swagger_client/models/checkout_shopping_cart_request.rb +318 -0
- data/lib/swagger_client/models/class_description.rb +325 -0
- data/lib/swagger_client/models/class_payroll_event.rb +204 -0
- data/lib/swagger_client/models/class_schedule.rb +399 -0
- data/lib/swagger_client/models/client.rb +769 -0
- data/lib/swagger_client/models/client_contract.rb +301 -0
- data/lib/swagger_client/models/client_credit_card.rb +275 -0
- data/lib/swagger_client/models/client_document.rb +238 -0
- data/lib/swagger_client/models/client_index.rb +271 -0
- data/lib/swagger_client/models/client_index_value.rb +205 -0
- data/lib/swagger_client/models/client_membership.rb +340 -0
- data/lib/swagger_client/models/client_purchase_record.rb +265 -0
- data/lib/swagger_client/models/client_relationship.rb +205 -0
- data/lib/swagger_client/models/client_service.rb +319 -0
- data/lib/swagger_client/models/color.rb +195 -0
- data/lib/swagger_client/models/contact_log.rb +289 -0
- data/lib/swagger_client/models/contact_log_comment.rb +215 -0
- data/lib/swagger_client/models/contact_log_sub_type.rb +185 -0
- data/lib/swagger_client/models/contact_log_type.rb +197 -0
- data/lib/swagger_client/models/contract.rb +522 -0
- data/lib/swagger_client/models/contract_item.rb +244 -0
- data/lib/swagger_client/models/course.rb +275 -0
- data/lib/swagger_client/models/credit_card_info.rb +256 -0
- data/lib/swagger_client/models/cross_regional_client_association.rb +205 -0
- data/lib/swagger_client/models/custom_client_field.rb +205 -0
- data/lib/swagger_client/models/custom_client_field_value.rb +215 -0
- data/lib/swagger_client/models/custom_payment_method.rb +194 -0
- data/lib/swagger_client/models/formula_note.rb +225 -0
- data/lib/swagger_client/models/get_activation_code_response.rb +194 -0
- data/lib/swagger_client/models/get_active_client_memberships_request.rb +219 -0
- data/lib/swagger_client/models/get_active_client_memberships_response.rb +196 -0
- data/lib/swagger_client/models/get_active_session_times_request.rb +270 -0
- data/lib/swagger_client/models/get_active_session_times_response.rb +196 -0
- data/lib/swagger_client/models/get_appointment_options_response.rb +186 -0
- data/lib/swagger_client/models/get_bookable_items_request.rb +275 -0
- data/lib/swagger_client/models/get_bookable_items_response.rb +196 -0
- data/lib/swagger_client/models/get_class_descriptions_request.rb +256 -0
- data/lib/swagger_client/models/get_class_descriptions_response.rb +196 -0
- data/lib/swagger_client/models/get_class_payroll_request.rb +234 -0
- data/lib/swagger_client/models/get_class_payroll_response.rb +196 -0
- data/lib/swagger_client/models/get_class_schedules_request.rb +274 -0
- data/lib/swagger_client/models/get_class_schedules_response.rb +196 -0
- data/lib/swagger_client/models/get_class_visits_request.rb +194 -0
- data/lib/swagger_client/models/get_class_visits_response.rb +184 -0
- data/lib/swagger_client/models/get_classes_request.rb +338 -0
- data/lib/swagger_client/models/get_classes_response.rb +196 -0
- data/lib/swagger_client/models/get_client_account_balances_request.rb +231 -0
- data/lib/swagger_client/models/get_client_account_balances_response.rb +196 -0
- data/lib/swagger_client/models/get_client_contracts_request.rb +229 -0
- data/lib/swagger_client/models/get_client_contracts_response.rb +196 -0
- data/lib/swagger_client/models/get_client_formula_notes_request.rb +214 -0
- data/lib/swagger_client/models/get_client_formula_notes_response.rb +196 -0
- data/lib/swagger_client/models/get_client_indexes_request.rb +184 -0
- data/lib/swagger_client/models/get_client_indexes_response.rb +186 -0
- data/lib/swagger_client/models/get_client_purchases_request.rb +239 -0
- data/lib/swagger_client/models/get_client_purchases_response.rb +196 -0
- data/lib/swagger_client/models/get_client_referral_types_request.rb +184 -0
- data/lib/swagger_client/models/get_client_referral_types_response.rb +186 -0
- data/lib/swagger_client/models/get_client_services_request.rb +313 -0
- data/lib/swagger_client/models/get_client_services_response.rb +196 -0
- data/lib/swagger_client/models/get_client_visits_request.rb +259 -0
- data/lib/swagger_client/models/get_client_visits_response.rb +196 -0
- data/lib/swagger_client/models/get_clients_request.rb +236 -0
- data/lib/swagger_client/models/get_clients_response.rb +196 -0
- data/lib/swagger_client/models/get_contact_logs_request.rb +275 -0
- data/lib/swagger_client/models/get_contact_logs_response.rb +196 -0
- data/lib/swagger_client/models/get_contracts_request.rb +241 -0
- data/lib/swagger_client/models/get_contracts_response.rb +196 -0
- data/lib/swagger_client/models/get_cross_regional_client_associations_request.rb +214 -0
- data/lib/swagger_client/models/get_cross_regional_client_associations_response.rb +196 -0
- data/lib/swagger_client/models/get_custom_client_fields_request.rb +194 -0
- data/lib/swagger_client/models/get_custom_client_fields_response.rb +196 -0
- data/lib/swagger_client/models/get_custom_payment_methods_request.rb +194 -0
- data/lib/swagger_client/models/get_custom_payment_methods_response.rb +196 -0
- data/lib/swagger_client/models/get_enrollments_request.rb +274 -0
- data/lib/swagger_client/models/get_enrollments_response.rb +196 -0
- data/lib/swagger_client/models/get_gift_card_response.rb +196 -0
- data/lib/swagger_client/models/get_gift_cards_request.rb +226 -0
- data/lib/swagger_client/models/get_locations_request.rb +194 -0
- data/lib/swagger_client/models/get_locations_response.rb +196 -0
- data/lib/swagger_client/models/get_packages_request.rb +216 -0
- data/lib/swagger_client/models/get_packages_response.rb +196 -0
- data/lib/swagger_client/models/get_products_request.rb +260 -0
- data/lib/swagger_client/models/get_products_response.rb +196 -0
- data/lib/swagger_client/models/get_programs_request.rb +248 -0
- data/lib/swagger_client/models/get_programs_response.rb +196 -0
- data/lib/swagger_client/models/get_required_client_fields_response.rb +186 -0
- data/lib/swagger_client/models/get_resources_request.rb +236 -0
- data/lib/swagger_client/models/get_resources_response.rb +196 -0
- data/lib/swagger_client/models/get_sales_request.rb +174 -0
- data/lib/swagger_client/models/get_sales_response.rb +196 -0
- data/lib/swagger_client/models/get_schedule_items_request.rb +248 -0
- data/lib/swagger_client/models/get_schedule_items_response.rb +196 -0
- data/lib/swagger_client/models/get_services_request.rb +290 -0
- data/lib/swagger_client/models/get_services_response.rb +196 -0
- data/lib/swagger_client/models/get_session_types_request.rb +216 -0
- data/lib/swagger_client/models/get_session_types_response.rb +196 -0
- data/lib/swagger_client/models/get_sites_request.rb +206 -0
- data/lib/swagger_client/models/get_sites_response.rb +196 -0
- data/lib/swagger_client/models/get_staff_appointments_request.rb +262 -0
- data/lib/swagger_client/models/get_staff_appointments_response.rb +196 -0
- data/lib/swagger_client/models/get_staff_permissions_request.rb +189 -0
- data/lib/swagger_client/models/get_staff_permissions_response.rb +184 -0
- data/lib/swagger_client/models/get_staff_request.rb +248 -0
- data/lib/swagger_client/models/get_staff_response.rb +195 -0
- data/lib/swagger_client/models/get_time_clock_request.rb +234 -0
- data/lib/swagger_client/models/get_time_clock_response.rb +196 -0
- data/lib/swagger_client/models/get_waitlist_entries_request.rb +252 -0
- data/lib/swagger_client/models/get_waitlist_entries_response.rb +196 -0
- data/lib/swagger_client/models/gift_card.rb +300 -0
- data/lib/swagger_client/models/gift_card_layout.rb +195 -0
- data/lib/swagger_client/models/issue_request.rb +195 -0
- data/lib/swagger_client/models/issue_response.rb +204 -0
- data/lib/swagger_client/models/level.rb +205 -0
- data/lib/swagger_client/models/liability.rb +204 -0
- data/lib/swagger_client/models/location.rb +428 -0
- data/lib/swagger_client/models/membership_type_restriction.rb +194 -0
- data/lib/swagger_client/models/model_class.rb +473 -0
- data/lib/swagger_client/models/package.rb +238 -0
- data/lib/swagger_client/models/pagination_response.rb +214 -0
- data/lib/swagger_client/models/product.rb +284 -0
- data/lib/swagger_client/models/program.rb +248 -0
- data/lib/swagger_client/models/prospect_stage.rb +204 -0
- data/lib/swagger_client/models/purchase_contract_request.rb +309 -0
- data/lib/swagger_client/models/purchase_contract_response.rb +214 -0
- data/lib/swagger_client/models/purchase_gift_card_request.rb +309 -0
- data/lib/swagger_client/models/purchase_gift_card_response.rb +274 -0
- data/lib/swagger_client/models/purchased_item.rb +194 -0
- data/lib/swagger_client/models/relationship.rb +205 -0
- data/lib/swagger_client/models/remove_client_from_class_request.rb +234 -0
- data/lib/swagger_client/models/remove_client_from_class_response.rb +184 -0
- data/lib/swagger_client/models/remove_from_waitlist_request.rb +191 -0
- data/lib/swagger_client/models/remove_from_waitlist_response.rb +174 -0
- data/lib/swagger_client/models/resource.rb +195 -0
- data/lib/swagger_client/models/sale.rb +258 -0
- data/lib/swagger_client/models/sale_payment.rb +224 -0
- data/lib/swagger_client/models/sales_rep.rb +226 -0
- data/lib/swagger_client/models/send_password_reset_email_request.rb +220 -0
- data/lib/swagger_client/models/service.rb +264 -0
- data/lib/swagger_client/models/session_type.rb +308 -0
- data/lib/swagger_client/models/site.rb +374 -0
- data/lib/swagger_client/models/size.rb +194 -0
- data/lib/swagger_client/models/staff.rb +420 -0
- data/lib/swagger_client/models/staff_permission_group.rb +240 -0
- data/lib/swagger_client/models/stored_card_info.rb +183 -0
- data/lib/swagger_client/models/substitute_class_teacher_request.rb +244 -0
- data/lib/swagger_client/models/substitute_class_teacher_response.rb +184 -0
- data/lib/swagger_client/models/substitute_teacher_class.rb +375 -0
- data/lib/swagger_client/models/time_card_event.rb +204 -0
- data/lib/swagger_client/models/time_clock_report.rb +236 -0
- data/lib/swagger_client/models/unavailability.rb +214 -0
- data/lib/swagger_client/models/upcoming_autopay_event.rb +248 -0
- data/lib/swagger_client/models/update_appointment_request.rb +301 -0
- data/lib/swagger_client/models/update_appointment_response.rb +184 -0
- data/lib/swagger_client/models/update_client_request.rb +219 -0
- data/lib/swagger_client/models/update_client_response.rb +184 -0
- data/lib/swagger_client/models/update_client_service_request.rb +219 -0
- data/lib/swagger_client/models/update_client_service_response.rb +184 -0
- data/lib/swagger_client/models/update_client_visit_request.rb +239 -0
- data/lib/swagger_client/models/update_client_visit_response.rb +184 -0
- data/lib/swagger_client/models/update_contact_log_comment.rb +194 -0
- data/lib/swagger_client/models/update_contact_log_request.rb +268 -0
- data/lib/swagger_client/models/update_contact_log_type.rb +196 -0
- data/lib/swagger_client/models/upload_client_document_request.rb +204 -0
- data/lib/swagger_client/models/upload_client_document_response.rb +194 -0
- data/lib/swagger_client/models/upload_client_photo_request.rb +223 -0
- data/lib/swagger_client/models/upload_client_photo_response.rb +194 -0
- data/lib/swagger_client/models/user.rb +214 -0
- data/lib/swagger_client/models/visit.rb +413 -0
- data/lib/swagger_client/models/waitlist_entry.rb +264 -0
- data/lib/swagger_client/version.rb +15 -0
- data/mindbody-api-6.0.0.gem +0 -0
- data/mindbody-swagger.gem +0 -0
- data/spec/api/appointment_api_spec.rb +165 -0
- data/spec/api/class_api_spec.rb +202 -0
- data/spec/api/client_api_spec.rb +435 -0
- data/spec/api/enrollment_api_spec.rb +72 -0
- data/spec/api/payroll_api_spec.rb +74 -0
- data/spec/api/sale_api_spec.rb +222 -0
- data/spec/api/site_api_spec.rb +132 -0
- data/spec/api/staff_api_spec.rb +69 -0
- data/spec/api/user_token_api_spec.rb +62 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/add_appointment_request_spec.rb +135 -0
- data/spec/models/add_appointment_response_spec.rb +41 -0
- data/spec/models/add_arrival_request_spec.rb +47 -0
- data/spec/models/add_arrival_response_spec.rb +47 -0
- data/spec/models/add_client_request_spec.rb +363 -0
- data/spec/models/add_client_response_spec.rb +41 -0
- data/spec/models/add_client_to_class_request_spec.rb +95 -0
- data/spec/models/add_client_to_class_response_spec.rb +41 -0
- data/spec/models/add_client_to_class_visit_spec.rb +173 -0
- data/spec/models/add_client_to_enrollment_request_spec.rb +83 -0
- data/spec/models/add_contact_log_request_spec.rb +89 -0
- data/spec/models/add_contact_log_type_spec.rb +47 -0
- data/spec/models/amenity_spec.rb +47 -0
- data/spec/models/appointment_option_spec.rb +59 -0
- data/spec/models/appointment_spec.rb +145 -0
- data/spec/models/assigned_client_index_spec.rb +47 -0
- data/spec/models/autopay_schedule_spec.rb +53 -0
- data/spec/models/availability_spec.rb +83 -0
- data/spec/models/booking_window_spec.rb +59 -0
- data/spec/models/checkout_appointment_booking_request_spec.rb +77 -0
- data/spec/models/checkout_item_spec.rb +47 -0
- data/spec/models/checkout_item_wrapper_spec.rb +95 -0
- data/spec/models/checkout_payment_info_spec.rb +47 -0
- data/spec/models/checkout_shopping_cart_request_spec.rb +101 -0
- data/spec/models/class_description_spec.rb +125 -0
- data/spec/models/class_payroll_event_spec.rb +53 -0
- data/spec/models/class_schedule_spec.rb +167 -0
- data/spec/models/client_contract_spec.rb +93 -0
- data/spec/models/client_credit_card_spec.rb +95 -0
- data/spec/models/client_document_spec.rb +53 -0
- data/spec/models/client_index_spec.rb +75 -0
- data/spec/models/client_index_value_spec.rb +53 -0
- data/spec/models/client_membership_spec.rb +117 -0
- data/spec/models/client_purchase_record_spec.rb +89 -0
- data/spec/models/client_relationship_spec.rb +53 -0
- data/spec/models/client_service_spec.rb +105 -0
- data/spec/models/client_spec.rb +367 -0
- data/spec/models/color_spec.rb +47 -0
- data/spec/models/contact_log_comment_spec.rb +59 -0
- data/spec/models/contact_log_spec.rb +101 -0
- data/spec/models/contact_log_sub_type_spec.rb +41 -0
- data/spec/models/contact_log_type_spec.rb +47 -0
- data/spec/models/contract_item_spec.rb +77 -0
- data/spec/models/contract_spec.rb +239 -0
- data/spec/models/course_spec.rb +95 -0
- data/spec/models/credit_card_info_spec.rb +89 -0
- data/spec/models/cross_regional_client_association_spec.rb +53 -0
- data/spec/models/custom_client_field_spec.rb +53 -0
- data/spec/models/custom_client_field_value_spec.rb +59 -0
- data/spec/models/custom_payment_method_spec.rb +47 -0
- data/spec/models/formula_note_spec.rb +65 -0
- data/spec/models/get_activation_code_response_spec.rb +47 -0
- data/spec/models/get_active_client_memberships_request_spec.rb +59 -0
- data/spec/models/get_active_client_memberships_response_spec.rb +47 -0
- data/spec/models/get_active_session_times_request_spec.rb +75 -0
- data/spec/models/get_active_session_times_response_spec.rb +47 -0
- data/spec/models/get_appointment_options_response_spec.rb +41 -0
- data/spec/models/get_bookable_items_request_spec.rb +89 -0
- data/spec/models/get_bookable_items_response_spec.rb +47 -0
- data/spec/models/get_class_descriptions_request_spec.rb +83 -0
- data/spec/models/get_class_descriptions_response_spec.rb +47 -0
- data/spec/models/get_class_payroll_request_spec.rb +71 -0
- data/spec/models/get_class_payroll_response_spec.rb +47 -0
- data/spec/models/get_class_schedules_request_spec.rb +89 -0
- data/spec/models/get_class_schedules_response_spec.rb +47 -0
- data/spec/models/get_class_visits_request_spec.rb +47 -0
- data/spec/models/get_class_visits_response_spec.rb +41 -0
- data/spec/models/get_classes_request_spec.rb +125 -0
- data/spec/models/get_classes_response_spec.rb +47 -0
- data/spec/models/get_client_account_balances_request_spec.rb +65 -0
- data/spec/models/get_client_account_balances_response_spec.rb +47 -0
- data/spec/models/get_client_contracts_request_spec.rb +65 -0
- data/spec/models/get_client_contracts_response_spec.rb +47 -0
- data/spec/models/get_client_formula_notes_request_spec.rb +59 -0
- data/spec/models/get_client_formula_notes_response_spec.rb +47 -0
- data/spec/models/get_client_indexes_request_spec.rb +41 -0
- data/spec/models/get_client_indexes_response_spec.rb +41 -0
- data/spec/models/get_client_purchases_request_spec.rb +71 -0
- data/spec/models/get_client_purchases_response_spec.rb +47 -0
- data/spec/models/get_client_referral_types_request_spec.rb +41 -0
- data/spec/models/get_client_referral_types_response_spec.rb +41 -0
- data/spec/models/get_client_services_request_spec.rb +113 -0
- data/spec/models/get_client_services_response_spec.rb +47 -0
- data/spec/models/get_client_visits_request_spec.rb +83 -0
- data/spec/models/get_client_visits_response_spec.rb +47 -0
- data/spec/models/get_clients_request_spec.rb +71 -0
- data/spec/models/get_clients_response_spec.rb +47 -0
- data/spec/models/get_contact_logs_request_spec.rb +89 -0
- data/spec/models/get_contact_logs_response_spec.rb +47 -0
- data/spec/models/get_contracts_request_spec.rb +71 -0
- data/spec/models/get_contracts_response_spec.rb +47 -0
- data/spec/models/get_cross_regional_client_associations_request_spec.rb +59 -0
- data/spec/models/get_cross_regional_client_associations_response_spec.rb +47 -0
- data/spec/models/get_custom_client_fields_request_spec.rb +47 -0
- data/spec/models/get_custom_client_fields_response_spec.rb +47 -0
- data/spec/models/get_custom_payment_methods_request_spec.rb +47 -0
- data/spec/models/get_custom_payment_methods_response_spec.rb +47 -0
- data/spec/models/get_enrollments_request_spec.rb +89 -0
- data/spec/models/get_enrollments_response_spec.rb +47 -0
- data/spec/models/get_gift_card_response_spec.rb +47 -0
- data/spec/models/get_gift_cards_request_spec.rb +65 -0
- data/spec/models/get_locations_request_spec.rb +47 -0
- data/spec/models/get_locations_response_spec.rb +47 -0
- data/spec/models/get_packages_request_spec.rb +59 -0
- data/spec/models/get_packages_response_spec.rb +47 -0
- data/spec/models/get_products_request_spec.rb +83 -0
- data/spec/models/get_products_response_spec.rb +47 -0
- data/spec/models/get_programs_request_spec.rb +63 -0
- data/spec/models/get_programs_response_spec.rb +47 -0
- data/spec/models/get_required_client_fields_response_spec.rb +41 -0
- data/spec/models/get_resources_request_spec.rb +71 -0
- data/spec/models/get_resources_response_spec.rb +47 -0
- data/spec/models/get_sales_request_spec.rb +35 -0
- data/spec/models/get_sales_response_spec.rb +47 -0
- data/spec/models/get_schedule_items_request_spec.rb +77 -0
- data/spec/models/get_schedule_items_response_spec.rb +47 -0
- data/spec/models/get_services_request_spec.rb +101 -0
- data/spec/models/get_services_response_spec.rb +47 -0
- data/spec/models/get_session_types_request_spec.rb +59 -0
- data/spec/models/get_session_types_response_spec.rb +47 -0
- data/spec/models/get_sites_request_spec.rb +53 -0
- data/spec/models/get_sites_response_spec.rb +47 -0
- data/spec/models/get_staff_appointments_request_spec.rb +83 -0
- data/spec/models/get_staff_appointments_response_spec.rb +47 -0
- data/spec/models/get_staff_permissions_request_spec.rb +41 -0
- data/spec/models/get_staff_permissions_response_spec.rb +41 -0
- data/spec/models/get_staff_request_spec.rb +77 -0
- data/spec/models/get_staff_response_spec.rb +47 -0
- data/spec/models/get_time_clock_request_spec.rb +71 -0
- data/spec/models/get_time_clock_response_spec.rb +47 -0
- data/spec/models/get_waitlist_entries_request_spec.rb +77 -0
- data/spec/models/get_waitlist_entries_response_spec.rb +47 -0
- data/spec/models/gift_card_layout_spec.rb +47 -0
- data/spec/models/gift_card_spec.rb +107 -0
- data/spec/models/issue_request_spec.rb +47 -0
- data/spec/models/issue_response_spec.rb +53 -0
- data/spec/models/level_spec.rb +53 -0
- data/spec/models/liability_spec.rb +53 -0
- data/spec/models/location_spec.rb +185 -0
- data/spec/models/membership_type_restriction_spec.rb +47 -0
- data/spec/models/model_class_spec.rb +195 -0
- data/spec/models/package_spec.rb +71 -0
- data/spec/models/pagination_response_spec.rb +59 -0
- data/spec/models/product_spec.rb +101 -0
- data/spec/models/program_spec.rb +63 -0
- data/spec/models/prospect_stage_spec.rb +53 -0
- data/spec/models/purchase_contract_request_spec.rb +101 -0
- data/spec/models/purchase_contract_response_spec.rb +59 -0
- data/spec/models/purchase_gift_card_request_spec.rb +107 -0
- data/spec/models/purchase_gift_card_response_spec.rb +95 -0
- data/spec/models/purchased_item_spec.rb +47 -0
- data/spec/models/relationship_spec.rb +53 -0
- data/spec/models/remove_client_from_class_request_spec.rb +65 -0
- data/spec/models/remove_client_from_class_response_spec.rb +41 -0
- data/spec/models/remove_from_waitlist_request_spec.rb +41 -0
- data/spec/models/remove_from_waitlist_response_spec.rb +35 -0
- data/spec/models/resource_spec.rb +47 -0
- data/spec/models/sale_payment_spec.rb +65 -0
- data/spec/models/sale_spec.rb +83 -0
- data/spec/models/sales_rep_spec.rb +65 -0
- data/spec/models/send_password_reset_email_request_spec.rb +53 -0
- data/spec/models/service_spec.rb +89 -0
- data/spec/models/session_type_spec.rb +99 -0
- data/spec/models/site_spec.rb +155 -0
- data/spec/models/size_spec.rb +47 -0
- data/spec/models/staff_permission_group_spec.rb +67 -0
- data/spec/models/staff_spec.rb +179 -0
- data/spec/models/stored_card_info_spec.rb +41 -0
- data/spec/models/substitute_class_teacher_request_spec.rb +71 -0
- data/spec/models/substitute_class_teacher_response_spec.rb +41 -0
- data/spec/models/substitute_teacher_class_spec.rb +155 -0
- data/spec/models/time_card_event_spec.rb +53 -0
- data/spec/models/time_clock_report_spec.rb +71 -0
- data/spec/models/unavailability_spec.rb +59 -0
- data/spec/models/upcoming_autopay_event_spec.rb +63 -0
- data/spec/models/update_appointment_request_spec.rb +107 -0
- data/spec/models/update_appointment_response_spec.rb +41 -0
- data/spec/models/update_client_request_spec.rb +59 -0
- data/spec/models/update_client_response_spec.rb +41 -0
- data/spec/models/update_client_service_request_spec.rb +59 -0
- data/spec/models/update_client_service_response_spec.rb +41 -0
- data/spec/models/update_client_visit_request_spec.rb +71 -0
- data/spec/models/update_client_visit_response_spec.rb +41 -0
- data/spec/models/update_contact_log_comment_spec.rb +47 -0
- data/spec/models/update_contact_log_request_spec.rb +89 -0
- data/spec/models/update_contact_log_type_spec.rb +47 -0
- data/spec/models/upload_client_document_request_spec.rb +47 -0
- data/spec/models/upload_client_document_response_spec.rb +47 -0
- data/spec/models/upload_client_photo_request_spec.rb +47 -0
- data/spec/models/upload_client_photo_response_spec.rb +47 -0
- data/spec/models/user_spec.rb +59 -0
- data/spec/models/visit_spec.rb +155 -0
- data/spec/models/waitlist_entry_spec.rb +89 -0
- data/spec/spec_helper.rb +111 -0
- data/swagger_client-1.0.0.gem +0 -0
- data/swagger_client.gemspec +45 -0
- metadata +1050 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
# SwaggerClient::ClientContract
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**agreement_date** | **DateTime** | The date on which the contract was signed. | [optional]
|
7
|
+
**autopay_status** | **String** | The status of the client’s autopay. | [optional]
|
8
|
+
**contract_name** | **String** | The name of the contract. | [optional]
|
9
|
+
**end_date** | **DateTime** | The date that the contract expires. | [optional]
|
10
|
+
**id** | **Integer** | The unique ID of the contract. | [optional]
|
11
|
+
**origination_location_id** | **Integer** | The ID of the location where the contract was issued. | [optional]
|
12
|
+
**start_date** | **DateTime** | The date that the contract became active. | [optional]
|
13
|
+
**site_id** | **Integer** | The ID of the site where the contract was issued. | [optional]
|
14
|
+
**upcoming_autopay_events** | [**Array<UpcomingAutopayEvent>**](UpcomingAutopayEvent.md) | Contains details of the autopay events. | [optional]
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# SwaggerClient::ClientCreditCard
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**address** | **String** | The billing address for the credit card. | [optional]
|
7
|
+
**card_holder** | **String** | The name of the card holder. | [optional]
|
8
|
+
**card_number** | **String** | The credit card number. | [optional]
|
9
|
+
**card_type** | **String** | The type of credit card, for example Visa or MasterCard. | [optional]
|
10
|
+
**city** | **String** | The city in which the billing address is located. | [optional]
|
11
|
+
**exp_month** | **String** | The month in which the credit card expires. | [optional]
|
12
|
+
**exp_year** | **String** | The year in which the credit card expires. | [optional]
|
13
|
+
**last_four** | **String** | The last four digits of the credit card number. | [optional]
|
14
|
+
**postal_code** | **String** | The postal code where the billing address is located. | [optional]
|
15
|
+
**state** | **String** | The state that the billing address is located in. | [optional]
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# SwaggerClient::ClientDocument
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**file_name** | **String** | The name of the file to be used on the client’s documents page when it is uploaded. |
|
7
|
+
**media_type** | **String** | The type of file or file extension. Possible values are: * pdf * jpg * jpeg * tif * tiff * png * doc * docx * bmp * txt * rtf * xlsx * xls * gif * zip * ppt * pptx * mov |
|
8
|
+
**buffer** | **String** | A Base64-encoded string representation of the file’s byte array. |
|
9
|
+
|
10
|
+
|
data/docs/ClientIndex.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# SwaggerClient::ClientIndex
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | The unique ID of the client index. | [optional]
|
7
|
+
**name** | **String** | The name of the client index. | [optional]
|
8
|
+
**required_business_mode** | **BOOLEAN** | When `true`, indicates that the index is required when creating profiles in business mode. | [optional]
|
9
|
+
**required_consumer_mode** | **BOOLEAN** | When `true`, indicates that the index is required when creating profiles in consumer mode. | [optional]
|
10
|
+
**values** | [**Array<ClientIndexValue>**](ClientIndexValue.md) | Contains information about the index's possible values. | [optional]
|
11
|
+
**action** | **String** | The action performed on this object. | [optional]
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# SwaggerClient::ClientIndexValue
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**active** | **BOOLEAN** | When `true`, indicates that the index value can be assigned to its parent index.<br /> When `false`, indicates that the index value has been deactivated and cannot be assigned to its parent index. | [optional]
|
7
|
+
**id** | **Integer** | The index value’s ID. | [optional]
|
8
|
+
**name** | **String** | The name of the client index value. | [optional]
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# SwaggerClient::ClientMembership
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**restricted_locations** | [**Array<Location>**](Location.md) | The locations that the membership is restricted to, if any. | [optional]
|
7
|
+
**icon_code** | **String** | Text code that represents the `MembershipIcon`. | [optional]
|
8
|
+
**active_date** | **DateTime** | The date that this pricing option became active and could be used to pay for services. | [optional]
|
9
|
+
**count** | **Integer** | The number of service sessions this pricing option contained when first purchased. | [optional]
|
10
|
+
**current** | **BOOLEAN** | When `true`, there are service sessions remaining on the pricing option that can be used pay for the current session.<br /> When `false`, the client cannot use this pricing option to pay for other services. | [optional]
|
11
|
+
**expiration_date** | **DateTime** | The date when the pricing option expires and can no longer be used to pay for services, even if unused service sessions remain on the option; expressed as UTC. | [optional]
|
12
|
+
**id** | **Integer** | The unique ID assigned to this pricing option. | [optional]
|
13
|
+
**name** | **String** | The name of this pricing option. | [optional]
|
14
|
+
**payment_date** | **DateTime** | The date on which the client paid for this pricing option. | [optional]
|
15
|
+
**program** | [**Program**](Program.md) | Contains information about the service category this service falls under. | [optional]
|
16
|
+
**remaining** | **Integer** | The number of service sessions remaining in the pricing option that can still be used. | [optional]
|
17
|
+
**site_id** | **Integer** | The ID of the subscriber site associated with this pricing option. | [optional]
|
18
|
+
**action** | **String** | The action taken. | [optional]
|
19
|
+
|
20
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# SwaggerClient::ClientPurchaseRecord
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**sale** | [**Sale**](Sale.md) | Contains details about the sale and payment for a purchase event. | [optional]
|
7
|
+
**description** | **String** | The item name and description. | [optional]
|
8
|
+
**account_payment** | **BOOLEAN** | If `true`, the item was a payment credited to an account. | [optional]
|
9
|
+
**price** | **Float** | The item's price before taxes and discounts. | [optional]
|
10
|
+
**amount_paid** | **Float** | The amount paid for the item. | [optional]
|
11
|
+
**discount** | **Float** | The discount amount that was applied to the item. | [optional]
|
12
|
+
**tax** | **Float** | The amount of tax that was applied to the item. | [optional]
|
13
|
+
**returned** | **BOOLEAN** | The return status of the item. If `true`, this item was returned. | [optional]
|
14
|
+
**quantity** | **Integer** | The quantity of the item purchased. | [optional]
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# SwaggerClient::ClientRelationship
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**related_client_id** | **String** | The RSSID of the related client. | [optional]
|
7
|
+
**relationship** | [**Relationship**](Relationship.md) | Contains details about the relationship between two clients. | [optional]
|
8
|
+
**relationship_name** | **String** | The name of the relationship of the related client. | [optional]
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# SwaggerClient::ClientService
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**active_date** | **DateTime** | The date that this pricing option became active and could be used to pay for services. | [optional]
|
7
|
+
**count** | **Integer** | The number of service sessions this pricing option contained when first purchased. | [optional]
|
8
|
+
**current** | **BOOLEAN** | When `true`, there are service sessions remaining on the pricing option that can be used pay for the current session.<br /> When `false`, the client cannot use this pricing option to pay for other services. | [optional]
|
9
|
+
**expiration_date** | **DateTime** | The date when the pricing option expires and can no longer be used to pay for services, even if unused service sessions remain on the option; expressed as UTC. | [optional]
|
10
|
+
**id** | **Integer** | The unique ID assigned to this pricing option. | [optional]
|
11
|
+
**name** | **String** | The name of this pricing option. | [optional]
|
12
|
+
**payment_date** | **DateTime** | The date on which the client paid for this pricing option. | [optional]
|
13
|
+
**program** | [**Program**](Program.md) | Contains information about the service category this service falls under. | [optional]
|
14
|
+
**remaining** | **Integer** | The number of service sessions remaining in the pricing option that can still be used. | [optional]
|
15
|
+
**site_id** | **Integer** | The ID of the subscriber site associated with this pricing option. | [optional]
|
16
|
+
**action** | **String** | The action taken. | [optional]
|
17
|
+
|
18
|
+
|
data/docs/Color.md
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
# SwaggerClient::Color
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | The ID of the product color. | [optional]
|
7
|
+
**name** | **String** | The name of the product color. | [optional]
|
8
|
+
|
9
|
+
|
data/docs/ContactLog.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# SwaggerClient::ContactLog
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | The contact log’s ID. | [optional]
|
7
|
+
**text** | **String** | The contact log’s body text. | [optional]
|
8
|
+
**created_date_time** | **DateTime** | The local date and time when the contact log was created. | [optional]
|
9
|
+
**followup_by_date** | **DateTime** | The date by which the assigned staff member should close or follow up on this contact log. | [optional]
|
10
|
+
**contact_method** | **String** | The method by which the client wants to be contacted. | [optional]
|
11
|
+
**contact_name** | **String** | The name of the client to contact. | [optional]
|
12
|
+
**client** | [**Client**](Client.md) | Information about the client to whom the contact log belongs. | [optional]
|
13
|
+
**created_by** | [**Staff**](Staff.md) | Information about the staff member who created the contact log. | [optional]
|
14
|
+
**assigned_to** | [**Staff**](Staff.md) | Information about the staff member to whom the contact log is assigned for follow up. | [optional]
|
15
|
+
**comments** | [**Array<ContactLogComment>**](ContactLogComment.md) | The contact log’s comments. | [optional]
|
16
|
+
**types** | [**Array<ContactLogType>**](ContactLogType.md) | Contains information about contact log types. | [optional]
|
17
|
+
|
18
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# SwaggerClient::ContactLogComment
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | The comment’s ID. | [optional]
|
7
|
+
**text** | **String** | The comment’s body text. | [optional]
|
8
|
+
**created_date_time** | **DateTime** | The local time when the comment was created. | [optional]
|
9
|
+
**created_by** | [**Staff**](Staff.md) | Information about the staff member who created the comment. | [optional]
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# SwaggerClient::ContactLogType
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | The contact log type’s ID. | [optional]
|
7
|
+
**sub_types** | [**Array<ContactLogSubType>**](ContactLogSubType.md) | A list of the subtypes being used to tag this contact log type. | [optional]
|
8
|
+
|
9
|
+
|
data/docs/Contract.md
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# SwaggerClient::Contract
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | The contract’s ID at the subscriber’s business. | [optional]
|
7
|
+
**name** | **String** | The name of the contract. | [optional]
|
8
|
+
**description** | **String** | A description of the contract. | [optional]
|
9
|
+
**assigns_membership_id** | **Integer** | The ID of the membership that was assigned to the client when the client signed up for a contract. | [optional]
|
10
|
+
**assigns_membership_name** | **String** | The name of the membership that was assigned to the client when the client signed up for this contract. | [optional]
|
11
|
+
**sold_online** | **BOOLEAN** | When `true`, indicates that this membership is intended to be shown to clients in client experiences.<br /> When `false`, this contract should only be shown to staff members. | [optional]
|
12
|
+
**contract_items** | [**Array<ContractItem>**](ContractItem.md) | Contains information about the items in the contract. | [optional]
|
13
|
+
**intro_offer** | **String** | Defines whether this contract is treated as an introductory offer. If this is an introductory offer, then clients are always charged a set number of times rather than month to month, using their AutoPays. Possible values are: * None * NewConsumer * NewAndReturningConsumer | [optional]
|
14
|
+
**autopay_schedule** | [**AutopaySchedule**](AutopaySchedule.md) | Contains information about the AutoPay schedule. This parameter is null if `AutopayTriggerType` has a value of `PricingOptionRunsOutOrExpires`. | [optional]
|
15
|
+
**number_of_autopays** | **Integer** | The number of times that the AutoPay is to be run. This value is null if `FrequencyType` is `MonthToMonth`. | [optional]
|
16
|
+
**autopay_trigger_type** | **String** | Defines whether the AutoPay, if applicable to this contract, runs on a set schedule or when the pricing option runs out or expires. Possible values are: * OnSetSchedule * PricingOptionRunsOutOrExpires | [optional]
|
17
|
+
**action_upon_completion_of_autopays** | **String** | The renewal action to be taken when this AutoPay is completed. Possible values are: * ContractExpires * ContractAutomaticallyRenews | [optional]
|
18
|
+
**clients_charged_on** | **String** | The value that indicates when clients are charged. Possible values are: * OnSaleDate * FirstOfTheMonth * FifteenthOfTheMonth * LastDayOfTheMonth * FirstOrFifteenthOfTheMonth * FirstOrSixteenthOfTheMonth * FifteenthOrEndOfTheMonth * SpecificDate | [optional]
|
19
|
+
**clients_charged_on_specific_date** | **DateTime** | If `ClientsChargedOn` is defined as a specific date, this property holds the value of that date. Otherwise, this property is null. | [optional]
|
20
|
+
**discount_amount** | **Float** | The calculated discount applied to the items in this contract. | [optional]
|
21
|
+
**deposit_amount** | **Float** | The amount of the deposit required for this contract. | [optional]
|
22
|
+
**first_autopay_free** | **BOOLEAN** | When `true`, indicates that the first payment for the AutoPay is free. | [optional]
|
23
|
+
**last_autopay_free** | **BOOLEAN** | When `true`, indicates that the last payment for the AutoPay is free. | [optional]
|
24
|
+
**client_terminate_online** | **BOOLEAN** | When `true`, indicates that the client can terminate this contract on the Internet. | [optional]
|
25
|
+
**membership_type_restrictions** | [**Array<MembershipTypeRestriction>**](MembershipTypeRestriction.md) | Contains information about the memberships that can purchase this contract. If null, then no membership restrictions exist, and anyone can purchase the contract. | [optional]
|
26
|
+
**location_purchase_restriction_ids** | **Array<Integer>** | The IDs of the locations where this contract may be sold. If there are no restrictions, this value is null. | [optional]
|
27
|
+
**location_purchase_restriction_names** | **Array<String>** | Location names where the contract may be purchased. If this value is null, there are no restrictions. | [optional]
|
28
|
+
**agreement_terms** | **String** | Business-defined terms and conditions for the contract. | [optional]
|
29
|
+
**requires_electronic_confirmation** | **BOOLEAN** | When `true`, clients who purchase the contract are prompted to agree to the terms of the contract the next time that they log in. | [optional]
|
30
|
+
**autopay_enabled** | **BOOLEAN** | When `true`, this contract establishes an AutoPay on the client’s account. | [optional]
|
31
|
+
**first_payment_amount_subtotal** | **Float** | The subtotal of the amount that the client is to be charged when signing up for the contract. | [optional]
|
32
|
+
**first_payment_amount_tax** | **Float** | The amount of tax that the client is to be charged when signing up for the contract. | [optional]
|
33
|
+
**first_payment_amount_total** | **Float** | The total amount that the client is to be charged when signing up for the contract. | [optional]
|
34
|
+
**recurring_payment_amount_subtotal** | **Float** | The subtotal amount that the client is to be charged on an ongoing basis. | [optional]
|
35
|
+
**recurring_payment_amount_tax** | **Float** | The amount of tax the client is to be charged on an ongoing basis. | [optional]
|
36
|
+
**recurring_payment_amount_total** | **Float** | The total amount that the client is to be charged on an ongoing basis. | [optional]
|
37
|
+
**total_contract_amount_subtotal** | **Float** | The subtotal amount that the client is to be charged over the lifespan of the contract. | [optional]
|
38
|
+
**total_contract_amount_tax** | **Float** | The total amount of tax the client is to be charged over the lifespan of the contract. | [optional]
|
39
|
+
**total_contract_amount_total** | **Float** | The total amount the client is to be charged over the lifespan of the contract. | [optional]
|
40
|
+
|
41
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# SwaggerClient::ContractItem
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **String** | The ID of the item. | [optional]
|
7
|
+
**name** | **String** | The name of the item. | [optional]
|
8
|
+
**description** | **String** | A description of the item. | [optional]
|
9
|
+
**type** | **String** | The type of the item. | [optional]
|
10
|
+
**price** | **Float** | The price of the item. | [optional]
|
11
|
+
**quantity** | **Integer** | The quantity of the item. | [optional]
|
12
|
+
**one_time_item** | **BOOLEAN** | When `true`, indicates that the item is charged only once.<br /> When `false`, indicates that the item is charged multiple times. | [optional]
|
13
|
+
|
14
|
+
|
data/docs/Course.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# SwaggerClient::Course
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | The course ID. | [optional]
|
7
|
+
**name** | **String** | The course name. | [optional]
|
8
|
+
**description** | **String** | A description of the course. | [optional]
|
9
|
+
**notes** | **String** | Any notes that have been written about the course. | [optional]
|
10
|
+
**start_date** | **DateTime** | Date and time that the course starts. | [optional]
|
11
|
+
**end_date** | **DateTime** | Date and time that the course ends. | [optional]
|
12
|
+
**location** | [**Location**](Location.md) | Contains information about the location. | [optional]
|
13
|
+
**organizer** | [**Staff**](Staff.md) | Contains information about the staff member in charge of organizing the event. | [optional]
|
14
|
+
**program** | [**Program**](Program.md) | Contains information about the service category to which the course belongs. | [optional]
|
15
|
+
**image_url** | **String** | The URL of the image associated with this course, if one exists. | [optional]
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# SwaggerClient::CreditCardInfo
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**credit_card_number** | **String** | | [optional]
|
7
|
+
**exp_month** | **String** | | [optional]
|
8
|
+
**exp_year** | **String** | | [optional]
|
9
|
+
**billing_name** | **String** | | [optional]
|
10
|
+
**billing_address** | **String** | | [optional]
|
11
|
+
**billing_city** | **String** | | [optional]
|
12
|
+
**billing_state** | **String** | | [optional]
|
13
|
+
**billing_postal_code** | **String** | | [optional]
|
14
|
+
**save_info** | **BOOLEAN** | | [optional]
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# SwaggerClient::CrossRegionalClientAssociation
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**site_id** | **Integer** | The ID of the site to which the client belongs. | [optional]
|
7
|
+
**client_id** | **String** | The client’s RSSID. | [optional]
|
8
|
+
**unique_id** | **Integer** | The client’s unique ID. | [optional]
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# SwaggerClient::CustomClientField
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | The ID of the custom client field. | [optional]
|
7
|
+
**data_type** | **String** | The data type of the field. | [optional]
|
8
|
+
**name** | **String** | The name of the field. | [optional]
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# SwaggerClient::CustomClientFieldValue
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**value** | **String** | The value of a specific custom field for a client. | [optional]
|
7
|
+
**id** | **Integer** | The ID of the custom client field. | [optional]
|
8
|
+
**data_type** | **String** | The data type of the field. | [optional]
|
9
|
+
**name** | **String** | The name of the field. | [optional]
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# SwaggerClient::CustomPaymentMethod
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | The ID of the custom payment method. | [optional]
|
7
|
+
**name** | **String** | The name of the custom payment method. | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,137 @@
|
|
1
|
+
# SwaggerClient::EnrollmentApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.mindbodyonline.com*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**enrollment_add_client_to_enrollment**](EnrollmentApi.md#enrollment_add_client_to_enrollment) | **POST** /public/v{version}/enrollment/addclienttoenrollment | Book a client into an enrollment.
|
8
|
+
[**enrollment_get_enrollments**](EnrollmentApi.md#enrollment_get_enrollments) | **GET** /public/v{version}/enrollment/enrollments | Get enrollments scheduled at a site.
|
9
|
+
|
10
|
+
|
11
|
+
# **enrollment_add_client_to_enrollment**
|
12
|
+
> ClassSchedule enrollment_add_client_to_enrollment(request, site_id, version, opts)
|
13
|
+
|
14
|
+
Book a client into an enrollment.
|
15
|
+
|
16
|
+
### Example
|
17
|
+
```ruby
|
18
|
+
# load the gem
|
19
|
+
require 'swagger_client'
|
20
|
+
|
21
|
+
api_instance = SwaggerClient::EnrollmentApi.new
|
22
|
+
|
23
|
+
request = SwaggerClient::AddClientToEnrollmentRequest.new # AddClientToEnrollmentRequest |
|
24
|
+
|
25
|
+
site_id = 'site_id_example' # String | ID of the site from which to pull data.
|
26
|
+
|
27
|
+
version = 'version_example' # String |
|
28
|
+
|
29
|
+
opts = {
|
30
|
+
authorization: '' # String | A staff user authorization token.
|
31
|
+
}
|
32
|
+
|
33
|
+
begin
|
34
|
+
#Book a client into an enrollment.
|
35
|
+
result = api_instance.enrollment_add_client_to_enrollment(request, site_id, version, opts)
|
36
|
+
p result
|
37
|
+
rescue SwaggerClient::ApiError => e
|
38
|
+
puts "Exception when calling EnrollmentApi->enrollment_add_client_to_enrollment: #{e}"
|
39
|
+
end
|
40
|
+
```
|
41
|
+
|
42
|
+
### Parameters
|
43
|
+
|
44
|
+
Name | Type | Description | Notes
|
45
|
+
------------- | ------------- | ------------- | -------------
|
46
|
+
**request** | [**AddClientToEnrollmentRequest**](AddClientToEnrollmentRequest.md)| |
|
47
|
+
**site_id** | **String**| ID of the site from which to pull data. |
|
48
|
+
**version** | **String**| |
|
49
|
+
**authorization** | **String**| A staff user authorization token. | [optional] [default to ]
|
50
|
+
|
51
|
+
### Return type
|
52
|
+
|
53
|
+
[**ClassSchedule**](ClassSchedule.md)
|
54
|
+
|
55
|
+
### Authorization
|
56
|
+
|
57
|
+
No authorization required
|
58
|
+
|
59
|
+
### HTTP request headers
|
60
|
+
|
61
|
+
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded, multipart/form-data
|
62
|
+
- **Accept**: application/json, text/json, application/xml, text/xml, multipart/form-data
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
# **enrollment_get_enrollments**
|
67
|
+
> GetEnrollmentsResponse enrollment_get_enrollments(site_id, version, opts)
|
68
|
+
|
69
|
+
Get enrollments scheduled at a site.
|
70
|
+
|
71
|
+
Returns a list of enrollments. An enrollment is a service, such as a workshop or an event, that a staff member offers to multiple students, who commit to coming to all or most of the scheduled sessions. Enrollments typically run for a limited time only.
|
72
|
+
|
73
|
+
### Example
|
74
|
+
```ruby
|
75
|
+
# load the gem
|
76
|
+
require 'swagger_client'
|
77
|
+
|
78
|
+
api_instance = SwaggerClient::EnrollmentApi.new
|
79
|
+
|
80
|
+
site_id = 'site_id_example' # String | ID of the site from which to pull data.
|
81
|
+
|
82
|
+
version = 'version_example' # String |
|
83
|
+
|
84
|
+
opts = {
|
85
|
+
authorization: '', # String | A staff user authorization token.
|
86
|
+
request_class_schedule_ids: [56], # Array<Integer> | A list of the requested class schedule IDs. If omitted, all class schedule IDs return.
|
87
|
+
request_end_date: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | The end of the date range. The response returns any active enrollments that occur on or before this day.<br /> Default: **StartDate**
|
88
|
+
request_limit: 56, # Integer | Number of results to include, defaults to 100
|
89
|
+
request_location_ids: [56], # Array<Integer> | List of the IDs for the requested locations. If omitted, all location IDs return.
|
90
|
+
request_offset: 56, # Integer | Page offset, defaults to 0.
|
91
|
+
request_program_ids: [56], # Array<Integer> | List of the IDs for the requested programs. If omitted, all program IDs return.
|
92
|
+
request_session_type_ids: [56], # Array<Integer> | List of the IDs for the requested session types. If omitted, all session types IDs return.
|
93
|
+
request_staff_ids: [56], # Array<Integer> | List of the IDs for the requested staff IDs. If omitted, all staff IDs return.
|
94
|
+
request_start_date: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | The start of the date range. The response returns any active enrollments that occur on or after this day.<br /> Default: **today’s date**
|
95
|
+
}
|
96
|
+
|
97
|
+
begin
|
98
|
+
#Get enrollments scheduled at a site.
|
99
|
+
result = api_instance.enrollment_get_enrollments(site_id, version, opts)
|
100
|
+
p result
|
101
|
+
rescue SwaggerClient::ApiError => e
|
102
|
+
puts "Exception when calling EnrollmentApi->enrollment_get_enrollments: #{e}"
|
103
|
+
end
|
104
|
+
```
|
105
|
+
|
106
|
+
### Parameters
|
107
|
+
|
108
|
+
Name | Type | Description | Notes
|
109
|
+
------------- | ------------- | ------------- | -------------
|
110
|
+
**site_id** | **String**| ID of the site from which to pull data. |
|
111
|
+
**version** | **String**| |
|
112
|
+
**authorization** | **String**| A staff user authorization token. | [optional] [default to ]
|
113
|
+
**request_class_schedule_ids** | [**Array<Integer>**](Integer.md)| A list of the requested class schedule IDs. If omitted, all class schedule IDs return. | [optional]
|
114
|
+
**request_end_date** | **DateTime**| The end of the date range. The response returns any active enrollments that occur on or before this day.<br /> Default: **StartDate** | [optional]
|
115
|
+
**request_limit** | **Integer**| Number of results to include, defaults to 100 | [optional]
|
116
|
+
**request_location_ids** | [**Array<Integer>**](Integer.md)| List of the IDs for the requested locations. If omitted, all location IDs return. | [optional]
|
117
|
+
**request_offset** | **Integer**| Page offset, defaults to 0. | [optional]
|
118
|
+
**request_program_ids** | [**Array<Integer>**](Integer.md)| List of the IDs for the requested programs. If omitted, all program IDs return. | [optional]
|
119
|
+
**request_session_type_ids** | [**Array<Integer>**](Integer.md)| List of the IDs for the requested session types. If omitted, all session types IDs return. | [optional]
|
120
|
+
**request_staff_ids** | [**Array<Integer>**](Integer.md)| List of the IDs for the requested staff IDs. If omitted, all staff IDs return. | [optional]
|
121
|
+
**request_start_date** | **DateTime**| The start of the date range. The response returns any active enrollments that occur on or after this day.<br /> Default: **today’s date** | [optional]
|
122
|
+
|
123
|
+
### Return type
|
124
|
+
|
125
|
+
[**GetEnrollmentsResponse**](GetEnrollmentsResponse.md)
|
126
|
+
|
127
|
+
### Authorization
|
128
|
+
|
129
|
+
No authorization required
|
130
|
+
|
131
|
+
### HTTP request headers
|
132
|
+
|
133
|
+
- **Content-Type**: Not defined
|
134
|
+
- **Accept**: application/json, text/json, application/xml, text/xml, multipart/form-data
|
135
|
+
|
136
|
+
|
137
|
+
|