-
-
Save guilhermelirio/4f49117925baa946297227de44a9af36 to your computer and use it in GitHub Desktop.
Request Transaction JSON
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
{ | |
"responseId": "a7665e38-86fe-49a5-8f59-145c9f1c7cfb-ee7586fb", | |
"queryResult": { | |
"parameters": {}, | |
"allRequiredParamsPresent": true, | |
"fulfillmentText": "Hum, acho que não entendi muito bem o que você disse. Me parece que não é nada com que eu posso te ajudar infelizmente.", | |
"fulfillmentMessages": [ | |
{ | |
"text": { | |
"text": [ | |
"Hum, acho que não entendi muito bem o que você disse. Me parece que não é nada com que eu posso te ajudar infelizmente." | |
] | |
} | |
} | |
], | |
"outputContexts": [ | |
{ | |
"name": "projects/minhapizza-wmrr/agent/sessions/ABwppHEJa7JAVaxSnVndmAKRC9N_8MMnmiacC0abJAjX9vXzHg1PWjj-z4bfNCL0u0WFqdyPxZtOv0065lW5cQ-N/contexts/actions_capability_web_browser" | |
}, | |
{ | |
"name": "projects/minhapizza-wmrr/agent/sessions/ABwppHEJa7JAVaxSnVndmAKRC9N_8MMnmiacC0abJAjX9vXzHg1PWjj-z4bfNCL0u0WFqdyPxZtOv0065lW5cQ-N/contexts/actions_capability_audio_output" | |
}, | |
{ | |
"name": "projects/minhapizza-wmrr/agent/sessions/ABwppHEJa7JAVaxSnVndmAKRC9N_8MMnmiacC0abJAjX9vXzHg1PWjj-z4bfNCL0u0WFqdyPxZtOv0065lW5cQ-N/contexts/actions_capability_screen_output" | |
}, | |
{ | |
"name": "projects/minhapizza-wmrr/agent/sessions/ABwppHEJa7JAVaxSnVndmAKRC9N_8MMnmiacC0abJAjX9vXzHg1PWjj-z4bfNCL0u0WFqdyPxZtOv0065lW5cQ-N/contexts/actions_capability_media_response_audio" | |
}, | |
{ | |
"name": "projects/minhapizza-wmrr/agent/sessions/ABwppHEJa7JAVaxSnVndmAKRC9N_8MMnmiacC0abJAjX9vXzHg1PWjj-z4bfNCL0u0WFqdyPxZtOv0065lW5cQ-N/contexts/actions_capability_account_linking" | |
}, | |
{ | |
"name": "projects/minhapizza-wmrr/agent/sessions/ABwppHEJa7JAVaxSnVndmAKRC9N_8MMnmiacC0abJAjX9vXzHg1PWjj-z4bfNCL0u0WFqdyPxZtOv0065lW5cQ-N/contexts/google_assistant_input_type_keyboard" | |
}, | |
{ | |
"name": "projects/minhapizza-wmrr/agent/sessions/ABwppHEJa7JAVaxSnVndmAKRC9N_8MMnmiacC0abJAjX9vXzHg1PWjj-z4bfNCL0u0WFqdyPxZtOv0065lW5cQ-N/contexts/__system_counters__", | |
"lifespanCount": 1, | |
"parameters": { | |
"no-input": 0, | |
"no-match": 2 | |
} | |
}, | |
{ | |
"name": "projects/minhapizza-wmrr/agent/sessions/ABwppHEJa7JAVaxSnVndmAKRC9N_8MMnmiacC0abJAjX9vXzHg1PWjj-z4bfNCL0u0WFqdyPxZtOv0065lW5cQ-N/contexts/_jovo_session_ydxij", | |
"parameters": { | |
"NOME": "Guilherme", | |
"CEP": "XXXXXXXX", | |
"LOJA": XXXXX, | |
"ENDERECO": { | |
"logradouro": "Rua Francisco das Chagas Bezerra", | |
"bairro": "Infraero", | |
"cidade": "Macapá", | |
"uf": "AP", | |
"numero": "4581", | |
"complemento": "" | |
}, | |
"PIZZA": { | |
"codigo": "000001", | |
"nome": "Calabresa" | |
}, | |
"SOBREMESA": { | |
"codigo": "0000004", | |
"nome": "Chocolate" | |
}, | |
"CELULAR": "27999999999", | |
"merchantOrderId": "lb0cc3x3q" | |
} | |
}, | |
{ | |
"name": "projects/minhapizza-wmrr/agent/sessions/ABwppHEJa7JAVaxSnVndmAKRC9N_8MMnmiacC0abJAjX9vXzHg1PWjj-z4bfNCL0u0WFqdyPxZtOv0065lW5cQ-N/contexts/actions_intent_transaction_decision", | |
"parameters": { | |
"TRANSACTION_DECISION_VALUE": { | |
"@type": "type.googleapis.com/google.actions.transactions.v3.TransactionDecisionValue", | |
"transactionDecision": "ORDER_ACCEPTED", | |
"order": { | |
"googleOrderId": "15380886977010097524", | |
"merchantOrderId": "lb0cc3x3q", | |
"userVisibleOrderId": "lb0cc3x3q", | |
"buyerInfo": { | |
"email": "email@gmail.com", | |
"firstName": "Jane", | |
"lastName": "Doe", | |
"displayName": "Jane Doe" | |
}, | |
"createTime": "2020-11-06T00:30:47.426Z", | |
"lastUpdateTime": "2020-11-06T00:30:47.426Z", | |
"transactionMerchant": { | |
"id": "minha_pizza", | |
"name": "Minha Pizza" | |
}, | |
"contents": { | |
"lineItems": [ | |
{ | |
"id": "000001", | |
"name": "Calabresa", | |
"priceAttributes": [ | |
{ | |
"type": "REGULAR", | |
"name": "Item Price", | |
"state": "ACTUAL", | |
"amount": { | |
"currencyCode": "BRL", | |
"amountInMicros": "59900000" | |
}, | |
"taxIncluded": true | |
}, | |
{ | |
"type": "TOTAL", | |
"name": "Valor Total", | |
"state": "ACTUAL", | |
"amount": { | |
"currencyCode": "BRL", | |
"amountInMicros": "59900000" | |
}, | |
"taxIncluded": true | |
} | |
], | |
"purchase": { | |
"quantity": 1 | |
}, | |
"vertical": { | |
"@type": "type.googleapis.com/google.actions.orders.v3.verticals.purchase.PurchaseItemExtension", | |
"quantity": 1 | |
} | |
}, | |
{ | |
"id": "0000004", | |
"name": "Chocolate", | |
"priceAttributes": [ | |
{ | |
"type": "REGULAR", | |
"name": "Item Price", | |
"state": "ACTUAL", | |
"amount": { | |
"currencyCode": "BRL", | |
"amountInMicros": "15900000" | |
}, | |
"taxIncluded": true | |
}, | |
{ | |
"type": "TOTAL", | |
"name": "Valor Total", | |
"state": "ACTUAL", | |
"amount": { | |
"currencyCode": "BRL", | |
"amountInMicros": "15900000" | |
}, | |
"taxIncluded": true | |
} | |
], | |
"notes": [ | |
"" | |
], | |
"purchase": { | |
"quantity": 1 | |
}, | |
"vertical": { | |
"@type": "type.googleapis.com/google.actions.orders.v3.verticals.purchase.PurchaseItemExtension", | |
"quantity": 1 | |
} | |
} | |
] | |
}, | |
"priceAttributes": [ | |
{ | |
"type": "SUBTOTAL", | |
"name": "Subtotal", | |
"state": "ESTIMATE", | |
"amount": { | |
"currencyCode": "BRL", | |
"amountInMicros": "58750000" | |
}, | |
"taxIncluded": true | |
}, | |
{ | |
"type": "DELIVERY", | |
"name": "Entrega", | |
"state": "ACTUAL", | |
"amount": { | |
"currencyCode": "BRL", | |
"amountInMicros": "12900000" | |
}, | |
"taxIncluded": true | |
}, | |
{ | |
"type": "TAX", | |
"name": "Taxa", | |
"state": "ESTIMATE", | |
"amount": { | |
"currencyCode": "BRL" | |
} | |
}, | |
{ | |
"type": "TOTAL", | |
"name": "Valor Total", | |
"state": "ESTIMATE", | |
"amount": { | |
"currencyCode": "BRL", | |
"amountInMicros": "58750000" | |
} | |
} | |
], | |
"followUpActions": [ | |
{ | |
"type": "VIEW_DETAILS", | |
"title": "View details", | |
"openUrlAction": { | |
"url": "http://example.com" | |
} | |
}, | |
{ | |
"type": "CALL", | |
"title": "Call us", | |
"openUrlAction": { | |
"url": "tel:+16501112222" | |
} | |
}, | |
{ | |
"type": "EMAIL", | |
"title": "Email us", | |
"openUrlAction": { | |
"url": "mailto:person@example.com" | |
} | |
} | |
], | |
"termsOfServiceUrl": "http://www.example.com", | |
"paymentData": { | |
"paymentResult": { | |
"merchantPaymentMethodId": "12345678" | |
}, | |
"paymentInfo": { | |
"paymentMethodDisplayInfo": { | |
"paymentType": "PAYMENT_CARD", | |
"paymentMethodDisplayName": "PAGAMENTO NA ENTREGA" | |
}, | |
"paymentMethodProvenance": "PAYMENT_METHOD_PROVENANCE_MERCHANT" | |
} | |
}, | |
"promotions": [ | |
{ | |
"coupon": "COUPOM" | |
} | |
], | |
"purchase": { | |
"status": "CREATED", | |
"type": "RETAIL", | |
"returnsInfo": { | |
"daysToReturn": 1, | |
"policyUrl": "http://www.example.com" | |
}, | |
"fulfillmentInfo": { | |
"id": "FULFILLMENT_SERVICE_ID", | |
"fulfillmentType": "DELIVERY", | |
"expectedFulfillmentTime": {}, | |
"price": { | |
"type": "REGULAR", | |
"name": "Valor da Entrega", | |
"state": "ACTUAL", | |
"amount": { | |
"currencyCode": "BRL", | |
"amountInMicros": "12900000" | |
}, | |
"taxIncluded": true | |
}, | |
"fulfillmentContact": { | |
"firstName": "Guilherme", | |
"lastName": "Lirio", | |
"displayName": "Guilherme" | |
} | |
}, | |
"purchaseLocationType": "ONLINE_PURCHASE", | |
"userVisibleStatusLabel": "CREATED" | |
}, | |
"vertical": { | |
"@type": "type.googleapis.com/google.actions.orders.v3.verticals.purchase.PurchaseOrderExtension", | |
"status": "CREATED", | |
"type": "RETAIL", | |
"returnsInfo": { | |
"daysToReturn": 1, | |
"policyUrl": "http://www.example.com" | |
}, | |
"fulfillmentInfo": { | |
"id": "FULFILLMENT_SERVICE_ID", | |
"fulfillmentType": "DELIVERY", | |
"expectedFulfillmentTime": {}, | |
"price": { | |
"type": "REGULAR", | |
"name": "Valor da Entrega", | |
"state": "ACTUAL", | |
"amount": { | |
"currencyCode": "BRL", | |
"amountInMicros": "12900000" | |
}, | |
"taxIncluded": true | |
}, | |
"fulfillmentContact": { | |
"firstName": "Guilherme", | |
"lastName": "Lirio", | |
"displayName": "Guilherme" | |
} | |
}, | |
"purchaseLocationType": "ONLINE_PURCHASE", | |
"userVisibleStatusLabel": "CREATED" | |
} | |
} | |
}, | |
"text": "" | |
} | |
} | |
], | |
"intent": { | |
"name": "projects/minhapizza-wmrr/agent/intents/23090e84-ae1c-48d2-9cda-64db4f9a326d", | |
"displayName": "Default Fallback Intent", | |
"isFallback": true | |
}, | |
"intentDetectionConfidence": 1, | |
"languageCode": "pt-br" | |
}, | |
"originalDetectIntentRequest": { | |
"source": "google", | |
"version": "2", | |
"payload": { | |
"user": { | |
"locale": "pt-BR", | |
"lastSeen": "2020-11-06T00:32:36Z", | |
"userStorage": "{\"userId\":\"27aa690c-9fc1-44af-8d78-937281c6dced\"}", | |
"userVerificationStatus": "VERIFIED" | |
}, | |
"conversation": { | |
"conversationId": "ABwppHEJa7JAVaxSnVndmAKRC9N_8MMnmiacC0abJAjX9vXzHg1PWjj-z4bfNCL0u0WFqdyPxZtOv0065lW5cQ-N", | |
"type": "ACTIVE", | |
"conversationToken": "[\"__system_counters__\",\"_jovo_session_ydxij\"]" | |
}, | |
"inputs": [ | |
{ | |
"intent": "actions.intent.TRANSACTION_DECISION", | |
"rawInputs": [ | |
{ | |
"inputType": "KEYBOARD" | |
} | |
], | |
"arguments": [ | |
{ | |
"name": "TRANSACTION_DECISION_VALUE", | |
"extension": { | |
"@type": "type.googleapis.com/google.actions.transactions.v3.TransactionDecisionValue", | |
"transactionDecision": "ORDER_ACCEPTED", | |
"order": { | |
"googleOrderId": "15380886977010097524", | |
"merchantOrderId": "lb0cc3x3q", | |
"userVisibleOrderId": "lb0cc3x3q", | |
"buyerInfo": { | |
"email": "email@gmail.com", | |
"firstName": "Jane", | |
"lastName": "Doe", | |
"displayName": "Jane Doe" | |
}, | |
"createTime": "2020-11-06T00:30:47.426Z", | |
"lastUpdateTime": "2020-11-06T00:30:47.426Z", | |
"transactionMerchant": { | |
"id": "minha_pizza", | |
"name": "Minha Pizza" | |
}, | |
"contents": { | |
"lineItems": [ | |
{ | |
"id": "0000001", | |
"name": "Calabresa", | |
"priceAttributes": [ | |
{ | |
"type": "REGULAR", | |
"name": "Item Price", | |
"state": "ACTUAL", | |
"amount": { | |
"currencyCode": "BRL", | |
"amountInMicros": "59900000" | |
}, | |
"taxIncluded": true | |
}, | |
{ | |
"type": "TOTAL", | |
"name": "Valor Total", | |
"state": "ACTUAL", | |
"amount": { | |
"currencyCode": "BRL", | |
"amountInMicros": "59900000" | |
}, | |
"taxIncluded": true | |
} | |
], | |
"purchase": { | |
"quantity": 1 | |
}, | |
"vertical": { | |
"@type": "type.googleapis.com/google.actions.orders.v3.verticals.purchase.PurchaseItemExtension", | |
"quantity": 1 | |
} | |
}, | |
{ | |
"id": "0000004", | |
"name": "Chocolate", | |
"priceAttributes": [ | |
{ | |
"type": "REGULAR", | |
"name": "Item Price", | |
"state": "ACTUAL", | |
"amount": { | |
"currencyCode": "BRL", | |
"amountInMicros": "15900000" | |
}, | |
"taxIncluded": true | |
}, | |
{ | |
"type": "TOTAL", | |
"name": "Valor Total", | |
"state": "ACTUAL", | |
"amount": { | |
"currencyCode": "BRL", | |
"amountInMicros": "15900000" | |
}, | |
"taxIncluded": true | |
} | |
], | |
"notes": [ | |
"" | |
], | |
"purchase": { | |
"quantity": 1 | |
}, | |
"vertical": { | |
"@type": "type.googleapis.com/google.actions.orders.v3.verticals.purchase.PurchaseItemExtension", | |
"quantity": 1 | |
} | |
} | |
] | |
}, | |
"priceAttributes": [ | |
{ | |
"type": "SUBTOTAL", | |
"name": "Subtotal", | |
"state": "ESTIMATE", | |
"amount": { | |
"currencyCode": "BRL", | |
"amountInMicros": "58750000" | |
}, | |
"taxIncluded": true | |
}, | |
{ | |
"type": "DELIVERY", | |
"name": "Entrega", | |
"state": "ACTUAL", | |
"amount": { | |
"currencyCode": "BRL", | |
"amountInMicros": "12900000" | |
}, | |
"taxIncluded": true | |
}, | |
{ | |
"type": "TAX", | |
"name": "Taxa", | |
"state": "ESTIMATE", | |
"amount": { | |
"currencyCode": "BRL" | |
} | |
}, | |
{ | |
"type": "TOTAL", | |
"name": "Valor Total", | |
"state": "ESTIMATE", | |
"amount": { | |
"currencyCode": "BRL", | |
"amountInMicros": "58750000" | |
} | |
} | |
], | |
"followUpActions": [ | |
{ | |
"type": "VIEW_DETAILS", | |
"title": "View details", | |
"openUrlAction": { | |
"url": "http://example.com" | |
} | |
}, | |
{ | |
"type": "CALL", | |
"title": "Call us", | |
"openUrlAction": { | |
"url": "tel:+16501112222" | |
} | |
}, | |
{ | |
"type": "EMAIL", | |
"title": "Email us", | |
"openUrlAction": { | |
"url": "mailto:person@example.com" | |
} | |
} | |
], | |
"termsOfServiceUrl": "http://www.example.com", | |
"paymentData": { | |
"paymentResult": { | |
"merchantPaymentMethodId": "12345678" | |
}, | |
"paymentInfo": { | |
"paymentMethodDisplayInfo": { | |
"paymentType": "PAYMENT_CARD", | |
"paymentMethodDisplayName": "PAGAMENTO NA ENTREGA" | |
}, | |
"paymentMethodProvenance": "PAYMENT_METHOD_PROVENANCE_MERCHANT" | |
} | |
}, | |
"promotions": [ | |
{ | |
"coupon": "COUPOM" | |
} | |
], | |
"purchase": { | |
"status": "CREATED", | |
"type": "RETAIL", | |
"returnsInfo": { | |
"daysToReturn": 1, | |
"policyUrl": "http://www.example.com" | |
}, | |
"fulfillmentInfo": { | |
"id": "FULFILLMENT_SERVICE_ID", | |
"fulfillmentType": "DELIVERY", | |
"expectedFulfillmentTime": {}, | |
"price": { | |
"type": "REGULAR", | |
"name": "Valor da Entrega", | |
"state": "ACTUAL", | |
"amount": { | |
"currencyCode": "BRL", | |
"amountInMicros": "12900000" | |
}, | |
"taxIncluded": true | |
}, | |
"fulfillmentContact": { | |
"firstName": "Guilherme", | |
"lastName": "Lirio", | |
"displayName": "Guilherme" | |
} | |
}, | |
"purchaseLocationType": "ONLINE_PURCHASE", | |
"userVisibleStatusLabel": "CREATED" | |
}, | |
"vertical": { | |
"@type": "type.googleapis.com/google.actions.orders.v3.verticals.purchase.PurchaseOrderExtension", | |
"status": "CREATED", | |
"type": "RETAIL", | |
"returnsInfo": { | |
"daysToReturn": 1, | |
"policyUrl": "http://www.example.com" | |
}, | |
"fulfillmentInfo": { | |
"id": "FULFILLMENT_SERVICE_ID", | |
"fulfillmentType": "DELIVERY", | |
"expectedFulfillmentTime": {}, | |
"price": { | |
"type": "REGULAR", | |
"name": "Valor da Entrega", | |
"state": "ACTUAL", | |
"amount": { | |
"currencyCode": "BRL", | |
"amountInMicros": "12900000" | |
}, | |
"taxIncluded": true | |
}, | |
"fulfillmentContact": { | |
"firstName": "Guilherme", | |
"lastName": "Lirio", | |
"displayName": "Guilherme" | |
} | |
}, | |
"purchaseLocationType": "ONLINE_PURCHASE", | |
"userVisibleStatusLabel": "CREATED" | |
} | |
} | |
} | |
}, | |
{ | |
"name": "text" | |
} | |
] | |
} | |
], | |
"surface": { | |
"capabilities": [ | |
{ | |
"name": "actions.capability.WEB_BROWSER" | |
}, | |
{ | |
"name": "actions.capability.AUDIO_OUTPUT" | |
}, | |
{ | |
"name": "actions.capability.SCREEN_OUTPUT" | |
}, | |
{ | |
"name": "actions.capability.MEDIA_RESPONSE_AUDIO" | |
}, | |
{ | |
"name": "actions.capability.ACCOUNT_LINKING" | |
} | |
] | |
}, | |
"isInSandbox": true, | |
"requestType": "SIMULATOR" | |
} | |
}, | |
"session": "projects/minhapizza-wmrr/agent/sessions/ABwppHEJa7JAVaxSnVndmAKRC9N_8MMnmiacC0abJAjX9vXzHg1PWjj-z4bfNCL0u0WFqdyPxZtOv0065lW5cQ-N" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment