@doctocar/tooling 0.3.1-5 → 0.3.1-6

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 (172) hide show
  1. package/dist/emails/enums/AWSSESEmailsTemplatesNames.enum.d.ts +1 -0
  2. package/dist/emails/enums/AWSSESEmailsTemplatesNames.enum.js +1 -0
  3. package/dist/emails/maps/EmailTemplateDataMap.map.d.ts +2 -1
  4. package/dist/emails/types/entity/EntityMemberInviteEmailData.type.d.ts +8 -0
  5. package/dist/emails/types/entity/index.d.ts +1 -0
  6. package/dist/emails/types/entity/index.js +1 -0
  7. package/dist/errors/enums/cloudFunctions/entities/CreateEntityMemberInviteErrorCodes.enum.d.ts +16 -0
  8. package/dist/errors/enums/cloudFunctions/entities/CreateEntityMemberInviteErrorCodes.enum.js +20 -0
  9. package/dist/errors/enums/cloudFunctions/{customers/CreateCustomerVehicleErrorCodes.enum.d.ts → entities/CreateEntityVehicleErrorCodes.enum.d.ts} +4 -1
  10. package/dist/errors/enums/cloudFunctions/entities/CreateEntityVehicleErrorCodes.enum.js +21 -0
  11. package/dist/errors/enums/cloudFunctions/entities/CreateNewEntityErrorCodes.enum.d.ts +7 -1
  12. package/dist/errors/enums/cloudFunctions/entities/CreateNewEntityErrorCodes.enum.js +6 -0
  13. package/dist/errors/enums/cloudFunctions/entities/DeleteEntityVehicleErrorCodes.enum.d.ts +10 -0
  14. package/dist/errors/enums/cloudFunctions/entities/DeleteEntityVehicleErrorCodes.enum.js +14 -0
  15. package/dist/errors/enums/cloudFunctions/entities/JoinEntityErrorCodes.enum.d.ts +13 -0
  16. package/dist/errors/enums/cloudFunctions/entities/JoinEntityErrorCodes.enum.js +17 -0
  17. package/dist/errors/enums/cloudFunctions/entities/RevokeEntityMemberErrorCodes.enum.d.ts +11 -0
  18. package/dist/errors/enums/cloudFunctions/entities/RevokeEntityMemberErrorCodes.enum.js +15 -0
  19. package/dist/errors/enums/cloudFunctions/entities/RevokeEntityMemberInviteErrorCodes.enum.d.ts +13 -0
  20. package/dist/errors/enums/cloudFunctions/entities/RevokeEntityMemberInviteErrorCodes.enum.js +17 -0
  21. package/dist/errors/enums/cloudFunctions/entities/TransferEntityOwnershipErrorCodes.enum.d.ts +11 -0
  22. package/dist/errors/enums/cloudFunctions/entities/TransferEntityOwnershipErrorCodes.enum.js +15 -0
  23. package/dist/errors/enums/cloudFunctions/entities/UpdateEntityMemberErrorCodes.enum.d.ts +13 -0
  24. package/dist/errors/enums/cloudFunctions/entities/UpdateEntityMemberErrorCodes.enum.js +17 -0
  25. package/dist/errors/enums/cloudFunctions/{customers/UpdateCustomerVehicleErrorCodes.enum.d.ts → entities/UpdateEntityVehicleErrorCodes.enum.d.ts} +5 -2
  26. package/dist/errors/enums/cloudFunctions/entities/UpdateEntityVehicleErrorCodes.enum.js +21 -0
  27. package/dist/errors/enums/cloudFunctions/entities/index.d.ts +9 -0
  28. package/dist/errors/enums/cloudFunctions/entities/index.js +9 -0
  29. package/dist/errors/enums/cloudFunctions/index.d.ts +0 -1
  30. package/dist/errors/enums/cloudFunctions/index.js +0 -1
  31. package/dist/errors/enums/cloudFunctions/users/UpdateUserIdentityErrorCodes.enum.d.ts +6 -1
  32. package/dist/errors/enums/cloudFunctions/users/UpdateUserIdentityErrorCodes.enum.js +5 -0
  33. package/dist/firebase/cloudFunctions/enums/OnCallCloudFunctionsNames.enum.d.ts +9 -3
  34. package/dist/firebase/cloudFunctions/enums/OnCallCloudFunctionsNames.enum.js +9 -4
  35. package/dist/firebase/cloudFunctions/maps/OnCallCloudFunctionsTypeMappings.map.d.ts +41 -17
  36. package/dist/firebase/cloudFunctions/types/entities/CreateEntityMemberInviteRequestData.type.d.ts +7 -0
  37. package/dist/firebase/cloudFunctions/types/entities/CreateEntityMemberInviteResponseData.type.d.ts +1 -0
  38. package/dist/firebase/cloudFunctions/types/entities/CreateEntityVehiclePayload.type.d.ts +11 -0
  39. package/dist/firebase/cloudFunctions/types/entities/CreateEntityVehicleRequestData.type.d.ts +3 -0
  40. package/dist/firebase/cloudFunctions/types/entities/CreateEntityVehicleResponseData.type.d.ts +3 -0
  41. package/dist/firebase/cloudFunctions/types/entities/CreateNewEntityPayload.type.d.ts +4 -0
  42. package/dist/firebase/cloudFunctions/types/entities/DeleteEntityVehiclePayload.type.d.ts +4 -0
  43. package/dist/firebase/cloudFunctions/types/entities/DeleteEntityVehiclePayload.type.js +2 -0
  44. package/dist/firebase/cloudFunctions/types/entities/DeleteEntityVehicleRequestData.type.d.ts +3 -0
  45. package/dist/firebase/cloudFunctions/types/entities/DeleteEntityVehicleRequestData.type.js +2 -0
  46. package/dist/firebase/cloudFunctions/types/entities/DeleteEntityVehicleResponseData.type.d.ts +1 -0
  47. package/dist/firebase/cloudFunctions/types/entities/DeleteEntityVehicleResponseData.type.js +2 -0
  48. package/dist/firebase/cloudFunctions/types/entities/JoinEntityRequestData.type.d.ts +4 -0
  49. package/dist/firebase/cloudFunctions/types/entities/JoinEntityRequestData.type.js +2 -0
  50. package/dist/firebase/cloudFunctions/types/entities/JoinEntityResponseData.type.d.ts +3 -0
  51. package/dist/firebase/cloudFunctions/types/entities/JoinEntityResponseData.type.js +2 -0
  52. package/dist/firebase/cloudFunctions/types/entities/RevokeEntityMemberInviteRequestData.type.d.ts +5 -0
  53. package/dist/firebase/cloudFunctions/types/entities/RevokeEntityMemberInviteRequestData.type.js +2 -0
  54. package/dist/firebase/cloudFunctions/types/entities/RevokeEntityMemberInviteResponseData.type.d.ts +1 -0
  55. package/dist/firebase/cloudFunctions/types/entities/RevokeEntityMemberInviteResponseData.type.js +2 -0
  56. package/dist/firebase/cloudFunctions/types/entities/RevokeEntityMemberRequestData.type.d.ts +5 -0
  57. package/dist/firebase/cloudFunctions/types/entities/RevokeEntityMemberRequestData.type.js +2 -0
  58. package/dist/firebase/cloudFunctions/types/entities/RevokeEntityMemberResponseData.type.d.ts +1 -0
  59. package/dist/firebase/cloudFunctions/types/entities/RevokeEntityMemberResponseData.type.js +2 -0
  60. package/dist/firebase/cloudFunctions/types/entities/TransferEntityOwnershipRequestData.type.d.ts +5 -0
  61. package/dist/firebase/cloudFunctions/types/entities/TransferEntityOwnershipRequestData.type.js +2 -0
  62. package/dist/firebase/cloudFunctions/types/entities/TransferEntityOwnershipResponseData.type.d.ts +1 -0
  63. package/dist/firebase/cloudFunctions/types/entities/TransferEntityOwnershipResponseData.type.js +2 -0
  64. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityMemberPayload.type.d.ts +6 -0
  65. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityMemberPayload.type.js +2 -0
  66. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityMemberRequestData.type.d.ts +3 -0
  67. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityMemberRequestData.type.js +2 -0
  68. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityMemberResponseData.type.d.ts +1 -0
  69. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityMemberResponseData.type.js +2 -0
  70. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityVehiclePayload.type.d.ts +12 -0
  71. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityVehiclePayload.type.js +2 -0
  72. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityVehicleRequestData.type.d.ts +3 -0
  73. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityVehicleRequestData.type.js +2 -0
  74. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityVehicleResponseData.type.d.ts +3 -0
  75. package/dist/firebase/cloudFunctions/types/entities/UpdateEntityVehicleResponseData.type.js +2 -0
  76. package/dist/firebase/cloudFunctions/types/entities/index.d.ts +22 -0
  77. package/dist/firebase/cloudFunctions/types/entities/index.js +22 -0
  78. package/dist/firebase/cloudFunctions/types/users/UpdateUserIdentityRequestData.type.d.ts +2 -0
  79. package/dist/firebase/cloudFunctions/types/users/index.d.ts +0 -1
  80. package/dist/firebase/cloudFunctions/types/users/index.js +0 -1
  81. package/dist/firebase/firestore/constants/index.d.ts +2 -2
  82. package/dist/firebase/firestore/constants/index.js +2 -2
  83. package/dist/firebase/firestore/constants/maximumEntityMembers.constant.d.ts +1 -0
  84. package/dist/firebase/firestore/constants/maximumEntityMembers.constant.js +4 -0
  85. package/dist/firebase/firestore/constants/maximumEntityVehicles.constant.d.ts +1 -0
  86. package/dist/firebase/firestore/constants/maximumEntityVehicles.constant.js +4 -0
  87. package/dist/firebase/firestore/enums/FirestoreCollections.enum.d.ts +1 -0
  88. package/dist/firebase/firestore/enums/FirestoreCollections.enum.js +1 -0
  89. package/dist/firebase/firestore/enums/entityMembers/EntityMemberInviteStatus.enum.d.ts +6 -0
  90. package/dist/firebase/firestore/enums/entityMembers/EntityMemberInviteStatus.enum.js +10 -0
  91. package/dist/firebase/firestore/enums/entityMembers/EntityMemberStatus.enum.d.ts +1 -2
  92. package/dist/firebase/firestore/enums/entityMembers/EntityMemberStatus.enum.js +1 -2
  93. package/dist/firebase/firestore/enums/entityMembers/index.d.ts +1 -0
  94. package/dist/firebase/firestore/enums/entityMembers/index.js +1 -0
  95. package/dist/firebase/firestore/maps/FirestoreCollectionDocumentTypeMap.d.ts +2 -1
  96. package/dist/firebase/firestore/types/agreements/FirestoreUserAgreements.type.d.ts +1 -3
  97. package/dist/firebase/firestore/types/configs/FirestorePlatformPublicConfigDocument.type.d.ts +4 -4
  98. package/dist/firebase/firestore/types/entities/EntityAgreements.type.d.ts +10 -0
  99. package/dist/firebase/firestore/types/entities/EntityAgreements.type.js +2 -0
  100. package/dist/firebase/firestore/types/entities/FirestoreEntityDocument.type.d.ts +5 -10
  101. package/dist/firebase/firestore/types/entities/index.d.ts +1 -0
  102. package/dist/firebase/firestore/types/entities/index.js +1 -0
  103. package/dist/firebase/firestore/types/entityMemberInvites/EntityMemberInviteRole.type.d.ts +2 -0
  104. package/dist/firebase/firestore/types/entityMemberInvites/EntityMemberInviteRole.type.js +2 -0
  105. package/dist/firebase/firestore/types/entityMemberInvites/FirestoreEntityMemberInviteDocument.type.d.ts +22 -0
  106. package/dist/firebase/firestore/types/entityMemberInvites/FirestoreEntityMemberInviteDocument.type.js +2 -0
  107. package/dist/firebase/firestore/types/entityMemberInvites/index.d.ts +2 -0
  108. package/dist/{errors/enums/cloudFunctions/customers → firebase/firestore/types/entityMemberInvites}/index.js +2 -3
  109. package/dist/firebase/firestore/types/entityMembers/FirestoreEntityMemberDocument.type.d.ts +10 -0
  110. package/dist/firebase/firestore/types/index.d.ts +1 -0
  111. package/dist/firebase/firestore/types/index.js +1 -0
  112. package/dist/firebase/firestore/types/userPublicDocument/FirestoreProfessionalUserPublicDocument.type.d.ts +4 -1
  113. package/dist/firebase/firestore/types/vehicles/FirestoreVehicleDocument.type.d.ts +3 -3
  114. package/dist/firebase/firestore/utils/entities/__tests__/isEntityMemberAuthorized.test.d.ts +1 -0
  115. package/dist/firebase/firestore/utils/entities/__tests__/isEntityMemberAuthorized.test.js +83 -0
  116. package/dist/firebase/firestore/utils/entities/index.d.ts +1 -0
  117. package/dist/firebase/{cloudFunctions/types/users/customers → firestore/utils/entities}/index.js +1 -6
  118. package/dist/firebase/firestore/utils/entities/isEntityMemberAuthorized.d.ts +2 -0
  119. package/dist/firebase/firestore/utils/entities/isEntityMemberAuthorized.js +9 -0
  120. package/dist/firebase/firestore/utils/entities/types/IsEntityMemberAuthorizedParams.type.d.ts +7 -0
  121. package/dist/firebase/firestore/utils/entities/types/IsEntityMemberAuthorizedParams.type.js +2 -0
  122. package/dist/firebase/firestore/utils/entities/types/index.d.ts +1 -0
  123. package/dist/firebase/firestore/utils/entities/types/index.js +17 -0
  124. package/dist/firebase/firestore/utils/index.d.ts +1 -0
  125. package/dist/firebase/firestore/utils/index.js +1 -0
  126. package/dist/firebase/firestore/utils/stubs/configs/firestorePlatformPublicConfigDocumentStub.js +4 -4
  127. package/dist/firebase/firestore/utils/stubs/entities/firestoreEntityDocumentStub.js +3 -0
  128. package/dist/firebase/firestore/utils/stubs/entityMemberInvites/firestoreEntityMemberInviteDocumentStub.d.ts +2 -0
  129. package/dist/firebase/firestore/utils/stubs/entityMemberInvites/firestoreEntityMemberInviteDocumentStub.js +22 -0
  130. package/dist/firebase/firestore/utils/stubs/entityMemberInvites/index.d.ts +1 -0
  131. package/dist/firebase/firestore/utils/stubs/entityMemberInvites/index.js +17 -0
  132. package/dist/firebase/firestore/utils/stubs/index.d.ts +1 -0
  133. package/dist/firebase/firestore/utils/stubs/index.js +1 -0
  134. package/dist/firebase/firestore/utils/stubs/userPublicDocument/firestoreProfessionalUserPublicDocumentStub.js +0 -2
  135. package/dist/firebase/firestore/utils/users/__tests__/assertCustomerUserCanBookServices.test.js +7 -7
  136. package/dist/firebase/firestore/utils/users/__tests__/assertProfessionalUserIsBookable.util.test.js +7 -7
  137. package/dist/firebase/firestore/utils/users/assertCustomerUserCanBookServices.js +2 -2
  138. package/dist/firebase/firestore/utils/users/assertProfessionalUserIsBookable.util.js +2 -2
  139. package/dist/gcp/pubsub/enums/PubSubTopics.enum.d.ts +2 -1
  140. package/dist/gcp/pubsub/enums/PubSubTopics.enum.js +1 -0
  141. package/dist/gcp/pubsub/maps/PubSubTopicMessageMap.map.d.ts +2 -1
  142. package/dist/gcp/pubsub/types/entities/PubSubEntityMemberProjectionResyncRequestedMessage.type.d.ts +4 -0
  143. package/dist/gcp/pubsub/types/entities/PubSubEntityMemberProjectionResyncRequestedMessage.type.js +2 -0
  144. package/dist/gcp/pubsub/types/entities/index.d.ts +1 -0
  145. package/dist/gcp/pubsub/types/entities/index.js +1 -0
  146. package/dist/gcp/pubsub/utils/stubs/entities/index.d.ts +1 -0
  147. package/dist/gcp/pubsub/utils/stubs/entities/index.js +1 -0
  148. package/dist/gcp/pubsub/utils/stubs/entities/pubSubEntityMemberProjectionResyncRequestedMessageStub.d.ts +2 -0
  149. package/dist/gcp/pubsub/utils/stubs/entities/pubSubEntityMemberProjectionResyncRequestedMessageStub.js +10 -0
  150. package/package.json +1 -1
  151. package/dist/errors/enums/cloudFunctions/customers/CreateCustomerVehicleErrorCodes.enum.js +0 -18
  152. package/dist/errors/enums/cloudFunctions/customers/DeleteCustomerVehicleErrorCodes.enum.d.ts +0 -7
  153. package/dist/errors/enums/cloudFunctions/customers/DeleteCustomerVehicleErrorCodes.enum.js +0 -11
  154. package/dist/errors/enums/cloudFunctions/customers/UpdateCustomerVehicleErrorCodes.enum.js +0 -18
  155. package/dist/errors/enums/cloudFunctions/customers/index.d.ts +0 -3
  156. package/dist/firebase/cloudFunctions/types/users/customers/CreateCustomerVehicleRequestData.type.d.ts +0 -11
  157. package/dist/firebase/cloudFunctions/types/users/customers/CreateCustomerVehicleResponseData.type.d.ts +0 -3
  158. package/dist/firebase/cloudFunctions/types/users/customers/DeleteCustomerVehicleRequestData.type.d.ts +0 -4
  159. package/dist/firebase/cloudFunctions/types/users/customers/DeleteCustomerVehicleResponseData.type.d.ts +0 -1
  160. package/dist/firebase/cloudFunctions/types/users/customers/UpdateCustomerVehicleRequestData.type.d.ts +0 -12
  161. package/dist/firebase/cloudFunctions/types/users/customers/UpdateCustomerVehicleResponseData.type.d.ts +0 -3
  162. package/dist/firebase/cloudFunctions/types/users/customers/index.d.ts +0 -6
  163. package/dist/firebase/firestore/constants/maximumCustomerVehicles.constant.d.ts +0 -1
  164. package/dist/firebase/firestore/constants/maximumCustomerVehicles.constant.js +0 -4
  165. package/dist/firebase/firestore/constants/minimumCustomerVehicles.constant.d.ts +0 -1
  166. package/dist/firebase/firestore/constants/minimumCustomerVehicles.constant.js +0 -4
  167. /package/dist/{firebase/cloudFunctions/types/users/customers/CreateCustomerVehicleRequestData.type.js → emails/types/entity/EntityMemberInviteEmailData.type.js} +0 -0
  168. /package/dist/firebase/cloudFunctions/types/{users/customers/CreateCustomerVehicleResponseData.type.js → entities/CreateEntityMemberInviteRequestData.type.js} +0 -0
  169. /package/dist/firebase/cloudFunctions/types/{users/customers/DeleteCustomerVehicleRequestData.type.js → entities/CreateEntityMemberInviteResponseData.type.js} +0 -0
  170. /package/dist/firebase/cloudFunctions/types/{users/customers/DeleteCustomerVehicleResponseData.type.js → entities/CreateEntityVehiclePayload.type.js} +0 -0
  171. /package/dist/firebase/cloudFunctions/types/{users/customers/UpdateCustomerVehicleRequestData.type.js → entities/CreateEntityVehicleRequestData.type.js} +0 -0
  172. /package/dist/firebase/cloudFunctions/types/{users/customers/UpdateCustomerVehicleResponseData.type.js → entities/CreateEntityVehicleResponseData.type.js} +0 -0
@@ -25,5 +25,6 @@ export declare enum AWSSESEmailsTemplatesNames {
25
25
  CUSTOMER_ORDER_NEW_MESSAGE_RECEIVED = "customerOrderNewMessageReceived",
26
26
  ENTITY_VAT_VERIFICATION_FAILED = "entityVatVerificationFailed",
27
27
  ENTITY_VAT_VERIFICATION_SUCCEEDED = "entityVatVerificationSucceeded",
28
+ ENTITY_MEMBER_INVITE = "entityMemberInvite",
28
29
  EXAMPLE_EMAIL_TEMPLATE = "exampleEmailTemplate"
29
30
  }
@@ -33,6 +33,7 @@ var AWSSESEmailsTemplatesNames;
33
33
  // Entity
34
34
  AWSSESEmailsTemplatesNames["ENTITY_VAT_VERIFICATION_FAILED"] = "entityVatVerificationFailed";
35
35
  AWSSESEmailsTemplatesNames["ENTITY_VAT_VERIFICATION_SUCCEEDED"] = "entityVatVerificationSucceeded";
36
+ AWSSESEmailsTemplatesNames["ENTITY_MEMBER_INVITE"] = "entityMemberInvite";
36
37
  // Examples
37
38
  AWSSESEmailsTemplatesNames["EXAMPLE_EMAIL_TEMPLATE"] = "exampleEmailTemplate";
38
39
  })(AWSSESEmailsTemplatesNames || (exports.AWSSESEmailsTemplatesNames = AWSSESEmailsTemplatesNames = {}));
@@ -1,5 +1,5 @@
1
1
  import { AWSSESEmailsTemplatesNames } from "../enums";
2
- import type { CustomerBookingConfirmationEmailData, CustomerConfirmedOrderCancelledEmailData, CustomerOrderIssueReportedConfirmationEmailData, CustomerOrderNewMessageReceivedEmailData, CustomerOrderReviewRequestedEmailData, CustomerServiceCompletedByProfessionalEmailData, CustomerServiceStartedEmailData, CustomerUpcomingOrderReminderEmailData, EmailAddressChangedEmailData, EmailAddressVerificationEmailData, EntityVatVerificationFailedEmailData, EntityVatVerificationSucceededEmailData, ExampleEmailTemplateEmailData, PasswordResetEmailData, ProfessionalConfirmedOrderCancelledEmailData, ProfessionalDocumentStatusRejectedEmailData, ProfessionalDocumentStatusValidatedEmailData, ProfessionalDocumentUploadedWaitingForValidationEmailData, ProfessionalIsNotBookableAnymoreEmailData, ProfessionalIsNowBookableEmailData, ProfessionalNewBookingEmailData, ProfessionalOnboardingCompletedEmailData, ProfessionalOrderIssueReportedConfirmationEmailData, ProfessionalOrderNewMessageReceivedEmailData, ProfessionalServiceCompletedByProfessionalEmailData, ProfessionalUpcomingOrderReminderEmailData, ProfessionalWelcomeEmailData } from "../types";
2
+ import type { CustomerBookingConfirmationEmailData, CustomerConfirmedOrderCancelledEmailData, CustomerOrderIssueReportedConfirmationEmailData, CustomerOrderNewMessageReceivedEmailData, CustomerOrderReviewRequestedEmailData, CustomerServiceCompletedByProfessionalEmailData, CustomerServiceStartedEmailData, CustomerUpcomingOrderReminderEmailData, EmailAddressChangedEmailData, EmailAddressVerificationEmailData, EntityMemberInviteEmailData, EntityVatVerificationFailedEmailData, EntityVatVerificationSucceededEmailData, ExampleEmailTemplateEmailData, PasswordResetEmailData, ProfessionalConfirmedOrderCancelledEmailData, ProfessionalDocumentStatusRejectedEmailData, ProfessionalDocumentStatusValidatedEmailData, ProfessionalDocumentUploadedWaitingForValidationEmailData, ProfessionalIsNotBookableAnymoreEmailData, ProfessionalIsNowBookableEmailData, ProfessionalNewBookingEmailData, ProfessionalOnboardingCompletedEmailData, ProfessionalOrderIssueReportedConfirmationEmailData, ProfessionalOrderNewMessageReceivedEmailData, ProfessionalServiceCompletedByProfessionalEmailData, ProfessionalUpcomingOrderReminderEmailData, ProfessionalWelcomeEmailData } from "../types";
3
3
  type EmailTemplateDataMapBase = {
4
4
  [AWSSESEmailsTemplatesNames.EXAMPLE_EMAIL_TEMPLATE]: ExampleEmailTemplateEmailData;
5
5
  [AWSSESEmailsTemplatesNames.EMAIL_ADDRESS_VERIFICATION]: EmailAddressVerificationEmailData;
@@ -28,6 +28,7 @@ type EmailTemplateDataMapBase = {
28
28
  [AWSSESEmailsTemplatesNames.CUSTOMER_ORDER_NEW_MESSAGE_RECEIVED]: CustomerOrderNewMessageReceivedEmailData;
29
29
  [AWSSESEmailsTemplatesNames.ENTITY_VAT_VERIFICATION_FAILED]: EntityVatVerificationFailedEmailData;
30
30
  [AWSSESEmailsTemplatesNames.ENTITY_VAT_VERIFICATION_SUCCEEDED]: EntityVatVerificationSucceededEmailData;
31
+ [AWSSESEmailsTemplatesNames.ENTITY_MEMBER_INVITE]: EntityMemberInviteEmailData;
31
32
  };
32
33
  export type EmailTemplateDataMap = {
33
34
  [K in AWSSESEmailsTemplatesNames]: EmailTemplateDataMapBase[K];
@@ -0,0 +1,8 @@
1
+ import type { AppsNames } from "../../../enums";
2
+ export type EntityMemberInviteEmailData = {
3
+ targetAppName: AppsNames;
4
+ inviteCode: string;
5
+ entityName: string;
6
+ invitedByDisplayName: string;
7
+ invitedRoleLabel: string;
8
+ };
@@ -1,2 +1,3 @@
1
+ export * from "./EntityMemberInviteEmailData.type";
1
2
  export * from "./EntityVatVerificationFailedEmailData.type";
2
3
  export * from "./EntityVatVerificationSucceededEmailData.type";
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./EntityMemberInviteEmailData.type"), exports);
17
18
  __exportStar(require("./EntityVatVerificationFailedEmailData.type"), exports);
18
19
  __exportStar(require("./EntityVatVerificationSucceededEmailData.type"), exports);
@@ -0,0 +1,16 @@
1
+ export declare enum CreateEntityMemberInviteErrorCodes {
2
+ REQUEST_DATA_VALIDATION_FAILED = "REQUEST_DATA_VALIDATION_FAILED",
3
+ CONTEXT_VALIDATION_FAILED = "CONTEXT_VALIDATION_FAILED",
4
+ INVALID_ENTITY_DOCUMENT_ID = "INVALID_ENTITY_DOCUMENT_ID",
5
+ INVALID_INVITEE_EMAIL = "INVALID_INVITEE_EMAIL",
6
+ INVALID_INVITE_ROLE = "INVALID_INVITE_ROLE",
7
+ ENTITY_NOT_FOUND = "ENTITY_NOT_FOUND",
8
+ ENTITY_MEMBER_INVITES_NOT_SUPPORTED_FOR_ENTITY = "ENTITY_MEMBER_INVITES_NOT_SUPPORTED_FOR_ENTITY",
9
+ ENTITY_DOES_NOT_SUPPORT_MULTIPLE_MEMBERS = "ENTITY_DOES_NOT_SUPPORT_MULTIPLE_MEMBERS",
10
+ USER_NOT_AUTHORIZED_TO_INVITE_ENTITY_MEMBERS = "USER_NOT_AUTHORIZED_TO_INVITE_ENTITY_MEMBERS",
11
+ INVITEE_ALREADY_MEMBER_OF_ENTITY = "INVITEE_ALREADY_MEMBER_OF_ENTITY",
12
+ PENDING_INVITE_ALREADY_EXISTS_FOR_EMAIL = "PENDING_INVITE_ALREADY_EXISTS_FOR_EMAIL",
13
+ MAXIMUM_ENTITY_MEMBERS_LIMIT_EXCEEDED = "MAXIMUM_ENTITY_MEMBERS_LIMIT_EXCEEDED",
14
+ ERROR_CREATING_ENTITY_MEMBER_INVITE = "ERROR_CREATING_ENTITY_MEMBER_INVITE",
15
+ ERROR_SENDING_ENTITY_MEMBER_INVITE_EMAIL = "ERROR_SENDING_ENTITY_MEMBER_INVITE_EMAIL"
16
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateEntityMemberInviteErrorCodes = void 0;
4
+ var CreateEntityMemberInviteErrorCodes;
5
+ (function (CreateEntityMemberInviteErrorCodes) {
6
+ CreateEntityMemberInviteErrorCodes["REQUEST_DATA_VALIDATION_FAILED"] = "REQUEST_DATA_VALIDATION_FAILED";
7
+ CreateEntityMemberInviteErrorCodes["CONTEXT_VALIDATION_FAILED"] = "CONTEXT_VALIDATION_FAILED";
8
+ CreateEntityMemberInviteErrorCodes["INVALID_ENTITY_DOCUMENT_ID"] = "INVALID_ENTITY_DOCUMENT_ID";
9
+ CreateEntityMemberInviteErrorCodes["INVALID_INVITEE_EMAIL"] = "INVALID_INVITEE_EMAIL";
10
+ CreateEntityMemberInviteErrorCodes["INVALID_INVITE_ROLE"] = "INVALID_INVITE_ROLE";
11
+ CreateEntityMemberInviteErrorCodes["ENTITY_NOT_FOUND"] = "ENTITY_NOT_FOUND";
12
+ CreateEntityMemberInviteErrorCodes["ENTITY_MEMBER_INVITES_NOT_SUPPORTED_FOR_ENTITY"] = "ENTITY_MEMBER_INVITES_NOT_SUPPORTED_FOR_ENTITY";
13
+ CreateEntityMemberInviteErrorCodes["ENTITY_DOES_NOT_SUPPORT_MULTIPLE_MEMBERS"] = "ENTITY_DOES_NOT_SUPPORT_MULTIPLE_MEMBERS";
14
+ CreateEntityMemberInviteErrorCodes["USER_NOT_AUTHORIZED_TO_INVITE_ENTITY_MEMBERS"] = "USER_NOT_AUTHORIZED_TO_INVITE_ENTITY_MEMBERS";
15
+ CreateEntityMemberInviteErrorCodes["INVITEE_ALREADY_MEMBER_OF_ENTITY"] = "INVITEE_ALREADY_MEMBER_OF_ENTITY";
16
+ CreateEntityMemberInviteErrorCodes["PENDING_INVITE_ALREADY_EXISTS_FOR_EMAIL"] = "PENDING_INVITE_ALREADY_EXISTS_FOR_EMAIL";
17
+ CreateEntityMemberInviteErrorCodes["MAXIMUM_ENTITY_MEMBERS_LIMIT_EXCEEDED"] = "MAXIMUM_ENTITY_MEMBERS_LIMIT_EXCEEDED";
18
+ CreateEntityMemberInviteErrorCodes["ERROR_CREATING_ENTITY_MEMBER_INVITE"] = "ERROR_CREATING_ENTITY_MEMBER_INVITE";
19
+ CreateEntityMemberInviteErrorCodes["ERROR_SENDING_ENTITY_MEMBER_INVITE_EMAIL"] = "ERROR_SENDING_ENTITY_MEMBER_INVITE_EMAIL";
20
+ })(CreateEntityMemberInviteErrorCodes || (exports.CreateEntityMemberInviteErrorCodes = CreateEntityMemberInviteErrorCodes = {}));
@@ -1,4 +1,4 @@
1
- export declare enum CreateCustomerVehicleErrorCodes {
1
+ export declare enum CreateEntityVehicleErrorCodes {
2
2
  REQUEST_DATA_VALIDATION_FAILED = "REQUEST_DATA_VALIDATION_FAILED",
3
3
  CONTEXT_VALIDATION_FAILED = "CONTEXT_VALIDATION_FAILED",
4
4
  INVALID_VEHICLE_TYPE = "INVALID_VEHICLE_TYPE",
@@ -8,6 +8,9 @@ export declare enum CreateCustomerVehicleErrorCodes {
8
8
  INVALID_VEHICLE_LICENSE_PLATE = "INVALID_VEHICLE_LICENSE_PLATE",
9
9
  INVALID_VEHICLE_LOCATION = "INVALID_VEHICLE_LOCATION",
10
10
  INVALID_VEHICLE_PERSONAL_LABEL = "INVALID_VEHICLE_PERSONAL_LABEL",
11
+ INVALID_ENTITY_DOCUMENT_ID = "INVALID_ENTITY_DOCUMENT_ID",
12
+ USER_NOT_AUTHORIZED_TO_CREATE_VEHICLE_FOR_ENTITY = "USER_NOT_AUTHORIZED_TO_CREATE_VEHICLE_FOR_ENTITY",
13
+ ENTITY_NOT_FOUND = "ENTITY_NOT_FOUND",
11
14
  VEHICLE_ALREADY_EXISTS = "VEHICLE_ALREADY_EXISTS",
12
15
  MAXIMUM_VEHICLE_LIMIT_EXCEEDED = "MAXIMUM_VEHICLE_LIMIT_EXCEEDED",
13
16
  ERROR_CREATING_VEHICLE = "ERROR_CREATING_VEHICLE"
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateEntityVehicleErrorCodes = void 0;
4
+ var CreateEntityVehicleErrorCodes;
5
+ (function (CreateEntityVehicleErrorCodes) {
6
+ CreateEntityVehicleErrorCodes["REQUEST_DATA_VALIDATION_FAILED"] = "REQUEST_DATA_VALIDATION_FAILED";
7
+ CreateEntityVehicleErrorCodes["CONTEXT_VALIDATION_FAILED"] = "CONTEXT_VALIDATION_FAILED";
8
+ CreateEntityVehicleErrorCodes["INVALID_VEHICLE_TYPE"] = "INVALID_VEHICLE_TYPE";
9
+ CreateEntityVehicleErrorCodes["INVALID_VEHICLE_COLOR"] = "INVALID_VEHICLE_COLOR";
10
+ CreateEntityVehicleErrorCodes["INVALID_VEHICLE_BRAND"] = "INVALID_VEHICLE_BRAND";
11
+ CreateEntityVehicleErrorCodes["INVALID_VEHICLE_MODEL"] = "INVALID_VEHICLE_MODEL";
12
+ CreateEntityVehicleErrorCodes["INVALID_VEHICLE_LICENSE_PLATE"] = "INVALID_VEHICLE_LICENSE_PLATE";
13
+ CreateEntityVehicleErrorCodes["INVALID_VEHICLE_LOCATION"] = "INVALID_VEHICLE_LOCATION";
14
+ CreateEntityVehicleErrorCodes["INVALID_VEHICLE_PERSONAL_LABEL"] = "INVALID_VEHICLE_PERSONAL_LABEL";
15
+ CreateEntityVehicleErrorCodes["INVALID_ENTITY_DOCUMENT_ID"] = "INVALID_ENTITY_DOCUMENT_ID";
16
+ CreateEntityVehicleErrorCodes["USER_NOT_AUTHORIZED_TO_CREATE_VEHICLE_FOR_ENTITY"] = "USER_NOT_AUTHORIZED_TO_CREATE_VEHICLE_FOR_ENTITY";
17
+ CreateEntityVehicleErrorCodes["ENTITY_NOT_FOUND"] = "ENTITY_NOT_FOUND";
18
+ CreateEntityVehicleErrorCodes["VEHICLE_ALREADY_EXISTS"] = "VEHICLE_ALREADY_EXISTS";
19
+ CreateEntityVehicleErrorCodes["MAXIMUM_VEHICLE_LIMIT_EXCEEDED"] = "MAXIMUM_VEHICLE_LIMIT_EXCEEDED";
20
+ CreateEntityVehicleErrorCodes["ERROR_CREATING_VEHICLE"] = "ERROR_CREATING_VEHICLE";
21
+ })(CreateEntityVehicleErrorCodes || (exports.CreateEntityVehicleErrorCodes = CreateEntityVehicleErrorCodes = {}));
@@ -22,5 +22,11 @@ export declare enum CreateNewEntityErrorCodes {
22
22
  ENTITY_OWNER_USER_DOCUMENT_NOT_FOUND = "ENTITY_OWNER_USER_DOCUMENT_NOT_FOUND",
23
23
  ENTITY_OWNER_USER_ALREADY_HAS_AN_ENTITY = "ENTITY_OWNER_USER_ALREADY_HAS_AN_ENTITY",
24
24
  STRIPE_CUSTOM_ACCOUNT_CREATION_FAILED = "STRIPE_CUSTOM_ACCOUNT_CREATION_FAILED",
25
- STRIPE_CUSTOMER_CREATION_FAILED = "STRIPE_CUSTOMER_CREATION_FAILED"
25
+ STRIPE_CUSTOMER_CREATION_FAILED = "STRIPE_CUSTOMER_CREATION_FAILED",
26
+ MARKETPLACE_TERMS_NOT_ACCEPTED = "MARKETPLACE_TERMS_NOT_ACCEPTED",
27
+ INVALID_REFERRAL_CODE = "INVALID_REFERRAL_CODE",
28
+ REFERRAL_CODE_NOT_FOUND = "REFERRAL_CODE_NOT_FOUND",
29
+ REFERRAL_CODE_EXPIRED = "REFERRAL_CODE_EXPIRED",
30
+ REFERRAL_CODE_ALREADY_USED = "REFERRAL_CODE_ALREADY_USED",
31
+ REFERRAL_CODE_NOT_VALID = "REFERRAL_CODE_NOT_VALID"
26
32
  }
@@ -27,4 +27,10 @@ var CreateNewEntityErrorCodes;
27
27
  CreateNewEntityErrorCodes["ENTITY_OWNER_USER_ALREADY_HAS_AN_ENTITY"] = "ENTITY_OWNER_USER_ALREADY_HAS_AN_ENTITY";
28
28
  CreateNewEntityErrorCodes["STRIPE_CUSTOM_ACCOUNT_CREATION_FAILED"] = "STRIPE_CUSTOM_ACCOUNT_CREATION_FAILED";
29
29
  CreateNewEntityErrorCodes["STRIPE_CUSTOMER_CREATION_FAILED"] = "STRIPE_CUSTOMER_CREATION_FAILED";
30
+ CreateNewEntityErrorCodes["MARKETPLACE_TERMS_NOT_ACCEPTED"] = "MARKETPLACE_TERMS_NOT_ACCEPTED";
31
+ CreateNewEntityErrorCodes["INVALID_REFERRAL_CODE"] = "INVALID_REFERRAL_CODE";
32
+ CreateNewEntityErrorCodes["REFERRAL_CODE_NOT_FOUND"] = "REFERRAL_CODE_NOT_FOUND";
33
+ CreateNewEntityErrorCodes["REFERRAL_CODE_EXPIRED"] = "REFERRAL_CODE_EXPIRED";
34
+ CreateNewEntityErrorCodes["REFERRAL_CODE_ALREADY_USED"] = "REFERRAL_CODE_ALREADY_USED";
35
+ CreateNewEntityErrorCodes["REFERRAL_CODE_NOT_VALID"] = "REFERRAL_CODE_NOT_VALID";
30
36
  })(CreateNewEntityErrorCodes || (exports.CreateNewEntityErrorCodes = CreateNewEntityErrorCodes = {}));
@@ -0,0 +1,10 @@
1
+ export declare enum DeleteEntityVehicleErrorCodes {
2
+ REQUEST_DATA_VALIDATION_FAILED = "REQUEST_DATA_VALIDATION_FAILED",
3
+ CONTEXT_VALIDATION_FAILED = "CONTEXT_VALIDATION_FAILED",
4
+ INVALID_ENTITY_DOCUMENT_ID = "INVALID_ENTITY_DOCUMENT_ID",
5
+ INVALID_VEHICLE_ID = "INVALID_VEHICLE_ID",
6
+ VEHICLE_NOT_FOUND = "VEHICLE_NOT_FOUND",
7
+ USER_NOT_AUTHORIZED_TO_DELETE_VEHICLE_FOR_ENTITY = "USER_NOT_AUTHORIZED_TO_DELETE_VEHICLE_FOR_ENTITY",
8
+ ENTITY_NOT_FOUND = "ENTITY_NOT_FOUND",
9
+ ERROR_DELETING_VEHICLE = "ERROR_DELETING_VEHICLE"
10
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteEntityVehicleErrorCodes = void 0;
4
+ var DeleteEntityVehicleErrorCodes;
5
+ (function (DeleteEntityVehicleErrorCodes) {
6
+ DeleteEntityVehicleErrorCodes["REQUEST_DATA_VALIDATION_FAILED"] = "REQUEST_DATA_VALIDATION_FAILED";
7
+ DeleteEntityVehicleErrorCodes["CONTEXT_VALIDATION_FAILED"] = "CONTEXT_VALIDATION_FAILED";
8
+ DeleteEntityVehicleErrorCodes["INVALID_ENTITY_DOCUMENT_ID"] = "INVALID_ENTITY_DOCUMENT_ID";
9
+ DeleteEntityVehicleErrorCodes["INVALID_VEHICLE_ID"] = "INVALID_VEHICLE_ID";
10
+ DeleteEntityVehicleErrorCodes["VEHICLE_NOT_FOUND"] = "VEHICLE_NOT_FOUND";
11
+ DeleteEntityVehicleErrorCodes["USER_NOT_AUTHORIZED_TO_DELETE_VEHICLE_FOR_ENTITY"] = "USER_NOT_AUTHORIZED_TO_DELETE_VEHICLE_FOR_ENTITY";
12
+ DeleteEntityVehicleErrorCodes["ENTITY_NOT_FOUND"] = "ENTITY_NOT_FOUND";
13
+ DeleteEntityVehicleErrorCodes["ERROR_DELETING_VEHICLE"] = "ERROR_DELETING_VEHICLE";
14
+ })(DeleteEntityVehicleErrorCodes || (exports.DeleteEntityVehicleErrorCodes = DeleteEntityVehicleErrorCodes = {}));
@@ -0,0 +1,13 @@
1
+ export declare enum JoinEntityErrorCodes {
2
+ REQUEST_DATA_VALIDATION_FAILED = "REQUEST_DATA_VALIDATION_FAILED",
3
+ CONTEXT_VALIDATION_FAILED = "CONTEXT_VALIDATION_FAILED",
4
+ INVALID_INVITE_CODE = "INVALID_INVITE_CODE",
5
+ ENTITY_MEMBER_INVITES_NOT_SUPPORTED_FOR_ENTITY = "ENTITY_MEMBER_INVITES_NOT_SUPPORTED_FOR_ENTITY",
6
+ ENTITY_MEMBER_INVITE_ALREADY_ACCEPTED = "ENTITY_MEMBER_INVITE_ALREADY_ACCEPTED",
7
+ ENTITY_MEMBER_INVITE_ALREADY_REVOKED = "ENTITY_MEMBER_INVITE_ALREADY_REVOKED",
8
+ ENTITY_MEMBER_INVITE_EXPIRED = "ENTITY_MEMBER_INVITE_EXPIRED",
9
+ USER_ALREADY_MEMBER_OF_ENTITY = "USER_ALREADY_MEMBER_OF_ENTITY",
10
+ MAXIMUM_ENTITY_MEMBERS_LIMIT_EXCEEDED = "MAXIMUM_ENTITY_MEMBERS_LIMIT_EXCEEDED",
11
+ ERROR_JOINING_ENTITY = "ERROR_JOINING_ENTITY",
12
+ JOINING_USER_IDENTITY_INCOMPLETE = "JOINING_USER_IDENTITY_INCOMPLETE"
13
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.JoinEntityErrorCodes = void 0;
4
+ var JoinEntityErrorCodes;
5
+ (function (JoinEntityErrorCodes) {
6
+ JoinEntityErrorCodes["REQUEST_DATA_VALIDATION_FAILED"] = "REQUEST_DATA_VALIDATION_FAILED";
7
+ JoinEntityErrorCodes["CONTEXT_VALIDATION_FAILED"] = "CONTEXT_VALIDATION_FAILED";
8
+ JoinEntityErrorCodes["INVALID_INVITE_CODE"] = "INVALID_INVITE_CODE";
9
+ JoinEntityErrorCodes["ENTITY_MEMBER_INVITES_NOT_SUPPORTED_FOR_ENTITY"] = "ENTITY_MEMBER_INVITES_NOT_SUPPORTED_FOR_ENTITY";
10
+ JoinEntityErrorCodes["ENTITY_MEMBER_INVITE_ALREADY_ACCEPTED"] = "ENTITY_MEMBER_INVITE_ALREADY_ACCEPTED";
11
+ JoinEntityErrorCodes["ENTITY_MEMBER_INVITE_ALREADY_REVOKED"] = "ENTITY_MEMBER_INVITE_ALREADY_REVOKED";
12
+ JoinEntityErrorCodes["ENTITY_MEMBER_INVITE_EXPIRED"] = "ENTITY_MEMBER_INVITE_EXPIRED";
13
+ JoinEntityErrorCodes["USER_ALREADY_MEMBER_OF_ENTITY"] = "USER_ALREADY_MEMBER_OF_ENTITY";
14
+ JoinEntityErrorCodes["MAXIMUM_ENTITY_MEMBERS_LIMIT_EXCEEDED"] = "MAXIMUM_ENTITY_MEMBERS_LIMIT_EXCEEDED";
15
+ JoinEntityErrorCodes["ERROR_JOINING_ENTITY"] = "ERROR_JOINING_ENTITY";
16
+ JoinEntityErrorCodes["JOINING_USER_IDENTITY_INCOMPLETE"] = "JOINING_USER_IDENTITY_INCOMPLETE";
17
+ })(JoinEntityErrorCodes || (exports.JoinEntityErrorCodes = JoinEntityErrorCodes = {}));
@@ -0,0 +1,11 @@
1
+ export declare enum RevokeEntityMemberErrorCodes {
2
+ REQUEST_DATA_VALIDATION_FAILED = "REQUEST_DATA_VALIDATION_FAILED",
3
+ CONTEXT_VALIDATION_FAILED = "CONTEXT_VALIDATION_FAILED",
4
+ INVALID_ENTITY_DOCUMENT_ID = "INVALID_ENTITY_DOCUMENT_ID",
5
+ INVALID_ENTITY_MEMBER_DOCUMENT_ID = "INVALID_ENTITY_MEMBER_DOCUMENT_ID",
6
+ ENTITY_NOT_FOUND = "ENTITY_NOT_FOUND",
7
+ ENTITY_MEMBER_NOT_FOUND = "ENTITY_MEMBER_NOT_FOUND",
8
+ USER_NOT_AUTHORIZED_TO_REVOKE_ENTITY_MEMBERS = "USER_NOT_AUTHORIZED_TO_REVOKE_ENTITY_MEMBERS",
9
+ CANNOT_REVOKE_ENTITY_OWNER = "CANNOT_REVOKE_ENTITY_OWNER",
10
+ ERROR_REVOKING_ENTITY_MEMBER = "ERROR_REVOKING_ENTITY_MEMBER"
11
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RevokeEntityMemberErrorCodes = void 0;
4
+ var RevokeEntityMemberErrorCodes;
5
+ (function (RevokeEntityMemberErrorCodes) {
6
+ RevokeEntityMemberErrorCodes["REQUEST_DATA_VALIDATION_FAILED"] = "REQUEST_DATA_VALIDATION_FAILED";
7
+ RevokeEntityMemberErrorCodes["CONTEXT_VALIDATION_FAILED"] = "CONTEXT_VALIDATION_FAILED";
8
+ RevokeEntityMemberErrorCodes["INVALID_ENTITY_DOCUMENT_ID"] = "INVALID_ENTITY_DOCUMENT_ID";
9
+ RevokeEntityMemberErrorCodes["INVALID_ENTITY_MEMBER_DOCUMENT_ID"] = "INVALID_ENTITY_MEMBER_DOCUMENT_ID";
10
+ RevokeEntityMemberErrorCodes["ENTITY_NOT_FOUND"] = "ENTITY_NOT_FOUND";
11
+ RevokeEntityMemberErrorCodes["ENTITY_MEMBER_NOT_FOUND"] = "ENTITY_MEMBER_NOT_FOUND";
12
+ RevokeEntityMemberErrorCodes["USER_NOT_AUTHORIZED_TO_REVOKE_ENTITY_MEMBERS"] = "USER_NOT_AUTHORIZED_TO_REVOKE_ENTITY_MEMBERS";
13
+ RevokeEntityMemberErrorCodes["CANNOT_REVOKE_ENTITY_OWNER"] = "CANNOT_REVOKE_ENTITY_OWNER";
14
+ RevokeEntityMemberErrorCodes["ERROR_REVOKING_ENTITY_MEMBER"] = "ERROR_REVOKING_ENTITY_MEMBER";
15
+ })(RevokeEntityMemberErrorCodes || (exports.RevokeEntityMemberErrorCodes = RevokeEntityMemberErrorCodes = {}));
@@ -0,0 +1,13 @@
1
+ export declare enum RevokeEntityMemberInviteErrorCodes {
2
+ REQUEST_DATA_VALIDATION_FAILED = "REQUEST_DATA_VALIDATION_FAILED",
3
+ CONTEXT_VALIDATION_FAILED = "CONTEXT_VALIDATION_FAILED",
4
+ INVALID_ENTITY_DOCUMENT_ID = "INVALID_ENTITY_DOCUMENT_ID",
5
+ INVALID_ENTITY_MEMBER_INVITE_DOCUMENT_ID = "INVALID_ENTITY_MEMBER_INVITE_DOCUMENT_ID",
6
+ ENTITY_NOT_FOUND = "ENTITY_NOT_FOUND",
7
+ ENTITY_MEMBER_INVITE_NOT_FOUND = "ENTITY_MEMBER_INVITE_NOT_FOUND",
8
+ USER_NOT_AUTHORIZED_TO_REVOKE_ENTITY_MEMBER_INVITES = "USER_NOT_AUTHORIZED_TO_REVOKE_ENTITY_MEMBER_INVITES",
9
+ ENTITY_MEMBER_INVITE_ALREADY_ACCEPTED = "ENTITY_MEMBER_INVITE_ALREADY_ACCEPTED",
10
+ ENTITY_MEMBER_INVITE_ALREADY_REVOKED = "ENTITY_MEMBER_INVITE_ALREADY_REVOKED",
11
+ ENTITY_MEMBER_INVITE_EXPIRED = "ENTITY_MEMBER_INVITE_EXPIRED",
12
+ ERROR_REVOKING_ENTITY_MEMBER_INVITE = "ERROR_REVOKING_ENTITY_MEMBER_INVITE"
13
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RevokeEntityMemberInviteErrorCodes = void 0;
4
+ var RevokeEntityMemberInviteErrorCodes;
5
+ (function (RevokeEntityMemberInviteErrorCodes) {
6
+ RevokeEntityMemberInviteErrorCodes["REQUEST_DATA_VALIDATION_FAILED"] = "REQUEST_DATA_VALIDATION_FAILED";
7
+ RevokeEntityMemberInviteErrorCodes["CONTEXT_VALIDATION_FAILED"] = "CONTEXT_VALIDATION_FAILED";
8
+ RevokeEntityMemberInviteErrorCodes["INVALID_ENTITY_DOCUMENT_ID"] = "INVALID_ENTITY_DOCUMENT_ID";
9
+ RevokeEntityMemberInviteErrorCodes["INVALID_ENTITY_MEMBER_INVITE_DOCUMENT_ID"] = "INVALID_ENTITY_MEMBER_INVITE_DOCUMENT_ID";
10
+ RevokeEntityMemberInviteErrorCodes["ENTITY_NOT_FOUND"] = "ENTITY_NOT_FOUND";
11
+ RevokeEntityMemberInviteErrorCodes["ENTITY_MEMBER_INVITE_NOT_FOUND"] = "ENTITY_MEMBER_INVITE_NOT_FOUND";
12
+ RevokeEntityMemberInviteErrorCodes["USER_NOT_AUTHORIZED_TO_REVOKE_ENTITY_MEMBER_INVITES"] = "USER_NOT_AUTHORIZED_TO_REVOKE_ENTITY_MEMBER_INVITES";
13
+ RevokeEntityMemberInviteErrorCodes["ENTITY_MEMBER_INVITE_ALREADY_ACCEPTED"] = "ENTITY_MEMBER_INVITE_ALREADY_ACCEPTED";
14
+ RevokeEntityMemberInviteErrorCodes["ENTITY_MEMBER_INVITE_ALREADY_REVOKED"] = "ENTITY_MEMBER_INVITE_ALREADY_REVOKED";
15
+ RevokeEntityMemberInviteErrorCodes["ENTITY_MEMBER_INVITE_EXPIRED"] = "ENTITY_MEMBER_INVITE_EXPIRED";
16
+ RevokeEntityMemberInviteErrorCodes["ERROR_REVOKING_ENTITY_MEMBER_INVITE"] = "ERROR_REVOKING_ENTITY_MEMBER_INVITE";
17
+ })(RevokeEntityMemberInviteErrorCodes || (exports.RevokeEntityMemberInviteErrorCodes = RevokeEntityMemberInviteErrorCodes = {}));
@@ -0,0 +1,11 @@
1
+ export declare enum TransferEntityOwnershipErrorCodes {
2
+ REQUEST_DATA_VALIDATION_FAILED = "REQUEST_DATA_VALIDATION_FAILED",
3
+ CONTEXT_VALIDATION_FAILED = "CONTEXT_VALIDATION_FAILED",
4
+ INVALID_ENTITY_DOCUMENT_ID = "INVALID_ENTITY_DOCUMENT_ID",
5
+ INVALID_NEW_OWNER_ENTITY_MEMBER_DOCUMENT_ID = "INVALID_NEW_OWNER_ENTITY_MEMBER_DOCUMENT_ID",
6
+ ENTITY_NOT_FOUND = "ENTITY_NOT_FOUND",
7
+ ENTITY_MEMBER_NOT_FOUND = "ENTITY_MEMBER_NOT_FOUND",
8
+ USER_NOT_AUTHORIZED_TO_TRANSFER_ENTITY_OWNERSHIP = "USER_NOT_AUTHORIZED_TO_TRANSFER_ENTITY_OWNERSHIP",
9
+ NEW_OWNER_ALREADY_ENTITY_OWNER = "NEW_OWNER_ALREADY_ENTITY_OWNER",
10
+ ERROR_TRANSFERRING_ENTITY_OWNERSHIP = "ERROR_TRANSFERRING_ENTITY_OWNERSHIP"
11
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransferEntityOwnershipErrorCodes = void 0;
4
+ var TransferEntityOwnershipErrorCodes;
5
+ (function (TransferEntityOwnershipErrorCodes) {
6
+ TransferEntityOwnershipErrorCodes["REQUEST_DATA_VALIDATION_FAILED"] = "REQUEST_DATA_VALIDATION_FAILED";
7
+ TransferEntityOwnershipErrorCodes["CONTEXT_VALIDATION_FAILED"] = "CONTEXT_VALIDATION_FAILED";
8
+ TransferEntityOwnershipErrorCodes["INVALID_ENTITY_DOCUMENT_ID"] = "INVALID_ENTITY_DOCUMENT_ID";
9
+ TransferEntityOwnershipErrorCodes["INVALID_NEW_OWNER_ENTITY_MEMBER_DOCUMENT_ID"] = "INVALID_NEW_OWNER_ENTITY_MEMBER_DOCUMENT_ID";
10
+ TransferEntityOwnershipErrorCodes["ENTITY_NOT_FOUND"] = "ENTITY_NOT_FOUND";
11
+ TransferEntityOwnershipErrorCodes["ENTITY_MEMBER_NOT_FOUND"] = "ENTITY_MEMBER_NOT_FOUND";
12
+ TransferEntityOwnershipErrorCodes["USER_NOT_AUTHORIZED_TO_TRANSFER_ENTITY_OWNERSHIP"] = "USER_NOT_AUTHORIZED_TO_TRANSFER_ENTITY_OWNERSHIP";
13
+ TransferEntityOwnershipErrorCodes["NEW_OWNER_ALREADY_ENTITY_OWNER"] = "NEW_OWNER_ALREADY_ENTITY_OWNER";
14
+ TransferEntityOwnershipErrorCodes["ERROR_TRANSFERRING_ENTITY_OWNERSHIP"] = "ERROR_TRANSFERRING_ENTITY_OWNERSHIP";
15
+ })(TransferEntityOwnershipErrorCodes || (exports.TransferEntityOwnershipErrorCodes = TransferEntityOwnershipErrorCodes = {}));
@@ -0,0 +1,13 @@
1
+ export declare enum UpdateEntityMemberErrorCodes {
2
+ REQUEST_DATA_VALIDATION_FAILED = "REQUEST_DATA_VALIDATION_FAILED",
3
+ CONTEXT_VALIDATION_FAILED = "CONTEXT_VALIDATION_FAILED",
4
+ INVALID_ENTITY_DOCUMENT_ID = "INVALID_ENTITY_DOCUMENT_ID",
5
+ INVALID_ENTITY_MEMBER_DOCUMENT_ID = "INVALID_ENTITY_MEMBER_DOCUMENT_ID",
6
+ INVALID_ENTITY_MEMBER_ROLE = "INVALID_ENTITY_MEMBER_ROLE",
7
+ INVALID_ENTITY_MEMBER_STATUS = "INVALID_ENTITY_MEMBER_STATUS",
8
+ ENTITY_NOT_FOUND = "ENTITY_NOT_FOUND",
9
+ ENTITY_MEMBER_NOT_FOUND = "ENTITY_MEMBER_NOT_FOUND",
10
+ USER_NOT_AUTHORIZED_TO_UPDATE_ENTITY_MEMBERS = "USER_NOT_AUTHORIZED_TO_UPDATE_ENTITY_MEMBERS",
11
+ CANNOT_UPDATE_ENTITY_OWNER_ROLE = "CANNOT_UPDATE_ENTITY_OWNER_ROLE",
12
+ ERROR_UPDATING_ENTITY_MEMBER = "ERROR_UPDATING_ENTITY_MEMBER"
13
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateEntityMemberErrorCodes = void 0;
4
+ var UpdateEntityMemberErrorCodes;
5
+ (function (UpdateEntityMemberErrorCodes) {
6
+ UpdateEntityMemberErrorCodes["REQUEST_DATA_VALIDATION_FAILED"] = "REQUEST_DATA_VALIDATION_FAILED";
7
+ UpdateEntityMemberErrorCodes["CONTEXT_VALIDATION_FAILED"] = "CONTEXT_VALIDATION_FAILED";
8
+ UpdateEntityMemberErrorCodes["INVALID_ENTITY_DOCUMENT_ID"] = "INVALID_ENTITY_DOCUMENT_ID";
9
+ UpdateEntityMemberErrorCodes["INVALID_ENTITY_MEMBER_DOCUMENT_ID"] = "INVALID_ENTITY_MEMBER_DOCUMENT_ID";
10
+ UpdateEntityMemberErrorCodes["INVALID_ENTITY_MEMBER_ROLE"] = "INVALID_ENTITY_MEMBER_ROLE";
11
+ UpdateEntityMemberErrorCodes["INVALID_ENTITY_MEMBER_STATUS"] = "INVALID_ENTITY_MEMBER_STATUS";
12
+ UpdateEntityMemberErrorCodes["ENTITY_NOT_FOUND"] = "ENTITY_NOT_FOUND";
13
+ UpdateEntityMemberErrorCodes["ENTITY_MEMBER_NOT_FOUND"] = "ENTITY_MEMBER_NOT_FOUND";
14
+ UpdateEntityMemberErrorCodes["USER_NOT_AUTHORIZED_TO_UPDATE_ENTITY_MEMBERS"] = "USER_NOT_AUTHORIZED_TO_UPDATE_ENTITY_MEMBERS";
15
+ UpdateEntityMemberErrorCodes["CANNOT_UPDATE_ENTITY_OWNER_ROLE"] = "CANNOT_UPDATE_ENTITY_OWNER_ROLE";
16
+ UpdateEntityMemberErrorCodes["ERROR_UPDATING_ENTITY_MEMBER"] = "ERROR_UPDATING_ENTITY_MEMBER";
17
+ })(UpdateEntityMemberErrorCodes || (exports.UpdateEntityMemberErrorCodes = UpdateEntityMemberErrorCodes = {}));
@@ -1,4 +1,4 @@
1
- export declare enum UpdateCustomerVehicleErrorCodes {
1
+ export declare enum UpdateEntityVehicleErrorCodes {
2
2
  REQUEST_DATA_VALIDATION_FAILED = "REQUEST_DATA_VALIDATION_FAILED",
3
3
  CONTEXT_VALIDATION_FAILED = "CONTEXT_VALIDATION_FAILED",
4
4
  INVALID_VEHICLE_TYPE = "INVALID_VEHICLE_TYPE",
@@ -9,6 +9,9 @@ export declare enum UpdateCustomerVehicleErrorCodes {
9
9
  INVALID_VEHICLE_LOCATION = "INVALID_VEHICLE_LOCATION",
10
10
  INVALID_VEHICLE_PERSONAL_LABEL = "INVALID_VEHICLE_PERSONAL_LABEL",
11
11
  VEHICLE_NOT_FOUND = "VEHICLE_NOT_FOUND",
12
+ INVALID_ENTITY_DOCUMENT_ID = "INVALID_ENTITY_DOCUMENT_ID",
12
13
  INVALID_VEHICLE_ID = "INVALID_VEHICLE_ID",
13
- ERROR_UPDATING_VEHICLE = "ERROR_UPDATING_VEHICLE"
14
+ ERROR_UPDATING_VEHICLE = "ERROR_UPDATING_VEHICLE",
15
+ ENTITY_NOT_FOUND = "ENTITY_NOT_FOUND",
16
+ USER_NOT_AUTHORIZED_TO_UPDATE_VEHICLE_FOR_ENTITY = "USER_NOT_AUTHORIZED_TO_UPDATE_VEHICLE_FOR_ENTITY"
14
17
  }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateEntityVehicleErrorCodes = void 0;
4
+ var UpdateEntityVehicleErrorCodes;
5
+ (function (UpdateEntityVehicleErrorCodes) {
6
+ UpdateEntityVehicleErrorCodes["REQUEST_DATA_VALIDATION_FAILED"] = "REQUEST_DATA_VALIDATION_FAILED";
7
+ UpdateEntityVehicleErrorCodes["CONTEXT_VALIDATION_FAILED"] = "CONTEXT_VALIDATION_FAILED";
8
+ UpdateEntityVehicleErrorCodes["INVALID_VEHICLE_TYPE"] = "INVALID_VEHICLE_TYPE";
9
+ UpdateEntityVehicleErrorCodes["INVALID_VEHICLE_COLOR"] = "INVALID_VEHICLE_COLOR";
10
+ UpdateEntityVehicleErrorCodes["INVALID_VEHICLE_BRAND"] = "INVALID_VEHICLE_BRAND";
11
+ UpdateEntityVehicleErrorCodes["INVALID_VEHICLE_MODEL"] = "INVALID_VEHICLE_MODEL";
12
+ UpdateEntityVehicleErrorCodes["INVALID_VEHICLE_LICENSE_PLATE"] = "INVALID_VEHICLE_LICENSE_PLATE";
13
+ UpdateEntityVehicleErrorCodes["INVALID_VEHICLE_LOCATION"] = "INVALID_VEHICLE_LOCATION";
14
+ UpdateEntityVehicleErrorCodes["INVALID_VEHICLE_PERSONAL_LABEL"] = "INVALID_VEHICLE_PERSONAL_LABEL";
15
+ UpdateEntityVehicleErrorCodes["VEHICLE_NOT_FOUND"] = "VEHICLE_NOT_FOUND";
16
+ UpdateEntityVehicleErrorCodes["INVALID_ENTITY_DOCUMENT_ID"] = "INVALID_ENTITY_DOCUMENT_ID";
17
+ UpdateEntityVehicleErrorCodes["INVALID_VEHICLE_ID"] = "INVALID_VEHICLE_ID";
18
+ UpdateEntityVehicleErrorCodes["ERROR_UPDATING_VEHICLE"] = "ERROR_UPDATING_VEHICLE";
19
+ UpdateEntityVehicleErrorCodes["ENTITY_NOT_FOUND"] = "ENTITY_NOT_FOUND";
20
+ UpdateEntityVehicleErrorCodes["USER_NOT_AUTHORIZED_TO_UPDATE_VEHICLE_FOR_ENTITY"] = "USER_NOT_AUTHORIZED_TO_UPDATE_VEHICLE_FOR_ENTITY";
21
+ })(UpdateEntityVehicleErrorCodes || (exports.UpdateEntityVehicleErrorCodes = UpdateEntityVehicleErrorCodes = {}));
@@ -1 +1,10 @@
1
1
  export * from "./CreateNewEntityErrorCodes.enum";
2
+ export * from "./CreateEntityMemberInviteErrorCodes.enum";
3
+ export * from "./JoinEntityErrorCodes.enum";
4
+ export * from "./CreateEntityVehicleErrorCodes.enum";
5
+ export * from "./DeleteEntityVehicleErrorCodes.enum";
6
+ export * from "./RevokeEntityMemberInviteErrorCodes.enum";
7
+ export * from "./RevokeEntityMemberErrorCodes.enum";
8
+ export * from "./UpdateEntityMemberErrorCodes.enum";
9
+ export * from "./TransferEntityOwnershipErrorCodes.enum";
10
+ export * from "./UpdateEntityVehicleErrorCodes.enum";
@@ -15,3 +15,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./CreateNewEntityErrorCodes.enum"), exports);
18
+ __exportStar(require("./CreateEntityMemberInviteErrorCodes.enum"), exports);
19
+ __exportStar(require("./JoinEntityErrorCodes.enum"), exports);
20
+ __exportStar(require("./CreateEntityVehicleErrorCodes.enum"), exports);
21
+ __exportStar(require("./DeleteEntityVehicleErrorCodes.enum"), exports);
22
+ __exportStar(require("./RevokeEntityMemberInviteErrorCodes.enum"), exports);
23
+ __exportStar(require("./RevokeEntityMemberErrorCodes.enum"), exports);
24
+ __exportStar(require("./UpdateEntityMemberErrorCodes.enum"), exports);
25
+ __exportStar(require("./TransferEntityOwnershipErrorCodes.enum"), exports);
26
+ __exportStar(require("./UpdateEntityVehicleErrorCodes.enum"), exports);
@@ -4,5 +4,4 @@ export * from "./middlewares";
4
4
  export * from "./files";
5
5
  export * from "./wallets";
6
6
  export * from "./professionals";
7
- export * from "./customers";
8
7
  export * from "./entities";
@@ -20,5 +20,4 @@ __exportStar(require("./middlewares"), exports);
20
20
  __exportStar(require("./files"), exports);
21
21
  __exportStar(require("./wallets"), exports);
22
22
  __exportStar(require("./professionals"), exports);
23
- __exportStar(require("./customers"), exports);
24
23
  __exportStar(require("./entities"), exports);
@@ -3,5 +3,10 @@ export declare enum UpdateUserIdentityErrorCodes {
3
3
  CONTEXT_VALIDATION_FAILED = "CONTEXT_VALIDATION_FAILED",
4
4
  INVALID_FIRST_NAME = "INVALID_FIRST_NAME",
5
5
  INVALID_LAST_NAME = "INVALID_LAST_NAME",
6
- USER_DOCUMENT_NOT_FOUND = "USER_DOCUMENT_NOT_FOUND"
6
+ USER_DOCUMENT_NOT_FOUND = "USER_DOCUMENT_NOT_FOUND",
7
+ USER_RECORD_NOT_FOUND = "USER_RECORD_NOT_FOUND",
8
+ PRIVACY_POLICY_NOT_ACCEPTED = "PRIVACY_POLICY_NOT_ACCEPTED",
9
+ PROFESSIONAL_PRIVACY_POLICY_NOT_ACCEPTED = "PROFESSIONAL_PRIVACY_POLICY_NOT_ACCEPTED",
10
+ USER_EMAIL_NOT_VERIFIED_OR_SET = "USER_EMAIL_NOT_VERIFIED_OR_SET",
11
+ USER_PHONE_NUMBER_NOT_VERIFIED_OR_SET = "USER_PHONE_NUMBER_NOT_VERIFIED_OR_SET"
7
12
  }
@@ -8,4 +8,9 @@ var UpdateUserIdentityErrorCodes;
8
8
  UpdateUserIdentityErrorCodes["INVALID_FIRST_NAME"] = "INVALID_FIRST_NAME";
9
9
  UpdateUserIdentityErrorCodes["INVALID_LAST_NAME"] = "INVALID_LAST_NAME";
10
10
  UpdateUserIdentityErrorCodes["USER_DOCUMENT_NOT_FOUND"] = "USER_DOCUMENT_NOT_FOUND";
11
+ UpdateUserIdentityErrorCodes["USER_RECORD_NOT_FOUND"] = "USER_RECORD_NOT_FOUND";
12
+ UpdateUserIdentityErrorCodes["PRIVACY_POLICY_NOT_ACCEPTED"] = "PRIVACY_POLICY_NOT_ACCEPTED";
13
+ UpdateUserIdentityErrorCodes["PROFESSIONAL_PRIVACY_POLICY_NOT_ACCEPTED"] = "PROFESSIONAL_PRIVACY_POLICY_NOT_ACCEPTED";
14
+ UpdateUserIdentityErrorCodes["USER_EMAIL_NOT_VERIFIED_OR_SET"] = "USER_EMAIL_NOT_VERIFIED_OR_SET";
15
+ UpdateUserIdentityErrorCodes["USER_PHONE_NUMBER_NOT_VERIFIED_OR_SET"] = "USER_PHONE_NUMBER_NOT_VERIFIED_OR_SET";
11
16
  })(UpdateUserIdentityErrorCodes || (exports.UpdateUserIdentityErrorCodes = UpdateUserIdentityErrorCodes = {}));
@@ -29,9 +29,6 @@ export declare enum OnCallCloudFunctionsNames {
29
29
  UPDATE_PROFESSIONAL_USER_SLOT_DOCUMENT = "updateProfessionalUserSlotDocument",
30
30
  CREATE_PROFESSIONAL_USER_SLOT_DOCUMENT = "createProfessionalUserSlotDocument",
31
31
  DELETE_PROFESSIONAL_USER_SLOT_DOCUMENT = "deleteProfessionalUserSlotDocument",
32
- CREATE_CUSTOMER_VEHICLE = "createCustomerVehicle",
33
- UPDATE_CUSTOMER_VEHICLE = "updateCustomerVehicle",
34
- DELETE_CUSTOMER_VEHICLE = "deleteCustomerVehicle",
35
32
  REQUEST_WALLET_WITHDRAWAL = "requestWalletWithdrawal",
36
33
  APPLY_TEST_WALLET_LEDGER_ENTRY = "applyTestWalletLedgerEntry",
37
34
  GET_OR_CREATE_SERVICE_BOOKING_ORDER_WITH_PAYMENT_INTENT = "getOrCreateServiceBookingOrderWithPaymentIntent",
@@ -47,6 +44,15 @@ export declare enum OnCallCloudFunctionsNames {
47
44
  REPORT_ISSUE_WITH_ORDER = "reportIssueWithOrder",
48
45
  SEND_ORDER_CHAT_MESSAGE = "sendOrderChatMessage",
49
46
  CREATE_NEW_ENTITY = "createNewEntity",
47
+ CREATE_ENTITY_MEMBER_INVITE = "createEntityMemberInvite",
48
+ JOIN_ENTITY = "joinEntity",
49
+ REVOKE_ENTITY_MEMBER_INVITE = "revokeEntityMemberInvite",
50
+ REVOKE_ENTITY_MEMBER = "revokeEntityMember",
51
+ UPDATE_ENTITY_MEMBER = "updateEntityMember",
52
+ TRANSFER_ENTITY_OWNERSHIP = "transferEntityOwnership",
53
+ CREATE_ENTITY_VEHICLE = "createEntityVehicle",
54
+ UPDATE_ENTITY_VEHICLE = "updateEntityVehicle",
55
+ DELETE_ENTITY_VEHICLE = "deleteEntityVehicle",
50
56
  CREATE_SIGNED_UPLOAD_URLS = "createSignedUploadUrls",
51
57
  SEND_CLIENT_FIRESTORE_OPS_METRICS = "sendClientFirestoreOpsMetrics"
52
58
  }
@@ -40,10 +40,6 @@ var OnCallCloudFunctionsNames;
40
40
  OnCallCloudFunctionsNames["UPDATE_PROFESSIONAL_USER_SLOT_DOCUMENT"] = "updateProfessionalUserSlotDocument";
41
41
  OnCallCloudFunctionsNames["CREATE_PROFESSIONAL_USER_SLOT_DOCUMENT"] = "createProfessionalUserSlotDocument";
42
42
  OnCallCloudFunctionsNames["DELETE_PROFESSIONAL_USER_SLOT_DOCUMENT"] = "deleteProfessionalUserSlotDocument";
43
- // Customer
44
- OnCallCloudFunctionsNames["CREATE_CUSTOMER_VEHICLE"] = "createCustomerVehicle";
45
- OnCallCloudFunctionsNames["UPDATE_CUSTOMER_VEHICLE"] = "updateCustomerVehicle";
46
- OnCallCloudFunctionsNames["DELETE_CUSTOMER_VEHICLE"] = "deleteCustomerVehicle";
47
43
  // Wallet
48
44
  OnCallCloudFunctionsNames["REQUEST_WALLET_WITHDRAWAL"] = "requestWalletWithdrawal";
49
45
  OnCallCloudFunctionsNames["APPLY_TEST_WALLET_LEDGER_ENTRY"] = "applyTestWalletLedgerEntry";
@@ -62,6 +58,15 @@ var OnCallCloudFunctionsNames;
62
58
  OnCallCloudFunctionsNames["SEND_ORDER_CHAT_MESSAGE"] = "sendOrderChatMessage";
63
59
  // Entities
64
60
  OnCallCloudFunctionsNames["CREATE_NEW_ENTITY"] = "createNewEntity";
61
+ OnCallCloudFunctionsNames["CREATE_ENTITY_MEMBER_INVITE"] = "createEntityMemberInvite";
62
+ OnCallCloudFunctionsNames["JOIN_ENTITY"] = "joinEntity";
63
+ OnCallCloudFunctionsNames["REVOKE_ENTITY_MEMBER_INVITE"] = "revokeEntityMemberInvite";
64
+ OnCallCloudFunctionsNames["REVOKE_ENTITY_MEMBER"] = "revokeEntityMember";
65
+ OnCallCloudFunctionsNames["UPDATE_ENTITY_MEMBER"] = "updateEntityMember";
66
+ OnCallCloudFunctionsNames["TRANSFER_ENTITY_OWNERSHIP"] = "transferEntityOwnership";
67
+ OnCallCloudFunctionsNames["CREATE_ENTITY_VEHICLE"] = "createEntityVehicle";
68
+ OnCallCloudFunctionsNames["UPDATE_ENTITY_VEHICLE"] = "updateEntityVehicle";
69
+ OnCallCloudFunctionsNames["DELETE_ENTITY_VEHICLE"] = "deleteEntityVehicle";
65
70
  // Files
66
71
  OnCallCloudFunctionsNames["CREATE_SIGNED_UPLOAD_URLS"] = "createSignedUploadUrls";
67
72
  // Metrics