Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {"openapi":"3.0.0","paths":{"/":{"get":{"operationId":"AppController_getHello","parameters":[],"responses":{"200":{"description":""}}}},"/user/register":{"post":{"operationId":"UserController_createUser","summary":"Create User","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/user/login":{"post":{"operationId":"UserController_loginUser","summary":"Login User","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginUserDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/user/me":{"get":{"operationId":"UserController_getCurrentUser","summary":"Get current User","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/user/validate-token":{"get":{"operationId":"UserController_validateToken","summary":"Validate Token","parameters":[],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/user/validate-temp-token":{"get":{"operationId":"UserController_validateTempToken","summary":"Validate Temp Token","parameters":[],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/user/verify-phone-otp":{"post":{"operationId":"UserController_verifyPhoneOtp","summary":"Verify Phone OTP","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyOtpDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/user/update-notification-settings":{"put":{"operationId":"UserController_updateNotificationSettings","summary":"Update notification settings","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditNotificationDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationSettings"}}}}},"security":[{"bearer":[]}],"tags":["User"]}},"/user/change-password":{"put":{"operationId":"UserController_chnagePassword","summary":"Change password","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"security":[{"bearer":[]}],"tags":["User"]}},"/user/verify-email-otp":{"post":{"operationId":"UserController_verifyEmailOtp","summary":"Verify Email OTP","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyOtpDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/user/upload-avatar":{"put":{"operationId":"UserController_uploadAvatar","summary":"Upload Avatar","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadAvatarDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}},"tags":["User"]}},"/user/update-profile":{"put":{"operationId":"UserController_updateProfile","summary":"Update Profile","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfileDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/user/update-email":{"put":{"operationId":"UserController_updateEmail","summary":"Update Email","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEmailDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/user/verify-update-email-otp":{"post":{"operationId":"UserController_verifyUpdateEmailOtp","summary":"Verify update email otp","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyUpdateOtpDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/user/update-phone-number":{"put":{"operationId":"UserController_updatePhoneNumber","summary":"Update Phone Number","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePhoneNumberDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/user/verify-update-phone-number-otp":{"post":{"operationId":"UserController_verifyUpdatePhoneNumberOtp","summary":"Verify update phone number otp","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyUpdateOtpDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/user/get-token-by-id/{id}":{"get":{"operationId":"UserController_getTokenById","summary":"Validate Token","parameters":[],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/user/invalidate-token":{"get":{"operationId":"UserController_invalidateToken","summary":"Invalidate Token","parameters":[],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/user/get-at-by-rt":{"get":{"operationId":"UserController_getATbyRT","summary":"Get AT by RT","parameters":[],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/user/logout":{"get":{"operationId":"UserController_logout","summary":"Logout user","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}},"tags":["User"]}},"/user/register-device-token":{"post":{"operationId":"UserController_registerDeviceToken","summary":"Register device token","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTokenDTO"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}},"tags":["User"]}},"/user/reset-password":{"post":{"operationId":"UserController_resetPassword","summary":"Reset password","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/user/verify-reset-password-otp":{"post":{"operationId":"UserController_verifyResetPasswordOtp","summary":"Verify reset password otp","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyOtpDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/user/verify-reset-password":{"post":{"operationId":"UserController_verifyForgetPassword","summary":"reset password on verification","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyResetPasswordDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/business/all":{"get":{"operationId":"BusinessController_getBusinesses","summary":"Get all businesses","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Business"}}}}}},"security":[{"bearer":[]}],"tags":["Business"]}},"/business/transactions":{"get":{"operationId":"BusinessController_getTransactions","summary":"Get Business transactions","parameters":[],"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Business"]}},"/business/consumer/transactions/latest/{id}":{"get":{"operationId":"BusinessController_getConsumerLatestTransactions","summary":"Get Consumer transactions","parameters":[{"name":"id","required":true,"in":"path","description":"consumer id to fetch transactions","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Business"]}},"/business/consumer/transactions/{id}":{"get":{"operationId":"BusinessController_getConsumerTransactions","summary":"Get Consumer transactions","parameters":[{"name":"id","required":true,"in":"path","description":"consumer id to fetch transactions","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Business"]}},"/business/create-business-profile":{"post":{"operationId":"BusinessController_createBusinessProfile","summary":"Create Business Profile","parameters":[],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Business"}}}}},"security":[{"bearer":[]}],"tags":["Business"]}},"/business":{"get":{"operationId":"BusinessController_getBusinessProfile","summary":"Get Business Profile","
- parameters":[],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Business"}}}}},"tags":["Business"]}},"/business/sign-contract":{"post":{"operationId":"BusinessController_signContractOtp","summary":"Sign Contract","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignContractOtpDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Business"}}}}},"security":[{"bearer":[]}],"tags":["Business"]}},"/business/verify-contract-otp":{"post":{"operationId":"BusinessController_verifyContractOtp","summary":"Verify Contract OTP","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyContractOtpDTO"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Business"}}}}},"security":[{"bearer":[]}],"tags":["Business"]}},"/business/update-business-profile":{"put":{"operationId":"BusinessController_updateBusinessProfile","summary":"Update Business Profile","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditBusinessDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Business"}}}}},"security":[{"bearer":[]}],"tags":["Business"]}},"/business/upload-banner-image":{"post":{"operationId":"BusinessController_uploadIntegratorImage","summary":"Upload Banner Image","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadBannerImageDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}},"security":[{"bearer":[]}],"tags":["Business"]}},"/business/create-company":{"post":{"operationId":"BusinessController_createCompany","summary":"Create Company Profile","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCompanyDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Company"}}}}},"security":[{"bearer":[]}],"tags":["Company"]}},"/business/update-company":{"put":{"operationId":"BusinessController_updateCompany","summary":"Update company","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCompanyDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Company"}}}}},"security":[{"bearer":[]}],"tags":["Company"]}},"/business/edit-working-hours":{"put":{"operationId":"BusinessController_editWorkingHours","summary":"Edit working hours","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditWorkingHourDTO"}}}}},"security":[{"bearer":[]}],"tags":["Company"]}},"/business/review-business/{id}":{"post":{"operationId":"BusinessController_createStaffReview","summary":"Review a busines","parameters":[{"name":"id","required":true,"in":"path","description":"business id to create review","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateStaffReviewDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["Business"]}},"/business/consumer/appointment/services/{id}":{"get":{"operationId":"BusinessController_getConsumerServicesForAppointment","summary":"Get consumer services","parameters":[{"name":"id","required":true,"in":"path","description":"consumer id to get services","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerService"}}}}}},"tags":["Business"]}},"/business/consumer/services/{id}":{"get":{"operationId":"BusinessController_getConsumerServices","summary":"Get consumer services","parameters":[{"name":"id","required":true,"in":"path","description":"consumer id to get services","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerService"}}}}}},"tags":["Business"]}},"/business/consumer/bundles/{id}":{"get":{"operationId":"BusinessController_getConsumerBundles","summary":"Get consumer bundles","parameters":[{"name":"id","required":true,"in":"path","description":"consumer id to get bundles","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerBundle"}}}}}},"tags":["Business"]}},"/business/consumer/activity/latest/{id}":{"get":{"operationId":"BusinessController_getConsumerLatestActivities","summary":"Get consumer activity","parameters":[{"name":"id","required":true,"in":"path","description":"consumer id to get activity","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ClientActivity"}}}}}},"tags":["Business"]}},"/business/consumer/activity/{id}":{"get":{"operationId":"BusinessController_getConsumerActivities","summary":"Get consumer activity","parameters":[{"name":"id","required":true,"in":"path","description":"consumer id to get activity","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ClientActivity"}}}}}},"tags":["Business"]}},"/business/meta/dashboard":{"get":{"operationId":"BusinessController_getBusinessDashboard","summary":"Get business dashbaord","parameters":[],"responses":{"200":{"description":"OK"}},"tags":["Business"]}},"/business/client/dashboard":{"get":{"operationId":"BusinessController_getBusinessClientDashboard","summary":"Get business client data","parameters":[],"responses":{"200":{"description":"OK"}},"tags":["Business"]}},"/business/payment/graph-data":{"get":{"operationId":"BusinessController_getPaymentGraphData","summary":"Get payment graph Data","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/getGraphData"}}}},"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Payment"]}},"/business/upload":{"post":{"operationId":"BusinessController_uploadFile","parameters":[],"responses":{"201":{"description":""}}}},"/business/consumer/update-crm-consent/{id}":{"put":{"operationId":"BusinessController_updateCRMConsent","summary":"Update consumer CRM consent","parameters":[{"name":"id","required":true,"in":"path","description":"consumer id to update crm consent","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCRMConsentUpdateDTO"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Business"]}},"/business/sale-analytics":{"get":{"operationId":"BusinessController_getSaleAnalytics","summary":"Get sale analytics","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryUserDTO"}}}},"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Business"]}},"/business/payment-analytics":{"get":{"operationId":"BusinessController_getPaymentAnalytics","summary":"Get payment analytics","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryUserDTO"}}}},"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Business"]}},"/business/case-sheet-analytics":{"get":{"operationId":"BusinessController_getCaseSheetAnalytics","summary":"Get case sheet analytics","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryUserDTO"}}}},"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Business"]}},"/business/analyses-analytics":{"get":{"operationId":"BusinessController_getAnalysesAnalytics","summary":"Get analyses analytics","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryUserDTO"}}}},"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Business"]}},"/business/service/business/{id}":{"get":{"operationId":"BusinessController_getBusinessByServiceId","summary":"Get business by service ID","parameters":[{"name":"id","required":true,"in":"path","description":"service id to get business from","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Business"]}},"/business/{id}":{"get":{"operationId":"BusinessController_getBusinessById","summary":"Get business by id","parameters":[{"name":"id","required":true,"in":"path","description":"business id to fetch","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Business"}}}}}},"security":[{"bearer":[]}],"tags":["Business"]}},"/staff":{"get":{"operationId":"StaffController_hello","parameters":[],"responses":{"200":{"description":""}}}},"/staff/create-staff":{"post":{"operationId":"StaffController_createStaff","summary":"Create
- Staff","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateStaffDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Staff"}}}}},"security":[{"bearer":[]}],"tags":["Staff"]}},"/staff/onboard-staff":{"post":{"operationId":"StaffController_onboardStaff","summary":"Onboard Staff","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardStaffDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Staff"}}}}},"security":[{"bearer":[]}],"tags":["Staff"]}},"/staff/nfc-badge/{id}":{"post":{"operationId":"StaffController_attachNFCBadge","summary":"Attach NFC Badge","parameters":[{"name":"id","required":true,"in":"path","description":"staff id to attach nfc badge","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachNFCBadgeDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NFCBadge"}}}}},"security":[{"bearer":[]}],"tags":["Staff"]},"delete":{"operationId":"StaffController_detachNFCBadge","summary":"Detach NFC Badge","parameters":[{"name":"id","required":true,"in":"path","description":"staff id to detach nfc badge","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NFCBadge"}}}}},"security":[{"bearer":[]}],"tags":["Staff"]}},"/staff/get-staff":{"get":{"operationId":"StaffController_getStaff","summary":"Get staffs of a business","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Staff"}}}}},"security":[{"bearer":[]}],"tags":["Staff"]}},"/staff/room/{id}":{"get":{"operationId":"StaffController_getStaffByRoom","summary":"Get staffs of a business","parameters":[{"name":"id","required":true,"in":"path","description":"room id to retrieve staff","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Staff"}}}}},"security":[{"bearer":[]}],"tags":["Staff"]}},"/staff/get-staff-by-id/{id}":{"get":{"operationId":"StaffController_getStaffById","summary":"Get staff by id","parameters":[{"name":"id","required":true,"in":"path","description":"staff id to retrieve staff","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Staff"}}}}},"tags":["Staff"]}},"/staff/delete-staff/{id}":{"delete":{"operationId":"StaffController_getDeleteStaff","summary":"Delete staff","parameters":[],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Staff"}}}}},"tags":["Staff"]}},"/staff/link-rooms-and-services":{"post":{"operationId":"StaffController_linkRoomsAndServicesWithStaff","summary":"Link Rooms and Services with Staff","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkRoomsAndServicesWithStaffDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Staff"}}}}},"security":[{"bearer":[]}],"tags":["Staff"]}},"/staff/link-bundles":{"post":{"operationId":"StaffController_linkBundlesWithStaff","summary":"Link Bundles with Staff","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkBundlesWithStaffDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Staff"}}}}},"security":[{"bearer":[]}],"tags":["Staff"]}},"/staff/get-staff-role-access":{"get":{"operationId":"StaffController_getStaffRoleAccess","summary":"Get staff role access","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetStaffRolesDTO"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"tags":["Staff"]}},"/staff/update-staff/{id}":{"put":{"operationId":"StaffController_updateStaff","summary":"Update staff","parameters":[{"name":"id","required":true,"in":"path","description":"staff id to update","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStaffDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Staff"}}}}},"security":[{"bearer":[]}],"tags":["Staff"]}},"/staff/update-email/{id}":{"put":{"operationId":"StaffController_updateEmail","summary":"Update Email for Staff","parameters":[{"name":"id","required":true,"in":"path","description":"staff id to update email","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEmailDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/staff/update-phone-number/{id}":{"put":{"operationId":"StaffController_updatePhoneNumberForBusiness","summary":"Update Phone Number for Staff","parameters":[{"name":"id","required":true,"in":"path","description":"staff id to phone","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePhoneNumberDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/staff/verify-phone-otp/{id}":{"post":{"operationId":"StaffController_verifyPhoneOtpForBusiness","summary":"verify Phone Otp for Staff","parameters":[{"name":"id","required":true,"in":"path","description":"staff id to attach verify phone","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyUpdateOtpDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/staff/verify-email-otp/{id}":{"post":{"operationId":"StaffController_verifyEmailOtpForBusiness","summary":"verify Email Otp for Staff","parameters":[{"name":"id","required":true,"in":"path","description":"staff id to update email","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyUpdateOtpDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["User"]}},"/staff/review-staff/{id}":{"post":{"operationId":"StaffController_createStaffReview","summary":"Review a staff","parameters":[{"name":"id","required":true,"in":"path","description":"staff id to create review","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateStaffReviewDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}}},"tags":["Staff"]}},"/staff/get-staff-by-service/{id}":{"get":{"operationId":"StaffController_getStaffByService","summary":"Get staff by service","parameters":[{"name":"id","required":true,"in":"path","description":"service id to retrieve staff","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Staff"}}}}},"tags":["Staff"]}},"/staff/working-hours/{id}":{"put":{"operationId":"StaffController_updateStaffWorkingHours","summary":"Update staff Working hours","parameters":[{"name":"id","required":true,"in":"path","description":"staff id to update working hours","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditStaffWorkingHourDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkingHours"}}}}},"tags":["Staff"]}},"/staff/role/{id}":{"put":{"operationId":"StaffController_updateStaffRole","summary":"Update staff role","parameters":[{"name":"id","required":true,"in":"path","description":"staff id to update working hours","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStaffRoleDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Staff"}}}}},"tags":["Staff"]}},"/business/room/create-room":{"post":{"operationId":"RoomController_createRoom","summary":"Create room","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRoomDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Room"}}}}},"security":[{"bearer":[]}],"tags":["Room"]}},"/business/room/get-rooms/{id}":{"get":{"operationId":"RoomController_getRoomsByBusiness","summary":"Get rooms","parameters":[{"name":"id","required":true,"in":"path","description":"business id to retrieve rooms","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/
- components/schemas/Room"}}}}}},"security":[{"bearer":[]}],"tags":["Room"]}},"/business/room/{id}":{"delete":{"operationId":"RoomController_deleteService","summary":"Delete Room","parameters":[{"name":"id","required":true,"in":"path","description":"room id to be deleted","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Room"}}}}},"security":[{"bearer":[]}],"tags":["Room"]}},"/business/room/update-room/{id}":{"put":{"operationId":"RoomController_updateRoom","summary":"Update room","parameters":[{"name":"id","required":true,"in":"path","description":"room id to be updated","schema":{"oneOf":[{"type":"string"},{"type":"integer"}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRoomDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Room"}}}}}},"security":[{"bearer":[]}],"tags":["Room"]}},"/business/room/get-unassociated-rooms":{"get":{"operationId":"RoomController_getUnassociatedRoom","summary":"Get unassociated rooms","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Room"}}}}}},"security":[{"bearer":[]}],"tags":["Room"]}},"/business/nfc-reader/create-nfc-reader":{"post":{"operationId":"NfcReaderController_createNfcReader","summary":"Create nfc reader","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNfcReaderDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NfcReader"}}}}},"security":[{"bearer":[]}],"tags":["NFC reader"]}},"/business/nfc-reader/get-nfc-reader":{"get":{"operationId":"NfcReaderController_getNfcReadersByRoom","summary":"Get nfc readers","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NfcReader"}}}}}},"security":[{"bearer":[]}],"tags":["NFC reader"]}},"/business/nfc-reader/{id}":{"delete":{"operationId":"NfcReaderController_deleteService","summary":"Delete nfc reader","parameters":[{"name":"id","required":true,"in":"path","description":"nfc reader id to be deleted","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NfcReader"}}}}},"security":[{"bearer":[]}],"tags":["NFC reader"]}},"/business/nfc-reader/update-nfc-reader/{id}":{"put":{"operationId":"NfcReaderController_updateNfcReader","summary":"Update nfc reader","parameters":[{"name":"id","required":true,"in":"path","description":"nfc id to update","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNfcReaderDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NfcReader"}}}}},"security":[{"bearer":[]}],"tags":["NFC reader"]}},"/business/nfc-reader/get-unassociated-nfc-reader":{"get":{"operationId":"NfcReaderController_getUnassociatedNfcReader","summary":"Get unassociated nfc reader","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NfcReader"}}}}},"security":[{"bearer":[]}],"tags":["NFC reader"]}},"/business/service/create-service":{"post":{"operationId":"ServiceController_createService","summary":"Create Service","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateServiceDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Service"}}}}},"security":[{"bearer":[]}],"tags":["Service"]}},"/business/service/{id}":{"delete":{"operationId":"ServiceController_deleteService","summary":"Delete Service","parameters":[{"name":"id","required":true,"in":"path","description":"service id to be deleted","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Service"}}}}},"security":[{"bearer":[]}],"tags":["Service"]}},"/business/service/get-services":{"get":{"operationId":"ServiceController_getBusinessServicesByOwner","summary":"Get services by busines owner","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Service"}}}}}},"security":[{"bearer":[]}],"tags":["Service"]}},"/business/service/get-service/{id}":{"get":{"operationId":"ServiceController_getBusinessServices","summary":"Get services by business id","parameters":[{"name":"id","required":true,"in":"path","description":"business id to retrieve its services","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Service"}}}}}},"security":[{"bearer":[]}],"tags":["Service"]}},"/business/service/update-service/{id}":{"put":{"operationId":"ServiceController_updateService","summary":"Update service","parameters":[{"name":"id","required":true,"in":"path","description":"service id to be updated","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateServiceDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Service"}}}}},"security":[{"bearer":[]}],"tags":["Service"]}},"/business/service/get-associated-rooms-by-service":{"post":{"operationId":"ServiceController_getAssociatedRoomByService","summary":"Get associated rooms by service","parameters":[{"name":"id","required":true,"in":"path","description":"service id","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindOneByIdParams"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Service"}}}}},"security":[{"bearer":[]}],"tags":["Service"]}},"/business/service/update-service-tnc/{id}":{"put":{"operationId":"ServiceController_updateServiceTnC","summary":"Update terms and conditions of service","parameters":[{"name":"id","required":true,"in":"path","description":"service id to update","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateServiceTnCDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Service"}}}}}},"security":[{"bearer":[]}],"tags":["Service"]}},"/business/bundle/create-bundle":{"post":{"operationId":"BundleController_createBundle","summary":"Create Bundle","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBundleDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}},"security":[{"bearer":[]}],"tags":["Bundle"]}},"/business/bundle/{id}":{"delete":{"operationId":"BundleController_deleteService","summary":"Delete Service","parameters":[{"name":"id","required":true,"in":"path","description":"service id to be deleted","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Service"}}}}},"security":[{"bearer":[]}],"tags":["Service"]}},"/business/bundle/get-bundles":{"get":{"operationId":"BundleController_getBundlesByBusinessOwner","summary":"Get bundles by busines owner","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Bundle"}}}}}},"security":[{"bearer":[]}],"tags":["Bundle"]}},"/business/bundle/get-bundle/{id}":{"get":{"operationId":"BundleController_getBusinessBundles","summary":"Get bundles by business id","parameters":[{"name":"id","required":true,"in":"path","description":"business id to retrieve its bundles","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Service"}}}}}},"security":[{"bearer":[]}],"tags":["Bundle"]}},"/business/bundle/update-bundle/{id}":{"put":{"operationId":"BundleController_updateBundle","summary":"Update bundle","parameters":[{"name":"id","required":true,"in":"path","description":"bundle id to be updated","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBundleDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Bundle"}}}}},"security":[{"bearer":[]}],"tags":["Bundle"]}},"/database/create-exercise":{"post":{"operationId":"DatabaseController_createExercise","summary":"Create Exercise","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateExerciseDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Exercise"}}}}},"security":[{"bearer":[]}],"tags":["Exercise"]}},"/database/get-exercise":{"get":{"operationId":"DatabaseController_getExercise","summary":"Get exercises of a business","parameters":[{"name":"limit","required":true,"in":"query","schema":{"type":"number"
- }},{"name":"page","required":true,"in":"query","schema":{"type":"number"}},{"name":"query","required":true,"in":"query","schema":{"type":"string"}},{"name":"type","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Exercise"}}}}}},"security":[{"bearer":[]}],"tags":["Exercise"]}},"/database/update-exercise/{id}":{"put":{"operationId":"DatabaseController_updateExercise","summary":"Update Exercise","parameters":[{"name":"id","required":true,"in":"path","description":"exercise id to update","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateExerciseDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Exercise"}}}}},"security":[{"bearer":[]}],"tags":["Exercise"]}},"/database/exercise/{id}":{"delete":{"operationId":"DatabaseController_deleteExercise","summary":"Delete Exercise","parameters":[{"name":"id","required":true,"in":"path","description":"exercise id to delete","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Exercise"}}}}},"security":[{"bearer":[]}],"tags":["Exercise"]}},"/database/update-position-images/{id}":{"put":{"operationId":"DatabaseController_uploadPositionImages","summary":"Upload Position Images","parameters":[{"name":"id","required":true,"in":"path","description":"exercise id to upload images","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadPositionImagesDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}},"security":[{"bearer":[]}],"tags":["Exercise"]}},"/database/create-meal":{"post":{"operationId":"DatabaseController_createMeal","summary":"Create MEAL","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMealDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Meal"}}}}},"security":[{"bearer":[]}],"tags":["Meal"]}},"/database/get-meal":{"get":{"operationId":"DatabaseController_getMeal","summary":"Get meal of a business","parameters":[{"name":"limit","required":true,"in":"query","schema":{"type":"number"}},{"name":"page","required":true,"in":"query","schema":{"type":"number"}},{"name":"query","required":true,"in":"query","schema":{"type":"string"}},{"name":"type","required":true,"in":"query","schema":{"type":"string"}},{"name":"calorie","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Meal"}}}}},"security":[{"bearer":[]}],"tags":["Meal"]}},"/database/update-meal/{id}":{"put":{"operationId":"DatabaseController_updateMeal","summary":"Update Meal","parameters":[{"name":"id","required":true,"in":"path","description":"meal id to update","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMealDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Meal"}}}}},"security":[{"bearer":[]}],"tags":["Meal"]}},"/database/meal/{id}":{"delete":{"operationId":"DatabaseController_deleteMeal","summary":"Delete Meal","parameters":[{"name":"id","required":true,"in":"path","description":"meal id to delete","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Meal"}}}}},"security":[{"bearer":[]}],"tags":["Meal"]}},"/database/update-meal-image/{id}":{"put":{"operationId":"DatabaseController_uploadMealImage","summary":"Upload Meal Image","parameters":[{"name":"id","required":true,"in":"path","description":"meal id to upload image","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadImageDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}},"security":[{"bearer":[]}],"tags":["Meal"]}},"/database/create-integrator":{"post":{"operationId":"DatabaseController_createIntegrator","summary":"Create Integrator","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateIntegratorDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Integrator"}}}}},"security":[{"bearer":[]}],"tags":["Integrator"]}},"/database/get-integrator":{"get":{"operationId":"DatabaseController_getIntegrator","summary":"Get integrator of a business","parameters":[{"name":"limit","required":true,"in":"query","schema":{"type":"number"}},{"name":"page","required":true,"in":"query","schema":{"type":"number"}},{"name":"query","required":true,"in":"query","schema":{"type":"string"}},{"name":"type","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Integrator"}}}}},"security":[{"bearer":[]}],"tags":["Integrator"]}},"/database/integrator/{id}":{"delete":{"operationId":"DatabaseController_deleteIntegrator","summary":"Delete integrator","parameters":[{"name":"id","required":true,"in":"path","description":"integrator id to delete","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Integrator"}}}}},"security":[{"bearer":[]}],"tags":["Integrator"]}},"/database/update-integrator/{id}":{"put":{"operationId":"DatabaseController_updateIntegrator","summary":"Update Integrator","parameters":[{"name":"id","required":true,"in":"path","description":"integrator id to update","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateIntegratorDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Meal"}}}}},"security":[{"bearer":[]}],"tags":["Integrator"]}},"/database/update-integrator-image/{id}":{"put":{"operationId":"DatabaseController_uploadIntegratorImage","summary":"Upload Integrator Image","parameters":[{"name":"id","required":true,"in":"path","description":"integrator id to upload image","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadImageDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}},"security":[{"bearer":[]}],"tags":["Integrator"]}},"/database":{"get":{"operationId":"DatabaseController_getDatabase","summary":"Get database of a business","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Integrator"}}}}},"security":[{"bearer":[]}],"tags":["Database"]}},"/finance":{"get":{"operationId":"FinanceController_hello","parameters":[],"responses":{"200":{"description":""}}}},"/finance/target":{"post":{"operationId":"FinanceController_createTarget","summary":"Create Target","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTargetDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Target"}}}}},"security":[{"bearer":[]}],"tags":["Finance"]},"get":{"operationId":"FinanceController_getTarget","summary":"Get Target","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Target"}}}}}},"security":[{"bearer":[]}],"tags":["Finance"]}},"/finance/target/{id}":{"get":{"operationId":"FinanceController_getTargetById","summary":"Get Target By Id","parameters":[{"name":"id","required":true,"in":"path","description":"target id to fetch","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Target"}}}}},"security":[{"bearer":[]}],"tags":["Finance"]},"put":{"operationId":"FinanceController_updateTarget","summary":"Update Target By Id","parameters":[{"name":"id","required":true,"in":"path","description":"target id to fetch","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTargetDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Target"}}}}},"security":[{"bearer":[]}],"tags":["Finance"]},"delete":{"operationId":"FinanceController_deleteTarget","summary":"Delete Target By Id","parameters":[{"name":"id","required":true,"in":"path","description":"target id to fetch","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Target"}}}}},"security":[{"bearer":[]}],"tags":["Finance"]}},"/business/sale/service/{id}":{"post":{"operationId":"SaleController_createServiceSale","summary":"Create Sale","parameters":[{"name":"id","required":true,"in":"path","description":"consumer id to make sale","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"
- schema":{"$ref":"#/components/schemas/CreateSaleDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumerService"}}}}},"security":[{"bearer":[]}],"tags":["Sale"]}},"/business/sale/bundle/{id}":{"post":{"operationId":"SaleController_createBundleSale","summary":"Create Bundle Sale","parameters":[{"name":"id","required":true,"in":"path","description":"consumer id to make sale","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSaleDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumerBundle"}}}}},"security":[{"bearer":[]}],"tags":["Sale"]}},"/business/sale/graph-data":{"get":{"operationId":"SaleController_getSaleGraphData","summary":"Get Sale Graph Data","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/getGraphData"}}}},"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Sale"]}},"/consumer/test":{"get":{"operationId":"ConsumerController_test","summary":"Create Consumer","parameters":[],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Consumer"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer":{"post":{"operationId":"ConsumerController_createConsumer","summary":"Create Consumer","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConsumerDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Consumer"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]},"get":{"operationId":"ConsumerController_getConsumers","summary":"Get consumers","parameters":[{"name":"limit","required":true,"in":"query","schema":{"type":"number"}},{"name":"page","required":true,"in":"query","schema":{"type":"number"}},{"name":"query","required":true,"in":"query","schema":{"type":"string"}},{"name":"sortBy","required":true,"in":"query","schema":{"type":"string"}},{"name":"gender","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Consumer"}}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/onboard":{"post":{"operationId":"ConsumerController_onboardConsumer","summary":"Onboard Consumer","parameters":[],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Consumer"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/services":{"get":{"operationId":"ConsumerController_getConsumerServices","summary":"Get consumer services","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerService"}}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/services/all":{"get":{"operationId":"ConsumerController_getAllConsumerServices","summary":"Get all consumer services","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerService"}}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/services/staff/{id}":{"get":{"operationId":"ConsumerController_getConsumerServicesByStaff","summary":"Get consumer services","parameters":[{"name":"staff id","required":true,"in":"path","description":"consumer services with staff of this id","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerService"}}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/bundles":{"get":{"operationId":"ConsumerController_getConsumerBundles","summary":"Get consumer bundles","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerBundle"}}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/transactions":{"get":{"operationId":"ConsumerController_getConsumerTransactions","summary":"Get consumer transactions","parameters":[],"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/unverified":{"get":{"operationId":"ConsumerController_getUnverifiedConsumers","summary":"Get unverified consumers","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Consumer"}}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/business/{id}":{"put":{"operationId":"ConsumerController_updateConsumerByBusiness","summary":"Edit Consumer by business","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditConsumerDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Consumer"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/{id}":{"put":{"operationId":"ConsumerController_updateConsumer","summary":"Edit Consumer","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditConsumerDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Consumer"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]},"get":{"operationId":"ConsumerController_getConsumer","summary":"Get consumer","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Consumer"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/suspension/{id}":{"post":{"operationId":"ConsumerController_createSuspension","summary":"Create Suspension","parameters":[{"name":"id","required":true,"in":"path","description":"client id to suspend","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSuspensionDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Suspension"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]},"get":{"operationId":"ConsumerController_getSuspension","summary":"Get Suspension","parameters":[{"name":"id","required":true,"in":"path","description":"client id to suspend","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Suspension"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]},"put":{"operationId":"ConsumerController_updateSuspension","summary":"Update Suspension","parameters":[{"name":"id","required":true,"in":"path","description":"suspension id to update","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSuspensionDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Suspension"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]},"delete":{"operationId":"ConsumerController_deleteSuspension","summary":"Delete Suspension","parameters":[{"name":"id","required":true,"in":"path","description":"suspension id to delete","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/extensions/{id}":{"get":{"operationId":"ConsumerController_getExtensions","summary":"Get Extensions","parameters":[{"name":"id","required":true,"in":"path","description":"client id to fetch extensions of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Date"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/new-extension/{id}":{"get":{"operationId":"ConsumerController_getNewExtension","summary":"Get New Extension","parameters":[{"name":"id","required":true,"in":"path","description":"client id to extend","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateExtensionDTO"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Date"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/extension/{id}":{"post":{"operationId":"ConsumerController_createExtension","summary":"Create Extension","parameters":[{"name":"id","required":true,"in":"path","description":"client id to extend","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateExtensionDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Suspension"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]},"put":{"operationId":"ConsumerController_extensionSuspension","summary":"Update Extension","parameters":[{"name":"id","required":true,"in":"path","description":"extension id to update","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateExtensionDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Suspension"}}}}
- },"security":[{"bearer":[]}],"tags":["Consumer"]},"delete":{"operationId":"ConsumerController_deleteExtension","summary":"Delete Suspension","parameters":[{"name":"id","required":true,"in":"path","description":"extension id to delete","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/staff/{clientId}":{"post":{"operationId":"ConsumerController_attachStaff","summary":"Attach staff to consumer","parameters":[{"name":"clientId","required":true,"in":"path","description":"clientId id","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachStaffDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Staff"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]},"get":{"operationId":"ConsumerController_getConsumerStaff","summary":"Get consumer staff","parameters":[{"name":"clientId","required":true,"in":"path","description":"client id","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Staff"}}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]},"delete":{"operationId":"ConsumerController_detachStaff","summary":"Detach staff to consumer","parameters":[{"name":"clientId","required":true,"in":"path","description":"client id","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachStaffDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Staff"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/nfc-badge/{clientId}":{"post":{"operationId":"ConsumerController_attachConsumerNFCBadge","summary":"Attach nfc badge to consumer","parameters":[{"name":"clientId","required":true,"in":"path","description":"client id to attach nfc badge","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachNFCBadgeDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NFCBadge"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]},"delete":{"operationId":"ConsumerController_datachConsumerNFCBadge","summary":"Detach nfc badge from consumer","parameters":[{"name":"clientId","required":true,"in":"path","description":"client id to attach nfc badge","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NFCBadge"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/target":{"post":{"operationId":"ConsumerController_createTarget","summary":"Create consumer target","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTargetDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Target"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/target/{clientId}":{"get":{"operationId":"ConsumerController_getTargets","summary":"Get consumer targets","parameters":[{"name":"clientId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Target"}}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/target/{targetId}":{"put":{"operationId":"ConsumerController_updateTarget","summary":"Update consumer target","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTargetDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Target"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]},"delete":{"operationId":"ConsumerController_deleteTarget","summary":"Delete consumer target","parameters":[],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Target"}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/user-analytics":{"get":{"operationId":"ConsumerController_getUserAnalytics","summary":"Get user analytics","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryUserDTO"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Consumer"}}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/deadline-analytics":{"get":{"operationId":"ConsumerController_getDeadlineAnalytics","summary":"Get deadline analytics","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryUserDTO"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Consumer"}}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/consumer/ban-analytics":{"get":{"operationId":"ConsumerController_getBanAnalytics","summary":"Get ban analytics","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryUserDTO"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Consumer"}}}}}},"security":[{"bearer":[]}],"tags":["Consumer"]}},"/loop/diet/{id}":{"post":{"operationId":"LoopController_createDietSchedule","summary":"Create diet Loop","parameters":[{"name":"id","required":true,"in":"path","description":"client id to create diet loop of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDietScheduleDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DietLoopSchedule"}}}}},"security":[{"bearer":[]}],"tags":["Loop"]},"get":{"operationId":"LoopController_getDietScheduleForBusiness","summary":"Get diet Loop schedule","parameters":[{"name":"id","required":true,"in":"path","description":"client id to get diet loop schedule of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDietScheduleDTO"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DietLoopSchedule"}}}}}},"security":[{"bearer":[]}],"tags":["Loop"]},"put":{"operationId":"LoopController_updateDietSchedule","summary":"Edit diet Loop","parameters":[{"name":"id","required":true,"in":"path","description":"client id to diet diet loop of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDietScheduleDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DietLoopSchedule"}}}}},"security":[{"bearer":[]}],"tags":["Loop"]}},"/loop/diet":{"get":{"operationId":"LoopController_getDietSchedule","summary":"Get diet Loop schedule by consumer","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DietLoopSchedule"}}}}}},"security":[{"bearer":[]}],"tags":["Loop"]}},"/loop/diet/mark-completed/{id}":{"put":{"operationId":"LoopController_markDietCompleted","summary":"Mark diet Loop data completed","parameters":[{"name":"id","required":true,"in":"path","description":"diet loop data id to mark completed","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkDietLoopDataCompletedDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DietLoopData"}}}}},"security":[{"bearer":[]}],"tags":["Loop"]}},"/loop/diet/business/mark-completed/{id}":{"put":{"operationId":"LoopController_markDietCompletedByBusiness","summary":"Mark diet Loop data completed","parameters":[{"name":"id","required":true,"in":"path","description":"diet loop data id to mark completed","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkDietLoopDataCompletedByBusinessDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DietLoopData"}}}}},"security":[{"bearer":[]}],"tags":["Loop"]}},"/loop/exercise/{id}":{"post":{"operationId":"LoopController_createExerciseSchedule","summary":"Create exercise Loop","parameters":[{"name":"id","required":true,"in":"path","description":"client id to create exercise loop of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateExerciseScheduleDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateExerciseScheduleDTO"}}}}},"security":[{"bearer":[]}],"tags":["Loop"]},"get":{"operationId":"LoopController_getExerciseScheduleForBusiness","summary":"Get exercise Loop schedule","parameters":[{"name":"id","required":true,"in":"path","description":"client id to get
- exercise loop schedule of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateExerciseScheduleDTO"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExerciseLoopSchedule"}}}}}},"security":[{"bearer":[]}],"tags":["Loop"]},"put":{"operationId":"LoopController_updateExerciseSchedule","summary":"Edit Exercise Loop","parameters":[{"name":"id","required":true,"in":"path","description":"client id to exercise loop of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateExerciseScheduleDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseLoopSchedule"}}}}},"security":[{"bearer":[]}],"tags":["Loop"]}},"/loop/exercise":{"get":{"operationId":"LoopController_getExerciseSchedule","summary":"Get exercise Loop schedule","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExerciseLoopSchedule"}}}}}},"security":[{"bearer":[]}],"tags":["Loop"]}},"/loop/exercise/mark-completed/{id}":{"put":{"operationId":"LoopController_markExerciseCompleted","summary":"Mark exercise Loop data completed","parameters":[{"name":"id","required":true,"in":"path","description":"exercise loop data id to mark completed","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkExerciseLoopDataCompletedDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseLoopData"}}}}},"security":[{"bearer":[]}],"tags":["Loop"]}},"/loop/exercise/business/mark-completed/{id}":{"put":{"operationId":"LoopController_markExerciseCompletedByBusiness","summary":"Mark exercise Loop data completed","parameters":[{"name":"id","required":true,"in":"path","description":"exercise loop data id to mark completed","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkExerciseLoopDataCompletedByBusinessDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseLoopData"}}}}},"security":[{"bearer":[]}],"tags":["Loop"]}},"/loop/exercise/history/{id}":{"get":{"operationId":"LoopController_getExerciseHistory","summary":"Get Exercise history","parameters":[{"name":"id","required":true,"in":"path","description":"Exercise id","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExerciseLoopData"}}}}}},"security":[{"bearer":[]}],"tags":["Loop"]}},"/loop/exercise/stats/{id}":{"get":{"operationId":"LoopController_getExerciseStats","summary":"Get Exercise history","parameters":[{"name":"id","required":true,"in":"path","description":"Exercise id","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Loop"]}},"/loop/exercise/end/{id}":{"put":{"operationId":"LoopController_endExerciseLoop","summary":"End Exercise loop","parameters":[{"name":"id","required":true,"in":"path","description":"Exercise loop id","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseLoop"}}}}},"security":[{"bearer":[]}],"tags":["Loop"]}},"/loop/sleep/{id}":{"post":{"operationId":"LoopController_createSleepSchedule","summary":"Create Sleep Loop","parameters":[{"name":"id","required":true,"in":"path","description":"client id to create sleep loop of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSleepScheduleDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateExerciseScheduleDTO"}}}}},"security":[{"bearer":[]}],"tags":["Loop"]},"get":{"operationId":"LoopController_getSleepScheduleForBusiness","summary":"Get sleep Loop schedule","parameters":[{"name":"id","required":true,"in":"path","description":"client id to get sleep loop schedule of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SleepLoopSchedule"}}}}}},"security":[{"bearer":[]}],"tags":["Loop"]},"put":{"operationId":"LoopController_updateSleepSchedule","summary":"Edit sleep Loop","parameters":[{"name":"id","required":true,"in":"path","description":"client id to sleep loop of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditSleepScheduleDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseLoopSchedule"}}}}},"security":[{"bearer":[]}],"tags":["Loop"]}},"/loop/sleep":{"get":{"operationId":"LoopController_getSleepSchedule","summary":"Get sleep Loop schedule","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SleepLoopSchedule"}}}}}},"security":[{"bearer":[]}],"tags":["Loop"]}},"/loop/sleep/mark-completed/{id}":{"put":{"operationId":"LoopController_markSleepCompleted","summary":"Mark sleep Loop completed","parameters":[{"name":"id","required":true,"in":"path","description":"sleep loop id to mark completed","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSleepLoopDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepLoop"}}}}},"security":[{"bearer":[]}],"tags":["Loop"]}},"/loop/integrator/{id}":{"post":{"operationId":"LoopController_createIntegratorSchedule","summary":"Create Integrator Loop","parameters":[{"name":"id","required":true,"in":"path","description":"client id to create integrator loop of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateIntegratorScheduleDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateIntegratorScheduleDTO"}}}}},"security":[{"bearer":[]}],"tags":["Loop"]},"get":{"operationId":"LoopController_getIntegratorScheduleForBusiness","summary":"Get Integrator Loop schedule","parameters":[{"name":"id","required":true,"in":"path","description":"client id to get integrator loop schedule of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IntegratorLoopSchedule"}}}}}},"security":[{"bearer":[]}],"tags":["Loop"]},"put":{"operationId":"LoopController_updateIntegratorSchedule","summary":"Edit Integrator Loop","parameters":[{"name":"id","required":true,"in":"path","description":"client id to integrator loop of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateIntegratorLoopDataDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegratorLoopSchedule"}}}}},"security":[{"bearer":[]}],"tags":["Loop"]}},"/loop/integrator":{"get":{"operationId":"LoopController_getIntegratorSchedule","summary":"Get diet Loop schedule by consumer","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IntegratorLoopSchedule"}}}}}},"security":[{"bearer":[]}],"tags":["Loop"]}},"/loop/integrator/mark-completed/{id}":{"put":{"operationId":"LoopController_markIntegratorCompleted","summary":"Mark integrator Loop data completed","parameters":[{"name":"id","required":true,"in":"path","description":"integrator loop data id to mark completed","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkIntegratorLoopDataCompletedDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegratorLoopData"}}}}},"security":[{"bearer":[]}],"tags":["Loop"]}},"/loop/integrator/business/mark-completed/{id}":{"put":{"operationId":"LoopController_markIntegratorCompletedByBusiness","summary":"Mark integrator Loop data completed","parameters":[{"name":"id","required":true,"in":"path","description":"integrator loop data id to mark completed","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkIntegratorLoopDataCompletedByBusinessDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegratorLoopData"}}}}},"security":[{"bearer":[]}],"tags":["Loop"]}},"/appointment/consumer":{"post":{"operationId":"AppointmentController_createAppointment","summary":"Create appointment","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAppointmentDTO"}}}},"responses":{"201":{"
- description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]},"get":{"operationId":"AppointmentController_getAllAppointments","summary":"Get all appointment","parameters":[],"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]}},"/appointment/consumer/{date}":{"get":{"operationId":"AppointmentController_getAppointment","summary":"Get appointment","parameters":[],"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]}},"/appointment/business/coach-availability/{id}":{"get":{"operationId":"AppointmentController_getCoachAvailabilityForBusiness","summary":"Get coach availability for business","parameters":[{"name":"id","required":true,"in":"path","description":"coach id","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]}},"/appointment/consumer/coach-availability/{id}":{"get":{"operationId":"AppointmentController_getCoachAvailability","summary":"Get coach availability","parameters":[{"name":"id","required":true,"in":"path","description":"coach id ","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]}},"/appointment/business/reschedule/{id}":{"put":{"operationId":"AppointmentController_rescheduleAppointmentForBusiness","summary":"Reschedule appointment for business","parameters":[{"name":"id","required":true,"in":"path","description":"appointment id ","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RescheduleAppointmentDTO"}}}},"responses":{"201":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]}},"/appointment/consumer/reschedule/{id}":{"put":{"operationId":"AppointmentController_rescheduleAppointment","summary":"Reschedule appointment","parameters":[{"name":"id","required":true,"in":"path","description":"appointment id ","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RescheduleAppointmentDTO"}}}},"responses":{"201":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]}},"/appointment/business/cancel/{id}":{"delete":{"operationId":"AppointmentController_cancelAppointmentForBusiness","summary":"Cancel appointment for business","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelAppointmentDTO"}}}},"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]}},"/appointment/consumer/cancel/{id}":{"delete":{"operationId":"AppointmentController_cancelAppointment","summary":"Cancel appointment","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelAppointmentDTO"}}}},"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]}},"/appointment/business/notes/{id}":{"put":{"operationId":"AppointmentController_editAppointmentNotes","summary":"Edit appointment notes","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditAppointmentNotesDTO"}}}},"responses":{"201":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]}},"/appointment/business/consumer/{id}":{"get":{"operationId":"AppointmentController_getAppointmentByConsumerForBusiness","summary":"Get all appointments for business","parameters":[{"name":"id","required":true,"in":"path","description":"consumer id ","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]}},"/appointment/business/all":{"get":{"operationId":"AppointmentController_getAllAppointmentForBusiness","summary":"Get all appointments for business","parameters":[],"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]}},"/appointment/business/filtered":{"get":{"operationId":"AppointmentController_getFilteredAppointmentForBusiness","summary":"Get filtered appointments for business","parameters":[{"name":"limit","required":true,"in":"query","schema":{"type":"number"}},{"name":"page","required":true,"in":"query","schema":{"type":"number"}},{"name":"query","required":true,"in":"query","schema":{"type":"string"}},{"name":"staffId","required":true,"in":"query","schema":{"type":"string"}},{"name":"roomId","required":true,"in":"query","schema":{"type":"string"}},{"name":"duration","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]}},"/appointment/business/staff":{"get":{"operationId":"AppointmentController_getAllAppointmentByStuff","summary":"Get all appointments by staff","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAppointmentsByStaffDTO"}}}},"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]}},"/appointment/business/client-history":{"get":{"operationId":"AppointmentController_getStaffClientHistory","summary":"Get staff client history","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetStaffClientHistoryDTO"}}}},"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]}},"/appointment/business":{"post":{"operationId":"AppointmentController_createAppointmentForBusiness","summary":"Create appointment for business","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAppointmentDTO"}}}},"responses":{"201":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]}},"/appointment/business/blocked-time":{"post":{"operationId":"AppointmentController_createBlockedTime","summary":"Create blocked time","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAppointmentDTO"}}}},"responses":{"201":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]}},"/appointment/graph-data":{"get":{"operationId":"AppointmentController_getAppointmentGraphData","summary":"Get appointment graph data","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAppointmentGraphData"}}}},"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]}},"/appointment/analytics":{"get":{"operationId":"AppointmentController_getAppointmentAnalytics","summary":"Get appointment analytics","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAppointmentGraphData"}}}},"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Appointment"]}},"/proposal/{id}":{"post":{"operationId":"ProposalController_createProposal","summary":"Create Proposal","parameters":[{"name":"id","required":true,"in":"path","description":"client id to create proposal of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProposalDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Proposal"}}}}},"security":[{"bearer":[]}],"tags":["Proposal"]},"put":{"operationId":"ProposalController_updateProposal","summary":"Update Proposal","parameters":[{"name":"id","required":true,"in":"path","description":"proposal id to update","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProposalDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Proposal"}}}}},"security":[{"bearer":[]}],"tags":["Proposal"]},"delete":{"operationId":"ProposalController_deleteProposal","summary":"Delete Proposal","parameters":[{"name":"id","required":true,"in":"path","description":"suspension id to delete","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}},"security":[{"bearer":[]}],"tags":["Proposal"]}},"/proposal/{clientId}":{"get":{"operationId":"ProposalController_getProposal","summary":"Get Proposals","parameters":[{"name":"clientId","required":true,"in":"path","description":"client id to get proposals of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Proposal"}}}}},"security":[{"bearer":[]}],"tags":["Proposal"]}},"/document":{"post":{"operationId":"DocumentController_createDocument","summary":"Create Document","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDocumentDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Document"}}}}},"security":[{"bearer":[]}],"tags":["Document"]},"get":{"operationId":"DocumentController_getAllDocument","summary":"Get all document","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Document"}}}}}},"security":[{"bearer":[]}],"tags":["Document"]}},"/document/{type}":{"get":{"operationId":"DocumentController_getDocument","summary":"Get Document","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Document"}}}}},"
- security":[{"bearer":[]}],"tags":["Document"]},"delete":{"operationId":"DocumentController_deleteDocument","summary":"Delete document","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Document"}}}}},"security":[{"bearer":[]}],"tags":["Document"]}},"/document/business/{type}":{"get":{"operationId":"DocumentController_getDocumentForBusiness","summary":"Get document for business","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumerIdDTO"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Document"}}}}},"security":[{"bearer":[]}],"tags":["Document"]},"delete":{"operationId":"DocumentController_deleteDocumentForBusiness","summary":"Delete document for business","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumerIdDTO"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Document"}}}}},"security":[{"bearer":[]}],"tags":["Document"]}},"/document/business/{consumerId}":{"get":{"operationId":"DocumentController_getAllDocumentForBusiness","summary":"Get all document for business","parameters":[{"name":"clientId","required":true,"in":"path","schema":{"type":"string"}},{"name":"consumerId","required":true,"in":"path","description":"consumer id","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Document"}}}}}},"security":[{"bearer":[]}],"tags":["Document"]}},"/document/business/approve/{type}":{"put":{"operationId":"DocumentController_updateDocumentApproval","summary":"Update document approval for business","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDocumentApprovalDTO"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Document"}}}}},"security":[{"bearer":[]}],"tags":["Document"]}},"/purchase/service":{"post":{"operationId":"PurchaseController_newServiceSale","summary":"Create service purchase","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePurchaseDTO"}}}},"responses":{"201":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Purchase"]}},"/purchase/bundle":{"post":{"operationId":"PurchaseController_newBundleSale","summary":"Create bundle purchase","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBundlePurchaseDTO"}}}},"responses":{"201":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Purchase"]}},"/consumer/subscription/service/{id}":{"delete":{"operationId":"ManageSubscriptionController_cancelServiceSubscription","summary":"Cancel service subscription","parameters":[{"name":"id","required":true,"in":"path","description":"Service id to cancel the subscription of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"201":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Manage subscription"]},"post":{"operationId":"ManageSubscriptionController_activateService","summary":"Activate service subscription","parameters":[{"name":"id","required":true,"in":"path","description":"Service id to activate the subscription of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivateSubscriptionDTO"}}}},"responses":{"201":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Manage subscription"]}},"/consumer/subscription/bundle/{id}":{"delete":{"operationId":"ManageSubscriptionController_cancelBundleSubscription","summary":"Cancel bundle subscription","parameters":[{"name":"id","required":true,"in":"path","description":"Bundle id to cancel the subscription of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"responses":{"201":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Manage subscription"]},"post":{"operationId":"ManageSubscriptionController_activateBundleSubscription","summary":"Activate bundle subscription","parameters":[{"name":"id","required":true,"in":"path","description":"Bundle id to activate the subscription of","schema":{"oneOf":[{"type":"string","nullable":false}]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivateSubscriptionDTO"}}}},"responses":{"201":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Manage subscription"]}},"/consumer/subscription/otp/{id}":{"get":{"operationId":"ManageSubscriptionController_getServiceBundleId","summary":"Get service/bundle otp","parameters":[],"responses":{"201":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Manage subscription"]},"post":{"operationId":"ManageSubscriptionController_verifyServiceBundleId","summary":"Get service/bundle otp","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyServiceBundleOtpDTO"}}}},"responses":{"201":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Manage subscription"]}},"/payment/stripe-connect":{"get":{"operationId":"PaymentController_getConnectAccount","summary":"Get Stripe connect account","parameters":[],"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Payment"]},"post":{"operationId":"PaymentController_createStripeConnectAccount","summary":"Create Stripe connect account","parameters":[],"responses":{"201":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Payment"]}},"/payment/stripe-connect/login":{"get":{"operationId":"PaymentController_getStripeConnectLoginLink","summary":"Get Stripe connect login link","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}},"security":[{"bearer":[]}],"tags":["Payment"]}},"/payment/business-subscription":{"post":{"operationId":"PaymentController_purchaseBusinessSubscription","summary":"Create/update business plan","parameters":[],"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Payment"]}},"/payment/plan-switch-validity":{"post":{"operationId":"PaymentController_checkBusinessSubscritpionChangeValidity","summary":"Check if business can switch the plan","parameters":[],"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Payment"]}},"/payment/payment-method":{"post":{"operationId":"PaymentController_createPaymentMethod","summary":"Create payment method","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePaymentMethodDTO"}}}},"responses":{"201":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Payment"]},"get":{"operationId":"PaymentController_getPaymentMethod","summary":"Get payment method","parameters":[],"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Payment"]},"delete":{"operationId":"PaymentController_deletePaymentMethod","summary":"Delete payment method","parameters":[],"responses":{"200":{"description":"OK"}},"security":[{"bearer":[]}],"tags":["Payment"]}},"/comm/send-verification-sms":{"post":{"operationId":"CommController_sendVerificationSms","summary":"Send OTP SMS","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendOTPDTO"}}}},"responses":{"201":{"description":"OK"}},"tags":["Comms"]}},"/comm/send-verification-email":{"post":{"operationId":"CommController_sendVerificationEmail","summary":"Verify Email","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendOTPDTO"}}}},"responses":{"201":{"description":"OK"}},"tags":["Comms"]}},"/comm/test-push-notification":{"post":{"operationId":"CommController_sendTestPushNotification","summary":"Test push","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendNotificationDTO"}}}},"responses":{"201":{"description":"OK"}},"tags":["Comms"]}}},"info":{"title":"Fitloop core api","description":"The API description","version":"1.0","contact":{}},"tags":[{"name":"fitloop-core","description":""}],"servers":[],"components":{"securitySchemes":{"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http"}},"schemas":{"CreateUserDTO":{"type":"object","properties":{"email":{"type":"string"},"name":{"type":"string"},"phoneNumber":{"type":"string"},"accountType":{"type":"number"},"password":{"type":"string"}},"required":["email","name","phoneNumber","accountType","password"]},"User":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"},"phoneNumber":{"type":"string"},"isPhoneNumberVerified":{"type":"boolean"},"isEmailVerified":{"type":"boolean"},"password":{"type":"string"},"avatar":{"type":"string"},"roles":{"type":"string"}},"required":["id","email","name","phoneNumber","isPhoneNumberVerified","isEmailVerified","password","avatar","roles"]},"LoginUserDTO":{"type":"object","properties":{"email":{"type":"string"},"password":{"type":"string"},"type":{"type":"string"}},"required":["email","password","type"]},"VerifyOtpDTO":{"type":"object","properties":{"otp":{"type":"string"}},"required":["otp"]},"EditNotificationDTO":{"type":"object","properties":{"sales":{"type":"boolean"},"appointments":{"type":"boolean"},"scans":{"type":"boolean"},"checkins":{"type":"boolean"},"checkouts":{"type":"boolean"},"staffMessages":{"type":"boolean"},"contactMessages":{"type":"boolean"},"monthlyReports":{"type":"boolean"},"reminders":{"type":"boolean"},"suggestions":{"type":"boolean"}},"required":["
- sales","appointments","scans","checkins","checkouts","staffMessages","contactMessages","monthlyReports","reminders","suggestions"]},"NotificationSettings":{"type":"object","properties":{"sales":{"type":"boolean"},"appointments":{"type":"boolean"},"scans":{"type":"boolean"},"checkins":{"type":"boolean"},"checkouts":{"type":"boolean"},"staffMessages":{"type":"boolean"},"contactMessages":{"type":"boolean"},"monthlyReports":{"type":"boolean"},"reminders":{"type":"boolean"},"suggestions":{"type":"boolean"}},"required":["sales","appointments","scans","checkins","checkouts","staffMessages","contactMessages","monthlyReports","reminders","suggestions"]},"ChangePasswordDTO":{"type":"object","properties":{"currentPassword":{"type":"string"},"newPassword":{"type":"string"}},"required":["currentPassword","newPassword"]},"UploadAvatarDTO":{"type":"object","properties":{"avatarImageUrl":{"type":"string"}},"required":["avatarImageUrl"]},"UpdateProfileDTO":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]},"UpdateEmailDTO":{"type":"object","properties":{"email":{"type":"string"}},"required":["email"]},"VerifyUpdateOtpDTO":{"type":"object","properties":{"otp":{"type":"string"}},"required":["otp"]},"UpdatePhoneNumberDTO":{"type":"object","properties":{"phoneNumber":{"type":"string"}},"required":["phoneNumber"]},"CreateTokenDTO":{"type":"object","properties":{"token":{"type":"string"}},"required":["token"]},"ResetPasswordDTO":{"type":"object","properties":{"email":{"type":"string"}},"required":["email"]},"VerifyResetPasswordDTO":{"type":"object","properties":{"password":{"type":"string"}},"required":["password"]},"BusinessWorkingHours":{"type":"object","properties":{"id":{"type":"string"},"monday":{"type":"object"},"tuesday":{"type":"object"},"wednesday":{"type":"object"},"thursday":{"type":"object"},"friday":{"type":"object"},"saturday":{"type":"object"},"sunday":{"type":"object"}},"required":["id","monday","tuesday","wednesday","thursday","friday","saturday","sunday"]},"Company":{"type":"object","properties":{"id":{"type":"string"},"companyName":{"type":"string"},"companyVATNumber":{"type":"string"},"companySDINumber":{"type":"string"},"country":{"type":"string"},"companyAddress":{"type":"string"},"city":{"type":"string"},"postCode":{"type":"string"},"IBAN":{"type":"string"},"bankName":{"type":"string"},"swiftCode":{"type":"string"}},"required":["id","companyName","companyVATNumber","companySDINumber","country","companyAddress","city","postCode","IBAN","bankName","swiftCode"]},"ExerciseQuantData":{"type":"object","properties":{"weight_lifting":{"type":"number"},"full_body":{"type":"number"},"cardio":{"type":"number"},"stretching":{"type":"number"}},"required":["weight_lifting","full_body","cardio","stretching"]},"MealQuantData":{"type":"object","properties":{"breakfast":{"type":"number"},"lunch":{"type":"number"},"dinner":{"type":"number"},"snack":{"type":"number"},"fruit_snack":{"type":"number"}},"required":["breakfast","lunch","dinner","snack","fruit_snack"]},"IntegratorQuantData":{"type":"object","properties":{"weight_reduction":{"type":"number"},"muscle_mass":{"type":"number"},"health_and_wellness":{"type":"number"},"energy_and_endurance":{"type":"number"}},"required":["weight_reduction","muscle_mass","health_and_wellness","energy_and_endurance"]},"Database":{"type":"object","properties":{"id":{"type":"string"},"exerciseCount":{"type":"number"},"mealCount":{"type":"number"},"integratorCount":{"type":"number"},"exerciseQuantData":{"$ref":"#/components/schemas/ExerciseQuantData"},"mealQuantData":{"$ref":"#/components/schemas/MealQuantData"},"integratorQuantData":{"$ref":"#/components/schemas/IntegratorQuantData"}},"required":["id","exerciseCount","mealCount","integratorCount","exerciseQuantData","mealQuantData","integratorQuantData"]},"ReviewData":{"type":"object","properties":{"avgStars":{"type":"number"},"totalVotes":{"type":"number"},"fiveStarVotes":{"type":"number"},"fourStarVotes":{"type":"number"},"threeStarVotes":{"type":"number"},"twoStarVotes":{"type":"number"},"oneStarVotes":{"type":"number"}},"required":["avgStars","totalVotes","fiveStarVotes","fourStarVotes","threeStarVotes","twoStarVotes","oneStarVotes"]},"Business":{"type":"object","properties":{"id":{"type":"string"},"centerName":{"type":"string"},"country":{"type":"string"},"centerAddress":{"type":"string"},"city":{"type":"string"},"postCode":{"type":"string"},"location":{"type":"object"},"shortDescription":{"type":"string"},"isContractSigned":{"type":"boolean"},"userId":{"type":"string"},"bannerImageUrl":{"type":"string"},"priceType":{"type":"string"},"workingHours":{"$ref":"#/components/schemas/BusinessWorkingHours"},"company":{"$ref":"#/components/schemas/Company"},"database":{"$ref":"#/components/schemas/Database"},"services":{"type":"array","items":{"type":"string"}},"rooms":{"type":"array","items":{"type":"string"}},"nfcReaders":{"type":"array","items":{"type":"string"}},"bundles":{"type":"array","items":{"type":"string"}},"staffs":{"type":"array","items":{"type":"string"}},"targets":{"type":"array","items":{"type":"string"}},"exercises":{"type":"array","items":{"type":"string"}},"integrators":{"type":"array","items":{"type":"string"}},"meals":{"type":"array","items":{"type":"string"}},"reviewData":{"$ref":"#/components/schemas/ReviewData"}},"required":["id","centerName","country","centerAddress","city","postCode","location","shortDescription","isContractSigned","userId","bannerImageUrl","priceType","workingHours","company","database","services","rooms","nfcReaders","bundles","staffs","targets","exercises","integrators","meals","reviewData"]},"SignContractOtpDTO":{"type":"object","properties":{"reason":{"type":"string"}},"required":["reason"]},"VerifyContractOtpDTO":{"type":"object","properties":{"otp":{"type":"string"},"reason":{"type":"string"}},"required":["otp","reason"]},"EditBusinessDTO":{"type":"object","properties":{"centerName":{"type":"string"},"country":{"type":"string"},"centerAddress":{"type":"string"},"city":{"type":"number"},"postCode":{"type":"string"},"shortDescription":{"type":"string"}},"required":["centerName","country","centerAddress","city","postCode","shortDescription"]},"UploadBannerImageDTO":{"type":"object","properties":{"bannerImageUrl":{"type":"string"}},"required":["bannerImageUrl"]},"CreateCompanyDTO":{"type":"object","properties":{"companyName":{"type":"string"},"companyVATNumber":{"type":"string"},"companySDINumber":{"type":"string"},"country":{"type":"string"},"companyAddress":{"type":"number"},"city":{"type":"string"},"postCode":{"type":"string"},"IBAN":{"type":"string"},"bankName":{"type":"string"},"swiftCode":{"type":"string"}},"required":["companyName","companyVATNumber","companySDINumber","country","companyAddress","city","postCode","IBAN","bankName","swiftCode"]},"EditWorkingHourDTO":{"type":"object","properties":{"workingHours":{"type":"array","items":{"type":"string"}}},"required":["workingHours"]},"CreateStaffReviewDTO":{"type":"object","properties":{"description":{"type":"string"},"stars":{"type":"number"}},"required":["description","stars"]},"ConsumerService":{"type":"object","properties":{"id":{"type":"string"},"clientId":{"type":"string"},"message":{"type":"string"},"serviceId":{"type":"string"}},"required":["id","clientId","message","serviceId"]},"ConsumerBundle":{"type":"object","properties":{"id":{"type":"string"},"clientId":{"type":"string"},"bundleId":{"type":"string"}},"required":["id","clientId","bundleId"]},"ClientActivity":{"type":"object","properties":{"id":{"type":"string"},"data":{"type":"object"},"type":{"type":"string"}},"required":["id","data","type"]},"getGraphData":{"type":"object","properties":{"duration":{"type":"string"}},"required":["duration"]},"UpdateCRMConsentUpdateDTO":{"type":"object","properties":{}},"QueryUserDTO":{"type":"object","properties":{"limit":{"type":"number"},"page":{"type":"number"},"query":{"type":"string"}},"required":["limit","page","query"]},"CreateStaffDTO":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"},"phoneNumber":{"type":"string"},"roles":{"type":"string"}},"required":["name","email","password","phoneNumber","roles"]},"StaffReviewData":{"type":"object","properties":{"avgStars":{"type":"number"},"totalVotes":{"type":"number"},"fiveStarVotes":{"type":"number"},"fourStarVotes":{"type":"number"},"threeStarVotes":{"type":"number"},"twoStarVotes":{"type":"number"},"oneStarVotes":{"type":"number"}},"required":["avgStars","totalVotes","fiveStarVotes","fourStarVotes","threeStarVotes","twoStarVotes","oneStarVotes"]},"Proposal":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"details":{"type":"string"},"isActive":{"type":"boolean"}},"required":["id","title","details","isActive"]},"Staff":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"name":{"type":"string"},"avatar":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"memberTitle":{"type":"string"},"services":{"type":"array","items":{"type":"string"}},"rooms":{"type":"array","items":{"type":"string"}},"bundles":{"type":"array","items":{"type":"string"}},"reviews":{"type":"array","items":{"type":"string"}},"reviewData":{"$ref":"#/components/schemas/StaffReviewData"},"proposal":{"$ref":"#/components/schemas/Proposal"}},"required":["id","userId","name","avatar","startDate","endDate","memberTitle","services","rooms","bundles","reviews","reviewData","proposal"]},"OnboardStaffDTO":{"type":"object","properties":{"id":{"type":"string"},"memberTitle":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"}},"required":["id","memberTitle","startDate","endDate"]},"AttachNFCBadgeDTO":{"type":"object","properties":{"id":{"type":"string"},"nfcToken":{"type":"string"},"cardNumber":{"type":"string"}},"required":["id","nfcToken","cardNumber"]},"NFCBadge":{"
- type":"object","properties":{"id":{"type":"string"},"nfcToken":{"type":"string"},"cardNumber":{"type":"string"}},"required":["id","nfcToken","cardNumber"]},"LinkRoomsAndServicesWithStaffDTO":{"type":"object","properties":{"staffId":{"type":"string"},"rooms":{"type":"array","items":{"type":"string"}},"services":{"type":"array","items":{"type":"string"}}},"required":["staffId","rooms","services"]},"LinkBundlesWithStaffDTO":{"type":"object","properties":{"staffId":{"type":"string"},"bundles":{"type":"array","items":{"type":"string"}}},"required":["staffId","bundles"]},"GetStaffRolesDTO":{"type":"object","properties":{"role":{"type":"string"}},"required":["role"]},"UpdateStaffDTO":{"type":"object","properties":{"name":{"type":"string"},"memberTitle":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"}},"required":["name","memberTitle","startDate","endDate"]},"EditStaffWorkingHourDTO":{"type":"object","properties":{"workingHours":{"type":"array","items":{"type":"string"}}},"required":["workingHours"]},"WorkingHours":{"type":"object","properties":{"id":{"type":"string"},"monday":{"type":"object"},"tuesday":{"type":"object"},"wednesday":{"type":"object"},"thursday":{"type":"object"},"friday":{"type":"object"},"saturday":{"type":"object"},"sunday":{"type":"object"}},"required":["id","monday","tuesday","wednesday","thursday","friday","saturday","sunday"]},"UpdateStaffRoleDTO":{"type":"object","properties":{"role":{"type":"string"}},"required":["role"]},"WorkingHoursDTO":{"type":"object","properties":{"day":{"type":"string"},"startTime":{"format":"date-time","type":"string"},"endTime":{"format":"date-time","type":"string"},"isClosed":{"type":"boolean"}},"required":["day","startTime","endTime","isClosed"]},"CreateRoomDTO":{"type":"object","properties":{"roomName":{"type":"string"},"tagName":{"type":"string"},"maxCapacity":{"type":"number"},"simultaneousAvailibilty":{"type":"number"},"bookableFrom":{"type":"number"},"cancellationHourLimit":{"type":"number"},"allowClientsToSelectTeamMembers":{"type":"boolean"},"enableUserDeletion":{"type":"boolean"},"featuredServices":{"type":"boolean"},"starRatings":{"type":"boolean"},"offersAdvancedReservation":{"type":"boolean"},"reservationsLimit":{"type":"number"},"advancedBookingDaysLimit":{"type":"number"},"startTimeUpto":{"type":"number"},"noLaterThan":{"type":"number"},"dailyLimit":{"type":"number"},"weeklyLimit":{"type":"number"},"timeSlotInterval":{"type":"number"},"bookingEmailNotificationEnabled":{"type":"boolean"},"sendToAll":{"type":"boolean"},"sendToSpecificEmail":{"type":"boolean"},"emailAddresses":{"type":"array","items":{"type":"string"}},"workingHours":{"type":"array","items":{"$ref":"#/components/schemas/WorkingHoursDTO"}}},"required":["roomName","tagName","maxCapacity","simultaneousAvailibilty","bookableFrom","cancellationHourLimit","allowClientsToSelectTeamMembers","enableUserDeletion","featuredServices","starRatings","offersAdvancedReservation","reservationsLimit","advancedBookingDaysLimit","startTimeUpto","noLaterThan","dailyLimit","weeklyLimit","timeSlotInterval","bookingEmailNotificationEnabled","sendToAll","sendToSpecificEmail","emailAddresses","workingHours"]},"RoomWorkingHours":{"type":"object","properties":{"id":{"type":"string"},"monday":{"type":"object"},"tuesday":{"type":"object"},"wednesday":{"type":"object"},"thursday":{"type":"object"},"friday":{"type":"object"},"saturday":{"type":"object"},"sunday":{"type":"object"}},"required":["id","monday","tuesday","wednesday","thursday","friday","saturday","sunday"]},"Room":{"type":"object","properties":{"id":{"type":"string"},"roomName":{"type":"string"},"tagName":{"type":"string"},"maxCapacity":{"type":"string"},"simultaneousAvailibilty":{"type":"number"},"bookableFrom":{"type":"number"},"cancellationHourLimit":{"type":"number"},"allowClientsToSelectTeamMembers":{"type":"boolean"},"enableUserDeletion":{"type":"boolean"},"offersAdvancedReservation":{"type":"boolean"},"featuredServices":{"type":"boolean"},"starRatings":{"type":"boolean"},"reservationsLimit":{"type":"number"},"advancedBookingDaysLimit":{"type":"number"},"startTimeUpto":{"type":"number"},"noLaterThan":{"type":"number"},"dailyLimit":{"type":"number"},"weeklyLimit":{"type":"number"},"timeSlotInterval":{"type":"number"},"bookingEmailNotificationEnabled":{"type":"boolean"},"sendToAll":{"type":"boolean"},"sendToSpecificEmail":{"type":"boolean"},"emailAddresses":{"type":"array","items":{"type":"string"}},"workingHours":{"$ref":"#/components/schemas/RoomWorkingHours"}},"required":["id","roomName","tagName","maxCapacity","simultaneousAvailibilty","bookableFrom","cancellationHourLimit","allowClientsToSelectTeamMembers","enableUserDeletion","offersAdvancedReservation","featuredServices","starRatings","reservationsLimit","advancedBookingDaysLimit","startTimeUpto","noLaterThan","dailyLimit","weeklyLimit","timeSlotInterval","bookingEmailNotificationEnabled","sendToAll","sendToSpecificEmail","emailAddresses","workingHours"]},"CreateNfcReaderDTO":{"type":"object","properties":{"readerName":{"type":"string"},"nfcDeviceInputApiName":{"type":"string"},"activationOutput":{"type":"string"},"isAdvancedSettingsEnabled":{"type":"boolean"},"maxAdvance":{"type":"number"},"maxDelay":{"type":"number"},"exitTimeLimit":{"type":"number"},"isOverduePaymentsEnabled":{"type":"boolean"},"isExpiredSubscriptionsEnabled":{"type":"boolean"},"isExpiredMedicalCertificatesEnabled":{"type":"boolean"},"workingHours":{"type":"array","items":{"$ref":"#/components/schemas/WorkingHoursDTO"}},"roomId":{"type":"string"}},"required":["readerName","nfcDeviceInputApiName","activationOutput","isAdvancedSettingsEnabled","maxAdvance","maxDelay","exitTimeLimit","isOverduePaymentsEnabled","isExpiredSubscriptionsEnabled","isExpiredMedicalCertificatesEnabled","workingHours","roomId"]},"NfcReaderWorkingHours":{"type":"object","properties":{"id":{"type":"string"},"monday":{"type":"object"},"tuesday":{"type":"object"},"wednesday":{"type":"object"},"thursday":{"type":"object"},"friday":{"type":"object"},"saturday":{"type":"object"},"sunday":{"type":"object"}},"required":["id","monday","tuesday","wednesday","thursday","friday","saturday","sunday"]},"NfcReader":{"type":"object","properties":{"id":{"type":"string"},"readerName":{"type":"string"},"nfcDeviceInputApiName":{"type":"string"},"activationOutput":{"type":"string"},"isAdvancedSettingsEnabled":{"type":"boolean"},"maxAdvance":{"type":"number"},"maxDelay":{"type":"number"},"exitTimeLimit":{"type":"number"},"isOverduePaymentsEnabled":{"type":"boolean"},"isExpiredSubscriptionsEnabled":{"type":"boolean"},"isExpiredMedicalCertificatesEnabled":{"type":"boolean"},"workingHours":{"$ref":"#/components/schemas/NfcReaderWorkingHours"}},"required":["id","readerName","nfcDeviceInputApiName","activationOutput","isAdvancedSettingsEnabled","maxAdvance","maxDelay","exitTimeLimit","isOverduePaymentsEnabled","isExpiredSubscriptionsEnabled","isExpiredMedicalCertificatesEnabled","workingHours"]},"CreateServiceDTO":{"type":"object","properties":{"name":{"type":"string"},"tag":{"type":"string"},"description":{"type":"string"},"aftercareDescription":{"type":"string"},"color":{"type":"number"},"icon":{"type":"number"},"priceType":{"type":"string"},"price":{"type":"number"},"discountPrice":{"type":"number"},"duration":{"type":"string"},"hasLimitedAccess":{"type":"boolean"},"serviceType":{"type":"string"},"entranceLimitation":{"type":"number"},"isCustomActivitiesEnabled":{"type":"boolean"},"maxCapacity":{"type":"number"},"startDate":{"format":"date-time","type":"string"},"expiryDate":{"format":"date-time","type":"string"},"workingHours":{"type":"array","items":{"$ref":"#/components/schemas/WorkingHoursDTO"}},"maxAdvance":{"type":"number"},"maxDelay":{"type":"number"},"exitTimeLimit":{"type":"number"},"isOverduePaymentsEnabled":{"type":"boolean"},"isExpiredSubscriptionsEnabled":{"type":"boolean"},"isExpiredMedicalCertificatesEnabled":{"type":"boolean"},"enableMultipleBookings":{"type":"boolean"},"enableWaitingList":{"type":"boolean"},"isSetConstraintsOnBookingCancellationEnabled":{"type":"boolean"},"constraintsOnBookingCancellation":{"type":"number"},"isSetConstraintsOnBookingCloseToActivityEnabled":{"type":"boolean"},"constraintsOnBookingCloseToActivity":{"type":"number"},"isActivateContractOptionEnabled":{"type":"boolean"},"termsAndConditions":{"type":"string"},"policyAndGDPR":{"type":"string"},"isSignInViaOtpSmsEnabled":{"type":"boolean"},"rooms":{"type":"array","items":{"type":"string"}},"nfcReaders":{"type":"array","items":{"type":"string"}}},"required":["name","tag","description","aftercareDescription","color","icon","priceType","price","discountPrice","duration","hasLimitedAccess","serviceType","entranceLimitation","isCustomActivitiesEnabled","maxCapacity","startDate","expiryDate","workingHours","maxAdvance","maxDelay","exitTimeLimit","isOverduePaymentsEnabled","isExpiredSubscriptionsEnabled","isExpiredMedicalCertificatesEnabled","enableMultipleBookings","enableWaitingList","isSetConstraintsOnBookingCancellationEnabled","constraintsOnBookingCancellation","isSetConstraintsOnBookingCloseToActivityEnabled","constraintsOnBookingCloseToActivity","isActivateContractOptionEnabled","termsAndConditions","policyAndGDPR","isSignInViaOtpSmsEnabled","rooms","nfcReaders"]},"ServiceWorkingHours":{"type":"object","properties":{"id":{"type":"string"},"monday":{"type":"object"},"tuesday":{"type":"object"},"wednesday":{"type":"object"},"thursday":{"type":"object"},"friday":{"type":"object"},"saturday":{"type":"object"},"sunday":{"type":"object"}},"required":["id","monday","tuesday","wednesday","thursday","friday","saturday","sunday"]},"Service":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"tag":{"type":"string"},"description":{"type":"string"},"aftercareDescription":{"type":"string"},"color":{"type":"number"},"icon":{"type":"number"},"priceType":{"type":"string"},"serviceType":{"type":"string"},"
- hasLimitedAccess":{"type":"boolean"},"price":{"type":"number"},"productId":{"type":"string"},"discountPrice":{"type":"number"},"duration":{"type":"string"},"bookingDuration":{"type":"string"},"entranceLimitation":{"type":"number"},"isCustomActivitiesEnabled":{"type":"boolean"},"maxCapacity":{"type":"number"},"startDate":{"format":"date-time","type":"string"},"expiryDate":{"format":"date-time","type":"string"},"workingHours":{"$ref":"#/components/schemas/ServiceWorkingHours"},"maxAdvance":{"type":"number"},"maxDelay":{"type":"number"},"exitTimeLimit":{"type":"number"},"isOverduePaymentsEnabled":{"type":"boolean"},"isExpiredSubscriptionsEnabled":{"type":"boolean"},"isExpiredMedicalCertificatesEnabled":{"type":"boolean"},"enableMultipleBookings":{"type":"boolean","nullable":true},"enableWaitingList":{"type":"boolean"},"isSetConstraintsOnBookingCancellationEnabled":{"type":"boolean"},"constraintsOnBookingCancellation":{"type":"number"},"isSetConstraintsOnBookingCloseToActivityEnabled":{"type":"boolean"},"constraintsOnBookingCloseToActivity":{"type":"boolean"},"isActivateContractOptionEnabled":{"type":"boolean"},"termsAndConditions":{"type":"string"},"policyAndGDPR":{"type":"string"},"isSignInViaOtpSmsEnabled":{"type":"boolean"}},"required":["id","name","tag","description","aftercareDescription","color","icon","priceType","serviceType","hasLimitedAccess","price","productId","discountPrice","duration","bookingDuration","entranceLimitation","isCustomActivitiesEnabled","maxCapacity","startDate","expiryDate","workingHours","maxAdvance","maxDelay","exitTimeLimit","isOverduePaymentsEnabled","isExpiredSubscriptionsEnabled","isExpiredMedicalCertificatesEnabled","enableMultipleBookings","enableWaitingList","isSetConstraintsOnBookingCancellationEnabled","constraintsOnBookingCancellation","isSetConstraintsOnBookingCloseToActivityEnabled","constraintsOnBookingCloseToActivity","isActivateContractOptionEnabled","termsAndConditions","policyAndGDPR","isSignInViaOtpSmsEnabled"]},"FindOneByIdParams":{"type":"object","properties":{}},"UpdateServiceTnCDTO":{"type":"object","properties":{"termsAndConditions":{"type":"string"},"isSignInViaOtpSmsEnabled":{"type":"boolean"}},"required":["termsAndConditions","isSignInViaOtpSmsEnabled"]},"CreateBundleDTO":{"type":"object","properties":{"name":{"type":"string"},"tag":{"type":"string"},"description":{"type":"string"},"color":{"type":"string"},"icon":{"type":"string"},"services":{"type":"array","items":{"type":"string"}},"price":{"type":"number"},"discountPrice":{"type":"number"}},"required":["name","tag","description","color","icon","services","price","discountPrice"]},"Bundle":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"tag":{"type":"string"},"description":{"type":"string"},"color":{"type":"string"},"icon":{"type":"string"},"price":{"type":"number"},"discountPrice":{"type":"number"}},"required":["id","name","tag","description","color","icon","price","discountPrice"]},"CreateExerciseDTO":{"type":"object","properties":{"title":{"type":"string"},"intensityLevel":{"type":"string"},"suitableFor":{"type":"string"},"muscleGroup":{"type":"array","description":"List of muscletype","items":{"type":"string","enum":["pectoralis","shoulders","biceps","forearms","abdominals","calves","quads","trapezoids","lats","triceps","femorals","glutes"]}},"category":{"type":"string"},"description":{"type":"string"},"respiration":{"type":"string"},"tips":{"type":"string"},"errors":{"type":"string"},"videoLink":{"type":"string"}},"required":["title","intensityLevel","suitableFor","muscleGroup","category","description","respiration","tips","errors","videoLink"]},"Exercise":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"intensityLevel":{"type":"string"},"suitableFor":{"type":"string"},"muscleGroup":{"type":"array","items":{"type":"string"}},"category":{"type":"string"},"description":{"type":"string"},"respiration":{"type":"string"},"tips":{"type":"string"},"errors":{"type":"string"},"videoLink":{"type":"string"}},"required":["id","title","intensityLevel","suitableFor","muscleGroup","category","description","respiration","tips","errors","videoLink"]},"UploadPositionImagesDTO":{"type":"object","properties":{"initialPositionImageUrl":{"type":"string"},"finalPositionImageUrl":{"type":"string"}},"required":["initialPositionImageUrl","finalPositionImageUrl"]},"CreateMealDTO":{"type":"object","properties":{"title":{"type":"string"},"suitableFor":{"type":"string"},"category":{"type":"string"},"kcal":{"type":"number"},"protein":{"type":"number"},"carbohydrates":{"type":"number"},"fat":{"type":"number"},"description":{"type":"string"},"recipes":{"type":"string"},"notes":{"type":"string"},"videoLink":{"type":"string"}},"required":["title","suitableFor","category","kcal","protein","carbohydrates","fat","description","recipes","notes","videoLink"]},"Meal":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"suitableFor":{"type":"string"},"category":{"type":"string"},"kcal":{"type":"number"},"protein":{"type":"number"},"carbohydrates":{"type":"number"},"fat":{"type":"number"},"description":{"type":"string"},"recipes":{"type":"string"},"notes":{"type":"string"},"videoLink":{"type":"string"}},"required":["id","title","suitableFor","category","kcal","protein","carbohydrates","fat","description","recipes","notes","videoLink"]},"UploadImageDTO":{"type":"object","properties":{"imageUrl":{"type":"string"}},"required":["imageUrl"]},"CreateIntegratorDTO":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"category":{"type":"string"},"property":{"type":"string"},"unit":{"type":"string"},"recommendedDose":{"type":"number"},"description":{"type":"string"},"recipes":{"type":"string"},"notes":{"type":"string"}},"required":["id","title","category","property","unit","recommendedDose","description","recipes","notes"]},"Integrator":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"category":{"type":"string"},"property":{"type":"string"},"unit":{"type":"string"},"recommended_dose":{"type":"number"},"description":{"type":"string"},"recipes":{"type":"string"},"notes":{"type":"string"}},"required":["id","title","category","property","unit","recommended_dose","description","recipes","notes"]},"CreateTargetDTO":{"type":"object","properties":{"name":{"type":"string"},"target":{"type":"number"},"lastMeasured":{"type":"number"},"consumerId":{"type":"string"}},"required":["name","target","lastMeasured","consumerId"]},"Target":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"target":{"type":"number"},"lastMeasured":{"type":"number"}},"required":["id","name","target","lastMeasured"]},"CreateSaleDTO":{"type":"object","properties":{"productType":{"type":"string"},"saleType":{"type":"string"},"serviceId":{"type":"string"},"staffId":{"type":"string"},"startDate":{"type":"string"}},"required":["productType","saleType","serviceId","staffId","startDate"]},"Consumer":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"},"phoneNumber":{"type":"string"},"dateOfBirth":{"type":"string"},"gender":{"type":"string"},"country":{"type":"string"},"address":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"tempUserId":{"type":"string"},"userId":{"type":"string"},"businessId":{"type":"string"},"isConsentExpiryDateForMarketingEnabled":{"type":"boolean"},"isConsentExpiryDateForServiceEnabled":{"type":"boolean"},"consentExpiryDateForMarketing":{"format":"date-time","type":"string"},"consentExpiryDateForService":{"format":"date-time","type":"string"},"targets":{"type":"array","items":{"type":"string"}},"activity":{"type":"array","items":{"type":"string"}}},"required":["id","email","name","phoneNumber","dateOfBirth","gender","country","address","city","state","tempUserId","userId","businessId","isConsentExpiryDateForMarketingEnabled","isConsentExpiryDateForServiceEnabled","consentExpiryDateForMarketing","consentExpiryDateForService","targets","activity"]},"CreateConsumerDTO":{"type":"object","properties":{"email":{"type":"string"},"name":{"type":"string"},"phoneNumber":{"type":"string"},"password":{"type":"string"},"dateOfBirth":{"type":"string"},"gender":{"type":"string"},"country":{"type":"string"},"address":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"businessId":{"type":"string"},"services":{"type":"array","items":{"type":"string"}},"bundles":{"type":"array","items":{"type":"string"}},"staffs":{"type":"array","items":{"type":"string"}},"isConsentExpiryDateForMarketingEnabled":{"type":"boolean"},"isConsentExpiryDateForServiceEnabled":{"type":"boolean"},"consentExpiryDateForMarketing":{"format":"date-time","type":"string"},"consentExpiryDateForService":{"format":"date-time","type":"string"}},"required":["email","name","phoneNumber","password","dateOfBirth","gender","country","address","city","state","businessId","services","bundles","staffs","isConsentExpiryDateForMarketingEnabled","isConsentExpiryDateForServiceEnabled","consentExpiryDateForMarketing","consentExpiryDateForService"]},"EditConsumerDTO":{"type":"object","properties":{"name":{"type":"string"},"avatar":{"type":"string"},"dateOfBirth":{"type":"string"},"gender":{"type":"string"},"country":{"type":"string"},"address":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"}},"required":["name","avatar","dateOfBirth","gender","country","address","city","state"]},"CreateSuspensionDTO":{"type":"object","properties":{"startDate":{"type":"string"},"endDate":{"type":"string"},"service":{"type":"string"},"bundle":{"type":"string"}},"required":["startDate","endDate","service","bundle"]},"Suspension":{"type":"object","properties":{"id":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"message":{"type":"string"}},"required":["id","startDate","endDate","message"]},"
- UpdateSuspensionDTO":{"type":"object","properties":{"id":{"type":"string"},"consumerId":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"service":{"type":"string"},"bundle":{"type":"string"}},"required":["id","consumerId","startDate","endDate","service","bundle"]},"Date":{"type":"object","properties":{}},"CreateExtensionDTO":{"type":"object","properties":{"extension":{"type":"number"},"service":{"type":"string"},"bundle":{"type":"string"}},"required":["extension","service","bundle"]},"UpdateExtensionDTO":{"type":"object","properties":{"id":{"type":"string"},"consumerId":{"type":"string"},"extension":{"type":"number"},"service":{"type":"string"},"bundle":{"type":"string"}},"required":["id","consumerId","extension","service","bundle"]},"AttachStaffDTO":{"type":"object","properties":{"staffId":{"type":"string"}},"required":["staffId"]},"UpdateTargetDTO":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"target":{"type":"number"},"lastMeasured":{"type":"number"}},"required":["id","name","target","lastMeasured"]},"CreateDietLoopDataDTO":{"type":"object","properties":{"mealId":{"type":"string"},"startTime":{"type":"string"},"endTime":{"type":"string"},"quantity":{"type":"number"}},"required":["mealId","startTime","endTime","quantity"]},"CreateDietLoopDTO":{"type":"object","properties":{"notes":{"type":"string"},"internalNotes":{"type":"string"},"date":{"type":"string"},"meal":{"type":"array","items":{"type":"string"}},"dietLoopData":{"$ref":"#/components/schemas/CreateDietLoopDataDTO"}},"required":["notes","internalNotes","date","meal","dietLoopData"]},"CreateDietScheduleDTO":{"type":"object","properties":{"title":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"isNotificationEnabled":{"type":"boolean"},"objective":{"type":"string"},"level":{"type":"string"},"loops":{"$ref":"#/components/schemas/CreateDietLoopDTO"}},"required":["title","startDate","endDate","isNotificationEnabled","objective","level","loops"]},"DietLoopSchedule":{"type":"object","properties":{"id":{"type":"string"},"businessId":{"type":"string"},"title":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"isNotificationEnabled":{"type":"boolean"},"level":{"type":"string"},"objective":{"type":"string"},"loops":{"type":"array","items":{"type":"string"}}},"required":["id","businessId","title","startDate","endDate","isNotificationEnabled","level","objective","loops"]},"UpdateDietLoopDataDTO":{"type":"object","properties":{"id":{"type":"string"},"mealId":{"type":"string"},"startTime":{"type":"string"},"endTime":{"type":"string"},"quantity":{"type":"number"}},"required":["id","mealId","startTime","endTime","quantity"]},"UpdateDietLoopDTO":{"type":"object","properties":{"id":{"type":"string"},"notes":{"type":"string"},"internalNotes":{"type":"string"},"date":{"type":"string"},"meal":{"type":"array","items":{"type":"string"}},"dietLoopData":{"$ref":"#/components/schemas/UpdateDietLoopDataDTO"}},"required":["id","notes","internalNotes","date","meal","dietLoopData"]},"UpdateDietScheduleDTO":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"isNotificationEnabled":{"type":"boolean"},"objective":{"type":"string"},"level":{"type":"string"},"consumerId":{"type":"string"},"loops":{"$ref":"#/components/schemas/UpdateDietLoopDTO"}},"required":["id","title","startDate","endDate","isNotificationEnabled","objective","level","consumerId","loops"]},"MarkDietLoopDataCompletedDTO":{"type":"object","properties":{"quantityTaken":{"type":"number"}},"required":["quantityTaken"]},"DietLoopData":{"type":"object","properties":{"id":{"type":"string"},"startTime":{"format":"date-time","type":"string"},"endTime":{"format":"date-time","type":"string"},"quantity":{"type":"number"},"quantityTaken":{"type":"number"},"mealId":{"type":"string"},"isCompleted":{"type":"boolean"},"isCompletedByUser":{"type":"boolean"}},"required":["id","startTime","endTime","quantity","quantityTaken","mealId","isCompleted","isCompletedByUser"]},"MarkDietLoopDataCompletedByBusinessDTO":{"type":"object","properties":{"consumerId":{"type":"string"},"quantityTaken":{"type":"number"}},"required":["consumerId","quantityTaken"]},"CreateExerciseLoopDataDTO":{"type":"object","properties":{"exerciseId":{"type":"string"},"sets":{"type":"number"},"repitition":{"type":"number"},"weightUsed":{"type":"number"},"restTime":{"type":"number"}},"required":["exerciseId","sets","repitition","weightUsed","restTime"]},"CreateExerciseLoopDTO":{"type":"object","properties":{"notes":{"type":"string"},"internalNotes":{"type":"string"},"date":{"type":"string"},"startTime":{"type":"string"},"endTime":{"type":"string"},"exercise":{"type":"array","items":{"type":"string"}},"exerciseLoopData":{"$ref":"#/components/schemas/CreateExerciseLoopDataDTO"}},"required":["notes","internalNotes","date","startTime","endTime","exercise","exerciseLoopData"]},"CreateExerciseScheduleDTO":{"type":"object","properties":{"title":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"isNotificationEnabled":{"type":"boolean"},"objective":{"type":"string"},"level":{"type":"string"},"consumerId":{"type":"string"},"loops":{"$ref":"#/components/schemas/CreateExerciseLoopDTO"}},"required":["title","startDate","endDate","isNotificationEnabled","objective","level","consumerId","loops"]},"ExerciseLoopSchedule":{"type":"object","properties":{"id":{"type":"string"},"businessId":{"type":"string"},"title":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"isNotificationEnabled":{"type":"boolean"},"level":{"type":"string"},"objective":{"type":"string"},"loops":{"type":"array","items":{"type":"string"}}},"required":["id","businessId","title","startDate","endDate","isNotificationEnabled","level","objective","loops"]},"UpdateExerciseLoopDataDTO":{"type":"object","properties":{"id":{"type":"string"},"exerciseId":{"type":"string"},"sets":{"type":"number"},"repitition":{"type":"number"},"weightUsed":{"type":"number"},"restTime":{"type":"number"}},"required":["id","exerciseId","sets","repitition","weightUsed","restTime"]},"UpdateExerciseLoopDTO":{"type":"object","properties":{"id":{"type":"string"},"notes":{"type":"string"},"internalNotes":{"type":"string"},"date":{"type":"string"},"startTime":{"type":"string"},"endTime":{"type":"string"},"exercise":{"type":"array","items":{"type":"string"}},"ExerciseLoopData":{"$ref":"#/components/schemas/UpdateExerciseLoopDataDTO"}},"required":["id","notes","internalNotes","date","startTime","endTime","exercise","ExerciseLoopData"]},"UpdateExerciseScheduleDTO":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"isNotificationEnabled":{"type":"boolean"},"objective":{"type":"string"},"level":{"type":"string"},"consumerId":{"type":"string"},"loops":{"$ref":"#/components/schemas/UpdateExerciseLoopDTO"}},"required":["id","title","startDate","endDate","isNotificationEnabled","objective","level","consumerId","loops"]},"MarkExerciseLoopDataCompletedDTO":{"type":"object","properties":{"setsTaken":{"type":"number"},"repititionTaken":{"type":"number"},"weightUsedTaken":{"type":"number"},"restTimeTaken":{"type":"number"}},"required":["setsTaken","repititionTaken","weightUsedTaken","restTimeTaken"]},"ExerciseLoopData":{"type":"object","properties":{"id":{"type":"string"},"exerciseId":{"type":"string"},"isCompleted":{"type":"boolean"},"isCompletedByUser":{"type":"boolean"},"sets":{"type":"number"},"repitition":{"type":"number"},"weightUsed":{"type":"number"},"restTime":{"type":"number"},"setsTaken":{"type":"number"},"repititionTaken":{"type":"number"},"weightUsedTaken":{"type":"number"},"restTimeTaken":{"type":"number"}},"required":["id","exerciseId","isCompleted","isCompletedByUser","sets","repitition","weightUsed","restTime","setsTaken","repititionTaken","weightUsedTaken","restTimeTaken"]},"MarkExerciseLoopDataCompletedByBusinessDTO":{"type":"object","properties":{"consumerId":{"type":"string"}},"required":["consumerId"]},"ExerciseLoop":{"type":"object","properties":{"id":{"type":"string"},"date":{"format":"date-time","type":"string"},"notes":{"type":"string"},"internalNotes":{"type":"string"},"exerciseIds":{"type":"array","items":{"type":"string"}},"startTime":{"format":"date-time","type":"string"},"endTime":{"format":"date-time","type":"string"}},"required":["id","date","notes","internalNotes","exerciseIds","startTime","endTime"]},"CreateSleepLoopDTO":{"type":"object","properties":{"notes":{"type":"string"},"internalNotes":{"type":"string"},"date":{"type":"string"},"restNeeded":{"type":"number"}},"required":["notes","internalNotes","date","restNeeded"]},"CreateSleepScheduleDTO":{"type":"object","properties":{"title":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"isNotificationEnabled":{"type":"boolean"},"objective":{"type":"string"},"consumerId":{"type":"string"},"loops":{"$ref":"#/components/schemas/CreateSleepLoopDTO"}},"required":["title","startDate","endDate","isNotificationEnabled","objective","consumerId","loops"]},"SleepLoopSchedule":{"type":"object","properties":{"id":{"type":"string"},"businessId":{"type":"string"},"title":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"isNotificationEnabled":{"type":"boolean"},"objective":{"type":"string"}},"required":["id","businessId","title","startDate","endDate","isNotificationEnabled","objective"]},"EditSleepLoopDTO":{"type":"object","properties":{"id":{"type":"string"},"notes":{"type":"string"},"internalNotes":{"type":"string"},"date":{"type":"string"},"restNeeded":{"type":"number"}},"required":["id","notes","internalNotes","date","restNeeded"]},"EditSleepScheduleDTO":{"type":"object","properties"
- :{"id":{"type":"string"},"title":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"isNotificationEnabled":{"type":"boolean"},"objective":{"type":"string"},"consumerId":{"type":"string"},"loops":{"$ref":"#/components/schemas/EditSleepLoopDTO"}},"required":["id","title","startDate","endDate","isNotificationEnabled","objective","consumerId","loops"]},"UpdateSleepLoopDTO":{"type":"object","properties":{"restTaken":{"type":"number"},"startTime":{"type":"string"},"endTime":{"type":"string"}},"required":["restTaken","startTime","endTime"]},"SleepLoop":{"type":"object","properties":{"id":{"type":"string"},"date":{"format":"date-time","type":"string"},"notes":{"type":"string"},"internalNotes":{"type":"string"},"restNeeded":{"type":"number"},"restTaken":{"type":"number"},"isCompleted":{"type":"boolean"},"isCompletedByUser":{"type":"boolean"}},"required":["id","date","notes","internalNotes","restNeeded","restTaken","isCompleted","isCompletedByUser"]},"CreateIntegratorLoopDataDTO":{"type":"object","properties":{"integratorId":{"type":"string"},"startTime":{"type":"string"},"endTime":{"type":"string"},"quantity":{"type":"number"}},"required":["integratorId","startTime","endTime","quantity"]},"CreateIntegratorLoopDTO":{"type":"object","properties":{"notes":{"type":"string"},"internalNotes":{"type":"string"},"date":{"type":"string"},"integrator":{"type":"array","items":{"type":"string"}},"integratorLoopData":{"$ref":"#/components/schemas/CreateIntegratorLoopDataDTO"}},"required":["notes","internalNotes","date","integrator","integratorLoopData"]},"CreateIntegratorScheduleDTO":{"type":"object","properties":{"title":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"isNotificationEnabled":{"type":"boolean"},"objective":{"type":"string"},"consumerId":{"type":"string"},"loops":{"$ref":"#/components/schemas/CreateIntegratorLoopDTO"}},"required":["title","startDate","endDate","isNotificationEnabled","objective","consumerId","loops"]},"IntegratorLoopSchedule":{"type":"object","properties":{"id":{"type":"string"},"businessId":{"type":"string"},"title":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"isNotificationEnabled":{"type":"boolean"},"objective":{"type":"string"},"loops":{"type":"array","items":{"type":"string"}}},"required":["id","businessId","title","startDate","endDate","isNotificationEnabled","objective","loops"]},"UpdateIntegratorLoopDataDTO":{"type":"object","properties":{"id":{"type":"string"},"integratorId":{"type":"string"},"startTime":{"type":"string"},"endTime":{"type":"string"},"quantity":{"type":"number"}},"required":["id","integratorId","startTime","endTime","quantity"]},"MarkIntegratorLoopDataCompletedDTO":{"type":"object","properties":{"quantityTaken":{"type":"number"}},"required":["quantityTaken"]},"IntegratorLoopData":{"type":"object","properties":{"id":{"type":"string"},"startTime":{"format":"date-time","type":"string"},"endTime":{"format":"date-time","type":"string"},"quantity":{"type":"number"},"quantityTaken":{"type":"number"},"integratorId":{"type":"string"},"isCompleted":{"type":"boolean"},"isCompletedByUser":{"type":"boolean"}},"required":["id","startTime","endTime","quantity","quantityTaken","integratorId","isCompleted","isCompletedByUser"]},"MarkIntegratorLoopDataCompletedByBusinessDTO":{"type":"object","properties":{"consumerId":{"type":"string"},"quantityTaken":{"type":"number"}},"required":["consumerId","quantityTaken"]},"CreateAppointmentDTO":{"type":"object","properties":{"startTime":{"format":"date-time","type":"string"},"endTime":{"format":"date-time","type":"string"},"serviceId":{"type":"string"},"consumerId":{"type":"string"},"staffId":{"type":"string"},"allowOnline":{"type":"boolean"},"type":{"type":"string"},"notes":{"type":"string"}},"required":["startTime","endTime","serviceId","consumerId","staffId","allowOnline","type","notes"]},"RescheduleAppointmentDTO":{"type":"object","properties":{"startTime":{"format":"date-time","type":"string"},"endTime":{"format":"date-time","type":"string"}},"required":["startTime","endTime"]},"CancelAppointmentDTO":{"type":"object","properties":{"reason":{"type":"string"},"cancelTime":{"format":"date-time","type":"string"}},"required":["reason","cancelTime"]},"EditAppointmentNotesDTO":{"type":"object","properties":{"notes":{"type":"string"}},"required":["notes"]},"GetAppointmentsByStaffDTO":{"type":"object","properties":{"staffs":{"type":"array","items":{"type":"string"}}},"required":["staffs"]},"GetStaffClientHistoryDTO":{"type":"object","properties":{"staffId":{"type":"string"},"consumerId":{"type":"string"}},"required":["staffId","consumerId"]},"GetAppointmentGraphData":{"type":"object","properties":{"duration":{"type":"string"}},"required":["duration"]},"CreateProposalDTO":{"type":"object","properties":{"title":{"type":"string"},"details":{"type":"string"},"isActive":{"type":"boolean"}},"required":["title","details","isActive"]},"UpdateProposalDTO":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"details":{"type":"string"},"isActive":{"type":"boolean"}},"required":["id","title","details","isActive"]},"CreateDocumentDTO":{"type":"object","properties":{"url":{"type":"string"},"type":{"type":"string"},"expiryDate":{"format":"date-time","type":"string"}},"required":["url","type","expiryDate"]},"Document":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"expiryDate":{"format":"date-time","type":"string"},"isApproved":{"type":"boolean"}},"required":["id","type","url","expiryDate","isApproved"]},"ConsumerIdDTO":{"type":"object","properties":{"clientId":{"type":"string"}},"required":["clientId"]},"UpdateDocumentApprovalDTO":{"type":"object","properties":{"consumerId":{"type":"string"}},"required":["consumerId"]},"CreatePurchaseDTO":{"type":"object","properties":{"productType":{"type":"string"},"saleType":{"type":"string"},"serviceId":{"type":"string"},"staffId":{"type":"string"},"startDate":{"type":"string"}},"required":["productType","saleType","serviceId","staffId","startDate"]},"CreateBundlePurchaseDTO":{"type":"object","properties":{"productType":{"type":"string"},"saleType":{"type":"string"},"bundleId":{"type":"string"},"services":{"type":"array","items":{"type":"string"}},"startDate":{"type":"string"}},"required":["productType","saleType","bundleId","services","startDate"]},"ActivateSubscriptionDTO":{"type":"object","properties":{"saleType":{"type":"string"},"installments":{"type":"number"}},"required":["saleType","installments"]},"VerifyServiceBundleOtpDTO":{"type":"object","properties":{"otp":{"type":"string"},"type":{"type":"string"}},"required":["otp","type"]},"Address":{"type":"object","properties":{"country":{"type":"string"},"state":{"type":"string"},"line1":{"type":"string"},"city":{"type":"string"}},"required":["country","state","line1","city"]},"CreatePaymentMethodDTO":{"type":"object","properties":{"expMonth":{"type":"number"},"expYear":{"type":"number"},"cvc":{"type":"string"},"number":{"type":"string"},"address":{"$ref":"#/components/schemas/Address"}},"required":["expMonth","expYear","cvc","number","address"]},"SendOTPDTO":{"type":"object","properties":{"recipient":{"type":"string"},"content":{"type":"string"}},"required":["recipient","content"]},"SendNotificationDTO":{"type":"object","properties":{}}}}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement