letschatty 0.4.352__py3-none-any.whl → 0.4.354__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,8 +5,8 @@ from .CRM.funnel import Funnel, FunnelPreview, ChatFunnel, StageTransition, Funn
5
5
  from .integrations.product_sync_status import ProductSyncStatus
6
6
  from .integrations.sync_status_enum import SyncStatusEnum
7
7
  from .integrations.shopify.shopify_webhook_topics import ShopifyWebhookTopic
8
- from .integrations.shopify.company_shopify_integration import ShopifyIntegration
8
+ from .integrations.shopify.company_shopify_integration import ShopifyIntegration, ShopifyWebhookSubscription
9
9
  from .integrations.shopify.shopify_product_sync_status import ShopifyProductSyncStatus, ShopifyProductSyncStatusEnum
10
10
  from .integrations.tienda_nube.tienda_nube_webhook_topics import TiendaNubeWebhookTopic
11
- from .integrations.tienda_nube.company_tienda_nube_integration import TiendaNubeIntegration
11
+ from .integrations.tienda_nube.company_tienda_nube_integration import TiendaNubeIntegration, TiendaNubeWebhookSubscription
12
12
  from .integrations.tienda_nube.tienda_nube_product_sync_status import TiendaNubeProductSyncStatus, TiendaNubeProductSyncStatusEnum
@@ -10,10 +10,11 @@ import json
10
10
  class ProductPreview(ChattyAssetPreview):
11
11
  color: str = Field(default="#000000")
12
12
  price: Optional[Dict[str, float]] = Field(default=None)
13
+ external_id: Optional[str] = Field(default=None)
13
14
 
14
15
  @classmethod
15
16
  def get_projection(cls) -> dict[str, Any]:
16
- return super().get_projection() | {"color": 1, "description": 1, "price": 1}
17
+ return super().get_projection() | {"color": 1, "description": 1, "price": 1, "external_id":1}
17
18
 
18
19
  @classmethod
19
20
  def from_asset(cls, asset: 'Product') -> 'ProductPreview':
@@ -23,7 +24,8 @@ class ProductPreview(ChattyAssetPreview):
23
24
  company_id=asset.company_id,
24
25
  created_at=asset.created_at,
25
26
  color=asset.color,
26
- updated_at=asset.updated_at
27
+ updated_at=asset.updated_at,
28
+ external_id=asset.external_id
27
29
  )
28
30
 
29
31
  class Product(CompanyAssetModel):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: letschatty
3
- Version: 0.4.352
3
+ Version: 0.4.354
4
4
  Summary: Models and custom classes to work across the Chattyverse
5
5
  License: MIT
6
6
  Author: Axel
@@ -79,7 +79,7 @@ letschatty/models/chat/temporary_chat.py,sha256=MR68vYrNvoyf40cLs2p5NnI8BNeN1VGT
79
79
  letschatty/models/chat/time_left.py,sha256=2uA9dS_0QAVnWn7Q2wIwGe4tMrlYBP9qySC7M8I0jb8,3307
80
80
  letschatty/models/company/CRM/business_area.py,sha256=U0F_7Rbq-e5tMSj_MugPqMHm2-IHxbAKbN0PWZ_93-o,296
81
81
  letschatty/models/company/CRM/funnel.py,sha256=gBGZhud060sK5QFI5y9NgmFuhLCOAtzK81TKBhK2gxE,15820
82
- letschatty/models/company/__init__.py,sha256=cGjsBU6sSqL-IkSbLiFdusRCb9eJJDyIoJTR02ujYkI,937
82
+ letschatty/models/company/__init__.py,sha256=Mp0d7wNqkKBp6Ag6d73eAWyhux6jdn4zh8zwWuF1ZHY,996
83
83
  letschatty/models/company/assets/__init__.py,sha256=z0xN_lt1D76bXt8DXVdbH3GkofUPQPZU9NioRSLt_lI,244
84
84
  letschatty/models/company/assets/ai_agents_v2/ai_agent_message_draft.py,sha256=xbshA34RSjHm2g8J7hW2FkWo-Qm8MH2HTbcRcoYmyvc,2076
85
85
  letschatty/models/company/assets/ai_agents_v2/ai_agents_decision_output.py,sha256=aEKZCOsGiFFPSx23fkS5Khfsxo-r8JGk3O0sxiGs8T0,5876
@@ -116,7 +116,7 @@ letschatty/models/company/assets/launch/scheduled_communication.py,sha256=EfsTVl
116
116
  letschatty/models/company/assets/launch/subscription.py,sha256=BnZuNK0jMOzn0s9zgS8FAVuwDEb4xKnK_Mvum4SIcYQ,2204
117
117
  letschatty/models/company/assets/media/__init__.py,sha256=o22MHvoqGBUeG1P383KfBfsu-Fg0YdVh9FYeNB1j14s,38
118
118
  letschatty/models/company/assets/media/file.py,sha256=MFhTNe8zsgjR1zMm2UIAznp4vtD4U12UMfu7mjFIGfE,1902
119
- letschatty/models/company/assets/product.py,sha256=02eAZlE74nRzwOPAmbCHkQj7czVNgEtJQNzWxSBPP_w,2406
119
+ letschatty/models/company/assets/product.py,sha256=5KsDfkc7URI_pQzVmhpDvkx_pvooKvHQOd_lJQ7-yKo,2519
120
120
  letschatty/models/company/assets/sale.py,sha256=8YiZoRHA0l6-JHX4N0jDe8PDu5Kkw1O2tZLDNOGL8p8,1143
121
121
  letschatty/models/company/assets/tag.py,sha256=P1jRAvaebEtdAUs-07sRbCK25vmS6Q5NNtH7UX7bK-0,1008
122
122
  letschatty/models/company/assets/users/agent_chats_snapshot.py,sha256=CTNRN8p9HE57bvxI8MbO2krg8KD3yIo3PmFjIV0iVWg,568
@@ -284,7 +284,7 @@ letschatty/services/template_campaigns/template_campaign_service.py,sha256=jORgD
284
284
  letschatty/services/users/agent_service.py,sha256=hIkUUJ1SpkKbh5_uo4i2CeqGtuMTjU7tSV8k5J7WPG4,279
285
285
  letschatty/services/users/user_factory.py,sha256=FCB9uiAfjMeYfh4kMdx5h8VDHJ8MCsD-uaxW3X3KaWM,6681
286
286
  letschatty/services/validators/analytics_validator.py,sha256=6ejecLcif2i1C5trUo1qQgp8vKr9WchdljFZ5GzB2i4,7239
287
- letschatty-0.4.352.dist-info/LICENSE,sha256=EClLu_bO2HBLDcThowIwfaIg5EOwIYhpRsBJjVEk92A,1197
288
- letschatty-0.4.352.dist-info/METADATA,sha256=74xaD8t1Frkxej4OkYwaownCxE3Zv70rV5-Cibah3ec,3283
289
- letschatty-0.4.352.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
290
- letschatty-0.4.352.dist-info/RECORD,,
287
+ letschatty-0.4.354.dist-info/LICENSE,sha256=EClLu_bO2HBLDcThowIwfaIg5EOwIYhpRsBJjVEk92A,1197
288
+ letschatty-0.4.354.dist-info/METADATA,sha256=yu2vzkQgrt-zFTv1gtOcDIPYyBfQ4qQ1uVF0fPHBw6o,3283
289
+ letschatty-0.4.354.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
290
+ letschatty-0.4.354.dist-info/RECORD,,