Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, *args, **kwargs):
"""
Initialize the endpoint
"""
super(ConversationMessages, self).__init__(*args, **kwargs)
self.endpoint = 'conversations'
self.conversation_id = None
self.message_id = None
def __init__(self, *args, **kwargs):
"""
Initialize the endpoint
"""
super(Conversations, self).__init__(*args, **kwargs)
self.endpoint = 'conversations'
self.conversation_id = None
self.messages = ConversationMessages(self)
self.automations.removed_subscribers = AutomationRemovedSubscribers(self)
# Batch Operations
self.batches = self.batch_operations = BatchOperations(self)
# Batch Webhooks
self.batch_webhooks = BatchWebhooks(self)
# Campaign Folders
self.campaign_folders = CampaignFolders(self)
# Campaigns
self.campaigns = Campaigns(self)
self.campaigns.actions = CampaignActions(self)
self.campaigns.content = CampaignContent(self)
self.campaigns.feedback = CampaignFeedback(self)
self.campaigns.send_checklist = CampaignSendChecklist(self)
# Conversations - Paid feature
self.conversations = Conversations(self)
self.conversations.messages = ConversationMessages(self)
# E-commerce Stores
self.stores = self.ecommerce = Stores(self)
self.stores.carts = StoreCarts(self)
self.stores.carts.lines = StoreCartLines(self)
self.stores.customers = StoreCustomers(self)
self.stores.orders = StoreOrders(self)
self.stores.orders.lines = StoreOrderLines(self)
self.stores.products = StoreProducts(self)
self.stores.products.images = StoreProductImages(self)
self.stores.products.variants = StoreProductVariants(self)
self.stores.promo_rules = StorePromoRules(self)
self.stores.promo_codes = StorePromoCodes(self)
# File Manager Files
self.files = FileManagerFiles(self)
# File Manager Folders
self.folders = FileManagerFolders(self)