Skip to content

Instantly share code, notes, and snippets.

@davidforneron
Last active September 21, 2020 18:45
Show Gist options
  • Save davidforneron/55224c280db5faeb4dc07aa2987c7646 to your computer and use it in GitHub Desktop.
Save davidforneron/55224c280db5faeb4dc07aa2987c7646 to your computer and use it in GitHub Desktop.
JSONs Disable
{
"session_id": "0f5febd0-disabled-d4a293b9c849",
"site_id": "MLB",
"user_id": 516912284,
"current_step": "congrats",
"steps": {
"congrats": {
"id": "congrats",
"ui_type": "congrats",
"components": {
"header": {
"id": "header",
"ui_type": "congrats_header",
"data": {
"status": "success",
"title": "<font color=\"#ffffff\">Listo, tu tarjeta ya tiene la función crédito deshabilitada.</font>",
"icon": "credits_congrats_ic_success"
}
},
"first_body_item": {
"id": "first_body_item",
"ui_type": "credits_information",
"data": {
"thumbnail": null,
"body": "<font color=\"#333333\">Ahora <b>solo tienes que pagar tus resúmenes mes a mes</b>, hasta no tener más consumos.</font>",
"title": null,
"button": {
"text": "Continuar",
"hierarchy": "loud",
"action": {
"connection": "continue",
"deep_link": null,
"enabled": true
}
},
"has_separator": true,
"background_color": "#FFFFFF"
}
},
"second_body_item": {
"id": "second_body_item",
"ui_type": "credits_information",
"data": {
"thumbnail": {
"image": "andes_pagar_y_cobrar_billetera",
"accent_color": "#009EE3",
"type": "icon",
"hierarchy": "quiet",
"size": "48",
"state": "enabled"
},
"title": null,
"body": "<font color=\"#8C8C8C\">Recuerda que <b>puedes usar tu dinero en cuenta</b> y disfrutar los beneficios que tenemos para ti.</font>",
"has_separator": false,
"background_color": "#FFFFFF",
"button": {
"text": "Continuar",
"hierarchy": "quiet",
"action": {
"connection": "otroPaso",
"deep_link": null,
"enabled": true
}
}
}
},
"footer": {
"id": "footer",
"ui_type": "congrats_footer",
"data": {
"button": {
"text": "Ir a tu tarjeta de Mercado Pago",
"hierarchy": "transparent",
"action": {
"connection": null,
"deep_link": "mercadopago://cards-engagement/hybrid/dashboard?from=credit_upgrade",
"enabled": true
}
}
}
}
},
"endpoints": null,
"data": {
"component_order": [
"header",
"first_body_item",
"second_body_item",
"footer"
]
}
}
},
"session_data": {
"last_navigated_version_id": "disabled.0.0"
}
}
{
"session_id": "0f5febd0-disable-d4a293b9c849",
"site_id": "MLB",
"user_id": 239306587,
"current_step": "hub",
"steps": {
"hub": {
"id": "hub",
"ui_type": "hub",
"connections": {
"continue": {
"id": "continue",
"force_sync": true,
"next_step": null
}
},
"components": {
"action_bar": {
"id": "action_bar",
"ui_type": "action_bar",
"data": {
"title": "Deshabilitar la función crédito",
"behaviour": "back",
"secondary_actions": []
}
},
"header": {
"id": "header",
"ui_type": "credits_header",
"data": {
"task": "<font color=\"#333333\">Elige cómo quieres pagar tus gastos pendientes</font>",
"detail": "<font color=\"#333333\">Se deshabilitará en el momento sin importar la opción que elijas.</font>"
}
},
"total_payment_option_card": {
"id": "total_payment_option_card",
"ui_type": "credits_card",
"data": {
"title": null,
"link": null,
"type":"none",
"style": "elevated",
"padding": "small",
"hierarchy": "primary",
"components": {
"total_payment_option": {
"id": "total_payment_option",
"ui_type": "credits_single_button",
"data": {
"title": "<font color=\"#333333\"><b>En un solo pago</b></font>",
"subtitle": "<font color=\"#333333\"><b>R$ 1000</b></font>",
"description": "<font color=\"#8C8C8C\">Pagas el total de todos tus resumenes en una sola cuota.</font>",
"button": {
"text": "Continuar",
"hierarchy": "loud",
"action": {
"connection": null,
"deep_link": "deeplink",
"enabled": true
}
},
"output": "payment_option",
"output_value": "total_payment_option"
}
}
}
}
},
"payment_plan_option_card": {
"id": "payment_plan_option_card",
"ui_type": "credits_card",
"data": {
"title": null,
"link": null,
"type":"none",
"style": "elevated",
"padding": "small",
"hierarchy": "primary",
"action": {
"connection": "continue",
"deep_link": null,
"enabled": true
},
"output": "payment_option",
"output_value": "payment_plan_option",
"components": {
"payment_plan_option": {
"id": "payment_plan_option",
"ui_type": "regular_option",
"data": {
"title": "<font color=\"#333333\"><b>Resumen a resumen</b></font>",
"subtitle": "<font color=\"#8C8C8C\">Pagas tus resúmenes como lo venías haciendo, mes a mes.</font>",
"disclosure_icon": "andes_ui_chevron_right_20"
}
}
}
}
}
},
"data": {
"component_order": [
"header",
"total_payment_option_card",
"payment_plan_option_card"
]
}
}
}
}
{
"session_id": "0f5febd0-disable-d4a293b9c849",
"site_id": "MLB",
"user_id": 239306587,
"current_step": "reason_selection",
"steps": {
"disable_type_selection": {
"id": "reason_selection",
"ui_type": "reason_selection",
"connections": {
"continue": {
"id": "continue",
"force_sync": true,
"next_step": null
}
},
"components": {
"action_bar": {
"id": "action_bar",
"ui_type": "action_bar",
"data": {
"title": "Deshabilitar la función crédito",
"behaviour": "back",
"secondary_actions": []
}
},
"header": {
"id": "header",
"ui_type": "credits_header",
"data": {
"task": "<font color=\"#333333\">¿Por qué quieres deshabilitar la función?</font>",
"detail": "<font color=\"#00a650\">Nos gustaría conocer tu motivo para poder mejorar.</font>"
}
},
"multiple_options_selector": {
"id": "multiple_options_selector",
"ui_type": "multiple_options_selector",
"data": {
"title": "<font color=\"#333333\"><b>Elegir motivo</b></font><font color=\"#8C8C8C\">(puedes elegir mas de uno)</font>",
"default_option": [
3
],
"output": "reason_selection",
"options": [
{
"value": 1,
"label": "<font color=\"#333333\">No la uso</font>"
},
{
"value": 2,
"label": "<font color=\"#333333\">Tengo otras tarjetas</font>"
},
{
"value": 3,
"label": "<font color=\"#333333\">La anualidad es muy alta</font>"
},
{
"value": 4,
"label": "<font color=\"#333333\">El límite es muy bajo</font>"
},
{
"value": 5,
"label": "<font color=\"#333333\">Tuve probemas para usarla</font>"
}
]
}
},
"reason_input": {
"id": "reason_input",
"ui_type": "text_input",
"data": {
"title": "<font color=\"#333333\">Otro motivo</font>",
"default_value": "",
"placeholder": "",
"output": "other_reason",
"max_length": 60,
"constraints": [
{
"type": "max_length",
"feedback": "error",
"events": [
"change"
],
"data": {
"value": 60
},
"message": "<font color=\"#f23d4f\"><b>TODO: Revisar approach, no creo necesario las constraints</b></font>"
}
]
}
},
"confirm": {
"id": "confirm",
"ui_type": "confirm_with_modal",
"data": {
"disclaimer": null,
"button": {
"hierarchy": "loud",
"text": "Continuar",
"action": {
"enable": true,
"deeplink": null,
"connection": "continue"
}
},
"modal": {
"title": "<font color=\"#333333\">Estas por deshabilitar la función crédito de tu tarjeta</font>",
"subtitle": "<font color=\"#00a650\">Una vez hecho esto no podrás volver a habilitarla.</font>",
"primary_button": "Sí, quiero deshabilitar la función",
"secondary_button": "Salir sin deshabilitar"
}
}
}
},
"endpoints": null,
"data": {
"component_order": [
"header",
"multiple_options_selector",
"reason_input",
"confirm"
]
}
}
}
}
{
"session_id": "9459064-disable-c7a6037c03eb",
"created": "2019-06-12T19:38:26.488Z",
"last_updated": "2019-06-12T19:38:26.509Z",
"site_id": "MLB",
"user_id": 9459064,
"status": "ACTIVE",
"current_step": "summary",
"steps": {
"summary": {
"id": "summary",
"node_id": "summary",
"ui_type": "summary",
"components": {
"action_bar": {
"id": "action_bar",
"ui_type": "action_bar",
"data": {
"title": "Deshabilitar la función crédito",
"behaviour": "back",
"secondary_actions": []
}
},
"header": {
"id": "header",
"ui_type": "credits_header",
"data": {
"task": "<font color=\"#333333\">Pagarás tus resumenes mes a mes</font>"
}
},
"detail": {
"id": "detail",
"ui_type": "complex_row_list",
"data": {
"rows": [
{
"id": "1",
"ui_type": "light_row",
"data": {
"label": "<font color=\"#333333\">Tu deuda total es de</font>",
"value": "<font color=\"#333333\">R$ 1.000</font>"
}
},
{
"id": "2",
"ui_type": "light_row",
"data": {
"label": "<font color=\"#333333\">Terminas de pagar en</font>",
"value": "<font color=\"#333333\">Diciembre</font>"
}
},
{
"id": "3",
"ui_type": "semibold_row",
"data": {
"label": "<font color=\"#333333\">Próximo resumen</font>",
"value": "<font color=\"#333333\">R$ 166,50</font>"
}
}
]
}
},
"calendar_content": {
"id": "calendar_content",
"ui_type": "credits_information",
"data": {
"body": "<font color=\"#333333\">Tu próximo reumen <b>vence el 15 de mayo</b>. Luego de esa fecha te empezaremos a cobrar recargos.</font>",
"thumbnail": {
"image": "andes_otros_almanaque_24",
"accent_color": "#AAFFEE",
"type": "icon",
"hierarchy": "loud",
"size": "48",
"state": "enabled"
}
}
},
"payment_content": {
"id": "payment_content",
"ui_type": "credits_information",
"data": {
"body": "<font color=\"#333333\"><b>Ten en cuenta que solo podrás pagar el total</b> con tu dinero en cuenta o boleto bancario.</font>",
"thumbnail": {
"image": "ic_cash",
"accent_color": "#AAFFEE",
"type": "icon",
"hierarchy": "loud",
"size": "48",
"state": "enabled"
}
}
},
"confirm": {
"id": "confirm",
"ui_type": "confirm",
"data": {
"disclaimer": "<font color=\"#333333\">Si se suman gastos que aún no se reflejaron en tus consumos te avisaremos para que puedas pagarlos.</font>",
"button": {
"hierarchy": "loud",
"text": "Deshabilitar la función crédito",
"action": {
"enable": true,
"deeplink": null,
"connection": "continue"
}
}
}
}
},
"connections": null,
"endpoints": null,
"data": {
"component_order": [
"header",
"detail",
"calendar_content",
"payment_content",
"confirm"
],
"track": {
"google_analytics": {
"type": "VIEW",
"dimension": {
"59": "V1"
},
"data": {
"page_id": "page_id"
}
},
"melidata": {
"path": "path",
"experiment": null,
"event_data": {},
"type": "VIEW"
}
}
}
}
}
}
{
"session_id": "9459064-disable-c7a6037c03eb",
"created": "2019-06-12T19:38:26.488Z",
"last_updated": "2019-06-12T19:38:26.509Z",
"site_id": "MLB",
"user_id": 9459064,
"status": "ACTIVE",
"current_step": "summary",
"steps": {
"summary": {
"id": "summary",
"node_id": "summary",
"ui_type": "summary",
"components": {
"action_bar": {
"id": "action_bar",
"ui_type": "action_bar",
"data": {
"title": "Deshabilitar la función crédito",
"behaviour": "back",
"secondary_actions": []
}
},
"header": {
"id": "header",
"ui_type": "credits_header",
"data": {
"task": "<font color=\"#333333\">Pagarás el total de tus resúmenes en una sola cuota</font>"
}
},
"detail": {
"id": "detail",
"ui_type": "complex_row_list",
"data": {
"rows": [
{
"id": "1",
"ui_type": "light_row",
"data": {
"label": "<font color=\"#333333\">Total a pagar</font>",
"value": "<font color=\"#333333\">R$ 1000</font>"
}
}
]
}
},
"calendar_content": {
"id": "calendar_content",
"ui_type": "credits_information",
"data": {
"body": "<font color=\"#333333\">Tus gastos pendientes <b>vencen el 15 de mayo</b>. Luego de esa fecha te empezaremos a cobrar recargos.</font>",
"thumbnail": {
"image": "andes_otros_almanaque_24",
"accent_color": "#AAFFEE",
"type": "icon",
"hierarchy": "loud",
"size": "48",
"state": "enabled"
}
}
},
"payment_content": {
"id": "payment_content",
"ui_type": "credits_information",
"data": {
"body": "<font color=\"#333333\"><b>Ten en cuenta que solo podrás pagar el total</b> con tu dinero en cuenta o boleto bancario.</font>",
"thumbnail": {
"image": "andes_otros_almanaque_24",
"accent_color": "#AAFFEE",
"type": "icon",
"hierarchy": "loud",
"size": "48",
"state": "enabled"
}
}
},
"confirm": {
"id": "confirm",
"ui_type": "confirm",
"data": {
"disclaimer": "<font color=\"#333333\">Si se suman gastos que aún no se reflejaron en tus consumos te avisaremos para que puedas pagarlos.</font>",
"button": {
"hierarchy": "loud",
"text": "Deshabilitar la función crédito",
"action": {
"enable": true,
"deeplink": null,
"connection": "continue"
}
}
}
}
},
"connections": null,
"endpoints": null,
"data": {
"component_order": [
"header",
"detail",
"calendar_content",
"payment_content",
"confirm"
],
"track": {
"google_analytics": {
"type": "VIEW",
"dimension": {
"59": "V1"
},
"data": {
"page_id": "page_id"
}
},
"melidata": {
"path": "path",
"experiment": null,
"event_data": {},
"type": "VIEW"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment