Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extensibility as custom phone provider deploy cli support #1038

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ramya18101
Copy link
Contributor

@ramya18101 ramya18101 commented Feb 27, 2025

phoneProviders:
  - name: twilio
    configuration:
      sid:sample_sid
      default_from: ++15673812244
      delivery_methods:
        - text
        - voice
    disabled: false

🔧 Changes

📚 References

🔬 Testing

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

fs.ensureDirSync(phoneProvidersFolder);

const phoneProviderFile = path.join(phoneProvidersFolder, 'provider.json');
// @ts-ignore
Copy link
Contributor

@kushalshit27 kushalshit27 Feb 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why using @ts-ignore?

@@ -52,3 +52,21 @@ export function emailProviderDefaults(emailProvider) {

return updated;
}

export function phoneProviderDefaults(phoneProvider) {
// eslint-disable-line
Copy link
Contributor

@kushalshit27 kushalshit27 Feb 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why using @ts-ignore?

Copy link
Contributor

@kushalshit27 kushalshit27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please pr checks failing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants