Created
June 28, 2022 16:43
-
-
Save tomascco/0afd84b430bd8dbd571e457a571a73df to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| { | |
| "version": "v1", | |
| "event": "document_was_signed", | |
| "data": { | |
| "document": { | |
| "id": 150412, | |
| "code": "DS-00312", | |
| "status": "read", | |
| "value": "2888.0", | |
| "created_at": "2022-06-28T12:24:11.470-03:00", | |
| "updated_at": "2022-06-28T12:25:28.733-03:00", | |
| "expiration_date": "2022-07-18", | |
| "contract_start": "2022-06-28", | |
| "contract_months": 12, | |
| "contract_end": "2023-06-28", | |
| "parcels_count": 12, | |
| "due_day": 1, | |
| "template_id": 29241, | |
| "notes": "", | |
| "payment_method_id": 26506, | |
| "contact_name": "Mauricio Kigiela", | |
| "contact_role": "CEO", | |
| "contact_email": "mauricio@docsales.com", | |
| "deal_id": null, | |
| "deal_name": null, | |
| "deal_user_id": null, | |
| "expiration_days": 20, | |
| "mrr_value": "199.0", | |
| "deal_crm_data": null, | |
| "deal_pipeline": null, | |
| "delivery_system": "docgen", | |
| "sign_initial": true, | |
| "signature_method_name": "email", | |
| "custom_municipio_de_prestacao_de_servicos": "Campinas", | |
| "custom_municipio_de_prestacao_de_servicos_full_options": "Campinas,Valinhos,São Paulo,Barueri", | |
| "custom_meio_de_pagamento": "", | |
| "approval": { | |
| "id": 148817, | |
| "proposal_id": 150412, | |
| "uuid": "d4088458-9530-4f0d-b776-d4d34a457ed8", | |
| "status": "sent", | |
| "approved_by": null, | |
| "approved_at": null, | |
| "comment": null, | |
| "created_at": "2022-06-28T12:24:14.559-03:00", | |
| "updated_at": "2022-06-28T12:25:31.063-03:00", | |
| "view_count": 0, | |
| "approved_ip": null, | |
| "approved_legal_code": null, | |
| "data": null, | |
| "proposal_pdf_file_name": "document-14881720220628-1-17vijhn_signed.pdf", | |
| "proposal_pdf_content_type": "application/pdf", | |
| "proposal_pdf_file_size": 40461, | |
| "proposal_pdf_updated_at": "2022-06-28T12:25:31.031-03:00", | |
| "analytics": null, | |
| "approval_question_ids": null, | |
| "question_values": null, | |
| "analytics_resume": null, | |
| "digest": null, | |
| "qrcode_file_name": "approval-d4088458-9530-4f0d-b776-d4d34a457ed8-qrcode.png", | |
| "qrcode_content_type": "image/png", | |
| "qrcode_file_size": 764, | |
| "qrcode_updated_at": "2022-06-28T12:24:14.755-03:00", | |
| "certificate_pdf_file_name": null, | |
| "certificate_pdf_content_type": null, | |
| "certificate_pdf_file_size": null, | |
| "certificate_pdf_updated_at": null, | |
| "current_order_to_sign": 0, | |
| "updated_date": "28/06/2022", | |
| "updated_time": "12:25:31", | |
| "url": "http://localhost:3000/approval/d4088458-9530-4f0d-b776-d4d34a457ed8" | |
| }, | |
| "account": { | |
| "id": 5891, | |
| "name": "Demo DocSales Basic", | |
| "document_number": "15.162.573/0001-99", | |
| "address1": "Rua de Alphaville", | |
| "address2": "Sala 2020", | |
| "postal_code": "031650003", | |
| "city": "São Paulo", | |
| "state": "SP", | |
| "country_id": 1, | |
| "admin": false, | |
| "created_at": "2020-10-05T09:39:56.289-03:00", | |
| "updated_at": "2022-06-28T12:23:39.470-03:00", | |
| "user_count": 10, | |
| "expiration_date": null, | |
| "logo_file_name": null, | |
| "logo_content_type": null, | |
| "logo_file_size": null, | |
| "logo_updated_at": null, | |
| "legal_code2": "Docsales Inc.", | |
| "number": "", | |
| "phone1": null, | |
| "phone2": null, | |
| "district": "", | |
| "financial_email": "", | |
| "api_token": "G3Bz2gKbVG_mGq42lIyyG5src8gjeyMpb-FEyLPrkJBF9C9nMdlC7yN2ipyDVpnH", | |
| "external_id": null, | |
| "account_template_id": 1, | |
| "base_for_template": false, | |
| "currency_iso_code": "BRL", | |
| "account_industry_id": 10, | |
| "webhook_url": "https://eofbxqmzhvq3djx.m.pipedream.net", | |
| "webhook_events": 15, | |
| "lead_type": "small_lead", | |
| "block_access": false, | |
| "crm_column_hided": false, | |
| "webhook_version": 1 | |
| }, | |
| "user": { | |
| "name": "Rodrigo Serradura", | |
| "email": "rodrigo.serradura@docsales.com", | |
| "phone_number": null, | |
| "whatsapp_number": null | |
| }, | |
| "customer": { | |
| "id": 150534, | |
| "city": "Barueri", | |
| "code": "1", | |
| "name": "Sales Documents, Inc", | |
| "alias": "DocSales", | |
| "state": "SP", | |
| "gender": "Não informado", | |
| "number": "293", | |
| "phone1": "", | |
| "phone2": "", | |
| "status": "active", | |
| "address": "Avenida Cauaxi", | |
| "country": "Brasil", | |
| "district": "Alphaville Centro Industrial e Empresarial/Alphaville.", | |
| "account_id": 5891, | |
| "changed_by": null, | |
| "complement": "", | |
| "country_id": 1, | |
| "created_at": "2020-10-05T09:39:56.805-03:00", | |
| "legal_code": "35.654.486/0001-66", | |
| "profession": "", | |
| "updated_at": "2022-06-28T12:01:24.717-03:00", | |
| "legal_code2": "Isento", | |
| "nationality": "", | |
| "postal_code": "06454-020", | |
| "civil_status": "União Estável", | |
| "contact_name": "Mauricio Kigiela", | |
| "contact_role": "CEO", | |
| "custom_cargo": "", | |
| "contact_email": "mauricio@docsales.com", | |
| "customer_type": "company", | |
| "external_uuid": "", | |
| "delivery_system": "docgen", | |
| "id_crm_customer": "", | |
| "whatsapp_number": "" | |
| }, | |
| "payment_method": { | |
| "id": 26506, | |
| "account_id": 5891, | |
| "name": "Cartão de Crédito", | |
| "status": "active", | |
| "created_at": "2020-10-05T09:39:56.509-03:00", | |
| "updated_at": "2021-03-29T17:09:03.254-03:00", | |
| "payment_type": "credit_card", | |
| "collect_cc_data": true, | |
| "delivery_system": "docgen" | |
| }, | |
| "signature": [ | |
| { | |
| "id": 161240, | |
| "name": "Rodrigo Serradura", | |
| "email": "rodrigo.serradura@docsales.com", | |
| "role": "part", | |
| "document_number": null, | |
| "ip": null, | |
| "approved_date": null, | |
| "created_at": "2022-06-28T12:24:11.586-03:00", | |
| "updated_at": "2022-06-28T12:24:18.631-03:00", | |
| "uuid": "48f4b79d-f6a4-4590-b674-8f8a46cce15f", | |
| "status": "waiting", | |
| "signature_image_file_name": null, | |
| "signature_image_content_type": null, | |
| "signature_image_file_size": null, | |
| "signature_image_updated_at": null, | |
| "initials_image_file_name": null, | |
| "initials_image_content_type": null, | |
| "initials_image_file_size": null, | |
| "initials_image_updated_at": null, | |
| "order_to_sign": 1, | |
| "ask_for_credit_card": false, | |
| "view_history": null | |
| } | |
| ], | |
| "services": [ | |
| { | |
| "name": "Assinatura Exemplo", | |
| "obs": "", | |
| "service_id": 127996, | |
| "quantity": 1, | |
| "value": "199", | |
| "total": 2388, | |
| "gran_total": 2388, | |
| "subtotal": 199, | |
| "mrr": 199, | |
| "periodicity": 1, | |
| "parcels_count": 12, | |
| "formatted_value": "199,00", | |
| "formatted_subtotal": "199,00", | |
| "formatted_total": "2.388,00", | |
| "formatted_discount": null, | |
| "formatted_increase": "0,00", | |
| "formatted_gran_total": "2.388,00", | |
| "code": "2", | |
| "custom_moeda": "R$", | |
| "custom_moeda_full_options": "R$,USD", | |
| "description": "<p>Assinatura do plano mensal</p>\r\n" | |
| }, | |
| { | |
| "name": "Produto Exemplo", | |
| "obs": "", | |
| "service_id": 127997, | |
| "quantity": 1, | |
| "periodicity": 0, | |
| "parcels_count": 1, | |
| "value": "500", | |
| "total": 500, | |
| "gran_total": 500, | |
| "subtotal": 500, | |
| "mrr": 0, | |
| "line": 2, | |
| "formatted_value": "500,00", | |
| "formatted_subtotal": "500,00", | |
| "formatted_total": "500,00", | |
| "formatted_discount": null, | |
| "formatted_increase": "0,00", | |
| "formatted_gran_total": "500,00", | |
| "code": "1", | |
| "custom_moeda": "R$", | |
| "custom_moeda_full_options": "R$,USD", | |
| "description": "<table border=\"0\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:350px;\">\r\n\t<tbody>\r\n\t\t<tr>\r\n\t\t\t<td><img alt=\"\" src=\"https://s3.amazonaws.com/propostas-comerciais-app-production/ckeditor_assets/pictures/180/content_produto.png\" style=\"width: 90px;\" /></td>\r\n\t\t\t<td>\r\n\t\t\t<p>Esse é um produto de exemplo.<br />\r\n\t\t\tAqui você pode inserir a descrição<br />\r\n\t\t\tdo serviço ou produto.</p>\r\n\r\n\t\t\t<p>Pode usar recursos gráficos como<br />\r\n\t\t\t<strong>negrito</strong>, <em>itálico</em> ou <span style=\"color:#e74c3c;\">c</span><span style=\"color:#27ae60;\">o</span><span style=\"color:#9b59b6;\">r</span><span style=\"color:#f39c12;\">e</span><span style=\"color:#3498db;\">s</span></p>\r\n\t\t\t</td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>\r\n\r\n<p> </p>\r\n" | |
| } | |
| ], | |
| "parcels": [ | |
| { | |
| "valor": 0, | |
| "date": "2022-06-28T03:00:00.000Z", | |
| "mensal": 199, | |
| "value": 699, | |
| "month": "6/2022", | |
| "pontual": 500, | |
| "number": 1, | |
| "formatted_value": "699,00", | |
| "formatted_date": "28/06/2022" | |
| }, | |
| { | |
| "valor": 0, | |
| "date": "2022-07-01T03:00:00.000Z", | |
| "mensal": 199, | |
| "value": 199, | |
| "month": "7/2022", | |
| "number": 2, | |
| "formatted_value": "199,00", | |
| "formatted_date": "01/07/2022" | |
| }, | |
| { | |
| "valor": 0, | |
| "date": "2022-08-01T03:00:00.000Z", | |
| "mensal": 199, | |
| "value": 199, | |
| "month": "8/2022", | |
| "number": 3, | |
| "formatted_value": "199,00", | |
| "formatted_date": "01/08/2022" | |
| }, | |
| { | |
| "valor": 0, | |
| "date": "2022-09-01T03:00:00.000Z", | |
| "mensal": 199, | |
| "value": 199, | |
| "month": "9/2022", | |
| "number": 4, | |
| "formatted_value": "199,00", | |
| "formatted_date": "01/09/2022" | |
| }, | |
| { | |
| "valor": 0, | |
| "date": "2022-10-01T03:00:00.000Z", | |
| "mensal": 199, | |
| "value": 199, | |
| "month": "10/2022", | |
| "number": 5, | |
| "formatted_value": "199,00", | |
| "formatted_date": "01/10/2022" | |
| }, | |
| { | |
| "valor": 0, | |
| "date": "2022-11-01T03:00:00.000Z", | |
| "mensal": 199, | |
| "value": 199, | |
| "month": "11/2022", | |
| "number": 6, | |
| "formatted_value": "199,00", | |
| "formatted_date": "01/11/2022" | |
| }, | |
| { | |
| "valor": 0, | |
| "date": "2022-12-01T03:00:00.000Z", | |
| "mensal": 199, | |
| "value": 199, | |
| "month": "12/2022", | |
| "number": 7, | |
| "formatted_value": "199,00", | |
| "formatted_date": "01/12/2022" | |
| }, | |
| { | |
| "valor": 0, | |
| "date": "2023-01-01T03:00:00.000Z", | |
| "mensal": 199, | |
| "value": 199, | |
| "month": "1/2023", | |
| "number": 8, | |
| "formatted_value": "199,00", | |
| "formatted_date": "01/01/2023" | |
| }, | |
| { | |
| "valor": 0, | |
| "date": "2023-02-01T03:00:00.000Z", | |
| "mensal": 199, | |
| "value": 199, | |
| "month": "2/2023", | |
| "number": 9, | |
| "formatted_value": "199,00", | |
| "formatted_date": "01/02/2023" | |
| }, | |
| { | |
| "valor": 0, | |
| "date": "2023-03-01T03:00:00.000Z", | |
| "mensal": 199, | |
| "value": 199, | |
| "month": "3/2023", | |
| "number": 10, | |
| "formatted_value": "199,00", | |
| "formatted_date": "01/03/2023" | |
| }, | |
| { | |
| "valor": 0, | |
| "date": "2023-04-01T03:00:00.000Z", | |
| "mensal": 199, | |
| "value": 199, | |
| "month": "4/2023", | |
| "number": 11, | |
| "formatted_value": "199,00", | |
| "formatted_date": "01/04/2023" | |
| }, | |
| { | |
| "valor": 0, | |
| "date": "2023-05-01T03:00:00.000Z", | |
| "mensal": 199, | |
| "value": 199, | |
| "month": "5/2023", | |
| "number": 12, | |
| "formatted_value": "199,00", | |
| "formatted_date": "01/05/2023" | |
| } | |
| ], | |
| "formatted_expiration_date": "18/07/2022", | |
| "formatted_contract_start": "28/06/2022", | |
| "formatted_contract_end": "28/06/2023", | |
| "formatted_created_at": "28/06/2022", | |
| "formatted_value": "2.888,00", | |
| "formatted_discount": null | |
| }, | |
| "delivery_system": "docgen" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment