-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from fivetran/feature/q3-2023-updates
add new models and fields
- Loading branch information
Showing
29 changed files
with
796 additions
and
54 deletions.
There are no files selected for viewing
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
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
id,_fivetran_synced,amount,available_on,connected_account_id,created,currency,description,exchange_rate,fee,net,source,status,type,payout_id | ||
txn_0IV4rIig6peNXzgDK3XAFbaN,2021-03-15 02:21:18,-18759,2021-03-16 0:00:00,,2021-03-15 01:04:36,usd,f39657a1847db73d9a2abb0bad3d31ae,,0,-18759,po_0IV4rIig6peNXzgD51VFKdaB,pending,payout,po_0IV4rIig6peNXzgD51VFKdaB | ||
txn_0IDYgiig6peNXzgDuNvLeoLR,2021-01-31 02:21:08,2040000,2021-02-01 0:00:00,,2021-01-25 17:17:15,usd,d267c9d09a2d1e50f12635bd2b56ed29,,59190,1980810,ch_0IDYghig6peNXzgDhuOFKdTS,pending,charge,po_0IFUKBig6peNXzgDZQM7WPAo | ||
txn_0IG5fvig6peNXzgD8jemrxAp,2021-02-07 02:21:12,117524,2021-02-08 0:00:00,,2021-02-01 16:54:54,usd,0662d6089789e1fabd56c6d55e91ef09,,3438,114086,ch_0IG5fuig6peNXzgDzZkrO949,pending,charge,po_0II1gGig6peNXzgD4BxKEJJJ | ||
txn_0ILGCbig6peNXzgDqjp7xaaX,2021-02-21 02:21:08,7239375,2021-02-22 0:00:00,,2021-02-15 23:09:59,usd,612942eb1230077a0b1d066de5aba0db,,209972,7029403,ch_0ILGCZig6peNXzgDw4eVbq0v,pending,charge,po_0IN6L6ig6peNXzgDu7m6fhRI | ||
txn_0IO6DWig6peNXzgDF8qNjZNX,2021-03-01 02:21:13,255360,2021-03-02 0:00:00,,2021-02-23 19:06:41,usd,b8de27e00022f92981c965125c15c22d,,7435,247925,ch_0IO6DVig6peNXzgDgTOGtdeD,pending,charge,po_0IQ08Sig6peNXzgDC6UG0Oxc | ||
txn_0IROZoig6peNXzgDRsBjph8K,2021-03-10 02:21:13,438750,2021-03-11 0:00:00,,2021-03-04 21:19:18,usd,d3c18c425369d3c6b26126b7f791cf3f,,12754,425996,ch_0IROZmig6peNXzgDwohSYaPj,pending,charge,po_0ITGUHig6peNXzgD78pmjvio | ||
txn_0IT7uhig6peNXzgDolTgmiUJ,2021-03-15 02:21:18,19350,2021-03-16 0:00:00,,2021-03-09 15:56:02,usd,a29cfd524867f29bd7eddcb21fdf6e3b,,591,18759,ch_0IT7ugig6peNXzgDh9iGZed7,pending,charge,po_0IV4rIig6peNXzgD51VFKdaB | ||
txn_0IUBwDig6peNXzgDCYCHC7gd,2021-03-13 14:21:36,3519960,2021-03-19 0:00:00,,2021-03-12 14:26:00,usd,e8be2b872cd9d14ddf3b5cd89860d551,,137308,3382652,ch_0IUBwCig6peNXzgDTOTEw24B,pending,charge, | ||
txn_0IUIaVig6peNXzgDoGvsNC17,2021-03-13 14:21:36,7499999,2021-03-19 0:00:00,,2021-03-12 21:32:01,usd,9b8159d008204266ff7f2df19843d5b4,,217530,7282469,ch_0IUIaTig6peNXzgDhyoZBxWv,pending,charge, | ||
id,_fivetran_synced,amount,available_on,connected_account_id,created,currency,description,exchange_rate,fee,net,source,status,type,payout_id,reporting_category | ||
txn_0IV4rIig6peNXzgDK3XAFbaN,2021-03-15 02:21:18,-18759,2021-03-16 0:00:00,,2021-03-15 01:04:36,usd,f39657a1847db73d9a2abb0bad3d31ae,,0,-18759,po_0IV4rIig6peNXzgD51VFKdaB,pending,payout,po_0IV4rIig6peNXzgD51VFKdaB,payout | ||
txn_0IDYgiig6peNXzgDuNvLeoLR,2021-01-31 02:21:08,2040000,2021-02-01 0:00:00,,2021-01-25 17:17:15,usd,d267c9d09a2d1e50f12635bd2b56ed29,,59190,1980810,ch_0IDYghig6peNXzgDhuOFKdTS,pending,payout,po_0IFUKBig6peNXzgDZQM7WPAo,payout | ||
txn_0IG5fvig6peNXzgD8jemrxAp,2021-02-07 02:21:12,117524,2021-02-08 0:00:00,,2021-02-01 16:54:54,usd,0662d6089789e1fabd56c6d55e91ef09,,3438,114086,ch_0IG5fuig6peNXzgDzZkrO949,pending,payout,po_0II1gGig6peNXzgD4BxKEJJJ,payout | ||
txn_0ILGCbig6peNXzgDqjp7xaaX,2021-02-21 02:21:08,7239375,2021-02-22 0:00:00,,2021-02-15 23:09:59,usd,612942eb1230077a0b1d066de5aba0db,,209972,7029403,ch_0ILGCZig6peNXzgDw4eVbq0v,pending,payout,po_0IN6L6ig6peNXzgDu7m6fhRI,payout | ||
txn_0IO6DWig6peNXzgDF8qNjZNX,2021-03-01 02:21:13,255360,2021-03-02 0:00:00,,2021-02-23 19:06:41,usd,b8de27e00022f92981c965125c15c22d,,7435,247925,ch_0IO6DVig6peNXzgDgTOGtdeD,pending,payout,po_0IQ08Sig6peNXzgDC6UG0Oxc,payout | ||
txn_0IROZoig6peNXzgDRsBjph8K,2021-03-10 02:21:13,438750,2021-03-11 0:00:00,,2021-03-04 21:19:18,usd,d3c18c425369d3c6b26126b7f791cf3f,,12754,425996,ch_0IROZmig6peNXzgDwohSYaPj,pending,payout,po_0ITGUHig6peNXzgD78pmjvio,payout | ||
txn_0IT7uhig6peNXzgDolTgmiUJ,2021-03-15 02:21:18,19350,2021-03-16 0:00:00,,2021-03-09 15:56:02,usd,a29cfd524867f29bd7eddcb21fdf6e3b,,591,18759,ch_0IT7ugig6peNXzgDh9iGZed7,pending,payout,po_0IV4rIig6peNXzgD51VFKdaB,payout | ||
txn_0IUBwDig6peNXzgDCYCHC7gd,2021-03-13 14:21:36,3519960,2021-03-19 0:00:00,,2021-03-12 14:26:00,usd,e8be2b872cd9d14ddf3b5cd89860d551,,137308,3382652,ch_0IUBwCig6peNXzgDTOTEw24B,pending,charge,,charge | ||
txn_0IUIaVig6peNXzgDoGvsNC17,2021-03-13 14:21:36,7499999,2021-03-19 0:00:00,,2021-03-12 21:32:01,usd,9b8159d008204266ff7f2df19843d5b4,,217530,7282469,ch_0IUIaTig6peNXzgDhyoZBxWv,pending,charge,,charge | ||
txn_0LSoHSig6peNXzgDlpA8A62P,2021-03-13 14:21:36,1234555,2021-03-19 0:00:00,,2021-03-12 21:32:01,usd,Barbie or Oppenheimer,,0,-50000,,available,stripe_fee,po_0KE1Otig6peNXzgD2qg5lNe9,fee |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
id,_fivetran_synced,amount,balance_transaction,charge_id,connected_account_id,created,currency,evidence_access_activity_log,evidence_billing_address,evidence_cancellation_policy,evidence_cancellation_policy_disclosure,evidence_cancellation_rebuttal,evidence_customer_communication,evidence_customer_email_address,evidence_customer_name,evidence_customer_purchase_ip,evidence_customer_signature,evidence_details_due_by,evidence_details_has_evidence,evidence_details_past_due,evidence_details_submission_count,evidence_duplicate_charge_documentation,evidence_duplicate_charge_explanation,evidence_duplicate_charge_id,evidence_product_description,evidence_receipt,evidence_refund_policy,evidence_refund_policy_disclosure,evidence_refund_refusal_explanation,evidence_service_date,evidence_service_documentation,evidence_shipping_address,evidence_shipping_carrier,evidence_shipping_date,evidence_shipping_documentation,evidence_shipping_tracking_number,evidence_uncategorized_file,evidence_uncategorized_text,is_charge_refundable,livemode,metadata,reason,status | ||
du_0MmTsrig6peNXzgD4bsS3XWF,2023-06-02 08:23:57,1234,txn_0MmTt4ig6peNXzgDDEp8wsKh,ch_2MZdKRig6peNXzgD0EygIk7l,,2023-03-17 03:23:13,usd,,,,,,,,,,,2023-04-26 23:59:59.000000 UTC,true,false,1,,,,,,,,,,,,,,,,,,true,true,"""{""netsuite_credit_memo_id"":""3324234"",""netsuite_credit_memo_link"":""https://en.wikipedia.org/wiki/Brave_New_World"",""netsuite_customer_refund_id"":""3524872"",""netsuite_customer_refund_link"":""https://en.wikipedia.org/wiki/Aldous_Huxley""}""",product_unacceptable,won | ||
du_0Lvivfig6peNXzgD33SIekHq,2022-12-21 20:19:05,3333,txn_0LviwVig6peNXzgDkSPS1Y1C,ch_2LqbkJig6peNXzgD1jG4Xy7z,,2022-10-22 14:44:03,usd,,,,,,,,,,,2022-11-17 23:59:59.000000 UTC,false,false,1,,,,,,,,,,,,,,,,,,true,true,,general,won | ||
du_0KHowkig6peNXzgDyhndDHOe,2022-09-23 00:00:24,3331,txn_0KHoxcig6peNXzgDKWarDbF0,ch_2JtdoJig6peNXzgD1lCAvXwG,,2022-01-14 12:31:58,usd,,"1600 Pennsylvania Avenue NW, Washington, DC 20500",,,,,[email protected],Aldous Huxley,68.1.21.555,,2022-02-09 23:59:59.000000 UTC,false,false,1,,,,,file_0KHowoig6peNXzgDyeDmylk3,,,,,,,,,,,,,true,true,,general,won | ||
du_0M9SJTig6peNXzgD58OLM8Mz,2022-12-12 20:19:03,1099,txn_0M9SKaig6peNXzgDlb5cqlBg,ch_2M2d6mig6peNXzgD03nrNVYZ,,2022-11-29 11:49:23,usd,,,,,,,,,,,2022-12-25 23:59:59.000000 UTC,false,false,0,,,,,,,,,,,,,,,,,,false,true,,subscription_canceled,lost | ||
du_0LuGYgig6peNXzgDM8lPBTFC,2022-11-14 14:21:25,1222,txn_0LuGZyig6peNXzgDLgWzetHo,ch_2LUt28ig6peNXzgD0RdFu0qW,,2022-10-18 14:14:18,usd,,,,,,,,,,,2022-11-13 23:59:59.000000 UTC,false,false,0,,,,,,,,,,,,,,,,,,false,true,,subscription_canceled,lost | ||
du_0LyvFuig6peNXzgDyBMCjDi6,2022-11-27 14:20:24,221244,txn_0LyvHhig6peNXzgDg5LanDAq,ch_2Lqdeuig6peNXzgD0sA3iBuH,,2022-10-31 10:30:10,usd,,,,,,,,,,,2022-11-26 23:59:59.000000 UTC,false,false,0,,,,,,,,,,,,,,,,,,false,true,,subscription_canceled,lost | ||
du_0LiAl6ig6peNXzgDEejs24CE,2022-11-13 20:20:09,432532,txn_0Lumheig6peNXzgDSp1KIXph,ch_2LVoJuig6peNXzgD1DvyohjD,,2022-09-15 05:37:08,usd,,,,,,,,,,,2022-11-12 23:59:59.000000 UTC,false,false,0,,,,,,,,,,,,,,,,,,false,true,,general,lost | ||
du_0M9ScVig6peNXzgDkfd7tUNb,2022-12-12 20:19:03,1400,txn_0M9SdPig6peNXzgDgpb4aJDQ,ch_2LqcRzig6peNXzgD06FImTqU,,2022-11-29 12:09:03,usd,,,,,,,,,,,2022-12-25 23:59:59.000000 UTC,false,false,0,,,,,,,,,,,,,,,,,,false,true,,subscription_canceled,lost | ||
du_0LuGd7ig6peNXzgDUxXx85wF,2022-11-14 14:21:25,1400,txn_0LuGe5ig6peNXzgD7PMfTzJ6,ch_2LfkHjig6peNXzgD1e9ltqQt,,2022-10-18 14:18:53,usd,,,,,,,,,,,2022-11-13 23:59:59.000000 UTC,false,false,0,,,,,,,,,,,,,,,,,,false,true,,subscription_canceled,lost | ||
du_0LuGbbig6peNXzgDjHA4RfoT,2022-11-14 14:21:25,700,txn_0LuGcrig6peNXzgDKP5y95T9,ch_2LLwgKig6peNXzgD0Sr5X6kL,,2022-10-18 14:17:19,usd,,,,,,,,,,,2022-11-13 23:59:59.000000 UTC,false,false,0,,,,,,,,,,,,,,,,,,false,true,,subscription_canceled,lost |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
id,_fivetran_synced,amount,amount_reversed,balance_transaction_id,created,currency,description,destination,destination_payment,destination_payment_id,livemode,metadata,reversed,source_transaction,source_transaction_id,source_type,transfer_group | ||
po_0Njtvzig6peNXzgD6RPBasht,2023-08-29 02:19:08,1447318,0,txn_0Njtw0ig6peNXzgDXY3mJGwC,2023-08-28 01:08:03,usd,STRIPE PAYOUT,ba_0MkB7Nig6peNXzgDBFL0SIgk,,,true,"""{""netsuite_deposit_id"":""3975560"",""netsuite_deposit_link"":""https://en.wikipedia.org/wiki/Beyonc%C3%A9""}""",false,,,card, | ||
po_0NjXKxig6peNXzgDgn8MqQuZ,2023-08-28 08:20:02,2660278,0,txn_0NjXKyig6peNXzgDbmNVE84K,2023-08-27 01:00:19,usd,STRIPE PAYOUT,ba_0MkB7Nig6peNXzgDBFL0SIgk,,,true,,false,,,card, | ||
po_0NkGNTig6peNXzgDJWfkSimX,2023-08-30 02:19:14,760313,0,txn_0NkGNTig6peNXzgDTsXXisyE,2023-08-29 01:05:55,usd,STRIPE PAYOUT,ba_0MkB7Nig6peNXzgDBFL0SIgk,,,true,,false,,,card, | ||
po_0NkcrHig6peNXzgDwoDFU4Yi,2023-08-30 02:19:14,1944407,0,txn_0NkcrHig6peNXzgD7eFO2jc7,2023-08-30 01:06:11,usd,STRIPE PAYOUT,ba_0MkB7Nig6peNXzgDBFL0SIgk,,,true,,false,,,card, | ||
po_0Mbvvvig6peNXzgDNH6Wf3ha,2023-02-17 01:15:32,7251977,0,txn_0Mbvvvig6peNXzgDJAGJCdpN,2023-02-16 01:06:47,usd,STRIPE PAYOUT,ba_1S2vcDBpbM03IU,,,true,,false,,,card, | ||
po_0LunJvig6peNXzgD41QBrw1m,2022-10-21 08:21:56,-1426166,0,txn_0LunJwig6peNXzgDCnBflWPl,2022-10-20 01:13:15,usd,STRIPE PAYOUT,ba_1S2vcDBpbM03IU,,,true,,false,,,card, | ||
po_0MRQ1gig6peNXzgD138jhQS7,2023-01-19 02:19:35,7332491,0,txn_0MRQ1gig6peNXzgDchKTwIPQ,2023-01-18 01:01:16,usd,STRIPE PAYOUT,ba_1S2vcDBpbM03IU,,,true,,false,,,card, | ||
po_0MRmW1ig6peNXzgDUPQSnmYw,2023-01-20 02:19:18,6108653,0,txn_0MRmW1ig6peNXzgDFqR0yaFa,2023-01-19 01:02:05,usd,STRIPE PAYOUT,ba_1S2vcDBpbM03IU,,,true,,false,,,card, | ||
po_0MJ5C6ig6peNXzgDyic22YlD,2022-12-27 02:19:05,3456033,0,txn_0MJ5C7ig6peNXzgDfWTszRUw,2022-12-26 01:09:34,usd,STRIPE PAYOUT,ba_1S2vcDBpbM03IU,,,true,,false,,,card, | ||
po_0MDe3Sig6peNXzgDJHinDGmA,2022-12-12 02:18:56,3330213,0,txn_0MDe3Tig6peNXzgDSyxtRpRH,2022-12-11 01:10:10,usd,STRIPE PAYOUT,ba_1S2vcDBpbM03IU,,,true,,false,,,card, |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{% macro get_dispute_columns() %} | ||
|
||
{% set columns = [ | ||
{"name": "_fivetran_synced", "datatype": dbt.type_timestamp()}, | ||
{"name": "amount", "datatype": dbt.type_int()}, | ||
{"name": "balance_transaction", "datatype": dbt.type_string()}, | ||
{"name": "charge_id", "datatype": dbt.type_string()}, | ||
{"name": "connected_account_id", "datatype": dbt.type_string()}, | ||
{"name": "created", "datatype": dbt.type_timestamp()}, | ||
{"name": "currency", "datatype": dbt.type_string()}, | ||
{"name": "evidence_access_activity_log", "datatype": dbt.type_string()}, | ||
{"name": "evidence_billing_address", "datatype": dbt.type_string()}, | ||
{"name": "evidence_cancellation_policy", "datatype": dbt.type_string()}, | ||
{"name": "evidence_cancellation_policy_disclosure", "datatype": dbt.type_string()}, | ||
{"name": "evidence_cancellation_rebuttal", "datatype": dbt.type_string()}, | ||
{"name": "evidence_customer_communication", "datatype": dbt.type_string()}, | ||
{"name": "evidence_customer_email_address", "datatype": dbt.type_string()}, | ||
{"name": "evidence_customer_name", "datatype": dbt.type_string()}, | ||
{"name": "evidence_customer_purchase_ip", "datatype": dbt.type_string()}, | ||
{"name": "evidence_customer_signature", "datatype": dbt.type_string()}, | ||
{"name": "evidence_details_due_by", "datatype": dbt.type_timestamp()}, | ||
{"name": "evidence_details_has_evidence", "datatype": "boolean"}, | ||
{"name": "evidence_details_past_due", "datatype": "boolean"}, | ||
{"name": "evidence_details_submission_count", "datatype": dbt.type_int()}, | ||
{"name": "evidence_duplicate_charge_documentation", "datatype": dbt.type_string()}, | ||
{"name": "evidence_duplicate_charge_explanation", "datatype": dbt.type_string()}, | ||
{"name": "evidence_duplicate_charge_id", "datatype": dbt.type_string()}, | ||
{"name": "evidence_product_description", "datatype": dbt.type_string()}, | ||
{"name": "evidence_receipt", "datatype": dbt.type_string()}, | ||
{"name": "evidence_refund_policy", "datatype": dbt.type_string()}, | ||
{"name": "evidence_refund_policy_disclosure", "datatype": dbt.type_string()}, | ||
{"name": "evidence_refund_refusal_explanation", "datatype": dbt.type_string()}, | ||
{"name": "evidence_service_date", "datatype": dbt.type_string()}, | ||
{"name": "evidence_service_documentation", "datatype": dbt.type_string()}, | ||
{"name": "evidence_shipping_address", "datatype": dbt.type_string()}, | ||
{"name": "evidence_shipping_carrier", "datatype": dbt.type_string()}, | ||
{"name": "evidence_shipping_date", "datatype": dbt.type_string()}, | ||
{"name": "evidence_shipping_documentation", "datatype": dbt.type_string()}, | ||
{"name": "evidence_shipping_tracking_number", "datatype": dbt.type_string()}, | ||
{"name": "evidence_uncategorized_file", "datatype": dbt.type_string()}, | ||
{"name": "evidence_uncategorized_text", "datatype": dbt.type_string()}, | ||
{"name": "id", "datatype": dbt.type_string()}, | ||
{"name": "is_charge_refundable", "datatype": "boolean"}, | ||
{"name": "livemode", "datatype": "boolean"}, | ||
{"name": "metadata", "datatype": dbt.type_string()}, | ||
{"name": "reason", "datatype": dbt.type_string()}, | ||
{"name": "status", "datatype": dbt.type_string()} | ||
] %} | ||
|
||
{{ return(columns) }} | ||
|
||
{% endmacro %} |
Oops, something went wrong.