enabled mailjet_event & mailjet_commerce modules

This commit is contained in:
Bachir Soussi Chiadmi 2022-05-03 22:34:14 +02:00
parent c089ffc72a
commit e46b7fc68c
15 changed files with 382 additions and 1 deletions

View File

@ -4,6 +4,8 @@ status: true
dependencies:
config:
- commerce_order.commerce_order_type.default
- field.field.commerce_order.default.field_mailjet_campaign_id
- field.field.commerce_order.default.field_mailjet_campaign_name
module:
- commerce_order
- inline_entity_form
@ -48,6 +50,8 @@ content:
third_party_settings: { }
hidden:
created: true
field_mailjet_campaign_id: true
field_mailjet_campaign_name: true
ip_address: true
mail: true
order_number: true

View File

@ -4,6 +4,8 @@ status: true
dependencies:
config:
- commerce_order.commerce_order_type.default
- field.field.commerce_order.default.field_mailjet_campaign_id
- field.field.commerce_order.default.field_mailjet_campaign_name
module:
- commerce_order
- commerce_price
@ -100,7 +102,10 @@ content:
region: content
hidden:
billing_profile: true
field_mailjet_campaign_id: true
field_mailjet_campaign_name: true
order_number: true
search_api_excerpt: true
store_id: true
synonyms: true
total_paid: true

View File

@ -5,6 +5,8 @@ dependencies:
config:
- commerce_order.commerce_order_type.default
- core.entity_view_mode.commerce_order.user
- field.field.commerce_order.default.field_mailjet_campaign_id
- field.field.commerce_order.default.field_mailjet_campaign_name
module:
- commerce_order
- entity_reference_revisions
@ -82,8 +84,13 @@ content:
weight: 6
region: content
hidden:
balance: true
changed: true
field_mailjet_campaign_id: true
field_mailjet_campaign_name: true
ip_address: true
search_api_excerpt: true
store_id: true
synonyms: true
total_paid: true
uid: true

View File

@ -129,6 +129,8 @@ module:
login_tracker: 0
mailgun: 0
mailjet: 0
mailjet_commerce: 0
mailjet_event: 0
maillog: 0
mailsystem: 0
masquerade: 0

View File

@ -0,0 +1,25 @@
uuid: 5bb2b613-114d-4b8d-8657-79e74f3c53df
langcode: en
status: true
dependencies:
config:
- commerce_order.commerce_order_type.default
- field.storage.commerce_order.field_mailjet_campaign_id
_core:
default_config_hash: vIm2vR68oaCO7x6mk0UGfA6qBkuvHRq8_BES1H8634E
id: commerce_order.default.field_mailjet_campaign_id
field_name: field_mailjet_campaign_id
entity_type: commerce_order
bundle: default
label: 'Mailjet Campaign ID'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
min: null
max: null
prefix: ''
suffix: ''
field_type: integer

View File

@ -0,0 +1,23 @@
uuid: c1344160-45db-434c-a90f-64a01729fdde
langcode: en
status: true
dependencies:
config:
- commerce_order.commerce_order_type.default
- field.storage.commerce_order.field_mailjet_campaign_name
module:
- options
_core:
default_config_hash: keaFr5idCnUDmvA1E1qEC8-IOeAhA5UXGI_TPyEdjhk
id: commerce_order.default.field_mailjet_campaign_name
field_name: field_mailjet_campaign_name
entity_type: commerce_order
bundle: default
label: 'Mailjet Campaign Name'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: list_string

View File

@ -0,0 +1,22 @@
uuid: 82feac51-4262-4886-8451-b2fc982915fa
langcode: en
status: true
dependencies:
module:
- commerce_order
_core:
default_config_hash: 3gnAWb2CnqBEoWTpXEbJobW4YAMgjMk-vjZ7F9AwAcs
id: commerce_order.field_mailjet_campaign_id
field_name: field_mailjet_campaign_id
entity_type: commerce_order
type: integer
settings:
unsigned: false
size: normal
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,23 @@
uuid: 72917972-04e8-40bf-8ab8-7f4f41610812
langcode: en
status: true
dependencies:
module:
- commerce_order
- options
_core:
default_config_hash: D8YCku1MLxQ5JJv-1KTKmySKDkWUMC4sDCXCAK8gWx0
id: commerce_order.field_mailjet_campaign_name
field_name: field_mailjet_campaign_name
entity_type: commerce_order
type: list_string
settings:
allowed_values: { }
allowed_values_function: ''
module: options
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,45 @@
uuid: 230f2c4e-c4b4-4179-b9fb-c999cf7a2ddf
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: 1yiBtHZuy8FsRApYQ9KutX2GXWP6ZmxePqYl2PlyYRo
id: mailjet_blocked_event
label: 'Mailjet Blocked Event'
events:
-
event_name: 'rules_entity_insert:mailjet_event'
description: ''
tags:
- mailjet
- rules
- event
- 'blocked event'
config_version: '3'
expression:
id: rules_rule
uuid: 164c5275-5761-425c-aa29-cb0dae187102
conditions:
id: rules_and
uuid: 087b0109-486a-492b-892b-61d37b919f25
conditions:
-
id: rules_condition
uuid: 1c701012-abc3-4fbd-94ee-6e0e4d56b610
context_values:
operation: '=='
value: blocked
context_mapping:
data: mailjet_event.event_type.value
context_processors:
operation:
rules_tokens: { }
value:
rules_tokens: { }
provides_mapping: { }
condition_id: rules_data_comparison
negate: false
actions:
id: rules_action_set
uuid: c2a204bc-1679-415e-b67d-d7a2665f87ca
actions: { }

View File

@ -0,0 +1,45 @@
uuid: 391a5122-6639-4be1-ab72-cecd14167ca1
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: U_GmlNbp5E1n9UAmEVzmCbLUL5dMoYvsQ47BZrdUT6w
id: mailjet_bounce_event_
label: 'Mailjet Bounce Event '
events:
-
event_name: 'rules_entity_insert:mailjet_event'
description: ''
tags:
- mailjet
- rules
- event
- 'bounce event'
config_version: '3'
expression:
id: rules_rule
uuid: 4506ac4a-4419-4f9a-9274-115b63eed7ba
conditions:
id: rules_and
uuid: b8052cbd-8881-443d-9acc-bcb1bbce18b2
conditions:
-
id: rules_condition
uuid: 10af217b-e797-4bcc-9789-d3ae3e333762
context_values:
operation: '=='
value: bounce
context_mapping:
data: mailjet_event.event_type.value
context_processors:
operation:
rules_tokens: { }
value:
rules_tokens: { }
provides_mapping: { }
condition_id: rules_data_comparison
negate: false
actions:
id: rules_action_set
uuid: 6f2219f0-df60-4f5d-9ebb-f4dc21e0d2af
actions: { }

View File

@ -0,0 +1,45 @@
uuid: 4396179b-baf3-4613-bdb0-a304d48261c1
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: DcQy3zLhh7gJFz1DMcClcpvGDtMeA0yio_sVGADE82o
id: mailjet_click_event
label: 'Mailjet Click Event'
events:
-
event_name: 'rules_entity_insert:mailjet_event'
description: ''
tags:
- mailjet
- rules
- event
- 'clicked event'
config_version: '3'
expression:
id: rules_rule
uuid: cc46b6bf-7666-4df9-94bd-9eece383883b
conditions:
id: rules_and
uuid: ddc8592c-0350-4595-a5c8-1c2e1c787b50
conditions:
-
id: rules_condition
uuid: ff98f6a0-0428-460f-808d-cd85da30812e
context_values:
operation: '=='
value: clicked
context_mapping:
data: mailjet_event.event_type.value
context_processors:
operation:
rules_tokens: { }
value:
rules_tokens: { }
provides_mapping: { }
condition_id: rules_data_comparison
negate: false
actions:
id: rules_action_set
uuid: 5ef4a8a2-891d-4d6f-aaf5-4fd61fd88784
actions: { }

View File

@ -0,0 +1,45 @@
uuid: 6f3712ca-b451-429d-816f-dd1c4063a9ae
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: A3m7CCcbVLT6GKSYfmEL4doWJRPs332bdm4HX3Bxz2Q
id: mailjet_open_event
label: 'Mailjet Open Event'
events:
-
event_name: 'rules_entity_insert:mailjet_event'
description: ''
tags:
- mailjet
- rules
- event
- 'open event'
config_version: '3'
expression:
id: rules_rule
uuid: d2d1a549-ef78-4b5d-9580-a2d708562df6
conditions:
id: rules_and
uuid: 60bf9f40-ba40-4108-96b1-e76ab66955fa
conditions:
-
id: rules_condition
uuid: 41580ec0-e516-4098-b1c7-034ab13db2f4
context_values:
operation: '=='
value: open
context_mapping:
data: mailjet_event.event_type.value
context_processors:
operation:
rules_tokens: { }
value:
rules_tokens: { }
provides_mapping: { }
condition_id: rules_data_comparison
negate: false
actions:
id: rules_action_set
uuid: 15a6fd6f-dcc5-4f05-8775-670a337c7823
actions: { }

View File

@ -0,0 +1,45 @@
uuid: 4ee8baa3-ec10-4716-a490-c67888e601ec
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: TuDPeYYD1x870iE1SLR_YFsuPC3oTRW8BO-coBkLXtc
id: mailjet_spam_event
label: 'Mailjet Spam Event'
events:
-
event_name: 'rules_entity_insert:mailjet_event'
description: ''
tags:
- mailjet
- rules
- event
- 'spam event'
config_version: '3'
expression:
id: rules_rule
uuid: a1f05e28-1e11-4864-bb14-5bf62f5c4986
conditions:
id: rules_and
uuid: a05124dc-67e5-4a62-9396-a69a370efd93
conditions:
-
id: rules_condition
uuid: 1053b6b5-efcb-4339-a618-ee4719cd41c6
context_values:
operation: '=='
value: spam
context_mapping:
data: mailjet_event.event_type.value
context_processors:
operation:
rules_tokens: { }
value:
rules_tokens: { }
provides_mapping: { }
condition_id: rules_data_comparison
negate: false
actions:
id: rules_action_set
uuid: 9e5b9e63-86a9-4740-b20d-c79ae00b74a8
actions: { }

View File

@ -0,0 +1,45 @@
uuid: 1308193a-4425-4fc9-95a0-2e7f6c271278
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: MyY_Lp-SmU46vjiG1JfDXfyjoOc_O-YBiWnBlfDMC_8
id: mailjet_unsubscribe_event
label: 'Mailjet Unsubscribe Event'
events:
-
event_name: 'rules_entity_insert:mailjet_event'
description: ''
tags:
- mailjet
- rules
- event
- 'unsubscribe event'
config_version: '3'
expression:
id: rules_rule
uuid: fb766314-f49f-4aba-9115-8c5b362cf404
conditions:
id: rules_and
uuid: 2c3970cc-c861-4c32-881d-a4683faa2541
conditions:
-
id: rules_condition
uuid: 2bea8cc9-4a68-40f4-822e-bf5d0f16c20f
context_values:
operation: '=='
value: unsub
context_mapping:
data: mailjet_event.event_type.value
context_processors:
operation:
rules_tokens: { }
value:
rules_tokens: { }
provides_mapping: { }
condition_id: rules_data_comparison
negate: false
actions:
id: rules_action_set
uuid: 5c91a286-ea41-47f7-b6a9-451cb4bb2324
actions: { }

View File

@ -15,7 +15,7 @@ scheduler:
id: simple
configuration:
rules:
- '* * * * *'
- '*/5+@ * * * *'
launcher:
id: serial
configuration: