Skip to content

IAV-1243 /feat(orchestration): add WhatsappCredentialPairDTO and buildCheckUserIntegrationExistsByTypeAndPlatformUrl

salaheddine zidani a demandé de fusionner feature/IAV-1243 vers develop

Summary

This MR introduces a small but focused addition to the orchestration layer: a new response DTO for WhatsApp credential pairs and a new URL builder for platform-level integration existence checks.

Changes

WhatsappCredentialPairDTO

A new DTO under com.izemx.iavia.common.orchestration.dtos.responses that encapsulates a resolved pair of WhatsApp credentials:

  • whatsappCredentialUid — the standard WhatsApp credential identifier
  • whatsappOAuthCredentialUid — the associated OAuth credential identifier

buildCheckUserIntegrationExistsByTypeAndPlatformUrl

A new static method in OrchestrationServicePath that builds the URL for POST /user-integrations/check-exists-by-platform. Unlike the existing buildCheckUserIntegrationExistsUrl, this variant does not require a userUid, allowing callers to check existence purely by credentialType and platformAccountId.

Rapports de requête de fusion