@doctocar/tooling 0.3.1-4 → 0.3.1-42

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 (1269) hide show
  1. package/dist/emails/enums/AWSSESEmailsTemplatesNames.enum.d.ts +4 -1
  2. package/dist/emails/enums/AWSSESEmailsTemplatesNames.enum.js +4 -1
  3. package/dist/emails/maps/EmailTemplateDataMap.map.d.ts +5 -2
  4. package/dist/emails/maps/EmailTemplateDataMap.map.js +0 -4
  5. package/dist/emails/types/company/CompanyVatRejectedEmailData.type.d.ts +5 -0
  6. package/dist/emails/types/company/CompanyVatRejectedEmailData.type.js +2 -0
  7. package/dist/emails/types/company/CompanyVatVerifiedEmailData.type.d.ts +3 -0
  8. package/dist/emails/types/company/CompanyVatVerifiedEmailData.type.js +2 -0
  9. package/dist/emails/types/company/index.d.ts +2 -0
  10. package/dist/emails/types/company/index.js +18 -0
  11. package/dist/emails/types/customer/CustomerBookingConfirmationEmailData.type.d.ts +2 -2
  12. package/dist/emails/types/customer/CustomerConfirmedOrderCancelledEmailData.type.d.ts +2 -2
  13. package/dist/emails/types/customer/CustomerEntityCreatedEmailData.type.d.ts +1 -0
  14. package/dist/emails/types/customer/CustomerEntityCreatedEmailData.type.js +2 -0
  15. package/dist/emails/types/customer/CustomerOrderIssueReportedConfirmationEmailData.type.d.ts +1 -1
  16. package/dist/emails/types/customer/CustomerOrderNewMessageReceivedEmailData.type.d.ts +2 -2
  17. package/dist/emails/types/customer/CustomerOrderReviewRequestedEmailData.type.d.ts +2 -2
  18. package/dist/emails/types/customer/CustomerServiceCompletedByProfessionalEmailData.type.d.ts +2 -2
  19. package/dist/emails/types/customer/CustomerServiceStartedEmailData.type.d.ts +2 -2
  20. package/dist/emails/types/customer/CustomerUpcomingOrderReminderEmailData.type.d.ts +2 -2
  21. package/dist/emails/types/customer/CustomerWelcomeEmailData.type.d.ts +1 -0
  22. package/dist/emails/types/customer/CustomerWelcomeEmailData.type.js +2 -0
  23. package/dist/emails/types/entity/EntityCreatedEmailData.type.d.ts +1 -0
  24. package/dist/emails/types/entity/EntityCreatedEmailData.type.js +2 -0
  25. package/dist/emails/types/entity/EntityMemberInviteEmailData.type.d.ts +8 -0
  26. package/dist/emails/types/entity/EntityMemberInviteEmailData.type.js +2 -0
  27. package/dist/emails/types/entity/EntityVatVerificationFailedEmailData.type.d.ts +0 -1
  28. package/dist/emails/types/entity/ServiceProviderEntityIsNotCompliantAnymoreEmailData.type.d.ts +4 -0
  29. package/dist/emails/types/entity/ServiceProviderEntityIsNotCompliantAnymoreEmailData.type.js +2 -0
  30. package/dist/emails/types/entity/ServiceProviderEntityIsNowCompliantEmailData.type.d.ts +3 -0
  31. package/dist/emails/types/entity/ServiceProviderEntityIsNowCompliantEmailData.type.js +2 -0
  32. package/dist/emails/types/entity/ServiceProviderEntityOnboardingCompletedEmailData.type.d.ts +3 -0
  33. package/dist/emails/types/entity/ServiceProviderEntityOnboardingCompletedEmailData.type.js +2 -0
  34. package/dist/emails/types/entity/index.d.ts +4 -0
  35. package/dist/emails/types/entity/index.js +4 -0
  36. package/dist/emails/types/professional/ProfessionalConfirmedOrderCancelledEmailData.type.d.ts +2 -2
  37. package/dist/emails/types/professional/ProfessionalNewBookingEmailData.type.d.ts +1 -1
  38. package/dist/emails/types/professional/ProfessionalOrderIssueReportedConfirmationEmailData.type.d.ts +1 -1
  39. package/dist/emails/types/professional/ProfessionalOrderNewMessageReceivedEmailData.type.d.ts +2 -2
  40. package/dist/emails/types/professional/ProfessionalServiceCompletedByProfessionalEmailData.type.d.ts +2 -2
  41. package/dist/emails/types/professional/ProfessionalUpcomingOrderReminderEmailData.type.d.ts +1 -1
  42. package/dist/emails/types/professional/index.d.ts +0 -1
  43. package/dist/emails/types/professional/index.js +0 -1
  44. package/dist/enums/payment/PaymentStatusTypes.enum.d.ts +0 -2
  45. package/dist/enums/payment/PaymentStatusTypes.enum.js +0 -2
  46. package/dist/errors/enums/cloudFunctions/customers/ProcessCustomerUserOnboardingErrorCodes.enum.d.ts +22 -0
  47. package/dist/errors/enums/cloudFunctions/customers/ProcessCustomerUserOnboardingErrorCodes.enum.js +26 -0
  48. package/dist/errors/enums/cloudFunctions/customers/index.d.ts +0 -2
  49. package/dist/errors/enums/cloudFunctions/customers/index.js +0 -2
  50. package/dist/errors/enums/cloudFunctions/entities/AcceptEntityMemberInviteErrorCodes.enum.d.ts +15 -0
  51. package/dist/errors/enums/cloudFunctions/entities/AcceptEntityMemberInviteErrorCodes.enum.js +19 -0
  52. package/dist/errors/enums/cloudFunctions/entities/CreateEntityMemberInviteErrorCodes.enum.d.ts +16 -0
  53. package/dist/errors/enums/cloudFunctions/entities/CreateEntityMemberInviteErrorCodes.enum.js +20 -0
  54. package/dist/errors/enums/cloudFunctions/entities/CreateEntityVehicleErrorCodes.enum.d.ts +17 -0
  55. package/dist/errors/enums/cloudFunctions/entities/CreateEntityVehicleErrorCodes.enum.js +21 -0
  56. package/dist/errors/enums/cloudFunctions/entities/CreateNewEntityErrorCodes.enum.d.ts +7 -1
  57. package/dist/errors/enums/cloudFunctions/entities/CreateNewEntityErrorCodes.enum.js +6 -0
  58. package/dist/errors/enums/cloudFunctions/entities/DeleteEntityVehicleErrorCodes.enum.d.ts +10 -0
  59. package/dist/errors/enums/cloudFunctions/entities/DeleteEntityVehicleErrorCodes.enum.js +14 -0
  60. package/dist/errors/enums/cloudFunctions/entities/JoinEntityErrorCodes.enum.d.ts +13 -0
  61. package/dist/errors/enums/cloudFunctions/entities/JoinEntityErrorCodes.enum.js +17 -0
  62. package/dist/errors/enums/cloudFunctions/entities/RedeemPromoCodeForEntityErrorCodes.enum.d.ts +18 -0
  63. package/dist/errors/enums/cloudFunctions/entities/RedeemPromoCodeForEntityErrorCodes.enum.js +22 -0
  64. package/dist/errors/enums/cloudFunctions/entities/RevokeEntityMemberErrorCodes.enum.d.ts +11 -0
  65. package/dist/errors/enums/cloudFunctions/entities/RevokeEntityMemberErrorCodes.enum.js +15 -0
  66. package/dist/errors/enums/cloudFunctions/entities/RevokeEntityMemberInviteErrorCodes.enum.d.ts +13 -0
  67. package/dist/errors/enums/cloudFunctions/entities/RevokeEntityMemberInviteErrorCodes.enum.js +17 -0
  68. package/dist/errors/enums/cloudFunctions/entities/TransferEntityOwnershipErrorCodes.enum.d.ts +11 -0
  69. package/dist/errors/enums/cloudFunctions/entities/TransferEntityOwnershipErrorCodes.enum.js +15 -0
  70. package/dist/errors/enums/cloudFunctions/entities/UpdateEntityAgreementsErrorCodes.enum.d.ts +12 -0
  71. package/dist/errors/enums/cloudFunctions/entities/UpdateEntityAgreementsErrorCodes.enum.js +16 -0
  72. package/dist/errors/enums/cloudFunctions/entities/UpdateEntityMemberErrorCodes.enum.d.ts +13 -0
  73. package/dist/errors/enums/cloudFunctions/entities/UpdateEntityMemberErrorCodes.enum.js +17 -0
  74. package/dist/errors/enums/cloudFunctions/entities/UpdateEntityProfessionalLiabilityInsuranceErrorCodes.enum.d.ts +11 -0
  75. package/dist/errors/enums/cloudFunctions/entities/UpdateEntityProfessionalLiabilityInsuranceErrorCodes.enum.js +15 -0
  76. package/dist/errors/enums/cloudFunctions/entities/UpdateEntityVehicleErrorCodes.enum.d.ts +17 -0
  77. package/dist/errors/enums/cloudFunctions/entities/UpdateEntityVehicleErrorCodes.enum.js +21 -0
  78. package/dist/errors/enums/cloudFunctions/entities/index.d.ts +12 -0
  79. package/dist/errors/enums/cloudFunctions/entities/index.js +12 -0
  80. package/dist/errors/enums/cloudFunctions/googleGeocode/GoogleReverseGeocodeErrorCodes.enum.d.ts +12 -0
  81. package/dist/errors/enums/cloudFunctions/googleGeocode/GoogleReverseGeocodeErrorCodes.enum.js +16 -0
  82. package/dist/errors/enums/cloudFunctions/googleGeocode/index.d.ts +1 -0
  83. package/dist/errors/enums/cloudFunctions/googleGeocode/index.js +17 -0
  84. package/dist/errors/enums/cloudFunctions/googlePlace/GooglePlaceAutocompleteErrorCodes.enum.d.ts +10 -0
  85. package/dist/errors/enums/cloudFunctions/googlePlace/GooglePlaceAutocompleteErrorCodes.enum.js +14 -0
  86. package/dist/errors/enums/cloudFunctions/googlePlace/GooglePlaceDetailsErrorCodes.enum.d.ts +9 -0
  87. package/dist/errors/enums/cloudFunctions/googlePlace/GooglePlaceDetailsErrorCodes.enum.js +13 -0
  88. package/dist/errors/enums/cloudFunctions/googlePlace/index.d.ts +2 -0
  89. package/dist/errors/enums/cloudFunctions/googlePlace/index.js +18 -0
  90. package/dist/errors/enums/cloudFunctions/index.d.ts +4 -2
  91. package/dist/errors/enums/cloudFunctions/index.js +4 -2
  92. package/dist/errors/enums/cloudFunctions/orders/CancelConfirmedOrInProgressOrderErrorCodes.enum.d.ts +1 -1
  93. package/dist/errors/enums/cloudFunctions/orders/CancelConfirmedOrInProgressOrderErrorCodes.enum.js +1 -1
  94. package/dist/errors/enums/cloudFunctions/orders/ConfirmServiceCompletionByServiceProviderErrorCodes.enum.d.ts +7 -0
  95. package/dist/errors/enums/cloudFunctions/orders/ConfirmServiceCompletionByServiceProviderErrorCodes.enum.js +11 -0
  96. package/dist/errors/enums/cloudFunctions/orders/CustomerSubmitOrderRatingAndReviewErrorCodes.enum.d.ts +1 -1
  97. package/dist/errors/enums/cloudFunctions/orders/CustomerSubmitOrderRatingAndReviewErrorCodes.enum.js +1 -1
  98. package/dist/errors/enums/cloudFunctions/orders/GetOrCreateServiceBookingOrderWithPaymentIntentErrorCodes.enum.d.ts +6 -4
  99. package/dist/errors/enums/cloudFunctions/orders/GetOrCreateServiceBookingOrderWithPaymentIntentErrorCodes.enum.js +6 -4
  100. package/dist/errors/enums/cloudFunctions/orders/ServiceProviderUserDeleteOrderServicePhotosErrorCodes.enum.d.ts +9 -0
  101. package/dist/errors/enums/cloudFunctions/orders/ServiceProviderUserDeleteOrderServicePhotosErrorCodes.enum.js +13 -0
  102. package/dist/errors/enums/cloudFunctions/orders/ServiceProviderUserUploadOrderServicePhotosErrorCodes.enum.d.ts +13 -0
  103. package/dist/errors/enums/cloudFunctions/orders/ServiceProviderUserUploadOrderServicePhotosErrorCodes.enum.js +17 -0
  104. package/dist/errors/enums/cloudFunctions/orders/StartConfirmedOrderByServiceProviderErrorCodes.enum.d.ts +6 -0
  105. package/dist/errors/enums/cloudFunctions/orders/StartConfirmedOrderByServiceProviderErrorCodes.enum.js +10 -0
  106. package/dist/errors/enums/cloudFunctions/orders/index.d.ts +4 -4
  107. package/dist/errors/enums/cloudFunctions/orders/index.js +4 -4
  108. package/dist/errors/enums/cloudFunctions/professionals/index.d.ts +0 -1
  109. package/dist/errors/enums/cloudFunctions/professionals/index.js +0 -1
  110. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/CreateServiceProviderUserPublicDocumentErrorCodes.enum.d.ts +6 -0
  111. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/CreateServiceProviderUserPublicDocumentErrorCodes.enum.js +10 -0
  112. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/CreateServiceProviderUserSlotDocumentErrorCodes.enum.d.ts +4 -0
  113. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/CreateServiceProviderUserSlotDocumentErrorCodes.enum.js +8 -0
  114. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/DeleteServiceProviderUserErrorCodes.enum.d.ts +7 -0
  115. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/DeleteServiceProviderUserErrorCodes.enum.js +11 -0
  116. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/DeleteServiceProviderUserServiceErrorCodes.enum.d.ts +7 -0
  117. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/DeleteServiceProviderUserServiceErrorCodes.enum.js +11 -0
  118. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/DeleteServiceProviderUserSlotDocumentErrorCodes.enum.d.ts +6 -0
  119. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/DeleteServiceProviderUserSlotDocumentErrorCodes.enum.js +10 -0
  120. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/ProcessServiceProviderUserOnboardingBaseCompanyInfosErrorCodes.enum.d.ts +20 -0
  121. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/ProcessServiceProviderUserOnboardingBaseCompanyInfosErrorCodes.enum.js +24 -0
  122. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/UpdateServiceProviderUserServiceErrorCodes.enum.d.ts +7 -0
  123. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/UpdateServiceProviderUserServiceErrorCodes.enum.js +11 -0
  124. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/UpdateServiceProviderUserServicesLocationErrorCodes.enum.d.ts +8 -0
  125. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/UpdateServiceProviderUserServicesLocationErrorCodes.enum.js +12 -0
  126. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/UpdateServiceProviderUserSlotDocumentErrorCodes.enum.d.ts +4 -0
  127. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/UpdateServiceProviderUserSlotDocumentErrorCodes.enum.js +8 -0
  128. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/index.d.ts +8 -0
  129. package/dist/errors/enums/cloudFunctions/serviceProviderUsers/index.js +24 -0
  130. package/dist/errors/enums/cloudFunctions/stripe/CreateStripeEntityAccountLinkErrorCodes.enum.d.ts +11 -0
  131. package/dist/errors/enums/cloudFunctions/stripe/CreateStripeEntityAccountLinkErrorCodes.enum.js +15 -0
  132. package/dist/errors/enums/cloudFunctions/stripe/index.d.ts +1 -0
  133. package/dist/errors/enums/cloudFunctions/stripe/index.js +17 -0
  134. package/dist/errors/enums/cloudFunctions/users/CreateUserDocumentErrorCodes.enum.d.ts +5 -0
  135. package/dist/errors/enums/cloudFunctions/users/CreateUserDocumentErrorCodes.enum.js +9 -0
  136. package/dist/errors/enums/cloudFunctions/users/UpdateUserIdentityErrorCodes.enum.d.ts +6 -1
  137. package/dist/errors/enums/cloudFunctions/users/UpdateUserIdentityErrorCodes.enum.js +5 -0
  138. package/dist/errors/enums/cloudFunctions/users/UpdateUserNotificationPreferencesErrorCodes.enum.d.ts +7 -0
  139. package/dist/errors/enums/cloudFunctions/users/UpdateUserNotificationPreferencesErrorCodes.enum.js +11 -0
  140. package/dist/errors/enums/cloudFunctions/users/UpdateUserProfilePictureErrorCodes.enum.d.ts +5 -0
  141. package/dist/errors/enums/cloudFunctions/users/UpdateUserProfilePictureErrorCodes.enum.js +5 -0
  142. package/dist/errors/enums/cloudFunctions/users/auth/SendUserEmailVerificationErrorCodes.enum.d.ts +1 -0
  143. package/dist/errors/enums/cloudFunctions/users/auth/SendUserEmailVerificationErrorCodes.enum.js +1 -0
  144. package/dist/errors/enums/cloudFunctions/users/index.d.ts +2 -0
  145. package/dist/errors/enums/cloudFunctions/users/index.js +2 -0
  146. package/dist/errors/enums/cloudFunctions/wallets/RequestWalletWithdrawalErrorCodes.enum.d.ts +5 -0
  147. package/dist/errors/enums/cloudFunctions/wallets/RequestWalletWithdrawalErrorCodes.enum.js +5 -0
  148. package/dist/firebase/cloudFunctions/enums/OnCallCloudFunctionsNames.enum.d.ts +26 -20
  149. package/dist/firebase/cloudFunctions/enums/OnCallCloudFunctionsNames.enum.js +27 -22
  150. package/dist/firebase/cloudFunctions/enums/TaskCloudFunctionsNames.enum.d.ts +3 -2
  151. package/dist/firebase/cloudFunctions/enums/TaskCloudFunctionsNames.enum.js +3 -2
  152. package/dist/firebase/cloudFunctions/enums/testUsers/TestUsersEmails.enum.d.ts +3 -2
  153. package/dist/firebase/cloudFunctions/enums/testUsers/TestUsersEmails.enum.js +3 -2
  154. package/dist/firebase/cloudFunctions/enums/testUsers/TestUsersScenarios.enum.d.ts +3 -2
  155. package/dist/firebase/cloudFunctions/enums/testUsers/TestUsersScenarios.enum.js +3 -2
  156. package/dist/firebase/cloudFunctions/maps/OnCallCloudFunctionsTypeMappings.map.d.ts +97 -73
  157. package/dist/firebase/cloudFunctions/maps/testUsers/TestUsersEmailsScenariosMap.js +3 -2
  158. package/dist/firebase/cloudFunctions/types/entities/AcceptEntityMemberInviteRequestData.type.d.ts +4 -0
  159. package/dist/firebase/cloudFunctions/types/entities/AcceptEntityMemberInviteRequestData.type.js +2 -0
  160. package/dist/firebase/cloudFunctions/types/entities/AcceptEntityMemberInviteResponseData.type.d.ts +1 -0
  161. package/dist/firebase/cloudFunctions/types/entities/AcceptEntityMemberInviteResponseData.type.js +2 -0
  162. package/dist/firebase/cloudFunctions/types/entities/CreateEntityMemberInvitePayload.type.d.ts +8 -0
  163. package/dist/firebase/cloudFunctions/types/entities/CreateEntityMemberInvitePayload.type.js +2 -0
  164. package/dist/firebase/cloudFunctions/types/entities/CreateEntityMemberInviteRequestData.type.d.ts +7 -0
  165. package/dist/firebase/cloudFunctions/types/entities/CreateEntityMemberInviteRequestData.type.js +2 -0
  166. package/dist/firebase/cloudFunctions/types/entities/CreateEntityMemberInviteResponseData.type.d.ts +1 -0
  167. package/dist/firebase/cloudFunctions/types/entities/CreateEntityMemberInviteResponseData.type.js +2 -0
  168. package/dist/firebase/cloudFunctions/types/entities/CreateEntityVehiclePayload.type.d.ts +11 -0
  169. package/dist/firebase/cloudFunctions/types/entities/CreateEntityVehiclePayload.type.js +2 -0
  170. package/dist/firebase/cloudFunctions/types/entities/CreateEntityVehicleRequestData.type.d.ts +3 -0
  171. package/dist/firebase/cloudFunctions/types/entities/CreateEntityVehicleRequestData.type.js +2 -0
  172. package/dist/firebase/cloudFunctions/types/entities/CreateEntityVehicleResponseData.type.d.ts +3 -0
  173. package/dist/firebase/cloudFunctions/types/entities/CreateEntityVehicleResponseData.type.js +2 -0
  174. package/dist/firebase/cloudFunctions/types/entities/CreateNewEntityPayload.type.d.ts +4 -0
  175. package/dist/firebase/cloudFunctions/types/entities/DeleteEntityVehiclePayload.type.d.ts +4 -0
  176. package/dist/firebase/cloudFunctions/types/entities/DeleteEntityVehiclePayload.type.js +2 -0
  177. package/dist/firebase/cloudFunctions/types/entities/DeleteEntityVehicleRequestData.type.d.ts +3 -0
  178. package/dist/firebase/cloudFunctions/types/entities/DeleteEntityVehicleRequestData.type.js +2 -0
  179. package/dist/firebase/cloudFunctions/types/entities/DeleteEntityVehicleResponseData.type.d.ts +1 -0
  180. package/dist/firebase/cloudFunctions/types/entities/DeleteEntityVehicleResponseData.type.js +2 -0
  181. package/dist/firebase/cloudFunctions/types/entities/JoinEntityRequestData.type.d.ts +4 -0
  182. package/dist/firebase/cloudFunctions/types/entities/JoinEntityRequestData.type.js +2 -0
  183. package/dist/firebase/cloudFunctions/types/entities/JoinEntityResponseData.type.d.ts +3 -0
  184. package/dist/firebase/cloudFunctions/types/entities/JoinEntityResponseData.type.js +2 -0
  185. package/dist/firebase/cloudFunctions/types/entities/RedeemPromoCodeForEntityRequestData.type.d.ts +5 -0
  186. package/dist/firebase/cloudFunctions/types/entities/RedeemPromoCodeForEntityRequestData.type.js +2 -0
  187. package/dist/firebase/cloudFunctions/types/entities/RedeemPromoCodeForEntityResponseData.type.d.ts +5 -0
  188. package/dist/firebase/cloudFunctions/types/entities/RedeemPromoCodeForEntityResponseData.type.js +2 -0
  189. package/dist/firebase/cloudFunctions/types/entities/RevokeEntityMemberInviteRequestData.type.d.ts +5 -0
  190. package/dist/firebase/cloudFunctions/types/entities/RevokeEntityMemberInviteRequestData.type.js +2 -0
  191. package/dist/firebase/cloudFunctions/types/entities/RevokeEntityMemberInviteResponseData.type.d.ts +1 -0
  192. package/dist/firebase/cloudFunctions/types/entities/RevokeEntityMemberInviteResponseData.type.js +2 -0
  193. package/dist/firebase/cloudFunctions/types/entities/RevokeEntityMemberRequestData.type.d.ts +5 -0
  194. package/dist/firebase/cloudFunctions/types/entities/RevokeEntityMemberRequestData.type.js +2 -0
  195. package/dist/firebase/cloudFunctions/types/entities/RevokeEntityMemberResponseData.type.d.ts +1 -0
  196. package/dist/firebase/cloudFunctions/types/entities/RevokeEntityMemberResponseData.type.js +2 -0
  197. package/dist/firebase/cloudFunctions/types/entities/TransferEntityOwnershipRequestData.type.d.ts +5 -0
  198. package/dist/firebase/cloudFunctions/types/entities/TransferEntityOwnershipRequestData.type.js +2 -0
  199. package/dist/firebase/cloudFunctions/types/entities/TransferEntityOwnershipResponseData.type.d.ts +1 -0
  200. package/dist/firebase/cloudFunctions/types/entities/TransferEntityOwnershipResponseData.type.js +2 -0
  201. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityAgreementsPayload.type.d.ts +18 -0
  202. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityAgreementsPayload.type.js +2 -0
  203. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityAgreementsRequestData.type.d.ts +3 -0
  204. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityAgreementsRequestData.type.js +2 -0
  205. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityAgreementsResponseData.type.d.ts +3 -0
  206. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityAgreementsResponseData.type.js +2 -0
  207. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityMemberPayload.type.d.ts +6 -0
  208. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityMemberPayload.type.js +2 -0
  209. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityMemberRequestData.type.d.ts +3 -0
  210. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityMemberRequestData.type.js +2 -0
  211. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityMemberResponseData.type.d.ts +1 -0
  212. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityMemberResponseData.type.js +2 -0
  213. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityProfessionalLiabilityInsuranceRequestData.type.d.ts +5 -0
  214. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityProfessionalLiabilityInsuranceRequestData.type.js +2 -0
  215. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityProfessionalLiabilityInsuranceResponseData.type.d.ts +1 -0
  216. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityProfessionalLiabilityInsuranceResponseData.type.js +2 -0
  217. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityVehiclePayload.type.d.ts +12 -0
  218. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityVehiclePayload.type.js +2 -0
  219. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityVehicleRequestData.type.d.ts +3 -0
  220. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityVehicleRequestData.type.js +2 -0
  221. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityVehicleResponseData.type.d.ts +3 -0
  222. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityVehicleResponseData.type.js +2 -0
  223. package/dist/firebase/cloudFunctions/types/entities/index.d.ts +29 -0
  224. package/dist/firebase/cloudFunctions/types/entities/index.js +29 -0
  225. package/dist/firebase/cloudFunctions/types/googleGeocode/GoogleReverseGeocodeResponseData.type.d.ts +4 -2
  226. package/dist/firebase/cloudFunctions/types/googlePlace/autocomplete/DoctoCarPlaceAutocompleteSuggestion.type.d.ts +4 -0
  227. package/dist/firebase/cloudFunctions/types/googlePlace/autocomplete/DoctoCarPlaceAutocompleteSuggestion.type.js +2 -0
  228. package/dist/firebase/cloudFunctions/types/googlePlace/autocomplete/GooglePlaceAutocompleteApiResponseData.type.d.ts +10 -0
  229. package/dist/firebase/cloudFunctions/types/googlePlace/autocomplete/GooglePlaceAutocompleteApiResponseData.type.js +2 -0
  230. package/dist/firebase/cloudFunctions/types/googlePlace/autocomplete/GooglePlaceAutocompleteResponseData.type.d.ts +2 -2
  231. package/dist/firebase/cloudFunctions/types/googlePlace/autocomplete/index.d.ts +2 -1
  232. package/dist/firebase/cloudFunctions/types/googlePlace/autocomplete/index.js +2 -1
  233. package/dist/firebase/cloudFunctions/types/googlePlace/details/CloudFunctionGooglePlaceDetailsResponseData.type.d.ts +4 -2
  234. package/dist/firebase/cloudFunctions/types/orders/ConfirmServiceCompletionByServiceProviderRequestData.type.d.ts +4 -0
  235. package/dist/firebase/cloudFunctions/types/orders/ConfirmServiceCompletionByServiceProviderRequestData.type.js +2 -0
  236. package/dist/firebase/cloudFunctions/types/orders/ConfirmServiceCompletionByServiceProviderResponseData.type.d.ts +1 -0
  237. package/dist/firebase/cloudFunctions/types/orders/ConfirmServiceCompletionByServiceProviderResponseData.type.js +2 -0
  238. package/dist/firebase/cloudFunctions/types/orders/GetOrCreateServiceBookingOrderWithPaymentIntentRequestData.type.d.ts +4 -4
  239. package/dist/firebase/cloudFunctions/types/orders/RedeemPromoCodeForEntityRequestData.type.d.ts +5 -0
  240. package/dist/firebase/cloudFunctions/types/orders/RedeemPromoCodeForEntityRequestData.type.js +2 -0
  241. package/dist/firebase/cloudFunctions/types/orders/RedeemPromoCodeForEntityResponseData.type.d.ts +1 -0
  242. package/dist/firebase/cloudFunctions/types/orders/RedeemPromoCodeForEntityResponseData.type.js +2 -0
  243. package/dist/firebase/cloudFunctions/types/orders/RedeemPromoCodeRequestData.type.d.ts +5 -0
  244. package/dist/firebase/cloudFunctions/types/orders/RedeemPromoCodeRequestData.type.js +2 -0
  245. package/dist/firebase/cloudFunctions/types/orders/RedeemPromoCodeResponseData.type.d.ts +9 -0
  246. package/dist/firebase/cloudFunctions/types/orders/RedeemPromoCodeResponseData.type.js +2 -0
  247. package/dist/firebase/cloudFunctions/types/orders/ServiceProviderUserDeleteOrderServicePhotosRequestData.type.d.ts +8 -0
  248. package/dist/firebase/cloudFunctions/types/orders/ServiceProviderUserDeleteOrderServicePhotosRequestData.type.js +2 -0
  249. package/dist/firebase/cloudFunctions/types/orders/ServiceProviderUserDeleteOrderServicePhotosResponseData.type.d.ts +1 -0
  250. package/dist/firebase/cloudFunctions/types/orders/ServiceProviderUserDeleteOrderServicePhotosResponseData.type.js +2 -0
  251. package/dist/firebase/cloudFunctions/types/orders/ServiceProviderUserUploadOrderServicePhotosRequestData.type.d.ts +8 -0
  252. package/dist/firebase/cloudFunctions/types/orders/ServiceProviderUserUploadOrderServicePhotosRequestData.type.js +2 -0
  253. package/dist/firebase/cloudFunctions/types/orders/ServiceProviderUserUploadOrderServicePhotosResponseData.type.d.ts +1 -0
  254. package/dist/firebase/cloudFunctions/types/orders/ServiceProviderUserUploadOrderServicePhotosResponseData.type.js +2 -0
  255. package/dist/firebase/cloudFunctions/types/orders/StartConfirmedOrderByServiceProviderRequestData.type.d.ts +4 -0
  256. package/dist/firebase/cloudFunctions/types/orders/StartConfirmedOrderByServiceProviderRequestData.type.js +2 -0
  257. package/dist/firebase/cloudFunctions/types/orders/StartConfirmedOrderByServiceProviderResponseData.type.d.ts +1 -0
  258. package/dist/firebase/cloudFunctions/types/orders/StartConfirmedOrderByServiceProviderResponseData.type.js +2 -0
  259. package/dist/firebase/cloudFunctions/types/orders/index.d.ts +8 -10
  260. package/dist/firebase/cloudFunctions/types/orders/index.js +8 -10
  261. package/dist/firebase/cloudFunctions/types/stripe/CreateStripeEntityAccountLinkRequestData.type.d.ts +6 -0
  262. package/dist/firebase/cloudFunctions/types/stripe/CreateStripeEntityAccountLinkRequestData.type.js +2 -0
  263. package/dist/firebase/cloudFunctions/types/stripe/CreateStripeEntityAccountLinkResponseData.type.d.ts +8 -0
  264. package/dist/firebase/cloudFunctions/types/stripe/CreateStripeEntityAccountLinkResponseData.type.js +2 -0
  265. package/dist/firebase/cloudFunctions/types/stripe/index.d.ts +2 -2
  266. package/dist/firebase/cloudFunctions/types/stripe/index.js +2 -2
  267. package/dist/firebase/cloudFunctions/types/users/CreateUserDocumentRequestData.type.d.ts +4 -1
  268. package/dist/firebase/cloudFunctions/types/users/UpdateUserIdentityRequestData.type.d.ts +2 -0
  269. package/dist/firebase/cloudFunctions/types/users/UpdateUserNotificationPreferencesRequestData.type.d.ts +6 -0
  270. package/dist/firebase/cloudFunctions/types/users/UpdateUserNotificationPreferencesRequestData.type.js +2 -0
  271. package/dist/firebase/cloudFunctions/types/users/UpdateUserNotificationPreferencesResponseData.type.d.ts +1 -0
  272. package/dist/firebase/cloudFunctions/types/users/UpdateUserNotificationPreferencesResponseData.type.js +2 -0
  273. package/dist/firebase/cloudFunctions/types/users/customers/ProcessCustomerUserOnboardingRequestData.type.d.ts +15 -0
  274. package/dist/firebase/cloudFunctions/types/users/customers/ProcessCustomerUserOnboardingRequestData.type.js +2 -0
  275. package/dist/firebase/cloudFunctions/types/users/customers/ProcessCustomerUserOnboardingResponseData.type.d.ts +1 -0
  276. package/dist/firebase/cloudFunctions/types/users/customers/ProcessCustomerUserOnboardingResponseData.type.js +2 -0
  277. package/dist/firebase/cloudFunctions/types/users/customers/processCustomerUserOnboarding/ProcessCustomerUserOnboardingPayload.type.d.ts +14 -0
  278. package/dist/firebase/cloudFunctions/types/users/customers/processCustomerUserOnboarding/ProcessCustomerUserOnboardingPayload.type.js +2 -0
  279. package/dist/firebase/cloudFunctions/types/users/customers/processCustomerUserOnboarding/ProcessCustomerUserOnboardingRequestData.type.d.ts +3 -0
  280. package/dist/firebase/cloudFunctions/types/users/customers/processCustomerUserOnboarding/ProcessCustomerUserOnboardingRequestData.type.js +2 -0
  281. package/dist/firebase/cloudFunctions/types/users/customers/processCustomerUserOnboarding/ProcessCustomerUserOnboardingResponseData.type.d.ts +1 -0
  282. package/dist/firebase/cloudFunctions/types/users/customers/processCustomerUserOnboarding/ProcessCustomerUserOnboardingResponseData.type.js +2 -0
  283. package/dist/firebase/cloudFunctions/types/users/customers/processCustomerUserOnboarding/index.d.ts +3 -0
  284. package/dist/firebase/cloudFunctions/types/users/customers/processCustomerUserOnboarding/index.js +19 -0
  285. package/dist/firebase/cloudFunctions/types/users/fcm/ClearUserFcmBadgeRequestData.type.d.ts +3 -0
  286. package/dist/firebase/cloudFunctions/types/users/fcm/ClearUserFcmBadgeRequestData.type.js +2 -0
  287. package/dist/firebase/cloudFunctions/types/users/fcm/ClearUserFcmBadgeResponseData.type.d.ts +1 -0
  288. package/dist/firebase/cloudFunctions/types/users/fcm/ClearUserFcmBadgeResponseData.type.js +2 -0
  289. package/dist/firebase/cloudFunctions/types/users/fcm/index.d.ts +2 -0
  290. package/dist/firebase/cloudFunctions/types/users/fcm/index.js +2 -0
  291. package/dist/firebase/cloudFunctions/types/users/index.d.ts +3 -4
  292. package/dist/firebase/cloudFunctions/types/users/index.js +3 -4
  293. package/dist/firebase/cloudFunctions/types/users/professionals/index.d.ts +0 -6
  294. package/dist/firebase/cloudFunctions/types/users/professionals/index.js +0 -6
  295. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/CreateServiceProviderUserPublicDocumentRequestData.type.d.ts +2 -0
  296. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/CreateServiceProviderUserPublicDocumentRequestData.type.js +2 -0
  297. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/CreateServiceProviderUserPublicDocumentResponseData.type.d.ts +1 -0
  298. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/CreateServiceProviderUserPublicDocumentResponseData.type.js +2 -0
  299. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/DeleteServiceProviderUserServiceRequestData.type.d.ts +5 -0
  300. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/DeleteServiceProviderUserServiceRequestData.type.js +2 -0
  301. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/DeleteServiceProviderUserServiceResponseData.type.d.ts +1 -0
  302. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/DeleteServiceProviderUserServiceResponseData.type.js +2 -0
  303. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/DeleteServiceProviderUserSlotDocumentRequestData.type.d.ts +4 -0
  304. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/DeleteServiceProviderUserSlotDocumentRequestData.type.js +2 -0
  305. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/DeleteServiceProviderUserSlotDocumentResponseData.type.d.ts +1 -0
  306. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/DeleteServiceProviderUserSlotDocumentResponseData.type.js +2 -0
  307. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/UpdateServiceProviderUserServiceRequestData.type.d.ts +5 -0
  308. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/UpdateServiceProviderUserServiceRequestData.type.js +2 -0
  309. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/UpdateServiceProviderUserServiceResponseData.type.d.ts +1 -0
  310. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/UpdateServiceProviderUserServiceResponseData.type.js +2 -0
  311. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/UpdateServiceProviderUserServicesLocationRequestData.type.d.ts +5 -0
  312. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/UpdateServiceProviderUserServicesLocationRequestData.type.js +2 -0
  313. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/UpdateServiceProviderUserServicesLocationResponseData.type.d.ts +1 -0
  314. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/UpdateServiceProviderUserServicesLocationResponseData.type.js +2 -0
  315. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/index.d.ts +11 -0
  316. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/index.js +27 -0
  317. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/CreateServiceProviderUserSlotDocumentRequestData.type.d.ts +5 -0
  318. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/CreateServiceProviderUserSlotDocumentRequestData.type.js +2 -0
  319. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/CreateServiceProviderUserSlotDocumentResponseData.type.d.ts +3 -0
  320. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/CreateServiceProviderUserSlotDocumentResponseData.type.js +2 -0
  321. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/RequestOneTimeSlot.type.d.ts +8 -0
  322. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/RequestOneTimeSlot.type.js +2 -0
  323. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/RequestRecurringSlot.type.d.ts +6 -0
  324. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/RequestRecurringSlot.type.js +2 -0
  325. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/RequestSlotDocument.type.d.ts +4 -0
  326. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/RequestSlotDocument.type.js +2 -0
  327. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/RequestTimeOffSlot.type.d.ts +8 -0
  328. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/RequestTimeOffSlot.type.js +2 -0
  329. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/UpdateServiceProviderUserSlotDocumentRequestData.type.d.ts +6 -0
  330. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/UpdateServiceProviderUserSlotDocumentRequestData.type.js +2 -0
  331. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/UpdateServiceProviderUserSlotDocumentResponseData.type.d.ts +1 -0
  332. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/UpdateServiceProviderUserSlotDocumentResponseData.type.js +2 -0
  333. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/index.d.ts +8 -0
  334. package/dist/firebase/cloudFunctions/types/users/serviceProviderUsers/slots/index.js +24 -0
  335. package/dist/firebase/cloudFunctions/types/wallet/ApplyTestWalletLedgerEntryRequestData.type.d.ts +1 -0
  336. package/dist/firebase/cloudFunctions/types/wallet/RequestWalletWithdrawalRequestData.type.d.ts +1 -0
  337. package/dist/firebase/constants/entities/index.d.ts +1 -0
  338. package/dist/firebase/constants/entities/index.js +17 -0
  339. package/dist/firebase/constants/entities/testEntityIdPrefix.constant.d.ts +1 -0
  340. package/dist/firebase/constants/entities/testEntityIdPrefix.constant.js +4 -0
  341. package/dist/firebase/constants/index.d.ts +1 -0
  342. package/dist/firebase/constants/index.js +1 -0
  343. package/dist/firebase/firestore/constants/credits/firestoreCreditsSchemaVersion.enum.d.ts +1 -0
  344. package/dist/firebase/firestore/constants/credits/firestoreCreditsSchemaVersion.enum.js +4 -0
  345. package/dist/firebase/firestore/constants/credits/index.d.ts +1 -0
  346. package/dist/firebase/firestore/constants/credits/index.js +17 -0
  347. package/dist/firebase/firestore/constants/creditsLedgerEntry/firestoreCreditsLedgerEntrySchemaVersion.enum.d.ts +1 -0
  348. package/dist/firebase/firestore/constants/creditsLedgerEntry/firestoreCreditsLedgerEntrySchemaVersion.enum.js +4 -0
  349. package/dist/firebase/firestore/constants/creditsLedgerEntry/index.d.ts +1 -0
  350. package/dist/firebase/firestore/constants/creditsLedgerEntry/index.js +17 -0
  351. package/dist/firebase/firestore/constants/index.d.ts +9 -6
  352. package/dist/firebase/firestore/constants/index.js +9 -6
  353. package/dist/firebase/firestore/constants/maximumEntityMembers.constant.d.ts +1 -0
  354. package/dist/firebase/firestore/constants/maximumEntityMembers.constant.js +4 -0
  355. package/dist/firebase/firestore/constants/maximumEntityVehicles.constant.d.ts +1 -0
  356. package/dist/firebase/firestore/constants/maximumEntityVehicles.constant.js +4 -0
  357. package/dist/firebase/firestore/constants/orders/index.d.ts +2 -0
  358. package/dist/firebase/firestore/constants/orders/index.js +18 -0
  359. package/dist/firebase/firestore/constants/orders/orderIdPrefix.constant.d.ts +1 -0
  360. package/dist/firebase/firestore/constants/orders/orderIdPrefix.constant.js +4 -0
  361. package/dist/firebase/firestore/constants/orders/productionOrderIdPrefix.constant.d.ts +1 -0
  362. package/dist/firebase/firestore/constants/orders/productionOrderIdPrefix.constant.js +4 -0
  363. package/dist/firebase/firestore/constants/orders/sandboxOrderIdPrefix.constant.d.ts +1 -0
  364. package/dist/firebase/firestore/constants/orders/sandboxOrderIdPrefix.constant.js +4 -0
  365. package/dist/firebase/firestore/constants/platformBalances/firestorePlatformBalancesSchemaVersion.enum.d.ts +1 -0
  366. package/dist/firebase/firestore/constants/platformBalances/firestorePlatformBalancesSchemaVersion.enum.js +4 -0
  367. package/dist/firebase/firestore/constants/platformBalances/index.d.ts +1 -0
  368. package/dist/firebase/firestore/constants/platformBalances/index.js +17 -0
  369. package/dist/firebase/firestore/constants/platformBalancesLedgerEntry/firestorePlatformBalancesLedgerEntrySchemaVersion.enum.d.ts +1 -0
  370. package/dist/firebase/firestore/constants/platformBalancesLedgerEntry/firestorePlatformBalancesLedgerEntrySchemaVersion.enum.js +4 -0
  371. package/dist/firebase/firestore/constants/platformBalancesLedgerEntry/index.d.ts +1 -0
  372. package/dist/firebase/firestore/constants/platformBalancesLedgerEntry/index.js +17 -0
  373. package/dist/firebase/firestore/constants/providerLocationServiceMaxRadiusInKM.constant.d.ts +1 -0
  374. package/dist/firebase/firestore/constants/providerLocationServiceMaxRadiusInKM.constant.js +4 -0
  375. package/dist/firebase/firestore/constants/providerLocationServiceMinRadiusInKM.constant.d.ts +1 -0
  376. package/dist/firebase/firestore/constants/providerLocationServiceMinRadiusInKM.constant.js +4 -0
  377. package/dist/firebase/firestore/constants/providerServiceMinimumDurationIncrementInMinutes.constant.d.ts +1 -0
  378. package/dist/firebase/firestore/constants/providerServiceMinimumDurationIncrementInMinutes.constant.js +4 -0
  379. package/dist/firebase/firestore/constants/providerServiceMinimumPriceIncrementInCents.constant.d.ts +1 -0
  380. package/dist/firebase/firestore/constants/providerServiceMinimumPriceIncrementInCents.constant.js +4 -0
  381. package/dist/firebase/firestore/constants/sandboxDocumentIdPrefix.constant.d.ts +1 -0
  382. package/dist/firebase/firestore/constants/sandboxDocumentIdPrefix.constant.js +4 -0
  383. package/dist/firebase/firestore/enums/FirestoreCollections.enum.d.ts +30 -23
  384. package/dist/firebase/firestore/enums/FirestoreCollections.enum.js +30 -23
  385. package/dist/firebase/firestore/enums/creditsLedgerEntry/CreditsLedgerEntryContextReferenceType.enum.d.ts +6 -0
  386. package/dist/firebase/firestore/enums/creditsLedgerEntry/CreditsLedgerEntryContextReferenceType.enum.js +10 -0
  387. package/dist/firebase/firestore/enums/creditsLedgerEntry/CreditsLedgerEntryReason.enum.d.ts +10 -0
  388. package/dist/firebase/firestore/enums/creditsLedgerEntry/CreditsLedgerEntryReason.enum.js +14 -0
  389. package/dist/firebase/firestore/enums/creditsLedgerEntry/CreditsLedgerEntryType.enum.d.ts +4 -0
  390. package/dist/firebase/firestore/enums/creditsLedgerEntry/CreditsLedgerEntryType.enum.js +8 -0
  391. package/dist/firebase/firestore/enums/creditsLedgerEntry/index.d.ts +3 -0
  392. package/dist/firebase/firestore/enums/creditsLedgerEntry/index.js +19 -0
  393. package/dist/firebase/firestore/enums/customers/CustomerUserNonComplianceReason.enum.d.ts +5 -0
  394. package/dist/firebase/firestore/enums/customers/CustomerUserNonComplianceReason.enum.js +9 -0
  395. package/dist/firebase/firestore/enums/customers/index.d.ts +1 -0
  396. package/dist/firebase/firestore/enums/customers/index.js +17 -0
  397. package/dist/firebase/firestore/enums/entities/EntityComplianceStatus.enum.d.ts +4 -0
  398. package/dist/firebase/firestore/enums/entities/EntityComplianceStatus.enum.js +8 -0
  399. package/dist/firebase/firestore/enums/entities/EntityCustomerNonComplianceReason.enum.d.ts +4 -0
  400. package/dist/firebase/firestore/enums/entities/EntityCustomerNonComplianceReason.enum.js +8 -0
  401. package/dist/firebase/firestore/enums/entities/EntityServiceProviderComplianceStatus.enum.d.ts +2 -3
  402. package/dist/firebase/firestore/enums/entities/EntityServiceProviderComplianceStatus.enum.js +2 -3
  403. package/dist/firebase/firestore/enums/entities/EntityServiceProviderNonBookableReason.enum.d.ts +6 -1
  404. package/dist/firebase/firestore/enums/entities/EntityServiceProviderNonBookableReason.enum.js +6 -1
  405. package/dist/firebase/firestore/enums/entities/EntityServiceProviderNonComplianceReason.enum.d.ts +17 -0
  406. package/dist/firebase/firestore/enums/entities/EntityServiceProviderNonComplianceReason.enum.js +21 -0
  407. package/dist/firebase/firestore/enums/entities/index.d.ts +3 -2
  408. package/dist/firebase/firestore/enums/entities/index.js +3 -2
  409. package/dist/firebase/firestore/enums/entityMembers/EntityMemberInviteStatus.enum.d.ts +6 -0
  410. package/dist/firebase/firestore/enums/entityMembers/EntityMemberInviteStatus.enum.js +10 -0
  411. package/dist/firebase/firestore/enums/entityMembers/EntityMemberStatus.enum.d.ts +1 -2
  412. package/dist/firebase/firestore/enums/entityMembers/EntityMemberStatus.enum.js +1 -2
  413. package/dist/firebase/firestore/enums/entityMembers/index.d.ts +1 -0
  414. package/dist/firebase/firestore/enums/entityMembers/index.js +1 -0
  415. package/dist/firebase/firestore/enums/index.d.ts +6 -2
  416. package/dist/firebase/firestore/enums/index.js +6 -2
  417. package/dist/firebase/firestore/enums/legal/TermsAndPolicyStatus.enum.d.ts +5 -0
  418. package/dist/firebase/firestore/enums/legal/TermsAndPolicyStatus.enum.js +9 -0
  419. package/dist/firebase/firestore/enums/legal/index.d.ts +1 -0
  420. package/dist/firebase/firestore/enums/legal/index.js +17 -0
  421. package/dist/firebase/firestore/enums/notificationEvent/NotificationEventChannelDeliveryRecordStatus.enum.d.ts +5 -0
  422. package/dist/firebase/firestore/enums/notificationEvent/NotificationEventChannelDeliveryRecordStatus.enum.js +9 -0
  423. package/dist/firebase/firestore/enums/notificationEvent/NotificationEventDeliveryStateStatus.enum.d.ts +5 -0
  424. package/dist/firebase/firestore/enums/notificationEvent/NotificationEventDeliveryStateStatus.enum.js +9 -0
  425. package/dist/firebase/firestore/enums/notificationEvent/index.d.ts +1 -0
  426. package/dist/firebase/firestore/enums/notificationEvent/index.js +17 -0
  427. package/dist/firebase/firestore/enums/orders/OrderActorRole.enum.d.ts +1 -1
  428. package/dist/firebase/firestore/enums/orders/OrderActorRole.enum.js +1 -1
  429. package/dist/firebase/firestore/enums/orders/OrderCancellationByTypes.enum.d.ts +1 -1
  430. package/dist/firebase/firestore/enums/orders/OrderCancellationByTypes.enum.js +1 -1
  431. package/dist/firebase/firestore/enums/orders/OrderPaymentRefundReasonTypes.enum.d.ts +6 -0
  432. package/dist/firebase/firestore/enums/orders/OrderPaymentRefundReasonTypes.enum.js +10 -0
  433. package/dist/firebase/firestore/enums/orders/OrderPaymentRefundSourceTypes.enum.d.ts +4 -0
  434. package/dist/firebase/firestore/enums/orders/OrderPaymentRefundSourceTypes.enum.js +8 -0
  435. package/dist/firebase/firestore/enums/orders/OrderPaymentRefundStatusTypes.enum.d.ts +7 -0
  436. package/dist/firebase/firestore/enums/orders/OrderPaymentRefundStatusTypes.enum.js +11 -0
  437. package/dist/firebase/firestore/enums/orders/OrderServiceDetailsPhotoContext.enum.d.ts +4 -0
  438. package/dist/firebase/firestore/enums/orders/OrderServiceDetailsPhotoContext.enum.js +8 -0
  439. package/dist/firebase/firestore/enums/orders/OrderServiceDetailsPhotoMoment.enum.d.ts +4 -0
  440. package/dist/firebase/firestore/enums/orders/OrderServiceDetailsPhotoMoment.enum.js +8 -0
  441. package/dist/firebase/firestore/enums/orders/OrderServiceProviderCancellationReason.enum.d.ts +9 -0
  442. package/dist/firebase/firestore/enums/orders/OrderServiceProviderCancellationReason.enum.js +13 -0
  443. package/dist/firebase/firestore/enums/orders/OrderUpdatedByType.enum.d.ts +4 -0
  444. package/dist/firebase/firestore/enums/orders/OrderUpdatedByType.enum.js +8 -0
  445. package/dist/firebase/firestore/enums/orders/dispute/OrderDisputeOpenedBy.enum.d.ts +1 -1
  446. package/dist/firebase/firestore/enums/orders/dispute/OrderDisputeOpenedBy.enum.js +1 -1
  447. package/dist/firebase/firestore/enums/orders/index.d.ts +4 -2
  448. package/dist/firebase/firestore/enums/orders/index.js +4 -2
  449. package/dist/firebase/firestore/enums/orders/snapshots/VehicleSnapshotForOrderOwnerType.enum.d.ts +4 -0
  450. package/dist/firebase/firestore/enums/orders/snapshots/VehicleSnapshotForOrderOwnerType.enum.js +8 -0
  451. package/dist/firebase/firestore/enums/orders/snapshots/index.d.ts +1 -0
  452. package/dist/firebase/firestore/enums/orders/snapshots/index.js +17 -0
  453. package/dist/firebase/firestore/enums/ordersIssues/CustomerOrderIssueReason.enum.d.ts +2 -2
  454. package/dist/firebase/firestore/enums/ordersIssues/CustomerOrderIssueReason.enum.js +2 -2
  455. package/dist/firebase/firestore/enums/ordersIssues/ServiceProviderOrderIssueReason.enum.d.ts +10 -0
  456. package/dist/firebase/firestore/enums/ordersIssues/ServiceProviderOrderIssueReason.enum.js +14 -0
  457. package/dist/firebase/firestore/enums/ordersIssues/index.d.ts +1 -1
  458. package/dist/firebase/firestore/enums/ordersIssues/index.js +1 -1
  459. package/dist/firebase/firestore/enums/ordersRefundIntents/OrderRefundIntentReasonTypes.enum.d.ts +6 -0
  460. package/dist/firebase/firestore/enums/ordersRefundIntents/OrderRefundIntentReasonTypes.enum.js +10 -0
  461. package/dist/firebase/firestore/enums/ordersRefundIntents/OrderRefundIntentStatusTypes.enum.d.ts +7 -0
  462. package/dist/firebase/firestore/enums/ordersRefundIntents/OrderRefundIntentStatusTypes.enum.js +11 -0
  463. package/dist/firebase/firestore/enums/ordersRefundIntents/OrderRefundIntentStepStatusTypes.enum.d.ts +7 -0
  464. package/dist/firebase/firestore/enums/ordersRefundIntents/OrderRefundIntentStepStatusTypes.enum.js +11 -0
  465. package/dist/firebase/firestore/enums/ordersRefundIntents/index.d.ts +3 -0
  466. package/dist/firebase/firestore/enums/ordersRefundIntents/index.js +19 -0
  467. package/dist/firebase/firestore/enums/platformBalancesLedgerEntry/PlatformBalancesLedgerEntryContextReferenceType.enum.d.ts +6 -0
  468. package/dist/firebase/firestore/enums/platformBalancesLedgerEntry/PlatformBalancesLedgerEntryContextReferenceType.enum.js +10 -0
  469. package/dist/firebase/firestore/enums/platformBalancesLedgerEntry/PlatformBalancesLedgerEntryReason.enum.d.ts +10 -0
  470. package/dist/firebase/firestore/enums/platformBalancesLedgerEntry/PlatformBalancesLedgerEntryReason.enum.js +14 -0
  471. package/dist/firebase/firestore/enums/platformBalancesLedgerEntry/PlatformBalancesLedgerEntryType.enum.d.ts +4 -0
  472. package/dist/firebase/firestore/enums/platformBalancesLedgerEntry/PlatformBalancesLedgerEntryType.enum.js +8 -0
  473. package/dist/firebase/firestore/enums/platformBalancesLedgerEntry/index.d.ts +3 -0
  474. package/dist/firebase/firestore/enums/platformBalancesLedgerEntry/index.js +19 -0
  475. package/dist/firebase/firestore/enums/promoCode/PromoCodeDiscountType.enum.d.ts +0 -1
  476. package/dist/firebase/firestore/enums/promoCode/PromoCodeDiscountType.enum.js +1 -1
  477. package/dist/firebase/firestore/enums/serviceProviderUsers/ServiceProviderUserComplianceStatus.enum.d.ts +4 -0
  478. package/dist/firebase/firestore/enums/serviceProviderUsers/ServiceProviderUserComplianceStatus.enum.js +8 -0
  479. package/dist/firebase/firestore/enums/serviceProviderUsers/ServiceProviderUserNonBookableReason.enum.d.ts +6 -0
  480. package/dist/firebase/firestore/enums/serviceProviderUsers/ServiceProviderUserNonBookableReason.enum.js +10 -0
  481. package/dist/firebase/firestore/enums/serviceProviderUsers/ServiceProviderUserNonComplianceReason.enum.d.ts +6 -0
  482. package/dist/firebase/firestore/enums/serviceProviderUsers/ServiceProviderUserNonComplianceReason.enum.js +10 -0
  483. package/dist/firebase/firestore/enums/serviceProviderUsers/index.d.ts +1 -0
  484. package/dist/firebase/firestore/enums/serviceProviderUsers/index.js +17 -0
  485. package/dist/firebase/firestore/enums/services/ServicesCategoryTypes.enum.d.ts +3 -0
  486. package/dist/firebase/firestore/enums/services/ServicesCategoryTypes.enum.js +7 -0
  487. package/dist/firebase/firestore/enums/services/ServicesTypes.enum.d.ts +10 -0
  488. package/dist/firebase/firestore/enums/services/ServicesTypes.enum.js +16 -0
  489. package/dist/firebase/firestore/enums/services/index.d.ts +2 -2
  490. package/dist/firebase/firestore/enums/services/index.js +2 -2
  491. package/dist/firebase/firestore/enums/users/UserComplianceStatus.enum.d.ts +4 -0
  492. package/dist/firebase/firestore/enums/users/UserComplianceStatus.enum.js +8 -0
  493. package/dist/firebase/firestore/enums/users/index.d.ts +1 -1
  494. package/dist/firebase/firestore/enums/users/index.js +1 -1
  495. package/dist/firebase/firestore/enums/users/professionals/ProfessionalBadgesTypes.enum.d.ts +1 -1
  496. package/dist/firebase/firestore/enums/users/professionals/ProfessionalBadgesTypes.enum.js +1 -1
  497. package/dist/firebase/firestore/enums/users/professionals/ServiceProviderBadgesTypes.enum.d.ts +3 -0
  498. package/dist/firebase/firestore/enums/users/professionals/ServiceProviderBadgesTypes.enum.js +7 -0
  499. package/dist/firebase/firestore/enums/users/professionals/index.d.ts +1 -3
  500. package/dist/firebase/firestore/enums/users/professionals/index.js +1 -3
  501. package/dist/firebase/firestore/maps/FirestoreCollectionDocumentTypeMap.d.ts +11 -4
  502. package/dist/firebase/firestore/maps/FirestoreCollectionDocumentTypeMap.js +0 -4
  503. package/dist/firebase/firestore/types/agreements/FirestoreUserAgreements.type.d.ts +1 -3
  504. package/dist/firebase/firestore/types/bookedSlot/FirestoreBookedSlotDocument.type.d.ts +2 -2
  505. package/dist/firebase/firestore/types/company/index.d.ts +0 -5
  506. package/dist/firebase/firestore/types/company/index.js +0 -5
  507. package/dist/firebase/firestore/types/configs/CountryServicesPublicConfig.type.d.ts +2 -2
  508. package/dist/firebase/firestore/types/configs/FirestoreNotificationEventsPublicConfigDocument.type.d.ts +2 -1
  509. package/dist/firebase/firestore/types/configs/FirestoreOrdersPublicConfigDocument.type.d.ts +3 -3
  510. package/dist/firebase/firestore/types/configs/FirestorePlatformPublicConfigDocument.type.d.ts +5 -17
  511. package/dist/firebase/firestore/types/configs/FirestoreServicesPublicConfig.type.d.ts +4 -5
  512. package/dist/firebase/firestore/types/configs/ServicesPublicConfigByVehicleType.type.d.ts +2 -6
  513. package/dist/firebase/firestore/types/configs/ServicesPublicConfigPhotosRequirements.type.d.ts +2 -2
  514. package/dist/firebase/firestore/types/configs/ServicesPublicConfigVehiclePricingAndDuration.type.d.ts +6 -0
  515. package/dist/firebase/firestore/types/configs/ServicesPublicConfigVehiclePricingAndDuration.type.js +2 -0
  516. package/dist/firebase/firestore/types/configs/index.d.ts +1 -0
  517. package/dist/firebase/firestore/types/configs/index.js +1 -0
  518. package/dist/firebase/firestore/types/credits/CheckoutCreditsSummary.type.d.ts +6 -0
  519. package/dist/firebase/firestore/types/credits/CheckoutCreditsSummary.type.js +2 -0
  520. package/dist/firebase/firestore/types/credits/FirestoreCreditsDocument.type.d.ts +17 -0
  521. package/dist/firebase/firestore/types/credits/FirestoreCreditsDocument.type.js +2 -0
  522. package/dist/firebase/firestore/types/credits/index.d.ts +1 -0
  523. package/dist/firebase/firestore/types/credits/index.js +17 -0
  524. package/dist/firebase/firestore/types/creditsLedgerEntryDocument/FirestoreCreditsLedgerEntryDocument.type.d.ts +21 -0
  525. package/dist/firebase/firestore/types/creditsLedgerEntryDocument/FirestoreCreditsLedgerEntryDocument.type.js +2 -0
  526. package/dist/firebase/firestore/types/creditsLedgerEntryDocument/index.d.ts +1 -0
  527. package/dist/firebase/firestore/types/creditsLedgerEntryDocument/index.js +17 -0
  528. package/dist/firebase/firestore/types/entities/EntityAgreements.type.d.ts +10 -0
  529. package/dist/firebase/firestore/types/entities/EntityAgreements.type.js +2 -0
  530. package/dist/firebase/firestore/types/entities/EntityRegistration.enum.d.ts +6 -0
  531. package/dist/firebase/firestore/types/entities/EntityRegistration.enum.js +2 -0
  532. package/dist/firebase/firestore/types/entities/EntityVatDetails.type.d.ts +1 -1
  533. package/dist/firebase/firestore/types/entities/FirestoreEntityDocument.type.d.ts +29 -34
  534. package/dist/firebase/firestore/types/entities/FirestoreEntityMetrics.type.d.ts +10 -0
  535. package/dist/firebase/firestore/types/entities/FirestoreEntityMetrics.type.js +2 -0
  536. package/dist/firebase/firestore/types/entities/index.d.ts +2 -0
  537. package/dist/firebase/firestore/types/entities/index.js +2 -0
  538. package/dist/firebase/firestore/types/entityMemberInvites/EntityMemberInviteRole.type.d.ts +2 -0
  539. package/dist/firebase/firestore/types/entityMemberInvites/EntityMemberInviteRole.type.js +2 -0
  540. package/dist/firebase/firestore/types/entityMemberInvites/FirestoreEntityMemberInviteDocument.type.d.ts +22 -0
  541. package/dist/firebase/firestore/types/entityMemberInvites/FirestoreEntityMemberInviteDocument.type.js +2 -0
  542. package/dist/firebase/firestore/types/entityMemberInvites/index.d.ts +2 -0
  543. package/dist/firebase/firestore/types/entityMemberInvites/index.js +18 -0
  544. package/dist/firebase/firestore/types/entityMembers/FirestoreEntityMemberDocument.type.d.ts +16 -0
  545. package/dist/firebase/firestore/types/index.d.ts +6 -2
  546. package/dist/firebase/firestore/types/index.js +6 -2
  547. package/dist/firebase/firestore/types/legal/TermsAndPolicy.type.d.ts +2 -0
  548. package/dist/firebase/firestore/types/location/DoctoCarLocation.type.d.ts +7 -0
  549. package/dist/firebase/firestore/types/marketplaceFinancialReports/FirestoreMarketplaceFinancialReportsDocument.type.d.ts +3 -3
  550. package/dist/firebase/firestore/types/notificationEvent/FirestoreNotificationEventChannelDeliveryRecordDocument.type.d.ts +10 -0
  551. package/dist/firebase/firestore/types/notificationEvent/FirestoreNotificationEventChannelDeliveryRecordDocument.type.js +2 -0
  552. package/dist/firebase/firestore/types/notificationEvent/FirestoreNotificationEventDeliveryStateDocument.type.d.ts +2 -1
  553. package/dist/firebase/firestore/types/notificationEvent/index.d.ts +1 -1
  554. package/dist/firebase/firestore/types/notificationEvent/index.js +1 -1
  555. package/dist/firebase/firestore/types/order/FirestoreBookedSlotCancellationDetails.type.d.ts +6 -0
  556. package/dist/firebase/firestore/types/order/FirestoreBookedSlotCancellationDetails.type.js +2 -0
  557. package/dist/firebase/firestore/types/order/FirestoreOrderCancellationReason.type.d.ts +2 -2
  558. package/dist/firebase/firestore/types/order/FirestoreOrderDocument.type.d.ts +47 -108
  559. package/dist/firebase/firestore/types/order/FirestoreOrderPaymentBreakdown.type.d.ts +42 -0
  560. package/dist/firebase/firestore/types/order/FirestoreOrderPaymentBreakdown.type.js +2 -0
  561. package/dist/firebase/firestore/types/order/FirestoreOrderPricingDetails.type.d.ts +48 -0
  562. package/dist/firebase/firestore/types/order/FirestoreOrderPricingDetails.type.js +2 -0
  563. package/dist/firebase/firestore/types/order/FirestoreOrderProfessionalServiceDetails.type.d.ts +2 -2
  564. package/dist/firebase/firestore/types/order/FirestoreOrderServiceDetails.type.d.ts +10 -0
  565. package/dist/firebase/firestore/types/order/FirestoreOrderServiceDetails.type.js +2 -0
  566. package/dist/firebase/firestore/types/order/OrderExternalPaymentRefund.type.d.ts +13 -0
  567. package/dist/firebase/firestore/types/order/OrderExternalPaymentRefund.type.js +2 -0
  568. package/dist/firebase/firestore/types/order/OrderOperationalBooleanOps.type.d.ts +3 -3
  569. package/dist/firebase/firestore/types/order/OrderPaymentBreakdownRefund.type.d.ts +24 -0
  570. package/dist/firebase/firestore/types/order/OrderPaymentBreakdownRefund.type.js +2 -0
  571. package/dist/firebase/firestore/types/order/OrderPaymentRefund.type.d.ts +12 -0
  572. package/dist/firebase/firestore/types/order/OrderPaymentRefund.type.js +2 -0
  573. package/dist/firebase/firestore/types/order/OrderPlatformBalancePaymentRefund.type.d.ts +8 -0
  574. package/dist/firebase/firestore/types/order/OrderPlatformBalancePaymentRefund.type.js +2 -0
  575. package/dist/firebase/firestore/types/order/OrderUpdatedBy.type.d.ts +8 -0
  576. package/dist/firebase/firestore/types/order/OrderUpdatedBy.type.js +2 -0
  577. package/dist/firebase/firestore/types/order/index.d.ts +6 -1
  578. package/dist/firebase/firestore/types/order/index.js +6 -1
  579. package/dist/firebase/firestore/types/order/publicAssets/FirestoreOrderClientPublicAssetsUrls.type.d.ts +2 -2
  580. package/dist/firebase/firestore/types/order/publicAssets/FirestoreOrderClientPublicImagesUrlsServiceDetailPhotos.type.d.ts +3 -0
  581. package/dist/firebase/firestore/types/order/publicAssets/FirestoreOrderClientPublicImagesUrlsServiceDetailPhotos.type.js +2 -0
  582. package/dist/firebase/firestore/types/order/publicAssets/FirestoreOrderClientServicesDetailsPublicImagesUrls.type.d.ts +5 -0
  583. package/dist/firebase/firestore/types/order/publicAssets/FirestoreOrderClientServicesDetailsPublicImagesUrls.type.js +2 -0
  584. package/dist/firebase/firestore/types/order/publicAssets/index.d.ts +2 -2
  585. package/dist/firebase/firestore/types/order/publicAssets/index.js +2 -2
  586. package/dist/firebase/firestore/types/order/snapshots/CompanyEntitySnapshotForOrder.type.d.ts +30 -0
  587. package/dist/firebase/firestore/types/order/snapshots/CompanyEntitySnapshotForOrder.type.js +2 -0
  588. package/dist/firebase/firestore/types/order/snapshots/CustomerEntitySnapshotForOrder.type.d.ts +8 -0
  589. package/dist/firebase/firestore/types/order/snapshots/CustomerEntitySnapshotForOrder.type.js +2 -0
  590. package/dist/firebase/firestore/types/order/snapshots/CustomerUserSnapshotForOrder.type.d.ts +7 -0
  591. package/dist/firebase/firestore/types/order/snapshots/CustomerUserSnapshotForOrder.type.js +2 -0
  592. package/dist/firebase/firestore/types/order/snapshots/EntitySnapshotForOrder.type.d.ts +26 -0
  593. package/dist/firebase/firestore/types/order/snapshots/EntitySnapshotForOrder.type.js +2 -0
  594. package/dist/firebase/firestore/types/order/snapshots/EntitySnapshotForOrderBase.type.d.ts +7 -0
  595. package/dist/firebase/firestore/types/order/snapshots/EntitySnapshotForOrderBase.type.js +2 -0
  596. package/dist/firebase/firestore/types/order/snapshots/IndividualEntitySnapshotForOrder.type.d.ts +5 -0
  597. package/dist/firebase/firestore/types/order/snapshots/IndividualEntitySnapshotForOrder.type.js +2 -0
  598. package/dist/firebase/firestore/types/order/snapshots/ServiceProviderEntitySnapshotForOrder.type.d.ts +8 -0
  599. package/dist/firebase/firestore/types/order/snapshots/ServiceProviderEntitySnapshotForOrder.type.js +2 -0
  600. package/dist/firebase/firestore/types/order/snapshots/ServiceProviderUserSnapshotForOrder.type.d.ts +7 -0
  601. package/dist/firebase/firestore/types/order/snapshots/ServiceProviderUserSnapshotForOrder.type.js +2 -0
  602. package/dist/firebase/firestore/types/order/snapshots/TermsAndPolicySnapshotForOrder.type.d.ts +6 -0
  603. package/dist/firebase/firestore/types/order/snapshots/TermsAndPolicySnapshotForOrder.type.js +2 -0
  604. package/dist/firebase/firestore/types/order/snapshots/UserSnapshotForOrder.type.d.ts +6 -0
  605. package/dist/firebase/firestore/types/order/snapshots/UserSnapshotForOrder.type.js +2 -0
  606. package/dist/firebase/firestore/types/order/snapshots/VehicleSnapshotForOrder.type.d.ts +17 -0
  607. package/dist/firebase/firestore/types/order/snapshots/VehicleSnapshotForOrder.type.js +2 -0
  608. package/dist/firebase/firestore/types/order/snapshots/index.d.ts +10 -0
  609. package/dist/firebase/firestore/types/order/snapshots/index.js +26 -0
  610. package/dist/firebase/firestore/types/ordersIssues/OrderIssueReason.type.d.ts +2 -2
  611. package/dist/firebase/firestore/types/ordersRefundIntents/FirestoreOrderRefundIntent.type.d.ts +27 -0
  612. package/dist/firebase/firestore/types/ordersRefundIntents/FirestoreOrderRefundIntent.type.js +2 -0
  613. package/dist/firebase/firestore/types/ordersRefundIntents/FirestoreOrderRefundIntentDocument.type.d.ts +35 -0
  614. package/dist/firebase/firestore/types/ordersRefundIntents/FirestoreOrderRefundIntentDocument.type.js +2 -0
  615. package/dist/firebase/firestore/types/ordersRefundIntents/index.d.ts +1 -0
  616. package/dist/firebase/firestore/types/ordersRefundIntents/index.js +17 -0
  617. package/dist/firebase/firestore/types/ordersReviews/FirestoreOrderReviewDocument.type.d.ts +1 -1
  618. package/dist/firebase/firestore/types/paymentProviders/stripes/StripeConnectAccountRequirementsSummary.type.d.ts +1 -0
  619. package/dist/firebase/firestore/types/platformBalances/FirestorePlatformBalancesDocument.type.d.ts +17 -0
  620. package/dist/firebase/firestore/types/platformBalances/FirestorePlatformBalancesDocument.type.js +2 -0
  621. package/dist/firebase/firestore/types/platformBalances/index.d.ts +1 -0
  622. package/dist/firebase/firestore/types/platformBalances/index.js +17 -0
  623. package/dist/firebase/firestore/types/platformBalancesLedgerEntryDocument/FirestorePlatformBalancesLedgerEntryDocument.type.d.ts +21 -0
  624. package/dist/firebase/firestore/types/platformBalancesLedgerEntryDocument/FirestorePlatformBalancesLedgerEntryDocument.type.js +2 -0
  625. package/dist/firebase/firestore/types/platformBalancesLedgerEntryDocument/index.d.ts +1 -0
  626. package/dist/firebase/firestore/types/platformBalancesLedgerEntryDocument/index.js +17 -0
  627. package/dist/firebase/firestore/types/promoCode/FirestorePromoCodeDocument.type.d.ts +8 -14
  628. package/dist/firebase/firestore/types/promoCodeRedemptions/FirestorePromoCodeRedemptionDocument.type.d.ts +9 -0
  629. package/dist/firebase/firestore/types/promoCodeRedemptions/FirestorePromoCodeRedemptionDocument.type.js +2 -0
  630. package/dist/firebase/firestore/types/promoCodeRedemptions/index.d.ts +1 -0
  631. package/dist/firebase/firestore/types/promoCodeRedemptions/index.js +17 -0
  632. package/dist/firebase/firestore/types/serviceProviderPublicDocument/FirestoreServiceProviderPublicDocument.type.d.ts +46 -0
  633. package/dist/firebase/firestore/types/serviceProviderPublicDocument/FirestoreServiceProviderPublicDocument.type.js +2 -0
  634. package/dist/firebase/firestore/types/serviceProviderPublicDocument/FirestoreServiceProviderPublicDocumentReviewAggregates.type.d.ts +4 -0
  635. package/dist/firebase/firestore/types/serviceProviderPublicDocument/FirestoreServiceProviderPublicDocumentReviewAggregates.type.js +2 -0
  636. package/dist/firebase/firestore/types/serviceProviderPublicDocument/FirestoreServiceProviderPublicDocumentServicesLocation.type.d.ts +4 -0
  637. package/dist/firebase/firestore/types/serviceProviderPublicDocument/FirestoreServiceProviderPublicDocumentServicesLocation.type.js +2 -0
  638. package/dist/firebase/firestore/types/serviceProviderPublicDocument/index.d.ts +3 -0
  639. package/dist/firebase/firestore/types/serviceProviderPublicDocument/index.js +19 -0
  640. package/dist/firebase/firestore/types/serviceProviderUserPublicDocument/FirestoreServiceProviderUserPublicDocument.type.d.ts +49 -0
  641. package/dist/firebase/firestore/types/serviceProviderUserPublicDocument/FirestoreServiceProviderUserPublicDocument.type.js +2 -0
  642. package/dist/firebase/firestore/types/serviceProviderUserPublicDocument/FirestoreServiceProviderUserPublicDocumentReviewAggregates.type.d.ts +4 -0
  643. package/dist/firebase/firestore/types/serviceProviderUserPublicDocument/FirestoreServiceProviderUserPublicDocumentReviewAggregates.type.js +2 -0
  644. package/dist/firebase/firestore/types/serviceProviderUserPublicDocument/FirestoreServiceProviderUserPublicDocumentServicesLocation.type.d.ts +4 -0
  645. package/dist/firebase/firestore/types/serviceProviderUserPublicDocument/FirestoreServiceProviderUserPublicDocumentServicesLocation.type.js +2 -0
  646. package/dist/firebase/firestore/types/serviceProviderUserPublicDocument/index.d.ts +3 -0
  647. package/dist/firebase/firestore/types/serviceProviderUserPublicDocument/index.js +19 -0
  648. package/dist/firebase/firestore/types/serviceProviderUsersPublicDocument/FirestoreServiceProviderUserPublicDocument.type.d.ts +46 -0
  649. package/dist/firebase/firestore/types/serviceProviderUsersPublicDocument/FirestoreServiceProviderUserPublicDocument.type.js +2 -0
  650. package/dist/firebase/firestore/types/serviceProviderUsersPublicDocument/FirestoreServiceProviderUserPublicDocumentReviewAggregates.type.d.ts +4 -0
  651. package/dist/firebase/firestore/types/serviceProviderUsersPublicDocument/FirestoreServiceProviderUserPublicDocumentReviewAggregates.type.js +2 -0
  652. package/dist/firebase/firestore/types/serviceProviderUsersPublicDocument/FirestoreServiceProviderUserPublicDocumentServicesLocation.type.d.ts +4 -0
  653. package/dist/firebase/firestore/types/serviceProviderUsersPublicDocument/FirestoreServiceProviderUserPublicDocumentServicesLocation.type.js +2 -0
  654. package/dist/firebase/firestore/types/serviceProviderUsersPublicDocument/index.d.ts +3 -0
  655. package/dist/firebase/firestore/types/serviceProviderUsersPublicDocument/index.js +19 -0
  656. package/dist/firebase/firestore/types/services/ProfessionalService.type.d.ts +3 -3
  657. package/dist/firebase/firestore/types/services/ProviderService.type.d.ts +8 -0
  658. package/dist/firebase/firestore/types/services/ProviderService.type.js +2 -0
  659. package/dist/firebase/firestore/types/services/ServiceProviderService.type.d.ts +8 -0
  660. package/dist/firebase/firestore/types/services/ServiceProviderService.type.js +2 -0
  661. package/dist/firebase/firestore/types/services/ServiceProviderServiceDetails.type.d.ts +8 -0
  662. package/dist/firebase/firestore/types/services/ServiceProviderServiceDetails.type.js +2 -0
  663. package/dist/firebase/firestore/types/services/index.d.ts +1 -1
  664. package/dist/firebase/firestore/types/services/index.js +1 -1
  665. package/dist/firebase/firestore/types/userDocument/FirestoreUserDocument.type.d.ts +40 -12
  666. package/dist/firebase/firestore/types/userDocument/FirestoreUserDocumentProfessionalInfos.type.d.ts +2 -7
  667. package/dist/firebase/firestore/types/userDocument/index.d.ts +0 -2
  668. package/dist/firebase/firestore/types/userDocument/index.js +0 -2
  669. package/dist/firebase/firestore/types/userPublicDocument/FirestoreProfessionalUserPublicDocument.type.d.ts +14 -8
  670. package/dist/firebase/firestore/types/userPublicDocument/FirestoreServiceProviderPublicDocument.type.d.ts +46 -0
  671. package/dist/firebase/firestore/types/userPublicDocument/FirestoreServiceProviderPublicDocument.type.js +2 -0
  672. package/dist/firebase/firestore/types/userPublicDocument/FirestoreServiceProviderPublicDocumentReviewAggregates.type.d.ts +4 -0
  673. package/dist/firebase/firestore/types/userPublicDocument/FirestoreServiceProviderPublicDocumentReviewAggregates.type.js +2 -0
  674. package/dist/firebase/firestore/types/userPublicDocument/FirestoreServiceProviderPublicDocumentServicesLocation.type.d.ts +4 -0
  675. package/dist/firebase/firestore/types/userPublicDocument/FirestoreServiceProviderPublicDocumentServicesLocation.type.js +2 -0
  676. package/dist/firebase/firestore/types/vehicles/FirestoreVehicleDocument.type.d.ts +21 -4
  677. package/dist/firebase/firestore/types/wallets/FirestoreWalletsDocument.type.d.ts +1 -0
  678. package/dist/firebase/firestore/types/walletsLedgerEntryDocument/FirestoreWalletsLedgerEntryDocument.type.d.ts +2 -0
  679. package/dist/firebase/firestore/types/walletsWithdrawalIntents/FirestoreWalletsWithdrawalIntentsDocument.type.d.ts +1 -0
  680. package/dist/firebase/firestore/utils/address/__tests__/isValidLegalAddress.test.d.ts +1 -0
  681. package/dist/firebase/firestore/utils/address/__tests__/isValidLegalAddress.test.js +73 -0
  682. package/dist/firebase/firestore/utils/address/index.d.ts +1 -0
  683. package/dist/firebase/firestore/utils/address/index.js +17 -0
  684. package/dist/firebase/firestore/utils/address/isValidLegalAddress.d.ts +2 -0
  685. package/dist/firebase/firestore/utils/address/isValidLegalAddress.js +11 -0
  686. package/dist/firebase/firestore/utils/address/types/IsValidLegalAddressParams.type.d.ts +4 -0
  687. package/dist/firebase/firestore/utils/address/types/IsValidLegalAddressParams.type.js +2 -0
  688. package/dist/firebase/firestore/utils/address/types/index.d.ts +1 -0
  689. package/dist/firebase/firestore/utils/address/types/index.js +17 -0
  690. package/dist/firebase/firestore/utils/company/__tests__/entityDocumentSupportsOrganizationMembers.util.test.d.ts +1 -0
  691. package/dist/firebase/firestore/utils/company/__tests__/entityDocumentSupportsOrganizationMembers.util.test.js +56 -0
  692. package/dist/firebase/firestore/utils/company/entityDocumentSupportsOrganizationMembers.util.d.ts +6 -0
  693. package/dist/firebase/firestore/utils/company/entityDocumentSupportsOrganizationMembers.util.js +20 -0
  694. package/dist/firebase/firestore/utils/configs/__tests__/getAvailableServicesPublicConfigForVehicleType.test.d.ts +1 -0
  695. package/dist/firebase/firestore/utils/configs/__tests__/getAvailableServicesPublicConfigForVehicleType.test.js +146 -0
  696. package/dist/firebase/firestore/utils/configs/getAvailableServicesPublicConfigForVehicleType.d.ts +6 -0
  697. package/dist/firebase/firestore/utils/configs/getAvailableServicesPublicConfigForVehicleType.js +24 -0
  698. package/dist/firebase/firestore/utils/configs/index.d.ts +1 -0
  699. package/dist/firebase/firestore/utils/configs/index.js +17 -0
  700. package/dist/firebase/firestore/utils/configs/types/GetAvailableServicesPublicConfigForVehicleTypeParams.type.d.ts +6 -0
  701. package/dist/firebase/firestore/utils/configs/types/GetAvailableServicesPublicConfigForVehicleTypeParams.type.js +2 -0
  702. package/dist/firebase/firestore/utils/configs/types/index.d.ts +1 -0
  703. package/dist/firebase/firestore/utils/configs/types/index.js +17 -0
  704. package/dist/firebase/firestore/utils/dataValidators/company/index.d.ts +0 -2
  705. package/dist/firebase/firestore/utils/dataValidators/company/index.js +0 -2
  706. package/dist/firebase/firestore/utils/dataValidators/index.d.ts +1 -1
  707. package/dist/firebase/firestore/utils/dataValidators/index.js +1 -1
  708. package/dist/firebase/firestore/utils/dataValidators/professionalService/__tests__/isValidProfessionalService.test.js +47 -89
  709. package/dist/firebase/firestore/utils/dataValidators/professionalService/__tests__/isValidProfessionalServiceType.test.js +1 -1
  710. package/dist/firebase/firestore/utils/dataValidators/professionalService/__tests__/isValidServicePricingAndDurationForVehicle.test.d.ts +1 -0
  711. package/dist/firebase/firestore/utils/dataValidators/professionalService/__tests__/isValidServicePricingAndDurationForVehicle.test.js +136 -0
  712. package/dist/firebase/firestore/utils/dataValidators/professionalService/index.d.ts +1 -2
  713. package/dist/firebase/firestore/utils/dataValidators/professionalService/index.js +1 -2
  714. package/dist/firebase/firestore/utils/dataValidators/professionalService/isValidProfessionalService.js +6 -13
  715. package/dist/firebase/firestore/utils/dataValidators/professionalService/isValidProfessionalServiceType.d.ts +2 -2
  716. package/dist/firebase/firestore/utils/dataValidators/professionalService/isValidProfessionalServiceType.js +1 -1
  717. package/dist/firebase/firestore/utils/dataValidators/professionalService/isValidServicePricingAndDurationForVehicle.d.ts +2 -0
  718. package/dist/firebase/firestore/utils/dataValidators/professionalService/isValidServicePricingAndDurationForVehicle.js +29 -0
  719. package/dist/firebase/firestore/utils/dataValidators/professionalService/types/IsValidProfessionalServiceParams.type.d.ts +2 -2
  720. package/dist/firebase/firestore/utils/dataValidators/professionalService/types/IsValidServicePricingAndDurationForVehicleParams.type.d.ts +5 -0
  721. package/dist/firebase/firestore/utils/dataValidators/professionalService/types/IsValidServicePricingAndDurationForVehicleParams.type.js +2 -0
  722. package/dist/firebase/firestore/utils/dataValidators/professionalService/types/index.d.ts +1 -1
  723. package/dist/firebase/firestore/utils/dataValidators/professionalService/types/index.js +1 -1
  724. package/dist/firebase/firestore/utils/dataValidators/services/__tests__/isValidProfessionalService.test.d.ts +1 -0
  725. package/dist/firebase/firestore/utils/dataValidators/services/__tests__/isValidProfessionalService.test.js +172 -0
  726. package/dist/firebase/firestore/utils/dataValidators/services/__tests__/isValidProviderService.test.d.ts +1 -0
  727. package/dist/firebase/firestore/utils/dataValidators/services/__tests__/isValidProviderService.test.js +172 -0
  728. package/dist/firebase/firestore/utils/dataValidators/services/__tests__/isValidServicePricingAndDurationForVehicle.test.d.ts +1 -0
  729. package/dist/firebase/firestore/utils/dataValidators/services/__tests__/isValidServicePricingAndDurationForVehicle.test.js +136 -0
  730. package/dist/firebase/firestore/utils/dataValidators/services/index.d.ts +2 -0
  731. package/dist/firebase/firestore/utils/dataValidators/services/index.js +18 -0
  732. package/dist/firebase/firestore/utils/dataValidators/services/isValidProfessionalService.d.ts +2 -0
  733. package/dist/firebase/firestore/utils/dataValidators/services/isValidProfessionalService.js +42 -0
  734. package/dist/firebase/firestore/utils/dataValidators/services/isValidProviderService.d.ts +2 -0
  735. package/dist/firebase/firestore/utils/dataValidators/services/isValidProviderService.js +42 -0
  736. package/dist/firebase/firestore/utils/dataValidators/services/isValidServicePricingAndDurationForVehicle.d.ts +2 -0
  737. package/dist/firebase/firestore/utils/dataValidators/services/isValidServicePricingAndDurationForVehicle.js +29 -0
  738. package/dist/firebase/firestore/utils/dataValidators/services/types/IsValidProfessionalServiceParams.type.d.ts +6 -0
  739. package/dist/firebase/firestore/utils/dataValidators/services/types/IsValidProfessionalServiceParams.type.js +2 -0
  740. package/dist/firebase/firestore/utils/dataValidators/services/types/IsValidProviderServiceParams.type.d.ts +6 -0
  741. package/dist/firebase/firestore/utils/dataValidators/services/types/IsValidProviderServiceParams.type.js +2 -0
  742. package/dist/firebase/firestore/utils/dataValidators/services/types/IsValidServicePricingAndDurationForVehicleParams.type.d.ts +5 -0
  743. package/dist/firebase/firestore/utils/dataValidators/services/types/IsValidServicePricingAndDurationForVehicleParams.type.js +2 -0
  744. package/dist/firebase/firestore/utils/dataValidators/services/types/IsValidVehicleForProfessionalServiceParams.type.d.ts +6 -0
  745. package/dist/firebase/firestore/utils/dataValidators/services/types/IsValidVehicleForProfessionalServiceParams.type.js +2 -0
  746. package/dist/firebase/firestore/utils/dataValidators/services/types/index.d.ts +2 -0
  747. package/dist/firebase/firestore/utils/dataValidators/services/types/index.js +18 -0
  748. package/dist/firebase/firestore/utils/dataValidators/slots/__tests__/isValidOneTimeSlot.test.d.ts +1 -0
  749. package/dist/firebase/firestore/utils/dataValidators/slots/__tests__/isValidOneTimeSlot.test.js +287 -0
  750. package/dist/firebase/firestore/utils/dataValidators/slots/__tests__/isValidRecurringSlot.test.d.ts +1 -0
  751. package/dist/firebase/firestore/utils/dataValidators/slots/__tests__/isValidRecurringSlot.test.js +527 -0
  752. package/dist/firebase/firestore/utils/dataValidators/slots/__tests__/isValidTimeOffSlot.test.d.ts +1 -0
  753. package/dist/firebase/firestore/utils/dataValidators/slots/__tests__/isValidTimeOffSlot.test.js +272 -0
  754. package/dist/firebase/firestore/utils/dataValidators/slots/index.d.ts +3 -3
  755. package/dist/firebase/firestore/utils/dataValidators/slots/index.js +3 -3
  756. package/dist/firebase/firestore/utils/dataValidators/slots/isValidOneTimeSlot.d.ts +2 -0
  757. package/dist/firebase/firestore/utils/dataValidators/slots/isValidOneTimeSlot.js +45 -0
  758. package/dist/firebase/firestore/utils/dataValidators/slots/isValidRecurringSlot.d.ts +2 -0
  759. package/dist/firebase/firestore/utils/dataValidators/slots/isValidRecurringSlot.js +83 -0
  760. package/dist/firebase/firestore/utils/dataValidators/slots/isValidTimeOffSlot.d.ts +2 -0
  761. package/dist/firebase/firestore/utils/dataValidators/slots/isValidTimeOffSlot.js +45 -0
  762. package/dist/firebase/firestore/utils/entities/__tests__/entityDocumentSupportsOrganizationMembers.test.d.ts +1 -0
  763. package/dist/firebase/firestore/utils/entities/__tests__/entityDocumentSupportsOrganizationMembers.test.js +56 -0
  764. package/dist/firebase/firestore/utils/entities/__tests__/entityDocumentSupportsOrganizationMembers.util.test.d.ts +1 -0
  765. package/dist/firebase/firestore/utils/entities/__tests__/entityDocumentSupportsOrganizationMembers.util.test.js +56 -0
  766. package/dist/firebase/firestore/utils/entities/__tests__/isEntityLegalDetailsVatVerified.test.d.ts +1 -0
  767. package/dist/firebase/firestore/utils/entities/__tests__/isEntityLegalDetailsVatVerified.test.js +61 -0
  768. package/dist/firebase/firestore/utils/entities/__tests__/isEntityMemberAuthorized.test.d.ts +1 -0
  769. package/dist/firebase/firestore/utils/entities/__tests__/isEntityMemberAuthorized.test.js +83 -0
  770. package/dist/firebase/firestore/utils/entities/entityDocumentSupportsOrganizationMembers.d.ts +6 -0
  771. package/dist/firebase/firestore/utils/entities/entityDocumentSupportsOrganizationMembers.js +20 -0
  772. package/dist/firebase/firestore/utils/entities/entityDocumentSupportsOrganizationMembers.util.d.ts +6 -0
  773. package/dist/firebase/firestore/utils/entities/entityDocumentSupportsOrganizationMembers.util.js +20 -0
  774. package/dist/firebase/firestore/utils/entities/index.d.ts +2 -0
  775. package/dist/firebase/firestore/utils/entities/index.js +18 -0
  776. package/dist/firebase/firestore/utils/entities/isEntityLegalDetailsVatVerified.d.ts +2 -0
  777. package/dist/firebase/firestore/utils/entities/isEntityLegalDetailsVatVerified.js +17 -0
  778. package/dist/firebase/firestore/utils/entities/isEntityMemberAuthorized.d.ts +2 -0
  779. package/dist/firebase/firestore/utils/entities/isEntityMemberAuthorized.js +9 -0
  780. package/dist/firebase/firestore/utils/entities/types/IsEntityLegalDetailsVatVerifiedParams.type.d.ts +4 -0
  781. package/dist/firebase/firestore/utils/entities/types/IsEntityLegalDetailsVatVerifiedParams.type.js +2 -0
  782. package/dist/firebase/firestore/utils/entities/types/IsEntityMemberAuthorizedParams.type.d.ts +7 -0
  783. package/dist/firebase/firestore/utils/entities/types/IsEntityMemberAuthorizedParams.type.js +2 -0
  784. package/dist/firebase/firestore/utils/entities/types/index.d.ts +2 -0
  785. package/dist/firebase/firestore/utils/entities/types/index.js +18 -0
  786. package/dist/firebase/firestore/utils/index.d.ts +3 -2
  787. package/dist/firebase/firestore/utils/index.js +3 -2
  788. package/dist/firebase/firestore/utils/order/__tests__/buildOrderProfessionalServicePreTaxLinesAndProfessionalServicesDetails.service.test.js +40 -40
  789. package/dist/firebase/firestore/utils/order/__tests__/buildOrderServicePreTaxLinesAndProfessionalServicesDetails.test.d.ts +1 -0
  790. package/dist/firebase/firestore/utils/order/__tests__/buildOrderServicePreTaxLinesAndProfessionalServicesDetails.test.js +259 -0
  791. package/dist/firebase/firestore/utils/order/__tests__/buildOrderServicePreTaxLinesAndServicesDetails.test.d.ts +1 -0
  792. package/dist/firebase/firestore/utils/order/__tests__/buildOrderServicePreTaxLinesAndServicesDetails.test.js +259 -0
  793. package/dist/firebase/firestore/utils/order/buildFirestoreOrderPricingDetailsFromInvoiceTotals.util.d.ts +8 -0
  794. package/dist/firebase/firestore/utils/order/buildFirestoreOrderPricingDetailsFromInvoiceTotals.util.js +37 -0
  795. package/dist/firebase/firestore/utils/order/buildOrderServicePreTaxLinesAndProfessionalServicesDetails.d.ts +2 -0
  796. package/dist/firebase/firestore/utils/order/buildOrderServicePreTaxLinesAndProfessionalServicesDetails.js +48 -0
  797. package/dist/firebase/firestore/utils/order/buildOrderServicePreTaxLinesAndServicesDetails.d.ts +2 -0
  798. package/dist/firebase/firestore/utils/order/buildOrderServicePreTaxLinesAndServicesDetails.js +48 -0
  799. package/dist/firebase/firestore/utils/order/index.d.ts +1 -2
  800. package/dist/firebase/firestore/utils/order/index.js +1 -2
  801. package/dist/firebase/firestore/utils/order/types/BuildOrderProfessionalServicePreTaxLinesAndProfessionalServicesDetailsProps.type.d.ts +2 -2
  802. package/dist/firebase/firestore/utils/order/types/BuildOrderServicePreTaxLinesAndServicesDetailsProps.type.d.ts +8 -0
  803. package/dist/firebase/firestore/utils/order/types/BuildOrderServicePreTaxLinesAndServicesDetailsProps.type.js +2 -0
  804. package/dist/firebase/firestore/utils/order/types/BuildOrderServicePreTaxLinesAndServicesDetailsReturn.type.d.ts +6 -0
  805. package/dist/firebase/firestore/utils/order/types/BuildOrderServicePreTaxLinesAndServicesDetailsReturn.type.js +2 -0
  806. package/dist/firebase/firestore/utils/order/types/index.d.ts +2 -4
  807. package/dist/firebase/firestore/utils/order/types/index.js +2 -4
  808. package/dist/firebase/firestore/utils/reviews/__tests__/getAverageRatingFromReviewAggregates.test.d.ts +1 -0
  809. package/dist/firebase/firestore/utils/reviews/__tests__/getAverageRatingFromReviewAggregates.test.js +97 -0
  810. package/dist/firebase/firestore/utils/reviews/getAverageRatingFromReviewAggregates.d.ts +2 -0
  811. package/dist/firebase/firestore/utils/reviews/getAverageRatingFromReviewAggregates.js +13 -0
  812. package/dist/firebase/firestore/utils/reviews/index.d.ts +1 -1
  813. package/dist/firebase/firestore/utils/reviews/index.js +1 -1
  814. package/dist/firebase/firestore/utils/services/__tests__/areAllRequestedProfessionalUserServicesActiveForVehicleType.test.js +27 -27
  815. package/dist/firebase/firestore/utils/services/__tests__/computeTotalProfessionalServiceDurationInMinutesForVehicleType.test.js +24 -24
  816. package/dist/firebase/firestore/utils/services/__tests__/computeTotalServiceProviderServiceDurationInMinutesForVehicleType.test.d.ts +1 -0
  817. package/dist/firebase/firestore/utils/services/__tests__/computeTotalServiceProviderServiceDurationInMinutesForVehicleType.test.js +101 -0
  818. package/dist/firebase/firestore/utils/services/__tests__/createProfessionalServiceVehicleComboKey.test.d.ts +1 -0
  819. package/dist/firebase/firestore/utils/services/__tests__/createProfessionalServiceVehicleComboKey.test.js +12 -0
  820. package/dist/firebase/firestore/utils/services/__tests__/createProfessionalServiceVehicleComboKey.util.test.js +1 -1
  821. package/dist/firebase/firestore/utils/services/__tests__/createServiceVehicleComboKey.test.d.ts +1 -0
  822. package/dist/firebase/firestore/utils/services/__tests__/createServiceVehicleComboKey.test.js +12 -0
  823. package/dist/firebase/firestore/utils/services/__tests__/getActiveProfessionalServicePricingAndDurationForVehicleOrThrow.util.test.js +35 -35
  824. package/dist/firebase/firestore/utils/services/__tests__/getActiveServicePricingAndDurationForVehicleOrThrow.test.d.ts +1 -0
  825. package/dist/firebase/firestore/utils/services/__tests__/getActiveServicePricingAndDurationForVehicleOrThrow.test.js +225 -0
  826. package/dist/firebase/firestore/utils/services/__tests__/getActiveServiceProviderServicePricingAndDurationForVehicleOrThrow.test.d.ts +1 -0
  827. package/dist/firebase/firestore/utils/services/__tests__/getActiveServiceProviderServicePricingAndDurationForVehicleOrThrow.test.js +225 -0
  828. package/dist/firebase/firestore/utils/services/__tests__/getAvailableServiceProviderServicesForVehicleType.test.d.ts +1 -0
  829. package/dist/firebase/firestore/utils/services/__tests__/getAvailableServiceProviderServicesForVehicleType.test.js +295 -0
  830. package/dist/firebase/firestore/utils/services/__tests__/getBookableServiceProviderServicesForVehicleType.test.d.ts +1 -0
  831. package/dist/firebase/firestore/utils/services/__tests__/getBookableServiceProviderServicesForVehicleType.test.js +295 -0
  832. package/dist/firebase/firestore/utils/services/__tests__/getServiceProviderActiveServicePricingAndDurationForVehicleOrThrow.test.d.ts +1 -0
  833. package/dist/firebase/firestore/utils/services/__tests__/getServiceProviderActiveServicePricingAndDurationForVehicleOrThrow.test.js +225 -0
  834. package/dist/firebase/firestore/utils/services/areAllRequestedProfessionalUserServicesActiveForVehicleType.d.ts +2 -0
  835. package/dist/firebase/firestore/utils/services/areAllRequestedProfessionalUserServicesActiveForVehicleType.js +14 -0
  836. package/dist/firebase/firestore/utils/services/computeTotalProfessionalServiceDurationInMinutesForVehicleType.d.ts +2 -0
  837. package/dist/firebase/firestore/utils/services/computeTotalProfessionalServiceDurationInMinutesForVehicleType.js +16 -0
  838. package/dist/firebase/firestore/utils/services/computeTotalServiceProviderServiceDurationInMinutesForVehicleType.d.ts +2 -0
  839. package/dist/firebase/firestore/utils/services/computeTotalServiceProviderServiceDurationInMinutesForVehicleType.js +18 -0
  840. package/dist/firebase/firestore/utils/services/createProfessionalServiceVehicleComboKey.d.ts +2 -0
  841. package/dist/firebase/firestore/utils/services/createProfessionalServiceVehicleComboKey.js +6 -0
  842. package/dist/firebase/firestore/utils/services/createProfessionalServiceVehicleComboKey.util.d.ts +2 -2
  843. package/dist/firebase/firestore/utils/services/createServiceVehicleComboKey.d.ts +2 -0
  844. package/dist/firebase/firestore/utils/services/createServiceVehicleComboKey.js +6 -0
  845. package/dist/firebase/firestore/utils/services/getActiveServicePricingAndDurationForVehicleOrThrow.d.ts +3 -0
  846. package/dist/firebase/firestore/utils/services/getActiveServicePricingAndDurationForVehicleOrThrow.js +19 -0
  847. package/dist/firebase/firestore/utils/services/getActiveServiceProviderServicePricingAndDurationForVehicleOrThrow.d.ts +3 -0
  848. package/dist/firebase/firestore/utils/services/getActiveServiceProviderServicePricingAndDurationForVehicleOrThrow.js +19 -0
  849. package/dist/firebase/firestore/utils/services/getAvailableServiceProviderServicesForVehicleType.d.ts +6 -0
  850. package/dist/firebase/firestore/utils/services/getAvailableServiceProviderServicesForVehicleType.js +29 -0
  851. package/dist/firebase/firestore/utils/services/getAvailableServiceProviderServicesTypesForVehicleType.d.ts +6 -0
  852. package/dist/firebase/firestore/utils/services/getAvailableServiceProviderServicesTypesForVehicleType.js +31 -0
  853. package/dist/firebase/firestore/utils/services/getBookableServiceProviderServicesForVehicleType.d.ts +5 -0
  854. package/dist/firebase/firestore/utils/services/getBookableServiceProviderServicesForVehicleType.js +32 -0
  855. package/dist/firebase/firestore/utils/services/getServiceProviderActiveServicePricingAndDurationForVehicleOrThrow.d.ts +3 -0
  856. package/dist/firebase/firestore/utils/services/getServiceProviderActiveServicePricingAndDurationForVehicleOrThrow.js +19 -0
  857. package/dist/firebase/firestore/utils/services/index.d.ts +4 -4
  858. package/dist/firebase/firestore/utils/services/index.js +4 -4
  859. package/dist/firebase/firestore/utils/services/types/AreAllRequestedProfessionalUserServicesActiveForVehicleTypeArgs.type..d.ts +2 -2
  860. package/dist/firebase/firestore/utils/services/types/ComputeTotalProfessionalServiceDurationInMinutesForVehicleTypeArgs.type.d.ts +2 -2
  861. package/dist/firebase/firestore/utils/services/types/ComputeTotalServiceProviderServiceDurationInMinutesForVehicleTypeArgs.type.d.ts +7 -0
  862. package/dist/firebase/firestore/utils/services/types/ComputeTotalServiceProviderServiceDurationInMinutesForVehicleTypeArgs.type.js +2 -0
  863. package/dist/firebase/firestore/utils/services/types/GetActiveProfessionalServicePricingAndDurationForVehicleOrThrowParams.type.d.ts +2 -2
  864. package/dist/firebase/firestore/utils/services/types/GetActiveServicePricingAndDurationForVehicleOrThrowParams.type.d.ts +7 -0
  865. package/dist/firebase/firestore/utils/services/types/GetActiveServicePricingAndDurationForVehicleOrThrowParams.type.js +2 -0
  866. package/dist/firebase/firestore/utils/services/types/GetActiveServiceProviderServicePricingAndDurationForVehicleOrThrowParams.type.d.ts +7 -0
  867. package/dist/firebase/firestore/utils/services/types/GetActiveServiceProviderServicePricingAndDurationForVehicleOrThrowParams.type.js +2 -0
  868. package/dist/firebase/firestore/utils/services/types/GetAvailableServiceProviderServicesForVehicleTypeParams.type.d.ts +7 -0
  869. package/dist/firebase/firestore/utils/services/types/GetAvailableServiceProviderServicesForVehicleTypeParams.type.js +2 -0
  870. package/dist/firebase/firestore/utils/services/types/GetAvailableServiceProviderServicesTypesForVehicleTypeParams.type.d.ts +7 -0
  871. package/dist/firebase/firestore/utils/services/types/GetAvailableServiceProviderServicesTypesForVehicleTypeParams.type.js +2 -0
  872. package/dist/firebase/firestore/utils/services/types/GetBookableServiceProviderServicesForVehicleTypeParams.type.d.ts +7 -0
  873. package/dist/firebase/firestore/utils/services/types/GetBookableServiceProviderServicesForVehicleTypeParams.type.js +2 -0
  874. package/dist/firebase/firestore/utils/services/types/GetServiceProviderActiveServicePricingAndDurationForVehicleOrThrowParams.type.d.ts +7 -0
  875. package/dist/firebase/firestore/utils/services/types/GetServiceProviderActiveServicePricingAndDurationForVehicleOrThrowParams.type.js +2 -0
  876. package/dist/firebase/firestore/utils/services/types/index.d.ts +3 -3
  877. package/dist/firebase/firestore/utils/services/types/index.js +3 -3
  878. package/dist/firebase/firestore/utils/stubs/company/index.d.ts +0 -2
  879. package/dist/firebase/firestore/utils/stubs/company/index.js +0 -2
  880. package/dist/firebase/firestore/utils/stubs/configs/countryServicesPublicConfigStub.js +1 -1
  881. package/dist/firebase/firestore/utils/stubs/configs/firestoreNotificationEventsPublicConfigDocumentStub.js +44 -2
  882. package/dist/firebase/firestore/utils/stubs/configs/firestoreOrdersPublicConfigDocumentStub.js +3 -3
  883. package/dist/firebase/firestore/utils/stubs/configs/firestorePlatformPublicConfigDocumentStub.js +4 -23
  884. package/dist/firebase/firestore/utils/stubs/configs/firestoreServicesPublicConfigStub.js +4 -5
  885. package/dist/firebase/firestore/utils/stubs/credits/firestoreCreditsDocumentStub.d.ts +2 -0
  886. package/dist/firebase/firestore/utils/stubs/credits/firestoreCreditsDocumentStub.js +24 -0
  887. package/dist/firebase/firestore/utils/stubs/credits/index.d.ts +1 -0
  888. package/dist/firebase/firestore/utils/stubs/credits/index.js +17 -0
  889. package/dist/firebase/firestore/utils/stubs/creditsLedgerEntry/firestoreCreditsLedgerEntryDocumentStub.d.ts +2 -0
  890. package/dist/firebase/firestore/utils/stubs/creditsLedgerEntry/firestoreCreditsLedgerEntryDocumentStub.js +27 -0
  891. package/dist/firebase/firestore/utils/stubs/creditsLedgerEntry/index.d.ts +1 -0
  892. package/dist/firebase/firestore/utils/stubs/creditsLedgerEntry/index.js +17 -0
  893. package/dist/firebase/firestore/utils/stubs/entities/entityVatDetailsStub.js +1 -0
  894. package/dist/firebase/firestore/utils/stubs/entities/firestoreEntityDocumentStub.js +11 -0
  895. package/dist/firebase/firestore/utils/stubs/entityMemberInvites/firestoreEntityMemberInviteDocumentStub.d.ts +2 -0
  896. package/dist/firebase/firestore/utils/stubs/entityMemberInvites/firestoreEntityMemberInviteDocumentStub.js +22 -0
  897. package/dist/firebase/firestore/utils/stubs/entityMemberInvites/index.d.ts +1 -0
  898. package/dist/firebase/firestore/utils/stubs/entityMemberInvites/index.js +17 -0
  899. package/dist/firebase/firestore/utils/stubs/index.d.ts +7 -1
  900. package/dist/firebase/firestore/utils/stubs/index.js +7 -1
  901. package/dist/firebase/firestore/utils/stubs/location/doctoCarLocationStub.js +7 -0
  902. package/dist/firebase/firestore/utils/stubs/marketplaceFinancialReports/firestoreMarketplaceFinancialReportsDocumentStub.js +3 -3
  903. package/dist/firebase/firestore/utils/stubs/notificationEvent/firestoreNotificationEventChannelDeliveryRecordDocumentStub.d.ts +2 -0
  904. package/dist/firebase/firestore/utils/stubs/notificationEvent/firestoreNotificationEventChannelDeliveryRecordDocumentStub.js +15 -0
  905. package/dist/firebase/firestore/utils/stubs/notificationEvent/firestoreNotificationEventDeliveryStateDocumentStub.js +2 -1
  906. package/dist/firebase/firestore/utils/stubs/notificationEvent/index.d.ts +1 -1
  907. package/dist/firebase/firestore/utils/stubs/notificationEvent/index.js +1 -1
  908. package/dist/firebase/firestore/utils/stubs/order/firestoreOrderClientPublicAssetsUrlsStub.js +2 -2
  909. package/dist/firebase/firestore/utils/stubs/order/firestoreOrderClientServicesDetailsPublicImagesUrlsStub.d.ts +2 -0
  910. package/dist/firebase/firestore/utils/stubs/order/firestoreOrderClientServicesDetailsPublicImagesUrlsStub.js +25 -0
  911. package/dist/firebase/firestore/utils/stubs/order/firestoreOrderDocumentPricingDetailStub.js +36 -10
  912. package/dist/firebase/firestore/utils/stubs/order/firestoreOrderDocumentStub.js +151 -95
  913. package/dist/firebase/firestore/utils/stubs/order/firestoreOrderProfessionalServiceDetailsStub.js +1 -1
  914. package/dist/firebase/firestore/utils/stubs/order/firestoreOrderServiceDetailsStub.d.ts +2 -0
  915. package/dist/firebase/firestore/utils/stubs/order/firestoreOrderServiceDetailsStub.js +18 -0
  916. package/dist/firebase/firestore/utils/stubs/order/index.d.ts +2 -2
  917. package/dist/firebase/firestore/utils/stubs/order/index.js +2 -2
  918. package/dist/firebase/firestore/utils/stubs/ordersRefundIntents/firestoreOrderRefundIntentDocumentStub.d.ts +2 -0
  919. package/dist/firebase/firestore/utils/stubs/ordersRefundIntents/firestoreOrderRefundIntentDocumentStub.js +29 -0
  920. package/dist/firebase/firestore/utils/stubs/ordersRefundIntents/firestoreOrderRefundIntentStub.d.ts +2 -0
  921. package/dist/firebase/firestore/utils/stubs/ordersRefundIntents/firestoreOrderRefundIntentStub.js +19 -0
  922. package/dist/firebase/firestore/utils/stubs/ordersRefundIntents/index.d.ts +1 -0
  923. package/dist/firebase/firestore/utils/stubs/ordersRefundIntents/index.js +17 -0
  924. package/dist/firebase/firestore/utils/stubs/ordersReviews/firestoreOrderReviewDocumentStub.js +1 -1
  925. package/dist/firebase/firestore/utils/stubs/platformBalances/firestorePlatformBalancesDocumentStub.d.ts +2 -0
  926. package/dist/firebase/firestore/utils/stubs/platformBalances/firestorePlatformBalancesDocumentStub.js +24 -0
  927. package/dist/firebase/firestore/utils/stubs/platformBalances/index.d.ts +1 -0
  928. package/dist/firebase/firestore/utils/stubs/platformBalances/index.js +17 -0
  929. package/dist/firebase/firestore/utils/stubs/platformBalancesLedgerEntry/firestorePlatformBalancesLedgerEntryDocumentStub.d.ts +2 -0
  930. package/dist/firebase/firestore/utils/stubs/platformBalancesLedgerEntry/firestorePlatformBalancesLedgerEntryDocumentStub.js +27 -0
  931. package/dist/firebase/firestore/utils/stubs/platformBalancesLedgerEntry/index.d.ts +1 -0
  932. package/dist/firebase/firestore/utils/stubs/platformBalancesLedgerEntry/index.js +17 -0
  933. package/dist/firebase/firestore/utils/stubs/promoCode/firestorePromoCodeDocumentStub.d.ts +2 -0
  934. package/dist/firebase/firestore/utils/stubs/promoCode/firestorePromoCodeDocumentStub.js +23 -0
  935. package/dist/firebase/firestore/utils/stubs/promoCode/index.d.ts +1 -0
  936. package/dist/firebase/firestore/utils/stubs/promoCode/index.js +17 -0
  937. package/dist/firebase/firestore/utils/stubs/promoCodeRedemptions/firestorePromoCodeRedemptionDocumentStub.d.ts +2 -0
  938. package/dist/firebase/firestore/utils/stubs/promoCodeRedemptions/firestorePromoCodeRedemptionDocumentStub.js +10 -0
  939. package/dist/firebase/firestore/utils/stubs/promoCodeRedemptions/index.d.ts +1 -0
  940. package/dist/firebase/firestore/utils/stubs/promoCodeRedemptions/index.js +17 -0
  941. package/dist/firebase/firestore/utils/stubs/serviceProviderPublicDocument/firestoreServiceProviderPublicDocumentStub.d.ts +2 -0
  942. package/dist/firebase/firestore/utils/stubs/serviceProviderPublicDocument/firestoreServiceProviderPublicDocumentStub.js +36 -0
  943. package/dist/firebase/firestore/utils/stubs/serviceProviderPublicDocument/index.d.ts +1 -0
  944. package/dist/firebase/firestore/utils/stubs/serviceProviderPublicDocument/index.js +17 -0
  945. package/dist/firebase/firestore/utils/stubs/serviceProviderUserPublicDocument/firestoreServiceProviderUserPublicDocumentStub.d.ts +2 -0
  946. package/dist/firebase/firestore/utils/stubs/serviceProviderUserPublicDocument/firestoreServiceProviderUserPublicDocumentStub.js +44 -0
  947. package/dist/firebase/firestore/utils/stubs/serviceProviderUserPublicDocument/index.d.ts +1 -0
  948. package/dist/firebase/firestore/utils/stubs/serviceProviderUserPublicDocument/index.js +17 -0
  949. package/dist/firebase/firestore/utils/stubs/serviceProviderUsersPublicDocument/firestoreServiceProviderUserPublicDocumentStub.d.ts +2 -0
  950. package/dist/firebase/firestore/utils/stubs/serviceProviderUsersPublicDocument/firestoreServiceProviderUserPublicDocumentStub.js +36 -0
  951. package/dist/firebase/firestore/utils/stubs/serviceProviderUsersPublicDocument/index.d.ts +1 -0
  952. package/dist/firebase/firestore/utils/stubs/serviceProviderUsersPublicDocument/index.js +17 -0
  953. package/dist/firebase/firestore/utils/stubs/services/index.d.ts +1 -1
  954. package/dist/firebase/firestore/utils/stubs/services/index.js +1 -1
  955. package/dist/firebase/firestore/utils/stubs/services/pricingAndDurationForVehicleStub.js +2 -2
  956. package/dist/firebase/firestore/utils/stubs/services/professionalServiceStub.d.ts +2 -2
  957. package/dist/firebase/firestore/utils/stubs/services/professionalServiceStub.js +1 -1
  958. package/dist/firebase/firestore/utils/stubs/services/providerServiceStub.d.ts +5 -0
  959. package/dist/firebase/firestore/utils/stubs/services/providerServiceStub.js +21 -0
  960. package/dist/firebase/firestore/utils/stubs/services/serviceProviderServiceDetailsStub.d.ts +5 -0
  961. package/dist/firebase/firestore/utils/stubs/services/serviceProviderServiceDetailsStub.js +21 -0
  962. package/dist/firebase/firestore/utils/stubs/services/serviceProviderServiceStub.d.ts +5 -0
  963. package/dist/firebase/firestore/utils/stubs/services/serviceProviderServiceStub.js +21 -0
  964. package/dist/firebase/firestore/utils/stubs/userDocument/firestoreUserDocumentStub.js +1 -4
  965. package/dist/firebase/firestore/utils/stubs/userDocument/index.d.ts +0 -2
  966. package/dist/firebase/firestore/utils/stubs/userDocument/index.js +0 -2
  967. package/dist/firebase/firestore/utils/stubs/userPublicDocument/firestoreProfessionalUserPublicDocumentStub.js +11 -5
  968. package/dist/firebase/firestore/utils/stubs/vehicles/firestoreVehicleDocumentStub.js +6 -0
  969. package/dist/firebase/firestore/utils/stubs/wallets/firestoreWalletsDocumentStub.js +1 -0
  970. package/dist/firebase/firestore/utils/stubs/walletsLedgerEntry/firestoreWalletsLedgerEntryDocumentStub.js +2 -0
  971. package/dist/firebase/firestore/utils/stubs/walletsWithdrawalIntents/firestoreWalletsWithdrawalIntentsDocumentStub.js +1 -0
  972. package/dist/firebase/firestore/utils/users/__tests__/assertCustomerUserCanBookServices.test.js +7 -7
  973. package/dist/firebase/firestore/utils/users/__tests__/assertProfessionalUserIsBookable.util.test.js +13 -13
  974. package/dist/firebase/firestore/utils/users/assertCustomerUserCanBookServices.js +53 -30
  975. package/dist/firebase/firestore/utils/users/assertProfessionalUserIsBookable.util.js +110 -61
  976. package/dist/firebase/firestore/utils/users/index.d.ts +0 -1
  977. package/dist/firebase/firestore/utils/users/index.js +0 -1
  978. package/dist/firebase/storage/enums/FirebaseStorageBasePaths.enum.d.ts +3 -2
  979. package/dist/firebase/storage/enums/FirebaseStorageBasePaths.enum.js +4 -2
  980. package/dist/firebase/storage/enums/FirebaseStorageEntityPrivateSubPaths.enum.d.ts +3 -0
  981. package/dist/firebase/storage/enums/FirebaseStorageEntityPrivateSubPaths.enum.js +7 -0
  982. package/dist/firebase/storage/enums/FirebaseStorageFilesNames.enum.d.ts +1 -1
  983. package/dist/firebase/storage/enums/FirebaseStorageFilesNames.enum.js +1 -1
  984. package/dist/firebase/storage/enums/FirebaseStorageServicesProvidersUsersPublicSubPaths.enum.d.ts +3 -0
  985. package/dist/firebase/storage/enums/FirebaseStorageServicesProvidersUsersPublicSubPaths.enum.js +7 -0
  986. package/dist/firebase/storage/enums/FirebaseStorageUserPrivateSubPaths.enum.d.ts +1 -3
  987. package/dist/firebase/storage/enums/FirebaseStorageUserPrivateSubPaths.enum.js +1 -3
  988. package/dist/firebase/storage/enums/index.d.ts +2 -1
  989. package/dist/firebase/storage/enums/index.js +2 -1
  990. package/dist/firebase/storage/utils/__tests__/buildStoragePeriodSlug.test.js +15 -6
  991. package/dist/gcp/address/enums/GoogleAddressComponentType.enum.d.ts +11 -0
  992. package/dist/gcp/address/enums/GoogleAddressComponentType.enum.js +15 -0
  993. package/dist/gcp/address/enums/index.d.ts +1 -0
  994. package/dist/gcp/address/enums/index.js +17 -0
  995. package/dist/gcp/address/index.d.ts +3 -0
  996. package/dist/gcp/address/index.js +19 -0
  997. package/dist/gcp/address/types/GoogleAddressComponent.type.d.ts +6 -0
  998. package/dist/gcp/address/types/GoogleAddressComponent.type.js +2 -0
  999. package/dist/gcp/address/types/index.d.ts +1 -0
  1000. package/dist/gcp/address/types/index.js +17 -0
  1001. package/dist/gcp/address/utils/__tests__/findGoogleAddressComponent.test.d.ts +1 -0
  1002. package/dist/gcp/address/utils/__tests__/findGoogleAddressComponent.test.js +77 -0
  1003. package/dist/gcp/address/utils/findGoogleAddressComponent.d.ts +3 -0
  1004. package/dist/gcp/address/utils/findGoogleAddressComponent.js +6 -0
  1005. package/dist/gcp/address/utils/index.d.ts +2 -0
  1006. package/dist/gcp/address/utils/index.js +18 -0
  1007. package/dist/gcp/address/utils/types/FindGoogleAddressComponentParams.type.d.ts +6 -0
  1008. package/dist/gcp/address/utils/types/FindGoogleAddressComponentParams.type.js +2 -0
  1009. package/dist/gcp/address/utils/types/index.d.ts +1 -0
  1010. package/dist/gcp/address/utils/types/index.js +17 -0
  1011. package/dist/gcp/cloudTask/enums/CloudTasksQueueName.enum.d.ts +3 -2
  1012. package/dist/gcp/cloudTask/enums/CloudTasksQueueName.enum.js +3 -2
  1013. package/dist/gcp/cloudTask/maps/CloudTaskEnvelopeMap.map.d.ts +4 -3
  1014. package/dist/gcp/cloudTask/types/OnTaskRecomputeCustomerUserComplianceEnvelope.d.ts +4 -0
  1015. package/dist/gcp/cloudTask/types/OnTaskRecomputeCustomerUserComplianceEnvelope.js +2 -0
  1016. package/dist/gcp/cloudTask/types/OnTaskRecomputeServiceProviderAvailabilityEnvelope.type.d.ts +4 -0
  1017. package/dist/gcp/cloudTask/types/OnTaskRecomputeServiceProviderAvailabilityEnvelope.type.js +2 -0
  1018. package/dist/gcp/cloudTask/types/OnTaskRecomputeServiceProviderUserComplianceEnvelope.d.ts +4 -0
  1019. package/dist/gcp/cloudTask/types/OnTaskRecomputeServiceProviderUserComplianceEnvelope.js +2 -0
  1020. package/dist/gcp/cloudTask/types/index.d.ts +3 -2
  1021. package/dist/gcp/cloudTask/types/index.js +3 -2
  1022. package/dist/gcp/cloudTask/utils/stubs/index.d.ts +3 -2
  1023. package/dist/gcp/cloudTask/utils/stubs/index.js +3 -2
  1024. package/dist/gcp/cloudTask/utils/stubs/onTaskRecomputeCustomerUserComplianceEnvelopeStub.d.ts +2 -0
  1025. package/dist/gcp/cloudTask/utils/stubs/onTaskRecomputeCustomerUserComplianceEnvelopeStub.js +19 -0
  1026. package/dist/gcp/cloudTask/utils/stubs/onTaskRecomputeServiceProviderAvailabilityEnvelopeStub.d.ts +2 -0
  1027. package/dist/gcp/cloudTask/utils/stubs/onTaskRecomputeServiceProviderAvailabilityEnvelopeStub.js +19 -0
  1028. package/dist/gcp/cloudTask/utils/stubs/onTaskRecomputeServiceProviderUserComplianceEnvelopeStub.d.ts +2 -0
  1029. package/dist/gcp/cloudTask/utils/stubs/onTaskRecomputeServiceProviderUserComplianceEnvelopeStub.js +19 -0
  1030. package/dist/gcp/enums/GoogleAddressComponentType.enum.d.ts +11 -0
  1031. package/dist/gcp/enums/GoogleAddressComponentType.enum.js +15 -0
  1032. package/dist/gcp/enums/index.d.ts +1 -0
  1033. package/dist/gcp/enums/index.js +17 -0
  1034. package/dist/gcp/geocode/types/GeocodeRawAddressComponent.type.d.ts +6 -0
  1035. package/dist/gcp/geocode/types/GeocodeRawAddressComponent.type.js +2 -0
  1036. package/dist/gcp/geocode/types/GeocodeResponseResultData.type.d.ts +2 -6
  1037. package/dist/gcp/geocode/types/index.d.ts +1 -0
  1038. package/dist/gcp/geocode/types/index.js +1 -0
  1039. package/dist/gcp/geocode/utils/__tests__/getCountryISOCodeFromGoogleGeocodeAddressComponents.util.test.js +7 -4
  1040. package/dist/gcp/geocode/utils/__tests__/getCountryIsoCodeFromGoogleGeocodeAddressComponents.test.d.ts +1 -0
  1041. package/dist/gcp/geocode/utils/__tests__/getCountryIsoCodeFromGoogleGeocodeAddressComponents.test.js +34 -0
  1042. package/dist/gcp/geocode/utils/__tests__/mapGeocodeRawAddressComponent.test.d.ts +1 -0
  1043. package/dist/gcp/geocode/utils/__tests__/mapGeocodeRawAddressComponent.test.js +52 -0
  1044. package/dist/gcp/geocode/utils/getCountryISOCodeFromGoogleGeocodeAddressComponents.util.d.ts +2 -2
  1045. package/dist/gcp/geocode/utils/getCountryISOCodeFromGoogleGeocodeAddressComponents.util.js +9 -8
  1046. package/dist/gcp/geocode/utils/getCountryIsoCodeFromGoogleGeocodeAddressComponents.d.ts +2 -0
  1047. package/dist/gcp/geocode/utils/getCountryIsoCodeFromGoogleGeocodeAddressComponents.js +12 -0
  1048. package/dist/gcp/geocode/utils/index.d.ts +2 -1
  1049. package/dist/gcp/geocode/utils/index.js +2 -1
  1050. package/dist/gcp/geocode/utils/mapGeocodeRawAddressComponent.d.ts +3 -0
  1051. package/dist/gcp/geocode/utils/mapGeocodeRawAddressComponent.js +10 -0
  1052. package/dist/gcp/index.d.ts +1 -0
  1053. package/dist/gcp/index.js +1 -0
  1054. package/dist/gcp/place/enums/PlaceDetailsAddressType.enum.d.ts +3 -1
  1055. package/dist/gcp/place/enums/PlaceDetailsAddressType.enum.js +3 -1
  1056. package/dist/gcp/place/index.d.ts +0 -2
  1057. package/dist/gcp/place/index.js +0 -2
  1058. package/dist/gcp/place/types/PlaceDetailsResponse.type.d.ts +2 -2
  1059. package/dist/gcp/place/types/index.d.ts +0 -1
  1060. package/dist/gcp/place/types/index.js +0 -1
  1061. package/dist/gcp/place/utils/__tests__/getComponentFromGooglePlaceDetailsAddressComponents.util.test.js +1 -1
  1062. package/dist/gcp/place/utils/types/GetComponentFromGooglePlaceDetailsAddressComponentsParams.type.d.ts +1 -1
  1063. package/dist/gcp/pubsub/enums/PubSubTopics.enum.d.ts +10 -3
  1064. package/dist/gcp/pubsub/enums/PubSubTopics.enum.js +9 -2
  1065. package/dist/gcp/pubsub/maps/PubSubTopicMessageMap.map.d.ts +10 -3
  1066. package/dist/gcp/pubsub/types/PubSubNotificationEventMessage.type.d.ts +1 -1
  1067. package/dist/gcp/pubsub/types/entities/PubSubEntityMemberProjectionResyncRequestedMessage.type.d.ts +4 -0
  1068. package/dist/gcp/pubsub/types/entities/PubSubEntityMemberProjectionResyncRequestedMessage.type.js +2 -0
  1069. package/dist/gcp/pubsub/types/entities/PubSubServiceProviderEntityBookableChangedMessage.type.d.ts +3 -0
  1070. package/dist/gcp/pubsub/types/entities/PubSubServiceProviderEntityBookableChangedMessage.type.js +2 -0
  1071. package/dist/gcp/pubsub/types/entities/PubSubServiceProviderEntityIsNotCompliantAnymoreMessage.type.d.ts +3 -0
  1072. package/dist/gcp/pubsub/types/entities/PubSubServiceProviderEntityIsNotCompliantAnymoreMessage.type.js +2 -0
  1073. package/dist/gcp/pubsub/types/entities/PubSubServiceProviderEntityIsNowCompliantMessage.type.d.ts +3 -0
  1074. package/dist/gcp/pubsub/types/entities/PubSubServiceProviderEntityIsNowCompliantMessage.type.js +2 -0
  1075. package/dist/gcp/pubsub/types/entities/PubSubServiceProviderEntityStateRecomputeRequestedMessage.type.d.ts +3 -0
  1076. package/dist/gcp/pubsub/types/entities/PubSubServiceProviderEntityStateRecomputeRequestedMessage.type.js +2 -0
  1077. package/dist/gcp/pubsub/types/entities/PubSubServiceProviderUserComplianceRecomputeRequestedMessage.type.d.ts +4 -0
  1078. package/dist/gcp/pubsub/types/entities/PubSubServiceProviderUserComplianceRecomputeRequestedMessage.type.js +2 -0
  1079. package/dist/gcp/pubsub/types/entities/index.d.ts +2 -0
  1080. package/dist/gcp/pubsub/types/entities/index.js +2 -0
  1081. package/dist/gcp/pubsub/types/index.d.ts +1 -0
  1082. package/dist/gcp/pubsub/types/index.js +1 -0
  1083. package/dist/gcp/pubsub/types/orders/PubSubOrderExternalRefundFailedMessage.type.d.ts +5 -0
  1084. package/dist/gcp/pubsub/types/orders/PubSubOrderExternalRefundFailedMessage.type.js +2 -0
  1085. package/dist/gcp/pubsub/types/orders/PubSubOrderExternalRefundSucceededMessage.type.d.ts +5 -0
  1086. package/dist/gcp/pubsub/types/orders/PubSubOrderExternalRefundSucceededMessage.type.js +2 -0
  1087. package/dist/gcp/pubsub/types/orders/PubSubOrderInvoicedMessage.type.d.ts +3 -0
  1088. package/dist/gcp/pubsub/types/orders/PubSubOrderInvoicedMessage.type.js +2 -0
  1089. package/dist/gcp/pubsub/types/orders/PubSubOrderOperationalStateRecomputeRequestedMessage.type.d.ts +3 -0
  1090. package/dist/gcp/pubsub/types/orders/PubSubOrderOperationalStateRecomputeRequestedMessage.type.js +2 -0
  1091. package/dist/gcp/pubsub/types/orders/PubSubOrderRefundRequestedMessage.type.d.ts +3 -0
  1092. package/dist/gcp/pubsub/types/orders/PubSubOrderRefundRequestedMessage.type.js +2 -0
  1093. package/dist/gcp/pubsub/types/orders/PubSubProcessOrderRefundIntentMessage.type.d.ts +4 -0
  1094. package/dist/gcp/pubsub/types/orders/PubSubProcessOrderRefundIntentMessage.type.js +2 -0
  1095. package/dist/gcp/pubsub/types/orders/index.d.ts +5 -2
  1096. package/dist/gcp/pubsub/types/orders/index.js +5 -2
  1097. package/dist/gcp/pubsub/types/serviceProvider/PubSubServiceProviderBookedSlotReleaseRequestedMessage.type.d.ts +10 -0
  1098. package/dist/gcp/pubsub/types/serviceProvider/PubSubServiceProviderBookedSlotReleaseRequestedMessage.type.js +2 -0
  1099. package/dist/gcp/pubsub/types/serviceProvider/PubSubServiceProviderPublicProfileRecomputeRequestedMessage.type.d.ts +3 -0
  1100. package/dist/gcp/pubsub/types/serviceProvider/PubSubServiceProviderPublicProfileRecomputeRequestedMessage.type.js +2 -0
  1101. package/dist/gcp/pubsub/types/serviceProvider/PubSubServiceProviderPublicProfileResyncRequestedMessage.type.d.ts +3 -0
  1102. package/dist/gcp/pubsub/types/serviceProvider/PubSubServiceProviderPublicProfileResyncRequestedMessage.type.js +2 -0
  1103. package/dist/gcp/pubsub/types/serviceProvider/index.d.ts +2 -0
  1104. package/dist/gcp/pubsub/types/serviceProvider/index.js +18 -0
  1105. package/dist/gcp/pubsub/types/wallets/PubSubProcessWalletWithdrawalRequestMessage.type.d.ts +2 -0
  1106. package/dist/gcp/pubsub/types/wallets/PubSubWalletWithdrawalFailedMessage.type.d.ts +2 -0
  1107. package/dist/gcp/pubsub/types/wallets/PubSubWalletWithdrawalSucceededMessage.type.d.ts +2 -0
  1108. package/dist/gcp/pubsub/utils/stubs/entities/index.d.ts +2 -0
  1109. package/dist/gcp/pubsub/utils/stubs/entities/index.js +2 -0
  1110. package/dist/gcp/pubsub/utils/stubs/entities/pubSubEntityMemberProjectionResyncRequestedMessageStub.d.ts +2 -0
  1111. package/dist/gcp/pubsub/utils/stubs/entities/pubSubEntityMemberProjectionResyncRequestedMessageStub.js +10 -0
  1112. package/dist/gcp/pubsub/utils/stubs/entities/pubSubServiceProviderEntityBookableChangedMessageStub.d.ts +2 -0
  1113. package/dist/gcp/pubsub/utils/stubs/entities/pubSubServiceProviderEntityBookableChangedMessageStub.js +9 -0
  1114. package/dist/gcp/pubsub/utils/stubs/entities/pubSubServiceProviderEntityIsNotCompliantAnymoreMessageStub.d.ts +2 -0
  1115. package/dist/gcp/pubsub/utils/stubs/entities/pubSubServiceProviderEntityIsNotCompliantAnymoreMessageStub.js +9 -0
  1116. package/dist/gcp/pubsub/utils/stubs/entities/pubSubServiceProviderEntityIsNowCompliantMessageStub.d.ts +2 -0
  1117. package/dist/gcp/pubsub/utils/stubs/entities/pubSubServiceProviderEntityIsNowCompliantMessageStub.js +9 -0
  1118. package/dist/gcp/pubsub/utils/stubs/entities/pubSubServiceProviderEntityStateRecomputeRequestedMessageStub.d.ts +2 -0
  1119. package/dist/gcp/pubsub/utils/stubs/entities/pubSubServiceProviderEntityStateRecomputeRequestedMessageStub.js +9 -0
  1120. package/dist/gcp/pubsub/utils/stubs/entities/pubSubServiceProviderUserComplianceRecomputeRequestedMessageStub.d.ts +2 -0
  1121. package/dist/gcp/pubsub/utils/stubs/entities/pubSubServiceProviderUserComplianceRecomputeRequestedMessageStub.js +10 -0
  1122. package/dist/gcp/pubsub/utils/stubs/index.d.ts +6 -1
  1123. package/dist/gcp/pubsub/utils/stubs/index.js +6 -1
  1124. package/dist/gcp/pubsub/utils/stubs/pubSubOrderExternalRefundFailedMessageStub.d.ts +2 -0
  1125. package/dist/gcp/pubsub/utils/stubs/pubSubOrderExternalRefundFailedMessageStub.js +11 -0
  1126. package/dist/gcp/pubsub/utils/stubs/pubSubOrderExternalRefundSucceededMessageStub.d.ts +2 -0
  1127. package/dist/gcp/pubsub/utils/stubs/pubSubOrderExternalRefundSucceededMessageStub.js +11 -0
  1128. package/dist/gcp/pubsub/utils/stubs/pubSubOrderInvoicedMessageStub.d.ts +2 -0
  1129. package/dist/gcp/pubsub/utils/stubs/pubSubOrderInvoicedMessageStub.js +9 -0
  1130. package/dist/gcp/pubsub/utils/stubs/pubSubOrderOperationalStateRecomputeRequestedMessageStub.d.ts +2 -0
  1131. package/dist/gcp/pubsub/utils/stubs/pubSubOrderOperationalStateRecomputeRequestedMessageStub.js +9 -0
  1132. package/dist/gcp/pubsub/utils/stubs/pubSubOrderRefundRequestedMessageStub.d.ts +2 -0
  1133. package/dist/gcp/pubsub/utils/stubs/pubSubOrderRefundRequestedMessageStub.js +9 -0
  1134. package/dist/gcp/pubsub/utils/stubs/pubSubProcessOrderRefundIntentMessageStub.d.ts +2 -0
  1135. package/dist/gcp/pubsub/utils/stubs/pubSubProcessOrderRefundIntentMessageStub.js +10 -0
  1136. package/dist/gcp/pubsub/utils/stubs/serviceProvider/index.d.ts +2 -0
  1137. package/dist/gcp/pubsub/utils/stubs/serviceProvider/index.js +18 -0
  1138. package/dist/gcp/pubsub/utils/stubs/serviceProvider/pubSubServiceProviderBookedSlotReleaseRequestedMessageStub.d.ts +2 -0
  1139. package/dist/gcp/pubsub/utils/stubs/serviceProvider/pubSubServiceProviderBookedSlotReleaseRequestedMessageStub.js +15 -0
  1140. package/dist/gcp/pubsub/utils/stubs/serviceProvider/pubSubServiceProviderPublicProfileRecomputeRequestedMessageStub.d.ts +2 -0
  1141. package/dist/gcp/pubsub/utils/stubs/serviceProvider/pubSubServiceProviderPublicProfileRecomputeRequestedMessageStub.js +9 -0
  1142. package/dist/gcp/pubsub/utils/stubs/serviceProvider/pubSubServiceProviderPublicProfileResyncRequestedMessageStub.d.ts +2 -0
  1143. package/dist/gcp/pubsub/utils/stubs/serviceProvider/pubSubServiceProviderPublicProfileResyncRequestedMessageStub.js +9 -0
  1144. package/dist/gcp/pubsub/utils/stubs/wallets/pubSubProcessWalletWithdrawalRequestMessageStub.js +2 -0
  1145. package/dist/gcp/pubsub/utils/stubs/wallets/pubSubWalletWithdrawalFailedMessageStub.js +2 -0
  1146. package/dist/gcp/pubsub/utils/stubs/wallets/pubSubWalletWithdrawalSucceededMessageStub.js +2 -0
  1147. package/dist/gcp/types/GoogleAddressComponent.type.d.ts +6 -0
  1148. package/dist/gcp/types/GoogleAddressComponent.type.js +2 -0
  1149. package/dist/gcp/types/index.d.ts +1 -0
  1150. package/dist/gcp/types/index.js +17 -0
  1151. package/dist/gcp/utils/__tests__/getGoogleAddressComponentFromAddressComponentsList.test.d.ts +1 -0
  1152. package/dist/gcp/utils/__tests__/getGoogleAddressComponentFromAddressComponentsList.test.js +78 -0
  1153. package/dist/gcp/utils/getGoogleAddressComponentFromAddressComponentsList.d.ts +3 -0
  1154. package/dist/gcp/utils/getGoogleAddressComponentFromAddressComponentsList.js +6 -0
  1155. package/dist/gcp/utils/index.d.ts +2 -0
  1156. package/dist/gcp/utils/index.js +18 -0
  1157. package/dist/gcp/utils/types/GetGoogleAddressComponentFromAddressComponentsListParams.type.d.ts +6 -0
  1158. package/dist/gcp/utils/types/GetGoogleAddressComponentFromAddressComponentsListParams.type.js +2 -0
  1159. package/dist/gcp/utils/types/index.d.ts +1 -0
  1160. package/dist/gcp/utils/types/index.js +17 -0
  1161. package/dist/notifications/enums/CompanyNotificationEventType.d.ts +4 -0
  1162. package/dist/notifications/enums/CompanyNotificationEventType.js +8 -0
  1163. package/dist/notifications/enums/EntityNotificationEventType.d.ts +4 -1
  1164. package/dist/notifications/enums/EntityNotificationEventType.js +3 -0
  1165. package/dist/notifications/enums/NotificationChannels.enum.d.ts +5 -0
  1166. package/dist/notifications/enums/NotificationChannels.enum.js +9 -0
  1167. package/dist/notifications/enums/NotificationEventCategory.d.ts +4 -0
  1168. package/dist/notifications/enums/NotificationEventCategory.js +8 -0
  1169. package/dist/notifications/enums/ProfessionalNotificationEventType.d.ts +1 -2
  1170. package/dist/notifications/enums/ProfessionalNotificationEventType.js +0 -1
  1171. package/dist/notifications/enums/index.d.ts +1 -0
  1172. package/dist/notifications/enums/index.js +1 -0
  1173. package/dist/notifications/pushNotifications/enums/CompanyPushNotificationType.d.ts +4 -0
  1174. package/dist/notifications/pushNotifications/enums/CompanyPushNotificationType.js +8 -0
  1175. package/dist/notifications/pushNotifications/maps/CompanyPushNotificationDataMap.d.ts +1 -0
  1176. package/dist/notifications/pushNotifications/maps/CompanyPushNotificationDataMap.js +2 -0
  1177. package/dist/notifications/pushNotifications/types/company/CompanyVatVerificationFailedPushNotificationData.type.d.ts +4 -0
  1178. package/dist/notifications/pushNotifications/types/company/CompanyVatVerificationFailedPushNotificationData.type.js +2 -0
  1179. package/dist/notifications/pushNotifications/types/company/CompanyVatVerificationSucceededPushNotificationData.type.d.ts +4 -0
  1180. package/dist/notifications/pushNotifications/types/company/CompanyVatVerificationSucceededPushNotificationData.type.js +2 -0
  1181. package/dist/notifications/pushNotifications/types/company/index.d.ts +2 -0
  1182. package/dist/notifications/pushNotifications/types/company/index.js +18 -0
  1183. package/dist/notifications/pushNotifications/types/customer/CustomerEntityVatVerificationFailedPushNotificationData.type.d.ts +4 -0
  1184. package/dist/notifications/pushNotifications/types/customer/CustomerEntityVatVerificationFailedPushNotificationData.type.js +2 -0
  1185. package/dist/notifications/pushNotifications/types/customer/CustomerEntityVatVerificationSucceededPushNotificationData.type.d.ts +4 -0
  1186. package/dist/notifications/pushNotifications/types/customer/CustomerEntityVatVerificationSucceededPushNotificationData.type.js +2 -0
  1187. package/dist/notifications/pushNotifications/types/professional/ProfessionalEntityVatVerificationFailedPushNotificationData.type.d.ts +4 -0
  1188. package/dist/notifications/pushNotifications/types/professional/ProfessionalEntityVatVerificationFailedPushNotificationData.type.js +2 -0
  1189. package/dist/notifications/pushNotifications/types/professional/ProfessionalEntityVatVerificationSucceededPushNotificationData.type.d.ts +4 -0
  1190. package/dist/notifications/pushNotifications/types/professional/ProfessionalEntityVatVerificationSucceededPushNotificationData.type.js +2 -0
  1191. package/dist/pricing/__tests__/calculateInvoiceTotalWithTax.test.d.ts +1 -0
  1192. package/dist/pricing/__tests__/calculateInvoiceTotalWithTax.test.js +955 -0
  1193. package/dist/pricing/__tests__/calculateInvoiceTotalWithTax.util.test.js +20 -20
  1194. package/dist/pricing/__tests__/computeOrderPaymentBreakdownWithPlatformBalance.test.d.ts +1 -0
  1195. package/dist/pricing/__tests__/computeOrderPaymentBreakdownWithPlatformBalance.test.js +58 -0
  1196. package/dist/pricing/__tests__/computeOrderPaymentBreakdownWithPlatformBalance.util.test.d.ts +1 -0
  1197. package/dist/pricing/__tests__/computeOrderPaymentBreakdownWithPlatformBalance.util.test.js +58 -0
  1198. package/dist/pricing/calculateInvoiceTotalWithTax.d.ts +1 -1
  1199. package/dist/pricing/calculateInvoiceTotalWithTax.js +2 -2
  1200. package/dist/pricing/computeOrderPaymentBreakdownWithPlatformBalance.d.ts +6 -0
  1201. package/dist/pricing/computeOrderPaymentBreakdownWithPlatformBalance.js +22 -0
  1202. package/dist/pricing/index.d.ts +1 -0
  1203. package/dist/pricing/index.js +1 -0
  1204. package/dist/pricing/types/CalculateInvoiceTotalsWithTaxParams.type.d.ts +1 -1
  1205. package/dist/pricing/types/ComputeOrderPaymentBreakdownWithPlatformBalanceParams.type.d.ts +5 -0
  1206. package/dist/pricing/types/ComputeOrderPaymentBreakdownWithPlatformBalanceParams.type.js +2 -0
  1207. package/dist/pricing/types/ComputeOrderPaymentBreakdownWithPlatformBalanceResult.type.d.ts +6 -0
  1208. package/dist/pricing/types/ComputeOrderPaymentBreakdownWithPlatformBalanceResult.type.js +2 -0
  1209. package/dist/pricing/types/index.d.ts +2 -0
  1210. package/dist/pricing/types/index.js +2 -0
  1211. package/dist/pricing/utils/applyBasisPointsRateHalfUp.util.js +1 -1
  1212. package/dist/pricing/utils/calculateMarketplaceFeeWithTax.util.js +1 -1
  1213. package/dist/pricing/utils/stubs/computeOrderPaymentBreakdownWithPlatformBalanceStub.d.ts +2 -0
  1214. package/dist/pricing/utils/stubs/computeOrderPaymentBreakdownWithPlatformBalanceStub.js +12 -0
  1215. package/dist/pricing/utils/stubs/index.d.ts +1 -0
  1216. package/dist/pricing/utils/stubs/index.js +1 -0
  1217. package/dist/stripe/types/StripeCustomPaymentIntentMetadata.type.d.ts +3 -1
  1218. package/dist/stripe/types/StripeCustomProfessionalPayoutMetadata.type.d.ts +2 -0
  1219. package/dist/stripe/types/StripeCustomRefundMetadata.type.d.ts +8 -0
  1220. package/dist/stripe/types/StripeCustomRefundMetadata.type.js +2 -0
  1221. package/dist/stripe/types/StripeCustomServiceProviderPayoutMetadata.type.d.ts +5 -0
  1222. package/dist/stripe/types/StripeCustomServiceProviderPayoutMetadata.type.js +2 -0
  1223. package/dist/stripe/types/index.d.ts +2 -1
  1224. package/dist/stripe/types/index.js +2 -1
  1225. package/dist/utils/format/__tests__/escapeHtml.test.d.ts +1 -0
  1226. package/dist/utils/format/__tests__/escapeHtml.test.js +32 -0
  1227. package/dist/utils/format/__tests__/formatApproximateAddress.test.d.ts +1 -0
  1228. package/dist/utils/format/__tests__/formatApproximateAddress.test.js +45 -0
  1229. package/dist/utils/format/__tests__/formatFullName.test.d.ts +1 -0
  1230. package/dist/utils/format/__tests__/formatFullName.test.js +20 -0
  1231. package/dist/utils/format/__tests__/formatObfuscatedFullName.test.d.ts +1 -0
  1232. package/dist/utils/format/__tests__/formatObfuscatedFullName.test.js +26 -0
  1233. package/dist/utils/format/__tests__/formatObfuscatedLicensePlate.test.d.ts +1 -0
  1234. package/dist/utils/format/__tests__/formatObfuscatedLicensePlate.test.js +32 -0
  1235. package/dist/utils/format/__tests__/formatPriceInCents.test.d.ts +1 -0
  1236. package/dist/utils/format/__tests__/formatPriceInCents.test.js +34 -0
  1237. package/dist/utils/format/escapeHtml.d.ts +1 -0
  1238. package/dist/utils/format/escapeHtml.js +11 -0
  1239. package/dist/utils/format/formatApproximateAddress.d.ts +2 -0
  1240. package/dist/utils/format/formatApproximateAddress.js +35 -0
  1241. package/dist/utils/format/formatFullName.d.ts +2 -0
  1242. package/dist/utils/format/formatFullName.js +14 -0
  1243. package/dist/utils/format/formatObfuscatedFullName.d.ts +2 -0
  1244. package/dist/utils/format/formatObfuscatedFullName.js +28 -0
  1245. package/dist/utils/format/formatObfuscatedLicensePlate.d.ts +1 -0
  1246. package/dist/utils/format/formatObfuscatedLicensePlate.js +26 -0
  1247. package/dist/utils/format/formatPriceInCents.d.ts +2 -0
  1248. package/dist/utils/format/formatPriceInCents.js +28 -0
  1249. package/dist/utils/format/index.d.ts +7 -2
  1250. package/dist/utils/format/index.js +7 -2
  1251. package/dist/utils/format/types/FormatApproximateAddressParams.type.d.ts +9 -0
  1252. package/dist/utils/format/types/FormatApproximateAddressParams.type.js +2 -0
  1253. package/dist/utils/format/types/FormatFullNameParams.type.d.ts +4 -0
  1254. package/dist/utils/format/types/FormatFullNameParams.type.js +2 -0
  1255. package/dist/utils/format/types/FormatObfuscatedFullNameParams.type.d.ts +4 -0
  1256. package/dist/utils/format/types/FormatObfuscatedFullNameParams.type.js +2 -0
  1257. package/dist/utils/format/types/index.d.ts +3 -0
  1258. package/dist/utils/format/types/index.js +19 -0
  1259. package/dist/utils/vat/__tests__/extractVATNumber.util.test.d.ts +1 -0
  1260. package/dist/utils/vat/__tests__/extractVATNumber.util.test.js +39 -0
  1261. package/dist/utils/vat/__tests__/validateVATFormat.util.test.d.ts +1 -0
  1262. package/dist/utils/vat/__tests__/validateVATFormat.util.test.js +329 -0
  1263. package/dist/utils/vat/extractVATNumber.util.d.ts +4 -0
  1264. package/dist/utils/vat/extractVATNumber.util.js +10 -0
  1265. package/dist/utils/vat/types/ValidateVATFormatArgs.type.d.ts +4 -0
  1266. package/dist/utils/vat/types/ValidateVATFormatArgs.type.js +2 -0
  1267. package/dist/utils/vat/validateVATFormat.util.d.ts +2 -0
  1268. package/dist/utils/vat/validateVATFormat.util.js +24 -0
  1269. package/package.json +1 -1
@@ -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,21 +46,21 @@ 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
  };
53
53
  const domesticCases = [
54
54
  {
55
55
  only: false,
56
- name: "When customer is vat exempted, it should not have an impact on pro vat and marketplace fee vat because domestic",
56
+ name: "When customer is vat exempted, it should not have an impact on service provider vat and marketplace fee vat because domestic",
57
57
  params: {
58
58
  ...BASE_PARAMS,
59
59
  prestationCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
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: {
@@ -123,14 +123,14 @@ const domesticCases = [
123
123
  },
124
124
  {
125
125
  only: false,
126
- name: "professional not vat exempted, services should be taxed",
126
+ name: "service provider not vat exempted, services should be taxed",
127
127
  params: {
128
128
  ...BASE_PARAMS,
129
129
  prestationCountry: enums_1.SupportedCountryIsoCodes.FRANCE,
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: {
@@ -391,7 +391,7 @@ const domesticCases = [
391
391
  },
392
392
  },
393
393
  {
394
- name: "pro vat exempted, services should not be taxed, only marketplace fees",
394
+ name: "service provider vat exempted, services should not be taxed, only marketplace fees",
395
395
  only: false,
396
396
  params: {
397
397
  ...BASE_PARAMS,
@@ -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]: {
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const stubs_1 = require("../utils/stubs");
4
+ const computeOrderPaymentBreakdownWithPlatformBalance_1 = require("../computeOrderPaymentBreakdownWithPlatformBalance");
5
+ describe("computeOrderPaymentBreakdownWithPlatformBalance", () => {
6
+ const invoiceTotals = (0, stubs_1.calculateInvoiceTotalWithTaxStub)({
7
+ totalPostTaxInCents: 1_800,
8
+ totalMarketplaceFeePostTaxInCents: 600,
9
+ });
10
+ it("should not apply balance when available balance is zero", () => {
11
+ expect((0, computeOrderPaymentBreakdownWithPlatformBalance_1.computeOrderPaymentBreakdownWithPlatformBalance)({
12
+ availablePlatformBalanceInCents: 0,
13
+ invoiceTotals,
14
+ })).toEqual({
15
+ totalAmountToPayInCents: 1_800,
16
+ remainingAmountToPayInCents: 1_800,
17
+ remainingMarketplaceFeeAmountInCents: 600,
18
+ platformBalanceAppliedInCents: 0,
19
+ });
20
+ });
21
+ it("should apply partial balance when available balance is below marketplace fee", () => {
22
+ expect((0, computeOrderPaymentBreakdownWithPlatformBalance_1.computeOrderPaymentBreakdownWithPlatformBalance)({
23
+ availablePlatformBalanceInCents: 200,
24
+ invoiceTotals,
25
+ })).toEqual({
26
+ totalAmountToPayInCents: 1_800,
27
+ remainingAmountToPayInCents: 1_600,
28
+ remainingMarketplaceFeeAmountInCents: 400,
29
+ platformBalanceAppliedInCents: 200,
30
+ });
31
+ });
32
+ it("should cap applied balance at marketplace fee post tax", () => {
33
+ expect((0, computeOrderPaymentBreakdownWithPlatformBalance_1.computeOrderPaymentBreakdownWithPlatformBalance)({
34
+ availablePlatformBalanceInCents: 5_000,
35
+ invoiceTotals,
36
+ })).toEqual({
37
+ totalAmountToPayInCents: 1_800,
38
+ remainingAmountToPayInCents: 1_200,
39
+ remainingMarketplaceFeeAmountInCents: 0,
40
+ platformBalanceAppliedInCents: 600,
41
+ });
42
+ });
43
+ it("should not apply balance when marketplace fee post tax is zero", () => {
44
+ const zeroFeeInvoiceTotals = (0, stubs_1.calculateInvoiceTotalWithTaxStub)({
45
+ totalPostTaxInCents: 1_200,
46
+ totalMarketplaceFeePostTaxInCents: 0,
47
+ });
48
+ expect((0, computeOrderPaymentBreakdownWithPlatformBalance_1.computeOrderPaymentBreakdownWithPlatformBalance)({
49
+ availablePlatformBalanceInCents: 500,
50
+ invoiceTotals: zeroFeeInvoiceTotals,
51
+ })).toEqual({
52
+ totalAmountToPayInCents: 1_200,
53
+ remainingAmountToPayInCents: 1_200,
54
+ remainingMarketplaceFeeAmountInCents: 0,
55
+ platformBalanceAppliedInCents: 0,
56
+ });
57
+ });
58
+ });
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const stubs_1 = require("../utils/stubs");
4
+ const computeOrderPaymentBreakdownWithPlatformBalance_1 = require("../computeOrderPaymentBreakdownWithPlatformBalance");
5
+ describe("computeOrderPaymentBreakdownWithPlatformBalance", () => {
6
+ const invoiceTotals = (0, stubs_1.calculateInvoiceTotalWithTaxStub)({
7
+ totalPostTaxInCents: 1_800,
8
+ totalMarketplaceFeePostTaxInCents: 600,
9
+ });
10
+ it("should not apply balance when available balance is zero", () => {
11
+ expect((0, computeOrderPaymentBreakdownWithPlatformBalance_1.computeOrderPaymentBreakdownWithPlatformBalance)({
12
+ availablePlatformBalanceInCents: 0,
13
+ invoiceTotals,
14
+ })).toEqual({
15
+ totalAmountToPayInCents: 1_800,
16
+ remainingAmountToPayInCents: 1_800,
17
+ remainingMarketplaceFeeAmountInCents: 600,
18
+ platformBalanceAppliedInCents: 0,
19
+ });
20
+ });
21
+ it("should apply partial balance when available balance is below marketplace fee", () => {
22
+ expect((0, computeOrderPaymentBreakdownWithPlatformBalance_1.computeOrderPaymentBreakdownWithPlatformBalance)({
23
+ availablePlatformBalanceInCents: 200,
24
+ invoiceTotals,
25
+ })).toEqual({
26
+ totalAmountToPayInCents: 1_800,
27
+ remainingAmountToPayInCents: 1_600,
28
+ remainingMarketplaceFeeAmountInCents: 400,
29
+ platformBalanceAppliedInCents: 200,
30
+ });
31
+ });
32
+ it("should cap applied balance at marketplace fee post tax", () => {
33
+ expect((0, computeOrderPaymentBreakdownWithPlatformBalance_1.computeOrderPaymentBreakdownWithPlatformBalance)({
34
+ availablePlatformBalanceInCents: 5_000,
35
+ invoiceTotals,
36
+ })).toEqual({
37
+ totalAmountToPayInCents: 1_800,
38
+ remainingAmountToPayInCents: 1_200,
39
+ remainingMarketplaceFeeAmountInCents: 0,
40
+ platformBalanceAppliedInCents: 600,
41
+ });
42
+ });
43
+ it("should not apply balance when marketplace fee post tax is zero", () => {
44
+ const zeroFeeInvoiceTotals = (0, stubs_1.calculateInvoiceTotalWithTaxStub)({
45
+ totalPostTaxInCents: 1_200,
46
+ totalMarketplaceFeePostTaxInCents: 0,
47
+ });
48
+ expect((0, computeOrderPaymentBreakdownWithPlatformBalance_1.computeOrderPaymentBreakdownWithPlatformBalance)({
49
+ availablePlatformBalanceInCents: 500,
50
+ invoiceTotals: zeroFeeInvoiceTotals,
51
+ })).toEqual({
52
+ totalAmountToPayInCents: 1_200,
53
+ remainingAmountToPayInCents: 1_200,
54
+ remainingMarketplaceFeeAmountInCents: 0,
55
+ platformBalanceAppliedInCents: 0,
56
+ });
57
+ });
58
+ });
@@ -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);
@@ -0,0 +1,6 @@
1
+ import type { ComputeOrderPaymentBreakdownWithPlatformBalanceParams, ComputeOrderPaymentBreakdownWithPlatformBalanceResult } from "./types";
2
+ /**
3
+ * Allocates customer platform balance against the marketplace fee portion of an order.
4
+ * Credits never reduce the service provider payout slice; unused balance stays on the entity.
5
+ */
6
+ export declare function computeOrderPaymentBreakdownWithPlatformBalance({ availablePlatformBalanceInCents, invoiceTotals, }: ComputeOrderPaymentBreakdownWithPlatformBalanceParams): ComputeOrderPaymentBreakdownWithPlatformBalanceResult;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.computeOrderPaymentBreakdownWithPlatformBalance = computeOrderPaymentBreakdownWithPlatformBalance;
4
+ /**
5
+ * Allocates customer platform balance against the marketplace fee portion of an order.
6
+ * Credits never reduce the service provider payout slice; unused balance stays on the entity.
7
+ */
8
+ function computeOrderPaymentBreakdownWithPlatformBalance({ availablePlatformBalanceInCents, invoiceTotals, }) {
9
+ const totalAmountToPayInCents = invoiceTotals.totalPostTaxInCents;
10
+ const platformBalanceAppliedInCents = availablePlatformBalanceInCents > 0
11
+ ? Math.min(availablePlatformBalanceInCents, invoiceTotals.totalMarketplaceFeePostTaxInCents)
12
+ : 0;
13
+ const remainingAmountToPayInCents = totalAmountToPayInCents - platformBalanceAppliedInCents;
14
+ const remainingMarketplaceFeeAmountInCents = invoiceTotals.totalMarketplaceFeePostTaxInCents -
15
+ platformBalanceAppliedInCents;
16
+ return {
17
+ totalAmountToPayInCents,
18
+ remainingAmountToPayInCents,
19
+ remainingMarketplaceFeeAmountInCents,
20
+ platformBalanceAppliedInCents,
21
+ };
22
+ }
@@ -1,5 +1,6 @@
1
1
  export * from "./types";
2
2
  export * from "./utils";
3
3
  export * from "./calculateInvoiceTotalWithTax";
4
+ export * from "./computeOrderPaymentBreakdownWithPlatformBalance";
4
5
  export * from "./constants";
5
6
  export * from "./enums";
@@ -17,5 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./types"), exports);
18
18
  __exportStar(require("./utils"), exports);
19
19
  __exportStar(require("./calculateInvoiceTotalWithTax"), exports);
20
+ __exportStar(require("./computeOrderPaymentBreakdownWithPlatformBalance"), exports);
20
21
  __exportStar(require("./constants"), exports);
21
22
  __exportStar(require("./enums"), exports);
@@ -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
  };
@@ -0,0 +1,5 @@
1
+ import type { CalculateInvoiceTotalsWithTaxResult } from "./CalculateInvoiceTotalsWithTaxResult.type";
2
+ export type ComputeOrderPaymentBreakdownWithPlatformBalanceParams = {
3
+ availablePlatformBalanceInCents: number;
4
+ invoiceTotals: Pick<CalculateInvoiceTotalsWithTaxResult, "totalPostTaxInCents" | "totalMarketplaceFeePostTaxInCents">;
5
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export type ComputeOrderPaymentBreakdownWithPlatformBalanceResult = {
2
+ totalAmountToPayInCents: number;
3
+ remainingAmountToPayInCents: number;
4
+ remainingMarketplaceFeeAmountInCents: number;
5
+ platformBalanceAppliedInCents: number;
6
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,6 @@
1
1
  export * from "./CalculateInvoiceTotalsWithTaxParams.type";
2
2
  export * from "./CalculateInvoiceTotalsWithTaxResult.type";
3
+ export * from "./ComputeOrderPaymentBreakdownWithPlatformBalanceParams.type";
4
+ export * from "./ComputeOrderPaymentBreakdownWithPlatformBalanceResult.type";
3
5
  export * from "./PricingPostTaxLine.type";
4
6
  export * from "./PricingPreTaxLine.type";
@@ -16,5 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./CalculateInvoiceTotalsWithTaxParams.type"), exports);
18
18
  __exportStar(require("./CalculateInvoiceTotalsWithTaxResult.type"), exports);
19
+ __exportStar(require("./ComputeOrderPaymentBreakdownWithPlatformBalanceParams.type"), exports);
20
+ __exportStar(require("./ComputeOrderPaymentBreakdownWithPlatformBalanceResult.type"), exports);
19
21
  __exportStar(require("./PricingPostTaxLine.type"), exports);
20
22
  __exportStar(require("./PricingPreTaxLine.type"), exports);
@@ -8,5 +8,5 @@ function applyBasisPointsRateHalfUp({ amountInCents, rateBasisPoints, }) {
8
8
  if (rateBasisPoints < 0 || rateBasisPoints > 10_000) {
9
9
  throw new Error("rateBasisPoints must be between 0 and 10000");
10
10
  }
11
- return Math.floor((amountInCents * rateBasisPoints + 5_000) / 10_000);
11
+ return Math.round((amountInCents * rateBasisPoints) / 10_000);
12
12
  }
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ import type { ComputeOrderPaymentBreakdownWithPlatformBalanceResult } from "../../types";
2
+ export declare function computeOrderPaymentBreakdownWithPlatformBalanceStub(overwrite?: Partial<ComputeOrderPaymentBreakdownWithPlatformBalanceResult>): ComputeOrderPaymentBreakdownWithPlatformBalanceResult;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.computeOrderPaymentBreakdownWithPlatformBalanceStub = computeOrderPaymentBreakdownWithPlatformBalanceStub;
4
+ function computeOrderPaymentBreakdownWithPlatformBalanceStub(overwrite = {}) {
5
+ return {
6
+ totalAmountToPayInCents: 0,
7
+ remainingAmountToPayInCents: 0,
8
+ remainingMarketplaceFeeAmountInCents: 0,
9
+ platformBalanceAppliedInCents: 0,
10
+ ...overwrite,
11
+ };
12
+ }
@@ -1,3 +1,4 @@
1
1
  export * from "./calculateInvoiceTotalWithTaxStub";
2
+ export * from "./computeOrderPaymentBreakdownWithPlatformBalanceStub";
2
3
  export * from "./pricingPostTaxLineStub";
3
4
  export * from "./pricingPreTaxLineStub";
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./calculateInvoiceTotalWithTaxStub"), exports);
18
+ __exportStar(require("./computeOrderPaymentBreakdownWithPlatformBalanceStub"), exports);
18
19
  __exportStar(require("./pricingPostTaxLineStub"), exports);
19
20
  __exportStar(require("./pricingPreTaxLineStub"), exports);
@@ -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
  };
@@ -0,0 +1,8 @@
1
+ export type StripeCustomRefundMetadata = {
2
+ orderDocumentId: string;
3
+ orderRefundIntentDocumentId: string;
4
+ firestoreCustomerUserDocumentId: string;
5
+ firestoreCustomerEntityDocumentId: string;
6
+ firestoreServiceProviderUserDocumentId: string;
7
+ firestoreServiceProviderEntityDocumentId: string;
8
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export type StripeCustomServiceProviderPayoutMetadata = {
2
+ walletWithdrawalIntentDocumentId: string;
3
+ entityDocumentId: string;
4
+ walletDocumentId: string;
5
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +1,3 @@
1
1
  export * from "./StripeCustomPaymentIntentMetadata.type";
2
- export * from "./StripeCustomProfessionalPayoutMetadata.type";
2
+ export * from "./StripeCustomRefundMetadata.type";
3
+ export * from "./StripeCustomServiceProviderPayoutMetadata.type";
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./StripeCustomPaymentIntentMetadata.type"), exports);
18
- __exportStar(require("./StripeCustomProfessionalPayoutMetadata.type"), exports);
18
+ __exportStar(require("./StripeCustomRefundMetadata.type"), exports);
19
+ __exportStar(require("./StripeCustomServiceProviderPayoutMetadata.type"), exports);
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /* eslint-disable quotes */
4
+ const escapeHtml_1 = require("../escapeHtml");
5
+ describe("escapeHtml", () => {
6
+ it("should escape all HTML special characters", () => {
7
+ const input = `<div class="test" onclick='alert("x")'>& content</div>`;
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_1.escapeHtml)(input)).toBe(expected);
10
+ });
11
+ it("should escape only ampersand", () => {
12
+ expect((0, escapeHtml_1.escapeHtml)("Rock & Roll")).toBe("Rock &amp; Roll");
13
+ });
14
+ it("should escape only angle brackets", () => {
15
+ expect((0, escapeHtml_1.escapeHtml)("5 < 10 > 3")).toBe("5 &lt; 10 &gt; 3");
16
+ });
17
+ it("should escape both single and double quotes", () => {
18
+ expect((0, escapeHtml_1.escapeHtml)('She said: "It\'s fine"')).toBe("She said: &quot;It&#39;s fine&quot;");
19
+ });
20
+ it("should return the same string if there are no special characters", () => {
21
+ const input = "Hello world 123 !?";
22
+ expect((0, escapeHtml_1.escapeHtml)(input)).toBe(input);
23
+ });
24
+ it("should handle an empty string", () => {
25
+ expect((0, escapeHtml_1.escapeHtml)("")).toBe("");
26
+ });
27
+ it("should handle a string with only special characters", () => {
28
+ const input = "&<>\"'";
29
+ const expected = "&amp;&lt;&gt;&quot;&#39;";
30
+ expect((0, escapeHtml_1.escapeHtml)(input)).toBe(expected);
31
+ });
32
+ });
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const formatApproximateAddress_1 = require("../formatApproximateAddress");
4
+ describe("formatApproximateAddress", () => {
5
+ it("joins city and district with a bullet separator", () => {
6
+ expect((0, formatApproximateAddress_1.formatApproximateAddress)({
7
+ city: "Madrid",
8
+ district: "Salamanca",
9
+ })).toBe("Madrid • Salamanca");
10
+ });
11
+ it("returns only the city when no other fields are set", () => {
12
+ expect((0, formatApproximateAddress_1.formatApproximateAddress)({ city: "Barcelona" })).toBe("Barcelona");
13
+ });
14
+ it("returns only the country when it is the only field", () => {
15
+ expect((0, formatApproximateAddress_1.formatApproximateAddress)({ country: "France" })).toBe("France");
16
+ });
17
+ it("never includes street name in the output", () => {
18
+ expect((0, formatApproximateAddress_1.formatApproximateAddress)({
19
+ city: "Paris",
20
+ streetName: "10 Rue de Rivoli",
21
+ })).toBe("Paris");
22
+ });
23
+ it("appends administrative areas and postal code in a stable order", () => {
24
+ expect((0, formatApproximateAddress_1.formatApproximateAddress)({
25
+ city: "Lyon",
26
+ district: "Part-Dieu",
27
+ administrativeAreaLevel2: "Métropole",
28
+ administrativeAreaLevel1: "Auvergne-Rhône-Alpes",
29
+ postalCode: "69003",
30
+ country: "France",
31
+ })).toBe("Lyon • Part-Dieu • Métropole • Auvergne-Rhône-Alpes • 69003 • France");
32
+ });
33
+ it("skips empty, null, or whitespace-only fields", () => {
34
+ expect((0, formatApproximateAddress_1.formatApproximateAddress)({
35
+ city: " Toulouse ",
36
+ district: " ",
37
+ country: null,
38
+ })).toBe("Toulouse");
39
+ });
40
+ it("returns empty string when no usable fields are present", () => {
41
+ expect((0, formatApproximateAddress_1.formatApproximateAddress)({
42
+ streetName: "Secret Street",
43
+ })).toBe("");
44
+ });
45
+ });
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const formatFullName_1 = require("../formatFullName");
4
+ describe("formatFullName", () => {
5
+ it("joins first and last name with a space", () => {
6
+ expect((0, formatFullName_1.formatFullName)({ firstName: "John", lastName: "Doe" })).toBe("John Doe");
7
+ });
8
+ it("returns only first name when last name is missing", () => {
9
+ expect((0, formatFullName_1.formatFullName)({ firstName: "John" })).toBe("John");
10
+ });
11
+ it("returns only last name when first name is missing", () => {
12
+ expect((0, formatFullName_1.formatFullName)({ lastName: "Doe" })).toBe("Doe");
13
+ });
14
+ it("returns empty string when both are missing", () => {
15
+ expect((0, formatFullName_1.formatFullName)({})).toBe("");
16
+ });
17
+ it("trims whitespace on parts", () => {
18
+ expect((0, formatFullName_1.formatFullName)({ firstName: " John ", lastName: " Doe " })).toBe("John Doe");
19
+ });
20
+ });