ServiceAuthorizationStatus
The status of the service authorization. The status transitions are: PENDING_AUTH → COMPLETED_AUTH → CONNECTED ↔ REINSTALL_REQUIRED
Once connected, the status may revert to REINSTALL_REQUIRED if the integration is revoked in the third-party service; re-running the authorization flow will restore it to CONNECTED.
ServiceAuthorizationStatusValues
Service authorization was requested, but the user has not yet completed the authorization.
User has completed the service authorization, but the service is not yet ready for use. This happens when the service requires additional configuration (e.g. creating webhooks in the service). This is a transient state that typically lasts for a few seconds. Plain will automatically attempt to configure the service, and transition to CONNECTED or REINSTALL_REQUIRED.
Service authorization is connected and ready for use.
Service authorization was revoked, this typically happen when the Plain integration is removed from the service. Plain keeps the service authorization to allow for reconnection without losing the service's configuration.

