@doctocar/tooling 0.3.1-6 → 0.3.1-7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (617) hide show
  1. package/dist/emails/enums/AWSSESEmailsTemplatesNames.enum.d.ts +3 -1
  2. package/dist/emails/enums/AWSSESEmailsTemplatesNames.enum.js +3 -1
  3. package/dist/emails/maps/EmailTemplateDataMap.map.d.ts +4 -2
  4. package/dist/emails/maps/EmailTemplateDataMap.map.js +0 -4
  5. package/dist/emails/types/entity/ServiceProviderEntityIsNotCompliantAnymoreEmailData.type.d.ts +4 -0
  6. package/dist/emails/types/entity/ServiceProviderEntityIsNowCompliantEmailData.type.d.ts +3 -0
  7. package/dist/emails/types/entity/ServiceProviderEntityOnboardingCompletedEmailData.type.d.ts +3 -0
  8. package/dist/emails/types/entity/index.d.ts +3 -0
  9. package/dist/emails/types/entity/index.js +3 -0
  10. package/dist/emails/types/professional/index.d.ts +0 -1
  11. package/dist/emails/types/professional/index.js +0 -1
  12. package/dist/errors/enums/cloudFunctions/entities/UpdateEntityAgreementsErrorCodes.enum.d.ts +12 -0
  13. package/dist/errors/enums/cloudFunctions/entities/UpdateEntityAgreementsErrorCodes.enum.js +16 -0
  14. package/dist/errors/enums/cloudFunctions/entities/UpdateEntityProfessionalLiabilityInsuranceErrorCodes.enum.d.ts +11 -0
  15. package/dist/errors/enums/cloudFunctions/entities/UpdateEntityProfessionalLiabilityInsuranceErrorCodes.enum.js +15 -0
  16. package/dist/errors/enums/cloudFunctions/entities/index.d.ts +2 -0
  17. package/dist/errors/enums/cloudFunctions/entities/index.js +2 -0
  18. package/dist/errors/enums/cloudFunctions/index.d.ts +2 -1
  19. package/dist/errors/enums/cloudFunctions/index.js +2 -1
  20. package/dist/errors/enums/cloudFunctions/orders/CustomerSubmitOrderRatingAndReviewErrorCodes.enum.d.ts +1 -1
  21. package/dist/errors/enums/cloudFunctions/orders/CustomerSubmitOrderRatingAndReviewErrorCodes.enum.js +1 -1
  22. package/dist/errors/enums/cloudFunctions/orders/GetOrCreateServiceBookingOrderWithPaymentIntentErrorCodes.enum.d.ts +6 -4
  23. package/dist/errors/enums/cloudFunctions/orders/GetOrCreateServiceBookingOrderWithPaymentIntentErrorCodes.enum.js +6 -4
  24. package/dist/errors/enums/cloudFunctions/orders/{ProfessionalUserDeleteOrderServicePhotosErrorCodes.enum.d.ts → ServiceProviderUserDeleteOrderServicePhotosErrorCodes.enum.d.ts} +1 -1
  25. package/dist/errors/enums/cloudFunctions/orders/ServiceProviderUserDeleteOrderServicePhotosErrorCodes.enum.js +13 -0
  26. package/dist/errors/enums/cloudFunctions/orders/{ProfessionalUserUploadOrderServicePhotosErrorCodes.enum.d.ts → ServiceProviderUserUploadOrderServicePhotosErrorCodes.enum.d.ts} +2 -2
  27. package/dist/errors/enums/cloudFunctions/orders/ServiceProviderUserUploadOrderServicePhotosErrorCodes.enum.js +17 -0
  28. package/dist/errors/enums/cloudFunctions/orders/index.d.ts +2 -2
  29. package/dist/errors/enums/cloudFunctions/orders/index.js +2 -2
  30. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/CreateServiceProviderUserPublicDocumentErrorCodes.enum.d.ts +6 -0
  31. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/CreateServiceProviderUserPublicDocumentErrorCodes.enum.js +10 -0
  32. package/dist/errors/enums/cloudFunctions/{professionals/CreateProfessionalUserSlotDocumentErrorCodes.enum.d.ts → serviceProviderUsers/CreateServiceProviderUserSlotDocumentErrorCodes.enum.d.ts} +1 -1
  33. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/CreateServiceProviderUserSlotDocumentErrorCodes.enum.js +8 -0
  34. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/DeleteServiceProviderUserErrorCodes.enum.d.ts +7 -0
  35. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/DeleteServiceProviderUserErrorCodes.enum.js +11 -0
  36. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/DeleteServiceProviderUserServiceErrorCodes.enum.d.ts +7 -0
  37. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/DeleteServiceProviderUserServiceErrorCodes.enum.js +11 -0
  38. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/DeleteServiceProviderUserSlotDocumentErrorCodes.enum.d.ts +6 -0
  39. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/DeleteServiceProviderUserSlotDocumentErrorCodes.enum.js +10 -0
  40. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/UpdateServiceProviderUserServiceErrorCodes.enum.d.ts +7 -0
  41. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/UpdateServiceProviderUserServiceErrorCodes.enum.js +11 -0
  42. package/dist/errors/enums/cloudFunctions/{professionals/UpdateProfessionalUserServicesLocationErrorCodes.enum.d.ts → serviceProviderUsers/UpdateServiceProviderUserServicesLocationErrorCodes.enum.d.ts} +2 -2
  43. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/UpdateServiceProviderUserServicesLocationErrorCodes.enum.js +12 -0
  44. package/dist/errors/enums/cloudFunctions/{professionals/UpdateProfessionalUserSlotDocumentErrorCodes.enum.d.ts → serviceProviderUsers/UpdateServiceProviderUserSlotDocumentErrorCodes.enum.d.ts} +1 -1
  45. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/UpdateServiceProviderUserSlotDocumentErrorCodes.enum.js +8 -0
  46. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/index.d.ts +8 -0
  47. package/dist/errors/enums/cloudFunctions/{professionals → serviceProviderUsers}/index.js +8 -5
  48. package/dist/errors/enums/cloudFunctions/stripe/CreateStripeEntityAccountLinkErrorCodes.enum.d.ts +11 -0
  49. package/dist/errors/enums/cloudFunctions/stripe/CreateStripeEntityAccountLinkErrorCodes.enum.js +15 -0
  50. package/dist/errors/enums/cloudFunctions/stripe/index.d.ts +1 -0
  51. package/dist/errors/enums/cloudFunctions/stripe/index.js +17 -0
  52. package/dist/errors/enums/cloudFunctions/users/CreateUserDocumentErrorCodes.enum.d.ts +5 -0
  53. package/dist/errors/enums/cloudFunctions/users/CreateUserDocumentErrorCodes.enum.js +9 -0
  54. package/dist/errors/enums/cloudFunctions/users/auth/SendUserEmailVerificationErrorCodes.enum.d.ts +1 -0
  55. package/dist/errors/enums/cloudFunctions/users/auth/SendUserEmailVerificationErrorCodes.enum.js +1 -0
  56. package/dist/errors/enums/cloudFunctions/users/index.d.ts +1 -0
  57. package/dist/errors/enums/cloudFunctions/users/index.js +1 -0
  58. package/dist/errors/enums/cloudFunctions/wallets/RequestWalletWithdrawalErrorCodes.enum.d.ts +5 -0
  59. package/dist/errors/enums/cloudFunctions/wallets/RequestWalletWithdrawalErrorCodes.enum.js +5 -0
  60. package/dist/firebase/cloudFunctions/enums/OnCallCloudFunctionsNames.enum.d.ts +12 -13
  61. package/dist/firebase/cloudFunctions/enums/OnCallCloudFunctionsNames.enum.js +13 -14
  62. package/dist/firebase/cloudFunctions/enums/TaskCloudFunctionsNames.enum.d.ts +2 -1
  63. package/dist/firebase/cloudFunctions/enums/TaskCloudFunctionsNames.enum.js +2 -1
  64. package/dist/firebase/cloudFunctions/enums/testUsers/TestUsersEmails.enum.d.ts +2 -2
  65. package/dist/firebase/cloudFunctions/enums/testUsers/TestUsersEmails.enum.js +2 -2
  66. package/dist/firebase/cloudFunctions/enums/testUsers/TestUsersScenarios.enum.d.ts +2 -2
  67. package/dist/firebase/cloudFunctions/enums/testUsers/TestUsersScenarios.enum.js +2 -2
  68. package/dist/firebase/cloudFunctions/maps/OnCallCloudFunctionsTypeMappings.map.d.ts +39 -43
  69. package/dist/firebase/cloudFunctions/maps/testUsers/TestUsersEmailsScenariosMap.js +2 -2
  70. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityAgreementsPayload.type.d.ts +18 -0
  71. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityAgreementsRequestData.type.d.ts +3 -0
  72. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityAgreementsResponseData.type.d.ts +3 -0
  73. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityProfessionalLiabilityInsuranceRequestData.type.d.ts +5 -0
  74. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityProfessionalLiabilityInsuranceResponseData.type.d.ts +1 -0
  75. package/dist/firebase/cloudFunctions/types/entities/index.d.ts +5 -0
  76. package/dist/firebase/cloudFunctions/types/entities/index.js +5 -0
  77. package/dist/firebase/cloudFunctions/types/orders/GetOrCreateServiceBookingOrderWithPaymentIntentRequestData.type.d.ts +4 -4
  78. package/dist/firebase/cloudFunctions/types/orders/ServiceProviderUserDeleteOrderServicePhotosRequestData.type.d.ts +8 -0
  79. package/dist/firebase/cloudFunctions/types/orders/ServiceProviderUserDeleteOrderServicePhotosResponseData.type.d.ts +1 -0
  80. package/dist/firebase/cloudFunctions/types/orders/ServiceProviderUserUploadOrderServicePhotosRequestData.type.d.ts +8 -0
  81. package/dist/firebase/cloudFunctions/types/orders/ServiceProviderUserUploadOrderServicePhotosResponseData.type.d.ts +1 -0
  82. package/dist/firebase/cloudFunctions/types/orders/index.d.ts +4 -4
  83. package/dist/firebase/cloudFunctions/types/orders/index.js +4 -4
  84. package/dist/firebase/cloudFunctions/types/stripe/{CreateStripeUserAccountLinkRequestData.type.d.ts → CreateStripeEntityAccountLinkRequestData.type.d.ts} +2 -1
  85. package/dist/firebase/cloudFunctions/types/stripe/{CreateStripeUserAccountLinkResponseData.type.d.ts → CreateStripeEntityAccountLinkResponseData.type.d.ts} +1 -1
  86. package/dist/firebase/cloudFunctions/types/stripe/index.d.ts +2 -2
  87. package/dist/firebase/cloudFunctions/types/stripe/index.js +2 -2
  88. package/dist/firebase/cloudFunctions/types/users/CreateUserDocumentRequestData.type.d.ts +4 -1
  89. package/dist/firebase/cloudFunctions/types/users/index.d.ts +1 -1
  90. package/dist/firebase/cloudFunctions/types/users/index.js +1 -1
  91. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/CreateServiceProviderUserPublicDocumentRequestData.type.d.ts +2 -0
  92. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/CreateServiceProviderUserPublicDocumentResponseData.type.d.ts +1 -0
  93. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/DeleteServiceProviderUserServiceRequestData.type.d.ts +5 -0
  94. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/DeleteServiceProviderUserServiceResponseData.type.d.ts +1 -0
  95. package/dist/firebase/cloudFunctions/types/users/{professionals/DeleteProfessionalUserSlotDocumentRequestData.type.d.ts → serviceProviderUsers/DeleteServiceProviderUserSlotDocumentRequestData.type.d.ts} +1 -1
  96. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/DeleteServiceProviderUserSlotDocumentResponseData.type.d.ts +1 -0
  97. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/UpdateServiceProviderUserServiceRequestData.type.d.ts +5 -0
  98. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/UpdateServiceProviderUserServiceResponseData.type.d.ts +1 -0
  99. package/dist/firebase/cloudFunctions/types/users/{professionals/UpdateProfessionalUserServicesLocationRequestData.type.d.ts → serviceProviderUsers/UpdateServiceProviderUserServicesLocationRequestData.type.d.ts} +1 -1
  100. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/UpdateServiceProviderUserServicesLocationResponseData.type.d.ts +1 -0
  101. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/index.d.ts +11 -0
  102. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/index.js +27 -0
  103. package/dist/firebase/cloudFunctions/types/users/{professionals/slots/CreateProfessionalUserSlotDocumentRequestData.type.d.ts → serviceProviderUsers/slots/CreateServiceProviderUserSlotDocumentRequestData.type.d.ts} +1 -1
  104. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/CreateServiceProviderUserSlotDocumentResponseData.type.d.ts +3 -0
  105. package/dist/firebase/cloudFunctions/types/users/{professionals/slots/UpdateProfessionalUserSlotDocumentRequestData.type.d.ts → serviceProviderUsers/slots/UpdateServiceProviderUserSlotDocumentRequestData.type.d.ts} +1 -1
  106. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/UpdateServiceProviderUserSlotDocumentResponseData.type.d.ts +1 -0
  107. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/index.d.ts +8 -0
  108. package/dist/firebase/cloudFunctions/types/users/{professionals → serviceProviderUsers}/slots/index.js +7 -4
  109. package/dist/firebase/cloudFunctions/types/wallet/ApplyTestWalletLedgerEntryRequestData.type.d.ts +1 -0
  110. package/dist/firebase/cloudFunctions/types/wallet/RequestWalletWithdrawalRequestData.type.d.ts +1 -0
  111. package/dist/firebase/constants/entities/index.d.ts +1 -0
  112. package/dist/firebase/{firestore/utils/company → constants/entities}/index.js +1 -1
  113. package/dist/firebase/constants/entities/testEntityIdPrefix.constant.d.ts +1 -0
  114. package/dist/firebase/constants/entities/testEntityIdPrefix.constant.js +4 -0
  115. package/dist/firebase/constants/index.d.ts +1 -0
  116. package/dist/firebase/constants/index.js +1 -0
  117. package/dist/firebase/firestore/constants/index.d.ts +1 -0
  118. package/dist/firebase/firestore/constants/index.js +1 -0
  119. package/dist/firebase/firestore/constants/maximumEntityMembers.constant.d.ts +1 -1
  120. package/dist/firebase/firestore/constants/maximumEntityMembers.constant.js +1 -1
  121. package/dist/firebase/firestore/constants/sandboxDocumentIdPrefix.constant.d.ts +1 -0
  122. package/dist/firebase/firestore/constants/sandboxDocumentIdPrefix.constant.js +4 -0
  123. package/dist/firebase/firestore/enums/FirestoreCollections.enum.d.ts +26 -24
  124. package/dist/firebase/firestore/enums/FirestoreCollections.enum.js +26 -24
  125. package/dist/firebase/firestore/enums/customers/CustomerUserNonComplianceReason.enum.d.ts +5 -0
  126. package/dist/firebase/firestore/enums/customers/CustomerUserNonComplianceReason.enum.js +9 -0
  127. package/dist/firebase/firestore/enums/customers/index.d.ts +1 -0
  128. package/dist/firebase/firestore/{types/companyUnique → enums/customers}/index.js +1 -1
  129. package/dist/firebase/firestore/enums/entities/EntityComplianceStatus.enum.d.ts +4 -0
  130. package/dist/firebase/firestore/enums/entities/EntityComplianceStatus.enum.js +8 -0
  131. package/dist/firebase/firestore/enums/entities/EntityCustomerNonComplianceReason.enum.d.ts +4 -0
  132. package/dist/firebase/firestore/enums/entities/EntityCustomerNonComplianceReason.enum.js +8 -0
  133. package/dist/firebase/firestore/enums/entities/EntityServiceProviderNonComplianceReason.enum.d.ts +17 -0
  134. package/dist/firebase/firestore/enums/entities/EntityServiceProviderNonComplianceReason.enum.js +21 -0
  135. package/dist/firebase/firestore/enums/entities/index.d.ts +3 -2
  136. package/dist/firebase/firestore/enums/entities/index.js +3 -2
  137. package/dist/firebase/firestore/enums/index.d.ts +3 -2
  138. package/dist/firebase/firestore/enums/index.js +3 -2
  139. package/dist/firebase/firestore/enums/legal/TermsAndPolicyStatus.enum.d.ts +5 -0
  140. package/dist/firebase/firestore/enums/legal/TermsAndPolicyStatus.enum.js +9 -0
  141. package/dist/firebase/firestore/enums/legal/index.d.ts +1 -0
  142. package/dist/firebase/firestore/enums/{users/customers → legal}/index.js +1 -1
  143. package/dist/firebase/firestore/enums/orders/OrderActorRole.enum.d.ts +1 -1
  144. package/dist/firebase/firestore/enums/orders/OrderActorRole.enum.js +1 -1
  145. package/dist/firebase/firestore/enums/orders/{OrderProfessionalServiceDetailsPhotoMoment.enum.d.ts → OrderServiceDetailsPhotoMoment.enum.d.ts} +1 -1
  146. package/dist/firebase/firestore/enums/orders/OrderServiceDetailsPhotoMoment.enum.js +8 -0
  147. package/dist/firebase/firestore/enums/orders/OrderUpdatedByType.enum.d.ts +4 -0
  148. package/dist/firebase/firestore/enums/orders/OrderUpdatedByType.enum.js +8 -0
  149. package/dist/firebase/firestore/enums/orders/index.d.ts +3 -1
  150. package/dist/firebase/firestore/enums/orders/index.js +3 -1
  151. package/dist/firebase/firestore/enums/orders/snapshots/VehicleSnapshotForOrderOwnerType.enum.d.ts +4 -0
  152. package/dist/firebase/firestore/enums/orders/snapshots/VehicleSnapshotForOrderOwnerType.enum.js +8 -0
  153. package/dist/firebase/firestore/enums/orders/snapshots/index.d.ts +1 -0
  154. package/dist/firebase/firestore/enums/{professionalUser → orders/snapshots}/index.js +1 -1
  155. package/dist/firebase/firestore/enums/serviceProviderUsers/ServiceProviderUserNonComplianceReason.enum.d.ts +6 -0
  156. package/dist/firebase/firestore/enums/serviceProviderUsers/ServiceProviderUserNonComplianceReason.enum.js +10 -0
  157. package/dist/firebase/firestore/enums/serviceProviderUsers/index.d.ts +1 -0
  158. package/dist/firebase/firestore/enums/serviceProviderUsers/index.js +17 -0
  159. package/dist/firebase/firestore/enums/services/ServicesCategoryTypes.enum.d.ts +3 -0
  160. package/dist/firebase/firestore/enums/services/ServicesCategoryTypes.enum.js +7 -0
  161. package/dist/firebase/firestore/enums/services/{ProfessionalServicesTypes.enum.d.ts → ServicesTypes.enum.d.ts} +1 -1
  162. package/dist/firebase/firestore/enums/services/ServicesTypes.enum.js +16 -0
  163. package/dist/firebase/firestore/enums/services/index.d.ts +2 -2
  164. package/dist/firebase/firestore/enums/services/index.js +2 -2
  165. package/dist/firebase/firestore/enums/users/UserComplianceStatus.enum.d.ts +4 -0
  166. package/dist/firebase/firestore/enums/users/UserComplianceStatus.enum.js +8 -0
  167. package/dist/firebase/firestore/enums/users/index.d.ts +1 -1
  168. package/dist/firebase/firestore/enums/users/index.js +1 -1
  169. package/dist/firebase/firestore/enums/users/professionals/index.d.ts +0 -2
  170. package/dist/firebase/firestore/enums/users/professionals/index.js +0 -2
  171. package/dist/firebase/firestore/maps/FirestoreCollectionDocumentTypeMap.d.ts +4 -2
  172. package/dist/firebase/firestore/maps/FirestoreCollectionDocumentTypeMap.js +0 -4
  173. package/dist/firebase/firestore/types/company/index.d.ts +0 -5
  174. package/dist/firebase/firestore/types/company/index.js +0 -5
  175. package/dist/firebase/firestore/types/configs/CountryServicesPublicConfig.type.d.ts +2 -2
  176. package/dist/firebase/firestore/types/configs/FirestoreOrdersPublicConfigDocument.type.d.ts +3 -3
  177. package/dist/firebase/firestore/types/configs/FirestorePlatformPublicConfigDocument.type.d.ts +1 -13
  178. package/dist/firebase/firestore/types/configs/FirestoreServicesPublicConfig.type.d.ts +4 -5
  179. package/dist/firebase/firestore/types/configs/ServicesPublicConfigByVehicleType.type.d.ts +2 -6
  180. package/dist/firebase/firestore/types/configs/ServicesPublicConfigPhotosRequirements.type.d.ts +2 -2
  181. package/dist/firebase/firestore/types/configs/ServicesPublicConfigVehiclePricingAndDuration.type.d.ts +6 -0
  182. package/dist/firebase/firestore/types/configs/index.d.ts +1 -0
  183. package/dist/firebase/firestore/types/configs/index.js +1 -0
  184. package/dist/firebase/firestore/types/entities/EntityAgreements.type.d.ts +1 -1
  185. package/dist/firebase/firestore/types/entities/EntityVatDetails.type.d.ts +1 -1
  186. package/dist/firebase/firestore/types/entities/FirestoreEntityDocument.type.d.ts +41 -6
  187. package/dist/firebase/firestore/types/entityMembers/FirestoreEntityMemberDocument.type.d.ts +7 -1
  188. package/dist/firebase/firestore/types/index.d.ts +0 -1
  189. package/dist/firebase/firestore/types/index.js +0 -1
  190. package/dist/firebase/firestore/types/legal/TermsAndPolicy.type.d.ts +2 -0
  191. package/dist/firebase/firestore/types/location/DoctoCarLocation.type.d.ts +2 -0
  192. package/dist/firebase/firestore/types/order/FirestoreOrderDocument.type.d.ts +35 -56
  193. package/dist/firebase/firestore/types/order/FirestoreOrderServiceDetails.type.d.ts +10 -0
  194. package/dist/firebase/firestore/types/order/OrderOperationalBooleanOps.type.d.ts +3 -3
  195. package/dist/firebase/firestore/types/order/OrderUpdatedBy.type.d.ts +8 -0
  196. package/dist/firebase/firestore/types/order/index.d.ts +3 -1
  197. package/dist/firebase/firestore/types/order/index.js +3 -1
  198. package/dist/firebase/firestore/types/order/publicAssets/FirestoreOrderClientPublicAssetsUrls.type.d.ts +2 -2
  199. package/dist/firebase/firestore/types/order/publicAssets/FirestoreOrderClientPublicImagesUrlsServiceDetailPhotos.type.d.ts +3 -0
  200. package/dist/firebase/firestore/types/order/publicAssets/FirestoreOrderClientServicesDetailsPublicImagesUrls.type.d.ts +5 -0
  201. package/dist/firebase/firestore/types/order/publicAssets/index.d.ts +2 -2
  202. package/dist/firebase/firestore/types/order/publicAssets/index.js +2 -2
  203. package/dist/firebase/firestore/types/order/snapshots/CompanyEntitySnapshotForOrder.type.d.ts +30 -0
  204. package/dist/firebase/firestore/types/order/snapshots/CustomerEntitySnapshotForOrder.type.d.ts +8 -0
  205. package/dist/firebase/firestore/types/order/snapshots/CustomerUserSnapshotForOrder.type.d.ts +7 -0
  206. package/dist/firebase/firestore/types/order/snapshots/EntitySnapshotForOrderBase.type.d.ts +7 -0
  207. package/dist/firebase/firestore/types/order/snapshots/IndividualEntitySnapshotForOrder.type.d.ts +5 -0
  208. package/dist/firebase/firestore/types/order/snapshots/ServiceProviderEntitySnapshotForOrder.type.d.ts +8 -0
  209. package/dist/firebase/firestore/types/order/snapshots/ServiceProviderUserSnapshotForOrder.type.d.ts +7 -0
  210. package/dist/firebase/firestore/types/order/snapshots/TermsAndPolicySnapshotForOrder.type.d.ts +6 -0
  211. package/dist/firebase/firestore/types/order/snapshots/UserSnapshotForOrder.type.d.ts +6 -0
  212. package/dist/firebase/firestore/types/order/snapshots/VehicleSnapshotForOrder.type.d.ts +17 -0
  213. package/dist/firebase/firestore/types/order/snapshots/index.d.ts +10 -0
  214. package/dist/firebase/firestore/{utils/users → types/order/snapshots}/index.js +10 -4
  215. package/dist/firebase/firestore/types/paymentProviders/stripes/StripeConnectAccountRequirementsSummary.type.d.ts +1 -0
  216. package/dist/firebase/firestore/types/promoCode/FirestorePromoCodeDocument.type.d.ts +2 -2
  217. package/dist/firebase/firestore/types/services/ProfessionalService.type.d.ts +3 -3
  218. package/dist/firebase/firestore/types/userDocument/FirestoreUserDocument.type.d.ts +40 -12
  219. package/dist/firebase/firestore/types/userDocument/index.d.ts +0 -2
  220. package/dist/firebase/firestore/types/userDocument/index.js +0 -2
  221. package/dist/firebase/firestore/types/userPublicDocument/FirestoreProfessionalUserPublicDocument.type.d.ts +10 -7
  222. package/dist/firebase/firestore/types/vehicles/FirestoreVehicleDocument.type.d.ts +2 -0
  223. package/dist/firebase/firestore/types/wallets/FirestoreWalletsDocument.type.d.ts +1 -0
  224. package/dist/firebase/firestore/types/walletsWithdrawalIntents/FirestoreWalletsWithdrawalIntentsDocument.type.d.ts +1 -0
  225. package/dist/firebase/firestore/utils/address/__tests__/isValidLegalAddress.test.js +73 -0
  226. package/dist/firebase/firestore/utils/address/index.d.ts +1 -0
  227. package/dist/firebase/firestore/utils/{users/errors → address}/index.js +1 -1
  228. package/dist/firebase/firestore/utils/address/isValidLegalAddress.d.ts +2 -0
  229. package/dist/firebase/firestore/utils/address/isValidLegalAddress.js +11 -0
  230. package/dist/firebase/firestore/utils/address/types/IsValidLegalAddressParams.type.d.ts +4 -0
  231. package/dist/firebase/firestore/utils/address/types/index.d.ts +1 -0
  232. package/dist/firebase/firestore/{enums/documents → utils/address/types}/index.js +1 -1
  233. package/dist/firebase/firestore/utils/configs/__tests__/getAvailableServicesPublicConfigForVehicleType.test.js +146 -0
  234. package/dist/firebase/firestore/utils/configs/getAvailableServicesPublicConfigForVehicleType.d.ts +6 -0
  235. package/dist/firebase/firestore/utils/configs/getAvailableServicesPublicConfigForVehicleType.js +24 -0
  236. package/dist/firebase/firestore/utils/configs/index.d.ts +1 -0
  237. package/dist/firebase/firestore/utils/configs/index.js +17 -0
  238. package/dist/firebase/firestore/utils/configs/types/GetAvailableServicesPublicConfigForVehicleTypeParams.type.d.ts +6 -0
  239. package/dist/firebase/firestore/utils/configs/types/index.d.ts +1 -0
  240. package/dist/firebase/firestore/utils/configs/types/index.js +17 -0
  241. package/dist/firebase/firestore/utils/dataValidators/company/index.d.ts +0 -2
  242. package/dist/firebase/firestore/utils/dataValidators/company/index.js +0 -2
  243. package/dist/firebase/firestore/utils/dataValidators/index.d.ts +1 -1
  244. package/dist/firebase/firestore/utils/dataValidators/index.js +1 -1
  245. package/dist/firebase/firestore/utils/dataValidators/services/__tests__/isValidProfessionalService.test.js +172 -0
  246. package/dist/firebase/firestore/utils/dataValidators/{professionalService/__tests__/isValidProfessionalServicePricingAndDurationForVehicle.test.js → services/__tests__/isValidServicePricingAndDurationForVehicle.test.js} +33 -26
  247. package/dist/firebase/firestore/utils/dataValidators/services/index.d.ts +2 -0
  248. package/dist/firebase/firestore/utils/dataValidators/services/index.js +18 -0
  249. package/dist/firebase/firestore/utils/dataValidators/{professionalService → services}/isValidProfessionalService.d.ts +1 -1
  250. package/dist/firebase/firestore/utils/dataValidators/{professionalService → services}/isValidProfessionalService.js +14 -23
  251. package/dist/firebase/firestore/utils/dataValidators/services/isValidServicePricingAndDurationForVehicle.d.ts +2 -0
  252. package/dist/firebase/firestore/utils/dataValidators/services/isValidServicePricingAndDurationForVehicle.js +29 -0
  253. package/dist/firebase/firestore/utils/dataValidators/services/types/IsValidProfessionalServiceParams.type.d.ts +6 -0
  254. package/dist/firebase/firestore/utils/dataValidators/services/types/IsValidServicePricingAndDurationForVehicleParams.type.d.ts +5 -0
  255. package/dist/firebase/firestore/utils/dataValidators/services/types/index.d.ts +2 -0
  256. package/dist/firebase/firestore/utils/{users → dataValidators/services}/types/index.js +2 -2
  257. package/dist/firebase/firestore/utils/entities/__tests__/isEntityLegalDetailsVatVerified.test.js +61 -0
  258. package/dist/firebase/firestore/utils/entities/index.d.ts +1 -0
  259. package/dist/firebase/firestore/utils/entities/index.js +1 -0
  260. package/dist/firebase/firestore/utils/entities/isEntityLegalDetailsVatVerified.d.ts +2 -0
  261. package/dist/firebase/firestore/utils/entities/isEntityLegalDetailsVatVerified.js +17 -0
  262. package/dist/firebase/firestore/utils/entities/types/IsEntityLegalDetailsVatVerifiedParams.type.d.ts +4 -0
  263. package/dist/firebase/firestore/utils/entities/types/index.d.ts +1 -0
  264. package/dist/firebase/firestore/utils/entities/types/index.js +1 -0
  265. package/dist/firebase/firestore/utils/index.d.ts +2 -2
  266. package/dist/firebase/firestore/utils/index.js +2 -2
  267. package/dist/firebase/firestore/utils/order/__tests__/buildOrderServicePreTaxLinesAndServicesDetails.test.js +259 -0
  268. package/dist/firebase/firestore/utils/order/buildOrderServicePreTaxLinesAndServicesDetails.d.ts +2 -0
  269. package/dist/firebase/firestore/utils/order/buildOrderServicePreTaxLinesAndServicesDetails.js +48 -0
  270. package/dist/firebase/firestore/utils/order/index.d.ts +1 -2
  271. package/dist/firebase/firestore/utils/order/index.js +1 -2
  272. package/dist/firebase/firestore/utils/order/types/BuildOrderServicePreTaxLinesAndServicesDetailsProps.type.d.ts +8 -0
  273. package/dist/firebase/firestore/utils/order/types/BuildOrderServicePreTaxLinesAndServicesDetailsReturn.type.d.ts +6 -0
  274. package/dist/firebase/firestore/utils/order/types/BuildOrderServicePreTaxLinesAndServicesDetailsReturn.type.js +2 -0
  275. package/dist/firebase/firestore/utils/order/types/index.d.ts +2 -4
  276. package/dist/firebase/firestore/utils/order/types/index.js +2 -4
  277. package/dist/firebase/firestore/utils/services/__tests__/computeTotalProfessionalServiceDurationInMinutesForVehicleType.test.js +24 -24
  278. package/dist/firebase/firestore/utils/services/__tests__/createServiceVehicleComboKey.test.js +12 -0
  279. package/dist/firebase/firestore/utils/services/__tests__/getBookableServiceProviderServicesForVehicleType.test.js +295 -0
  280. package/dist/firebase/firestore/utils/services/__tests__/{getActiveProfessionalServicePricingAndDurationForVehicleOrThrow.util.test.js → getServiceProviderActiveServicePricingAndDurationForVehicleOrThrow.test.js} +42 -42
  281. package/dist/firebase/firestore/utils/services/createServiceVehicleComboKey.d.ts +2 -0
  282. package/dist/firebase/firestore/utils/services/createServiceVehicleComboKey.js +6 -0
  283. package/dist/firebase/firestore/utils/services/getBookableServiceProviderServicesForVehicleType.d.ts +5 -0
  284. package/dist/firebase/firestore/utils/services/getBookableServiceProviderServicesForVehicleType.js +32 -0
  285. package/dist/firebase/firestore/utils/services/getServiceProviderActiveServicePricingAndDurationForVehicleOrThrow.d.ts +3 -0
  286. package/dist/firebase/firestore/utils/services/getServiceProviderActiveServicePricingAndDurationForVehicleOrThrow.js +19 -0
  287. package/dist/firebase/firestore/utils/services/index.d.ts +4 -4
  288. package/dist/firebase/firestore/utils/services/index.js +4 -4
  289. package/dist/firebase/firestore/utils/services/types/ComputeTotalProfessionalServiceDurationInMinutesForVehicleTypeArgs.type.d.ts +2 -2
  290. package/dist/firebase/firestore/utils/services/types/GetBookableServiceProviderServicesForVehicleTypeParams.type.d.ts +7 -0
  291. package/dist/firebase/firestore/utils/services/types/GetBookableServiceProviderServicesForVehicleTypeParams.type.js +2 -0
  292. package/dist/firebase/firestore/utils/services/types/GetServiceProviderActiveServicePricingAndDurationForVehicleOrThrowParams.type.d.ts +7 -0
  293. package/dist/firebase/firestore/utils/services/types/GetServiceProviderActiveServicePricingAndDurationForVehicleOrThrowParams.type.js +2 -0
  294. package/dist/firebase/firestore/utils/services/types/index.d.ts +2 -2
  295. package/dist/firebase/firestore/utils/services/types/index.js +2 -2
  296. package/dist/firebase/firestore/utils/stubs/company/index.d.ts +0 -2
  297. package/dist/firebase/firestore/utils/stubs/company/index.js +0 -2
  298. package/dist/firebase/firestore/utils/stubs/configs/countryServicesPublicConfigStub.js +1 -1
  299. package/dist/firebase/firestore/utils/stubs/configs/firestoreNotificationEventsPublicConfigDocumentStub.js +22 -2
  300. package/dist/firebase/firestore/utils/stubs/configs/firestoreOrdersPublicConfigDocumentStub.js +3 -3
  301. package/dist/firebase/firestore/utils/stubs/configs/firestorePlatformPublicConfigDocumentStub.js +0 -19
  302. package/dist/firebase/firestore/utils/stubs/configs/firestoreServicesPublicConfigStub.js +4 -5
  303. package/dist/firebase/firestore/utils/stubs/entities/entityVatDetailsStub.js +1 -0
  304. package/dist/firebase/firestore/utils/stubs/entities/firestoreEntityDocumentStub.js +27 -0
  305. package/dist/firebase/firestore/utils/stubs/location/doctoCarLocationStub.js +2 -0
  306. package/dist/firebase/firestore/utils/stubs/order/firestoreOrderClientPublicAssetsUrlsStub.js +2 -2
  307. package/dist/firebase/firestore/utils/stubs/order/firestoreOrderClientServicesDetailsPublicImagesUrlsStub.d.ts +2 -0
  308. package/dist/firebase/firestore/utils/stubs/order/{firestoreOrderClientProfessionalServicesDetailsPublicImagesUrlsStub.js → firestoreOrderClientServicesDetailsPublicImagesUrlsStub.js} +5 -5
  309. package/dist/firebase/firestore/utils/stubs/order/firestoreOrderDocumentStub.js +127 -91
  310. package/dist/firebase/firestore/utils/stubs/order/firestoreOrderServiceDetailsStub.d.ts +2 -0
  311. package/dist/firebase/firestore/utils/stubs/order/firestoreOrderServiceDetailsStub.js +18 -0
  312. package/dist/firebase/firestore/utils/stubs/order/index.d.ts +2 -2
  313. package/dist/firebase/firestore/utils/stubs/order/index.js +2 -2
  314. package/dist/firebase/firestore/utils/stubs/services/professionalServiceStub.d.ts +2 -2
  315. package/dist/firebase/firestore/utils/stubs/services/professionalServiceStub.js +1 -1
  316. package/dist/firebase/firestore/utils/stubs/userDocument/firestoreUserDocumentStub.js +1 -4
  317. package/dist/firebase/firestore/utils/stubs/userDocument/index.d.ts +0 -2
  318. package/dist/firebase/firestore/utils/stubs/userDocument/index.js +0 -2
  319. package/dist/firebase/firestore/utils/stubs/userPublicDocument/firestoreProfessionalUserPublicDocumentStub.js +11 -3
  320. package/dist/firebase/firestore/utils/stubs/vehicles/firestoreVehicleDocumentStub.js +2 -0
  321. package/dist/firebase/firestore/utils/stubs/wallets/firestoreWalletsDocumentStub.js +1 -0
  322. package/dist/firebase/firestore/utils/stubs/walletsWithdrawalIntents/firestoreWalletsWithdrawalIntentsDocumentStub.js +1 -0
  323. package/dist/firebase/storage/enums/FirebaseStorageBasePaths.enum.d.ts +3 -2
  324. package/dist/firebase/storage/enums/FirebaseStorageBasePaths.enum.js +3 -1
  325. package/dist/firebase/storage/enums/FirebaseStorageEntityPrivateSubPaths.enum.d.ts +3 -0
  326. package/dist/firebase/storage/enums/FirebaseStorageEntityPrivateSubPaths.enum.js +7 -0
  327. package/dist/firebase/storage/enums/FirebaseStorageFilesNames.enum.d.ts +1 -1
  328. package/dist/firebase/storage/enums/FirebaseStorageFilesNames.enum.js +1 -1
  329. package/dist/firebase/storage/enums/FirebaseStorageServicesProvidersUsersPublicSubPaths.enum.d.ts +3 -0
  330. package/dist/firebase/storage/enums/FirebaseStorageServicesProvidersUsersPublicSubPaths.enum.js +7 -0
  331. package/dist/firebase/storage/enums/FirebaseStorageUserPrivateSubPaths.enum.d.ts +1 -3
  332. package/dist/firebase/storage/enums/FirebaseStorageUserPrivateSubPaths.enum.js +1 -3
  333. package/dist/firebase/storage/enums/index.d.ts +2 -1
  334. package/dist/firebase/storage/enums/index.js +2 -1
  335. package/dist/gcp/cloudTask/enums/CloudTasksQueueName.enum.d.ts +2 -1
  336. package/dist/gcp/cloudTask/enums/CloudTasksQueueName.enum.js +2 -1
  337. package/dist/gcp/cloudTask/maps/CloudTaskEnvelopeMap.map.d.ts +3 -2
  338. package/dist/gcp/cloudTask/types/OnTaskRecomputeCustomerUserComplianceEnvelope.d.ts +4 -0
  339. package/dist/gcp/cloudTask/types/OnTaskRecomputeCustomerUserComplianceEnvelope.js +2 -0
  340. package/dist/gcp/cloudTask/types/OnTaskRecomputeServiceProviderUserComplianceEnvelope.d.ts +4 -0
  341. package/dist/gcp/cloudTask/types/OnTaskRecomputeServiceProviderUserComplianceEnvelope.js +2 -0
  342. package/dist/gcp/cloudTask/types/index.d.ts +2 -1
  343. package/dist/gcp/cloudTask/types/index.js +2 -1
  344. package/dist/gcp/cloudTask/utils/stubs/index.d.ts +2 -1
  345. package/dist/gcp/cloudTask/utils/stubs/index.js +2 -1
  346. package/dist/gcp/cloudTask/utils/stubs/onTaskRecomputeCustomerUserComplianceEnvelopeStub.d.ts +2 -0
  347. package/dist/gcp/cloudTask/utils/stubs/{onTaskRecomputeProfessionalBookabilityEnvelopeStub.js → onTaskRecomputeCustomerUserComplianceEnvelopeStub.js} +3 -3
  348. package/dist/gcp/cloudTask/utils/stubs/onTaskRecomputeServiceProviderUserComplianceEnvelopeStub.d.ts +2 -0
  349. package/dist/gcp/cloudTask/utils/stubs/onTaskRecomputeServiceProviderUserComplianceEnvelopeStub.js +19 -0
  350. package/dist/gcp/pubsub/enums/PubSubTopics.enum.d.ts +3 -1
  351. package/dist/gcp/pubsub/enums/PubSubTopics.enum.js +2 -0
  352. package/dist/gcp/pubsub/maps/PubSubTopicMessageMap.map.d.ts +3 -1
  353. package/dist/gcp/pubsub/types/entities/PubSubServiceProviderEntityStateRecomputeRequestedMessage.type.d.ts +3 -0
  354. package/dist/gcp/pubsub/types/entities/PubSubServiceProviderEntityStateRecomputeRequestedMessage.type.js +2 -0
  355. package/dist/gcp/pubsub/types/entities/index.d.ts +1 -0
  356. package/dist/gcp/pubsub/types/entities/index.js +1 -0
  357. package/dist/gcp/pubsub/types/index.d.ts +1 -0
  358. package/dist/gcp/pubsub/types/index.js +1 -0
  359. package/dist/gcp/pubsub/types/serviceProvider/PubSubServiceProviderPublicProfileResyncRequestedMessage.type.d.ts +3 -0
  360. package/dist/gcp/pubsub/types/serviceProvider/PubSubServiceProviderPublicProfileResyncRequestedMessage.type.js +2 -0
  361. package/dist/gcp/pubsub/types/serviceProvider/index.d.ts +1 -0
  362. package/dist/gcp/pubsub/types/serviceProvider/index.js +17 -0
  363. package/dist/gcp/pubsub/types/wallets/PubSubProcessWalletWithdrawalRequestMessage.type.d.ts +2 -0
  364. package/dist/gcp/pubsub/types/wallets/PubSubWalletWithdrawalFailedMessage.type.d.ts +2 -0
  365. package/dist/gcp/pubsub/types/wallets/PubSubWalletWithdrawalSucceededMessage.type.d.ts +2 -0
  366. package/dist/gcp/pubsub/utils/stubs/entities/index.d.ts +1 -0
  367. package/dist/gcp/pubsub/utils/stubs/entities/index.js +1 -0
  368. package/dist/gcp/pubsub/utils/stubs/entities/pubSubServiceProviderEntityStateRecomputeRequestedMessageStub.d.ts +2 -0
  369. package/dist/gcp/pubsub/utils/stubs/entities/pubSubServiceProviderEntityStateRecomputeRequestedMessageStub.js +9 -0
  370. package/dist/gcp/pubsub/utils/stubs/index.d.ts +1 -0
  371. package/dist/gcp/pubsub/utils/stubs/index.js +1 -0
  372. package/dist/gcp/pubsub/utils/stubs/serviceProvider/index.d.ts +1 -0
  373. package/dist/gcp/pubsub/utils/stubs/serviceProvider/index.js +17 -0
  374. package/dist/gcp/pubsub/utils/stubs/serviceProvider/pubSubServiceProviderPublicProfileResyncRequestedMessageStub.d.ts +2 -0
  375. package/dist/gcp/pubsub/utils/stubs/serviceProvider/pubSubServiceProviderPublicProfileResyncRequestedMessageStub.js +9 -0
  376. package/dist/gcp/pubsub/utils/stubs/wallets/pubSubProcessWalletWithdrawalRequestMessageStub.js +2 -0
  377. package/dist/gcp/pubsub/utils/stubs/wallets/pubSubWalletWithdrawalFailedMessageStub.js +2 -0
  378. package/dist/gcp/pubsub/utils/stubs/wallets/pubSubWalletWithdrawalSucceededMessageStub.js +2 -0
  379. package/dist/notifications/enums/EntityNotificationEventType.d.ts +4 -1
  380. package/dist/notifications/enums/EntityNotificationEventType.js +3 -0
  381. package/dist/notifications/enums/ProfessionalNotificationEventType.d.ts +1 -2
  382. package/dist/notifications/enums/ProfessionalNotificationEventType.js +0 -1
  383. package/dist/pricing/__tests__/calculateInvoiceTotalWithTax.util.test.js +17 -17
  384. package/dist/pricing/calculateInvoiceTotalWithTax.d.ts +1 -1
  385. package/dist/pricing/calculateInvoiceTotalWithTax.js +2 -2
  386. package/dist/pricing/types/CalculateInvoiceTotalsWithTaxParams.type.d.ts +1 -1
  387. package/dist/pricing/utils/calculateMarketplaceFeeWithTax.util.js +1 -1
  388. package/dist/stripe/types/StripeCustomPaymentIntentMetadata.type.d.ts +3 -1
  389. package/dist/stripe/types/StripeCustomProfessionalPayoutMetadata.type.d.ts +2 -0
  390. package/dist/utils/format/__tests__/{escapeHtml.util.test.js → escapeHtml.test.js} +8 -8
  391. package/dist/utils/format/__tests__/{formatPriceInCents.util.test.js → formatPriceInCents.test.js} +6 -6
  392. package/dist/utils/format/index.d.ts +2 -2
  393. package/dist/utils/format/index.js +2 -2
  394. package/package.json +1 -1
  395. package/dist/emails/types/professional/ProfessionalOnboardingCompletedEmailData.type.d.ts +0 -1
  396. package/dist/errors/enums/cloudFunctions/orders/ProfessionalUserDeleteOrderServicePhotosErrorCodes.enum.js +0 -13
  397. package/dist/errors/enums/cloudFunctions/orders/ProfessionalUserUploadOrderServicePhotosErrorCodes.enum.js +0 -17
  398. package/dist/errors/enums/cloudFunctions/professionals/CreateProfessionalUserSlotDocumentErrorCodes.enum.js +0 -8
  399. package/dist/errors/enums/cloudFunctions/professionals/ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes.enum.d.ts +0 -20
  400. package/dist/errors/enums/cloudFunctions/professionals/ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes.enum.js +0 -24
  401. package/dist/errors/enums/cloudFunctions/professionals/UpdateProfessionalUserLiabilityInsuranceErrorCodes.enum.d.ts +0 -8
  402. package/dist/errors/enums/cloudFunctions/professionals/UpdateProfessionalUserLiabilityInsuranceErrorCodes.enum.js +0 -12
  403. package/dist/errors/enums/cloudFunctions/professionals/UpdateProfessionalUserServicesLocationErrorCodes.enum.js +0 -12
  404. package/dist/errors/enums/cloudFunctions/professionals/UpdateProfessionalUserSlotDocumentErrorCodes.enum.js +0 -8
  405. package/dist/errors/enums/cloudFunctions/professionals/index.d.ts +0 -5
  406. package/dist/firebase/cloudFunctions/types/orders/ProfessionalUserDeleteOrderServicePhotosRequestData.type.d.ts +0 -8
  407. package/dist/firebase/cloudFunctions/types/orders/ProfessionalUserDeleteOrderServicePhotosResponseData.type.d.ts +0 -1
  408. package/dist/firebase/cloudFunctions/types/orders/ProfessionalUserUploadOrderServicePhotosRequestData.type.d.ts +0 -8
  409. package/dist/firebase/cloudFunctions/types/orders/ProfessionalUserUploadOrderServicePhotosResponseData.type.d.ts +0 -1
  410. package/dist/firebase/cloudFunctions/types/users/professionals/CreateProfessionalUserPublicDocumentRequestData.type.d.ts +0 -2
  411. package/dist/firebase/cloudFunctions/types/users/professionals/CreateProfessionalUserPublicDocumentResponseData.type.d.ts +0 -1
  412. package/dist/firebase/cloudFunctions/types/users/professionals/DeleteProfessionalUserServiceRequestData.type.d.ts +0 -5
  413. package/dist/firebase/cloudFunctions/types/users/professionals/DeleteProfessionalUserServiceResponseData.type.d.ts +0 -1
  414. package/dist/firebase/cloudFunctions/types/users/professionals/DeleteProfessionalUserSlotDocumentResponseData.type.d.ts +0 -1
  415. package/dist/firebase/cloudFunctions/types/users/professionals/ProcessProfessionalUserOnboardingBaseCompanyInfosRequestData.type.d.ts +0 -14
  416. package/dist/firebase/cloudFunctions/types/users/professionals/ProcessProfessionalUserOnboardingBaseCompanyInfosResponseData.type.d.ts +0 -1
  417. package/dist/firebase/cloudFunctions/types/users/professionals/UpdateProfessionalUserLiabilityInsuranceRequestData.type.d.ts +0 -4
  418. package/dist/firebase/cloudFunctions/types/users/professionals/UpdateProfessionalUserLiabilityInsuranceResponseData.type.d.ts +0 -1
  419. package/dist/firebase/cloudFunctions/types/users/professionals/UpdateProfessionalUserServiceRequestData.type.d.ts +0 -5
  420. package/dist/firebase/cloudFunctions/types/users/professionals/UpdateProfessionalUserServiceResponseData.type.d.ts +0 -1
  421. package/dist/firebase/cloudFunctions/types/users/professionals/UpdateProfessionalUserServicesLocationResponseData.type.d.ts +0 -1
  422. package/dist/firebase/cloudFunctions/types/users/professionals/UpdateProfessionalUserTermsAcceptanceRequestData.type.d.ts +0 -15
  423. package/dist/firebase/cloudFunctions/types/users/professionals/UpdateProfessionalUserTermsAcceptanceResponseData.type.d.ts +0 -1
  424. package/dist/firebase/cloudFunctions/types/users/professionals/index.d.ts +0 -17
  425. package/dist/firebase/cloudFunctions/types/users/professionals/index.js +0 -33
  426. package/dist/firebase/cloudFunctions/types/users/professionals/slots/CreateProfessionalUserSlotDocumentResponseData.type.d.ts +0 -3
  427. package/dist/firebase/cloudFunctions/types/users/professionals/slots/UpdateProfessionalUserSlotDocumentResponseData.type.d.ts +0 -1
  428. package/dist/firebase/cloudFunctions/types/users/professionals/slots/index.d.ts +0 -5
  429. package/dist/firebase/firestore/enums/documents/DocumentValidationStatus.enum.d.ts +0 -5
  430. package/dist/firebase/firestore/enums/documents/DocumentValidationStatus.enum.js +0 -9
  431. package/dist/firebase/firestore/enums/documents/index.d.ts +0 -1
  432. package/dist/firebase/firestore/enums/entities/EntityServiceProviderComplianceStatus.enum.d.ts +0 -5
  433. package/dist/firebase/firestore/enums/entities/EntityServiceProviderComplianceStatus.enum.js +0 -9
  434. package/dist/firebase/firestore/enums/entities/EntityServiceProviderNonBookableReason.enum.d.ts +0 -11
  435. package/dist/firebase/firestore/enums/entities/EntityServiceProviderNonBookableReason.enum.js +0 -15
  436. package/dist/firebase/firestore/enums/orders/OrderProfessionalServiceDetailsPhotoMoment.enum.js +0 -8
  437. package/dist/firebase/firestore/enums/professionalUser/ProfessionalNonBookableReason.enum.d.ts +0 -13
  438. package/dist/firebase/firestore/enums/professionalUser/ProfessionalNonBookableReason.enum.js +0 -17
  439. package/dist/firebase/firestore/enums/professionalUser/index.d.ts +0 -1
  440. package/dist/firebase/firestore/enums/services/ProfessionalServicesCategoryTypes.enum.d.ts +0 -3
  441. package/dist/firebase/firestore/enums/services/ProfessionalServicesCategoryTypes.enum.js +0 -7
  442. package/dist/firebase/firestore/enums/services/ProfessionalServicesTypes.enum.js +0 -16
  443. package/dist/firebase/firestore/enums/users/customers/CustomerAccountTypes.enum.d.ts +0 -4
  444. package/dist/firebase/firestore/enums/users/customers/CustomerAccountTypes.enum.js +0 -8
  445. package/dist/firebase/firestore/enums/users/customers/index.d.ts +0 -1
  446. package/dist/firebase/firestore/enums/users/professionals/ProfessionalOnboardingStepNames.enum.d.ts +0 -6
  447. package/dist/firebase/firestore/enums/users/professionals/ProfessionalOnboardingStepNames.enum.js +0 -10
  448. package/dist/firebase/firestore/enums/users/professionals/ProfessionalOnboardingStepStatus.enum.d.ts +0 -5
  449. package/dist/firebase/firestore/enums/users/professionals/ProfessionalOnboardingStepStatus.enum.js +0 -9
  450. package/dist/firebase/firestore/types/company/CompanyLegalRepresentative.type.d.ts +0 -6
  451. package/dist/firebase/firestore/types/company/CompanyRegistrationPerCountry.type.d.ts +0 -5
  452. package/dist/firebase/firestore/types/company/CompanyVATDetails.type.d.ts +0 -15
  453. package/dist/firebase/firestore/types/company/CustomerCompanyDetails.type.d.ts +0 -7
  454. package/dist/firebase/firestore/types/company/ProfessionalCompanyDetails.type.d.ts +0 -11
  455. package/dist/firebase/firestore/types/companyUnique/FirestoreCompanyUniqueDocument.type.d.ts +0 -6
  456. package/dist/firebase/firestore/types/companyUnique/index.d.ts +0 -1
  457. package/dist/firebase/firestore/types/order/FirestoreOrderProfessionalServiceDetails.type.d.ts +0 -10
  458. package/dist/firebase/firestore/types/order/publicAssets/FirestoreOrderClientProfessionalServicesDetailsPublicImagesUrls.type.d.ts +0 -5
  459. package/dist/firebase/firestore/types/order/publicAssets/FirestoreOrderClientPublicImagesUrlsProfessionalServiceDetailPhotos.type.d.ts +0 -3
  460. package/dist/firebase/firestore/types/userDocument/FirestoreUserDocumentCustomerInfos.type.d.ts +0 -44
  461. package/dist/firebase/firestore/types/userDocument/FirestoreUserDocumentProfessionalInfos.type.d.ts +0 -83
  462. package/dist/firebase/firestore/types/userDocument/FirestoreUserDocumentProfessionalInfos.type.js +0 -3
  463. package/dist/firebase/firestore/utils/company/__tests__/isIndividualCompany.util.test.js +0 -52
  464. package/dist/firebase/firestore/utils/company/index.d.ts +0 -1
  465. package/dist/firebase/firestore/utils/company/isIndividualCompany.util.d.ts +0 -2
  466. package/dist/firebase/firestore/utils/company/isIndividualCompany.util.js +0 -19
  467. package/dist/firebase/firestore/utils/dataValidators/company/__tests__/isCompanyVatValid.util.test.js +0 -30
  468. package/dist/firebase/firestore/utils/dataValidators/company/__tests__/isLegalAddressValid.util.test.js +0 -24
  469. package/dist/firebase/firestore/utils/dataValidators/company/isCompanyVatValid.util.d.ts +0 -2
  470. package/dist/firebase/firestore/utils/dataValidators/company/isCompanyVatValid.util.js +0 -10
  471. package/dist/firebase/firestore/utils/dataValidators/company/isLegalAddressValid.util.d.ts +0 -2
  472. package/dist/firebase/firestore/utils/dataValidators/company/isLegalAddressValid.util.js +0 -7
  473. package/dist/firebase/firestore/utils/dataValidators/professionalService/__tests__/isValidProfessionalService.test.js +0 -219
  474. package/dist/firebase/firestore/utils/dataValidators/professionalService/__tests__/isValidProfessionalServiceType.test.js +0 -15
  475. package/dist/firebase/firestore/utils/dataValidators/professionalService/__tests__/isValidVehicleForProfessionalService.test.js +0 -32
  476. package/dist/firebase/firestore/utils/dataValidators/professionalService/index.d.ts +0 -4
  477. package/dist/firebase/firestore/utils/dataValidators/professionalService/index.js +0 -20
  478. package/dist/firebase/firestore/utils/dataValidators/professionalService/isValidProfessionalServicePricingAndDurationForVehicle.d.ts +0 -2
  479. package/dist/firebase/firestore/utils/dataValidators/professionalService/isValidProfessionalServicePricingAndDurationForVehicle.js +0 -25
  480. package/dist/firebase/firestore/utils/dataValidators/professionalService/isValidProfessionalServiceType.d.ts +0 -2
  481. package/dist/firebase/firestore/utils/dataValidators/professionalService/isValidProfessionalServiceType.js +0 -7
  482. package/dist/firebase/firestore/utils/dataValidators/professionalService/isValidVehicleForProfessionalService.d.ts +0 -2
  483. package/dist/firebase/firestore/utils/dataValidators/professionalService/isValidVehicleForProfessionalService.js +0 -11
  484. package/dist/firebase/firestore/utils/dataValidators/professionalService/types/IsValidProfessionalServiceParams.type.d.ts +0 -6
  485. package/dist/firebase/firestore/utils/dataValidators/professionalService/types/IsValidProfessionalServicePricingAndDurationForVehicleParams.type.d.ts +0 -5
  486. package/dist/firebase/firestore/utils/dataValidators/professionalService/types/IsValidVehicleForProfessionalServiceParams.type.d.ts +0 -6
  487. package/dist/firebase/firestore/utils/dataValidators/professionalService/types/index.d.ts +0 -3
  488. package/dist/firebase/firestore/utils/dataValidators/professionalService/types/index.js +0 -19
  489. package/dist/firebase/firestore/utils/order/__tests__/buildOrderProfessionalServicePreTaxLinesAndProfessionalServicesDetails.service.test.js +0 -261
  490. package/dist/firebase/firestore/utils/order/__tests__/getOrderCustomerAndProfessionalIds.test.js +0 -27
  491. package/dist/firebase/firestore/utils/order/buildOrderProfessionalServicePreTaxLinesAndProfessionalServicesDetails.utils.d.ts +0 -2
  492. package/dist/firebase/firestore/utils/order/buildOrderProfessionalServicePreTaxLinesAndProfessionalServicesDetails.utils.js +0 -49
  493. package/dist/firebase/firestore/utils/order/getOrderCustomerAndProfessionalIds.d.ts +0 -2
  494. package/dist/firebase/firestore/utils/order/getOrderCustomerAndProfessionalIds.js +0 -9
  495. package/dist/firebase/firestore/utils/order/types/BuildOrderProfessionalServicePreTaxLinesAndProfessionalServicesDetailsProps.type.d.ts +0 -8
  496. package/dist/firebase/firestore/utils/order/types/BuildOrderProfessionalServicePreTaxLinesAndProfessionalServicesDetailsReturn.type.d.ts +0 -6
  497. package/dist/firebase/firestore/utils/order/types/GetOrderCustomerAndProfessionalIdsParams.type.d.ts +0 -4
  498. package/dist/firebase/firestore/utils/order/types/GetOrderCustomerAndProfessionalIdsResult.type.d.ts +0 -4
  499. package/dist/firebase/firestore/utils/services/__tests__/areAllRequestedProfessionalUserServicesActiveForVehicleType.test.js +0 -145
  500. package/dist/firebase/firestore/utils/services/__tests__/createProfessionalServiceVehicleComboKey.util.test.js +0 -12
  501. package/dist/firebase/firestore/utils/services/__tests__/getActiveProfessionalServicePricingAndDurationForVehicleOrThrow.util.test.d.ts +0 -1
  502. package/dist/firebase/firestore/utils/services/areAllRequestedProfessionalUserServicesActiveForVehicleType.util.d.ts +0 -2
  503. package/dist/firebase/firestore/utils/services/areAllRequestedProfessionalUserServicesActiveForVehicleType.util.js +0 -14
  504. package/dist/firebase/firestore/utils/services/createProfessionalServiceVehicleComboKey.util.d.ts +0 -2
  505. package/dist/firebase/firestore/utils/services/createProfessionalServiceVehicleComboKey.util.js +0 -6
  506. package/dist/firebase/firestore/utils/services/getActiveProfessionalServicePricingAndDurationForVehicleOrThrow.d.ts +0 -3
  507. package/dist/firebase/firestore/utils/services/getActiveProfessionalServicePricingAndDurationForVehicleOrThrow.js +0 -19
  508. package/dist/firebase/firestore/utils/services/types/AreAllRequestedProfessionalUserServicesActiveForVehicleTypeArgs.type..d.ts +0 -7
  509. package/dist/firebase/firestore/utils/services/types/GetActiveProfessionalServicePricingAndDurationForVehicleOrThrowParams.type.d.ts +0 -7
  510. package/dist/firebase/firestore/utils/stubs/company/customerCompanyDetailsStub.d.ts +0 -2
  511. package/dist/firebase/firestore/utils/stubs/company/customerCompanyDetailsStub.js +0 -21
  512. package/dist/firebase/firestore/utils/stubs/company/professionalCompanyDetailsStub.d.ts +0 -2
  513. package/dist/firebase/firestore/utils/stubs/company/professionalCompanyDetailsStub.js +0 -32
  514. package/dist/firebase/firestore/utils/stubs/order/firestoreOrderClientProfessionalServicesDetailsPublicImagesUrlsStub.d.ts +0 -2
  515. package/dist/firebase/firestore/utils/stubs/order/firestoreOrderProfessionalServiceDetailsStub.d.ts +0 -2
  516. package/dist/firebase/firestore/utils/stubs/order/firestoreOrderProfessionalServiceDetailsStub.js +0 -18
  517. package/dist/firebase/firestore/utils/stubs/userDocument/firestoreUserDocumentCustomerInfosStub.d.ts +0 -2
  518. package/dist/firebase/firestore/utils/stubs/userDocument/firestoreUserDocumentCustomerInfosStub.js +0 -54
  519. package/dist/firebase/firestore/utils/stubs/userDocument/firestoreUserDocumentProfessionalInfosStub.d.ts +0 -2
  520. package/dist/firebase/firestore/utils/stubs/userDocument/firestoreUserDocumentProfessionalInfosStub.js +0 -60
  521. package/dist/firebase/firestore/utils/users/__tests__/assertCustomerUserCanBookServices.test.d.ts +0 -1
  522. package/dist/firebase/firestore/utils/users/__tests__/assertCustomerUserCanBookServices.test.js +0 -257
  523. package/dist/firebase/firestore/utils/users/__tests__/assertProfessionalUserIsBookable.util.test.d.ts +0 -1
  524. package/dist/firebase/firestore/utils/users/__tests__/assertProfessionalUserIsBookable.util.test.js +0 -400
  525. package/dist/firebase/firestore/utils/users/assertCustomerUserCanBookServices.d.ts +0 -3
  526. package/dist/firebase/firestore/utils/users/assertCustomerUserCanBookServices.js +0 -35
  527. package/dist/firebase/firestore/utils/users/assertProfessionalUserIsBookable.util.d.ts +0 -3
  528. package/dist/firebase/firestore/utils/users/assertProfessionalUserIsBookable.util.js +0 -66
  529. package/dist/firebase/firestore/utils/users/errors/enums/AssertCustomerUserCanBookServicesErrorCodes.enum.d.ts +0 -7
  530. package/dist/firebase/firestore/utils/users/errors/enums/AssertCustomerUserCanBookServicesErrorCodes.enum.js +0 -11
  531. package/dist/firebase/firestore/utils/users/errors/enums/index.d.ts +0 -1
  532. package/dist/firebase/firestore/utils/users/errors/enums/index.js +0 -17
  533. package/dist/firebase/firestore/utils/users/errors/index.d.ts +0 -1
  534. package/dist/firebase/firestore/utils/users/index.d.ts +0 -4
  535. package/dist/firebase/firestore/utils/users/types/BookableProfessionalUserDocument.type.d.ts +0 -35
  536. package/dist/firebase/firestore/utils/users/types/BookingReadyCustomerUserDocument.type.d.ts +0 -13
  537. package/dist/firebase/firestore/utils/users/types/index.d.ts +0 -2
  538. package/dist/firebase/storage/enums/FirebaseStorageProfessionalUsersPublicSubPaths.enum.d.ts +0 -3
  539. package/dist/firebase/storage/enums/FirebaseStorageProfessionalUsersPublicSubPaths.enum.js +0 -7
  540. package/dist/gcp/cloudTask/types/OnTaskRecomputeProfessionalBookabilityEnvelope.type.d.ts +0 -4
  541. package/dist/gcp/cloudTask/utils/stubs/onTaskRecomputeProfessionalBookabilityEnvelopeStub.d.ts +0 -2
  542. package/dist/utils/format/__tests__/escapeHtml.util.test.d.ts +0 -1
  543. package/dist/utils/format/__tests__/formatPriceInCents.util.test.d.ts +0 -1
  544. /package/dist/emails/types/{professional/ProfessionalOnboardingCompletedEmailData.type.js → entity/ServiceProviderEntityIsNotCompliantAnymoreEmailData.type.js} +0 -0
  545. /package/dist/{firebase/cloudFunctions/types/orders/ProfessionalUserDeleteOrderServicePhotosRequestData.type.js → emails/types/entity/ServiceProviderEntityIsNowCompliantEmailData.type.js} +0 -0
  546. /package/dist/{firebase/cloudFunctions/types/orders/ProfessionalUserDeleteOrderServicePhotosResponseData.type.js → emails/types/entity/ServiceProviderEntityOnboardingCompletedEmailData.type.js} +0 -0
  547. /package/dist/firebase/cloudFunctions/types/{orders/ProfessionalUserUploadOrderServicePhotosRequestData.type.js → entities/UpdateEntityAgreementsPayload.type.js} +0 -0
  548. /package/dist/firebase/cloudFunctions/types/{orders/ProfessionalUserUploadOrderServicePhotosResponseData.type.js → entities/UpdateEntityAgreementsRequestData.type.js} +0 -0
  549. /package/dist/firebase/cloudFunctions/types/{stripe/CreateStripeUserAccountLinkRequestData.type.js → entities/UpdateEntityAgreementsResponseData.type.js} +0 -0
  550. /package/dist/firebase/cloudFunctions/types/{stripe/CreateStripeUserAccountLinkResponseData.type.js → entities/UpdateEntityProfessionalLiabilityInsuranceRequestData.type.js} +0 -0
  551. /package/dist/firebase/cloudFunctions/types/{users/professionals/CreateProfessionalUserPublicDocumentRequestData.type.js → entities/UpdateEntityProfessionalLiabilityInsuranceResponseData.type.js} +0 -0
  552. /package/dist/firebase/cloudFunctions/types/{users/professionals/CreateProfessionalUserPublicDocumentResponseData.type.js → orders/ServiceProviderUserDeleteOrderServicePhotosRequestData.type.js} +0 -0
  553. /package/dist/firebase/cloudFunctions/types/{users/professionals/DeleteProfessionalUserServiceRequestData.type.js → orders/ServiceProviderUserDeleteOrderServicePhotosResponseData.type.js} +0 -0
  554. /package/dist/firebase/cloudFunctions/types/{users/professionals/DeleteProfessionalUserServiceResponseData.type.js → orders/ServiceProviderUserUploadOrderServicePhotosRequestData.type.js} +0 -0
  555. /package/dist/firebase/cloudFunctions/types/{users/professionals/DeleteProfessionalUserSlotDocumentRequestData.type.js → orders/ServiceProviderUserUploadOrderServicePhotosResponseData.type.js} +0 -0
  556. /package/dist/firebase/cloudFunctions/types/{users/professionals/DeleteProfessionalUserSlotDocumentResponseData.type.js → stripe/CreateStripeEntityAccountLinkRequestData.type.js} +0 -0
  557. /package/dist/firebase/cloudFunctions/types/{users/professionals/ProcessProfessionalUserOnboardingBaseCompanyInfosRequestData.type.js → stripe/CreateStripeEntityAccountLinkResponseData.type.js} +0 -0
  558. /package/dist/firebase/cloudFunctions/types/users/{professionals/ProcessProfessionalUserOnboardingBaseCompanyInfosResponseData.type.js → serviceProviderUsers/CreateServiceProviderUserPublicDocumentRequestData.type.js} +0 -0
  559. /package/dist/firebase/cloudFunctions/types/users/{professionals/UpdateProfessionalUserLiabilityInsuranceRequestData.type.js → serviceProviderUsers/CreateServiceProviderUserPublicDocumentResponseData.type.js} +0 -0
  560. /package/dist/firebase/cloudFunctions/types/users/{professionals/UpdateProfessionalUserLiabilityInsuranceResponseData.type.js → serviceProviderUsers/DeleteServiceProviderUserServiceRequestData.type.js} +0 -0
  561. /package/dist/firebase/cloudFunctions/types/users/{professionals/UpdateProfessionalUserServiceRequestData.type.js → serviceProviderUsers/DeleteServiceProviderUserServiceResponseData.type.js} +0 -0
  562. /package/dist/firebase/cloudFunctions/types/users/{professionals/UpdateProfessionalUserServiceResponseData.type.js → serviceProviderUsers/DeleteServiceProviderUserSlotDocumentRequestData.type.js} +0 -0
  563. /package/dist/firebase/cloudFunctions/types/users/{professionals/UpdateProfessionalUserServicesLocationRequestData.type.js → serviceProviderUsers/DeleteServiceProviderUserSlotDocumentResponseData.type.js} +0 -0
  564. /package/dist/firebase/cloudFunctions/types/users/{professionals/UpdateProfessionalUserServicesLocationResponseData.type.js → serviceProviderUsers/UpdateServiceProviderUserServiceRequestData.type.js} +0 -0
  565. /package/dist/firebase/cloudFunctions/types/users/{professionals/UpdateProfessionalUserTermsAcceptanceRequestData.type.js → serviceProviderUsers/UpdateServiceProviderUserServiceResponseData.type.js} +0 -0
  566. /package/dist/firebase/cloudFunctions/types/users/{professionals/UpdateProfessionalUserTermsAcceptanceResponseData.type.js → serviceProviderUsers/UpdateServiceProviderUserServicesLocationRequestData.type.js} +0 -0
  567. /package/dist/firebase/cloudFunctions/types/users/{professionals/slots/CreateProfessionalUserSlotDocumentRequestData.type.js → serviceProviderUsers/UpdateServiceProviderUserServicesLocationResponseData.type.js} +0 -0
  568. /package/dist/firebase/cloudFunctions/types/users/{professionals/slots/CreateProfessionalUserSlotDocumentResponseData.type.js → serviceProviderUsers/slots/CreateServiceProviderUserSlotDocumentRequestData.type.js} +0 -0
  569. /package/dist/firebase/cloudFunctions/types/users/{professionals/slots/RequestOneTimeSlot.type.js → serviceProviderUsers/slots/CreateServiceProviderUserSlotDocumentResponseData.type.js} +0 -0
  570. /package/dist/firebase/cloudFunctions/types/users/{professionals → serviceProviderUsers}/slots/RequestOneTimeSlot.type.d.ts +0 -0
  571. /package/dist/firebase/cloudFunctions/types/users/{professionals/slots/RequestRecurringSlot.type.js → serviceProviderUsers/slots/RequestOneTimeSlot.type.js} +0 -0
  572. /package/dist/firebase/cloudFunctions/types/users/{professionals → serviceProviderUsers}/slots/RequestRecurringSlot.type.d.ts +0 -0
  573. /package/dist/firebase/cloudFunctions/types/users/{professionals/slots/RequestSlotDocument.type.js → serviceProviderUsers/slots/RequestRecurringSlot.type.js} +0 -0
  574. /package/dist/firebase/cloudFunctions/types/users/{professionals → serviceProviderUsers}/slots/RequestSlotDocument.type.d.ts +0 -0
  575. /package/dist/firebase/cloudFunctions/types/users/{professionals/slots/RequestTimeOffSlot.type.js → serviceProviderUsers/slots/RequestSlotDocument.type.js} +0 -0
  576. /package/dist/firebase/cloudFunctions/types/users/{professionals → serviceProviderUsers}/slots/RequestTimeOffSlot.type.d.ts +0 -0
  577. /package/dist/firebase/cloudFunctions/types/users/{professionals/slots/UpdateProfessionalUserSlotDocumentRequestData.type.js → serviceProviderUsers/slots/RequestTimeOffSlot.type.js} +0 -0
  578. /package/dist/firebase/cloudFunctions/types/users/{professionals/slots/UpdateProfessionalUserSlotDocumentResponseData.type.js → serviceProviderUsers/slots/UpdateServiceProviderUserSlotDocumentRequestData.type.js} +0 -0
  579. /package/dist/firebase/{firestore/types/company/CompanyLegalRepresentative.type.js → cloudFunctions/types/users/serviceProviderUsers/slots/UpdateServiceProviderUserSlotDocumentResponseData.type.js} +0 -0
  580. /package/dist/firebase/firestore/types/{company/CompanyRegistrationPerCountry.type.js → configs/ServicesPublicConfigVehiclePricingAndDuration.type.js} +0 -0
  581. /package/dist/firebase/firestore/types/{company/CompanyVATDetails.type.js → order/FirestoreOrderServiceDetails.type.js} +0 -0
  582. /package/dist/firebase/firestore/types/{company/CustomerCompanyDetails.type.js → order/OrderUpdatedBy.type.js} +0 -0
  583. /package/dist/firebase/firestore/types/{company/ProfessionalCompanyDetails.type.js → order/publicAssets/FirestoreOrderClientPublicImagesUrlsServiceDetailPhotos.type.js} +0 -0
  584. /package/dist/firebase/firestore/types/{companyUnique/FirestoreCompanyUniqueDocument.type.js → order/publicAssets/FirestoreOrderClientServicesDetailsPublicImagesUrls.type.js} +0 -0
  585. /package/dist/firebase/firestore/types/order/{FirestoreOrderProfessionalServiceDetails.type.js → snapshots/CompanyEntitySnapshotForOrder.type.js} +0 -0
  586. /package/dist/firebase/firestore/types/order/{publicAssets/FirestoreOrderClientProfessionalServicesDetailsPublicImagesUrls.type.js → snapshots/CustomerEntitySnapshotForOrder.type.js} +0 -0
  587. /package/dist/firebase/firestore/types/order/{publicAssets/FirestoreOrderClientPublicImagesUrlsProfessionalServiceDetailPhotos.type.js → snapshots/CustomerUserSnapshotForOrder.type.js} +0 -0
  588. /package/dist/firebase/firestore/types/{userDocument/FirestoreUserDocumentCustomerInfos.type.js → order/snapshots/EntitySnapshotForOrderBase.type.js} +0 -0
  589. /package/dist/firebase/firestore/{utils/dataValidators/professionalService/types/IsValidProfessionalServiceParams.type.js → types/order/snapshots/IndividualEntitySnapshotForOrder.type.js} +0 -0
  590. /package/dist/firebase/firestore/{utils/dataValidators/professionalService/types/IsValidProfessionalServicePricingAndDurationForVehicleParams.type.js → types/order/snapshots/ServiceProviderEntitySnapshotForOrder.type.js} +0 -0
  591. /package/dist/firebase/firestore/{utils/dataValidators/professionalService/types/IsValidVehicleForProfessionalServiceParams.type.js → types/order/snapshots/ServiceProviderUserSnapshotForOrder.type.js} +0 -0
  592. /package/dist/firebase/firestore/{utils/order/types/BuildOrderProfessionalServicePreTaxLinesAndProfessionalServicesDetailsProps.type.js → types/order/snapshots/TermsAndPolicySnapshotForOrder.type.js} +0 -0
  593. /package/dist/firebase/firestore/{utils/order/types/BuildOrderProfessionalServicePreTaxLinesAndProfessionalServicesDetailsReturn.type.js → types/order/snapshots/UserSnapshotForOrder.type.js} +0 -0
  594. /package/dist/firebase/firestore/{utils/order/types/GetOrderCustomerAndProfessionalIdsParams.type.js → types/order/snapshots/VehicleSnapshotForOrder.type.js} +0 -0
  595. /package/dist/firebase/firestore/utils/{company/__tests__/isIndividualCompany.util.test.d.ts → address/__tests__/isValidLegalAddress.test.d.ts} +0 -0
  596. /package/dist/firebase/firestore/utils/{order/types/GetOrderCustomerAndProfessionalIdsResult.type.js → address/types/IsValidLegalAddressParams.type.js} +0 -0
  597. /package/dist/firebase/firestore/utils/{dataValidators/company/__tests__/isCompanyVatValid.util.test.d.ts → configs/__tests__/getAvailableServicesPublicConfigForVehicleType.test.d.ts} +0 -0
  598. /package/dist/firebase/firestore/utils/{services/types/AreAllRequestedProfessionalUserServicesActiveForVehicleTypeArgs.type..js → configs/types/GetAvailableServicesPublicConfigForVehicleTypeParams.type.js} +0 -0
  599. /package/dist/firebase/firestore/utils/dataValidators/{professionalService → services}/__tests__/isValidProfessionalService.test.d.ts +0 -0
  600. /package/dist/firebase/firestore/utils/dataValidators/{company/__tests__/isLegalAddressValid.util.test.d.ts → services/__tests__/isValidServicePricingAndDurationForVehicle.test.d.ts} +0 -0
  601. /package/dist/firebase/firestore/utils/{services/types/GetActiveProfessionalServicePricingAndDurationForVehicleOrThrowParams.type.js → dataValidators/services/types/IsValidProfessionalServiceParams.type.js} +0 -0
  602. /package/dist/firebase/firestore/utils/{users/types/BookableProfessionalUserDocument.type.js → dataValidators/services/types/IsValidServicePricingAndDurationForVehicleParams.type.js} +0 -0
  603. /package/dist/firebase/firestore/utils/{dataValidators/professionalService/__tests__/isValidProfessionalServicePricingAndDurationForVehicle.test.d.ts → entities/__tests__/isEntityLegalDetailsVatVerified.test.d.ts} +0 -0
  604. /package/dist/firebase/firestore/utils/{users/types/BookingReadyCustomerUserDocument.type.js → entities/types/IsEntityLegalDetailsVatVerifiedParams.type.js} +0 -0
  605. /package/dist/firebase/firestore/utils/{dataValidators/professionalService/__tests__/isValidProfessionalServiceType.test.d.ts → order/__tests__/buildOrderServicePreTaxLinesAndServicesDetails.test.d.ts} +0 -0
  606. /package/dist/{gcp/cloudTask/types/OnTaskRecomputeProfessionalBookabilityEnvelope.type.js → firebase/firestore/utils/order/types/BuildOrderServicePreTaxLinesAndServicesDetailsProps.type.js} +0 -0
  607. /package/dist/firebase/firestore/utils/{dataValidators/professionalService/__tests__/isValidVehicleForProfessionalService.test.d.ts → services/__tests__/createServiceVehicleComboKey.test.d.ts} +0 -0
  608. /package/dist/firebase/firestore/utils/{order/__tests__/buildOrderProfessionalServicePreTaxLinesAndProfessionalServicesDetails.service.test.d.ts → services/__tests__/getBookableServiceProviderServicesForVehicleType.test.d.ts} +0 -0
  609. /package/dist/firebase/firestore/utils/{order/__tests__/getOrderCustomerAndProfessionalIds.test.d.ts → services/__tests__/getServiceProviderActiveServicePricingAndDurationForVehicleOrThrow.test.d.ts} +0 -0
  610. /package/dist/firebase/firestore/utils/services/{computeTotalProfessionalServiceDurationInMinutesForVehicleType.util.d.ts → computeTotalProfessionalServiceDurationInMinutesForVehicleType.d.ts} +0 -0
  611. /package/dist/firebase/firestore/utils/services/{computeTotalProfessionalServiceDurationInMinutesForVehicleType.util.js → computeTotalProfessionalServiceDurationInMinutesForVehicleType.js} +0 -0
  612. /package/dist/{firebase/firestore/utils/services/__tests__/areAllRequestedProfessionalUserServicesActiveForVehicleType.test.d.ts → utils/format/__tests__/escapeHtml.test.d.ts} +0 -0
  613. /package/dist/{firebase/firestore/utils/services/__tests__/createProfessionalServiceVehicleComboKey.util.test.d.ts → utils/format/__tests__/formatPriceInCents.test.d.ts} +0 -0
  614. /package/dist/utils/format/{escapeHtml.util.d.ts → escapeHtml.d.ts} +0 -0
  615. /package/dist/utils/format/{escapeHtml.util.js → escapeHtml.js} +0 -0
  616. /package/dist/utils/format/{formatPriceInCents.util.d.ts → formatPriceInCents.d.ts} +0 -0
  617. /package/dist/utils/format/{formatPriceInCents.util.js → formatPriceInCents.js} +0 -0
@@ -25,8 +25,8 @@ const countriesPricingPublicConfigsMock = (0, firebase_1.countriesPricingPublicC
25
25
  // minimumMarketplaceFeePreTaxInCents: 100, // 1 EUR
26
26
  // },
27
27
  });
28
- const serviceOneId = `${firebase_1.ProfessionalServicesTypes.EXTERIOR_CLEANING}`;
29
- const serviceTwoId = `${firebase_1.ProfessionalServicesTypes.INTERIOR_CLEANING}`;
28
+ const serviceOneId = `${firebase_1.ServicesTypes.EXTERIOR_CLEANING}`;
29
+ const serviceTwoId = `${firebase_1.ServicesTypes.INTERIOR_CLEANING}`;
30
30
  const BASE_PARAMS = {
31
31
  pricingPreTaxLines: [
32
32
  {
@@ -46,7 +46,7 @@ const BASE_PARAMS = {
46
46
  serviceProviderCountry: enums_1.SupportedCountryIsoCodes.FRANCE, // override
47
47
  serviceProviderIsVatExempt: false, // override
48
48
  customerCountry: enums_1.SupportedCountryIsoCodes.FRANCE, // override
49
- customerIsSubjectToVAT: false, // override
49
+ customerIsSubjectToVat: false, // override
50
50
  marketplaceCountry: enums_1.SupportedCountryIsoCodes.FRANCE, // override
51
51
  countriesPricingPublicConfigs: countriesPricingPublicConfigsMock,
52
52
  };
@@ -60,7 +60,7 @@ const domesticCases = [
60
60
  serviceProviderCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
61
61
  serviceProviderIsVatExempt: false,
62
62
  customerCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
63
- customerIsSubjectToVAT: false,
63
+ customerIsSubjectToVat: false,
64
64
  marketplaceCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
65
65
  },
66
66
  expected: {
@@ -130,7 +130,7 @@ const domesticCases = [
130
130
  serviceProviderCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
131
131
  serviceProviderIsVatExempt: false,
132
132
  customerCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
133
- customerIsSubjectToVAT: true,
133
+ customerIsSubjectToVat: true,
134
134
  marketplaceCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
135
135
  },
136
136
  expected: {
@@ -214,7 +214,7 @@ const domesticCases = [
214
214
  serviceProviderCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
215
215
  serviceProviderIsVatExempt: false,
216
216
  customerCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
217
- customerIsSubjectToVAT: true,
217
+ customerIsSubjectToVat: true,
218
218
  marketplaceCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
219
219
  },
220
220
  expected: {
@@ -285,7 +285,7 @@ const domesticCases = [
285
285
  serviceProviderCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
286
286
  serviceProviderIsVatExempt: false,
287
287
  customerCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
288
- customerIsSubjectToVAT: true,
288
+ customerIsSubjectToVat: true,
289
289
  marketplaceCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
290
290
  },
291
291
  expected: {
@@ -350,7 +350,7 @@ const domesticCases = [
350
350
  serviceProviderCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
351
351
  serviceProviderIsVatExempt: false,
352
352
  customerCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
353
- customerIsSubjectToVAT: true,
353
+ customerIsSubjectToVat: true,
354
354
  marketplaceCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
355
355
  },
356
356
  expected: {
@@ -399,7 +399,7 @@ const domesticCases = [
399
399
  serviceProviderCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
400
400
  serviceProviderIsVatExempt: true,
401
401
  customerCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
402
- customerIsSubjectToVAT: true,
402
+ customerIsSubjectToVat: true,
403
403
  marketplaceCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
404
404
  },
405
405
  expected: {
@@ -462,7 +462,7 @@ const filteredDomesticCases = domesticCasesHasOnly
462
462
  // serviceProviderCountry: SupportedCountryIsoCodes.SPAIN,
463
463
  // serviceProviderIsVatExempt: true,
464
464
  // customerCountry: SupportedCountryIsoCodes.SPAIN,
465
- // customerIsSubjectToVAT: false,
465
+ // customerIsSubjectToVat: false,
466
466
  // marketplaceCountry: SupportedCountryIsoCodes.FRANCE,
467
467
  // },
468
468
  // expected: {
@@ -518,7 +518,7 @@ const filteredDomesticCases = domesticCasesHasOnly
518
518
  // serviceProviderCountry: SupportedCountryIsoCodes.SPAIN,
519
519
  // serviceProviderIsVatExempt: false,
520
520
  // customerCountry: SupportedCountryIsoCodes.SPAIN,
521
- // customerIsSubjectToVAT: false,
521
+ // customerIsSubjectToVat: false,
522
522
  // marketplaceCountry: SupportedCountryIsoCodes.FRANCE,
523
523
  // },
524
524
  // expected: {
@@ -574,7 +574,7 @@ const filteredDomesticCases = domesticCasesHasOnly
574
574
  // serviceProviderCountry: SupportedCountryIsoCodes.SPAIN,
575
575
  // serviceProviderIsVatExempt: true,
576
576
  // customerCountry: SupportedCountryIsoCodes.SPAIN,
577
- // customerIsSubjectToVAT: true,
577
+ // customerIsSubjectToVat: true,
578
578
  // marketplaceCountry: SupportedCountryIsoCodes.FRANCE,
579
579
  // },
580
580
  // expected: {
@@ -630,7 +630,7 @@ const filteredDomesticCases = domesticCasesHasOnly
630
630
  // serviceProviderCountry: SupportedCountryIsoCodes.SPAIN,
631
631
  // serviceProviderIsVatExempt: true,
632
632
  // customerCountry: SupportedCountryIsoCodes.SPAIN,
633
- // customerIsSubjectToVAT: false,
633
+ // customerIsSubjectToVat: false,
634
634
  // marketplaceCountry: SupportedCountryIsoCodes.FRANCE,
635
635
  // },
636
636
  // expected: {
@@ -702,7 +702,7 @@ describe("calculateInvoiceTotalsWithTax", () => {
702
702
  // serviceProviderCountry: SupportedCountryIsoCodes.ITALY,
703
703
  // serviceProviderIsVatExempt: false,
704
704
  // customerCountry: SupportedCountryIsoCodes.SPAIN,
705
- // customerIsSubjectToVAT: false, // B2C
705
+ // customerIsSubjectToVat: false, // B2C
706
706
  // marketplaceCountry: SupportedCountryIsoCodes.FRANCE,
707
707
  // };
708
708
  // const result = calculateInvoiceTotalsWithTax(params);
@@ -791,7 +791,7 @@ describe("calculateInvoiceTotalsWithTax", () => {
791
791
  // serviceProviderCountry: SupportedCountryIsoCodes.FRANCE,
792
792
  // serviceProviderIsVatExempt: false,
793
793
  // customerCountry: SupportedCountryIsoCodes.FRANCE,
794
- // customerIsSubjectToVAT: true,
794
+ // customerIsSubjectToVat: true,
795
795
  // marketplaceCountry: SupportedCountryIsoCodes.FRANCE,
796
796
  // };
797
797
  // const result = calculateInvoiceTotalsWithTax(params);
@@ -873,7 +873,7 @@ describe("calculateInvoiceTotalsWithTax", () => {
873
873
  // serviceProviderCountry: SupportedCountryIsoCodes.SPAIN,
874
874
  // serviceProviderIsVatExempt: true,
875
875
  // customerCountry: SupportedCountryIsoCodes.SPAIN,
876
- // customerIsSubjectToVAT: true,
876
+ // customerIsSubjectToVat: true,
877
877
  // marketplaceCountry: SupportedCountryIsoCodes.FRANCE, // ≠ ES → cross-border
878
878
  // };
879
879
  // const result = calculateInvoiceTotalsWithTax(params);
@@ -928,7 +928,7 @@ describe("calculateInvoiceTotalsWithTax", () => {
928
928
  // customerCountry: SupportedCountryIsoCodes.FRANCE,
929
929
  // serviceProviderCountry: SupportedCountryIsoCodes.SPAIN,
930
930
  // prestationCountry: SupportedCountryIsoCodes.SPAIN,
931
- // customerIsSubjectToVAT: true,
931
+ // customerIsSubjectToVat: true,
932
932
  // countriesPricingPublicConfigs: countriesPricingPublicConfigStub({
933
933
  // [SupportedCountryIsoCodes.FRANCE]: undefined, // Invalid config
934
934
  // [SupportedCountryIsoCodes.SPAIN]: {
@@ -23,4 +23,4 @@ import type { CalculateInvoiceTotalsWithTaxParams, CalculateInvoiceTotalsWithTax
23
23
  * - Not handled here. Promo codes or marketplace-funded discounts should be applied later,
24
24
  * without impacting the serviceProvider’s payout or service VAT lines.
25
25
  */
26
- export declare function calculateInvoiceTotalsWithTax({ pricingPreTaxLines, prestationCountry, serviceProviderCountry, serviceProviderIsVatExempt, countriesPricingPublicConfigs, marketplaceCountry, customerCountry, customerIsSubjectToVAT, }: CalculateInvoiceTotalsWithTaxParams): CalculateInvoiceTotalsWithTaxResult;
26
+ export declare function calculateInvoiceTotalsWithTax({ pricingPreTaxLines, prestationCountry, serviceProviderCountry, serviceProviderIsVatExempt, countriesPricingPublicConfigs, marketplaceCountry, customerCountry, customerIsSubjectToVat, }: CalculateInvoiceTotalsWithTaxParams): CalculateInvoiceTotalsWithTaxResult;
@@ -31,7 +31,7 @@ const calculateMarketplaceFeeWithTax_util_1 = require("./utils/calculateMarketpl
31
31
  * - Not handled here. Promo codes or marketplace-funded discounts should be applied later,
32
32
  * without impacting the serviceProvider’s payout or service VAT lines.
33
33
  */
34
- function calculateInvoiceTotalsWithTax({ pricingPreTaxLines, prestationCountry, serviceProviderCountry, serviceProviderIsVatExempt, countriesPricingPublicConfigs, marketplaceCountry, customerCountry, customerIsSubjectToVAT, }) {
34
+ function calculateInvoiceTotalsWithTax({ pricingPreTaxLines, prestationCountry, serviceProviderCountry, serviceProviderIsVatExempt, countriesPricingPublicConfigs, marketplaceCountry, customerCountry, customerIsSubjectToVat, }) {
35
35
  const placeOfSupplyCountry = prestationCountry;
36
36
  const pricingRatesForPlaceOfSupplyCountry = countriesPricingPublicConfigs[placeOfSupplyCountry];
37
37
  const pricingRatesForPrestationCountry = countriesPricingPublicConfigs[prestationCountry];
@@ -52,7 +52,7 @@ function calculateInvoiceTotalsWithTax({ pricingPreTaxLines, prestationCountry,
52
52
  pricingPreTaxLines,
53
53
  vatRateBasisPoints: effectiveServiceVatRateBasisPoints,
54
54
  });
55
- const feeReverseChargeApplies = customerIsSubjectToVAT &&
55
+ const feeReverseChargeApplies = customerIsSubjectToVat &&
56
56
  customerCountry !== marketplaceCountry &&
57
57
  (0, country_1.isSupportedCountryEuMember)(customerCountry) &&
58
58
  (0, country_1.isSupportedCountryEuMember)(marketplaceCountry);
@@ -7,7 +7,7 @@ export type CalculateInvoiceTotalsWithTaxParams = {
7
7
  serviceProviderCountry: SupportedCountryIsoCodes;
8
8
  serviceProviderIsVatExempt: boolean;
9
9
  customerCountry: SupportedCountryIsoCodes;
10
- customerIsSubjectToVAT: boolean;
10
+ customerIsSubjectToVat: boolean;
11
11
  marketplaceCountry: SupportedCountryIsoCodes;
12
12
  countriesPricingPublicConfigs: Record<SupportedCountryIsoCodes, CountryPricingPublicConfig>;
13
13
  };
@@ -22,4 +22,4 @@ function calculateMarketplaceFeeWithTax({ amountInCents, marketplaceFeeRateBasis
22
22
  totalMarketplaceFeeVatInCents: taxAmountInCents,
23
23
  totalMarketplaceFeePostTaxInCents: totalPostTaxInCents,
24
24
  };
25
- } // TODO update tests and update to handle tax based on pro location etc etc
25
+ }
@@ -1,5 +1,7 @@
1
1
  export type StripeCustomPaymentIntentMetadata = {
2
2
  orderDocumentId: string;
3
3
  firestoreCustomerUserDocumentId: string;
4
- firestoreProfessionalUserDocumentId: string;
4
+ firestoreServiceProviderEntityDocumentId: string;
5
+ firestoreServiceProviderUserDocumentId: string;
6
+ firestoreCustomerEntityDocumentId: string;
5
7
  };
@@ -1,3 +1,5 @@
1
1
  export type StripeCustomProfessionalPayoutMetadata = {
2
2
  walletWithdrawalIntentDocumentId: string;
3
+ entityDocumentId: string;
4
+ walletDocumentId: string;
3
5
  };
@@ -1,32 +1,32 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  /* eslint-disable quotes */
4
- const escapeHtml_util_1 = require("../escapeHtml.util");
4
+ const escapeHtml_1 = require("../escapeHtml");
5
5
  describe("escapeHtml", () => {
6
6
  it("should escape all HTML special characters", () => {
7
7
  const input = `<div class="test" onclick='alert("x")'>& content</div>`;
8
8
  const expected = `&lt;div class=&quot;test&quot; onclick=&#39;alert(&quot;x&quot;)&#39;&gt;&amp; content&lt;/div&gt;`;
9
- expect((0, escapeHtml_util_1.escapeHtml)(input)).toBe(expected);
9
+ expect((0, escapeHtml_1.escapeHtml)(input)).toBe(expected);
10
10
  });
11
11
  it("should escape only ampersand", () => {
12
- expect((0, escapeHtml_util_1.escapeHtml)("Rock & Roll")).toBe("Rock &amp; Roll");
12
+ expect((0, escapeHtml_1.escapeHtml)("Rock & Roll")).toBe("Rock &amp; Roll");
13
13
  });
14
14
  it("should escape only angle brackets", () => {
15
- expect((0, escapeHtml_util_1.escapeHtml)("5 < 10 > 3")).toBe("5 &lt; 10 &gt; 3");
15
+ expect((0, escapeHtml_1.escapeHtml)("5 < 10 > 3")).toBe("5 &lt; 10 &gt; 3");
16
16
  });
17
17
  it("should escape both single and double quotes", () => {
18
- expect((0, escapeHtml_util_1.escapeHtml)('She said: "It\'s fine"')).toBe("She said: &quot;It&#39;s fine&quot;");
18
+ expect((0, escapeHtml_1.escapeHtml)('She said: "It\'s fine"')).toBe("She said: &quot;It&#39;s fine&quot;");
19
19
  });
20
20
  it("should return the same string if there are no special characters", () => {
21
21
  const input = "Hello world 123 !?";
22
- expect((0, escapeHtml_util_1.escapeHtml)(input)).toBe(input);
22
+ expect((0, escapeHtml_1.escapeHtml)(input)).toBe(input);
23
23
  });
24
24
  it("should handle an empty string", () => {
25
- expect((0, escapeHtml_util_1.escapeHtml)("")).toBe("");
25
+ expect((0, escapeHtml_1.escapeHtml)("")).toBe("");
26
26
  });
27
27
  it("should handle a string with only special characters", () => {
28
28
  const input = "&<>\"'";
29
29
  const expected = "&amp;&lt;&gt;&quot;&#39;";
30
- expect((0, escapeHtml_util_1.escapeHtml)(input)).toBe(expected);
30
+ expect((0, escapeHtml_1.escapeHtml)(input)).toBe(expected);
31
31
  });
32
32
  });
@@ -1,26 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const enums_1 = require("../../../enums");
4
- const formatPriceInCents_util_1 = require("../formatPriceInCents.util");
4
+ const formatPriceInCents_1 = require("../formatPriceInCents");
5
5
  describe("formatPriceInCents", () => {
6
6
  it("formats price in EUR correctly", () => {
7
- const result = (0, formatPriceInCents_util_1.formatPriceInCents)(12345, enums_1.SupportedIsoCurrency.EUR);
7
+ const result = (0, formatPriceInCents_1.formatPriceInCents)(12345, enums_1.SupportedIsoCurrency.EUR);
8
8
  expect(result).toBe("123.45 €");
9
9
  });
10
10
  it("defaults to EUR if currency is unknown", () => {
11
- const result = (0, formatPriceInCents_util_1.formatPriceInCents)(12345, "XYZ");
11
+ const result = (0, formatPriceInCents_1.formatPriceInCents)(12345, "XYZ");
12
12
  expect(result).toBe("123.45 €");
13
13
  });
14
14
  it("formats non-round cents values correctly", () => {
15
- const result = (0, formatPriceInCents_util_1.formatPriceInCents)(129, enums_1.SupportedIsoCurrency.EUR);
15
+ const result = (0, formatPriceInCents_1.formatPriceInCents)(129, enums_1.SupportedIsoCurrency.EUR);
16
16
  expect(result).toBe("1.29 €");
17
17
  });
18
18
  it("formats zero price correctly", () => {
19
- const result = (0, formatPriceInCents_util_1.formatPriceInCents)(0, enums_1.SupportedIsoCurrency.EUR);
19
+ const result = (0, formatPriceInCents_1.formatPriceInCents)(0, enums_1.SupportedIsoCurrency.EUR);
20
20
  expect(result).toBe("0.00 €");
21
21
  });
22
22
  it("formats negative price correctly", () => {
23
- const result = (0, formatPriceInCents_util_1.formatPriceInCents)(-12345, enums_1.SupportedIsoCurrency.EUR);
23
+ const result = (0, formatPriceInCents_1.formatPriceInCents)(-12345, enums_1.SupportedIsoCurrency.EUR);
24
24
  expect(result).toBe("-123.45 €");
25
25
  });
26
26
  // it("formats price in USD correctly", () => {
@@ -1,2 +1,2 @@
1
- export * from "./formatPriceInCents.util";
2
- export * from "./escapeHtml.util";
1
+ export * from "./formatPriceInCents";
2
+ export * from "./escapeHtml";
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./formatPriceInCents.util"), exports);
18
- __exportStar(require("./escapeHtml.util"), exports);
17
+ __exportStar(require("./formatPriceInCents"), exports);
18
+ __exportStar(require("./escapeHtml"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doctocar/tooling",
3
- "version": "0.3.1-6",
3
+ "version": "0.3.1-7",
4
4
  "description": "A set of tools for DoctoCar projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1 +0,0 @@
1
- export type ProfessionalOnboardingCompletedEmailData = Record<string, never>;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProfessionalUserDeleteOrderServicePhotosErrorCodes = void 0;
4
- var ProfessionalUserDeleteOrderServicePhotosErrorCodes;
5
- (function (ProfessionalUserDeleteOrderServicePhotosErrorCodes) {
6
- ProfessionalUserDeleteOrderServicePhotosErrorCodes["REQUEST_DATA_VALIDATION_FAILED"] = "REQUEST_DATA_VALIDATION_FAILED";
7
- ProfessionalUserDeleteOrderServicePhotosErrorCodes["CONTEXT_VALIDATION_FAILED"] = "CONTEXT_VALIDATION_FAILED";
8
- ProfessionalUserDeleteOrderServicePhotosErrorCodes["ORDER_NOT_FOUND"] = "ORDER_NOT_FOUND";
9
- ProfessionalUserDeleteOrderServicePhotosErrorCodes["USER_NOT_ALLOWED_TO_DELETE_PHOTOS_FOR_THIS_ORDER"] = "USER_NOT_ALLOWED_TO_DELETE_PHOTOS_FOR_THIS_ORDER";
10
- ProfessionalUserDeleteOrderServicePhotosErrorCodes["ORDER_STATUS_NOT_VALID_FOR_PHOTO_DELETE"] = "ORDER_STATUS_NOT_VALID_FOR_PHOTO_DELETE";
11
- ProfessionalUserDeleteOrderServicePhotosErrorCodes["FAILED_TO_PROCESS_DELETED_PHOTOS"] = "FAILED_TO_PROCESS_DELETED_PHOTOS";
12
- ProfessionalUserDeleteOrderServicePhotosErrorCodes["FAILED_TO_UPDATE_FIRESTORE_ORDER_DOCUMENT"] = "FAILED_TO_UPDATE_FIRESTORE_ORDER_DOCUMENT";
13
- })(ProfessionalUserDeleteOrderServicePhotosErrorCodes || (exports.ProfessionalUserDeleteOrderServicePhotosErrorCodes = ProfessionalUserDeleteOrderServicePhotosErrorCodes = {}));
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProfessionalUserUploadOrderServicePhotosErrorCodes = void 0;
4
- var ProfessionalUserUploadOrderServicePhotosErrorCodes;
5
- (function (ProfessionalUserUploadOrderServicePhotosErrorCodes) {
6
- ProfessionalUserUploadOrderServicePhotosErrorCodes["REQUEST_DATA_VALIDATION_FAILED"] = "REQUEST_DATA_VALIDATION_FAILED";
7
- ProfessionalUserUploadOrderServicePhotosErrorCodes["CONTEXT_VALIDATION_FAILED"] = "CONTEXT_VALIDATION_FAILED";
8
- ProfessionalUserUploadOrderServicePhotosErrorCodes["ORDER_NOT_FOUND"] = "ORDER_NOT_FOUND";
9
- ProfessionalUserUploadOrderServicePhotosErrorCodes["USER_NOT_ALLOWED_TO_UPLOAD_PHOTOS_FOR_THIS_ORDER"] = "USER_NOT_ALLOWED_TO_UPLOAD_PHOTOS_FOR_THIS_ORDER";
10
- ProfessionalUserUploadOrderServicePhotosErrorCodes["ORDER_STATUS_NOT_VALID_FOR_PHOTO_UPLOAD"] = "ORDER_STATUS_NOT_VALID_FOR_PHOTO_UPLOAD";
11
- ProfessionalUserUploadOrderServicePhotosErrorCodes["TOO_MANY_PHOTOS_IN_REQUEST"] = "TOO_MANY_PHOTOS_IN_REQUEST";
12
- ProfessionalUserUploadOrderServicePhotosErrorCodes["FAILED_TO_PROCESS_UPLOADED_PHOTOS"] = "FAILED_TO_PROCESS_UPLOADED_PHOTOS";
13
- ProfessionalUserUploadOrderServicePhotosErrorCodes["UPLOADED_PHOTO_NOT_IN_USER_TMP_FOLDER"] = "UPLOADED_PHOTO_NOT_IN_USER_TMP_FOLDER";
14
- ProfessionalUserUploadOrderServicePhotosErrorCodes["UPLOADED_PHOTO_NOT_FOUND_IN_STORAGE"] = "UPLOADED_PHOTO_NOT_FOUND_IN_STORAGE";
15
- ProfessionalUserUploadOrderServicePhotosErrorCodes["PROFESSIONAL_SERVICE_TYPE_NOT_FOUND_IN_PUBLIC_CONFIG"] = "PROFESSIONAL_SERVICE_TYPE_NOT_FOUND_IN_PUBLIC_CONFIG";
16
- ProfessionalUserUploadOrderServicePhotosErrorCodes["MAXIMUM_PHOTOS_ALREADY_REACHED"] = "MAXIMUM_PHOTOS_ALREADY_REACHED";
17
- })(ProfessionalUserUploadOrderServicePhotosErrorCodes || (exports.ProfessionalUserUploadOrderServicePhotosErrorCodes = ProfessionalUserUploadOrderServicePhotosErrorCodes = {}));
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateProfessionalUserSlotDocumentErrorCodes = void 0;
4
- var CreateProfessionalUserSlotDocumentErrorCodes;
5
- (function (CreateProfessionalUserSlotDocumentErrorCodes) {
6
- CreateProfessionalUserSlotDocumentErrorCodes["INVALID_SLOT_DATA"] = "INVALID_SLOT_DATA";
7
- CreateProfessionalUserSlotDocumentErrorCodes["SLOT_LIMIT_EXCEEDED"] = "SLOT_LIMIT_EXCEEDED";
8
- })(CreateProfessionalUserSlotDocumentErrorCodes || (exports.CreateProfessionalUserSlotDocumentErrorCodes = CreateProfessionalUserSlotDocumentErrorCodes = {}));
@@ -1,20 +0,0 @@
1
- export declare enum ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes {
2
- REQUEST_DATA_VALIDATION_FAILED = "REQUEST_DATA_VALIDATION_FAILED",
3
- CONTEXT_VALIDATION_FAILED = "CONTEXT_VALIDATION_FAILED",
4
- UNAUTHENTICATED = "processProfessionalUserOnboardingBaseCompanyInfos/unauthenticated",
5
- INVALID_ENTITY_TYPE = "processProfessionalUserOnboardingBaseCompanyInfos/invalidEntityType",
6
- INVALID_COMPANY_LEGAL_REPRESENTATIVE = "processProfessionalUserOnboardingBaseCompanyInfos/invalidCompanyLegalRepresentative",
7
- INVALID_COMPANY_LEGAL_NAME = "processProfessionalUserOnboardingBaseCompanyInfos/invalidCompanyLegalName",
8
- INVALID_COMPANY_LEGAL_ADDRESS_PLACE_ID = "processProfessionalUserOnboardingBaseCompanyInfos/invalidCompanyLegalAddressPlaceId",
9
- COMPANY_VAT_NUMBER_REQUIRED = "processProfessionalUserOnboardingBaseCompanyInfos/companyVatNumberRequired",
10
- INVALID_COMPANY_VAT_NUMBER = "processProfessionalUserOnboardingBaseCompanyInfos/companyVatNumberInvalid",
11
- INVALID_COMPANY_REGISTRATION_DETAILS = "processProfessionalUserOnboardingBaseCompanyInfos/invalidCompanyRegistrationDetails",
12
- INVALID_COMPANY_REGISTRATION_NUMBER = "processProfessionalUserOnboardingBaseCompanyInfos/invalidCompanyRegistrationNumber",
13
- ONBOARDING_ALREADY_COMPLETED = "processProfessionalUserOnboardingBaseCompanyInfos/onboardingAlreadyCompleted",
14
- COMPANY_ALREADY_REGISTERED = "processProfessionalUserOnboardingBaseCompanyInfos/companyAlreadyRegistered",
15
- INSEE_VALIDATION_FAILED = "processProfessionalUserOnboardingBaseCompanyInfos/inseeValidationFailed",
16
- STRIPE_TOS_NOT_ACCEPTED = "processProfessionalUserOnboardingBaseCompanyInfos/stripeTosNotAccepted",
17
- USER_EMAIL_NOT_SET = "processProfessionalUserOnboardingBaseCompanyInfos/userEmailNotSet",
18
- USER_EMAIL_NOT_VERIFIED = "processProfessionalUserOnboardingBaseCompanyInfos/userEmailNotVerified",
19
- USER_IS_ANONYMOUS = "processProfessionalUserOnboardingBaseCompanyInfos/userIsAnonymous"
20
- }
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes = void 0;
4
- var ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes;
5
- (function (ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes) {
6
- ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes["REQUEST_DATA_VALIDATION_FAILED"] = "REQUEST_DATA_VALIDATION_FAILED";
7
- ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes["CONTEXT_VALIDATION_FAILED"] = "CONTEXT_VALIDATION_FAILED";
8
- ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes["UNAUTHENTICATED"] = "processProfessionalUserOnboardingBaseCompanyInfos/unauthenticated";
9
- ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes["INVALID_ENTITY_TYPE"] = "processProfessionalUserOnboardingBaseCompanyInfos/invalidEntityType";
10
- ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes["INVALID_COMPANY_LEGAL_REPRESENTATIVE"] = "processProfessionalUserOnboardingBaseCompanyInfos/invalidCompanyLegalRepresentative";
11
- ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes["INVALID_COMPANY_LEGAL_NAME"] = "processProfessionalUserOnboardingBaseCompanyInfos/invalidCompanyLegalName";
12
- ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes["INVALID_COMPANY_LEGAL_ADDRESS_PLACE_ID"] = "processProfessionalUserOnboardingBaseCompanyInfos/invalidCompanyLegalAddressPlaceId";
13
- ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes["COMPANY_VAT_NUMBER_REQUIRED"] = "processProfessionalUserOnboardingBaseCompanyInfos/companyVatNumberRequired";
14
- ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes["INVALID_COMPANY_VAT_NUMBER"] = "processProfessionalUserOnboardingBaseCompanyInfos/companyVatNumberInvalid";
15
- ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes["INVALID_COMPANY_REGISTRATION_DETAILS"] = "processProfessionalUserOnboardingBaseCompanyInfos/invalidCompanyRegistrationDetails";
16
- ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes["INVALID_COMPANY_REGISTRATION_NUMBER"] = "processProfessionalUserOnboardingBaseCompanyInfos/invalidCompanyRegistrationNumber";
17
- ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes["ONBOARDING_ALREADY_COMPLETED"] = "processProfessionalUserOnboardingBaseCompanyInfos/onboardingAlreadyCompleted";
18
- ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes["COMPANY_ALREADY_REGISTERED"] = "processProfessionalUserOnboardingBaseCompanyInfos/companyAlreadyRegistered";
19
- ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes["INSEE_VALIDATION_FAILED"] = "processProfessionalUserOnboardingBaseCompanyInfos/inseeValidationFailed";
20
- ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes["STRIPE_TOS_NOT_ACCEPTED"] = "processProfessionalUserOnboardingBaseCompanyInfos/stripeTosNotAccepted";
21
- ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes["USER_EMAIL_NOT_SET"] = "processProfessionalUserOnboardingBaseCompanyInfos/userEmailNotSet";
22
- ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes["USER_EMAIL_NOT_VERIFIED"] = "processProfessionalUserOnboardingBaseCompanyInfos/userEmailNotVerified";
23
- ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes["USER_IS_ANONYMOUS"] = "processProfessionalUserOnboardingBaseCompanyInfos/userIsAnonymous";
24
- })(ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes || (exports.ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes = ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes = {}));
@@ -1,8 +0,0 @@
1
- export declare enum UpdateProfessionalUserLiabilityInsuranceErrorCodes {
2
- REQUEST_DATA_VALIDATION_FAILED = "REQUEST_DATA_VALIDATION_FAILED",
3
- CONTEXT_VALIDATION_FAILED = "CONTEXT_VALIDATION_FAILED",
4
- UPLOADED_FILE_NOT_IN_USER_TMP_FOLDER = "UPLOADED_FILE_NOT_IN_USER_TMP_FOLDER",
5
- UPLOADED_FILE_NOT_FOUND_IN_STORAGE = "UPLOADED_FILE_NOT_FOUND_IN_STORAGE",
6
- USER_PUBLIC_DOCUMENT_NOT_FOUND = "USER_PUBLIC_DOCUMENT_NOT_FOUND",
7
- ERROR_UPDATING_USER_LIABILITY_INSURANCE = "ERROR_UPDATING_USER_LIABILITY_INSURANCE"
8
- }
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateProfessionalUserLiabilityInsuranceErrorCodes = void 0;
4
- var UpdateProfessionalUserLiabilityInsuranceErrorCodes;
5
- (function (UpdateProfessionalUserLiabilityInsuranceErrorCodes) {
6
- UpdateProfessionalUserLiabilityInsuranceErrorCodes["REQUEST_DATA_VALIDATION_FAILED"] = "REQUEST_DATA_VALIDATION_FAILED";
7
- UpdateProfessionalUserLiabilityInsuranceErrorCodes["CONTEXT_VALIDATION_FAILED"] = "CONTEXT_VALIDATION_FAILED";
8
- UpdateProfessionalUserLiabilityInsuranceErrorCodes["UPLOADED_FILE_NOT_IN_USER_TMP_FOLDER"] = "UPLOADED_FILE_NOT_IN_USER_TMP_FOLDER";
9
- UpdateProfessionalUserLiabilityInsuranceErrorCodes["UPLOADED_FILE_NOT_FOUND_IN_STORAGE"] = "UPLOADED_FILE_NOT_FOUND_IN_STORAGE";
10
- UpdateProfessionalUserLiabilityInsuranceErrorCodes["USER_PUBLIC_DOCUMENT_NOT_FOUND"] = "USER_PUBLIC_DOCUMENT_NOT_FOUND";
11
- UpdateProfessionalUserLiabilityInsuranceErrorCodes["ERROR_UPDATING_USER_LIABILITY_INSURANCE"] = "ERROR_UPDATING_USER_LIABILITY_INSURANCE";
12
- })(UpdateProfessionalUserLiabilityInsuranceErrorCodes || (exports.UpdateProfessionalUserLiabilityInsuranceErrorCodes = UpdateProfessionalUserLiabilityInsuranceErrorCodes = {}));
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateProfessionalUserServicesLocationErrorCodes = void 0;
4
- var UpdateProfessionalUserServicesLocationErrorCodes;
5
- (function (UpdateProfessionalUserServicesLocationErrorCodes) {
6
- UpdateProfessionalUserServicesLocationErrorCodes["REQUEST_DATA_VALIDATION_FAILED"] = "REQUEST_DATA_VALIDATION_FAILED";
7
- UpdateProfessionalUserServicesLocationErrorCodes["CONTEXT_VALIDATION_FAILED"] = "CONTEXT_VALIDATION_FAILED";
8
- UpdateProfessionalUserServicesLocationErrorCodes["INVALID_SERVICE_LOCATION_RADIUS"] = "INVALID_SERVICE_LOCATION_RADIUS";
9
- UpdateProfessionalUserServicesLocationErrorCodes["INVALID_SERVICE_LOCATION_PLACE_ID"] = "INVALID_SERVICE_LOCATION_PLACE_ID";
10
- UpdateProfessionalUserServicesLocationErrorCodes["USER_PUBLIC_DOCUMENT_NOT_FOUND"] = "USER_PUBLIC_DOCUMENT_NOT_FOUND";
11
- UpdateProfessionalUserServicesLocationErrorCodes["ERROR_UPDATING_PROFESSIONAL_USER_SERVICES_LOCATION"] = "ERROR_UPDATING_PROFESSIONAL_USER_SERVICES_LOCATION";
12
- })(UpdateProfessionalUserServicesLocationErrorCodes || (exports.UpdateProfessionalUserServicesLocationErrorCodes = UpdateProfessionalUserServicesLocationErrorCodes = {}));
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateProfessionalUserSlotDocumentErrorCodes = void 0;
4
- var UpdateProfessionalUserSlotDocumentErrorCodes;
5
- (function (UpdateProfessionalUserSlotDocumentErrorCodes) {
6
- UpdateProfessionalUserSlotDocumentErrorCodes["INVALID_SLOT_DATA"] = "INVALID_SLOT_DATA";
7
- UpdateProfessionalUserSlotDocumentErrorCodes["SLOT_NOT_FOUND"] = "SLOT_NOT_FOUND";
8
- })(UpdateProfessionalUserSlotDocumentErrorCodes || (exports.UpdateProfessionalUserSlotDocumentErrorCodes = UpdateProfessionalUserSlotDocumentErrorCodes = {}));
@@ -1,5 +0,0 @@
1
- export * from "./CreateProfessionalUserSlotDocumentErrorCodes.enum";
2
- export * from "./ProcessProfessionalUserOnboardingBaseCompanyInfosErrorCodes.enum";
3
- export * from "./UpdateProfessionalUserSlotDocumentErrorCodes.enum";
4
- export * from "./UpdateProfessionalUserLiabilityInsuranceErrorCodes.enum";
5
- export * from "./UpdateProfessionalUserServicesLocationErrorCodes.enum";
@@ -1,8 +0,0 @@
1
- import type { OrderProfessionalServiceDetailsPhotoContext } from "../../../firestore";
2
- import { BaseOnCallRequestData } from "../BaseOncallRequestData";
3
- export type ProfessionalUserDeleteOrderServicePhotosRequestData = {
4
- orderDocumentId: string;
5
- professionalServiceDetailsId: string;
6
- photoContext: OrderProfessionalServiceDetailsPhotoContext;
7
- imageVariantSetIds: string[];
8
- } & BaseOnCallRequestData;
@@ -1 +0,0 @@
1
- export type ProfessionalUserDeleteOrderServicePhotosResponseData = void;
@@ -1,8 +0,0 @@
1
- import type { OrderProfessionalServiceDetailsPhotoContext } from "../../../firestore";
2
- import { BaseOnCallRequestData } from "../BaseOncallRequestData";
3
- export type ProfessionalUserUploadOrderServicePhotosRequestData = {
4
- orderDocumentId: string;
5
- professionalServiceDetailsId: string;
6
- photoContext: OrderProfessionalServiceDetailsPhotoContext;
7
- uploadedPhotosStoragePaths: string[];
8
- } & BaseOnCallRequestData;
@@ -1 +0,0 @@
1
- export type ProfessionalUserUploadOrderServicePhotosResponseData = void;
@@ -1,2 +0,0 @@
1
- import type { BaseOnCallRequestData } from "../../BaseOncallRequestData";
2
- export type CreateProfessionalUserPublicDocumentRequestData = BaseOnCallRequestData;
@@ -1 +0,0 @@
1
- export type CreateProfessionalUserPublicDocumentResponseData = void;
@@ -1,5 +0,0 @@
1
- import type { ProfessionalServicesTypes } from "../../../../firestore";
2
- import { BaseOnCallRequestData } from "../../BaseOncallRequestData";
3
- export type DeleteProfessionalUserServiceRequestData = {
4
- professionalServiceType: ProfessionalServicesTypes;
5
- } & BaseOnCallRequestData;
@@ -1 +0,0 @@
1
- export type DeleteProfessionalUserServiceResponseData = void;
@@ -1 +0,0 @@
1
- export type DeleteProfessionalUserSlotDocumentResponseData = void;
@@ -1,14 +0,0 @@
1
- import type { SupportedCountryIsoCodes } from "../../../../../enums";
2
- import type { CompanyLegalRepresentative, CompanyRegistrationPerCountry } from "../../../../firestore";
3
- import { BaseOnCallRequestData } from "../../BaseOncallRequestData";
4
- export type ProcessProfessionalUserOnboardingBaseCompanyInfosRequestData = {
5
- marketingConsentIsChecked: boolean;
6
- companyLegalAddressPlaceId: string;
7
- companyVATNumber?: string;
8
- companyIsVATExempt?: boolean;
9
- companyLegalName: string;
10
- companyLegalRepresentative: CompanyLegalRepresentative;
11
- companyRegistration: CompanyRegistrationPerCountry;
12
- companyRegistrationCountry: SupportedCountryIsoCodes;
13
- stripeTosShownAndAccepted: boolean;
14
- } & BaseOnCallRequestData;
@@ -1 +0,0 @@
1
- export type ProcessProfessionalUserOnboardingBaseCompanyInfosResponseData = void;
@@ -1,4 +0,0 @@
1
- import { BaseOnCallRequestData } from "../../BaseOncallRequestData";
2
- export type UpdateProfessionalUserLiabilityInsuranceRequestData = {
3
- uploadedFileStoragePath: string;
4
- } & BaseOnCallRequestData;
@@ -1 +0,0 @@
1
- export type UpdateProfessionalUserLiabilityInsuranceResponseData = void;
@@ -1,5 +0,0 @@
1
- import type { ProfessionalService, ProfessionalServicesTypes } from "../../../../firestore";
2
- import { BaseOnCallRequestData } from "../../BaseOncallRequestData";
3
- export type UpdateProfessionalUserServiceRequestData<T extends ProfessionalServicesTypes = ProfessionalServicesTypes> = {
4
- professionalService: ProfessionalService<T>;
5
- } & BaseOnCallRequestData;
@@ -1 +0,0 @@
1
- export type UpdateProfessionalUserServiceResponseData = void;
@@ -1 +0,0 @@
1
- export type UpdateProfessionalUserServicesLocationResponseData = void;
@@ -1,15 +0,0 @@
1
- import { BaseOnCallRequestData } from "../../BaseOncallRequestData";
2
- export type UpdateProfessionalUserTermsAcceptanceRequestData = {
3
- termsOfService?: {
4
- accepted: boolean;
5
- } | undefined;
6
- selfBillingAgreement?: {
7
- accepted: boolean;
8
- } | undefined;
9
- marketingConsent?: {
10
- accepted: boolean;
11
- } | undefined;
12
- privacyPolicy?: {
13
- accepted: boolean;
14
- } | undefined;
15
- } & BaseOnCallRequestData;
@@ -1 +0,0 @@
1
- export type UpdateProfessionalUserTermsAcceptanceResponseData = void;
@@ -1,17 +0,0 @@
1
- export * from "./ProcessProfessionalUserOnboardingBaseCompanyInfosRequestData.type";
2
- export * from "./ProcessProfessionalUserOnboardingBaseCompanyInfosResponseData.type";
3
- export * from "./UpdateProfessionalUserServicesLocationRequestData.type";
4
- export * from "./UpdateProfessionalUserServicesLocationResponseData.type";
5
- export * from "./UpdateProfessionalUserLiabilityInsuranceRequestData.type";
6
- export * from "./UpdateProfessionalUserLiabilityInsuranceResponseData.type";
7
- export * from "./UpdateProfessionalUserTermsAcceptanceRequestData.type";
8
- export * from "./UpdateProfessionalUserTermsAcceptanceResponseData.type";
9
- export * from "./DeleteProfessionalUserServiceRequestData.type";
10
- export * from "./DeleteProfessionalUserServiceResponseData.type";
11
- export * from "./UpdateProfessionalUserServiceRequestData.type";
12
- export * from "./UpdateProfessionalUserServiceResponseData.type";
13
- export * from "./CreateProfessionalUserPublicDocumentRequestData.type";
14
- export * from "./CreateProfessionalUserPublicDocumentResponseData.type";
15
- export * from "./DeleteProfessionalUserSlotDocumentRequestData.type";
16
- export * from "./DeleteProfessionalUserSlotDocumentResponseData.type";
17
- export * from "./slots";