CustomerCreated
v2.0.0

Event represents when a Customer has been created in the Customer Service

Details

This event is emitted after a Customer has been inserted in the Customer Service.

Consumer / Producer Diagram

Event Example

CustomerCreated Schema (json)
{
  "version": "0",
  "id": "e6706876-18e0-ee49-7e57-ddc34660349e",
  "detail-type": "CustomerCreated",
  "source": "flatsy.service.customer",
  "account": "932239071841",
  "time": "2023-11-09T17:17:33Z",
  "region": "eu-west-3",
  "resources": [],
  "detail": {
      "metadata": {
          "application": "system",
          "service": "flatsy.service.customer",
          "actor": "system",
          "actorID": "system",
          "entity": "Customer",
          "entityID": "6fe103df-e650-4058-8764-79a70136e373",
          "correlationID": null,
          "reasonForFailure": null,
          "requestID": "b3a56d73-5310-4a9f-964f-4d18b3fc7bd4"
      },
      "data": {
          "customer": {
              "id": "6fe103df-e650-4058-8764-79a70136e373",
              "slug": "cabinet-support",
              "hybridToken": "t4yDMBKlprApuxYMc0UzLA",
              "source": "LEGACY",
              "version": "3.0",
              "name": "Cabinet support",
              "design": {
                  "hexaColor": "",
                  "logoUrl": ""
              },
              "publicDetails": {
                  "email": "support@flatsy.fr",
                  "phoneNumber": "",
                  "businessHours": [],
                  "businessHoursRawHtml": "",
                  "legalRegistrationNumber": "",
                  "privacyPolicyUrl": ""
              },
              "location": {
                  "latitude": null,
                  "longitude": null,
                  "countryCode": "FRA",
                  "postalCode": "",
                  "locality": "",
                  "route": "",
                  "streetAddress": "",
                  "streetNumber": ""
              },
              "contacts": {
                  "main": {
                      "firstName": "Cabinet support",
                      "lastName": "",
                      "email": "support@flatsy.fr",
                      "phoneNumber": "",
                      "photoUrl": ""
                  },
                  "billing": [
                      {
                          "firstName": "",
                          "lastName": "",
                          "email": "",
                          "phoneNumber": ""
                      }
                  ],
                  "notifications": {
                      "firstName": "",
                      "lastName": "",
                      "email": "",
                      "phoneNumber": ""
                  },
                  "operations": {
                      "firstName": "Cabinet support",
                      "lastName": "",
                      "email": "support@flatsy.fr",
                      "phoneNumber": ""
                  }
              },
              "enabledFeatures": {
                  "missions": {
                      "commercialViewing": [
                          {
                              "startsAt": "2023-08-10",
                              "endsAt": null
                          }
                      ],
                      "inspection": [],
                      "automaticApplicationCreation": [],
                      "applicationDocumentsManagement": []
                  }
              },
              "createdAt": "2023-08-10T09:58:33.672310+00:00",
              "updatedAt": "2023-10-23T16:31:10.346591+00:00",
              "integrations": [],
              "billing": {
                  "segment": "AGENCY_DIGITAL"
              },
              "invoicing": {
                  "invoicingParty": {
                      "id": "6fe103df-e650-4058-8764-79a70136e373",
                      "type": "CUSTOMER"
                  }
              },
              "payment": {
                  "delayInDays": 30,
                  "legalName": ""
              },
              "reporting": {
                  "dashboardUrl": ""
              },
              "notifications": {
                  "smsSenderName": "",
                  "context": {
                      "billing": {
                          "latePaymentToCustomerNotification": {
                              "isEnabled": true,
                              "delayInHours": 24.0
                          }
                      },
                      "operations": {
                          "mission": {
                              "missionNewMessageByFlatsyToCustomer": {
                                  "isEnabled": true,
                                  "delayInHours": 0.0
                              }
                          },
                          "commercialViewing": {
                              "rent": {
                                  "missionNewMessageByFlatsyToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "missionMissingAvailabilitiesToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "missionOrderedToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "missionNegativeFeedbackThresholdReachedToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "missionResumedToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "missionMultipleAssignmentsAcceptedByAgentsToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "missionAssignmentAcceptedByAgentToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "missionOnHoldToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingCancelledByAttendeeToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingConfirmedToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingReportSubmittedToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "applicationDocumentsSubmittedToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "applicationFailedPrequalificationToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "missionClosingToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingCancelledToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingRescheduledToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingConfirmedToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingInvitationToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingInvitationCustomizedToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingWithNoRequiredDocumentsConfirmedToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingFirstReminderToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 24.0
                                  },
                                  "applicationDocumentsAcknowledgedToApplicant": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingCancelledByAgentToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingCancelledByCustomerToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingCancelledByAttendeeToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingCancelledByMissionClosingToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingTimeSlotUpdatedToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "applicationRejectedToApplicant": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingSecondReminderToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 2.0
                                  },
                                  "bookingFeedbackOnAgentRequestedToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 1.0
                                  },
                                  "bookingAttendedToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "applicationDocumentsRequiredReminderToApplicant": {
                                      "isEnabled": true,
                                      "delayInHours": 24.0
                                  }
                              },
                              "buy": {
                                  "missionNewMessageByFlatsyToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "missionMissingAvailabilitiesToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "missionOrderedToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "missionNegativeFeedbackThresholdReachedToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "missionResumedToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "missionMultipleAssignmentsAcceptedByAgentsToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "missionAssignmentAcceptedByAgentToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "missionOnHoldToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingCancelledByAttendeeToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingConfirmedToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingReportSubmittedToCustomer": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "missionClosingToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingCancelledToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingRescheduledToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingConfirmedToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingInvitationToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingInvitationCustomizedToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingFirstReminderToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 24.0
                                  },
                                  "bookingCancelledByAgentToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingCancelledByCustomerToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingCancelledByAttendeeToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingCancelledByMissionClosingToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingTimeSlotUpdatedToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 0.0
                                  },
                                  "bookingSecondReminderToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 2.0
                                  },
                                  "bookingFeedbackOnAgentRequestedToAttendee": {
                                      "isEnabled": true,
                                      "delayInHours": 1.0
                                  }
                              }
                          },
                          "inspection": {
                              "bookingConfirmedToAttendee": {
                                  "isEnabled": true,
                                  "delayInHours": 0.0
                              },
                              "missionAssignmentAcceptedByAgentToCustomer": {
                                  "isEnabled": true,
                                  "delayInHours": 0.0
                              },
                              "missionAcceptedByFlatsyToCustomer": {
                                  "isEnabled": true,
                                  "delayInHours": 0.0
                              },
                              "missionDeclinedByFlatsyToCustomer": {
                                  "isEnabled": true,
                                  "delayInHours": 0.0
                              }
                          }
                      },
                      "relations": {
                          "newDashboardAvailableToCustomerNotification": {
                              "isEnabled": true,
                              "delayInHours": 24.0
                          }
                      }
                  }
              },
              "operations": {
                  "access": {
                      "default": {
                          "state": "CUSTOMER",
                          "comment": ""
                      }
                  },
                  "handlesErp": true,
                  "propertyImport": {
                      "thirdParty": {
                          "source": "",
                          "ids": []
                      }
                  },
                  "defaultMissionOptions": {
                      "commercialViewing": {
                          "rent": {
                              "defaultDurationInMinutes": 15,
                              "defaultIntervalInMinutes": 15,
                              "minAnticipationInHours": 6,
                              "weekRushHours": [
                                  9,
                                  12,
                                  13,
                                  18,
                                  19
                              ],
                              "weekendRushHours": [
                                  10,
                                  11,
                                  12,
                                  13,
                                  14
                              ],
                              "maxVisitorsPerViewing": 1,
                              "negativeFeedbacksBeforeStandBy": 3,
                              "tenantWarningDelayInHours": 48,
                              "bookingHours": [],
                              "daysForward": 14,
                              "maxViewingsSlots": 99,
                              "maxViewingsPerDay": 5,
                              "initialBookingsThreshold": 7,
                              "isCreatedOnPropertyImport": false,
                              "prequalifications": [
                                  {
                                      "name": "NO_CRITERIA",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 0.0,
                                      "guarantorRatio": 0.0,
                                      "isDefaultOnImport": false
                                  },
                                  {
                                      "name": "GLI",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 2.7,
                                      "guarantorRatio": 2.7,
                                      "isDefaultOnImport": false
                                  },
                                  {
                                      "name": "LESSOR_LEGAL_ENTITY",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 3.3,
                                      "guarantorRatio": 3.3,
                                      "isDefaultOnImport": false
                                  },
                                  {
                                      "name": "APPLICANT_AND_GUARANTOR",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 3.3,
                                      "guarantorRatio": 3.3,
                                      "isDefaultOnImport": false
                                  },
                                  {
                                      "name": "APPLICANT_OR_GUARANTOR",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 3.3,
                                      "guarantorRatio": 3.3,
                                      "isDefaultOnImport": false
                                  },
                                  {
                                      "name": "VISALE",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 3.3,
                                      "guarantorRatio": 3.3,
                                      "isDefaultOnImport": false
                                  },
                                  {
                                      "name": "PLAI",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 0.0,
                                      "guarantorRatio": 0.0,
                                      "isDefaultOnImport": false
                                  },
                                  {
                                      "name": "PLAI_RATE_EFFORT",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 3.3,
                                      "guarantorRatio": 3.3,
                                      "isDefaultOnImport": false
                                  },
                                  {
                                      "name": "PLUS",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 0.0,
                                      "guarantorRatio": 0.0,
                                      "isDefaultOnImport": false
                                  },
                                  {
                                      "name": "PLUS_RATE_EFFORT",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 3.3,
                                      "guarantorRatio": 3.3,
                                      "isDefaultOnImport": false
                                  },
                                  {
                                      "name": "PLS",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 0.0,
                                      "guarantorRatio": 0.0,
                                      "isDefaultOnImport": false
                                  },
                                  {
                                      "name": "PLS_RATE_EFFORT",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 3.3,
                                      "guarantorRatio": 3.3,
                                      "isDefaultOnImport": false
                                  },
                                  {
                                      "name": "PLI",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 0.0,
                                      "guarantorRatio": 0.0,
                                      "isDefaultOnImport": false
                                  },
                                  {
                                      "name": "PLI_RATE_EFFORT",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 3.3,
                                      "guarantorRatio": 3.3,
                                      "isDefaultOnImport": false
                                  },
                                  {
                                      "name": "LI2015",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 0.0,
                                      "guarantorRatio": 0.0,
                                      "isDefaultOnImport": false
                                  },
                                  {
                                      "name": "LI2015_RATE_EFFORT",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 3.3,
                                      "guarantorRatio": 3.3,
                                      "isDefaultOnImport": false
                                  },
                                  {
                                      "name": "RU",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 0.0,
                                      "guarantorRatio": 0.0,
                                      "isDefaultOnImport": false
                                  },
                                  {
                                      "name": "RU_RATE_EFFORT",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 3.3,
                                      "guarantorRatio": 3.3,
                                      "isDefaultOnImport": false
                                  },
                                  {
                                      "name": "PINEL",
                                      "acceptsOnlyPrivateEmployees": false,
                                      "ratio": 2.7,
                                      "guarantorRatio": 2.7,
                                      "isDefaultOnImport": false
                                  }
                              ],
                              "applicationDocuments": {
                                  "request": "AFTER_BOOKING"
                              },
                              "applicationPdf": {
                                  "url": ""
                              },
                              "maximumQualificationAttemptsByApplicant": 3,
                              "thirdPartyApplicationProvider": {
                                  "url": ""
                              },
                              "acceptsRoommates": false
                          },
                          "buy": {
                              "defaultDurationInMinutes": 30,
                              "defaultIntervalInMinutes": 15,
                              "minAnticipationInHours": 6,
                              "weekRushHours": [
                                  9,
                                  12,
                                  13,
                                  18,
                                  19
                              ],
                              "weekendRushHours": [
                                  10,
                                  11,
                                  12,
                                  13,
                                  14
                              ],
                              "maxVisitorsPerViewing": 1,
                              "negativeFeedbacksBeforeStandBy": 3,
                              "tenantWarningDelayInHours": 48,
                              "bookingHours": [],
                              "daysForward": 14,
                              "maxViewingsSlots": 99,
                              "maxViewingsPerDay": 5,
                              "initialBookingsThreshold": 10,
                              "isCreatedOnPropertyImport": false
                          }
                      },
                      "inspection": {
                          "daysForward": 90,
                          "maxViewingsSlots": 99,
                          "maxViewingsPerDay": 5,
                          "initialBookingsThreshold": 1,
                          "bookingHours": [],
                          "bookingSelectionMode": "CUSTOMER",
                          "requiresBrandedInspectionReport": false,
                          "isCreatedOnPropertyImport": false,
                          "tool": {
                              "default": "NOCKEE",
                              "fallback": "PAPER"
                          }
                      }
                  }
              },
              "visitorConsent": {
                  "agreesToBeRecontacted": false,
                  "agreesToIdentityCheck": false,
                  "agreesToCertifyInformationVeracity": false
              },
              "relations": {
                  "csm": []
              }
          }
      }
  }
}
Edit this pageLast updated on 2023/11/14