Files
Odoo-Modules/fusion_poynt/graphify-out/cache/75564f8e37eb90312aa43ce6f552186575096a718ae906e3cf17203a76fc3e7d.json
gsinghpal 41d0908ade changes
2026-04-24 21:04:38 -04:00

1 line
19 KiB
JSON

{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_poynt_utils_py", "label": "utils.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L1"}, {"id": "utils_generate_request_id", "label": "generate_request_id()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L12"}, {"id": "utils_build_api_url", "label": "build_api_url()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L17"}, {"id": "utils_build_api_headers", "label": "build_api_headers()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L36"}, {"id": "utils_clean_application_id", "label": "clean_application_id()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L56"}, {"id": "utils_create_self_signed_jwt", "label": "create_self_signed_jwt()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L75"}, {"id": "utils_format_poynt_amount", "label": "format_poynt_amount()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L125"}, {"id": "utils_parse_poynt_amount", "label": "parse_poynt_amount()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L137"}, {"id": "utils_extract_card_details", "label": "extract_card_details()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L149"}, {"id": "utils_get_poynt_status", "label": "get_poynt_status()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L175"}, {"id": "utils_build_order_payload", "label": "build_order_payload()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L188"}, {"id": "utils_build_transaction_payload", "label": "build_transaction_payload()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L241"}, {"id": "utils_build_token_charge_payload", "label": "build_token_charge_payload()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L296"}, {"id": "utils_rationale_13", "label": "Generate a unique request ID for Poynt API idempotency.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L13"}, {"id": "utils_rationale_18", "label": "Build a full Poynt API URL for the given endpoint. :param str endpoint: The", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L18"}, {"id": "utils_rationale_37", "label": "Build the standard HTTP headers for a Poynt API request. :param str access_", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L37"}, {"id": "utils_rationale_57", "label": "Extract the urn:aid:... portion from a raw application ID string. Poynt dev", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L57"}, {"id": "utils_rationale_76", "label": "Create a self-signed JWT for Poynt OAuth2 token request. The JWT is signed", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L76"}, {"id": "utils_rationale_126", "label": "Convert a major currency amount to Poynt's minor units (cents). :param floa", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L126"}, {"id": "utils_rationale_138", "label": "Convert Poynt's minor currency units back to major units. :param int minor_", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L138"}, {"id": "utils_rationale_150", "label": "Extract card details from a Poynt funding source object. :param dict fundin", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L150"}, {"id": "utils_rationale_176", "label": "Map a Poynt transaction status string to an Odoo transaction state. :param", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L176"}, {"id": "utils_rationale_190", "label": "Build a Poynt order creation payload. :param str reference: The Odoo transa", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L190"}, {"id": "utils_rationale_245", "label": "Build a Poynt transaction payload for charge/auth/capture. :param str actio", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L245"}, {"id": "utils_rationale_300", "label": "Build a payload for POST /cards/tokenize/charge. :param str action: SALE or", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L300"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_poynt_utils_py", "target": "json", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L3", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_poynt_utils_py", "target": "time", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L4", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_poynt_utils_py", "target": "uuid", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L5", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_poynt_utils_py", "target": "odoo_exceptions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L7", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_poynt_utils_py", "target": "odoo_addons_fusion_poynt", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L9", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_poynt_utils_py", "target": "utils_generate_request_id", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L12", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_poynt_utils_py", "target": "utils_build_api_url", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L17", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_poynt_utils_py", "target": "utils_build_api_headers", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L36", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_poynt_utils_py", "target": "utils_clean_application_id", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L56", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_poynt_utils_py", "target": "utils_create_self_signed_jwt", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L75", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_poynt_utils_py", "target": "utils_format_poynt_amount", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L125", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_poynt_utils_py", "target": "utils_parse_poynt_amount", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L137", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_poynt_utils_py", "target": "utils_extract_card_details", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L149", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_poynt_utils_py", "target": "utils_get_poynt_status", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L175", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_poynt_utils_py", "target": "utils_build_order_payload", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L188", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_poynt_utils_py", "target": "utils_build_transaction_payload", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L241", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_poynt_utils_py", "target": "utils_build_token_charge_payload", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L296", "weight": 1.0}, {"source": "utils_build_api_headers", "target": "utils_generate_request_id", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L45", "weight": 1.0}, {"source": "utils_create_self_signed_jwt", "target": "utils_clean_application_id", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L105", "weight": 1.0}, {"source": "utils_build_order_payload", "target": "utils_format_poynt_amount", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L202", "weight": 1.0}, {"source": "utils_build_transaction_payload", "target": "utils_format_poynt_amount", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L258", "weight": 1.0}, {"source": "utils_build_token_charge_payload", "target": "utils_format_poynt_amount", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L312", "weight": 1.0}, {"source": "utils_rationale_13", "target": "utils_generate_request_id", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L13", "weight": 1.0}, {"source": "utils_rationale_18", "target": "utils_build_api_url", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L18", "weight": 1.0}, {"source": "utils_rationale_37", "target": "utils_build_api_headers", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L37", "weight": 1.0}, {"source": "utils_rationale_57", "target": "utils_clean_application_id", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L57", "weight": 1.0}, {"source": "utils_rationale_76", "target": "utils_create_self_signed_jwt", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L76", "weight": 1.0}, {"source": "utils_rationale_126", "target": "utils_format_poynt_amount", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L126", "weight": 1.0}, {"source": "utils_rationale_138", "target": "utils_parse_poynt_amount", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L138", "weight": 1.0}, {"source": "utils_rationale_150", "target": "utils_extract_card_details", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L150", "weight": 1.0}, {"source": "utils_rationale_176", "target": "utils_get_poynt_status", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L176", "weight": 1.0}, {"source": "utils_rationale_190", "target": "utils_build_order_payload", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L190", "weight": 1.0}, {"source": "utils_rationale_245", "target": "utils_build_transaction_payload", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L245", "weight": 1.0}, {"source": "utils_rationale_300", "target": "utils_build_token_charge_payload", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L300", "weight": 1.0}], "raw_calls": [{"caller_nid": "utils_generate_request_id", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L14"}, {"caller_nid": "utils_generate_request_id", "callee": "uuid4", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L14"}, {"caller_nid": "utils_clean_application_id", "callee": "strip", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L68"}, {"caller_nid": "utils_clean_application_id", "callee": "index", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L70"}, {"caller_nid": "utils_create_self_signed_jwt", "callee": "ValidationError", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L92"}, {"caller_nid": "utils_create_self_signed_jwt", "callee": "isinstance", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L98"}, {"caller_nid": "utils_create_self_signed_jwt", "callee": "encode", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L101"}, {"caller_nid": "utils_create_self_signed_jwt", "callee": "load_pem_private_key", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L103"}, {"caller_nid": "utils_create_self_signed_jwt", "callee": "default_backend", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L103"}, {"caller_nid": "utils_create_self_signed_jwt", "callee": "int", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L107"}, {"caller_nid": "utils_create_self_signed_jwt", "callee": "time", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L107"}, {"caller_nid": "utils_create_self_signed_jwt", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L114"}, {"caller_nid": "utils_create_self_signed_jwt", "callee": "uuid4", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L114"}, {"caller_nid": "utils_create_self_signed_jwt", "callee": "encode", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L117"}, {"caller_nid": "utils_create_self_signed_jwt", "callee": "ValidationError", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L120"}, {"caller_nid": "utils_format_poynt_amount", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L133"}, {"caller_nid": "utils_format_poynt_amount", "callee": "int", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L134"}, {"caller_nid": "utils_format_poynt_amount", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L134"}, {"caller_nid": "utils_parse_poynt_amount", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L145"}, {"caller_nid": "utils_extract_card_details", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L160"}, {"caller_nid": "utils_extract_card_details", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L161"}, {"caller_nid": "utils_extract_card_details", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L166"}, {"caller_nid": "utils_extract_card_details", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L167"}, {"caller_nid": "utils_extract_card_details", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L168"}, {"caller_nid": "utils_extract_card_details", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L169"}, {"caller_nid": "utils_extract_card_details", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L170"}, {"caller_nid": "utils_extract_card_details", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L171"}, {"caller_nid": "utils_get_poynt_status", "callee": "items", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_poynt/utils.py", "source_location": "L182"}]}