-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
222 additions
and
18 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
bots/migrations/0060_botintegration_wa_business_access_token_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Generated by Django 4.2.7 on 2024-02-22 22:10 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('bots', '0059_savedrun_is_api_call'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='botintegration', | ||
name='wa_business_access_token', | ||
field=models.TextField(blank=True, default=None, help_text="Bot's WhatsApp Business access token (mandatory) -- has these scopes: ['whatsapp_business_management', 'whatsapp_business_messaging', 'public_profile']", null=True), | ||
), | ||
migrations.AddField( | ||
model_name='botintegration', | ||
name='wa_business_account_name', | ||
field=models.TextField(blank=True, default='', help_text="Bot's WhatsApp Business API account name (only for display)"), | ||
), | ||
migrations.AddField( | ||
model_name='botintegration', | ||
name='wa_business_message_template_namespace', | ||
field=models.TextField(blank=True, default='', help_text="Bot's WhatsApp Business API message template namespace"), | ||
), | ||
migrations.AddField( | ||
model_name='botintegration', | ||
name='wa_business_name', | ||
field=models.TextField(blank=True, default='', help_text="Bot's WhatsApp Business API name (only for display)"), | ||
), | ||
migrations.AddField( | ||
model_name='botintegration', | ||
name='wa_business_user_id', | ||
field=models.TextField(blank=True, default=None, help_text="Bot's WhatsApp Business API user id (mandatory)", null=True), | ||
), | ||
migrations.AddField( | ||
model_name='botintegration', | ||
name='wa_business_waba_id', | ||
field=models.TextField(blank=True, default=None, help_text="Bot's WhatsApp Business API WABA id (mandatory) -- this is the one seen on https://business.facebook.com/settings/whatsapp-business-accounts/", null=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.