Skip to content

Add whatsapp_templates.create, whatsapp_templates.update, verify_apps.create, verify_apps.list, verify_app_templates.list, verify_apps.get, verify_apps.update, verify_apps.delete#309

Closed
Narayana Shanbhog Plivo (narayana-plivo) wants to merge 1 commit into
masterfrom
rune/pr-629-sdk-updates

Conversation

@narayana-plivo
Copy link
Copy Markdown
Contributor

Add whatsapp_templates.create, whatsapp_templates.update, verify_apps.create, verify_apps.list, verify_app_templates.list, verify_apps.get, verify_apps.update, verify_apps.delete

Base: master ← rune/pr-629-sdk-updates

Reviewers (picked by recent commit activity):

Adds the following methods:

  • whatsapp_templates.create()POST /v1/Account/{auth_id}/WhatsApp/Template/{waba_id}/ — Add optional application_id field to the WhatsApp template create request.
  • whatsapp_templates.update()POST /v1/Account/{auth_id}/WhatsApp/Template/{waba_id}/{template_id}/ — Add optional application_id field to the WhatsApp template update request.
  • verify_apps.create()POST /v1/Account/{auth_id}/Verify/App/ — Create a new Verify App for OTP delivery with optional channel and configuration settings.
  • verify_apps.list()GET /v1/Account/{auth_id}/Verify/App/ — List Verify Apps owned by the account with optional filtering and pagination.
  • verify_app_templates.list()GET /v1/Account/{auth_id}/Verify/App/templates/ — List available SMS OTP templates for the account including account-owned and Plivo system defaults.
  • verify_apps.get()GET /v1/Account/{auth_id}/Verify/App/{app_uuid}/ — Retrieve details of a specific Verify App by its UUID.
  • verify_apps.update()POST /v1/Account/{auth_id}/Verify/App/{app_uuid}/ — Partially update a Verify App; only fields included in the request body are modified.
  • verify_apps.delete()DELETE /v1/Account/{auth_id}/Verify/App/{app_uuid}/ — Soft-delete a Verify App by its UUID.

Each method ships with a unit test, a usage example, a bumped version, and a CHANGELOG entry.

….create, verify_apps.list, verify_app_templates.list, verify_apps.get, verify_apps.update, verify_apps.delete

- whatsapp_templates.create (POST /v1/Account/{auth_id}/WhatsApp/Template/{waba_id}/)
- whatsapp_templates.update (POST /v1/Account/{auth_id}/WhatsApp/Template/{waba_id}/{template_id}/)
- verify_apps.create (POST /v1/Account/{auth_id}/Verify/App/)
- verify_apps.list (GET /v1/Account/{auth_id}/Verify/App/)
- verify_app_templates.list (GET /v1/Account/{auth_id}/Verify/App/templates/)
- verify_apps.get (GET /v1/Account/{auth_id}/Verify/App/{app_uuid}/)
- verify_apps.update (POST /v1/Account/{auth_id}/Verify/App/{app_uuid}/)
- verify_apps.delete (DELETE /v1/Account/{auth_id}/Verify/App/{app_uuid}/)
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.

1 participant