From 6f17b6220b576b93420640c737361166aae1e847 Mon Sep 17 00:00:00 2001 From: Sam Hughes Date: Mon, 11 Nov 2024 11:28:16 +0000 Subject: [PATCH] chore: add in more regions --- vortexasdk/endpoints/destination_breakdown.py | 7 +++++-- vortexasdk/endpoints/origin_breakdown.py | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/vortexasdk/endpoints/destination_breakdown.py b/vortexasdk/endpoints/destination_breakdown.py index 97b2cc42..1567da0a 100644 --- a/vortexasdk/endpoints/destination_breakdown.py +++ b/vortexasdk/endpoints/destination_breakdown.py @@ -79,8 +79,11 @@ def search( breakdown_unit: Units to aggregate upon. Must be one of the following: `'b'`, `'t'`, `'cbm'`, `'bpd'`, `'tpd'`, `'mpd'`. - breakdown_geography: Geography hierarchy of the origin to aggregate upon. Must be one of the following: `'terminal'`, `'port'`,`'country'`, `'shipping_region'`, - `'region'`,`'trading_block'`,`'trading_region'`,`'trading_subregion'`,`'sts_zone'`,`'waypoint'`. + breakdown_geography: Geography layer of the origin to aggregate upon. Must be one of the following: + `berth`, `terminal`, `port`, `country`, `country_zone`, `shipping_region`, `shipping_region_v2`, + `wider_shipping_region`, `region`, `alternative_region`, `trading_block`, `trading_region`, + `trading_subregion`, `state_or_province`, `sts_zone`, `waypoint`, `storage`, `storage_terminal`, `basin`, + `root`, or not provided. Default is `berth`. breakdown_size: Number of top geographies to return. Default is 5. diff --git a/vortexasdk/endpoints/origin_breakdown.py b/vortexasdk/endpoints/origin_breakdown.py index f1accd3f..22107473 100644 --- a/vortexasdk/endpoints/origin_breakdown.py +++ b/vortexasdk/endpoints/origin_breakdown.py @@ -79,8 +79,11 @@ def search( breakdown_unit: Units to aggregate upon. Must be one of the following: `'b'`, `'t'`, `'cbm'`, `'bpd'`, `'tpd'`, `'mpd'`. - breakdown_geography: Geography hierarchy of the origin to aggregate upon. Must be one of the following: `'terminal'`, `'port'`,`'country'`, `'shipping_region'`, - `'region'`,`'trading_block'`,`'trading_region'`,`'trading_subregion'`,`'sts_zone'`,`'waypoint'`. + breakdown_geography: Geography layer of the origin to aggregate upon. Must be one of the following: + `berth`, `terminal`, `port`, `country`, `country_zone`, `shipping_region`, `shipping_region_v2`, + `wider_shipping_region`, `region`, `alternative_region`, `trading_block`, `trading_region`, + `trading_subregion`, `state_or_province`, `sts_zone`, `waypoint`, `storage`, `storage_terminal`, `basin`, + `root`, or not provided. Default is `berth`. breakdown_size: Number of top geographies to return. Default is 5.