diff --git a/macros/core/_live.yaml.sql b/macros/core/_live.yaml.sql index b6c0aa9..bcda31b 100644 --- a/macros/core/_live.yaml.sql +++ b/macros/core/_live.yaml.sql @@ -14,4 +14,20 @@ options: | NOT NULL sql: udf_api + +- name: {{ schema }}.lt_near_tx_udf_api + signature: + - [method, STRING] + - [url, STRING] + - [headers, OBJECT] + - [DATA, VARIANT] + - [user_id, STRING] + - [SECRET, STRING] + return_type: VARIANT + func_type: EXTERNAL + api_integration: '{{ var("API_INTEGRATION") }}' + options: | + NOT NULL + MAX_BATCH_ROWS = 25 + sql: udf_api {% endmacro %} \ No newline at end of file