1 line
13 KiB
JSON
1 line
13 KiB
JSON
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_clover_utils_py", "label": "utils.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L1"}, {"id": "utils_generate_idempotency_key", "label": "generate_idempotency_key()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L8"}, {"id": "utils_build_ecom_url", "label": "build_ecom_url()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L13"}, {"id": "utils_build_platform_url", "label": "build_platform_url()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L25"}, {"id": "utils_build_ecom_headers", "label": "build_ecom_headers()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L40"}, {"id": "utils_format_clover_amount", "label": "format_clover_amount()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L58"}, {"id": "utils_parse_clover_amount", "label": "parse_clover_amount()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L70"}, {"id": "utils_extract_card_details", "label": "extract_card_details()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L82"}, {"id": "utils_get_clover_status", "label": "get_clover_status()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L104"}, {"id": "utils_build_charge_payload", "label": "build_charge_payload()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L117"}, {"id": "utils_build_refund_payload", "label": "build_refund_payload()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L157"}, {"id": "utils_rationale_9", "label": "Generate a unique idempotency key for Clover API requests.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L9"}, {"id": "utils_rationale_14", "label": "Build a full Clover Ecommerce API URL. :param str endpoint: The API endpoin", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L14"}, {"id": "utils_rationale_26", "label": "Build a full Clover Platform API URL. :param str endpoint: The API endpoint", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L26"}, {"id": "utils_rationale_41", "label": "Build the standard HTTP headers for a Clover Ecommerce API request. :param", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L41"}, {"id": "utils_rationale_59", "label": "Convert a major currency amount to Clover's minor units (cents). :param flo", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L59"}, {"id": "utils_rationale_71", "label": "Convert Clover's minor currency units back to major units. :param int minor", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L71"}, {"id": "utils_rationale_83", "label": "Extract card details from a Clover charge source object. :param dict source", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L83"}, {"id": "utils_rationale_105", "label": "Map a Clover charge status string to an Odoo transaction state. :param str", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L105"}, {"id": "utils_rationale_121", "label": "Build a Clover charge creation payload. :param float amount: The charge amo", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L121"}, {"id": "utils_rationale_158", "label": "Build a Clover refund payload. :param str charge_id: The Clover charge ID t", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L158"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_clover_utils_py", "target": "uuid", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L3", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_clover_utils_py", "target": "odoo_addons_fusion_clover", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L5", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_clover_utils_py", "target": "utils_generate_idempotency_key", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L8", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_clover_utils_py", "target": "utils_build_ecom_url", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L13", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_clover_utils_py", "target": "utils_build_platform_url", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L25", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_clover_utils_py", "target": "utils_build_ecom_headers", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L40", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_clover_utils_py", "target": "utils_format_clover_amount", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L58", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_clover_utils_py", "target": "utils_parse_clover_amount", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L70", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_clover_utils_py", "target": "utils_extract_card_details", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L82", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_clover_utils_py", "target": "utils_get_clover_status", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L104", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_clover_utils_py", "target": "utils_build_charge_payload", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L117", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_clover_utils_py", "target": "utils_build_refund_payload", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L157", "weight": 1.0}, {"source": "utils_build_charge_payload", "target": "utils_format_clover_amount", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L135", "weight": 1.0}, {"source": "utils_build_refund_payload", "target": "utils_format_clover_amount", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L172", "weight": 1.0}, {"source": "utils_rationale_9", "target": "utils_generate_idempotency_key", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L9", "weight": 1.0}, {"source": "utils_rationale_14", "target": "utils_build_ecom_url", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L14", "weight": 1.0}, {"source": "utils_rationale_26", "target": "utils_build_platform_url", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L26", "weight": 1.0}, {"source": "utils_rationale_41", "target": "utils_build_ecom_headers", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L41", "weight": 1.0}, {"source": "utils_rationale_59", "target": "utils_format_clover_amount", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L59", "weight": 1.0}, {"source": "utils_rationale_71", "target": "utils_parse_clover_amount", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L71", "weight": 1.0}, {"source": "utils_rationale_83", "target": "utils_extract_card_details", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L83", "weight": 1.0}, {"source": "utils_rationale_105", "target": "utils_get_clover_status", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L105", "weight": 1.0}, {"source": "utils_rationale_121", "target": "utils_build_charge_payload", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L121", "weight": 1.0}, {"source": "utils_rationale_158", "target": "utils_build_refund_payload", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L158", "weight": 1.0}], "raw_calls": [{"caller_nid": "utils_generate_idempotency_key", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L10"}, {"caller_nid": "utils_generate_idempotency_key", "callee": "uuid4", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L10"}, {"caller_nid": "utils_format_clover_amount", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L66"}, {"caller_nid": "utils_format_clover_amount", "callee": "int", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L67"}, {"caller_nid": "utils_format_clover_amount", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L67"}, {"caller_nid": "utils_parse_clover_amount", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L78"}, {"caller_nid": "utils_extract_card_details", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L92"}, {"caller_nid": "utils_extract_card_details", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L93"}, {"caller_nid": "utils_extract_card_details", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L97"}, {"caller_nid": "utils_extract_card_details", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L97"}, {"caller_nid": "utils_extract_card_details", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L98"}, {"caller_nid": "utils_extract_card_details", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L99"}, {"caller_nid": "utils_extract_card_details", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L100"}, {"caller_nid": "utils_extract_card_details", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L100"}, {"caller_nid": "utils_get_clover_status", "callee": "items", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L111"}, {"caller_nid": "utils_build_charge_payload", "callee": "lower", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clover/utils.py", "source_location": "L139"}]} |