IAV-989/feat(instagram): introduce dedicated Instagram Pro validation service with header-based token transport
Extracts Instagram credential validation out of the shared Meta store into a dedicated service layer.
What changed
New files:
-
instagram.pro.validation.types.ts— types mirroring backend Java DTOs -
instagram-pro-api-validation-api-service.config.ts— endpoint constants -
instagram-pro-api-validation.service.api.ts— token sent viaX-Instagram-Access-Tokenheader -
instagram.pro.validation.store.ts—useInstagramProValidationStorewithvalidateTokenPermissions,validateWebhook,resetValidations -
InstagramAccessTokenField.tsx— isolated token input with show/hide toggle
Modified:
-
step-integration-config-dynamic.tsx— wires new store forinstagram_header_auth; rendersInstagramAccessTokenFieldinstead ofDynamicCredentialForm
Related Issues
Closes IAV-989