From 14feaf94d03cd605ee09e175a02fbc471c868243 Mon Sep 17 00:00:00 2001 From: Vatsal Chauhan <87218847+codeArtisanry@users.noreply.github.com> Date: Wed, 29 May 2024 10:50:44 +0530 Subject: [PATCH 1/6] feat: Add Ninja Van connector files and tests --- modules/connectors/ninja_van/README.md | 31 +++++ modules/connectors/ninja_van/generate | 13 ++ .../karrio/mappers/ninja_van/__init__.py | 19 +++ .../karrio/mappers/ninja_van/mapper.py | 54 ++++++++ .../karrio/mappers/ninja_van/proxy.py | 54 ++++++++ .../karrio/mappers/ninja_van/settings.py | 19 +++ .../karrio/providers/ninja_van/__init__.py | 13 ++ .../karrio/providers/ninja_van/error.py | 24 ++++ .../karrio/providers/ninja_van/rate.py | 58 ++++++++ .../providers/ninja_van/shipment/__init__.py | 9 ++ .../providers/ninja_van/shipment/cancel.py | 38 ++++++ .../providers/ninja_van/shipment/create.py | 67 +++++++++ .../karrio/providers/ninja_van/tracking.py | 62 +++++++++ .../karrio/providers/ninja_van/units.py | 59 ++++++++ .../karrio/providers/ninja_van/utils.py | 20 +++ .../karrio/schemas/ninja_van/__init__.py | 0 .../connectors/ninja_van/schemas/error.json | 1 + modules/connectors/ninja_van/setup.py | 27 ++++ .../connectors/ninja_van/tests/__init__.py | 4 + .../ninja_van/tests/ninja_van/__init__.py | 0 .../ninja_van/tests/ninja_van/fixture.py | 8 ++ .../ninja_van/tests/ninja_van/test_rate.py | 84 ++++++++++++ .../tests/ninja_van/test_shipment.py | 129 ++++++++++++++++++ .../tests/ninja_van/test_tracking.py | 73 ++++++++++ 24 files changed, 866 insertions(+) create mode 100644 modules/connectors/ninja_van/README.md create mode 100644 modules/connectors/ninja_van/generate create mode 100644 modules/connectors/ninja_van/karrio/mappers/ninja_van/__init__.py create mode 100644 modules/connectors/ninja_van/karrio/mappers/ninja_van/mapper.py create mode 100644 modules/connectors/ninja_van/karrio/mappers/ninja_van/proxy.py create mode 100644 modules/connectors/ninja_van/karrio/mappers/ninja_van/settings.py create mode 100644 modules/connectors/ninja_van/karrio/providers/ninja_van/__init__.py create mode 100644 modules/connectors/ninja_van/karrio/providers/ninja_van/error.py create mode 100644 modules/connectors/ninja_van/karrio/providers/ninja_van/rate.py create mode 100644 modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/__init__.py create mode 100644 modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/cancel.py create mode 100644 modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/create.py create mode 100644 modules/connectors/ninja_van/karrio/providers/ninja_van/tracking.py create mode 100644 modules/connectors/ninja_van/karrio/providers/ninja_van/units.py create mode 100644 modules/connectors/ninja_van/karrio/providers/ninja_van/utils.py create mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/__init__.py create mode 100644 modules/connectors/ninja_van/schemas/error.json create mode 100644 modules/connectors/ninja_van/setup.py create mode 100644 modules/connectors/ninja_van/tests/__init__.py create mode 100644 modules/connectors/ninja_van/tests/ninja_van/__init__.py create mode 100644 modules/connectors/ninja_van/tests/ninja_van/fixture.py create mode 100644 modules/connectors/ninja_van/tests/ninja_van/test_rate.py create mode 100644 modules/connectors/ninja_van/tests/ninja_van/test_shipment.py create mode 100644 modules/connectors/ninja_van/tests/ninja_van/test_tracking.py diff --git a/modules/connectors/ninja_van/README.md b/modules/connectors/ninja_van/README.md new file mode 100644 index 0000000000..2f2d6b5e2a --- /dev/null +++ b/modules/connectors/ninja_van/README.md @@ -0,0 +1,31 @@ + +# karrio.ninja_van + +This package is a Ninja Van extension of the [karrio](https://pypi.org/project/karrio) multi carrier shipping SDK. + +## Requirements + +`Python 3.7+` + +## Installation + +```bash +pip install karrio.ninja_van +``` + +## Usage + +```python +import karrio +from karrio.mappers.ninja_van.settings import Settings + + +# Initialize a carrier gateway +ninja_van = karrio.gateway["ninja_van"].create( + Settings( + ... + ) +) +``` + +Check the [Karrio Mutli-carrier SDK docs](https://docs.karrio.io) for Shipping API requests diff --git a/modules/connectors/ninja_van/generate b/modules/connectors/ninja_van/generate new file mode 100644 index 0000000000..a548e85d49 --- /dev/null +++ b/modules/connectors/ninja_van/generate @@ -0,0 +1,13 @@ +SCHEMAS=./schemas +LIB_MODULES=./karrio/schemas/ninja_van +find "${LIB_MODULES}" -name "*.py" -exec rm -r {} \; +touch "${LIB_MODULES}/__init__.py" + +quicktype () { + echo "Generating $1..." + docker run -it --rm --name quicktype -v $PWD:/app-e SCHEMAS=/app/schemas -e LIB_MODULES=/app/karrio/schemas/ninja_van \ + karrio/tools /quicktype/script/quicktype --no-uuids --no-date-times --no-enums --src-lang json --lang jstruct \ + --no-nice-property-names --all-properties-optional --type-as-suffix $@ +} + +quicktype --src="${SCHEMAS}/error.json" --out="${LIB_MODULES}/error.py" diff --git a/modules/connectors/ninja_van/karrio/mappers/ninja_van/__init__.py b/modules/connectors/ninja_van/karrio/mappers/ninja_van/__init__.py new file mode 100644 index 0000000000..630fe31f73 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/mappers/ninja_van/__init__.py @@ -0,0 +1,19 @@ + +from karrio.core.metadata import Metadata + +from karrio.mappers.ninja_van.mapper import Mapper +from karrio.mappers.ninja_van.proxy import Proxy +from karrio.mappers.ninja_van.settings import Settings +import karrio.providers.ninja_van.units as units + + +METADATA = Metadata( + id="ninja_van", + label="Ninja Van", + # Integrations + Mapper=Mapper, + Proxy=Proxy, + Settings=Settings, + # Data Units + is_hub=False +) diff --git a/modules/connectors/ninja_van/karrio/mappers/ninja_van/mapper.py b/modules/connectors/ninja_van/karrio/mappers/ninja_van/mapper.py new file mode 100644 index 0000000000..f79eb45b7d --- /dev/null +++ b/modules/connectors/ninja_van/karrio/mappers/ninja_van/mapper.py @@ -0,0 +1,54 @@ +"""Karrio Ninja Van client mapper.""" + +import typing +import karrio.lib as lib +import karrio.api.mapper as mapper +import karrio.core.models as models +import karrio.providers.ninja_van as provider +import karrio.mappers.ninja_van.settings as provider_settings + + +class Mapper(mapper.Mapper): + settings: provider_settings.Settings + + def create_rate_request( + self, payload: models.RateRequest + ) -> lib.Serializable: + return provider.rate_request(payload, self.settings) + + def create_tracking_request( + self, payload: models.TrackingRequest + ) -> lib.Serializable: + return provider.tracking_request(payload, self.settings) + + def create_shipment_request( + self, payload: models.ShipmentRequest + ) -> lib.Serializable: + return provider.shipment_request(payload, self.settings) + + def create_cancel_shipment_request( + self, payload: models.ShipmentCancelRequest + ) -> lib.Serializable[str]: + return provider.shipment_cancel_request(payload, self.settings) + + + def parse_cancel_shipment_response( + self, response: lib.Deserializable[str] + ) -> typing.Tuple[models.ConfirmationDetails, typing.List[models.Message]]: + return provider.parse_shipment_cancel_response(response, self.settings) + + def parse_rate_response( + self, response: lib.Deserializable[str] + ) -> typing.Tuple[typing.List[models.RateDetails], typing.List[models.Message]]: + return provider.parse_rate_response(response, self.settings) + + def parse_shipment_response( + self, response: lib.Deserializable[str] + ) -> typing.Tuple[models.ShipmentDetails, typing.List[models.Message]]: + return provider.parse_shipment_response(response, self.settings) + + def parse_tracking_response( + self, response: lib.Deserializable[str] + ) -> typing.Tuple[typing.List[models.TrackingDetails], typing.List[models.Message]]: + return provider.parse_tracking_response(response, self.settings) + diff --git a/modules/connectors/ninja_van/karrio/mappers/ninja_van/proxy.py b/modules/connectors/ninja_van/karrio/mappers/ninja_van/proxy.py new file mode 100644 index 0000000000..74e50a88be --- /dev/null +++ b/modules/connectors/ninja_van/karrio/mappers/ninja_van/proxy.py @@ -0,0 +1,54 @@ +"""Karrio Ninja Van client proxy.""" + +import karrio.lib as lib +import karrio.api.proxy as proxy +import karrio.mappers.ninja_van.settings as provider_settings + + +class Proxy(proxy.Proxy): + settings: provider_settings.Settings + + def get_rates(self, request: lib.Serializable) -> lib.Deserializable[str]: + response = lib.request( + url=f"{self.settings.server_url}/service", + data=lib.to_json(request.serialize()), + trace=self.trace_as("json"), + method="POST", + headers={}, + ) + + return lib.Deserializable(response, lib.to_dict) + + def create_shipment(self, request: lib.Serializable) -> lib.Deserializable[str]: + response = lib.request( + url=f"{self.settings.server_url}/service", + data=lib.to_json(request.serialize()), + trace=self.trace_as("json"), + method="POST", + headers={}, + ) + + return lib.Deserializable(response, lib.to_dict) + + def cancel_shipment(self, request: lib.Serializable) -> lib.Deserializable[str]: + response = lib.request( + url=f"{self.settings.server_url}/service", + data=lib.to_json(request.serialize()), + trace=self.trace_as("json"), + method="POST", + headers={}, + ) + + return lib.Deserializable(response, lib.to_dict) + + def get_tracking(self, request: lib.Serializable) -> lib.Deserializable[str]: + response = lib.request( + url=f"{self.settings.server_url}/service", + data=lib.to_json(request.serialize()), + trace=self.trace_as("json"), + method="POST", + headers={}, + ) + + return lib.Deserializable(response, lib.to_dict) + \ No newline at end of file diff --git a/modules/connectors/ninja_van/karrio/mappers/ninja_van/settings.py b/modules/connectors/ninja_van/karrio/mappers/ninja_van/settings.py new file mode 100644 index 0000000000..5990d1d81b --- /dev/null +++ b/modules/connectors/ninja_van/karrio/mappers/ninja_van/settings.py @@ -0,0 +1,19 @@ +"""Karrio Ninja Van client settings.""" + +import attr +import karrio.providers.ninja_van.utils as provider_utils + + +@attr.s(auto_attribs=True) +class Settings(provider_utils.Settings): + """Ninja Van connection settings.""" + + # required carrier specific properties + + # generic properties + id: str = None + test_mode: bool = False + carrier_id: str = "ninja_van" + account_country_code: str = None + metadata: dict = {} + config: dict = {} diff --git a/modules/connectors/ninja_van/karrio/providers/ninja_van/__init__.py b/modules/connectors/ninja_van/karrio/providers/ninja_van/__init__.py new file mode 100644 index 0000000000..6c6e9f0e59 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/__init__.py @@ -0,0 +1,13 @@ + +from karrio.providers.ninja_van.utils import Settings +from karrio.providers.ninja_van.rate import parse_rate_response, rate_request +from karrio.providers.ninja_van.shipment import ( + parse_shipment_cancel_response, + parse_shipment_response, + shipment_cancel_request, + shipment_request, +) +from karrio.providers.ninja_van.tracking import ( + parse_tracking_response, + tracking_request, +) diff --git a/modules/connectors/ninja_van/karrio/providers/ninja_van/error.py b/modules/connectors/ninja_van/karrio/providers/ninja_van/error.py new file mode 100644 index 0000000000..0ee723a143 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/error.py @@ -0,0 +1,24 @@ +"""Karrio Ninja Van error parser.""" +import typing +import karrio.lib as lib +import karrio.core.models as models +import karrio.providers.ninja_van.utils as provider_utils + + +def parse_error_response( + response: dict, + settings: provider_utils.Settings, + **kwargs, +) -> typing.List[models.Message]: + errors: list = [] # compute the carrier error object list + + return [ + models.Message( + carrier_id=settings.carrier_id, + carrier_name=settings.carrier_name, + code="", + message="", + details={**kwargs}, + ) + for error in errors + ] diff --git a/modules/connectors/ninja_van/karrio/providers/ninja_van/rate.py b/modules/connectors/ninja_van/karrio/providers/ninja_van/rate.py new file mode 100644 index 0000000000..145ebaadb5 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/rate.py @@ -0,0 +1,58 @@ + +import typing +import karrio.lib as lib +import karrio.core.units as units +import karrio.core.models as models +import karrio.providers.ninja_van.error as error +import karrio.providers.ninja_van.utils as provider_utils +import karrio.providers.ninja_van.units as provider_units + + +def parse_rate_response( + _response: lib.Deserializable[dict], + settings: provider_utils.Settings, +) -> typing.Tuple[typing.List[models.RateDetails], typing.List[models.Message]]: + response = _response.deserialize() + + messages = error.parse_error_response(response, settings) + rates = [_extract_details(rate, settings) for rate in response] + + return rates, messages + + +def _extract_details( + data: dict, + settings: provider_utils.Settings, +) -> models.RateDetails: + rate = None # parse carrier rate type + + return models.RateDetails( + carrier_id=settings.carrier_id, + carrier_name=settings.carrier_name, + service="", # extract service from rate + total_charge=lib.to_money(0.0), # extract the rate total rate cost + currency="", # extract the rate pricing currency + transit_days=0, # extract the rate transit days + meta=dict( + service_name="", # extract the rate service human readable name + ), + ) + + +def rate_request( + payload: models.RateRequest, + settings: provider_utils.Settings, +) -> lib.Serializable: + shipper = lib.to_address(payload.shipper) + recipient = lib.to_address(payload.recipient) + packages = lib.to_packages(payload.parcels) + services = lib.to_services(payload.services, provider_units.ShippingService) + options = lib.to_shipping_options( + payload.options, + package_options=packages.options, + ) + + # map data to convert karrio model to ninja_van specific type + request = None + + return lib.Serializable(request, lib.to_dict) diff --git a/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/__init__.py b/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/__init__.py new file mode 100644 index 0000000000..ad42b635f0 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/__init__.py @@ -0,0 +1,9 @@ + +from karrio.providers.ninja_van.shipment.create import ( + parse_shipment_response, + shipment_request, +) +from karrio.providers.ninja_van.shipment.cancel import ( + parse_shipment_cancel_response, + shipment_cancel_request, +) diff --git a/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/cancel.py b/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/cancel.py new file mode 100644 index 0000000000..5cf68fdd9c --- /dev/null +++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/cancel.py @@ -0,0 +1,38 @@ + +import typing +import karrio.lib as lib +import karrio.core.models as models +import karrio.providers.ninja_van.error as error +import karrio.providers.ninja_van.utils as provider_utils +import karrio.providers.ninja_van.units as provider_units + + +def parse_shipment_cancel_response( + _response: lib.Deserializable[dict], + settings: provider_utils.Settings, +) -> typing.Tuple[models.ConfirmationDetails, typing.List[models.Message]]: + response = _response.deserialize() + messages = error.parse_error_response(response, settings) + success = True # compute shipment cancel success state + + confirmation = ( + models.ConfirmationDetails( + carrier_id=settings.carrier_id, + carrier_name=settings.carrier_name, + operation="Cancel Shipment", + success=success, + ) if success else None + ) + + return confirmation, messages + + +def shipment_cancel_request( + payload: models.ShipmentCancelRequest, + settings: provider_utils.Settings, +) -> lib.Serializable: + + # map data to convert karrio model to ninja_van specific type + request = None + + return lib.Serializable(request, lib.to_dict) diff --git a/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/create.py b/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/create.py new file mode 100644 index 0000000000..7eacf56154 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/create.py @@ -0,0 +1,67 @@ + +import typing +import karrio.lib as lib +import karrio.core.units as units +import karrio.core.models as models +import karrio.providers.ninja_van.error as error +import karrio.providers.ninja_van.utils as provider_utils +import karrio.providers.ninja_van.units as provider_units + + +def parse_shipment_response( + _response: lib.Deserializable[dict], + settings: provider_utils.Settings, +) -> typing.Tuple[typing.List[models.RateDetails], typing.List[models.Message]]: + response = _response.deserialize() + + messages = error.parse_error_response(response, settings) + shipment = ( + _extract_details(response, settings) + if "tracking_number" in response + else None + ) + + return shipment, messages + + +def _extract_details( + data: dict, + settings: provider_utils.Settings, +) -> models.ShipmentDetails: + shipment = None # parse carrier shipment type from "data" + label = "" # extract and process the shipment label to a valid base64 text + # invoice = "" # extract and process the shipment invoice to a valid base64 text if applies + + return models.ShipmentDetails( + carrier_id=settings.carrier_id, + carrier_name=settings.carrier_name, + tracking_number="", # extract tracking number from shipment + shipment_identifier="", # extract shipment identifier from shipment + label_type="PDF", # extract shipment label file format + docs=models.Documents( + label=label, # pass label base64 text + # invoice=invoice, # pass invoice base64 text if applies + ), + meta=dict( + # any relevent meta + ), + ) + + +def shipment_request( + payload: models.ShipmentRequest, + settings: provider_utils.Settings, +) -> lib.Serializable: + shipper = lib.to_address(payload.shipper) + recipient = lib.to_address(payload.recipient) + packages = lib.to_packages(payload.parcels) + service = provider_units.ShippingService.map(payload.service).value_or_key + options = lib.to_shipping_options( + payload.options, + package_options=packages.options, + ) + + # map data to convert karrio model to ninja_van specific type + request = None + + return lib.Serializable(request, lib.to_dict) diff --git a/modules/connectors/ninja_van/karrio/providers/ninja_van/tracking.py b/modules/connectors/ninja_van/karrio/providers/ninja_van/tracking.py new file mode 100644 index 0000000000..68b54688d6 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/tracking.py @@ -0,0 +1,62 @@ + +import typing +import karrio.lib as lib +import karrio.core.units as units +import karrio.core.models as models +import karrio.providers.ninja_van.error as error +import karrio.providers.ninja_van.utils as provider_utils +import karrio.providers.ninja_van.units as provider_units + + +def parse_tracking_response( + _response: lib.Deserializable[typing.List[typing.Tuple[str, dict]]], + settings: provider_utils.Settings, +) -> typing.Tuple[typing.List[models.TrackingDetails], typing.List[models.Message]]: + responses = _response.deserialize() + + messages: typing.List[models.Message] = sum( + [ + error.parse_error_response(response, settings, tracking_number=_) + for _, response in responses + ], + start=[], + ) + tracking_details = [_extract_details(details, settings) for _, details in responses] + + return tracking_details, messages + + +def _extract_details( + data: dict, + settings: provider_utils.Settings, +) -> models.TrackingDetails: + details = None # parse carrier tracking object type + + return models.TrackingDetails( + carrier_id=settings.carrier_id, + carrier_name=settings.carrier_name, + tracking_number="", + events=[ + models.TrackingEvent( + date=lib.fdate(""), + description="", + code="", + time=lib.ftime(""), + location="", + ) + for event in [] + ], + estimated_delivery=lib.fdate(""), + delivered=False, + ) + + +def tracking_request( + payload: models.TrackingRequest, + settings: provider_utils.Settings, +) -> lib.Serializable: + + # map data to convert karrio model to ninja_van specific type + request = None + + return lib.Serializable(request, lib.to_dict) diff --git a/modules/connectors/ninja_van/karrio/providers/ninja_van/units.py b/modules/connectors/ninja_van/karrio/providers/ninja_van/units.py new file mode 100644 index 0000000000..956898f576 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/units.py @@ -0,0 +1,59 @@ + +import karrio.lib as lib +import karrio.core.units as units + + +class PackagingType(lib.StrEnum): + """ Carrier specific packaging type """ + PACKAGE = "PACKAGE" + + """ Unified Packaging type mapping """ + envelope = PACKAGE + pak = PACKAGE + tube = PACKAGE + pallet = PACKAGE + small_box = PACKAGE + medium_box = PACKAGE + your_packaging = PACKAGE + + +class ShippingService(lib.StrEnum): + """ Carrier specific services """ + ninja_van_standard_service = "Ninja Van Standard Service" + + +class ShippingOption(lib.Enum): + """ Carrier specific options """ + # ninja_van_option = lib.OptionEnum("code") + + """ Unified Option type mapping """ + # insurance = ninja_van_coverage # maps unified karrio option to carrier specific + + pass + + +def shipping_options_initializer( + options: dict, + package_options: units.ShippingOptions = None, +) -> units.ShippingOptions: + """ + Apply default values to the given options. + """ + + if package_options is not None: + options.update(package_options.content) + + def items_filter(key: str) -> bool: + return key in ShippingOption # type: ignore + + return units.ShippingOptions(options, ShippingOption, items_filter=items_filter) + + +class TrackingStatus(lib.Enum): + on_hold = ["on_hold"] + delivered = ["delivered"] + in_transit = ["in_transit"] + delivery_failed = ["delivery_failed"] + delivery_delayed = ["delivery_delayed"] + out_for_delivery = ["out_for_delivery"] + ready_for_pickup = ["ready_for_pickup"] diff --git a/modules/connectors/ninja_van/karrio/providers/ninja_van/utils.py b/modules/connectors/ninja_van/karrio/providers/ninja_van/utils.py new file mode 100644 index 0000000000..04b96bb8ae --- /dev/null +++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/utils.py @@ -0,0 +1,20 @@ + +import karrio.core as core + + +class Settings(core.Settings): + """Ninja Van connection settings.""" + + # username: str # carrier specific api credential key + + @property + def carrier_name(self): + return "ninja_van" + + @property + def server_url(self): + return ( + "https://carrier.api" + if self.test_mode + else "https://sandbox.carrier.api" + ) diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/__init__.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/modules/connectors/ninja_van/schemas/error.json b/modules/connectors/ninja_van/schemas/error.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/modules/connectors/ninja_van/schemas/error.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/modules/connectors/ninja_van/setup.py b/modules/connectors/ninja_van/setup.py new file mode 100644 index 0000000000..5a9721fda2 --- /dev/null +++ b/modules/connectors/ninja_van/setup.py @@ -0,0 +1,27 @@ + +"""Warning: This setup.py is only there for git install until poetry support git subdirectory""" +from setuptools import setup, find_namespace_packages + +with open("README.md", "r") as fh: + long_description = fh.read() + +setup( + name="karrio.ninja_van", + version="2024.5", + description="Karrio - Ninja Van Shipping Extension", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/karrioapi/karrio", + author="karrio", + author_email="hello@karrio.io", + license="Apache-2.0", + packages=find_namespace_packages(exclude=["tests.*", "tests"]), + install_requires=["karrio"], + classifiers=[ + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Programming Language :: Python :: 3", + ], + zip_safe=False, + include_package_data=True, +) diff --git a/modules/connectors/ninja_van/tests/__init__.py b/modules/connectors/ninja_van/tests/__init__.py new file mode 100644 index 0000000000..6cd4cb8ea5 --- /dev/null +++ b/modules/connectors/ninja_van/tests/__init__.py @@ -0,0 +1,4 @@ + +from tests.ninja_van.test_rate import * +from tests.ninja_van.test_tracking import * +from tests.ninja_van.test_shipment import * \ No newline at end of file diff --git a/modules/connectors/ninja_van/tests/ninja_van/__init__.py b/modules/connectors/ninja_van/tests/ninja_van/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/modules/connectors/ninja_van/tests/ninja_van/fixture.py b/modules/connectors/ninja_van/tests/ninja_van/fixture.py new file mode 100644 index 0000000000..1e1d6094ed --- /dev/null +++ b/modules/connectors/ninja_van/tests/ninja_van/fixture.py @@ -0,0 +1,8 @@ + +import karrio + +gateway = karrio.gateway["ninja_van"].create( + dict( + # add required carrier API setting key/value here + ) +) diff --git a/modules/connectors/ninja_van/tests/ninja_van/test_rate.py b/modules/connectors/ninja_van/tests/ninja_van/test_rate.py new file mode 100644 index 0000000000..7371f410b4 --- /dev/null +++ b/modules/connectors/ninja_van/tests/ninja_van/test_rate.py @@ -0,0 +1,84 @@ + +import unittest +from unittest.mock import patch, ANY +from .fixture import gateway + +import karrio +import karrio.lib as lib +import karrio.core.models as models + + +class TestNinjaVanRating(unittest.TestCase): + def setUp(self): + self.maxDiff = None + self.RateRequest = models.RateRequest(**RatePayload) + + def test_create_rate_request(self): + request = gateway.mapper.create_rate_request(self.RateRequest) + + self.assertEqual(request.serialize(), RateRequest) + + def test_get_rate(self): + with patch("karrio.mappers.ninja_van.proxy.lib.request") as mock: + mock.return_value = "{}" + karrio.Rating.fetch(self.RateRequest).from_(gateway) + + self.assertEqual( + mock.call_args[1]["url"], + f"{gateway.settings.server_url}", + ) + + def test_parse_rate_response(self): + with patch("karrio.mappers.ninja_van.proxy.lib.request") as mock: + mock.return_value = RateResponse + parsed_response = karrio.Rating.fetch(self.RateRequest).from_(gateway).parse() + + self.assertListEqual(lib.to_dict(parsed_response), ParsedRateResponse) + + +if __name__ == "__main__": + unittest.main() + + +RatePayload = { + "shipper": { + "company_name": "TESTING COMPANY", + "address_line1": "17 VULCAN RD", + "city": "CANNING VALE", + "postal_code": "6155", + "country_code": "AU", + "person_name": "TEST USER", + "state_code": "WA", + "email": "test@gmail.com", + "phone_number": "(07) 3114 1499", + }, + "recipient": { + "company_name": "CGI", + "address_line1": "23 jardin private", + "city": "Ottawa", + "postal_code": "k1k 4t3", + "country_code": "CA", + "person_name": "Jain", + "state_code": "ON", + }, + "parcels": [ + { + "height": 50, + "length": 50, + "weight": 20, + "width": 12, + "dimension_unit": "CM", + "weight_unit": "KG", + } + ], + "options": { }, + "reference": "REF-001", +} + +ParsedRateResponse = [] + + +RateRequest = {} + +RateResponse = """{} +""" diff --git a/modules/connectors/ninja_van/tests/ninja_van/test_shipment.py b/modules/connectors/ninja_van/tests/ninja_van/test_shipment.py new file mode 100644 index 0000000000..2f1af9a58b --- /dev/null +++ b/modules/connectors/ninja_van/tests/ninja_van/test_shipment.py @@ -0,0 +1,129 @@ + +import unittest +from unittest.mock import patch, ANY +from .fixture import gateway + +import karrio +import karrio.lib as lib +import karrio.core.models as models + + +class TestNinjaVanShipping(unittest.TestCase): + def setUp(self): + self.maxDiff = None + self.ShipmentRequest = models.ShipmentRequest(**ShipmentPayload) + self.ShipmentCancelRequest = models.ShipmentCancelRequest(**ShipmentCancelPayload) + + def test_create_shipment_request(self): + request = gateway.mapper.create_shipment_request(self.ShipmentRequest) + + self.assertEqual(request.serialize(), ShipmentRequest) + + def test_create_cancel_shipment_request(self): + request = gateway.mapper.create_cancel_shipment_request( + self.ShipmentCancelRequest + ) + + self.assertEqual(request.serialize(), ShipmentCancelRequest) + + def test_create_shipment(self): + with patch("karrio.mappers.ninja_van.proxy.lib.request") as mock: + mock.return_value = "{}" + karrio.Shipment.create(self.ShipmentRequest).from_(gateway) + + self.assertEqual( + mock.call_args[1]["url"], + f"{gateway.settings.server_url}", + ) + + def test_cancel_shipment(self): + with patch("karrio.mappers.ninja_van.proxy.lib.request") as mock: + mock.return_value = "{}" + karrio.Shipment.cancel(self.ShipmentCancelRequest).from_(gateway) + + self.assertEqual( + mock.call_args[1]["url"], + f"{gateway.settings.server_url}", + ) + + def test_parse_shipment_response(self): + with patch("karrio.mappers.ninja_van.proxy.lib.request") as mock: + mock.return_value = ShipmentResponse + parsed_response = ( + karrio.Shipment.create(self.ShipmentRequest).from_(gateway).parse() + ) + + self.assertListEqual(lib.to_dict(parsed_response), ParsedShipmentResponse) + + def test_parse_cancel_shipment_response(self): + with patch("karrio.mappers.ninja_van.proxy.lib.request") as mock: + mock.return_value = ShipmentCancelResponse + parsed_response = ( + karrio.Shipment.cancel(self.ShipmentCancelRequest).from_(gateway).parse() + ) + + self.assertListEqual( + lib.to_dict(parsed_response), ParsedCancelShipmentResponse + ) + + +if __name__ == "__main__": + unittest.main() + + +ShipmentPayload = { + "shipper": { + "company_name": "TESTING COMPANY", + "address_line1": "17 VULCAN RD", + "city": "CANNING VALE", + "postal_code": "6155", + "country_code": "AU", + "person_name": "TEST USER", + "state_code": "WA", + "email": "test@gmail.com", + "phone_number": "(07) 3114 1499", + }, + "recipient": { + "company_name": "CGI", + "address_line1": "23 jardin private", + "city": "Ottawa", + "postal_code": "k1k 4t3", + "country_code": "CA", + "person_name": "Jain", + "state_code": "ON", + }, + "parcels": [ + { + "height": 50, + "length": 50, + "weight": 20, + "width": 12, + "dimension_unit": "CM", + "weight_unit": "KG", + } + ], + "service": "carrier_service", + "options": { + "signature_required": True, + }, + "reference": "#Order 11111", +} + +ShipmentCancelPayload = { + "shipment_identifier": "794947717776", +} + +ParsedShipmentResponse = [] + +ParsedCancelShipmentResponse = [] + + +ShipmentRequest = {} + +ShipmentCancelRequest = {} + +ShipmentResponse = """{} +""" + +ShipmentCancelResponse = """{} +""" diff --git a/modules/connectors/ninja_van/tests/ninja_van/test_tracking.py b/modules/connectors/ninja_van/tests/ninja_van/test_tracking.py new file mode 100644 index 0000000000..38a6f77728 --- /dev/null +++ b/modules/connectors/ninja_van/tests/ninja_van/test_tracking.py @@ -0,0 +1,73 @@ + +import unittest +from unittest.mock import patch, ANY +from .fixture import gateway + +import karrio +import karrio.lib as lib +import karrio.core.models as models + + +class TestNinjaVanTracking(unittest.TestCase): + def setUp(self): + self.maxDiff = None + self.TrackingRequest = models.TrackingRequest(**TrackingPayload) + + def test_create_tracking_request(self): + request = gateway.mapper.create_tracking_request(self.TrackingRequest) + + self.assertEqual(request.serialize(), TrackingRequest) + + def test_get_tracking(self): + with patch("karrio.mappers.ninja_van.proxy.lib.request") as mock: + mock.return_value = "{}" + karrio.Tracking.fetch(self.TrackingRequest).from_(gateway) + + self.assertEqual( + mock.call_args[1]["url"], + f"{gateway.settings.server_url}", + ) + + def test_parse_tracking_response(self): + with patch("karrio.mappers.ninja_van.proxy.lib.request") as mock: + mock.return_value = TrackingResponse + parsed_response = ( + karrio.Tracking.fetch(self.TrackingRequest).from_(gateway).parse() + ) + + self.assertListEqual( + lib.to_dict(parsed_response), ParsedTrackingResponse + ) + + def test_parse_error_response(self): + with patch("karrio.mappers.ninja_van.proxy.lib.request") as mock: + mock.return_value = ErrorResponse + parsed_response = ( + karrio.Tracking.fetch(self.TrackingRequest).from_(gateway).parse() + ) + + self.assertListEqual( + lib.to_dict(parsed_response), ParsedErrorResponse + ) + + +if __name__ == "__main__": + unittest.main() + + +TrackingPayload = { + "tracking_numbers": ["89108749065090"], +} + +ParsedTrackingResponse = [] + +ParsedErrorResponse = [] + + +TrackingRequest = {} + +TrackingResponse = """{} +""" + +ErrorResponse = """{} +""" From 52fdad40a472b283005aa4ced9ef1cf5d70a248b Mon Sep 17 00:00:00 2001 From: Vatsal Chauhan <87218847+codeArtisanry@users.noreply.github.com> Date: Wed, 29 May 2024 11:36:12 +0530 Subject: [PATCH 2/6] feat: Add Ninja Van connector files and tests --- modules/connectors/ninja_van/generate | 18 +- .../karrio/mappers/ninja_van/__init__.py | 4 +- .../karrio/mappers/ninja_van/proxy.py | 7 +- .../karrio/mappers/ninja_van/settings.py | 7 +- .../karrio/providers/ninja_van/utils.py | 2 +- .../schemas/ninja_van/cancel_request.py | 17 + .../schemas/ninja_van/cancel_response.py | 25 + .../schemas/ninja_van/error_response.py | 16 + .../schemas/ninja_van/paperless_request.py | 30 + .../schemas/ninja_van/paperless_response.py | 21 + .../schemas/ninja_van/rating_request.py | 478 + .../schemas/ninja_van/rating_response.py | 189 + .../schemas/ninja_van/shipping_request.py | 731 + .../schemas/ninja_van/shipping_response.py | 556 + .../schemas/ninja_van/tracking_request.py | 23 + .../schemas/ninja_van/tracking_response.py | 350 + .../ninja_van/schemas/cancel_request.json | 9 + .../ninja_van/schemas/cancel_response.json | 16 + .../connectors/ninja_van/schemas/error.json | 1 - .../ninja_van/schemas/error_response.json | 10 + .../ninja_van/schemas/paperless_request.json | 19 + .../ninja_van/schemas/paperless_response.json | 12 + .../ninja_van/schemas/rating_request.json | 460 + .../ninja_van/schemas/rating_response.json | 1149 ++ .../ninja_van/schemas/shipping_request.json | 1178 ++ .../ninja_van/schemas/shipping_response.json | 521 + .../ninja_van/schemas/tracking_request.json | 14 + .../ninja_van/schemas/tracking_response.json | 459 + .../server/providers/extensions/ninja_van.py | 34 + .../0051_alter_surcharge_services.py | 3197 +++ packages/types/rest/api.ts | 1582 +- packages/ui/modals/connect-provider-modal.tsx | 10 +- requirements.sdk.dev.txt | 1 + requirements.server.dev.txt | 1 + schemas/graphql.json | 16706 ++++------------ schemas/openapi.yml | 6 + 36 files changed, 14615 insertions(+), 13244 deletions(-) mode change 100644 => 100755 modules/connectors/ninja_van/generate create mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_request.py create mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_response.py create mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/error_response.py create mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/paperless_request.py create mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/paperless_response.py create mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/rating_request.py create mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/rating_response.py create mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/shipping_request.py create mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/shipping_response.py create mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/tracking_request.py create mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/tracking_response.py create mode 100644 modules/connectors/ninja_van/schemas/cancel_request.json create mode 100644 modules/connectors/ninja_van/schemas/cancel_response.json delete mode 100644 modules/connectors/ninja_van/schemas/error.json create mode 100644 modules/connectors/ninja_van/schemas/error_response.json create mode 100644 modules/connectors/ninja_van/schemas/paperless_request.json create mode 100644 modules/connectors/ninja_van/schemas/paperless_response.json create mode 100644 modules/connectors/ninja_van/schemas/rating_request.json create mode 100644 modules/connectors/ninja_van/schemas/rating_response.json create mode 100644 modules/connectors/ninja_van/schemas/shipping_request.json create mode 100644 modules/connectors/ninja_van/schemas/shipping_response.json create mode 100644 modules/connectors/ninja_van/schemas/tracking_request.json create mode 100644 modules/connectors/ninja_van/schemas/tracking_response.json create mode 100644 modules/core/karrio/server/providers/extensions/ninja_van.py create mode 100644 modules/pricing/karrio/server/pricing/migrations/0051_alter_surcharge_services.py diff --git a/modules/connectors/ninja_van/generate b/modules/connectors/ninja_van/generate old mode 100644 new mode 100755 index a548e85d49..36d48a4d02 --- a/modules/connectors/ninja_van/generate +++ b/modules/connectors/ninja_van/generate @@ -3,11 +3,21 @@ LIB_MODULES=./karrio/schemas/ninja_van find "${LIB_MODULES}" -name "*.py" -exec rm -r {} \; touch "${LIB_MODULES}/__init__.py" -quicktype () { +quicktype() { echo "Generating $1..." docker run -it --rm --name quicktype -v $PWD:/app-e SCHEMAS=/app/schemas -e LIB_MODULES=/app/karrio/schemas/ninja_van \ - karrio/tools /quicktype/script/quicktype --no-uuids --no-date-times --no-enums --src-lang json --lang jstruct \ - --no-nice-property-names --all-properties-optional --type-as-suffix $@ + karrio/tools /quicktype/script/quicktype --no-uuids --no-date-times --no-enums --src-lang json --lang jstruct \ + --no-nice-property-names --all-properties-optional --type-as-suffix $@ } -quicktype --src="${SCHEMAS}/error.json" --out="${LIB_MODULES}/error.py" +quicktype --src="${SCHEMAS}/error_response.json" --out="${LIB_MODULES}/error_response.py" +quicktype --src="${SCHEMAS}/paperless_request.json" --out="${LIB_MODULES}/paperless_request.py" +quicktype --src="${SCHEMAS}/paperless_response.json" --out="${LIB_MODULES}/paperless_response.py" +quicktype --src="${SCHEMAS}/rating_request.json" --out="${LIB_MODULES}/rating_request.py" +quicktype --src="${SCHEMAS}/rating_response.json" --out="${LIB_MODULES}/rating_response.py" +quicktype --src="${SCHEMAS}/shipping_request.json" --out="${LIB_MODULES}/shipping_request.py" +quicktype --src="${SCHEMAS}/shipping_response.json" --out="${LIB_MODULES}/shipping_response.py" +quicktype --src="${SCHEMAS}/tracking_request.json" --out="${LIB_MODULES}/tracking_request.py" +quicktype --src="${SCHEMAS}/tracking_response.json" --out="${LIB_MODULES}/tracking_response.py" +quicktype --src="${SCHEMAS}/cancel_request.json" --out="${LIB_MODULES}/cancel_request.py" +quicktype --src="${SCHEMAS}/cancel_response.json" --out="${LIB_MODULES}/cancel_response.py" diff --git a/modules/connectors/ninja_van/karrio/mappers/ninja_van/__init__.py b/modules/connectors/ninja_van/karrio/mappers/ninja_van/__init__.py index 630fe31f73..c2cbd24a6f 100644 --- a/modules/connectors/ninja_van/karrio/mappers/ninja_van/__init__.py +++ b/modules/connectors/ninja_van/karrio/mappers/ninja_van/__init__.py @@ -15,5 +15,7 @@ Proxy=Proxy, Settings=Settings, # Data Units - is_hub=False + is_hub=False, + options=units.ShippingOption, + services=units.ShippingService, ) diff --git a/modules/connectors/ninja_van/karrio/mappers/ninja_van/proxy.py b/modules/connectors/ninja_van/karrio/mappers/ninja_van/proxy.py index 74e50a88be..48120575dc 100644 --- a/modules/connectors/ninja_van/karrio/mappers/ninja_van/proxy.py +++ b/modules/connectors/ninja_van/karrio/mappers/ninja_van/proxy.py @@ -18,7 +18,7 @@ def get_rates(self, request: lib.Serializable) -> lib.Deserializable[str]: ) return lib.Deserializable(response, lib.to_dict) - + def create_shipment(self, request: lib.Serializable) -> lib.Deserializable[str]: response = lib.request( url=f"{self.settings.server_url}/service", @@ -29,7 +29,7 @@ def create_shipment(self, request: lib.Serializable) -> lib.Deserializable[str]: ) return lib.Deserializable(response, lib.to_dict) - + def cancel_shipment(self, request: lib.Serializable) -> lib.Deserializable[str]: response = lib.request( url=f"{self.settings.server_url}/service", @@ -40,7 +40,7 @@ def cancel_shipment(self, request: lib.Serializable) -> lib.Deserializable[str]: ) return lib.Deserializable(response, lib.to_dict) - + def get_tracking(self, request: lib.Serializable) -> lib.Deserializable[str]: response = lib.request( url=f"{self.settings.server_url}/service", @@ -51,4 +51,3 @@ def get_tracking(self, request: lib.Serializable) -> lib.Deserializable[str]: ) return lib.Deserializable(response, lib.to_dict) - \ No newline at end of file diff --git a/modules/connectors/ninja_van/karrio/mappers/ninja_van/settings.py b/modules/connectors/ninja_van/karrio/mappers/ninja_van/settings.py index 5990d1d81b..f20fbd8f6d 100644 --- a/modules/connectors/ninja_van/karrio/mappers/ninja_van/settings.py +++ b/modules/connectors/ninja_van/karrio/mappers/ninja_van/settings.py @@ -9,7 +9,12 @@ class Settings(provider_utils.Settings): """Ninja Van connection settings.""" # required carrier specific properties - + api_key: str = None + secret_key: str = None + account_number: str = None + track_api_key: str = None + track_secret_key: str = None + # generic properties id: str = None test_mode: bool = False diff --git a/modules/connectors/ninja_van/karrio/providers/ninja_van/utils.py b/modules/connectors/ninja_van/karrio/providers/ninja_van/utils.py index 04b96bb8ae..c4e373ed9a 100644 --- a/modules/connectors/ninja_van/karrio/providers/ninja_van/utils.py +++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/utils.py @@ -14,7 +14,7 @@ def carrier_name(self): @property def server_url(self): return ( - "https://carrier.api" + "https://api.ninjavan.co" if self.test_mode else "https://sandbox.carrier.api" ) diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_request.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_request.py new file mode 100644 index 0000000000..4dcc3cdd4e --- /dev/null +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_request.py @@ -0,0 +1,17 @@ +from attr import s +from typing import Optional +from jstruct import JStruct + + +@s(auto_attribs=True) +class AccountNumberType: + value: Optional[str] = None + + +@s(auto_attribs=True) +class CancelRequestType: + accountNumber: Optional[AccountNumberType] = JStruct[AccountNumberType] + emailShipment: Optional[bool] = None + senderCountryCode: Optional[str] = None + deletionControl: Optional[str] = None + trackingNumber: Optional[str] = None diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_response.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_response.py new file mode 100644 index 0000000000..ba543d0061 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_response.py @@ -0,0 +1,25 @@ +from attr import s +from typing import Optional, List +from jstruct import JList, JStruct + + +@s(auto_attribs=True) +class AlertType: + code: Optional[str] = None + alertType: Optional[str] = None + message: Optional[str] = None + + +@s(auto_attribs=True) +class OutputType: + cancelledShipment: Optional[bool] = None + cancelledHistory: Optional[bool] = None + successMessage: Optional[str] = None + alerts: List[AlertType] = JList[AlertType] + + +@s(auto_attribs=True) +class CancelResponseType: + transactionId: Optional[str] = None + customerTransactionId: Optional[str] = None + output: Optional[OutputType] = JStruct[OutputType] diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/error_response.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/error_response.py new file mode 100644 index 0000000000..ca926e3f85 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/error_response.py @@ -0,0 +1,16 @@ +from attr import s +from typing import Optional, List +from jstruct import JList + + +@s(auto_attribs=True) +class ErrorType: + code: Optional[str] = None + message: Optional[str] = None + + +@s(auto_attribs=True) +class ErrorResponseType: + transactionId: Optional[str] = None + customerTransactionId: Optional[str] = None + errors: List[ErrorType] = JList[ErrorType] diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/paperless_request.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/paperless_request.py new file mode 100644 index 0000000000..fc0460ca34 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/paperless_request.py @@ -0,0 +1,30 @@ +from attr import s +from typing import Optional +from jstruct import JStruct + + +@s(auto_attribs=True) +class MetaType: + shipDocumentType: Optional[str] = None + formCode: Optional[str] = None + trackingNumber: Optional[str] = None + shipmentDate: Optional[str] = None + originLocationCode: Optional[str] = None + originCountryCode: Optional[str] = None + destinationLocationCode: Optional[str] = None + destinationCountryCode: Optional[str] = None + + +@s(auto_attribs=True) +class DocumentType: + workflowName: Optional[str] = None + carrierCode: Optional[str] = None + name: Optional[str] = None + contentType: Optional[str] = None + meta: Optional[MetaType] = JStruct[MetaType] + + +@s(auto_attribs=True) +class PaperlessRequestType: + document: Optional[DocumentType] = JStruct[DocumentType] + attachment: Optional[str] = None diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/paperless_response.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/paperless_response.py new file mode 100644 index 0000000000..5343d7a03d --- /dev/null +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/paperless_response.py @@ -0,0 +1,21 @@ +from attr import s +from typing import Optional, List +from jstruct import JStruct + + +@s(auto_attribs=True) +class MetaType: + documentType: Optional[str] = None + docId: Optional[str] = None + folderId: List[str] = [] + + +@s(auto_attribs=True) +class OutputType: + meta: Optional[MetaType] = JStruct[MetaType] + + +@s(auto_attribs=True) +class PaperlessResponseType: + output: Optional[OutputType] = JStruct[OutputType] + customerTransactionId: Optional[str] = None diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/rating_request.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/rating_request.py new file mode 100644 index 0000000000..84fee7cb57 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/rating_request.py @@ -0,0 +1,478 @@ +from attr import s +from typing import Optional, List, Any +from jstruct import JStruct, JList + + +@s(auto_attribs=True) +class RatingRequestAccountNumberType: + value: Optional[str] = None + + +@s(auto_attribs=True) +class RateRequestControlParametersType: + returnTransitTimes: Optional[bool] = None + servicesNeededOnRateFailure: Optional[bool] = None + variableOptions: Optional[str] = None + rateSortOrder: Optional[str] = None + + +@s(auto_attribs=True) +class RecipientAccountNumberType: + value: Optional[int] = None + + +@s(auto_attribs=True) +class BrokerAddressType: + streetLines: List[str] = [] + countryCode: Optional[str] = None + + +@s(auto_attribs=True) +class RecipientContactType: + companyName: Optional[str] = None + faxNumber: Optional[str] = None + personName: Optional[str] = None + phoneNumber: Optional[str] = None + + +@s(auto_attribs=True) +class BrokerClassType: + accountNumber: Optional[RecipientAccountNumberType] = JStruct[RecipientAccountNumberType] + address: Optional[BrokerAddressType] = JStruct[BrokerAddressType] + contact: Optional[RecipientContactType] = JStruct[RecipientContactType] + + +@s(auto_attribs=True) +class BrokerAddressClassType: + streetLines: List[str] = [] + city: Optional[str] = None + stateOrProvinceCode: Optional[str] = None + postalCode: Optional[int] = None + countryCode: Optional[str] = None + residential: Optional[bool] = None + classification: Optional[str] = None + geographicCoordinates: Optional[str] = None + urbanizationCode: Optional[str] = None + countryName: Optional[str] = None + + +@s(auto_attribs=True) +class BrokerType: + broker: Optional[BrokerClassType] = JStruct[BrokerClassType] + type: Optional[str] = None + brokerCommitTimestamp: Optional[str] = None + brokerCommitDayOfWeek: Optional[str] = None + brokerLocationId: Optional[str] = None + brokerAddress: Optional[BrokerAddressClassType] = JStruct[BrokerAddressClassType] + brokerToDestinationDays: Optional[int] = None + + +@s(auto_attribs=True) +class CommercialInvoiceType: + shipmentPurpose: Optional[str] = None + + +@s(auto_attribs=True) +class FixedValueType: + amount: Optional[int] = None + currency: Optional[str] = None + + +@s(auto_attribs=True) +class WeightType: + units: Optional[str] = None + value: Optional[int] = None + + +@s(auto_attribs=True) +class CommodityType: + description: Optional[str] = None + weight: Optional[WeightType] = JStruct[WeightType] + quantity: Optional[int] = None + customsValue: Optional[FixedValueType] = JStruct[FixedValueType] + unitPrice: Optional[FixedValueType] = JStruct[FixedValueType] + numberOfPieces: Optional[int] = None + countryOfManufacture: Optional[str] = None + quantityUnits: Optional[str] = None + name: Optional[str] = None + harmonizedCode: Optional[str] = None + partNumber: Optional[str] = None + + +@s(auto_attribs=True) +class ResponsiblePartyAddressType: + streetLines: List[str] = [] + city: Optional[str] = None + stateOrProvinceCode: Optional[str] = None + postalCode: Optional[int] = None + countryCode: Optional[str] = None + residential: Optional[bool] = None + + +@s(auto_attribs=True) +class ResponsiblePartyContactType: + personName: Optional[str] = None + emailAddress: Optional[str] = None + phoneNumber: Optional[str] = None + phoneExtension: Optional[str] = None + companyName: Optional[str] = None + faxNumber: Optional[str] = None + + +@s(auto_attribs=True) +class ResponsiblePartyType: + address: Optional[ResponsiblePartyAddressType] = JStruct[ResponsiblePartyAddressType] + contact: Optional[ResponsiblePartyContactType] = JStruct[ResponsiblePartyContactType] + accountNumber: Optional[RatingRequestAccountNumberType] = JStruct[RatingRequestAccountNumberType] + + +@s(auto_attribs=True) +class PayorType: + responsibleParty: Optional[ResponsiblePartyType] = JStruct[ResponsiblePartyType] + + +@s(auto_attribs=True) +class DutiesPaymentType: + payor: Optional[PayorType] = JStruct[PayorType] + paymentType: Optional[str] = None + + +@s(auto_attribs=True) +class CustomsClearanceDetailType: + brokers: List[BrokerType] = JList[BrokerType] + commercialInvoice: Optional[CommercialInvoiceType] = JStruct[CommercialInvoiceType] + freightOnValue: Optional[str] = None + dutiesPayment: Optional[DutiesPaymentType] = JStruct[DutiesPaymentType] + commodities: List[CommodityType] = JList[CommodityType] + + +@s(auto_attribs=True) +class PrintedReferenceType: + printedReferenceType: Optional[str] = None + value: Optional[str] = None + + +@s(auto_attribs=True) +class EmailNotificationDetailRecipientType: + emailAddress: Optional[str] = None + notificationEventType: List[str] = [] + smsDetail: Any = None + notificationFormatType: Optional[str] = None + emailNotificationRecipientType: Optional[str] = None + notificationType: Optional[str] = None + locale: Optional[str] = None + + +@s(auto_attribs=True) +class EmailNotificationDetailType: + recipients: List[EmailNotificationDetailRecipientType] = JList[EmailNotificationDetailRecipientType] + personalMessage: Optional[str] = None + PrintedReference: Optional[PrintedReferenceType] = JStruct[PrintedReferenceType] + + +@s(auto_attribs=True) +class ExpressFreightDetailType: + bookingConfirmationNumber: Optional[str] = None + shippersLoadAndCount: Optional[int] = None + + +@s(auto_attribs=True) +class ShipperClassType: + address: Optional[ResponsiblePartyAddressType] = JStruct[ResponsiblePartyAddressType] + + +@s(auto_attribs=True) +class ContentRecordType: + itemNumber: Optional[str] = None + receivedQuantity: Optional[int] = None + description: Optional[str] = None + partNumber: Optional[str] = None + + +@s(auto_attribs=True) +class DimensionsType: + length: Optional[int] = None + width: Optional[int] = None + height: Optional[int] = None + units: Optional[str] = None + + +@s(auto_attribs=True) +class AlcoholDetailType: + alcoholRecipientType: Optional[str] = None + shipperAgreementType: Optional[str] = None + + +@s(auto_attribs=True) +class BatteryDetailType: + material: Optional[str] = None + regulatorySubType: Optional[str] = None + packing: Optional[str] = None + + +@s(auto_attribs=True) +class NumberType: + areaCode: Optional[str] = None + extension: Optional[str] = None + countryCode: Optional[str] = None + personalIdentificationNumber: Optional[str] = None + localNumber: Optional[str] = None + + +@s(auto_attribs=True) +class HazardousCommodityType: + innerReceptacles: List[Any] = [] + + +@s(auto_attribs=True) +class PackagingType: + count: Optional[int] = None + units: Optional[str] = None + + +@s(auto_attribs=True) +class ContainerType: + offeror: Optional[str] = None + hazardousCommodities: List[HazardousCommodityType] = JList[HazardousCommodityType] + numberOfContainers: Optional[int] = None + containerType: Optional[str] = None + emergencyContactNumber: Optional[NumberType] = JStruct[NumberType] + packaging: Optional[PackagingType] = JStruct[PackagingType] + packingType: Optional[str] = None + radioactiveContainerClass: Optional[str] = None + + +@s(auto_attribs=True) +class DangerousGoodsDetailType: + offeror: Optional[str] = None + accessibility: Optional[str] = None + emergencyContactNumber: Optional[str] = None + options: List[str] = [] + containers: List[ContainerType] = JList[ContainerType] + packaging: Optional[PackagingType] = JStruct[PackagingType] + + +@s(auto_attribs=True) +class CodCollectionAmountType: + amount: Optional[float] = None + currency: Optional[str] = None + + +@s(auto_attribs=True) +class PackageCODDetailType: + codCollectionAmount: Optional[CodCollectionAmountType] = JStruct[CodCollectionAmountType] + codCollectionType: Optional[str] = None + + +@s(auto_attribs=True) +class PackageSpecialServicesType: + specialServiceTypes: List[str] = [] + signatureOptionType: List[str] = [] + alcoholDetail: Optional[AlcoholDetailType] = JStruct[AlcoholDetailType] + dangerousGoodsDetail: Optional[DangerousGoodsDetailType] = JStruct[DangerousGoodsDetailType] + packageCODDetail: Optional[PackageCODDetailType] = JStruct[PackageCODDetailType] + pieceCountVerificationBoxCount: Optional[int] = None + batteryDetails: List[BatteryDetailType] = JList[BatteryDetailType] + dryIceWeight: Optional[WeightType] = JStruct[WeightType] + + +@s(auto_attribs=True) +class VariableHandlingChargeDetailType: + rateType: Optional[str] = None + percentValue: Optional[int] = None + rateLevelType: Optional[str] = None + fixedValue: Optional[FixedValueType] = JStruct[FixedValueType] + rateElementBasis: Optional[str] = None + + +@s(auto_attribs=True) +class RequestedPackageLineItemType: + subPackagingType: Optional[str] = None + groupPackageCount: Optional[int] = None + contentRecord: List[ContentRecordType] = JList[ContentRecordType] + declaredValue: Optional[FixedValueType] = JStruct[FixedValueType] + weight: Optional[WeightType] = JStruct[WeightType] + dimensions: Optional[DimensionsType] = JStruct[DimensionsType] + variableHandlingChargeDetail: Optional[VariableHandlingChargeDetailType] = JStruct[VariableHandlingChargeDetailType] + packageSpecialServices: Optional[PackageSpecialServicesType] = JStruct[PackageSpecialServicesType] + + +@s(auto_attribs=True) +class ServiceTypeDetailType: + carrierCode: Optional[str] = None + description: Optional[str] = None + serviceName: Optional[str] = None + serviceCategory: Optional[str] = None + + +@s(auto_attribs=True) +class DeliveryOnInvoiceAcceptanceDetailType: + recipient: Optional[BrokerClassType] = JStruct[BrokerClassType] + + +@s(auto_attribs=True) +class TionContactAndAddressType: + address: Optional[ResponsiblePartyAddressType] = JStruct[ResponsiblePartyAddressType] + contact: Optional[ResponsiblePartyContactType] = JStruct[ResponsiblePartyContactType] + + +@s(auto_attribs=True) +class HoldAtLocationDetailType: + locationId: Optional[str] = None + locationContactAndAddress: Optional[TionContactAndAddressType] = JStruct[TionContactAndAddressType] + locationType: Optional[str] = None + + +@s(auto_attribs=True) +class HomeDeliveryPremiumDetailType: + phoneNumber: Optional[NumberType] = JStruct[NumberType] + shipTimestamp: Optional[str] = None + homedeliveryPremiumType: Optional[str] = None + + +@s(auto_attribs=True) +class InternationalControlledExportDetailType: + type: Optional[str] = None + + +@s(auto_attribs=True) +class InternationalTrafficInArmsRegulationsDetailType: + licenseOrExemptionNumber: Optional[int] = None + + +@s(auto_attribs=True) +class DocumentReferenceType: + documentType: Optional[str] = None + customerReference: Optional[str] = None + description: Optional[str] = None + documentId: Optional[int] = None + + +@s(auto_attribs=True) +class LocaleType: + country: Optional[str] = None + language: Optional[str] = None + + +@s(auto_attribs=True) +class ProcessingOptionsType: + options: List[str] = [] + + +@s(auto_attribs=True) +class EmailLabelDetailRecipientType: + emailAddress: Optional[str] = None + optionsRequested: Optional[ProcessingOptionsType] = JStruct[ProcessingOptionsType] + role: Optional[str] = None + locale: Optional[LocaleType] = JStruct[LocaleType] + + +@s(auto_attribs=True) +class EmailLabelDetailType: + recipients: List[EmailLabelDetailRecipientType] = JList[EmailLabelDetailRecipientType] + message: Optional[str] = None + + +@s(auto_attribs=True) +class RecommendedDocumentSpecificationType: + types: List[str] = [] + + +@s(auto_attribs=True) +class ShipmentDryIceDetailType: + totalWeight: Optional[WeightType] = JStruct[WeightType] + packageCount: Optional[int] = None + + +@s(auto_attribs=True) +class PendingShipmentDetailType: + pendingShipmentType: Optional[str] = None + processingOptions: Optional[ProcessingOptionsType] = JStruct[ProcessingOptionsType] + recommendedDocumentSpecification: Optional[RecommendedDocumentSpecificationType] = JStruct[RecommendedDocumentSpecificationType] + emailLabelDetail: Optional[EmailLabelDetailType] = JStruct[EmailLabelDetailType] + documentReferences: List[DocumentReferenceType] = JList[DocumentReferenceType] + expirationTimeStamp: Optional[str] = None + shipmentDryIceDetail: Optional[ShipmentDryIceDetailType] = JStruct[ShipmentDryIceDetailType] + + +@s(auto_attribs=True) +class ReturnShipmentDetailType: + returnType: Optional[str] = None + + +@s(auto_attribs=True) +class AddTransportationChargesDetailType: + rateType: Optional[str] = None + rateLevelType: Optional[str] = None + chargeLevelType: Optional[str] = None + chargeType: Optional[str] = None + + +@s(auto_attribs=True) +class CodRecipientType: + accountNumber: Optional[RecipientAccountNumberType] = JStruct[RecipientAccountNumberType] + + +@s(auto_attribs=True) +class ShipmentCODDetailType: + addTransportationChargesDetail: Optional[AddTransportationChargesDetailType] = JStruct[AddTransportationChargesDetailType] + codRecipient: Optional[CodRecipientType] = JStruct[CodRecipientType] + remitToName: Optional[str] = None + codCollectionType: Optional[str] = None + financialInstitutionContactAndAddress: Optional[TionContactAndAddressType] = JStruct[TionContactAndAddressType] + returnReferenceIndicatorType: Optional[str] = None + + +@s(auto_attribs=True) +class ShipmentSpecialServicesType: + returnShipmentDetail: Optional[ReturnShipmentDetailType] = JStruct[ReturnShipmentDetailType] + deliveryOnInvoiceAcceptanceDetail: Optional[DeliveryOnInvoiceAcceptanceDetailType] = JStruct[DeliveryOnInvoiceAcceptanceDetailType] + internationalTrafficInArmsRegulationsDetail: Optional[InternationalTrafficInArmsRegulationsDetailType] = JStruct[InternationalTrafficInArmsRegulationsDetailType] + pendingShipmentDetail: Optional[PendingShipmentDetailType] = JStruct[PendingShipmentDetailType] + holdAtLocationDetail: Optional[HoldAtLocationDetailType] = JStruct[HoldAtLocationDetailType] + shipmentCODDetail: Optional[ShipmentCODDetailType] = JStruct[ShipmentCODDetailType] + shipmentDryIceDetail: Optional[ShipmentDryIceDetailType] = JStruct[ShipmentDryIceDetailType] + internationalControlledExportDetail: Optional[InternationalControlledExportDetailType] = JStruct[InternationalControlledExportDetailType] + homeDeliveryPremiumDetail: Optional[HomeDeliveryPremiumDetailType] = JStruct[HomeDeliveryPremiumDetailType] + specialServiceTypes: List[str] = [] + + +@s(auto_attribs=True) +class SmartPostInfoDetailType: + ancillaryEndorsement: Optional[str] = None + hubId: Optional[int] = None + indicia: Optional[str] = None + specialServices: Optional[str] = None + + +@s(auto_attribs=True) +class RequestedShipmentType: + shipper: Optional[ShipperClassType] = JStruct[ShipperClassType] + recipient: Optional[ShipperClassType] = JStruct[ShipperClassType] + serviceType: Optional[str] = None + emailNotificationDetail: Optional[EmailNotificationDetailType] = JStruct[EmailNotificationDetailType] + preferredCurrency: Optional[str] = None + rateRequestType: List[str] = [] + shipDateStamp: Optional[str] = None + pickupType: Optional[str] = None + requestedPackageLineItems: List[RequestedPackageLineItemType] = JList[RequestedPackageLineItemType] + documentShipment: Optional[bool] = None + variableHandlingChargeDetail: Optional[VariableHandlingChargeDetailType] = JStruct[VariableHandlingChargeDetailType] + packagingType: Optional[str] = None + totalPackageCount: Optional[int] = None + totalWeight: Optional[float] = None + shipmentSpecialServices: Optional[ShipmentSpecialServicesType] = JStruct[ShipmentSpecialServicesType] + customsClearanceDetail: Optional[CustomsClearanceDetailType] = JStruct[CustomsClearanceDetailType] + groupShipment: Optional[bool] = None + serviceTypeDetail: Optional[ServiceTypeDetailType] = JStruct[ServiceTypeDetailType] + smartPostInfoDetail: Optional[SmartPostInfoDetailType] = JStruct[SmartPostInfoDetailType] + expressFreightDetail: Optional[ExpressFreightDetailType] = JStruct[ExpressFreightDetailType] + groundShipment: Optional[bool] = None + + +@s(auto_attribs=True) +class RatingRequestType: + accountNumber: Optional[RatingRequestAccountNumberType] = JStruct[RatingRequestAccountNumberType] + rateRequestControlParameters: Optional[RateRequestControlParametersType] = JStruct[RateRequestControlParametersType] + requestedShipment: Optional[RequestedShipmentType] = JStruct[RequestedShipmentType] + carrierCodes: List[str] = [] diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/rating_response.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/rating_response.py new file mode 100644 index 0000000000..23fb3e5d76 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/rating_response.py @@ -0,0 +1,189 @@ +from attr import s +from typing import Optional, List +from jstruct import JStruct, JList + + +@s(auto_attribs=True) +class AlertType: + code: Optional[str] = None + message: Optional[str] = None + alertType: Optional[str] = None + + +@s(auto_attribs=True) +class DateDetailType: + dayOfWeek: Optional[str] = None + dayCxsFormat: Optional[str] = None + + +@s(auto_attribs=True) +class CommitType: + dateDetail: Optional[DateDetailType] = JStruct[DateDetailType] + + +@s(auto_attribs=True) +class CustomerMessageType: + code: Optional[str] = None + message: Optional[str] = None + + +@s(auto_attribs=True) +class OperationalDetailType: + originLocationIds: Optional[str] = None + commitDays: Optional[str] = None + serviceCode: Optional[str] = None + airportId: Optional[str] = None + scac: Optional[str] = None + originServiceAreas: Optional[str] = None + deliveryDay: Optional[str] = None + originLocationNumbers: Optional[int] = None + destinationPostalCode: Optional[int] = None + commitDate: Optional[str] = None + astraDescription: Optional[str] = None + deliveryDate: Optional[str] = None + deliveryEligibilities: Optional[str] = None + ineligibleForMoneyBackGuarantee: Optional[bool] = None + maximumTransitTime: Optional[str] = None + astraPlannedServiceLevel: Optional[str] = None + destinationLocationIds: Optional[str] = None + destinationLocationStateOrProvinceCodes: Optional[str] = None + transitTime: Optional[str] = None + packagingCode: Optional[str] = None + destinationLocationNumbers: Optional[int] = None + publishedDeliveryTime: Optional[str] = None + countryCodes: Optional[str] = None + stateOrProvinceCodes: Optional[str] = None + ursaPrefixCode: Optional[int] = None + ursaSuffixCode: Optional[str] = None + destinationServiceAreas: Optional[str] = None + originPostalCodes: Optional[int] = None + customTransitTime: Optional[str] = None + + +@s(auto_attribs=True) +class BillingWeightType: + units: Optional[str] = None + value: Optional[float] = None + + +@s(auto_attribs=True) +class SurchargeType: + type: Optional[str] = None + description: Optional[str] = None + amount: Optional[float] = None + level: Optional[str] = None + + +@s(auto_attribs=True) +class PackageRateDetailType: + rateType: Optional[str] = None + ratedWeightMethod: Optional[str] = None + baseCharge: Optional[float] = None + netFreight: Optional[float] = None + totalSurcharges: Optional[float] = None + netFedExCharge: Optional[float] = None + totalTaxes: Optional[float] = None + netCharge: Optional[float] = None + totalRebates: Optional[float] = None + billingWeight: Optional[BillingWeightType] = JStruct[BillingWeightType] + totalFreightDiscounts: Optional[float] = None + surcharges: List[SurchargeType] = JList[SurchargeType] + currency: Optional[str] = None + + +@s(auto_attribs=True) +class RatedPackageType: + groupNumber: Optional[float] = None + effectiveNetDiscount: Optional[float] = None + packageRateDetail: Optional[PackageRateDetailType] = JStruct[PackageRateDetailType] + + +@s(auto_attribs=True) +class NameType: + type: Optional[str] = None + encoding: Optional[str] = None + value: Optional[str] = None + + +@s(auto_attribs=True) +class ServiceDescriptionType: + serviceId: Optional[str] = None + serviceType: Optional[str] = None + code: Optional[str] = None + names: List[NameType] = JList[NameType] + operatingOrgCodes: List[str] = [] + description: Optional[str] = None + astraDescription: Optional[str] = None + serviceCategory: Optional[str] = None + + +@s(auto_attribs=True) +class CurrencyExchangeRateType: + fromCurrency: Optional[str] = None + intoCurrency: Optional[str] = None + rate: Optional[float] = None + + +@s(auto_attribs=True) +class ShipmentRateDetailType: + rateZone: Optional[str] = None + dimDivisor: Optional[float] = None + fuelSurchargePercent: Optional[float] = None + totalSurcharges: Optional[float] = None + totalFreightDiscount: Optional[float] = None + surCharges: List[SurchargeType] = JList[SurchargeType] + pricingCode: Optional[str] = None + currencyExchangeRate: Optional[CurrencyExchangeRateType] = JStruct[CurrencyExchangeRateType] + totalBillingWeight: Optional[BillingWeightType] = JStruct[BillingWeightType] + currency: Optional[str] = None + + +@s(auto_attribs=True) +class RatedShipmentDetailType: + rateType: Optional[str] = None + ratedWeightMethod: Optional[str] = None + totalDiscounts: Optional[float] = None + totalBaseCharge: Optional[float] = None + totalNetCharge: Optional[float] = None + totalVatCharge: Optional[float] = None + totalNetFedExCharge: Optional[float] = None + totalDutiesAndTaxes: Optional[float] = None + totalNetChargeWithDutiesAndTaxes: Optional[float] = None + totalDutiesTaxesAndFees: Optional[float] = None + totalAncillaryFeesAndTaxes: Optional[float] = None + shipmentRateDetail: Optional[ShipmentRateDetailType] = JStruct[ShipmentRateDetailType] + currency: Optional[str] = None + ratedPackages: List[RatedPackageType] = JList[RatedPackageType] + anonymouslyAllowable: Optional[bool] = None + operationalDetail: Optional[OperationalDetailType] = JStruct[OperationalDetailType] + signatureOptionType: Optional[str] = None + serviceDescription: Optional[ServiceDescriptionType] = JStruct[ServiceDescriptionType] + + +@s(auto_attribs=True) +class RateReplyDetailType: + serviceType: Optional[str] = None + serviceName: Optional[str] = None + packagingType: Optional[str] = None + customerMessages: List[CustomerMessageType] = JList[CustomerMessageType] + ratedShipmentDetails: List[RatedShipmentDetailType] = JList[RatedShipmentDetailType] + anonymouslyAllowable: Optional[bool] = None + operationalDetail: Optional[OperationalDetailType] = JStruct[OperationalDetailType] + signatureOptionType: Optional[str] = None + serviceDescription: Optional[ServiceDescriptionType] = JStruct[ServiceDescriptionType] + commit: Optional[CommitType] = JStruct[CommitType] + + +@s(auto_attribs=True) +class OutputType: + rateReplyDetails: List[RateReplyDetailType] = JList[RateReplyDetailType] + quoteDate: Optional[str] = None + encoded: Optional[bool] = None + alerts: List[AlertType] = JList[AlertType] + + +@s(auto_attribs=True) +class RatingResponseType: + transactionId: Optional[str] = None + customerTransactionId: Optional[str] = None + output: Optional[OutputType] = JStruct[OutputType] diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/shipping_request.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/shipping_request.py new file mode 100644 index 0000000000..551477eca0 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/shipping_request.py @@ -0,0 +1,731 @@ +from attr import s +from typing import Optional, List +from jstruct import JStruct, JList + + +@s(auto_attribs=True) +class AccountNumberType: + value: Optional[str] = None + + +@s(auto_attribs=True) +class AddressType: + streetLines: List[str] = [] + city: Optional[str] = None + stateOrProvinceCode: Optional[str] = None + postalCode: Optional[int] = None + countryCode: Optional[str] = None + residential: Optional[bool] = None + + +@s(auto_attribs=True) +class BrokerContactType: + personName: Optional[str] = None + emailAddress: Optional[str] = None + phoneNumber: Optional[int] = None + phoneExtension: Optional[int] = None + companyName: Optional[str] = None + faxNumber: Optional[int] = None + + +@s(auto_attribs=True) +class TinType: + number: Optional[str] = None + tinType: Optional[str] = None + usage: Optional[str] = None + effectiveDate: Optional[str] = None + expirationDate: Optional[str] = None + + +@s(auto_attribs=True) +class BrokerBrokerType: + address: Optional[AddressType] = JStruct[AddressType] + contact: Optional[BrokerContactType] = JStruct[BrokerContactType] + accountNumber: Optional[AccountNumberType] = JStruct[AccountNumberType] + tins: List[TinType] = JList[TinType] + deliveryInstructions: Optional[str] = None + + +@s(auto_attribs=True) +class BrokerElementType: + broker: Optional[BrokerBrokerType] = JStruct[BrokerBrokerType] + type: Optional[str] = None + + +@s(auto_attribs=True) +class CustomerReferenceType: + customerReferenceType: Optional[str] = None + value: Optional[int] = None + + +@s(auto_attribs=True) +class CommercialInvoiceEmailNotificationDetailType: + emailAddress: Optional[str] = None + type: Optional[str] = None + recipientType: Optional[str] = None + + +@s(auto_attribs=True) +class TotalDeclaredValueType: + amount: Optional[float] = None + currency: Optional[str] = None + + +@s(auto_attribs=True) +class CommercialInvoiceType: + originatorName: Optional[str] = None + comments: List[str] = [] + customerReferences: List[CustomerReferenceType] = JList[CustomerReferenceType] + taxesOrMiscellaneousCharge: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] + taxesOrMiscellaneousChargeType: Optional[str] = None + freightCharge: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] + packingCosts: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] + handlingCosts: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] + declarationStatement: Optional[str] = None + termsOfSale: Optional[str] = None + specialInstructions: Optional[str] = None + shipmentPurpose: Optional[str] = None + emailNotificationDetail: Optional[CommercialInvoiceEmailNotificationDetailType] = JStruct[CommercialInvoiceEmailNotificationDetailType] + + +@s(auto_attribs=True) +class AdditionalMeasureType: + quantity: Optional[float] = None + units: Optional[str] = None + + +@s(auto_attribs=True) +class CustomsValueType: + amount: Optional[str] = None + currency: Optional[str] = None + + +@s(auto_attribs=True) +class UsmcaDetailType: + originCriterion: Optional[str] = None + + +@s(auto_attribs=True) +class WeightType: + units: Optional[str] = None + value: Optional[float] = None + + +@s(auto_attribs=True) +class CommodityType: + unitPrice: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] + additionalMeasures: List[AdditionalMeasureType] = JList[AdditionalMeasureType] + numberOfPieces: Optional[int] = None + quantity: Optional[int] = None + quantityUnits: Optional[str] = None + customsValue: Optional[CustomsValueType] = JStruct[CustomsValueType] + countryOfManufacture: Optional[str] = None + cIMarksAndNumbers: Optional[int] = None + harmonizedCode: Optional[str] = None + description: Optional[str] = None + name: Optional[str] = None + weight: Optional[WeightType] = JStruct[WeightType] + exportLicenseNumber: Optional[int] = None + exportLicenseExpirationDate: Optional[str] = None + partNumber: Optional[int] = None + purpose: Optional[str] = None + usmcaDetail: Optional[UsmcaDetailType] = JStruct[UsmcaDetailType] + + +@s(auto_attribs=True) +class CustomsOptionType: + description: Optional[str] = None + type: Optional[str] = None + + +@s(auto_attribs=True) +class UsmcaLowValueStatementDetailType: + countryOfOriginLowValueDocumentRequested: Optional[bool] = None + customsRole: Optional[str] = None + + +@s(auto_attribs=True) +class DeclarationStatementDetailType: + usmcaLowValueStatementDetail: Optional[UsmcaLowValueStatementDetailType] = JStruct[UsmcaLowValueStatementDetailType] + + +@s(auto_attribs=True) +class BillingDetailsType: + billingCode: Optional[str] = None + billingType: Optional[str] = None + aliasId: Optional[str] = None + accountNickname: Optional[str] = None + accountNumber: Optional[str] = None + accountNumberCountryCode: Optional[str] = None + + +@s(auto_attribs=True) +class ResponsiblePartyContactType: + personName: Optional[str] = None + emailAddress: Optional[str] = None + phoneNumber: Optional[str] = None + phoneExtension: Optional[str] = None + companyName: Optional[str] = None + faxNumber: Optional[str] = None + + +@s(auto_attribs=True) +class ResponsiblePartyType: + address: Optional[AddressType] = JStruct[AddressType] + contact: Optional[ResponsiblePartyContactType] = JStruct[ResponsiblePartyContactType] + accountNumber: Optional[AccountNumberType] = JStruct[AccountNumberType] + tins: List[TinType] = JList[TinType] + + +@s(auto_attribs=True) +class PayorType: + responsibleParty: Optional[ResponsiblePartyType] = JStruct[ResponsiblePartyType] + + +@s(auto_attribs=True) +class DutiesPaymentType: + payor: Optional[PayorType] = JStruct[PayorType] + billingDetails: Optional[BillingDetailsType] = JStruct[BillingDetailsType] + paymentType: Optional[str] = None + + +@s(auto_attribs=True) +class DestinationControlDetailType: + endUser: Optional[str] = None + statementTypes: Optional[str] = None + destinationCountries: List[str] = [] + + +@s(auto_attribs=True) +class ExportDetailType: + destinationControlDetail: Optional[DestinationControlDetailType] = JStruct[DestinationControlDetailType] + b13AFilingOption: Optional[str] = None + exportComplianceStatement: Optional[str] = None + permitNumber: Optional[int] = None + + +@s(auto_attribs=True) +class ShipperType: + address: Optional[AddressType] = JStruct[AddressType] + contact: Optional[ResponsiblePartyContactType] = JStruct[ResponsiblePartyContactType] + accountNumber: Optional[AccountNumberType] = JStruct[AccountNumberType] + tins: List[TinType] = JList[TinType] + deliveryInstructions: Optional[str] = None + + +@s(auto_attribs=True) +class RecipientCustomsIDType: + type: Optional[str] = None + value: Optional[int] = None + + +@s(auto_attribs=True) +class CustomsClearanceDetailType: + regulatoryControls: Optional[str] = None + brokers: List[BrokerElementType] = JList[BrokerElementType] + commercialInvoice: Optional[CommercialInvoiceType] = JStruct[CommercialInvoiceType] + freightOnValue: Optional[str] = None + dutiesPayment: Optional[DutiesPaymentType] = JStruct[DutiesPaymentType] + commodities: List[CommodityType] = JList[CommodityType] + isDocumentOnly: Optional[bool] = None + recipientCustomsId: Optional[RecipientCustomsIDType] = JStruct[RecipientCustomsIDType] + customsOption: Optional[CustomsOptionType] = JStruct[CustomsOptionType] + importerOfRecord: Optional[ShipperType] = JStruct[ShipperType] + generatedDocumentLocale: Optional[str] = None + exportDetail: Optional[ExportDetailType] = JStruct[ExportDetailType] + totalCustomsValue: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] + partiesToTransactionAreRelated: Optional[bool] = None + declarationStatementDetail: Optional[DeclarationStatementDetailType] = JStruct[DeclarationStatementDetailType] + insuranceCharge: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] + + +@s(auto_attribs=True) +class EmailNotificationRecipientType: + name: Optional[str] = None + emailNotificationRecipientType: Optional[str] = None + emailAddress: Optional[str] = None + notificationFormatType: Optional[str] = None + notificationType: Optional[str] = None + locale: Optional[str] = None + notificationEventType: List[str] = [] + + +@s(auto_attribs=True) +class RequestedShipmentEmailNotificationDetailType: + aggregationType: Optional[str] = None + emailNotificationRecipients: List[EmailNotificationRecipientType] = JList[EmailNotificationRecipientType] + personalMessage: Optional[str] = None + + +@s(auto_attribs=True) +class ExpressFreightDetailType: + bookingConfirmationNumber: Optional[str] = None + shippersLoadAndCount: Optional[int] = None + packingListEnclosed: Optional[bool] = None + + +@s(auto_attribs=True) +class AdditionalLabelType: + type: Optional[str] = None + count: Optional[int] = None + + +@s(auto_attribs=True) +class SpecificationType: + zoneNumber: Optional[int] = None + header: Optional[str] = None + dataField: Optional[str] = None + literalValue: Optional[str] = None + justification: Optional[str] = None + + +@s(auto_attribs=True) +class BarcodedType: + symbology: Optional[str] = None + specification: Optional[SpecificationType] = JStruct[SpecificationType] + + +@s(auto_attribs=True) +class Zone001Type: + docTabZoneSpecifications: List[SpecificationType] = JList[SpecificationType] + + +@s(auto_attribs=True) +class DocTabContentType: + docTabContentType: Optional[str] = None + zone001: Optional[Zone001Type] = JStruct[Zone001Type] + barcoded: Optional[BarcodedType] = JStruct[BarcodedType] + + +@s(auto_attribs=True) +class RegulatoryLabelType: + generationOptions: Optional[str] = None + type: Optional[str] = None + + +@s(auto_attribs=True) +class CustomerSpecifiedDetailType: + maskedData: List[str] = [] + regulatoryLabels: List[RegulatoryLabelType] = JList[RegulatoryLabelType] + additionalLabels: List[AdditionalLabelType] = JList[AdditionalLabelType] + docTabContent: Optional[DocTabContentType] = JStruct[DocTabContentType] + + +@s(auto_attribs=True) +class OriginType: + address: Optional[AddressType] = JStruct[AddressType] + contact: Optional[ResponsiblePartyContactType] = JStruct[ResponsiblePartyContactType] + + +@s(auto_attribs=True) +class LabelSpecificationType: + labelFormatType: Optional[str] = None + labelOrder: Optional[str] = None + customerSpecifiedDetail: Optional[CustomerSpecifiedDetailType] = JStruct[CustomerSpecifiedDetailType] + printedLabelOrigin: Optional[OriginType] = JStruct[OriginType] + labelStockType: Optional[str] = None + labelRotation: Optional[str] = None + imageType: Optional[str] = None + labelPrintingOrientation: Optional[str] = None + returnedDispositionDetail: Optional[bool] = None + + +@s(auto_attribs=True) +class MasterTrackingIDType: + formId: Optional[str] = None + trackingIdType: Optional[str] = None + uspsApplicationId: Optional[int] = None + trackingNumber: Optional[str] = None + + +@s(auto_attribs=True) +class ContentRecordType: + itemNumber: Optional[int] = None + receivedQuantity: Optional[int] = None + description: Optional[str] = None + partNumber: Optional[int] = None + + +@s(auto_attribs=True) +class DimensionsType: + length: Optional[int] = None + width: Optional[int] = None + height: Optional[int] = None + units: Optional[str] = None + + +@s(auto_attribs=True) +class AlcoholDetailType: + alcoholRecipientType: Optional[str] = None + shipperAgreementType: Optional[str] = None + + +@s(auto_attribs=True) +class BatteryDetailType: + batteryPackingType: Optional[str] = None + batteryRegulatoryType: Optional[str] = None + batteryMaterialType: Optional[str] = None + + +@s(auto_attribs=True) +class DangerousGoodsDetailType: + cargoAircraftOnly: Optional[bool] = None + accessibility: Optional[str] = None + options: List[str] = [] + + +@s(auto_attribs=True) +class PackageCODDetailType: + codCollectionAmount: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] + + +@s(auto_attribs=True) +class PriorityAlertDetailType: + enhancementTypes: List[str] = [] + content: List[str] = [] + + +@s(auto_attribs=True) +class SignatureOptionDetailType: + signatureReleaseNumber: Optional[int] = None + + +@s(auto_attribs=True) +class PackageSpecialServicesType: + specialServiceTypes: List[str] = [] + signatureOptionType: Optional[str] = None + priorityAlertDetail: Optional[PriorityAlertDetailType] = JStruct[PriorityAlertDetailType] + signatureOptionDetail: Optional[SignatureOptionDetailType] = JStruct[SignatureOptionDetailType] + alcoholDetail: Optional[AlcoholDetailType] = JStruct[AlcoholDetailType] + dangerousGoodsDetail: Optional[DangerousGoodsDetailType] = JStruct[DangerousGoodsDetailType] + packageCODDetail: Optional[PackageCODDetailType] = JStruct[PackageCODDetailType] + pieceCountVerificationBoxCount: Optional[int] = None + batteryDetails: List[BatteryDetailType] = JList[BatteryDetailType] + dryIceWeight: Optional[WeightType] = JStruct[WeightType] + + +@s(auto_attribs=True) +class VariableHandlingChargeDetailType: + rateType: Optional[str] = None + percentValue: Optional[float] = None + rateLevelType: Optional[str] = None + fixedValue: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] + rateElementBasis: Optional[str] = None + + +@s(auto_attribs=True) +class RequestedPackageLineItemType: + sequenceNumber: Optional[int] = None + subPackagingType: Optional[str] = None + customerReferences: List[CustomerReferenceType] = JList[CustomerReferenceType] + declaredValue: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] + weight: Optional[WeightType] = JStruct[WeightType] + dimensions: Optional[DimensionsType] = JStruct[DimensionsType] + groupPackageCount: Optional[int] = None + itemDescriptionForClearance: Optional[str] = None + contentRecord: List[ContentRecordType] = JList[ContentRecordType] + itemDescription: Optional[str] = None + variableHandlingChargeDetail: Optional[VariableHandlingChargeDetailType] = JStruct[VariableHandlingChargeDetailType] + packageSpecialServices: Optional[PackageSpecialServicesType] = JStruct[PackageSpecialServicesType] + trackingNumber: Optional[int] = None + + +@s(auto_attribs=True) +class DeliveryOnInvoiceAcceptanceDetailType: + recipient: Optional[ShipperType] = JStruct[ShipperType] + + +@s(auto_attribs=True) +class AttachedDocumentType: + documentType: Optional[str] = None + documentReference: Optional[str] = None + description: Optional[str] = None + documentId: Optional[str] = None + + +@s(auto_attribs=True) +class EtdDetailType: + attributes: List[str] = [] + attachedDocuments: List[AttachedDocumentType] = JList[AttachedDocumentType] + requestedDocumentTypes: List[str] = [] + + +@s(auto_attribs=True) +class HoldAtLocationDetailType: + locationId: Optional[str] = None + locationContactAndAddress: Optional[OriginType] = JStruct[OriginType] + locationType: Optional[str] = None + + +@s(auto_attribs=True) +class PhoneNumberType: + areaCode: Optional[int] = None + localNumber: Optional[int] = None + extension: Optional[int] = None + personalIdentificationNumber: Optional[int] = None + + +@s(auto_attribs=True) +class HomeDeliveryPremiumDetailType: + phoneNumber: Optional[PhoneNumberType] = JStruct[PhoneNumberType] + deliveryDate: Optional[str] = None + homedeliveryPremiumType: Optional[str] = None + + +@s(auto_attribs=True) +class InternationalControlledExportDetailType: + licenseOrPermitExpirationDate: Optional[str] = None + licenseOrPermitNumber: Optional[int] = None + entryNumber: Optional[int] = None + foreignTradeZoneCode: Optional[str] = None + type: Optional[str] = None + + +@s(auto_attribs=True) +class InternationalTrafficInArmsRegulationsDetailType: + licenseOrExemptionNumber: Optional[int] = None + + +@s(auto_attribs=True) +class ProcessingOptionsType: + options: List[str] = [] + + +@s(auto_attribs=True) +class RecipientType: + emailAddress: Optional[str] = None + optionsRequested: Optional[ProcessingOptionsType] = JStruct[ProcessingOptionsType] + role: Optional[str] = None + locale: Optional[str] = None + + +@s(auto_attribs=True) +class EmailLabelDetailType: + recipients: List[RecipientType] = JList[RecipientType] + message: Optional[str] = None + + +@s(auto_attribs=True) +class RecommendedDocumentSpecificationType: + types: Optional[str] = None + + +@s(auto_attribs=True) +class PendingShipmentDetailType: + pendingShipmentType: Optional[str] = None + processingOptions: Optional[ProcessingOptionsType] = JStruct[ProcessingOptionsType] + recommendedDocumentSpecification: Optional[RecommendedDocumentSpecificationType] = JStruct[RecommendedDocumentSpecificationType] + emailLabelDetail: Optional[EmailLabelDetailType] = JStruct[EmailLabelDetailType] + attachedDocuments: List[AttachedDocumentType] = JList[AttachedDocumentType] + expirationTimeStamp: Optional[str] = None + + +@s(auto_attribs=True) +class ReturnAssociationDetailType: + shipDatestamp: Optional[str] = None + trackingNumber: Optional[int] = None + + +@s(auto_attribs=True) +class ReturnEmailDetailType: + merchantPhoneNumber: Optional[str] = None + allowedSpecialService: List[str] = [] + + +@s(auto_attribs=True) +class RmaType: + reason: Optional[str] = None + + +@s(auto_attribs=True) +class ReturnShipmentDetailType: + returnEmailDetail: Optional[ReturnEmailDetailType] = JStruct[ReturnEmailDetailType] + rma: Optional[RmaType] = JStruct[RmaType] + returnAssociationDetail: Optional[ReturnAssociationDetailType] = JStruct[ReturnAssociationDetailType] + returnType: Optional[str] = None + + +@s(auto_attribs=True) +class AddTransportationChargesDetailType: + rateType: Optional[str] = None + rateLevelType: Optional[str] = None + chargeLevelType: Optional[str] = None + chargeType: Optional[str] = None + + +@s(auto_attribs=True) +class ShipmentCODDetailType: + addTransportationChargesDetail: Optional[AddTransportationChargesDetailType] = JStruct[AddTransportationChargesDetailType] + codRecipient: Optional[ShipperType] = JStruct[ShipperType] + remitToName: Optional[str] = None + codCollectionType: Optional[str] = None + financialInstitutionContactAndAddress: Optional[OriginType] = JStruct[OriginType] + codCollectionAmount: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] + returnReferenceIndicatorType: Optional[str] = None + shipmentCodAmount: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] + + +@s(auto_attribs=True) +class ShipmentDryIceDetailType: + totalWeight: Optional[WeightType] = JStruct[WeightType] + packageCount: Optional[int] = None + + +@s(auto_attribs=True) +class ShipmentSpecialServicesType: + specialServiceTypes: List[str] = [] + etdDetail: Optional[EtdDetailType] = JStruct[EtdDetailType] + returnShipmentDetail: Optional[ReturnShipmentDetailType] = JStruct[ReturnShipmentDetailType] + deliveryOnInvoiceAcceptanceDetail: Optional[DeliveryOnInvoiceAcceptanceDetailType] = JStruct[DeliveryOnInvoiceAcceptanceDetailType] + internationalTrafficInArmsRegulationsDetail: Optional[InternationalTrafficInArmsRegulationsDetailType] = JStruct[InternationalTrafficInArmsRegulationsDetailType] + pendingShipmentDetail: Optional[PendingShipmentDetailType] = JStruct[PendingShipmentDetailType] + holdAtLocationDetail: Optional[HoldAtLocationDetailType] = JStruct[HoldAtLocationDetailType] + shipmentCODDetail: Optional[ShipmentCODDetailType] = JStruct[ShipmentCODDetailType] + shipmentDryIceDetail: Optional[ShipmentDryIceDetailType] = JStruct[ShipmentDryIceDetailType] + internationalControlledExportDetail: Optional[InternationalControlledExportDetailType] = JStruct[InternationalControlledExportDetailType] + homeDeliveryPremiumDetail: Optional[HomeDeliveryPremiumDetailType] = JStruct[HomeDeliveryPremiumDetailType] + + +@s(auto_attribs=True) +class ShippingChargesPaymentType: + paymentType: Optional[str] = None + payor: Optional[PayorType] = JStruct[PayorType] + + +@s(auto_attribs=True) +class CustomerImageUsageType: + id: Optional[str] = None + type: Optional[str] = None + providedImageType: Optional[str] = None + + +@s(auto_attribs=True) +class EMailRecipientType: + emailAddress: Optional[str] = None + recipientType: Optional[str] = None + + +@s(auto_attribs=True) +class EMailDetailType: + eMailRecipients: List[EMailRecipientType] = JList[EMailRecipientType] + locale: Optional[str] = None + grouping: Optional[str] = None + + +@s(auto_attribs=True) +class DispositionType: + eMailDetail: Optional[EMailDetailType] = JStruct[EMailDetailType] + dispositionType: Optional[str] = None + + +@s(auto_attribs=True) +class DocumentFormatType: + provideInstructions: Optional[bool] = None + optionsRequested: Optional[ProcessingOptionsType] = JStruct[ProcessingOptionsType] + stockType: Optional[str] = None + dispositions: List[DispositionType] = JList[DispositionType] + locale: Optional[str] = None + docType: Optional[str] = None + + +@s(auto_attribs=True) +class CertificateOfOriginType: + customerImageUsages: List[CustomerImageUsageType] = JList[CustomerImageUsageType] + documentFormat: Optional[DocumentFormatType] = JStruct[DocumentFormatType] + + +@s(auto_attribs=True) +class GeneralAgencyAgreementDetailType: + documentFormat: Optional[DocumentFormatType] = JStruct[DocumentFormatType] + + +@s(auto_attribs=True) +class Op900DetailType: + customerImageUsages: List[CustomerImageUsageType] = JList[CustomerImageUsageType] + signatureName: Optional[str] = None + documentFormat: Optional[DocumentFormatType] = JStruct[DocumentFormatType] + + +@s(auto_attribs=True) +class ReturnInstructionsDetailType: + customText: Optional[str] = None + documentFormat: Optional[DocumentFormatType] = JStruct[DocumentFormatType] + + +@s(auto_attribs=True) +class BlanketPeriodType: + begins: Optional[str] = None + ends: Optional[str] = None + + +@s(auto_attribs=True) +class UsmcaCCertificationOfOriginDetailType: + customerImageUsages: List[CustomerImageUsageType] = JList[CustomerImageUsageType] + documentFormat: Optional[DocumentFormatType] = JStruct[DocumentFormatType] + certifierSpecification: Optional[str] = None + importerSpecification: Optional[str] = None + producerSpecification: Optional[str] = None + producer: Optional[ShipperType] = JStruct[ShipperType] + blanketPeriod: Optional[BlanketPeriodType] = JStruct[BlanketPeriodType] + certifierJobTitle: Optional[str] = None + + +@s(auto_attribs=True) +class ShippingDocumentSpecificationType: + generalAgencyAgreementDetail: Optional[GeneralAgencyAgreementDetailType] = JStruct[GeneralAgencyAgreementDetailType] + returnInstructionsDetail: Optional[ReturnInstructionsDetailType] = JStruct[ReturnInstructionsDetailType] + op900Detail: Optional[Op900DetailType] = JStruct[Op900DetailType] + usmcaCertificationOfOriginDetail: Optional[UsmcaCCertificationOfOriginDetailType] = JStruct[UsmcaCCertificationOfOriginDetailType] + usmcaCommercialInvoiceCertificationOfOriginDetail: Optional[UsmcaCCertificationOfOriginDetailType] = JStruct[UsmcaCCertificationOfOriginDetailType] + shippingDocumentTypes: List[str] = [] + certificateOfOrigin: Optional[CertificateOfOriginType] = JStruct[CertificateOfOriginType] + commercialInvoiceDetail: Optional[CertificateOfOriginType] = JStruct[CertificateOfOriginType] + + +@s(auto_attribs=True) +class SmartPostInfoDetailType: + ancillaryEndorsement: Optional[str] = None + hubId: Optional[int] = None + indicia: Optional[str] = None + specialServices: Optional[str] = None + + +@s(auto_attribs=True) +class RequestedShipmentType: + shipDatestamp: Optional[str] = None + totalDeclaredValue: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] + shipper: Optional[ShipperType] = JStruct[ShipperType] + soldTo: Optional[ShipperType] = JStruct[ShipperType] + recipients: List[ShipperType] = JList[ShipperType] + recipientLocationNumber: Optional[int] = None + pickupType: Optional[str] = None + serviceType: Optional[str] = None + packagingType: Optional[str] = None + totalWeight: Optional[float] = None + origin: Optional[OriginType] = JStruct[OriginType] + shippingChargesPayment: Optional[ShippingChargesPaymentType] = JStruct[ShippingChargesPaymentType] + shipmentSpecialServices: Optional[ShipmentSpecialServicesType] = JStruct[ShipmentSpecialServicesType] + emailNotificationDetail: Optional[RequestedShipmentEmailNotificationDetailType] = JStruct[RequestedShipmentEmailNotificationDetailType] + expressFreightDetail: Optional[ExpressFreightDetailType] = JStruct[ExpressFreightDetailType] + variableHandlingChargeDetail: Optional[VariableHandlingChargeDetailType] = JStruct[VariableHandlingChargeDetailType] + customsClearanceDetail: Optional[CustomsClearanceDetailType] = JStruct[CustomsClearanceDetailType] + smartPostInfoDetail: Optional[SmartPostInfoDetailType] = JStruct[SmartPostInfoDetailType] + blockInsightVisibility: Optional[bool] = None + labelSpecification: Optional[LabelSpecificationType] = JStruct[LabelSpecificationType] + shippingDocumentSpecification: Optional[ShippingDocumentSpecificationType] = JStruct[ShippingDocumentSpecificationType] + rateRequestType: List[str] = [] + preferredCurrency: Optional[str] = None + totalPackageCount: Optional[int] = None + masterTrackingId: Optional[MasterTrackingIDType] = JStruct[MasterTrackingIDType] + requestedPackageLineItems: List[RequestedPackageLineItemType] = JList[RequestedPackageLineItemType] + + +@s(auto_attribs=True) +class ShippingRequestType: + mergeLabelDocOption: Optional[str] = None + requestedShipment: Optional[RequestedShipmentType] = JStruct[RequestedShipmentType] + labelResponseOptions: Optional[str] = None + accountNumber: Optional[AccountNumberType] = JStruct[AccountNumberType] + shipAction: Optional[str] = None + processingOptionType: Optional[str] = None + oneLabelAtATime: Optional[bool] = None diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/shipping_response.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/shipping_response.py new file mode 100644 index 0000000000..39e93b4f81 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/shipping_response.py @@ -0,0 +1,556 @@ +from attr import s +from typing import Optional, List, Any +from jstruct import JList, JStruct + + +@s(auto_attribs=True) +class AlertType: + code: Optional[str] = None + alertType: Optional[str] = None + message: Optional[str] = None + + +@s(auto_attribs=True) +class AccessorDetailType: + password: Optional[str] = None + role: Optional[str] = None + emailLabelUrl: Optional[str] = None + userId: Optional[str] = None + + +@s(auto_attribs=True) +class AccessDetailType: + accessorDetails: List[AccessorDetailType] = JList[AccessorDetailType] + + +@s(auto_attribs=True) +class UploadDocumentReferenceDetailType: + documentType: Optional[str] = None + documentReference: Optional[str] = None + description: Optional[str] = None + documentId: Optional[str] = None + + +@s(auto_attribs=True) +class CompletedEtdDetailType: + folderId: Optional[str] = None + type: Optional[str] = None + uploadDocumentReferenceDetails: List[UploadDocumentReferenceDetailType] = JList[UploadDocumentReferenceDetailType] + + +@s(auto_attribs=True) +class AddressType: + streetLines: List[str] = [] + city: Optional[str] = None + stateOrProvinceCode: Optional[str] = None + postalCode: Optional[int] = None + countryCode: Optional[str] = None + residential: Optional[bool] = None + + +@s(auto_attribs=True) +class ContactType: + personName: Optional[str] = None + tollFreePhoneNumber: Optional[int] = None + emailAddress: Optional[str] = None + phoneNumber: Optional[int] = None + phoneExtension: Optional[int] = None + faxNumber: Optional[int] = None + pagerNumber: Optional[int] = None + companyName: Optional[str] = None + title: Optional[str] = None + + +@s(auto_attribs=True) +class HoldingLocationType: + address: Optional[AddressType] = JStruct[AddressType] + contact: Optional[ContactType] = JStruct[ContactType] + + +@s(auto_attribs=True) +class CompletedHoldAtLocationDetailType: + holdingLocationType: Optional[str] = None + holdingLocation: Optional[HoldingLocationType] = JStruct[HoldingLocationType] + + +@s(auto_attribs=True) +class WeightType: + units: Optional[str] = None + value: Optional[int] = None + + +@s(auto_attribs=True) +class HazardousCommodityDescriptionType: + sequenceNumber: Optional[int] = None + packingInstructions: Optional[str] = None + subsidiaryClasses: List[str] = [] + labelText: Optional[str] = None + tunnelRestrictionCode: Optional[str] = None + specialProvisions: Optional[str] = None + properShippingNameAndDescription: Optional[str] = None + technicalName: Optional[str] = None + symbols: Optional[str] = None + authorization: Optional[str] = None + attributes: List[str] = [] + id: Optional[int] = None + packingGroup: Optional[str] = None + properShippingName: Optional[str] = None + hazardClass: Optional[str] = None + + +@s(auto_attribs=True) +class NetExplosiveDetailType: + amount: Optional[int] = None + units: Optional[str] = None + type: Optional[str] = None + + +@s(auto_attribs=True) +class PackingDetailsType: + packingInstructions: Optional[str] = None + cargoAircraftOnly: Optional[bool] = None + + +@s(auto_attribs=True) +class OptionsDescriptionType: + sequenceNumber: Optional[int] = None + processingOptions: List[str] = [] + subsidiaryClasses: List[str] = [] + labelText: Optional[str] = None + technicalName: Optional[str] = None + packingDetails: Optional[PackingDetailsType] = JStruct[PackingDetailsType] + authorization: Optional[str] = None + reportableQuantity: Optional[bool] = None + percentage: Optional[float] = None + id: Optional[int] = None + packingGroup: Optional[str] = None + properShippingName: Optional[str] = None + hazardClass: Optional[str] = None + + +@s(auto_attribs=True) +class QuantityType: + quantityType: Optional[str] = None + amount: Optional[float] = None + units: Optional[str] = None + + +@s(auto_attribs=True) +class InnerReceptacleType: + quantity: Optional[QuantityType] = JStruct[QuantityType] + + +@s(auto_attribs=True) +class OptionsOptionsType: + labelTextOption: Optional[str] = None + customerSuppliedLabelText: Optional[str] = None + + +@s(auto_attribs=True) +class HazardousCommodityOptionsType: + quantity: Optional[QuantityType] = JStruct[QuantityType] + innerReceptacles: List[InnerReceptacleType] = JList[InnerReceptacleType] + options: Optional[OptionsOptionsType] = JStruct[OptionsOptionsType] + description: Optional[OptionsDescriptionType] = JStruct[OptionsDescriptionType] + + +@s(auto_attribs=True) +class HazardousCommodityType: + quantity: Optional[QuantityType] = JStruct[QuantityType] + options: Optional[HazardousCommodityOptionsType] = JStruct[HazardousCommodityOptionsType] + description: Optional[HazardousCommodityDescriptionType] = JStruct[HazardousCommodityDescriptionType] + netExplosiveDetail: Optional[NetExplosiveDetailType] = JStruct[NetExplosiveDetailType] + massPoints: Optional[int] = None + + +@s(auto_attribs=True) +class ContainerType: + qvalue: Optional[int] = None + hazardousCommodities: List[HazardousCommodityType] = JList[HazardousCommodityType] + + +@s(auto_attribs=True) +class HazardousPackageDetailType: + regulation: Optional[str] = None + accessibility: Optional[str] = None + labelType: Optional[str] = None + containers: List[ContainerType] = JList[ContainerType] + cargoAircraftOnly: Optional[bool] = None + referenceId: Optional[int] = None + radioactiveTransportIndex: Optional[float] = None + + +@s(auto_attribs=True) +class BarcodeType: + type: Optional[str] = None + value: Optional[str] = None + + +@s(auto_attribs=True) +class BarcodesType: + binaryBarcodes: List[BarcodeType] = JList[BarcodeType] + stringBarcodes: List[BarcodeType] = JList[BarcodeType] + + +@s(auto_attribs=True) +class OperationalInstructionType: + number: Optional[int] = None + content: Optional[str] = None + + +@s(auto_attribs=True) +class CompletedPackageDetailOperationalDetailType: + astraHandlingText: Optional[str] = None + barcodes: Optional[BarcodesType] = JStruct[BarcodesType] + operationalInstructions: List[OperationalInstructionType] = JList[OperationalInstructionType] + + +@s(auto_attribs=True) +class SurchargeType: + amount: Optional[str] = None + surchargeType: Optional[str] = None + level: Optional[str] = None + description: Optional[str] = None + + +@s(auto_attribs=True) +class PackageRateDetailType: + ratedWeightMethod: Optional[str] = None + totalFreightDiscounts: Optional[float] = None + totalTaxes: Optional[float] = None + minimumChargeType: Optional[str] = None + baseCharge: Optional[float] = None + totalRebates: Optional[float] = None + rateType: Optional[str] = None + billingWeight: Optional[WeightType] = JStruct[WeightType] + netFreight: Optional[float] = None + surcharges: List[SurchargeType] = JList[SurchargeType] + totalSurcharges: Optional[float] = None + netFedExCharge: Optional[float] = None + netCharge: Optional[float] = None + currency: Optional[str] = None + + +@s(auto_attribs=True) +class PackageRatingType: + effectiveNetDiscount: Optional[int] = None + actualRateType: Optional[str] = None + packageRateDetails: List[PackageRateDetailType] = JList[PackageRateDetailType] + + +@s(auto_attribs=True) +class TrackingIDType: + formId: Optional[str] = None + trackingIdType: Optional[str] = None + uspsApplicationId: Optional[int] = None + trackingNumber: Optional[str] = None + + +@s(auto_attribs=True) +class CompletedPackageDetailType: + sequenceNumber: Optional[int] = None + operationalDetail: Optional[CompletedPackageDetailOperationalDetailType] = JStruct[CompletedPackageDetailOperationalDetailType] + signatureOption: Optional[str] = None + trackingIds: List[TrackingIDType] = JList[TrackingIDType] + groupNumber: Optional[int] = None + oversizeClass: Optional[str] = None + packageRating: Optional[PackageRatingType] = JStruct[PackageRatingType] + dryIceWeight: Optional[WeightType] = JStruct[WeightType] + hazardousPackageDetail: Optional[HazardousPackageDetailType] = JStruct[HazardousPackageDetailType] + + +@s(auto_attribs=True) +class GenerationDetailType: + type: Optional[str] = None + minimumCopiesRequired: Optional[int] = None + letterhead: Optional[str] = None + electronicSignature: Optional[str] = None + + +@s(auto_attribs=True) +class DocumentRequirementsType: + requiredDocuments: List[str] = [] + prohibitedDocuments: List[str] = [] + generationDetails: List[GenerationDetailType] = JList[GenerationDetailType] + + +@s(auto_attribs=True) +class LicenseOrPermitDetailType: + number: Optional[int] = None + effectiveDate: Optional[str] = None + expirationDate: Optional[str] = None + + +@s(auto_attribs=True) +class AdrLicenseType: + licenseOrPermitDetail: Optional[LicenseOrPermitDetailType] = JStruct[LicenseOrPermitDetailType] + + +@s(auto_attribs=True) +class ProcessingOptionsType: + options: List[str] = [] + + +@s(auto_attribs=True) +class DryIceDetailType: + totalWeight: Optional[WeightType] = JStruct[WeightType] + packageCount: Optional[int] = None + processingOptions: Optional[ProcessingOptionsType] = JStruct[ProcessingOptionsType] + + +@s(auto_attribs=True) +class HazardousSummaryDetailType: + smallQuantityExceptionPackageCount: Optional[int] = None + + +@s(auto_attribs=True) +class HazardousShipmentDetailType: + hazardousSummaryDetail: Optional[HazardousSummaryDetailType] = JStruct[HazardousSummaryDetailType] + adrLicense: Optional[AdrLicenseType] = JStruct[AdrLicenseType] + dryIceDetail: Optional[DryIceDetailType] = JStruct[DryIceDetailType] + + +@s(auto_attribs=True) +class CompletedShipmentDetailOperationalDetailType: + originServiceArea: Optional[str] = None + serviceCode: Optional[str] = None + airportId: Optional[str] = None + postalCode: Optional[int] = None + scac: Optional[str] = None + deliveryDay: Optional[str] = None + originLocationId: Optional[int] = None + countryCode: Optional[str] = None + astraDescription: Optional[str] = None + originLocationNumber: Optional[int] = None + deliveryDate: Optional[str] = None + deliveryEligibilities: List[str] = [] + ineligibleForMoneyBackGuarantee: Optional[bool] = None + maximumTransitTime: Optional[str] = None + destinationLocationStateOrProvinceCode: Optional[str] = None + astraPlannedServiceLevel: Optional[str] = None + destinationLocationId: Optional[str] = None + transitTime: Optional[str] = None + stateOrProvinceCode: Optional[str] = None + destinationLocationNumber: Optional[int] = None + packagingCode: Optional[str] = None + commitDate: Optional[str] = None + publishedDeliveryTime: Optional[str] = None + ursaSuffixCode: Optional[str] = None + ursaPrefixCode: Optional[str] = None + destinationServiceArea: Optional[str] = None + commitDay: Optional[str] = None + customTransitTime: Optional[str] = None + + +@s(auto_attribs=True) +class NameType: + type: Optional[str] = None + encoding: Optional[str] = None + value: Optional[str] = None + + +@s(auto_attribs=True) +class ServiceDescriptionType: + serviceType: Optional[str] = None + code: Optional[int] = None + names: List[NameType] = JList[NameType] + operatingOrgCodes: List[str] = [] + astraDescription: Optional[str] = None + description: Optional[str] = None + serviceId: Optional[str] = None + serviceCategory: Optional[str] = None + + +@s(auto_attribs=True) +class CurrencyExchangeRateType: + rate: Optional[float] = None + fromCurrency: Optional[str] = None + intoCurrency: Optional[str] = None + + +@s(auto_attribs=True) +class FreightDiscountType: + amount: Optional[float] = None + rateDiscountType: Optional[str] = None + percent: Optional[float] = None + description: Optional[str] = None + + +@s(auto_attribs=True) +class TaxType: + amount: Optional[int] = None + level: Optional[str] = None + description: Optional[str] = None + type: Optional[str] = None + + +@s(auto_attribs=True) +class ShipmentRateDetailType: + rateZone: Optional[str] = None + ratedWeightMethod: Optional[str] = None + totalDutiesTaxesAndFees: Optional[float] = None + pricingCode: Optional[str] = None + totalFreightDiscounts: Optional[float] = None + totalTaxes: Optional[float] = None + totalDutiesAndTaxes: Optional[float] = None + totalAncillaryFeesAndTaxes: Optional[float] = None + taxes: List[TaxType] = JList[TaxType] + totalRebates: Optional[float] = None + fuelSurchargePercent: Optional[float] = None + currencyExchangeRate: Optional[CurrencyExchangeRateType] = JStruct[CurrencyExchangeRateType] + totalNetFreight: Optional[float] = None + totalNetFedExCharge: Optional[float] = None + shipmentLegRateDetails: List[Any] = [] + dimDivisor: Optional[int] = None + rateType: Optional[str] = None + surcharges: List[SurchargeType] = JList[SurchargeType] + totalSurcharges: Optional[float] = None + totalBillingWeight: Optional[WeightType] = JStruct[WeightType] + freightDiscounts: List[FreightDiscountType] = JList[FreightDiscountType] + rateScale: Optional[str] = None + totalNetCharge: Optional[float] = None + totalBaseCharge: Optional[float] = None + totalNetChargeWithDutiesAndTaxes: Optional[float] = None + currency: Optional[str] = None + + +@s(auto_attribs=True) +class ShipmentRatingType: + actualRateType: Optional[str] = None + shipmentRateDetails: List[ShipmentRateDetailType] = JList[ShipmentRateDetailType] + + +@s(auto_attribs=True) +class CompletedShipmentDetailType: + completedPackageDetails: List[CompletedPackageDetailType] = JList[CompletedPackageDetailType] + operationalDetail: Optional[CompletedShipmentDetailOperationalDetailType] = JStruct[CompletedShipmentDetailOperationalDetailType] + carrierCode: Optional[str] = None + completedHoldAtLocationDetail: Optional[CompletedHoldAtLocationDetailType] = JStruct[CompletedHoldAtLocationDetailType] + completedEtdDetail: Optional[CompletedEtdDetailType] = JStruct[CompletedEtdDetailType] + packagingDescription: Optional[str] = None + masterTrackingId: Optional[TrackingIDType] = JStruct[TrackingIDType] + serviceDescription: Optional[ServiceDescriptionType] = JStruct[ServiceDescriptionType] + usDomestic: Optional[bool] = None + hazardousShipmentDetail: Optional[HazardousShipmentDetailType] = JStruct[HazardousShipmentDetailType] + shipmentRating: Optional[ShipmentRatingType] = JStruct[ShipmentRatingType] + documentRequirements: Optional[DocumentRequirementsType] = JStruct[DocumentRequirementsType] + exportComplianceStatement: Optional[str] = None + accessDetail: Optional[AccessDetailType] = JStruct[AccessDetailType] + + +@s(auto_attribs=True) +class CustomerReferenceType: + customerReferenceType: Optional[str] = None + value: Optional[int] = None + + +@s(auto_attribs=True) +class DocumentType: + contentKey: Optional[str] = None + copiesToPrint: Optional[int] = None + contentType: Optional[str] = None + trackingNumber: Optional[str] = None + docType: Optional[str] = None + alerts: List[AlertType] = JList[AlertType] + encodedLabel: Optional[str] = None + url: Optional[str] = None + + +@s(auto_attribs=True) +class TransactionDetailType: + transactionDetails: Optional[str] = None + transactionId: Optional[int] = None + + +@s(auto_attribs=True) +class PieceResponseType: + netChargeAmount: Optional[float] = None + transactionDetails: List[TransactionDetailType] = JList[TransactionDetailType] + packageDocuments: List[DocumentType] = JList[DocumentType] + acceptanceTrackingNumber: Optional[str] = None + serviceCategory: Optional[str] = None + listCustomerTotalCharge: Optional[str] = None + deliveryTimestamp: Optional[str] = None + trackingIdType: Optional[str] = None + additionalChargesDiscount: Optional[float] = None + netListRateAmount: Optional[float] = None + baseRateAmount: Optional[float] = None + packageSequenceNumber: Optional[int] = None + netDiscountAmount: Optional[float] = None + codcollectionAmount: Optional[float] = None + masterTrackingNumber: Optional[str] = None + acceptanceType: Optional[str] = None + trackingNumber: Optional[str] = None + successful: Optional[bool] = None + customerReferences: List[CustomerReferenceType] = JList[CustomerReferenceType] + + +@s(auto_attribs=True) +class ParameterType: + id: Optional[str] = None + value: Optional[str] = None + + +@s(auto_attribs=True) +class AdvisoryType: + code: Optional[str] = None + text: Optional[str] = None + parameters: List[ParameterType] = JList[ParameterType] + localizedText: Optional[str] = None + + +@s(auto_attribs=True) +class WaiverType: + advisories: List[AdvisoryType] = JList[AdvisoryType] + description: Optional[str] = None + id: Optional[str] = None + + +@s(auto_attribs=True) +class ProhibitionType: + derivedHarmonizedCode: Optional[str] = None + advisory: Optional[AdvisoryType] = JStruct[AdvisoryType] + commodityIndex: Optional[int] = None + source: Optional[str] = None + categories: List[str] = [] + type: Optional[str] = None + waiver: Optional[WaiverType] = JStruct[WaiverType] + status: Optional[str] = None + + +@s(auto_attribs=True) +class RegulatoryAdvisoryType: + prohibitions: List[ProhibitionType] = JList[ProhibitionType] + + +@s(auto_attribs=True) +class ShipmentAdvisoryDetailsType: + regulatoryAdvisory: Optional[RegulatoryAdvisoryType] = JStruct[RegulatoryAdvisoryType] + + +@s(auto_attribs=True) +class TransactionShipmentType: + serviceType: Optional[str] = None + shipDatestamp: Optional[str] = None + serviceCategory: Optional[str] = None + shipmentDocuments: List[DocumentType] = JList[DocumentType] + pieceResponses: List[PieceResponseType] = JList[PieceResponseType] + serviceName: Optional[str] = None + alerts: List[AlertType] = JList[AlertType] + completedShipmentDetail: Optional[CompletedShipmentDetailType] = JStruct[CompletedShipmentDetailType] + shipmentAdvisoryDetails: Optional[ShipmentAdvisoryDetailsType] = JStruct[ShipmentAdvisoryDetailsType] + masterTrackingNumber: Optional[str] = None + + +@s(auto_attribs=True) +class OutputType: + transactionShipments: List[TransactionShipmentType] = JList[TransactionShipmentType] + alerts: List[AlertType] = JList[AlertType] + jobId: Optional[str] = None + + +@s(auto_attribs=True) +class ShippingResponseType: + transactionId: Optional[str] = None + customerTransactionId: Optional[str] = None + output: Optional[OutputType] = JStruct[OutputType] diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/tracking_request.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/tracking_request.py new file mode 100644 index 0000000000..839075a366 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/tracking_request.py @@ -0,0 +1,23 @@ +from attr import s +from typing import Optional, List +from jstruct import JStruct, JList + + +@s(auto_attribs=True) +class TrackingNumberInfoType: + trackingNumber: Optional[str] = None + carrierCode: Optional[str] = None + trackingNumberUniqueId: Optional[str] = None + + +@s(auto_attribs=True) +class TrackingInfoType: + shipDateBegin: Optional[str] = None + shipDateEnd: Optional[str] = None + trackingNumberInfo: Optional[TrackingNumberInfoType] = JStruct[TrackingNumberInfoType] + + +@s(auto_attribs=True) +class TrackingRequestType: + includeDetailedScans: Optional[bool] = None + trackingInfo: List[TrackingInfoType] = JList[TrackingInfoType] diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/tracking_response.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/tracking_response.py new file mode 100644 index 0000000000..e9b52341f3 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/tracking_response.py @@ -0,0 +1,350 @@ +from attr import s +from typing import Optional, List +from jstruct import JList, JStruct + + +@s(auto_attribs=True) +class PackageIdentifierType: + type: Optional[str] = None + value: Optional[str] = None + trackingNumberUniqueId: Optional[str] = None + + +@s(auto_attribs=True) +class AdditionalTrackingInfoType: + hasAssociatedShipments: Optional[bool] = None + nickname: Optional[str] = None + packageIdentifiers: List[PackageIdentifierType] = JList[PackageIdentifierType] + shipmentNotes: Optional[str] = None + + +@s(auto_attribs=True) +class AvailableImageType: + size: Optional[str] = None + type: Optional[str] = None + + +@s(auto_attribs=True) +class ReasonDetailType: + description: Optional[str] = None + type: Optional[str] = None + + +@s(auto_attribs=True) +class ConsolidationDetailType: + timeStamp: Optional[str] = None + consolidationID: Optional[int] = None + reasonDetail: Optional[ReasonDetailType] = JStruct[ReasonDetailType] + packageCount: Optional[int] = None + eventType: Optional[str] = None + + +@s(auto_attribs=True) +class EstimatedDeliveryTimeWindowWindowType: + begins: Optional[str] = None + ends: Optional[str] = None + + +@s(auto_attribs=True) +class EstimatedDeliveryTimeWindowElementType: + description: Optional[str] = None + window: Optional[EstimatedDeliveryTimeWindowWindowType] = JStruct[EstimatedDeliveryTimeWindowWindowType] + type: Optional[str] = None + + +@s(auto_attribs=True) +class RequestedAppointmentDetailType: + date: Optional[str] = None + window: List[EstimatedDeliveryTimeWindowElementType] = JList[EstimatedDeliveryTimeWindowElementType] + + +@s(auto_attribs=True) +class CustomDeliveryOptionType: + requestedAppointmentDetail: Optional[RequestedAppointmentDetailType] = JStruct[RequestedAppointmentDetailType] + description: Optional[str] = None + type: Optional[str] = None + status: Optional[str] = None + + +@s(auto_attribs=True) +class DateAndTimeType: + dateTime: Optional[str] = None + type: Optional[str] = None + + +@s(auto_attribs=True) +class LastUpdatedDestinationAddressType: + addressClassification: Optional[str] = None + residential: Optional[bool] = None + streetLines: List[str] = [] + city: Optional[str] = None + urbanizationCode: Optional[str] = None + stateOrProvinceCode: Optional[str] = None + postalCode: Optional[int] = None + countryCode: Optional[str] = None + countryName: Optional[str] = None + + +@s(auto_attribs=True) +class DeliveryOptionEligibilityDetailType: + option: Optional[str] = None + eligibility: Optional[str] = None + + +@s(auto_attribs=True) +class DeliveryDetailsType: + receivedByName: Optional[str] = None + destinationServiceArea: Optional[str] = None + destinationServiceAreaDescription: Optional[str] = None + locationDescription: Optional[str] = None + actualDeliveryAddress: Optional[LastUpdatedDestinationAddressType] = JStruct[LastUpdatedDestinationAddressType] + deliveryToday: Optional[bool] = None + locationType: Optional[str] = None + signedByName: Optional[str] = None + officeOrderDeliveryMethod: Optional[str] = None + deliveryAttempts: Optional[int] = None + deliveryOptionEligibilityDetails: List[DeliveryOptionEligibilityDetailType] = JList[DeliveryOptionEligibilityDetailType] + + +@s(auto_attribs=True) +class ContactType: + personName: Optional[str] = None + phoneNumber: Optional[int] = None + companyName: Optional[str] = None + + +@s(auto_attribs=True) +class RecipientInformationType: + contact: Optional[ContactType] = JStruct[ContactType] + address: Optional[LastUpdatedDestinationAddressType] = JStruct[LastUpdatedDestinationAddressType] + + +@s(auto_attribs=True) +class LocationType: + locationId: Optional[str] = None + locationContactAndAddress: Optional[RecipientInformationType] = JStruct[RecipientInformationType] + locationType: Optional[str] = None + + +@s(auto_attribs=True) +class DistanceToDestinationType: + units: Optional[str] = None + value: Optional[float] = None + + +@s(auto_attribs=True) +class ParameterListType: + value: Optional[str] = None + key: Optional[str] = None + + +@s(auto_attribs=True) +class ErrorType: + code: Optional[str] = None + parameterList: List[ParameterListType] = JList[ParameterListType] + message: Optional[str] = None + + +@s(auto_attribs=True) +class InformationNoteType: + code: Optional[str] = None + description: Optional[str] = None + + +@s(auto_attribs=True) +class AncillaryDetailType: + reason: Optional[int] = None + reasonDescription: Optional[str] = None + action: Optional[str] = None + actionDescription: Optional[str] = None + + +@s(auto_attribs=True) +class DelayDetailType: + type: Optional[str] = None + subType: Optional[str] = None + status: Optional[str] = None + + +@s(auto_attribs=True) +class LatestStatusDetailType: + scanLocation: Optional[LastUpdatedDestinationAddressType] = JStruct[LastUpdatedDestinationAddressType] + code: Optional[str] = None + derivedCode: Optional[str] = None + ancillaryDetails: List[AncillaryDetailType] = JList[AncillaryDetailType] + statusByLocale: Optional[str] = None + description: Optional[str] = None + delayDetail: Optional[DelayDetailType] = JStruct[DelayDetailType] + + +@s(auto_attribs=True) +class DeclaredValueType: + currency: Optional[str] = None + value: Optional[float] = None + + +@s(auto_attribs=True) +class DimensionType: + length: Optional[int] = None + width: Optional[int] = None + height: Optional[int] = None + units: Optional[str] = None + + +@s(auto_attribs=True) +class WeightType: + unit: Optional[str] = None + value: Optional[str] = None + + +@s(auto_attribs=True) +class WeightAndDimensionsType: + weight: List[WeightType] = JList[WeightType] + dimensions: List[DimensionType] = JList[DimensionType] + + +@s(auto_attribs=True) +class PackageDetailsType: + physicalPackagingType: Optional[str] = None + sequenceNumber: Optional[int] = None + undeliveredCount: Optional[int] = None + packagingDescription: Optional[ReasonDetailType] = JStruct[ReasonDetailType] + count: Optional[int] = None + weightAndDimensions: Optional[WeightAndDimensionsType] = JStruct[WeightAndDimensionsType] + packageContent: List[str] = [] + contentPieceCount: Optional[int] = None + declaredValue: Optional[DeclaredValueType] = JStruct[DeclaredValueType] + + +@s(auto_attribs=True) +class PieceCountType: + count: Optional[int] = None + description: Optional[str] = None + type: Optional[str] = None + + +@s(auto_attribs=True) +class ReturnDetailType: + authorizationName: Optional[str] = None + reasonDetail: List[ReasonDetailType] = JList[ReasonDetailType] + + +@s(auto_attribs=True) +class ScanEventType: + date: Optional[str] = None + derivedStatus: Optional[str] = None + scanLocation: Optional[LastUpdatedDestinationAddressType] = JStruct[LastUpdatedDestinationAddressType] + locationId: Optional[str] = None + locationType: Optional[str] = None + exceptionDescription: Optional[str] = None + eventDescription: Optional[str] = None + eventType: Optional[str] = None + derivedStatusCode: Optional[str] = None + exceptionCode: Optional[str] = None + delayDetail: Optional[DelayDetailType] = JStruct[DelayDetailType] + + +@s(auto_attribs=True) +class ServiceCommitMessageType: + message: Optional[str] = None + type: Optional[str] = None + + +@s(auto_attribs=True) +class ServiceDetailType: + description: Optional[str] = None + shortDescription: Optional[str] = None + type: Optional[str] = None + + +@s(auto_attribs=True) +class ContentType: + itemNumber: Optional[str] = None + receivedQuantity: Optional[int] = None + description: Optional[str] = None + partNumber: Optional[str] = None + + +@s(auto_attribs=True) +class SplitShipmentType: + pieceCount: Optional[int] = None + statusDescription: Optional[str] = None + timestamp: Optional[str] = None + statusCode: Optional[str] = None + + +@s(auto_attribs=True) +class ShipmentDetailsType: + contents: List[ContentType] = JList[ContentType] + beforePossessionStatus: Optional[bool] = None + weight: List[WeightType] = JList[WeightType] + contentPieceCount: Optional[int] = None + splitShipments: List[SplitShipmentType] = JList[SplitShipmentType] + + +@s(auto_attribs=True) +class SpecialHandlingType: + description: Optional[str] = None + type: Optional[str] = None + paymentType: Optional[str] = None + + +@s(auto_attribs=True) +class TrackingNumberInfoType: + trackingNumber: Optional[str] = None + carrierCode: Optional[str] = None + trackingNumberUniqueId: Optional[str] = None + + +@s(auto_attribs=True) +class TrackResultType: + trackingNumberInfo: Optional[TrackingNumberInfoType] = JStruct[TrackingNumberInfoType] + additionalTrackingInfo: Optional[AdditionalTrackingInfoType] = JStruct[AdditionalTrackingInfoType] + distanceToDestination: Optional[DistanceToDestinationType] = JStruct[DistanceToDestinationType] + consolidationDetail: List[ConsolidationDetailType] = JList[ConsolidationDetailType] + meterNumber: Optional[int] = None + returnDetail: Optional[ReturnDetailType] = JStruct[ReturnDetailType] + serviceDetail: Optional[ServiceDetailType] = JStruct[ServiceDetailType] + destinationLocation: Optional[LocationType] = JStruct[LocationType] + latestStatusDetail: Optional[LatestStatusDetailType] = JStruct[LatestStatusDetailType] + serviceCommitMessage: Optional[ServiceCommitMessageType] = JStruct[ServiceCommitMessageType] + informationNotes: List[InformationNoteType] = JList[InformationNoteType] + error: Optional[ErrorType] = JStruct[ErrorType] + specialHandlings: List[SpecialHandlingType] = JList[SpecialHandlingType] + availableImages: List[AvailableImageType] = JList[AvailableImageType] + deliveryDetails: Optional[DeliveryDetailsType] = JStruct[DeliveryDetailsType] + scanEvents: List[ScanEventType] = JList[ScanEventType] + dateAndTimes: List[DateAndTimeType] = JList[DateAndTimeType] + packageDetails: Optional[PackageDetailsType] = JStruct[PackageDetailsType] + goodsClassificationCode: Optional[str] = None + holdAtLocation: Optional[LocationType] = JStruct[LocationType] + customDeliveryOptions: List[CustomDeliveryOptionType] = JList[CustomDeliveryOptionType] + estimatedDeliveryTimeWindow: Optional[EstimatedDeliveryTimeWindowElementType] = JStruct[EstimatedDeliveryTimeWindowElementType] + pieceCounts: List[PieceCountType] = JList[PieceCountType] + originLocation: Optional[LocationType] = JStruct[LocationType] + recipientInformation: Optional[RecipientInformationType] = JStruct[RecipientInformationType] + standardTransitTimeWindow: Optional[EstimatedDeliveryTimeWindowElementType] = JStruct[EstimatedDeliveryTimeWindowElementType] + shipmentDetails: Optional[ShipmentDetailsType] = JStruct[ShipmentDetailsType] + reasonDetail: Optional[ReasonDetailType] = JStruct[ReasonDetailType] + availableNotifications: List[str] = [] + shipperInformation: Optional[RecipientInformationType] = JStruct[RecipientInformationType] + lastUpdatedDestinationAddress: Optional[LastUpdatedDestinationAddressType] = JStruct[LastUpdatedDestinationAddressType] + + +@s(auto_attribs=True) +class CompleteTrackResultType: + trackingNumber: Optional[str] = None + trackResults: List[TrackResultType] = JList[TrackResultType] + + +@s(auto_attribs=True) +class OutputType: + completeTrackResults: List[CompleteTrackResultType] = JList[CompleteTrackResultType] + alerts: Optional[str] = None + + +@s(auto_attribs=True) +class TrackingResponseType: + transactionId: Optional[str] = None + customerTransactionId: Optional[str] = None + output: Optional[OutputType] = JStruct[OutputType] diff --git a/modules/connectors/ninja_van/schemas/cancel_request.json b/modules/connectors/ninja_van/schemas/cancel_request.json new file mode 100644 index 0000000000..5d90c5b5de --- /dev/null +++ b/modules/connectors/ninja_van/schemas/cancel_request.json @@ -0,0 +1,9 @@ +{ + "accountNumber": { + "value": "Your account number" + }, + "emailShipment": "false", + "senderCountryCode": "US", + "deletionControl": "DELETE_ALL_PACKAGES", + "trackingNumber": "794953555571" +} \ No newline at end of file diff --git a/modules/connectors/ninja_van/schemas/cancel_response.json b/modules/connectors/ninja_van/schemas/cancel_response.json new file mode 100644 index 0000000000..d7d6efa7d1 --- /dev/null +++ b/modules/connectors/ninja_van/schemas/cancel_response.json @@ -0,0 +1,16 @@ +{ + "transactionId": "624deea6-b709-470c-8c39-4b5511281492", + "customerTransactionId": "AnyCo_order123456789", + "output": { + "cancelledShipment": true, + "cancelledHistory": true, + "successMessage": "Success", + "alerts": [ + { + "code": "SHIP.RECIPIENT.POSTALCITY.MISMATCH", + "alertType": "NOTE", + "message": "Recipient Postal-City Mismatch." + } + ] + } +} \ No newline at end of file diff --git a/modules/connectors/ninja_van/schemas/error.json b/modules/connectors/ninja_van/schemas/error.json deleted file mode 100644 index 9e26dfeeb6..0000000000 --- a/modules/connectors/ninja_van/schemas/error.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/modules/connectors/ninja_van/schemas/error_response.json b/modules/connectors/ninja_van/schemas/error_response.json new file mode 100644 index 0000000000..50a59e7ca9 --- /dev/null +++ b/modules/connectors/ninja_van/schemas/error_response.json @@ -0,0 +1,10 @@ +{ + "transactionId": "624deea6-b709-470c-8c39-4b5511281492", + "customerTransactionId": "AnyCo_order123456789", + "errors": [ + { + "code": "TRACKING.TRACKINGNUMBER.EMPTY", + "message": "Please provide tracking number." + } + ] +} diff --git a/modules/connectors/ninja_van/schemas/paperless_request.json b/modules/connectors/ninja_van/schemas/paperless_request.json new file mode 100644 index 0000000000..4ea362c190 --- /dev/null +++ b/modules/connectors/ninja_van/schemas/paperless_request.json @@ -0,0 +1,19 @@ +{ + "document": { + "workflowName": "ETDPostshipment", + "carrierCode": "ninja_van", + "name": "file.txt", + "contentType": "text/plain", + "meta": { + "shipDocumentType": "COMMERCIAL_INVOICE", + "formCode": "USMCA", + "trackingNumber": "794791292805", + "shipmentDate": "2021-02-17T00:00:00", + "originLocationCode": "GVTKK", + "originCountryCode": "US", + "destinationLocationCode": "JNUA", + "destinationCountryCode": "IN" + } + }, + "attachment": "file.txt" +} diff --git a/modules/connectors/ninja_van/schemas/paperless_response.json b/modules/connectors/ninja_van/schemas/paperless_response.json new file mode 100644 index 0000000000..3497ef2d68 --- /dev/null +++ b/modules/connectors/ninja_van/schemas/paperless_response.json @@ -0,0 +1,12 @@ +{ + "output": { + "meta": { + "documentType": "CO", + "docId": "090493e181586308", + "folderId": [ + "0b0493e1812f8921" + ] + } + }, + "customerTransactionId": "XXXX_XXX123XXXXX" +} \ No newline at end of file diff --git a/modules/connectors/ninja_van/schemas/rating_request.json b/modules/connectors/ninja_van/schemas/rating_request.json new file mode 100644 index 0000000000..afba50f0cb --- /dev/null +++ b/modules/connectors/ninja_van/schemas/rating_request.json @@ -0,0 +1,460 @@ +{ + "accountNumber": { + "value": "Your account number" + }, + "rateRequestControlParameters": { + "returnTransitTimes": false, + "servicesNeededOnRateFailure": true, + "variableOptions": "FREIGHT_GUARANTEE", + "rateSortOrder": "SERVICENAMETRADITIONAL" + }, + "requestedShipment": { + "shipper": { + "address": { + "streetLines": [ + "1550 Union Blvd", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "TN", + "postalCode": "65247", + "countryCode": "US", + "residential": false + } + }, + "recipient": { + "address": { + "streetLines": [ + "1550 Union Blvd", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "TN", + "postalCode": "65247", + "countryCode": "US", + "residential": false + } + }, + "serviceType": "STANDARD_OVERNIGHT", + "emailNotificationDetail": { + "recipients": [ + { + "emailAddress": "string", + "notificationEventType": [ + "ON_DELIVERY" + ], + "smsDetail": null, + "notificationFormatType": "HTML", + "emailNotificationRecipientType": "BROKER", + "notificationType": "EMAIL", + "locale": "string" + } + ], + "personalMessage": "string", + "PrintedReference": { + "printedReferenceType": "BILL_OF_LADING", + "value": "string" + } + }, + "preferredCurrency": "USD", + "rateRequestType": [ + "ACCOUNT", + "LIST" + ], + "shipDateStamp": "2019-09-05", + "pickupType": "DROPOFF_AT_FEDEX_LOCATION", + "requestedPackageLineItems": [ + { + "subPackagingType": "BAG", + "groupPackageCount": 1, + "contentRecord": [ + { + "itemNumber": "string", + "receivedQuantity": 0, + "description": "string", + "partNumber": "string" + } + ], + "declaredValue": { + "amount": "100", + "currency": "USD" + }, + "weight": { + "units": "LB", + "value": 22 + }, + "dimensions": { + "length": 10, + "width": 8, + "height": 2, + "units": "IN" + }, + "variableHandlingChargeDetail": { + "rateType": "ACCOUNT", + "percentValue": 0, + "rateLevelType": "BUNDLED_RATE", + "fixedValue": { + "amount": "100", + "currency": "USD" + }, + "rateElementBasis": "NET_CHARGE" + }, + "packageSpecialServices": { + "specialServiceTypes": [ + "DANGEROUS_GOODS" + ], + "signatureOptionType": [ + "NO_SIGNATURE_REQUIRED" + ], + "alcoholDetail": { + "alcoholRecipientType": "LICENSEE", + "shipperAgreementType": "Retailer" + }, + "dangerousGoodsDetail": { + "offeror": "Offeror Name", + "accessibility": "ACCESSIBLE", + "emergencyContactNumber": "3268545905", + "options": [ + "BATTERY" + ], + "containers": [ + { + "offeror": "Offeror Name", + "hazardousCommodities": [ + { + "innerReceptacles": [] + } + ], + "numberOfContainers": 10, + "containerType": "Copper Box", + "emergencyContactNumber": { + "areaCode": "202", + "extension": "3245", + "countryCode": "US", + "personalIdentificationNumber": "9545678", + "localNumber": "23456" + }, + "packaging": { + "count": 20, + "units": "Liter" + }, + "packingType": "ALL_PACKED_IN_ONE", + "radioactiveContainerClass": "EXCEPTED_PACKAGE" + } + ], + "packaging": { + "count": 20, + "units": "Liter" + } + }, + "packageCODDetail": { + "codCollectionAmount": { + "amount": 12.45, + "currency": "USD" + }, + "codCollectionType": "ANY" + }, + "pieceCountVerificationBoxCount": 0, + "batteryDetails": [ + { + "material": "LITHIUM_METAL", + "regulatorySubType": "IATA_SECTION_II", + "packing": "CONTAINED_IN_EQUIPMENT" + } + ], + "dryIceWeight": { + "units": "LB", + "value": 10 + } + } + } + ], + "documentShipment": false, + "variableHandlingChargeDetail": { + "rateType": "ACCOUNT", + "percentValue": 0, + "rateLevelType": "BUNDLED_RATE", + "fixedValue": { + "amount": "100", + "currency": "USD" + }, + "rateElementBasis": "NET_CHARGE" + }, + "packagingType": "YOUR_PACKAGING", + "totalPackageCount": 3, + "totalWeight": 87.5, + "shipmentSpecialServices": { + "returnShipmentDetail": { + "returnType": "PRINT_RETURN_LABEL" + }, + "deliveryOnInvoiceAcceptanceDetail": { + "recipient": { + "accountNumber": { + "value": 123456789 + }, + "address": { + "streetLines": [ + "10 FedEx Parkway", + "Suite 30" + ], + "countryCode": "US" + }, + "contact": { + "companyName": "FedEx", + "faxNumber": "9013577890", + "personName": "John Taylor", + "phoneNumber": "9013577890" + } + } + }, + "internationalTrafficInArmsRegulationsDetail": { + "licenseOrExemptionNumber": "432345" + }, + "pendingShipmentDetail": { + "pendingShipmentType": "EMAIL", + "processingOptions": { + "options": [ + "ALLOW_MODIFICATIONS" + ] + }, + "recommendedDocumentSpecification": { + "types": [ + "ANTIQUE_STATEMENT_EUROPEAN_UNION" + ] + }, + "emailLabelDetail": { + "recipients": [ + { + "emailAddress": "string", + "optionsRequested": { + "options": [ + "PRODUCE_PAPERLESS_SHIPPING_FORMAT" + ] + }, + "role": "SHIPMENT_COMPLETOR", + "locale": { + "country": "string", + "language": "string" + } + } + ], + "message": "string" + }, + "documentReferences": [ + { + "documentType": "CERTIFICATE_OF_ORIGIN", + "customerReference": "string", + "description": "ShippingDocumentSpecification", + "documentId": "98123" + } + ], + "expirationTimeStamp": "2012-12-31", + "shipmentDryIceDetail": { + "totalWeight": { + "units": "LB", + "value": 10 + }, + "packageCount": 12 + } + }, + "holdAtLocationDetail": { + "locationId": "YBZA", + "locationContactAndAddress": { + "address": { + "streetLines": [ + "10 FedEx Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "38127", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "person name", + "emailAddress": "email address", + "phoneNumber": "phone number", + "phoneExtension": "phone extension", + "companyName": "company name", + "faxNumber": "fax number" + } + }, + "locationType": "FEDEX_ONSITE" + }, + "shipmentCODDetail": { + "addTransportationChargesDetail": { + "rateType": "ACCOUNT", + "rateLevelType": "BUNDLED_RATE", + "chargeLevelType": "CURRENT_PACKAGE", + "chargeType": "COD_SURCHARGE" + }, + "codRecipient": { + "accountNumber": { + "value": 123456789 + } + }, + "remitToName": "FedEx", + "codCollectionType": "ANY", + "financialInstitutionContactAndAddress": { + "address": { + "streetLines": [ + "10 FedEx Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "38127", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "person name", + "emailAddress": "email address", + "phoneNumber": "phone number", + "phoneExtension": "phone extension", + "companyName": "company name", + "faxNumber": "fax number" + } + }, + "returnReferenceIndicatorType": "INVOICE" + }, + "shipmentDryIceDetail": { + "totalWeight": { + "units": "LB", + "value": 10 + }, + "packageCount": 12 + }, + "internationalControlledExportDetail": { + "type": "DEA_036" + }, + "homeDeliveryPremiumDetail": { + "phoneNumber": { + "areaCode": "areaCode", + "extension": "extension", + "countryCode": "countryCode", + "personalIdentificationNumber": "personalIdentificationNumber", + "localNumber": "localNumber" + }, + "shipTimestamp": "2020-04-24", + "homedeliveryPremiumType": "APPOINTMENT" + }, + "specialServiceTypes": [ + "BROKER_SELECT_OPTION" + ] + }, + "customsClearanceDetail": { + "brokers": [ + { + "broker": { + "accountNumber": { + "value": 123456789 + }, + "address": null, + "contact": null + }, + "type": "EXPORT", + "brokerCommitTimestamp": "2019-07-22", + "brokerCommitDayOfWeek": "SUNDAY", + "brokerLocationId": "brokerLocationId", + "brokerAddress": { + "streetLines": [ + "10 FedEx Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "90210", + "countryCode": "US", + "residential": false, + "classification": "residential", + "geographicCoordinates": "geographicCoordinates", + "urbanizationCode": "code", + "countryName": "India" + }, + "brokerToDestinationDays": 10 + } + ], + "commercialInvoice": { + "shipmentPurpose": "GIFT" + }, + "freightOnValue": "CARRIER_RISK", + "dutiesPayment": { + "payor": { + "responsibleParty": { + "address": { + "streetLines": [ + "10 FedEx Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "90210", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "John Taylor", + "emailAddress": "sample@company.com", + "phoneNumber": "1234567890", + "phoneExtension": "phone extension", + "companyName": "Fedex", + "faxNumber": "fax number" + }, + "accountNumber": { + "value": "123456789" + } + } + }, + "paymentType": "SENDER" + }, + "commodities": [ + { + "description": "DOCUMENTS", + "weight": { + "units": "LB", + "value": 22 + }, + "quantity": 1, + "customsValue": { + "amount": "100", + "currency": "USD" + }, + "unitPrice": { + "amount": "100", + "currency": "USD" + }, + "numberOfPieces": 1, + "countryOfManufacture": "US", + "quantityUnits": "PCS", + "name": "DOCUMENTS", + "harmonizedCode": "080211", + "partNumber": "P1" + } + ] + }, + "groupShipment": true, + "serviceTypeDetail": { + "carrierCode": "ninja_van", + "description": "string", + "serviceName": "string", + "serviceCategory": "string" + }, + "smartPostInfoDetail": { + "ancillaryEndorsement": "ADDRESS_CORRECTION", + "hubId": "5531", + "indicia": "MEDIA_MAIL", + "specialServices": "USPS_DELIVERY_CONFIRMATION" + }, + "expressFreightDetail": { + "bookingConfirmationNumber": "string", + "shippersLoadAndCount": 0 + }, + "groundShipment": false + }, + "carrierCodes": [ + "ninja_van" + ] + +} diff --git a/modules/connectors/ninja_van/schemas/rating_response.json b/modules/connectors/ninja_van/schemas/rating_response.json new file mode 100644 index 0000000000..8f4572f81b --- /dev/null +++ b/modules/connectors/ninja_van/schemas/rating_response.json @@ -0,0 +1,1149 @@ +{ + "transactionId": "624deea6-b709-470c-8c39-4b5511281492", + "customerTransactionId": "AnyCo_order123456789", + "output": { + "rateReplyDetails": [ + { + "serviceType": "INTERNATIONAL_FIRST", + "serviceName": "NinjaVan International First", + "packagingType": "YOUR_PACKAGING", + "customerMessages": [ + { + "code": "SERVICE.TYPE.INTERNATIONAL.MESSAGE", + "message": "Rate does not include duties & taxes, clearance entry fees or other import fees. The payor of duties/taxes/fees will be responsible for any applicable Clearance Entry Fees." + }, + { + "code": "EDT.DETAILS.MISSING", + "message": "The harmonized code for the commodity at array index 1 is missing or invalid; estimated duties and taxes were not returned." + } + ], + "ratedShipmentDetails": [ + { + "rateType": "ACCOUNT", + "ratedWeightMethod": "ACTUAL", + "totalDiscounts": 0.0, + "totalBaseCharge": 403.2, + "totalNetCharge": 445.54, + "totalVatCharge": 0.0, + "totalNetFedExCharge": 445.54, + "totalDutiesAndTaxes": 0.0, + "totalNetChargeWithDutiesAndTaxes": 445.54, + "totalDutiesTaxesAndFees": 0.0, + "totalAncillaryFeesAndTaxes": 0.0, + "shipmentRateDetail": { + "rateZone": "CA003O", + "dimDivisor": 0.0, + "fuelSurchargePercent": 10.5, + "totalSurcharges": 42.34, + "totalFreightDiscount": 0.0, + "surCharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "amount": 42.34 + } + ], + "pricingCode": "ACTUAL", + "currencyExchangeRate": { + "fromCurrency": "CAD", + "intoCurrency": "CAD", + "rate": 1.0 + }, + "totalBillingWeight": { + "units": "LB", + "value": 22.0 + }, + "currency": "CAD" + }, + "currency": "CAD" + }, + { + "rateType": "LIST", + "ratedWeightMethod": "ACTUAL", + "totalDiscounts": 0.0, + "totalBaseCharge": 403.2, + "totalNetCharge": 445.54, + "totalVatCharge": 0.0, + "totalNetFedExCharge": 445.54, + "totalDutiesAndTaxes": 0.0, + "totalNetChargeWithDutiesAndTaxes": 445.54, + "totalDutiesTaxesAndFees": 0.0, + "totalAncillaryFeesAndTaxes": 0.0, + "shipmentRateDetail": { + "rateZone": "CA003O", + "dimDivisor": 0.0, + "fuelSurchargePercent": 10.5, + "totalSurcharges": 42.34, + "totalFreightDiscount": 0.0, + "surCharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "amount": 42.34 + } + ], + "pricingCode": "ACTUAL", + "currencyExchangeRate": { + "fromCurrency": "CAD", + "intoCurrency": "CAD", + "rate": 1.0 + }, + "totalBillingWeight": { + "units": "LB", + "value": 22.0 + }, + "currency": "CAD" + }, + "currency": "CAD" + }, + { + "rateType": "PREFERRED_INCENTIVE", + "ratedWeightMethod": "ACTUAL", + "totalDiscounts": 0.0, + "totalBaseCharge": 308.71, + "totalNetCharge": 341.13, + "totalVatCharge": 0.0, + "totalNetFedExCharge": 341.13, + "totalDutiesAndTaxes": 0.0, + "totalNetChargeWithDutiesAndTaxes": 341.13, + "totalDutiesTaxesAndFees": 0.0, + "totalAncillaryFeesAndTaxes": 0.0, + "shipmentRateDetail": { + "rateZone": "CA003O", + "dimDivisor": 0.0, + "fuelSurchargePercent": 10.5, + "totalSurcharges": 32.42, + "totalFreightDiscount": 0.0, + "surCharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "amount": 32.42 + } + ], + "pricingCode": "ACTUAL", + "currencyExchangeRate": { + "fromCurrency": "CAD", + "intoCurrency": "USD", + "rate": 0.77 + }, + "totalBillingWeight": { + "units": "LB", + "value": 22.0 + }, + "currency": "USD" + }, + "currency": "USD" + }, + { + "rateType": "PREFERRED_CURRENCY", + "ratedWeightMethod": "ACTUAL", + "totalDiscounts": 0.0, + "totalBaseCharge": 308.71, + "totalNetCharge": 341.13, + "totalVatCharge": 0.0, + "totalNetFedExCharge": 341.13, + "totalDutiesAndTaxes": 0.0, + "totalNetChargeWithDutiesAndTaxes": 341.13, + "totalDutiesTaxesAndFees": 0.0, + "totalAncillaryFeesAndTaxes": 0.0, + "shipmentRateDetail": { + "rateZone": "CA003O", + "dimDivisor": 0.0, + "fuelSurchargePercent": 10.5, + "totalSurcharges": 32.42, + "totalFreightDiscount": 0.0, + "surCharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "amount": 32.42 + } + ], + "pricingCode": "ACTUAL", + "currencyExchangeRate": { + "fromCurrency": "CAD", + "intoCurrency": "USD", + "rate": 0.77 + }, + "totalBillingWeight": { + "units": "LB", + "value": 22 + }, + "currency": "USD" + }, + "currency": "USD" + } + ], + "anonymouslyAllowable": true, + "operationalDetail": { + "originLocationIds": "COSA", + "commitDays": "", + "serviceCode": "92", + "airportId": "MEM", + "scac": "", + "originServiceAreas": "AM", + "deliveryDay": "TUE", + "originLocationNumbers": 1162, + "destinationPostalCode": "38125", + "commitDate": "2019-07-22T08:30:00", + "astraDescription": "INTL1ST", + "deliveryDate": "", + "deliveryEligibilities": "", + "ineligibleForMoneyBackGuarantee": false, + "maximumTransitTime": "", + "astraPlannedServiceLevel": "", + "destinationLocationIds": "EHTA", + "destinationLocationStateOrProvinceCodes": "CT", + "transitTime": "THREE_DAYS", + "packagingCode": "02", + "destinationLocationNumbers": 892, + "publishedDeliveryTime": "06:30:00", + "countryCodes": "US", + "stateOrProvinceCodes": "TX", + "ursaPrefixCode": "82", + "ursaSuffixCode": "EHTA", + "destinationServiceAreas": "AA", + "originPostalCodes": "75063", + "customTransitTime": "" + }, + "signatureOptionType": "SERVICE_DEFAULT", + "serviceDescription": { + "serviceId": "EP1000000007", + "serviceType": "INTERNATIONAL_FIRST", + "code": "06", + "names": [ + { + "type": "long", + "encoding": "utf-8", + "value": "Ninja Van International First®" + }, + { + "type": "long", + "encoding": "ascii", + "value": "Ninja Van International First" + }, + { + "type": "medium", + "encoding": "utf-8", + "value": "Ninja Van International First®" + }, + { + "type": "medium", + "encoding": "ascii", + "value": "Ninja Van International First" + }, + { + "type": "short", + "encoding": "utf-8", + "value": "FO" + }, + { + "type": "short", + "encoding": "ascii", + "value": "FO" + }, + { + "type": "abbrv", + "encoding": "ascii", + "value": "FO" + } + ], + "operatingOrgCodes": [ + "FXE" + ], + "serviceCategory": "parcel", + "description": "International First", + "astraDescription": "INTL1ST" + }, + "commit": { + "dateDetail": { + "dayOfWeek": "THU", + "dayCxsFormat": "2020-07-16T10:30:00" + } + } + }, + { + "serviceType": "INTERNATIONAL_PRIORITY", + "serviceName": "Ninja Van International Priority", + "packagingType": "YOUR_PACKAGING", + "customerMessages": [ + { + "code": "SERVICE.TYPE.INTERNATIONAL.MESSAGE", + "message": "Rate does not include duties & taxes, clearance entry fees or other import fees. The payor of duties/taxes/fees will be responsible for any applicable Clearance Entry Fees." + }, + { + "code": "EDT.DETAILS.MISSING", + "message": "The harmonized code for the commodity at array index 1 is missing or invalid; estimated duties and taxes were not returned." + } + ], + "ratedShipmentDetails": [ + { + "rateType": "ACCOUNT", + "ratedWeightMethod": "ACTUAL", + "totalDiscounts": 0.0, + "totalBaseCharge": 312.35, + "totalNetCharge": 345.15, + "totalVatCharge": 0.0, + "totalNetFedExCharge": 345.15, + "totalDutiesAndTaxes": 0.0, + "totalNetChargeWithDutiesAndTaxes": 345.15, + "totalDutiesTaxesAndFees": 0.0, + "totalAncillaryFeesAndTaxes": 0.0, + "shipmentRateDetail": { + "rateZone": "CA003O", + "dimDivisor": 0.0, + "fuelSurchargePercent": 10.5, + "totalSurcharges": 32.8, + "totalFreightDiscount": 0.0, + "surCharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "amount": 32.8 + } + ], + "pricingCode": "ACTUAL", + "currencyExchangeRate": { + "fromCurrency": "CAD", + "intoCurrency": "CAD", + "rate": 1 + }, + "totalBillingWeight": { + "units": "LB", + "value": 22 + }, + "currency": "CAD" + }, + "currency": "CAD" + }, + { + "rateType": "LIST", + "ratedWeightMethod": "ACTUAL", + "totalDiscounts": 0.0, + "totalBaseCharge": 78.99, + "totalNetCharge": 87.28, + "totalVatCharge": 0.0, + "totalNetFedExCharge": 87.28, + "totalDutiesAndTaxes": 0.0, + "totalNetChargeWithDutiesAndTaxes": 87.28, + "totalDutiesTaxesAndFees": 0.0, + "totalAncillaryFeesAndTaxes": 0.0, + "shipmentRateDetail": { + "rateZone": "CA1520", + "dimDivisor": 0.0, + "fuelSurchargePercent": 10.5, + "totalSurcharges": 8.29, + "totalFreightDiscount": 0.0, + "surCharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "amount": 8.29 + } + ], + "pricingCode": "ACTUAL", + "currencyExchangeRate": { + "fromCurrency": "CAD", + "intoCurrency": "CAD", + "rate": 1 + }, + "totalBillingWeight": { + "units": "LB", + "value": 22 + }, + "currency": "CAD" + }, + "currency": "CAD" + }, + { + "rateType": "PREFERRED_INCENTIVE", + "ratedWeightMethod": "ACTUAL", + "totalDiscounts": 0.0, + "totalBaseCharge": 60.48, + "totalNetCharge": 66.83, + "totalVatCharge": 0.0, + "totalNetFedExCharge": 66.83, + "totalDutiesAndTaxes": 0.0, + "totalNetChargeWithDutiesAndTaxes": 66.83, + "totalDutiesTaxesAndFees": 0.0, + "totalAncillaryFeesAndTaxes": 0.0, + "shipmentRateDetail": { + "rateZone": "CA1520", + "dimDivisor": 0.0, + "fuelSurchargePercent": 10.5, + "totalSurcharges": 6.3, + "totalFreightDiscount": 0.0, + "surCharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "amount": 6.35 + } + ], + "pricingCode": "ACTUAL", + "currencyExchangeRate": { + "fromCurrency": "CAD", + "intoCurrency": "USD", + "rate": 0.77 + }, + "totalBillingWeight": { + "units": "LB", + "value": 22 + }, + "currency": "USD" + }, + "currency": "USD" + }, + { + "rateType": "PREFERRED_CURRENCY", + "ratedWeightMethod": "ACTUAL", + "totalDiscounts": 0.0, + "totalBaseCharge": 239.15, + "totalNetCharge": 264.26, + "totalVatCharge": 0.0, + "totalNetFedExCharge": 264.26, + "totalDutiesAndTaxes": 0.0, + "totalNetChargeWithDutiesAndTaxes": 264.26, + "totalDutiesTaxesAndFees": 0.0, + "totalAncillaryFeesAndTaxes": 0.0, + "shipmentRateDetail": { + "rateZone": "CA003O", + "dimDivisor": 0.0, + "fuelSurchargePercent": 10.5, + "totalSurcharges": 25.11, + "totalFreightDiscount": 0.0, + "surCharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "amount": 25.11 + } + ], + "pricingCode": "ACTUAL", + "currencyExchangeRate": { + "fromCurrency": "CAD", + "intoCurrency": "USD", + "rate": 0.77 + }, + "totalBillingWeight": { + "units": "LB", + "value": 22 + }, + "currency": "USD" + }, + "currency": "USD" + } + ], + "anonymouslyAllowable": true, + "operationalDetail": { + "ineligibleForMoneyBackGuarantee": false, + "astraDescription": "IP", + "airportId": "MEM", + "serviceCode": "01", + "originLocationIds": "COSA", + "commitDays": "", + "scac": "", + "originServiceAreas": "AM", + "deliveryDay": "TUE", + "originLocationNumbers": 1162, + "destinationPostalCode": "38125", + "commitDate": "2019-07-22T08:30:00", + "deliveryDate": "", + "deliveryEligibilities": "", + "maximumTransitTime": "", + "astraPlannedServiceLevel": "", + "destinationLocationIds": "EHTA", + "destinationLocationStateOrProvinceCodes": "CT", + "transitTime": "THREE_DAYS", + "packagingCode": "02", + "destinationLocationNumbers": 892, + "publishedDeliveryTime": "06:30:00", + "countryCodes": "US", + "stateOrProvinceCodes": "TX", + "ursaPrefixCode": "82", + "ursaSuffixCode": "EHTA", + "destinationServiceAreas": "AA", + "originPostalCodes": "75063", + "customTransitTime": "" + }, + "signatureOptionType": "SERVICE_DEFAULT", + "serviceDescription": { + "serviceId": "EP1000000001", + "serviceType": "INTERNATIONAL_PRIORITY", + "code": "01", + "names": [ + { + "type": "long", + "encoding": "utf-8", + "value": "Ninja Van International Priority®" + }, + { + "type": "long", + "encoding": "ascii", + "value": "Ninja Van International Priority" + }, + { + "type": "medium", + "encoding": "utf-8", + "value": "Ninja Van International Priority®" + }, + { + "type": "medium", + "encoding": "ascii", + "value": "Ninja Van International Priority" + }, + { + "type": "short", + "encoding": "utf-8", + "value": "IP" + }, + { + "type": "short", + "encoding": "ascii", + "value": "IP" + }, + { + "type": "abbrv", + "encoding": "ascii", + "value": "IP" + } + ], + "operatingOrgCodes": [ + "FXE" + ], + "serviceCategory": "parcel", + "description": "International Priority", + "astraDescription": "IP" + }, + "commit": { + "dateDetail": { + "dayOfWeek": "FRI", + "dayCxsFormat": "2020-07-16T10:30:00" + } + } + }, + { + "serviceType": "INTERNATIONAL_ECONOMY", + "serviceName": "Ninja Van International Economy", + "packagingType": "YOUR_PACKAGING", + "customerMessages": [ + { + "code": "SERVICE.TYPE.INTERNATIONAL.MESSAGE", + "message": "Rate does not include duties & taxes, clearance entry fees or other import fees. The payor of duties/taxes/fees will be responsible for any applicable Clearance Entry Fees." + }, + { + "code": "EDT.DETAILS.MISSING", + "message": "The harmonized code for the commodity at array index 1 is missing or invalid; estimated duties and taxes were not returned." + } + ], + "ratedShipmentDetails": [ + { + "rateType": "ACCOUNT", + "ratedWeightMethod": "ACTUAL", + "totalDiscounts": 0.0, + "totalBaseCharge": 189.65, + "totalNetCharge": 209.56, + "totalVatCharge": 0.0, + "totalNetFedExCharge": 209.56, + "totalDutiesAndTaxes": 0.0, + "totalNetChargeWithDutiesAndTaxes": 209.56, + "totalDutiesTaxesAndFees": 0.0, + "totalAncillaryFeesAndTaxes": 0.0, + "shipmentRateDetail": { + "rateZone": "CA003O", + "dimDivisor": 0.0, + "fuelSurchargePercent": 10.5, + "totalSurcharges": 19.91, + "totalFreightDiscount": 0.0, + "surCharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "amount": 19.91 + } + ], + "pricingCode": "ACTUAL", + "currencyExchangeRate": { + "fromCurrency": "CAD", + "intoCurrency": "CAD", + "rate": 1 + }, + "totalBillingWeight": { + "units": "LB", + "value": 22 + }, + "currency": "CAD" + }, + "currency": "CAD" + }, + { + "rateType": "LIST", + "ratedWeightMethod": "ACTUAL", + "totalDiscounts": 0.0, + "totalBaseCharge": 48.56, + "totalNetCharge": 53.66, + "totalVatCharge": 0.0, + "totalNetFedExCharge": 53.66, + "totalDutiesAndTaxes": 0.0, + "totalNetChargeWithDutiesAndTaxes": 53.66, + "totalDutiesTaxesAndFees": 0.0, + "totalAncillaryFeesAndTaxes": 0.0, + "shipmentRateDetail": { + "rateZone": "CA1520", + "dimDivisor": 0.0, + "fuelSurchargePercent": 10.5, + "totalSurcharges": 5.1, + "totalFreightDiscount": 0.0, + "surCharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "amount": 5.1 + } + ], + "pricingCode": "ACTUAL", + "currencyExchangeRate": { + "fromCurrency": "CAD", + "intoCurrency": "CAD", + "rate": 1 + }, + "totalBillingWeight": { + "units": "LB", + "value": 22 + }, + "currency": "CAD" + }, + "currency": "CAD" + }, + { + "rateType": "PREFERRED_INCENTIVE", + "ratedWeightMethod": "ACTUAL", + "totalDiscounts": 0.0, + "totalBaseCharge": 37.18, + "totalNetCharge": 41.08, + "totalVatCharge": 0.0, + "totalNetFedExCharge": 41.08, + "totalDutiesAndTaxes": 0.0, + "totalNetChargeWithDutiesAndTaxes": 41.08, + "totalDutiesTaxesAndFees": 0.0, + "totalAncillaryFeesAndTaxes": 0.0, + "shipmentRateDetail": { + "rateZone": "CA1520", + "dimDivisor": 0.0, + "fuelSurchargePercent": 10.5, + "totalSurcharges": 3.9, + "totalFreightDiscount": 0.0, + "surCharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "amount": 3.9 + } + ], + "pricingCode": "ACTUAL", + "currencyExchangeRate": { + "fromCurrency": "CAD", + "intoCurrency": "USD", + "rate": 0.77 + }, + "totalBillingWeight": { + "units": "LB", + "value": 22 + }, + "currency": "USD" + }, + "currency": "USD" + }, + { + "rateType": "PREFERRED_CURRENCY", + "ratedWeightMethod": "ACTUAL", + "totalDiscounts": 0.0, + "totalBaseCharge": 145.21, + "totalNetCharge": 160.45, + "totalVatCharge": 0.0, + "totalNetFedExCharge": 160.45, + "totalDutiesAndTaxes": 0.0, + "totalNetChargeWithDutiesAndTaxes": 160.45, + "totalDutiesTaxesAndFees": 0.0, + "totalAncillaryFeesAndTaxes": 0.0, + "shipmentRateDetail": { + "rateZone": "CA003O", + "dimDivisor": 0.0, + "fuelSurchargePercent": 10.5, + "totalSurcharges": 15.24, + "totalFreightDiscount": 0.0, + "surCharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "amount": 15.24 + } + ], + "pricingCode": "ACTUAL", + "currencyExchangeRate": { + "fromCurrency": "CAD", + "intoCurrency": "USD", + "rate": 0.77 + }, + "totalBillingWeight": { + "units": "LB", + "value": 22 + }, + "currency": "USD" + }, + "currency": "USD" + } + ], + "anonymouslyAllowable": true, + "operationalDetail": { + "ineligibleForMoneyBackGuarantee": false, + "astraDescription": "IE", + "airportId": "MEM", + "serviceCode": "03", + "originLocationIds": "COSA", + "originServiceAreas": "AM", + "deliveryDay": "TUE", + "originLocationNumbers": 1162, + "destinationPostalCode": "38125", + "destinationLocationIds": "EHTA", + "destinationLocationStateOrProvinceCodes": "CT", + "transitTime": "THREE_DAYS", + "packagingCode": "02", + "destinationLocationNumbers": 892, + "publishedDeliveryTime": "06:30:00", + "countryCodes": "US", + "stateOrProvinceCodes": "TX", + "ursaPrefixCode": "82", + "ursaSuffixCode": "EHTA", + "destinationServiceAreas": "AA", + "originPostalCodes": "75063" + }, + "signatureOptionType": "SERVICE_DEFAULT", + "serviceDescription": { + "serviceId": "EP1000000004", + "serviceType": "INTERNATIONAL_ECONOMY", + "code": "03", + "names": [ + { + "type": "long", + "encoding": "utf-8", + "value": "Ninja Van International Economy®" + }, + { + "type": "long", + "encoding": "ascii", + "value": "Ninja Van International Economy" + }, + { + "type": "medium", + "encoding": "utf-8", + "value": "Ninja Van International Economy®" + }, + { + "type": "medium", + "encoding": "ascii", + "value": "Ninja Van International Economy" + }, + { + "type": "short", + "encoding": "utf-8", + "value": "IE" + }, + { + "type": "short", + "encoding": "ascii", + "value": "IE" + }, + { + "type": "abbrv", + "encoding": "ascii", + "value": "IE" + } + ], + "operatingOrgCodes": [ + "FXE" + ], + "serviceCategory": "parcel", + "description": "International Two Day", + "astraDescription": "IE" + } + }, + { + "serviceType": "Ninja Van_GROUND", + "serviceName": "Ninja Van International Ground�", + "packagingType": "YOUR_PACKAGING", + "customerMessages": [ + { + "code": "SERVICE.TYPE.INTERNATIONAL.MESSAGE", + "message": "Rate does not include duties & taxes, clearance entry fees or other import fees. The payor of duties/taxes/fees will be responsible for any applicable Clearance Entry Fees." + }, + { + "code": "EDT.DETAILS.MISSING", + "message": "The harmonized code for the commodity at array index 1 is missing or invalid; estimated duties and taxes were not returned." + } + ], + "ratedShipmentDetails": [ + { + "rateType": "ACCOUNT", + "ratedWeightMethod": "ACTUAL", + "totalDiscounts": 2.79, + "totalBaseCharge": 49.85, + "totalNetCharge": 53.59, + "totalVatCharge": 0.0, + "totalNetFedExCharge": 53.59, + "totalDutiesAndTaxes": 0.0, + "totalNetChargeWithDutiesAndTaxes": 53.59, + "totalDutiesTaxesAndFees": 0.0, + "totalAncillaryFeesAndTaxes": 0.0, + "shipmentRateDetail": { + "rateZone": "52", + "dimDivisor": 0.0, + "fuelSurchargePercent": 7.5, + "totalSurcharges": 3.74, + "totalFreightDiscount": 0.0, + "surCharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "level": "PACKAGE", + "amount": 3.74 + } + ], + "totalBillingWeight": { + "units": "LB", + "value": 22 + }, + "currency": "CAD" + }, + "ratedPackages": [ + { + "groupNumber": 0.0, + "effectiveNetDiscount": 2.79, + "packageRateDetail": { + "rateType": "PAYOR_ACCOUNT_PACKAGE", + "ratedWeightMethod": "ACTUAL", + "baseCharge": 49.85, + "netFreight": 49.85, + "totalSurcharges": 3.74, + "netFedExCharge": 53.59, + "totalTaxes": 0.0, + "netCharge": 53.59, + "totalRebates": 0.0, + "billingWeight": { + "units": "LB", + "value": 22 + }, + "totalFreightDiscounts": 0.0, + "surcharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "level": "PACKAGE", + "amount": 3.74 + } + ], + "currency": "CAD" + } + } + ], + "currency": "CAD" + }, + { + "rateType": "PREFERRED_INCENTIVE", + "ratedWeightMethod": "ACTUAL", + "totalDiscounts": 0.0, + "totalBaseCharge": 40.16, + "totalNetCharge": 43.17, + "totalVatCharge": 0.0, + "totalNetFedExCharge": 43.17, + "totalDutiesAndTaxes": 0.0, + "totalNetChargeWithDutiesAndTaxes": 43.17, + "totalDutiesTaxesAndFees": 0.0, + "totalAncillaryFeesAndTaxes": 0.0, + "shipmentRateDetail": { + "rateZone": "52", + "dimDivisor": 0.0, + "fuelSurchargePercent": 7.5, + "totalSurcharges": 3.01, + "totalFreightDiscount": 0.0, + "surCharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "level": "PACKAGE", + "amount": 3.01 + } + ], + "currencyExchangeRate": { + "fromCurrency": "CAD", + "intoCurrency": "USD", + "rate": 0.77 + }, + "totalBillingWeight": { + "units": "LB", + "value": 22 + }, + "currency": "USD" + }, + "ratedPackages": [ + { + "groupNumber": 0.0, + "effectiveNetDiscount": 0.0, + "packageRateDetail": { + "rateType": "PREFERRED_LIST_PACKAGE", + "ratedWeightMethod": "ACTUAL", + "baseCharge": 40.16, + "netFreight": 40.16, + "totalSurcharges": 3.01, + "netFedExCharge": 43.17, + "totalTaxes": 0.0, + "netCharge": 43.17, + "totalRebates": 0.0, + "billingWeight": { + "units": "LB", + "value": 22 + }, + "totalFreightDiscounts": 0.0, + "surcharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "level": "PACKAGE", + "amount": 3.01 + } + ], + "currency": "USD" + } + } + ] + }, + { + "rateType": "PREFERRED_CURRENCY", + "ratedWeightMethod": "ACTUAL", + "totalDiscounts": 0.0, + "totalBaseCharge": 38.17, + "totalNetCharge": 41.03, + "totalVatCharge": 0.0, + "totalNetFedExCharge": 41.03, + "totalDutiesAndTaxes": 0.0, + "totalNetChargeWithDutiesAndTaxes": 41.03, + "totalDutiesTaxesAndFees": 0.0, + "totalAncillaryFeesAndTaxes": 0.0, + "shipmentRateDetail": { + "rateZone": "52", + "dimDivisor": 0.0, + "fuelSurchargePercent": 7.5, + "totalSurcharges": 2.86, + "totalFreightDiscount": 0.0, + "surCharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "level": "PACKAGE", + "amount": 2.86 + } + ], + "currencyExchangeRate": { + "fromCurrency": "CAD", + "intoCurrency": "USD", + "rate": 0.77 + }, + "totalBillingWeight": { + "units": "LB", + "value": 22 + }, + "currency": "USD" + }, + "ratedPackages": [ + { + "groupNumber": 0.0, + "effectiveNetDiscount": 0.0, + "packageRateDetail": { + "rateType": "PREFERRED_ACCOUNT_PACKAGE", + "ratedWeightMethod": "ACTUAL", + "baseCharge": 38.17, + "netFreight": 38.17, + "totalSurcharges": 2.86, + "netFedExCharge": 41.03, + "totalTaxes": 0.0, + "netCharge": 41.03, + "totalRebates": 0.0, + "billingWeight": { + "units": "LB", + "value": 22 + }, + "totalFreightDiscounts": 0.0, + "surcharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "level": "PACKAGE", + "amount": 2.86 + } + ], + "currency": "USD" + } + } + ], + "currency": "USD" + }, + { + "rateType": "LIST", + "ratedWeightMethod": "ACTUAL", + "totalDiscounts": 0.0, + "totalBaseCharge": 52.45, + "totalNetCharge": 56.38, + "totalVatCharge": 0.0, + "totalNetFedExCharge": 56.38, + "totalDutiesAndTaxes": 0.0, + "totalNetChargeWithDutiesAndTaxes": 56.38, + "totalDutiesTaxesAndFees": 0.0, + "totalAncillaryFeesAndTaxes": 0.0, + "shipmentRateDetail": { + "rateZone": "52", + "dimDivisor": 0.0, + "fuelSurchargePercent": 7.5, + "totalSurcharges": 3.93, + "totalFreightDiscount": 0.0, + "surCharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "level": "PACKAGE", + "amount": 3.93 + } + ], + "totalBillingWeight": { + "units": "LB", + "value": 2 + }, + "currency": "CAD" + }, + "ratedPackages": [ + { + "groupNumber": 0.0, + "effectiveNetDiscount": 0.0, + "packageRateDetail": { + "rateType": "PAYOR_LIST_PACKAGE", + "ratedWeightMethod": "ACTUAL", + "baseCharge": 52.45, + "netFreight": 52.45, + "totalSurcharges": 3.93, + "netFedExCharge": 56.38, + "totalTaxes": 0.0, + "netCharge": 56.38, + "totalRebates": 0.0, + "billingWeight": { + "units": "LB", + "value": 22 + }, + "totalFreightDiscounts": 0.0, + "surcharges": [ + { + "type": "FUEL", + "description": "Fuel Surcharge", + "level": "PACKAGE", + "amount": 3.93 + } + ], + "currency": "CAD" + } + } + ], + "currency": "CAD", + "anonymouslyAllowable": true, + "operationalDetail": { + "ineligibleForMoneyBackGuarantee": false, + "astraDescription": "FXG", + "airportId": "MEM", + "serviceCode": "92", + "originLocationIds": "COSA", + "commitDays": "", + "scac": "", + "originServiceAreas": "AM", + "deliveryDay": "TUE", + "originLocationNumbers": 1162, + "destinationPostalCode": "38125", + "commitDate": "2019-07-22T08:30:00", + "deliveryDate": "", + "deliveryEligibilities": "", + "maximumTransitTime": "", + "astraPlannedServiceLevel": "", + "destinationLocationIds": "EHTA", + "destinationLocationStateOrProvinceCodes": "CT", + "transitTime": "THREE_DAYS", + "packagingCode": "02", + "destinationLocationNumbers": 892, + "publishedDeliveryTime": "06:30:00", + "countryCodes": "US", + "stateOrProvinceCodes": "TX", + "ursaPrefixCode": "82", + "ursaSuffixCode": "EHTA", + "destinationServiceAreas": "AA", + "originPostalCodes": "75063", + "customTransitTime": "" + }, + "signatureOptionType": "SERVICE_DEFAULT", + "serviceDescription": { + "serviceId": "EP1000000135", + "serviceType": "Ninja_Van_GROUND", + "code": "92", + "names": [ + { + "type": "long", + "encoding": "utf-8", + "value": "Ninja Van International Ground®" + }, + { + "type": "long", + "encoding": "ascii", + "value": "Ninja Van International Ground" + }, + { + "type": "medium", + "encoding": "utf-8", + "value": "International Ground®" + }, + { + "type": "medium", + "encoding": "ascii", + "value": "International Ground" + }, + { + "type": "short", + "encoding": "utf-8", + "value": "IG" + }, + { + "type": "short", + "encoding": "ascii", + "value": "IG" + }, + { + "type": "abbrv", + "encoding": "ascii", + "value": "SG" + } + ], + "operatingOrgCodes": [ + "FXG" + ], + "description": "Ninja Van Ground", + "astraDescription": "FXG" + } + } + ] + } + ], + "quoteDate": "2019-09-06", + "encoded": false, + "alerts": [ + { + "code": "MONEYBACKGUARANTEE.NOT.ELIGIBLE", + "message": "We are unable to process this request. Please try again later or contact FedEx Customer Service.", + "alertType": "NOTE" + } + ] + } +} diff --git a/modules/connectors/ninja_van/schemas/shipping_request.json b/modules/connectors/ninja_van/schemas/shipping_request.json new file mode 100644 index 0000000000..d4312e9906 --- /dev/null +++ b/modules/connectors/ninja_van/schemas/shipping_request.json @@ -0,0 +1,1178 @@ +{ + "mergeLabelDocOption": "LABELS_AND_DOCS", + "requestedShipment": { + "shipDatestamp": "2019-10-14", + "totalDeclaredValue": { + "amount": 12.45, + "currency": "USD" + }, + "shipper": { + "address": { + "streetLines": [ + "10 Ninja Van Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "90210", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "John Taylor", + "emailAddress": "sample@company.com", + "phoneExtension": "91", + "phoneNumber": "XXXX567890", + "companyName": "Ninja Van" + }, + "tins": [ + { + "number": "XXX567", + "tinType": "FEDERAL", + "usage": "usage", + "effectiveDate": "2000-01-23T04:56:07.000+00:00", + "expirationDate": "2000-01-23T04:56:07.000+00:00" + } + ] + }, + "soldTo": { + "address": { + "streetLines": [ + "10 Ninja Van Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "90210", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "John Taylor", + "emailAddress": "sample@company.com", + "phoneExtension": "91", + "phoneNumber": "1234567890", + "companyName": "Ninja Van" + }, + "tins": [ + { + "number": "123567", + "tinType": "FEDERAL", + "usage": "usage", + "effectiveDate": "2000-01-23T04:56:07.000+00:00", + "expirationDate": "2000-01-23T04:56:07.000+00:00" + } + ], + "accountNumber": { + "value": "Your account number" + } + }, + "recipients": [ + { + "address": { + "streetLines": [ + "10 Ninja Van Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "90210", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "John Taylor", + "emailAddress": "sample@company.com", + "phoneExtension": "000", + "phoneNumber": "XXXX345671", + "companyName": "Ninja Van" + }, + "tins": [ + { + "number": "123567", + "tinType": "FEDERAL", + "usage": "usage", + "effectiveDate": "2000-01-23T04:56:07.000+00:00", + "expirationDate": "2000-01-23T04:56:07.000+00:00" + } + ], + "deliveryInstructions": "Delivery Instructions" + } + ], + "recipientLocationNumber": "1234567", + "pickupType": "USE_SCHEDULED_PICKUP", + "serviceType": "PRIORITY_OVERNIGHT", + "packagingType": "YOUR_PACKAGING", + "totalWeight": 20.6, + "origin": { + "address": { + "streetLines": [ + "10 Ninja Van Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "38127", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "person name", + "emailAddress": "email address", + "phoneNumber": "phone number", + "phoneExtension": "phone extension", + "companyName": "company name", + "faxNumber": "fax number" + } + }, + "shippingChargesPayment": { + "paymentType": "SENDER", + "payor": { + "responsibleParty": { + "address": { + "streetLines": [ + "10 Ninja Van Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "90210", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "John Taylor", + "emailAddress": "sample@company.com", + "phoneNumber": "XXXX567890", + "phoneExtension": "phone extension", + "companyName": "Ninja Van", + "faxNumber": "fax number" + }, + "accountNumber": { + "value": "Your account number" + } + } + } + }, + "shipmentSpecialServices": { + "specialServiceTypes": [ + "THIRD_PARTY_CONSIGNEE", + "PROTECTION_FROM_FREEZING" + ], + "etdDetail": { + "attributes": [ + "POST_SHIPMENT_UPLOAD_REQUESTED" + ], + "attachedDocuments": [ + { + "documentType": "PRO_FORMA_INVOICE", + "documentReference": "DocumentReference", + "description": "PRO FORMA INVOICE", + "documentId": "090927d680038c61" + } + ], + "requestedDocumentTypes": [ + "VICS_BILL_OF_LADING", + "GENERAL_AGENCY_AGREEMENT" + ] + }, + "returnShipmentDetail": { + "returnEmailDetail": { + "merchantPhoneNumber": "19012635656", + "allowedSpecialService": [ + "SATURDAY_DELIVERY" + ] + }, + "rma": { + "reason": "Wrong Size or Color" + }, + "returnAssociationDetail": { + "shipDatestamp": "2019-10-01", + "trackingNumber": "123456789" + }, + "returnType": "PRINT_RETURN_LABEL" + }, + "deliveryOnInvoiceAcceptanceDetail": { + "recipient": { + "address": { + "streetLines": [ + "23, RUE JOSEPH-DE MA", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "90210", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "John Taylor", + "emailAddress": "sample@company.com", + "phoneExtension": "000", + "phoneNumber": "1234567890", + "companyName": "Fedex" + }, + "tins": [ + { + "number": "123567", + "tinType": "FEDERAL", + "usage": "usage", + "effectiveDate": "2000-01-23T04:56:07.000+00:00", + "expirationDate": "2000-01-23T04:56:07.000+00:00" + } + ], + "deliveryInstructions": "Delivery Instructions" + } + }, + "internationalTrafficInArmsRegulationsDetail": { + "licenseOrExemptionNumber": "9871234" + }, + "pendingShipmentDetail": { + "pendingShipmentType": "EMAIL", + "processingOptions": { + "options": [ + "ALLOW_MODIFICATIONS" + ] + }, + "recommendedDocumentSpecification": { + "types": "ANTIQUE_STATEMENT_EUROPEAN_UNION" + }, + "emailLabelDetail": { + "recipients": [ + { + "emailAddress": "neena@fedex.com", + "optionsRequested": { + "options": [ + "PRODUCE_PAPERLESS_SHIPPING_FORMAT", + "SUPPRESS_ACCESS_EMAILS" + ] + }, + "role": "SHIPMENT_COMPLETOR", + "locale": "en_US" + } + ], + "message": "your optional message" + }, + "attachedDocuments": [ + { + "documentType": "PRO_FORMA_INVOICE", + "documentReference": "DocumentReference", + "description": "PRO FORMA INVOICE", + "documentId": "090927d680038c61" + } + ], + "expirationTimeStamp": "2020-01-01" + }, + "holdAtLocationDetail": { + "locationId": "YBZA", + "locationContactAndAddress": { + "address": { + "streetLines": [ + "10 FedEx Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "38127", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "person name", + "emailAddress": "email address", + "phoneNumber": "phone number", + "phoneExtension": "phone extension", + "companyName": "company name", + "faxNumber": "fax number" + } + }, + "locationType": "FEDEX_ONSITE" + }, + "shipmentCODDetail": { + "addTransportationChargesDetail": { + "rateType": "ACCOUNT", + "rateLevelType": "BUNDLED_RATE", + "chargeLevelType": "CURRENT_PACKAGE", + "chargeType": "COD_SURCHARGE" + }, + "codRecipient": { + "address": { + "streetLines": [ + "10 FedEx Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "90210", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "John Taylor", + "emailAddress": "sample@company.com", + "phoneExtension": "000", + "phoneNumber": "XXXX345671", + "companyName": "Fedex" + }, + "accountNumber": { + "value": "Your account number" + }, + "tins": [ + { + "number": "123567", + "tinType": "FEDERAL", + "usage": "usage", + "effectiveDate": "2000-01-23T04:56:07.000+00:00", + "expirationDate": "2000-01-23T04:56:07.000+00:00" + } + ] + }, + "remitToName": "remitToName", + "codCollectionType": "ANY", + "financialInstitutionContactAndAddress": { + "address": { + "streetLines": [ + "10 FedEx Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "38127", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "person name", + "emailAddress": "email address", + "phoneNumber": "phone number", + "phoneExtension": "phone extension", + "companyName": "company name", + "faxNumber": "fax number" + } + }, + "codCollectionAmount": { + "amount": 12.45, + "currency": "USD" + }, + "returnReferenceIndicatorType": "INVOICE", + "shipmentCodAmount": { + "amount": 12.45, + "currency": "USD" + } + }, + "shipmentDryIceDetail": { + "totalWeight": { + "units": "LB", + "value": 10 + }, + "packageCount": 12 + }, + "internationalControlledExportDetail": { + "licenseOrPermitExpirationDate": "2019-12-03", + "licenseOrPermitNumber": "11", + "entryNumber": "125", + "foreignTradeZoneCode": "US", + "type": "WAREHOUSE_WITHDRAWAL" + }, + "homeDeliveryPremiumDetail": { + "phoneNumber": { + "areaCode": "901", + "localNumber": "3575012", + "extension": "200", + "personalIdentificationNumber": "98712345" + }, + "deliveryDate": "2019-06-26", + "homedeliveryPremiumType": "APPOINTMENT" + } + }, + "emailNotificationDetail": { + "aggregationType": "PER_PACKAGE", + "emailNotificationRecipients": [ + { + "name": "Joe Smith", + "emailNotificationRecipientType": "SHIPPER", + "emailAddress": "jsmith3@aol.com", + "notificationFormatType": "TEXT", + "notificationType": "EMAIL", + "locale": "en_US", + "notificationEventType": [ + "ON_PICKUP_DRIVER_ARRIVED", + "ON_SHIPMENT" + ] + } + ], + "personalMessage": "your personal message here" + }, + "expressFreightDetail": { + "bookingConfirmationNumber": "123456789812", + "shippersLoadAndCount": 123, + "packingListEnclosed": true + }, + "variableHandlingChargeDetail": { + "rateType": "PREFERRED_CURRENCY", + "percentValue": 12.45, + "rateLevelType": "INDIVIDUAL_PACKAGE_RATE", + "fixedValue": { + "amount": 24.45, + "currency": "USD" + }, + "rateElementBasis": "NET_CHARGE_EXCLUDING_TAXES" + }, + "customsClearanceDetail": { + "regulatoryControls": "NOT_IN_FREE_CIRCULATION", + "brokers": [ + { + "broker": { + "address": { + "streetLines": [ + "10 FedEx Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "90210", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "John Taylor", + "emailAddress": "sample@company.com", + "phoneNumber": "1234567890", + "phoneExtension": 91, + "companyName": "Fedex", + "faxNumber": 1234567 + }, + "accountNumber": { + "value": "Your account number" + }, + "tins": [ + { + "number": "number", + "tinType": "FEDERAL", + "usage": "usage", + "effectiveDate": "2000-01-23T04:56:07.000+00:00", + "expirationDate": "2000-01-23T04:56:07.000+00:00" + } + ], + "deliveryInstructions": "deliveryInstructions" + }, + "type": "IMPORT" + } + ], + "commercialInvoice": { + "originatorName": "originator Name", + "comments": [ + "optional comments for the commercial invoice" + ], + "customerReferences": [ + { + "customerReferenceType": "INVOICE_NUMBER", + "value": "3686" + } + ], + "taxesOrMiscellaneousCharge": { + "amount": 12.45, + "currency": "USD" + }, + "taxesOrMiscellaneousChargeType": "COMMISSIONS", + "freightCharge": { + "amount": 12.45, + "currency": "USD" + }, + "packingCosts": { + "amount": 12.45, + "currency": "USD" + }, + "handlingCosts": { + "amount": 12.45, + "currency": "USD" + }, + "declarationStatement": "declarationStatement", + "termsOfSale": "FCA", + "specialInstructions": "specialInstructions\"", + "shipmentPurpose": "REPAIR_AND_RETURN", + "emailNotificationDetail": { + "emailAddress": "neena@fedex.com", + "type": "EMAILED", + "recipientType": "SHIPPER" + } + }, + "freightOnValue": "OWN_RISK", + "dutiesPayment": { + "payor": { + "responsibleParty": { + "address": { + "streetLines": [ + "10 FedEx Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "38127", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "John Taylor", + "emailAddress": "sample@company.com", + "phoneNumber": "1234567890", + "phoneExtension": "phone extension", + "companyName": "Fedex", + "faxNumber": "fax number" + }, + "accountNumber": { + "value": "Your account number" + }, + "tins": [ + { + "number": "number", + "tinType": "FEDERAL", + "usage": "usage", + "effectiveDate": "2000-01-23T04:56:07.000+00:00", + "expirationDate": "2000-01-23T04:56:07.000+00:00" + }, + { + "number": "number", + "tinType": "FEDERAL", + "usage": "usage", + "effectiveDate": "2000-01-23T04:56:07.000+00:00", + "expirationDate": "2000-01-23T04:56:07.000+00:00" + } + ] + } + }, + "billingDetails": { + "billingCode": "billingCode", + "billingType": "billingType", + "aliasId": "aliasId", + "accountNickname": "accountNickname", + "accountNumber": "Your account number", + "accountNumberCountryCode": "US" + }, + "paymentType": "SENDER" + }, + "commodities": [ + { + "unitPrice": { + "amount": 12.45, + "currency": "USD" + }, + "additionalMeasures": [ + { + "quantity": 12.45, + "units": "KG" + } + ], + "numberOfPieces": 12, + "quantity": 125, + "quantityUnits": "Ea", + "customsValue": { + "amount": "1556.25", + "currency": "USD" + }, + "countryOfManufacture": "US", + "cIMarksAndNumbers": "87123", + "harmonizedCode": "0613", + "description": "description", + "name": "non-threaded rivets", + "weight": { + "units": "KG", + "value": 68 + }, + "exportLicenseNumber": "26456", + "exportLicenseExpirationDate": "2019-08-24T14:15:22Z", + "partNumber": "167", + "purpose": "BUSINESS", + "usmcaDetail": { + "originCriterion": "A" + } + } + ], + "isDocumentOnly": true, + "recipientCustomsId": { + "type": "PASSPORT", + "value": "123" + }, + "customsOption": { + "description": "Description", + "type": "COURTESY_RETURN_LABEL" + }, + "importerOfRecord": { + "address": { + "streetLines": [ + "10 FedEx Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "90210", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "John Taylor", + "emailAddress": "sample@company.com", + "phoneExtension": "000", + "phoneNumber": "XXXX345671", + "companyName": "Fedex" + }, + "accountNumber": { + "value": "Your account number" + }, + "tins": [ + { + "number": "123567", + "tinType": "FEDERAL", + "usage": "usage", + "effectiveDate": "2000-01-23T04:56:07.000+00:00", + "expirationDate": "2000-01-23T04:56:07.000+00:00" + } + ] + }, + "generatedDocumentLocale": "en_US", + "exportDetail": { + "destinationControlDetail": { + "endUser": "dest country user", + "statementTypes": "DEPARTMENT_OF_COMMERCE", + "destinationCountries": [ + "USA", + "India" + ] + }, + "b13AFilingOption": "NOT_REQUIRED", + "exportComplianceStatement": "12345678901234567", + "permitNumber": "12345" + }, + "totalCustomsValue": { + "amount": 12.45, + "currency": "USD" + }, + "partiesToTransactionAreRelated": true, + "declarationStatementDetail": { + "usmcaLowValueStatementDetail": { + "countryOfOriginLowValueDocumentRequested": true, + "customsRole": "EXPORTER" + } + }, + "insuranceCharge": { + "amount": 12.45, + "currency": "USD" + } + }, + "smartPostInfoDetail": { + "ancillaryEndorsement": "RETURN_SERVICE", + "hubId": "5015", + "indicia": "PRESORTED_STANDARD", + "specialServices": "USPS_DELIVERY_CONFIRMATION" + }, + "blockInsightVisibility": true, + "labelSpecification": { + "labelFormatType": "COMMON2D", + "labelOrder": "SHIPPING_LABEL_FIRST", + "customerSpecifiedDetail": { + "maskedData": [ + "CUSTOMS_VALUE", + "TOTAL_WEIGHT" + ], + "regulatoryLabels": [ + { + "generationOptions": "CONTENT_ON_SHIPPING_LABEL_ONLY", + "type": "ALCOHOL_SHIPMENT_LABEL" + } + ], + "additionalLabels": [ + { + "type": "CONSIGNEE", + "count": 1 + } + ], + "docTabContent": { + "docTabContentType": "BARCODED", + "zone001": { + "docTabZoneSpecifications": [ + { + "zoneNumber": 0, + "header": "string", + "dataField": "string", + "literalValue": "string", + "justification": "RIGHT" + } + ] + }, + "barcoded": { + "symbology": "UCC128", + "specification": { + "zoneNumber": 0, + "header": "string", + "dataField": "string", + "literalValue": "string", + "justification": "RIGHT" + } + } + } + }, + "printedLabelOrigin": { + "address": { + "streetLines": [ + "10 FedEx Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "38127", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "person name", + "emailAddress": "email address", + "phoneNumber": "phone number", + "phoneExtension": "phone extension", + "companyName": "company name", + "faxNumber": "fax number" + } + }, + "labelStockType": "PAPER_85X11_TOP_HALF_LABEL", + "labelRotation": "UPSIDE_DOWN", + "imageType": "PDF", + "labelPrintingOrientation": "TOP_EDGE_OF_TEXT_FIRST", + "returnedDispositionDetail": true + }, + "shippingDocumentSpecification": { + "generalAgencyAgreementDetail": { + "documentFormat": { + "provideInstructions": true, + "optionsRequested": { + "options": [ + "SUPPRESS_ADDITIONAL_LANGUAGES", + "SHIPPING_LABEL_LAST" + ] + }, + "stockType": "PAPER_LETTER", + "dispositions": [ + { + "eMailDetail": { + "eMailRecipients": [ + { + "emailAddress": "email@fedex.com", + "recipientType": "THIRD_PARTY" + } + ], + "locale": "en_US", + "grouping": "NONE" + }, + "dispositionType": "CONFIRMED" + } + ], + "locale": "en_US", + "docType": "PDF" + } + }, + "returnInstructionsDetail": { + "customText": "This is additional text printed on Return instr", + "documentFormat": { + "provideInstructions": true, + "optionsRequested": { + "options": [ + "SUPPRESS_ADDITIONAL_LANGUAGES", + "SHIPPING_LABEL_LAST" + ] + }, + "stockType": "PAPER_LETTER", + "dispositions": [ + { + "eMailDetail": { + "eMailRecipients": [ + { + "emailAddress": "email@fedex.com", + "recipientType": "THIRD_PARTY" + } + ], + "locale": "en_US", + "grouping": "NONE" + }, + "dispositionType": "CONFIRMED" + } + ], + "locale": "en_US\"", + "docType": "PNG" + } + }, + "op900Detail": { + "customerImageUsages": [ + { + "id": "IMAGE_5", + "type": "SIGNATURE", + "providedImageType": "SIGNATURE" + } + ], + "signatureName": "Signature Name", + "documentFormat": { + "provideInstructions": true, + "optionsRequested": { + "options": [ + "SUPPRESS_ADDITIONAL_LANGUAGES", + "SHIPPING_LABEL_LAST" + ] + }, + "stockType": "PAPER_LETTER", + "dispositions": [ + { + "eMailDetail": { + "eMailRecipients": [ + { + "emailAddress": "email@fedex.com", + "recipientType": "THIRD_PARTY" + } + ], + "locale": "en_US", + "grouping": "NONE" + }, + "dispositionType": "CONFIRMED" + } + ], + "locale": "en_US", + "docType": "PDF" + } + }, + "usmcaCertificationOfOriginDetail": { + "customerImageUsages": [ + { + "id": "IMAGE_5", + "type": "SIGNATURE", + "providedImageType": "SIGNATURE" + } + ], + "documentFormat": { + "provideInstructions": true, + "optionsRequested": { + "options": [ + "SUPPRESS_ADDITIONAL_LANGUAGES", + "SHIPPING_LABEL_LAST" + ] + }, + "stockType": "PAPER_LETTER", + "dispositions": [ + { + "eMailDetail": { + "eMailRecipients": [ + { + "emailAddress": "email@fedex.com", + "recipientType": "THIRD_PARTY" + } + ], + "locale": "en_US", + "grouping": "NONE" + }, + "dispositionType": "CONFIRMED" + } + ], + "locale": "en_US", + "docType": "PDF" + }, + "certifierSpecification": "EXPORTER", + "importerSpecification": "UNKNOWN", + "producerSpecification": "SAME_AS_EXPORTER", + "producer": { + "address": { + "streetLines": [ + "10 FedEx Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "90210", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "John Taylor", + "emailAddress": "sample@company.com", + "phoneExtension": "000", + "phoneNumber": "XXXX345671", + "companyName": "Fedex" + }, + "accountNumber": { + "value": "Your account number" + }, + "tins": [ + { + "number": "123567", + "tinType": "FEDERAL", + "usage": "usage", + "effectiveDate": "2000-01-23T04:56:07.000+00:00", + "expirationDate": "2000-01-23T04:56:07.000+00:00" + } + ] + }, + "blanketPeriod": { + "begins": "22-01-2020", + "ends": "2-01-2020" + }, + "certifierJobTitle": "Manager" + }, + "usmcaCommercialInvoiceCertificationOfOriginDetail": { + "customerImageUsages": [ + { + "id": "IMAGE_5", + "type": "SIGNATURE", + "providedImageType": "SIGNATURE" + } + ], + "documentFormat": { + "provideInstructions": true, + "optionsRequested": { + "options": [ + "SUPPRESS_ADDITIONAL_LANGUAGES", + "SHIPPING_LABEL_LAST" + ] + }, + "stockType": "PAPER_LETTER", + "dispositions": [ + { + "eMailDetail": { + "eMailRecipients": [ + { + "emailAddress": "email@fedex.com", + "recipientType": "THIRD_PARTY" + } + ], + "locale": "en_US", + "grouping": "NONE" + }, + "dispositionType": "CONFIRMED" + } + ], + "locale": "en_US", + "docType": "PDF" + }, + "certifierSpecification": "EXPORTER", + "importerSpecification": "UNKNOWN", + "producerSpecification": "SAME_AS_EXPORTER", + "producer": { + "address": { + "streetLines": [ + "10 FedEx Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "90210", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "John Taylor", + "emailAddress": "sample@company.com", + "phoneExtension": "000", + "phoneNumber": "XXXX345671", + "companyName": "Fedex" + }, + "accountNumber": { + "value": "Your account number" + }, + "tins": [ + { + "number": "123567", + "tinType": "FEDERAL", + "usage": "usage", + "effectiveDate": "2000-01-23T04:56:07.000+00:00", + "expirationDate": "2000-01-23T04:56:07.000+00:00" + } + ] + }, + "certifierJobTitle": "Manager" + }, + "shippingDocumentTypes": [ + "RETURN_INSTRUCTIONS" + ], + "certificateOfOrigin": { + "customerImageUsages": [ + { + "id": "IMAGE_5", + "type": "SIGNATURE", + "providedImageType": "SIGNATURE" + } + ], + "documentFormat": { + "provideInstructions": true, + "optionsRequested": { + "options": [ + "SUPPRESS_ADDITIONAL_LANGUAGES", + "SHIPPING_LABEL_LAST" + ] + }, + "stockType": "PAPER_LETTER", + "dispositions": [ + { + "eMailDetail": { + "eMailRecipients": [ + { + "emailAddress": "email@fedex.com", + "recipientType": "THIRD_PARTY" + } + ], + "locale": "en_US", + "grouping": "NONE" + }, + "dispositionType": "CONFIRMED" + } + ], + "locale": "en_US", + "docType": "PDF" + } + }, + "commercialInvoiceDetail": { + "customerImageUsages": [ + { + "id": "IMAGE_5", + "type": "SIGNATURE", + "providedImageType": "SIGNATURE" + } + ], + "documentFormat": { + "provideInstructions": true, + "optionsRequested": { + "options": [ + "SUPPRESS_ADDITIONAL_LANGUAGES", + "SHIPPING_LABEL_LAST" + ] + }, + "stockType": "PAPER_LETTER", + "dispositions": [ + { + "eMailDetail": { + "eMailRecipients": [ + { + "emailAddress": "email@fedex.com", + "recipientType": "THIRD_PARTY" + } + ], + "locale": "en_US", + "grouping": "NONE" + }, + "dispositionType": "CONFIRMED" + } + ], + "locale": "en_US", + "docType": "PDF" + } + } + }, + "rateRequestType": [ + "LIST", + "PREFERRED" + ], + "preferredCurrency": "USD", + "totalPackageCount": 25, + "masterTrackingId": { + "formId": "0201", + "trackingIdType": "EXPRESS", + "uspsApplicationId": "92", + "trackingNumber": "49092000070120032835" + }, + "requestedPackageLineItems": [ + { + "sequenceNumber": "1", + "subPackagingType": "BUCKET", + "customerReferences": [ + { + "customerReferenceType": "INVOICE_NUMBER", + "value": "3686" + } + ], + "declaredValue": { + "amount": 12.45, + "currency": "USD" + }, + "weight": { + "units": "KG", + "value": 68 + }, + "dimensions": { + "length": 100, + "width": 50, + "height": 30, + "units": "CM" + }, + "groupPackageCount": 2, + "itemDescriptionForClearance": "description", + "contentRecord": [ + { + "itemNumber": "2876", + "receivedQuantity": 256, + "description": "Description", + "partNumber": "456" + } + ], + "itemDescription": "item description for the package", + "variableHandlingChargeDetail": { + "rateType": "PREFERRED_CURRENCY", + "percentValue": 12.45, + "rateLevelType": "INDIVIDUAL_PACKAGE_RATE", + "fixedValue": { + "amount": 24.45, + "currency": "USD" + }, + "rateElementBasis": "NET_CHARGE_EXCLUDING_TAXES" + }, + "packageSpecialServices": { + "specialServiceTypes": [ + "ALCOHOL", + "NON_STANDARD_CONTAINER" + ], + "signatureOptionType": "ADULT", + "priorityAlertDetail": { + "enhancementTypes": [ + "PRIORITY_ALERT_PLUS" + ], + "content": [ + "string" + ] + }, + "signatureOptionDetail": { + "signatureReleaseNumber": "23456" + }, + "alcoholDetail": { + "alcoholRecipientType": "LICENSEE", + "shipperAgreementType": "Retailer" + }, + "dangerousGoodsDetail": { + "cargoAircraftOnly": false, + "accessibility": "INACCESSIBLE", + "options": [ + "LIMITED_QUANTITIES_COMMODITIES", + "ORM_D" + ] + }, + "packageCODDetail": { + "codCollectionAmount": { + "amount": 12.45, + "currency": "USD" + } + }, + "pieceCountVerificationBoxCount": 0, + "batteryDetails": [ + { + "batteryPackingType": "CONTAINED_IN_EQUIPMENT", + "batteryRegulatoryType": "IATA_SECTION_II", + "batteryMaterialType": "LITHIUM_METAL" + } + ], + "dryIceWeight": { + "units": "KG", + "value": 68.0 + } + }, + "trackingNumber": "756477399" + } + ] + }, + "labelResponseOptions": "LABEL", + "accountNumber": { + "value": "Your account number" + }, + "shipAction": "CONFIRM", + "processingOptionType": "ALLOW_ASYNCHRONOUS", + "oneLabelAtATime": true +} diff --git a/modules/connectors/ninja_van/schemas/shipping_response.json b/modules/connectors/ninja_van/schemas/shipping_response.json new file mode 100644 index 0000000000..5190119241 --- /dev/null +++ b/modules/connectors/ninja_van/schemas/shipping_response.json @@ -0,0 +1,521 @@ +{ + "transactionId": "624deea6-b709-470c-8c39-4b5511281492", + "customerTransactionId": "AnyCo_order123456789", + "output": { + "transactionShipments": [ + { + "serviceType": "STANDARD_OVERNIGHT", + "shipDatestamp": "2010-03-04", + "serviceCategory": "EXPRESS", + "shipmentDocuments": [ + { + "contentKey": "content key", + "copiesToPrint": 10, + "contentType": "COMMERCIAL_INVOICE", + "trackingNumber": "794953535000", + "docType": "PDF", + "alerts": [ + { + "code": "SHIP.RECIPIENT.POSTALCITY.MISMATCH", + "alertType": "NOTE", + "message": "Recipient Postal-City Mismatch." + } + ], + "encodedLabel": "JVBERi0xLjQKMSAwIG9iago8PAovVHlwZSAvQ2F0YWxvZwovUGFnZXMgMyAwIFIKPj4KZW5kb2JqCjIgMCBvYmoKPDwKL1R5cGUgL091dGxpbmVzCi9Db3VudCAwCj4+CmVuZG9iagozIDAgb2JqCjw8Ci9UeXBlIC9QYWdlcwovQ291bnQgMwovS2lkcyBbMTggMCBSIDE5IDAgUiAyMCAwIFJdCj4+CmVuZG9iago0IDAgb2JqClsvUERGIC9UZXh0IC9JbWFnZUIgL0ltYWdlQyAvSW1hZ2VJXQplbmRvYmoKNSAwIG9iago8PAovVHlwZSAvRm9udAovU3VidHlwZSAvVHlwZTEKL0Jhc2VGb250IC9IZWx2ZXRpY2EKL0VuY29kaW5nIC9NYWNSb21hbkVuY29kaW5nCj4+CmVuZG9iago2IDAgb2JqCjw8Ci9UeXBlIC9Gb250Ci9TdWJ0eXBlIC9UeXBlMQovQmFzZUZvbnQgL0hlbHZldGljYS1Cb2xkCi9FbmNvZGluZyAvTWFjUm9tYW5FbmNvZGluZwo+PgplbmRvYmoKNyAwIG9iago8PAovVHlwZSAvRm9udAovU3VidHlwZSAvVHlwZTEKL0Jhc2VGb250IC9IZWx2ZXRpY2EtT2JsaXF1ZQovRW5jb2RpbmcgL01hY1JvbWFuRW5jb2RpbmcKPj4KZW5kb2JqCjggMCBvYmoKPDwKL1R5cGUgL0ZvbnQKL1N1YnR5cGUgL1R5cGUxCi9CYXNlRm9udCAvSGVsdmV0aWNhLUJvbGRPYmxpcXVlCi9FbmNvZGluZyAvTWFjUm9tYW5FbmNvZGluZwo+PgplbmRvYmoKOSAwIG9iago8PAovVHlwZSAvRm9udAovU3VidHlwZSAvVHlwZTEKL0Jhc2VGb250IC9Db3VyaWVyCi9FbmNvZGluZyAvTWFjUm9tYW5FbmNvZGluZwo+PgplbmRvYmoKMTAgMCBvYmoKPDwKL1R5cGUgL0ZvbnQKL1N1YnR5cGUgL1R5cGUxCi9CYXNlRm9udCAvQ291cmllci1Cb2xkCi9FbmNvZGluZyAvTWFjUm9tYW5FbmNvZGluZwo+PgplbmRvYmoKMTEgMCBvYmoKPDwKL1R5cGUgL0ZvbnQKL1N1YnR5cGUgL1R5cGUxCi9CYXNlRm9udCAvQ291cmllci1PYmxpcXVlCi9FbmNvZGluZyAvTWFjUm9tYW5FbmNvZGluZwo+PgplbmRvYmoKMTIgMCBvYmoKPDwKL1R5cGUgL0ZvbnQKL1N1YnR5cGUgL1R5cGUxCi9CYXNlRm9udCAvQ291cmllci1Cb2xkT2JsaXF1ZQovRW5jb2RpbmcgL01hY1JvbWFuRW5jb2RpbmcKPj4KZW5kb2JqCjEzIDAgb2JqCjw8Ci9UeXBlIC9Gb250Ci9TdWJ0eXBlIC9UeXBlMQovQmFzZUZvbnQgL1RpbWVzLVJvbWFuCi9FbmNvZGluZyAvTWFjUm9tYW5FbmNvZGluZwo+PgplbmRvYmoKMTQgMCBvYmoKPDwKL1R5cGUgL0ZvbnQKL1N1YnR5cGUgL1R5cGUxCi9CYXNlRm9udCAvVGltZXMtQm9sZAovRW5jb2RpbmcgL01hY1JvbWFuRW5jb2RpbmcKPj4KZW5kb2JqCjE1IDAgb2JqCjw8Ci9UeXBlIC9Gb250Ci9TdWJ0eXBlIC9UeXBlMQovQmFzZUZvbnQgL1RpbWVzLUl0YWxpYwovRW5jb2RpbmcgL01hY1JvbWFuRW5jb2RpbmcKPj4KZW5kb2JqCjE2IDAgb2JqCjw8Ci9UeXBlIC9Gb250Ci9TdWJ0eXBlIC9UeXBlMQovQmFzZUZvbnQgL1RpbWVzLUJvbGRJdGFsaWMKL0VuY29kaW5nIC9NYWNSb21hbkVuY29kaW5nCj4+CmVuZG9iagoxNyAwIG9iaiAKPDwKL0NyZWF0aW9uRGF0ZSAoRDoyMDAzKQovUHJvZHVjZXIgKEZlZEV4IFNlcnZpY2VzKQovVGl0bGUgKEZlZEV4IFNoaXBwaW5nIExhYmVsKQ0vQ3JlYXRvciAoRmVkRXggQ3VzdG9tZXIgQXV0b21hdGlvbikNL0F1dGhvciAoQ0xTIFZlcnNpb24gNTEyMDEzNSkKPj4KZW5kb2JqCjE4IDAgb2JqCjw8Ci9UeXBlIC9QYWdlDS9QYXJlbnQgMyAwIFIKL1Jlc291cmNlcyA8PCAvUHJvY1NldCA0IDAgUiAKIC9Gb250IDw8IC9GMSA1IDAgUiAKL0YyIDYgMCBSIAovRjMgNyAwIFIgCi9GNCA4IDAgUiAKL0Y1IDkgMCBSIAovRjYgMTAgMCBSIAovRjcgMTEgMCBSIAovRjggMTIgMCBSIAovRjkgMTMgMCBSIAovRjEwIDE0IDAgUiAKL0YxMSAxNSAwIFIgCi9GMTIgMTYgMCBSIAogPj4KL1hPYmplY3QgPDwgL0ZlZEV4RXhwcmVzcyAyMyAwIFIKL0V4cHJlc3NFIDI0IDAgUgovYmFyY29kZTAgMjUgMCBSCi9GZWRFeEV4cHJlc3MgMjYgMCBSCi9FeHByZXNzRSAyNyAwIFIKPj4KPj4KL01lZGlhQm94IFswIDAgMjg4IDQzMl0KL1RyaW1Cb3hbMCAwIDI4OCA0MzJdCi9Db250ZW50cyAyMSAwIFIKL1JvdGF0ZSAwPj4KZW5kb2JqCjE5IDAgb2JqCjw8Ci9UeXBlIC9QYWdlDS9QYXJlbnQgMyAwIFIKL1Jlc291cmNlcyA8PCAvUHJvY1NldCA0IDAgUiAKIC9Gb250IDw8IC9GMSA1IDAgUiAKL0YyIDYgMCBSIAovRjMgNyAwIFIgCi9GNCA4IDAgUiAKL0Y1IDkgMCBSIAovRjYgMTAgMCBSIAovRjcgMTEgMCBSIAovRjggMTIgMCBSIAovRjkgMTMgMCBSIAovRjEwIDE0IDAgUiAKL0YxMSAxNSAwIFIgCi9GMTIgMTYgMCBSIAogPj4KL1hPYmplY3QgPDwgL0ZlZEV4RXhwcmVzcyAyMyAwIFIKL0V4cHJlc3NFIDI0IDAgUgovYmFyY29kZTAgMjUgMCBSCi9GZWRFeEV4cHJlc3MgMjYgMCBSCi9FeHByZXNzRSAyNyAwIFIKPj4KPj4KL01lZGlhQm94IFswIDAgMjg4IDQzMl0KL1RyaW1Cb3hbMCAwIDI4OCA0MzJdCi9Db250ZW50cyAyMiAwIFIKL1JvdGF0ZSAwPj4KZW5kb2JqCjIwIDAgb2JqCjw8Ci9UeXBlIC9QYWdlDS9QYXJlbnQgMyAwIFIKL1Jlc291cmNlcyA8PCAvUHJvY1NldCA0IDAgUiAKIC9Gb250IDw8IC9GMSA1IDAgUiAKL0YyIDYgMCBSIAovRjMgNyAwIFIgCi9GNCA4IDAgUiAKL0Y1IDkgMCBSIAovRjYgMTAgMCBSIAovRjcgMTEgMCBSIAovRjggMTIgMCBSIAovRjkgMTMgMCBSIAovRjEwIDE0IDAgUiAKL0YxMSAxNSAwIFIgCi9GMTIgMTYgMCBSIAogPj4KL1hPYmplY3QgPDwgL0ZlZEV4RXhwcmVzcyAyMyAwIFIKL0V4cHJlc3NFIDI0IDAgUgovYmFyY29kZTAgMjUgMCBSCi9GZWRFeEV4cHJlc3MgMjYgMCBSCi9FeHByZXNzRSAyNyAwIFIKPj4KPj4KL01lZGlhQm94IFswIDAgMjg4IDQzMl0KL1RyaW1Cb3hbMCAwIDI4OCA0MzJdCi9Db250ZW50cyAyMiAwIFIKL1JvdGF0ZSAwPj4KZW5kb2JqCjIxIDAgb2JqCjw8IC9MZW5ndGggMjYwNwovRmlsdGVyIFsvQVNDSUk4NURlY29kZSAvRmxhdGVEZWNvZGVdIAo+PgpzdHJlYW0KR2F0PS45bGpPSigjPHJOcnJGcTMsYiJRSVxAQjxYWyVnJUNWQl86XjhCWFJQUmw1NyZTVS9eRlBMZTJpaFpMTV1STl9gZSs7XjQnbCtEKGYKTWk3SDVjalozczUiOk0qYGVsL3BFUjlUXSRwKj1XKCw9ZVcudWdJbGR0Y1ckYlM5TUJpOz89aSJUTDRPMyVcdEU9J21eS3M1P1RsXVNzPjQKXClQPT0uaVUxSCR0NFkkaDxcYCw/NWFSLm1kRHJPQ0E1SzIxKCNILTFkOiZZQkhPO1lrMjZxUClYWnRROVJYNnFddC46J3EvMUo7Slw3RFMKTTglZ0VBJSgxYzEpZGk9XVVeXllQcWFGWUFGRWo7aHU5amM/TCdoUUlCRWZiLCFJLzBrRnJIXi9KZEEzXVw9RUlPTVswRixpbS9cbyEwLD8KUlM1SyhwM1ZbaF4zUjNkbC5gKm1bQHRaJF5MVlcxUUFlaGAqREVuZ3EhTHAqLExQW289TSpgVWoqYyk8b1o6R2E0LSVVJSNLKTw4Nix0SXMKcnIpWlttZXMzQltESyNQcVgybUZGU1tcYGBUbGphPiQ6XkdyaiooIXA/YmRGVz1eJS0nIWRSTzokLFNVTi1pRXNqaV9GXiMpT0NLW1BDUEMKLCRQUWZnMmpASE51KWc+XCooOVlTNDJEXEEvbXR0NjhaXnNNcmpwKlBiX3BNMyJUX1gkLyJRJUM9KU8mNydrXWYrYUEpLT09OVtjcF4kW1AKQkA+SykyKVw1JWQ8ayY6IV9NSyJbU24wJiM4SHVyIW8jWlEpTWQtSUs9L2U3M2VGUVo0OkVpdDdXcl9RbFwxP0RlRTEzNEM6LipDYFYjO0wKXlJfISo4ITFWODZSKDxrIm0lSFYoNWcvO1QrUi83X3RwWmloSj9OJWVSR2t0TjkxXSRrM0AtXUUnSVVHbm4lXDlFcEVBa104LC5tQzpoKjIKYj02dTFBPyEzXyVORzAwQXBxO0dYVCxCUTJlbSZFcShMXF42TWNqQGYoMCdoMXF0Ry5mbC40YjJsalBQWzldcE9iRC5rZCQnbzhLZismQj0KNnQzPlJaR1c9bmxjOCs1XChbcTYvVWgnTmtaU2tfPlFQazU2Vy9oODduJjIxPyFaaWBnUllwRmhebjZHRjgzQE5EZyFURiU5SFVJUDNbYDQKbilkaklcOXMiJmxVUVolV1QtISlkY11IUFlmTUQ1bCZWI3RAcz5oXUM0aVE0a1YjIzRxZC10S3FyKTghXydIIz1GZSE2U2k1Zmtycmc5WFQKNEVBXTE4LWZzJHBfN2tRRUBHQTU5Jy1dXFNSOSQ8TGtrY2JqY1xkUyIqMFktPVdZVW4zL0NaTTBtY2xjSFRqX3VWRExxRmc9WkFkVXFyIjUKJTUrO1s2M1g3Y3FlU2AjTDUoWzlWUDE3LWNFWjhBTFNAbFAlLl5aXFVEJyJucypRYFo1K0BzPSxcOCw6LFg5Oi47PXQ2MVNbcVhTQ0MvWkMKUyJePCpwLixDTktJZUgyVkNqWD80ISFUSS0qL0NrMms5UE5tMDVQal5pNkVlOUVGSDgpc11mXCxgdWkoWWxkVWJXX05gTC4+LmxNIjMlPGwKLEZPOV0hVUROXExFWV91YFpSOVAxaDZxcWhlWitAcSVUKnVoaDdObyVASWpbLj4tMHFnWCdbPFt0XmZPSyktYFQ+LEdRLlluYD1vVnI7ODcKWERfQ1dTUVpVMWtPQmFVME1vVklCLVgxQClSMlNkQmduTChlcm8hZGpiQVpGWi5xOE1dc2JwO2xSRjNeRF9lN1gzPmonTFRONFM3UXFSaFAKUF9sMCEmdSI+czlzKihfWVdlSV83bE1fNWkoOWRYQipxVjFTIldnKWRjOlBJNmkwPWMtdC5OYSEiR1lxIkdDJ09YUFQ9PCQxIiZpLlZiR1MKMk1lW1JGQSZLXW9yU1luZTwkXlAkXExFU2k4ZG4vJEVkSU8lUTZJP0Q4SVJII1xZTmNjWVEoK0VSaC4lRk1Yb1Q9dWxoaTtvaz5XbzA/SGsKQDEnK0NRKzEtRDJgZSY1TjlaK3JpPF42KGs2ZFY6XHVfMFE/UDZTRzp1WE5LNnJTZVJAbC9wLjJzUHIkWSZkJ2M3OEBpXCVCOllbJVpPRm4KXzAram1IbnEmN1U+U2JpWis1XWA+YzZbN2lkSURxZGxzRSFbWSt1bVZcIVVXSGpbYUlVKDxQanJEQ0UoJEpGc3JMSyFOISh1KkohS2xxXEMKYk1cUkg3cyQ/OltxYGVmWSM+VXM7RzlrLFNpXW88WFZFPSpTVkQyPEdDP0R0WG4sOTU1IjUuJWA6OXFTK2ZJKVhFaGJnc2kmWlFncjhpb2wKZ3U4b0QpV2FeI2xdbWtKcFJHbjJSKEFdPjhtSjlVOVA5YzxrVy9GYj4rWkdaLyopRilPUlUjOE5rTUU1JEw8dDZpdXNtTi5IajpSTUpzbEUKO15nI1ZZVD1nRUYwOmVwJDxYTFVGRjQxY1VObEw7alRtMDg7XmUqblMwIzpvbFA4RixBTmMza1ZjTk9qX0tvZTFmVlNFLUxfMClcTl9uYTMKS0YhOFMtLU0yaSldPVc9aiVRQWhvYTpOQkFQb0NpTzEoPj0uXyY0c1VXN3VsQElzWV4/MGRgVGA6WEpKbltVVjEhRmcqcEMwLEFmNj1GdD4KJlBDU2pDY0hWQmYtcytQMD1fW05VTHVwZGUuPSpMXWc9SlxRdCgxPypPcUE5LyVBPXRYJTBXLllRZ1tsYjhFb1dZN000PyViNGIuOnVYTUgKQDtRaUNbdCJJNT8vSVtcV1NmZ01gKUMuZWAwY2U1PXJYb2dGajtEa1RrPUVEKyxxX1ddV1QxcWMzVkJzZXJTUCNLajFILy0qNlJySnQqcEQKXio5NlA1V1JKWzNKRFVFJUUyXmklIT1zYlBSXXJeMThoP09VTm1jPWZIUSpIaGU0Myw9QSghdU0+NjxeYiVVYkdRQTU+LGpLKExNZ2AxM0cKZTw6RE0+Q0QhS2RGKEQpblgrRitoVkcwMy5uLEJsTzZZdSM9ZChbaktkRGstciswP09eOUxxVDpCSDBQMTUrblw5WUBdYlxobmdXa0stXF0KZ0dWOlBEOlBTai8jJGtnYUktL2xHU2w/QjU8YVMrNGVbdVYlSWw5US1tXCYhX2w9UTZtSyJccUonWEBjX3RYaiI2K1luckhiKmNyU2VRVz0KUkFwRiFwJShbJUosIVVOSDI3OENUMEUySFJwLF9OcWBdIiYyZltxRCVLUz5aX29eZjU7SWgxV24mUF5TMkVFLzI2b09RZCVuJWFSJ18xQiMKMTlEaSVpUEc/OystQj9QVHAnQmdvKU1YLiwrcUtocjdiUkNyVll0Nys4IVc3Py9OM1hGZUhmMElMM25PZURSPTIxXkI1WjhMTSM5ZzdbbzEKaHU+TGNtSmxTS1M4QX4+CmVuZHN0cmVhbQplbmRvYmoKMjIgMCBvYmoKPDwgL0xlbmd0aCAzMDY0Ci9GaWx0ZXIgWy9BU0NJSTg1RGVjb2RlIC9GbGF0ZURlY29kZV0gCj4+CnN0cmVhbQpHYXQ9Lj1gWUxsKDROLzJzNT9yNVFeTGguZEQjKykhSU1vP2ZPTldURWJmIS1FJG82KUJGZzNEcFhlO3QoPDAhPzI2QTMqTD5eREBlKEtmMwozb1YiWFh1NjJoYGFmM1pQUjhSaVYkNzNTJF8rR0dnY09MUTVkWipxPGwtXWwoWSFIXUhbZUF1NWxSVVgtMDUqbCE8bilULitoNSheRVNnUApWKEpBSiJFUjVaPSQ/Pz9pYkVLcFJETkxhczg5cTUhLltaa0xrI0FsczRuWFdNMz1pZVBsLjVkPkptQmhdODdcbEBLbk5pMllVPyUuPjBvWApUaE4+bW1iOz8mI0lAXFA9a3AjST1lNVFJXF4oNk5IKnM3NFdxQUhAKmxGP1RgSUNUQEpiMmd0RSVpO2sjNEdxWnBpZiMnbztxWWgtSCZOTgooazNTOFplbSpyMEgwJDQ0dHVxRDBQLj5UNnQyYj0yWDFDQGBcOHAtSSIqc0wxdVtfMkJKSC9nXFtpOG9VOF9bJEM5RSs6SFddTUFTPUchRwpeZTZzRmY+a2c8SUAlXkBwLTJuaD9OR1c+aVdkQzVEVEsjMXMlYSNEMSQrKnNTbG05ZFZwQXFFPDFERGdnUTVKJVRfO2NeYVlaNTdbcjZoVwojK3RHIVA7cjkjSiJrOTJBW2FAZExRaVlibzorNEElaUIhYGcvcEJZTm5acGtOW0VxcTUmZzNvVzFWa1xuQFk1VUYmNm0+UkQvXFxeXWhIWAooKDVGQic/M1VBPT1fZWU+aTgzYTxVWyRBX1QyNF9aLFFZPyNmXWJPPkJpQz9tZko0aWhHRCtcI0FqOWBfX1YyVWNgJyhrRnU7SS9XRTRcJgolVmQiW2NIXWZVU3JVZmwwQGQ8LjsuTGJFPCxgN2UuZSklcCpFIk4pQk9SIWFPZTUjTVg3YzQtXWoiSE9SLGBQKEJkJlU5ajdQNF5DKmcqWQo0STZuIUhPNmE6M29tSUkhQCI+cllaOzkoRCk7WS1qYkc3MXFfZlBCRV0+IVhPM2NfaTdNZGJsYU1DbVM8XSknSFMvcj02SDkwMGcsRklURgo0KGRzPkhNMENeNnFGLD1xWy44KzJRZFpWYkcuOk9cWHJjcUNDO1NNI1ZYLk4tSl9kN0pEITpVKlNfV1k4ZnIsQSooSnVBT1M1bSM+PCItawpoJlNPZD07PERXTGsmO1JUKm82LzotdE9dZWQ6OlVMIV0hTDcpKXFGUSYjNThrXGNQdDxdYnBPNz9QcWhxIWs1WjFdRiprOD1WO1tGKklaNwomdEtRNitBQy5LMEYjXVpeIkprXCVsUSI/WUU6VDhLZColQk0qZV4/LUQmV11DRjIidWIhbjJwXmddRFdVTCYzaiU0Qjo4Y1FiNUhCOlUzbwo4OmQkVjY1NzNdQzg8WiVYYT1KXFVtL2xUUl1uVWk3UGFER1ZRUSg5LSY7Zz9LbENiN0EsRC1QVjhBQks9TiFdMT1KQTo7XTNmMj9PPTVXUAplND0vakxUVFFuKUEyTDohMSdSR2FfWFx0WGpnT0FSI0BFOzFgaTA2Tk11R1NFRltCTS5TTFBuLHIwSjQrNSIqTWEnLi4lOyVvODosUEdJcApMPipgRjlTQjtNOThgcTUvaUdSLFtvSm1HUixPTDw3IickJVcrMixsTWNqTSpOJHMzTEBtW1EpbyxXVF1CYmNVUTsjbHAnX3FSJkQmMicpOgpxKD4kUzEoZks3KGY6czRhSjFRSFtHYWFsOTo6YnNdYDlUOGsoTkQxYUpjT0g4PGIlVEJ1ODxqT2opLW0qJSxuVWQ0L1JyISVhNjsjRmFCOQo3UyMuSyxaVT40NmwrYFtPOWtjZGxTJnA+LTdtRCdkXjg6XyFFYmRTTVlKZ0QnVW1mXC02a28lPmFlLT5bSF9vOT1KQTolW2tXVGNOKyMrRQpcbTU8JWFKNC9tRTM6WS1uZUs5PSElYThRcUJncnJMTkFaOFEwXEslTkNXSG5MKXM6R2FEQFs/IkNQcWBUUzkhQFY4UnRFMGNRZyNURyJZMAo0dSFvQlBtZ2haW1JZJksnIidHWDAtbkg0OVhvc19YVS5ZTGB0NGpZYmFpaVBhczBhcEowamRVPG8jLCc5Qjs0YS8mZUc0PUdVT2E+UitZbgo0PVpRP0QqaERHQVQ1KnVpRyQuQUgkISkqVVRBRnAxUVJnSyElYThRW2NxZyw8KkU3Km1jUWcyVjhETEcsPz4yZmReNjloY2BRMFc6aF9XbAosPFNcJiwqMjxaVlpfSFlRJk5wMCFFYylQOVdLM05KPkppcjBSbkM5L0AxKWtYczgqRmRfbUgnPTpqRklLNihnZjBYNXBFX1BRTy49dURyYQovc1UvTktMQUghcW9WJ0hOQSo1ME0rajAxJSlFRi5tNnVvIjonIlRMJzVRLmY2RmFzaUUwI1I/IktmJnNBZ1YtJyElcTghajdjRmc6PiFkdApNTXRYXD5VZ0Q1XG0/b00jKCpfNmpcbC9HYU1fYm1gWVpMZzE5amxeMDgpdTBnKW8hYGJeVCEqJFh1ZSg+W20lU201JVhaLl8vUzJiMStBKwpsPUJpSl07PFhvNFAla0hcM3VtdDU2SmBMXzMpTionKF0kJVFbNmUrSHEqKmI3KE5VU1ohJjNhVikjI05TJDNHVmVVI2cwJCVBb2FmLj5BKAo2YiNPVCJEYCxzKHJFKylNMD5GREo0akk6bTVlWVVRY2MsWUZpIiwyUS0jWVQ6YEw7QTJgMHMjLTgoUypxTVxzPjtnODNSZVoiQnVJO1p0Wgo9YSdzViJEPiIyaTtiRSssOlZDP18jUSpROGMqbkIpWV1ANlgnMUldTStiNEhfQTFGRGNjKTtPPmZZaElKNG5CYG0xMWRmaSVcM08qWlA+awowcVM+Qmk4RDlgQ145Vk8uJHFwbEJuPFAsVUxbJT4iW20jM21VWCNjL0xER0ZwPHAxJ1teXEdVNCM+ZE1RL0VRJFYkKjBgcWQjRTdCY2wmOQorYCdAJklaY1MkXD1WaGFUQWZfL1prKCVUNWA9QU4hST0lcjo+PT1MQThqU2FPK1hlKUVQSiFRVm4yckhsV0pbVjUnck1gY21XaXIpZypzcApAP0xCX0AzOSkoV09xWU9VIlcpblpPNzAwbzAtRW1kVCFYJjw7QSpsRmx1QzliRGIuLm4/MVE0MFgiTlhsPzlGOlBoVURkLypELUJDMD50NQpHUiliJ1thZ2AjTygpJilOdFFyLDVPWVl0WS5USEFScWdKYipSXmkkUSw2dWNDL2lOS15LOztdIllBNSRiaWRPPVtUTGs8RU8hLS5oOyc7KwonWHQtXkhFbDpDTVleQiFWWXA6LT1iIzQ9U1gpVi5tJUtSW2dzUC5nSFoudWFwTiFVQkRgKE8xak91YDNZKEN0Tk1kZC49aVduN1dXazY1VwokYWA4KkJMMC1XMlZbNF1RU2w7OTpBI08wbi5AKk9qNkckbEdfImZRSVlnO0BbcUxvYycjJURWXmlmVSpbK0Q+M21VMEA7YjpQN11YMldAJQpYT0JmPiknbm9XYWI+KSdtJEciRzRkVilfIiZyWGNVcUE5PGA9ZzBUbWwwP08kWFlTTVE1K2thcFkwXmtlMCtMcj07PjE5WnMmZj1FMStDYwpiJDsuMVUmJ01LR2RrMWlUal1eRElKYEAhRWtaVWRFPDFaX0VvRHE9aTBMVkkjKDhHZl1vJWQ8VjZwMjgkY0BQO0QwbGw3XWVRYV4mOEFdJgpIY01ZODgpbUIhXDJmPCZgVDpfbEskMUxqP29IJDZfL0tnSC45cDFhJXRFPjRybUx1OW0lMi5cQV9eY0wwOixlMi5lKEUuaiFfI01bP2E4cApBZWlOa1xCc2VpcjpBPVlVVDQnRFBEK2JdWktfdG5GaydaWzU5YiwwOWwnJCVATEJHNztKXVE0ZW0/U1FiQWU+Ymw2YEc8bUxtJVtcLTIxOwpPTHFHbj9fMlVhT287aTZTPkQ4JCRDRSIwKGRXL1ZgaiFTQ29gJyJicVpDPzJbR2xSZyxMKl5kSFcwaGFxVlxOKX4+CmVuZHN0cmVhbQplbmRvYmoKMjMgMCBvYmoKPDwgL1R5cGUgL1hPYmplY3QKL1N1YnR5cGUgL0ltYWdlCi9XaWR0aCAxMTgKL0hlaWdodCA0OQovQ29sb3JTcGFjZSAvRGV2aWNlR3JheQovQml0c1BlckNvbXBvbmVudCA4Ci9MZW5ndGggNDYxCi9GaWx0ZXIgWy9BU0NJSTg1RGVjb2RlIC9GbGF0ZURlY29kZV0KPj5zdHJlYW0KR2IiL2VKSV1SPyNYblhrVDZBPlhLbkRiV0IiTVpFYWpQcGQ0XScoXkBSbHQia0IiUzAkZiU/PW09NEM7Oy4kTihqUmNZUiVzZCZsOSRPdF4KKSY3PUwoNy1lcXFlQC4oL1NDOTg0LWZMWGVMWjVxY1o1bEFFQjU1PjNAMD1rIjtSaDJoQmNRTDMmSj81b1tjSDBiU0ZOXjw7O0A0MVNZOW0KYyJaST1ZbCNjNClgXyJZbG1OMyUuQS5sTlNgVmUvWTwlPy43KCgpLy5kQls7ayFKWyUnJURKXEk/K2E3OjVvTmtZXHFFUz4zPEk1YlptKEkKJWQ8QEIpOERidDNwS0djbGJRazEnaVpWczdOTTBcbyZSKnFVPmdIdS1GckNraDxrSEZHKlwkTT1fc1YvLSRcSkY6ZS8/PmZYQStDQ21wRGUKZFNQNkdjdSxcWCdBTD1hNUpDWzQ2Ry5ocDI9VTRlXiRlb1xRI2IqbTdDOCQtSkEoY1o/WWAnQzs2SnBIZVBsXCRIRUMhdV4qUWErNmdFTWsKW2ZFVipiLiM+cHI+LVdTZiM+aCZXP3Vra1RzaFlgPS9YLjY2QSo7YmlzL2RnQFFYWHNyOG07fj4KZW5kc3RyZWFtCmVuZG9iagoyNCAwIG9iago8PCAvVHlwZSAvWE9iamVjdAovU3VidHlwZSAvSW1hZ2UKL1dpZHRoIDU0Ci9IZWlnaHQgNTQKL0NvbG9yU3BhY2UgL0RldmljZUdyYXkKL0JpdHNQZXJDb21wb25lbnQgOAovTGVuZ3RoIDc3Ci9GaWx0ZXIgWy9BU0NJSTg1RGVjb2RlIC9GbGF0ZURlY29kZV0KPj5zdHJlYW0KR2IiMEpkMFRkcSRqNG9GXlUsIkhUczlFSUU7MEFULF9FKkxaJW9AN0psNVY7SCdDcz1UcnFEYUguNEJmI2M0T1ZUOyhkI2Y8R0U5fj4KZW5kc3RyZWFtCmVuZG9iagoyNSAwIG9iago8PCAvVHlwZSAvWE9iamVjdAovU3VidHlwZSAvSW1hZ2UKL1dpZHRoIDI3NwovSGVpZ2h0IDczCi9Db2xvclNwYWNlIC9EZXZpY2VHcmF5Ci9CaXRzUGVyQ29tcG9uZW50IDgKL0xlbmd0aCAxMzk0Ci9GaWx0ZXIgWy9BU0NJSTg1RGVjb2RlIC9GbGF0ZURlY29kZV0KPj5zdHJlYW0KR2IiL2NnUSE0LSRxJ2pqNUwjcFpHdTY9I0g/JWghJFonRWs9WCZuTU9vK0xPY1gvbXImKVZsP0ttSitFbkU5ISNrSSNwOTYyYy02LE11dUEKb0ZaSG08JnBIZ1NgJEAobS03LVVRKDckSV1fSl5ZU0E3bScpQiY5LVo7Oz1aNT03Xj5KZEhedFRxcWYqXz1JLWQqb0BVWjpjT1soIWFJTGEKYjByalFXUDslUFhjP3M8cFRbTzFiI0trUEVgdUVCV1xKUl47dVxrPjRSVjlmNGdoIjYzSnU2ZUgtQit1QzE8IjdpVVdbU1cqOllYalpjIygKQjdfQFpCWmM1T1w8cEQ8Q0RrTmVMYTE3O0o+TV5qMmovMWUrJV9sLTctSStaV1U0NCkvWDFzMCZXMEsiUElwOWZWPyYpSUMqWkNiNWtrZ1MKL1JgMGlGNkNibS4/RyZQJiZMRnNVKkZsWlVgbSpBKDxaWi9pb1lEWmFdL2phJ1I5Jjk5SUhLVF8uVTA4LzZlZ1NBZkI8NF9dQT8jO1wsJi0KIkQiZkBrJTVDTzZGZDhyXW8ldU1hOCdFcXEmTS5hOFxgJFRpciMvdCwvO1NWMFAiOjkkX2VuNFBpaVhFUW4hY1BeLyxUZjlkaEJkJ0kuZUEKUW9QISkmMj42IUUqKlgrVTtcbWBKYWVhRyUiY3BdMidaNV9dTUtEVUc2WVpVKDxUbzJCbXMjdDlZbG5uWG83IzMkJDAhbSluLFJQYGApcm8KN09gNT5LYjcrdCYyJFRST0M0YjVQXFgpYCs/PStmLXJtc10yQj0/bzJXWnVgVmBHbjdrYG4sdFVJYjtzckJxRUw3NjJdIyFTYGMoRGtTX0gKWCYrc1lyVFw7PU1MRD1cZCp1S2ZWWXRmKkUjS0A8bFRbO24vbjNNLyw+LSFZQmpoKm41Vjg0U0VaJ2FlUC1Hb14pSCdwI1cvNHJuRTQraTEKK0lCRlA1Uys0PThGOSU3Tyo6ZipuM0otYTc2MmIzYiFOV0hWKWhGK21iLC1VLUU5U05oST4sVSo8LkdtcC0pMiQvLztJOm4+W2I3cUljKDYKcElAI05UZSlHY0s3YFliUFRmZERhbiNLbVBdV145KDZqbGNMQlFlVzdxTCMjPDNlNW8rPC0pNGNsNFR1XFwoYFNiJm8qRUAnYytqam1aUCoKNE5nRkdFXiQmOi4mXyVQRkBONWQ1dSFgR1Y2bylVS0c3OCsmW1A6TGIlMnRRNC9DbF9OTltXI3A/XkxqNCRtVlZTZCZOMCwzPUA4J0xRKHQKTGBuZWAvWXM4aiwlbSVQOl9xMnItbWRjPVhYNSY+OiNZO24+LipHcGZtVyc8OE9fRWtsPSkkTi9HRCtRSFhyWD5HLCVpYUtzRlBDNjVfLE0KQD8yXic5Mk1JVz8kZ2s1aEQ+YGtuOzFPLSViazVuXVteOj5QX0YsaWIzM3ErW249OCFibkBBbGViMltVU2NoT0VrXVdpV189KCQxOjM4KTsKIklWbHFLNDFOK1BsNjxBOmk4Uyg0PSc1cChjV2RCQmQtZSNgMVdoOzs6QXQzQ3Q+YURLQklQaWNdKzMyXTtnXTRXWEVDM2drPFBMMnFnLHMKJG5FSDJqP14haFMrUztVTGR0U2pAYV9fYjtsQGprRlxvPUs1PCgxUSRzP3BjJGZzLi5abUE9dD47X0UpRzVjNzkocyokJFZCITA2WyEoLGUKLVUzTFJKbCQwWFxKT1loQjYtdSsoV28oVCMsVD0qLVVkPiU8V3FTXmVqKyUrZWRqXksiVnNIMi5wSCZXYT5sdUxOMDRPWUo0TkJoZz9DcSwKLi9zS19UPElEX1AkQCc0fj4KZW5kc3RyZWFtCmVuZG9iagoyNiAwIG9iago8PCAvVHlwZSAvWE9iamVjdAovU3VidHlwZSAvSW1hZ2UKL1dpZHRoIDExOAovSGVpZ2h0IDQ5Ci9Db2xvclNwYWNlIC9EZXZpY2VHcmF5Ci9CaXRzUGVyQ29tcG9uZW50IDgKL0xlbmd0aCA0NjEKL0ZpbHRlciBbL0FTQ0lJODVEZWNvZGUgL0ZsYXRlRGVjb2RlXQo+PnN0cmVhbQpHYiIvZUpJXVI/I1huWGtUNkE+WEtuRGJXQiJNWkVhalBwZDRdJyheQFJsdCJrQiJTMCRmJT89bT00Qzs7LiROKGpSY1lSJXNkJmw5JE90XgopJjc9TCg3LWVxcWVALigvU0M5ODQtZkxYZUxaNXFjWjVsQUVCNTU+M0AwPWsiO1JoMmhCY1FMMyZKPzVvW2NIMGJTRk5ePDs7QDQxU1k5bQpjIlpJPVlsI2M0KWBfIllsbU4zJS5BLmxOU2BWZS9ZPCU/LjcoKCkvLmRCWztrIUpbJSclREpcST8rYTc6NW9Oa1lccUVTPjM8STViWm0oSQolZDxAQik4RGJ0M3BLR2NsYlFrMSdpWlZzN05NMFxvJlIqcVU+Z0h1LUZyQ2toPGtIRkcqXCRNPV9zVi8tJFxKRjplLz8+ZlhBK0NDbXBEZQpkU1A2R2N1LFxYJ0FMPWE1SkNbNDZHLmhwMj1VNGVeJGVvXFEjYiptN0M4JC1KQShjWj9ZYCdDOzZKcEhlUGxcJEhFQyF1XipRYSs2Z0VNawpbZkVWKmIuIz5wcj4tV1NmIz5oJlc/dWtrVHNoWWA9L1guNjZBKjtiaXMvZGdAUVhYc3I4bTt+PgplbmRzdHJlYW0KZW5kb2JqCjI3IDAgb2JqCjw8IC9UeXBlIC9YT2JqZWN0Ci9TdWJ0eXBlIC9JbWFnZQovV2lkdGggNTQKL0hlaWdodCA1NAovQ29sb3JTcGFjZSAvRGV2aWNlR3JheQovQml0c1BlckNvbXBvbmVudCA4Ci9MZW5ndGggNzcKL0ZpbHRlciBbL0FTQ0lJODVEZWNvZGUgL0ZsYXRlRGVjb2RlXQo+PnN0cmVhbQpHYiIwSmQwVGRxJGo0b0ZeVSwiSFRzOUVJRTswQVQsX0UqTFolb0A3Smw1VjtIJ0NzPVRycURhSC40QmYjYzRPVlQ7KGQjZjxHRTl+PgplbmRzdHJlYW0KZW5kb2JqCnhyZWYKMCAyOAowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDAwMDkgMDAwMDAgbiAKMDAwMDAwMDA1OCAwMDAwMCBuIAowMDAwMDAwMTA0IDAwMDAwIG4gCjAwMDAwMDAxNzYgMDAwMDAgbiAKMDAwMDAwMDIyOCAwMDAwMCBuIAowMDAwMDAwMzI2IDAwMDAwIG4gCjAwMDAwMDA0MjkgMDAwMDAgbiAKMDAwMDAwMDUzNSAwMDAwMCBuIAowMDAwMDAwNjQ1IDAwMDAwIG4gCjAwMDAwMDA3NDEgMDAwMDAgbiAKMDAwMDAwMDg0MyAwMDAwMCBuIAowMDAwMDAwOTQ4IDAwMDAwIG4gCjAwMDAwMDEwNTcgMDAwMDAgbiAKMDAwMDAwMTE1OCAwMDAwMCBuIAowMDAwMDAxMjU4IDAwMDAwIG4gCjAwMDAwMDEzNjAgMDAwMDAgbiAKMDAwMDAwMTQ2NiAwMDAwMCBuIAowMDAwMDAxNjM2IDAwMDAwIG4gCjAwMDAwMDIwNTMgMDAwMDAgbiAKMDAwMDAwMjQ3MCAwMDAwMCBuIAowMDAwMDAyODg3IDAwMDAwIG4gCjAwMDAwMDU1ODYgMDAwMDAgbiAKMDAwMDAwODc0MiAwMDAwMCBuIAowMDAwMDA5Mzg5IDAwMDAwIG4gCjAwMDAwMDk2NTAgMDAwMDAgbiAKMDAwMDAxMTIzMSAwMDAwMCBuIAowMDAwMDExODc4IDAwMDAwIG4gCnRyYWlsZXIKPDwKL0luZm8gMTcgMCBSCi9TaXplIDI4Ci9Sb290IDEgMCBSCj4+CnN0YXJ0eHJlZgoxMjEzOQolJUVPRgo", + "url": "https://wwwdev.idev.fedex.com/document/v2/document/retrieve/SH,794810209259_SHIPPING_P/isLabel=true&autoPrint=false" + } + ], + "pieceResponses": [ + { + "netChargeAmount": 21.45, + "transactionDetails": [ + { + "transactionDetails": "transactionDetails", + "transactionId": "12345" + } + ], + "packageDocuments": [ + { + "contentKey": "content key", + "copiesToPrint": 10, + "contentType": "COMMERCIAL_INVOICE", + "trackingNumber": "794953535000", + "docType": "PDF", + "alerts": [ + { + "code": "SHIP.RECIPIENT.POSTALCITY.MISMATCH", + "alertType": "NOTE", + "message": "Recipient Postal-City Mismatch." + } + ], + "encodedLabel": "encoded label", + "url": "https://wwwdev.idev.fedex.com/document/v2/document/retrieve/SH,794810209259_SHIPPING_P/isLabel=true&autoPrint=false" + } + ], + "acceptanceTrackingNumber": "794953535000", + "serviceCategory": "EXPRESS", + "listCustomerTotalCharge": "listCustomerTotalCharge", + "deliveryTimestamp": "2012-09-23", + "trackingIdType": "FEDEX", + "additionalChargesDiscount": 621.45, + "netListRateAmount": 1.45, + "baseRateAmount": 321.45, + "packageSequenceNumber": 215, + "netDiscountAmount": 121.45, + "codcollectionAmount": 231.45, + "masterTrackingNumber": "794953535000", + "acceptanceType": "acceptanceType", + "trackingNumber": "794953535000", + "successful": true, + "customerReferences": [ + { + "customerReferenceType": "INVOICE_NUMBER", + "value": "3686" + } + ] + } + ], + "serviceName": "FedEx 2 Day Freight", + "alerts": [ + { + "code": "SHIP.RECIPIENT.POSTALCITY.MISMATCH", + "alertType": "NOTE", + "message": "Recipient Postal-City Mismatch." + } + ], + "completedShipmentDetail": { + "completedPackageDetails": [ + { + "sequenceNumber": 256, + "operationalDetail": { + "astraHandlingText": "astraHandlingText", + "barcodes": { + "binaryBarcodes": [ + { + "type": "COMMON-2D", + "value": "string" + } + ], + "stringBarcodes": [ + { + "type": "ADDRESS", + "value": "1010062512241535917900794953544894" + } + ] + }, + "operationalInstructions": [ + { + "number": 17, + "content": "content" + } + ] + }, + "signatureOption": "DIRECT", + "trackingIds": [ + { + "formId": "0201", + "trackingIdType": "EXPRESS", + "uspsApplicationId": "92", + "trackingNumber": "49092000070120032835" + } + ], + "groupNumber": 567, + "oversizeClass": "OVERSIZE_1, OVERSIZE_2, OVERSIZE_3", + "packageRating": { + "effectiveNetDiscount": 0, + "actualRateType": "PAYOR_ACCOUNT_PACKAGE", + "packageRateDetails": [ + { + "ratedWeightMethod": "DIM", + "totalFreightDiscounts": 44.55, + "totalTaxes": 3.45, + "minimumChargeType": "CUSTOMER", + "baseCharge": 45.67, + "totalRebates": 4.56, + "rateType": "PAYOR_RETAIL_PACKAGE", + "billingWeight": { + "units": "KG", + "value": 68 + }, + "netFreight": 4.89, + "surcharges": [ + { + "amount": "string", + "surchargeType": "APPOINTMENT_DELIVERY", + "level": "PACKAGE, or SHIPMENT", + "description": "description" + } + ], + "totalSurcharges": 22.56, + "netFedExCharge": 12.56, + "netCharge": 121.56, + "currency": "USD" + } + ] + }, + "dryIceWeight": { + "units": "KG", + "value": 68 + }, + "hazardousPackageDetail": { + "regulation": "IATA", + "accessibility": "ACCESSIBLE", + "labelType": "II_YELLOW", + "containers": [ + { + "qvalue": 2, + "hazardousCommodities": [ + { + "quantity": { + "quantityType": "GROSS", + "amount": 24.56, + "units": "Kg" + }, + "options": { + "quantity": { + "quantityType": "GROSS", + "amount": 24.56, + "units": "Kg" + }, + "innerReceptacles": [ + { + "quantity": { + "quantityType": "NET", + "amount": 34.56, + "units": "Kg" + } + } + ], + "options": { + "labelTextOption": "APPEND", + "customerSuppliedLabelText": "Customer Supplied Label Text." + }, + "description": { + "sequenceNumber": 9812, + "processingOptions": [ + "INCLUDE_SPECIAL_PROVISIONS" + ], + "subsidiaryClasses": [ + "Subsidiary Classes" + ], + "labelText": "labelText", + "technicalName": "technicalName", + "packingDetails": { + "packingInstructions": "packing Instructions", + "cargoAircraftOnly": true + }, + "authorization": "authorization", + "reportableQuantity": true, + "percentage": 12.45, + "id": "123", + "packingGroup": "I", + "properShippingName": "properShippingName", + "hazardClass": "hazard Class" + } + }, + "description": { + "sequenceNumber": 876, + "packingInstructions": "packingInstructions", + "subsidiaryClasses": [ + "Subsidiary Classes" + ], + "labelText": "labelText", + "tunnelRestrictionCode": "UN2919", + "specialProvisions": "specialProvisions", + "properShippingNameAndDescription": "properShippingNameAndDescription", + "technicalName": "technicalName", + "symbols": "symbols", + "authorization": "authorization", + "attributes": [ + "attributes" + ], + "id": "1234", + "packingGroup": "packingGroup", + "properShippingName": "properShippingName", + "hazardClass": "hazardClass" + }, + "netExplosiveDetail": { + "amount": 10, + "units": "units", + "type": "NET_EXPLOSIVE_WEIGHT" + }, + "massPoints": 2 + } + ] + } + ], + "cargoAircraftOnly": true, + "referenceId": "123456", + "radioactiveTransportIndex": 2.45 + } + } + ], + "operationalDetail": { + "originServiceArea": "A1", + "serviceCode": "010", + "airportId": "DFW", + "postalCode": "38010", + "scac": "scac", + "deliveryDay": "TUE", + "originLocationId": "678", + "countryCode": "US", + "astraDescription": "SMART POST", + "originLocationNumber": 243, + "deliveryDate": "2001-04-05", + "deliveryEligibilities": [ + "deliveryEligibilities" + ], + "ineligibleForMoneyBackGuarantee": true, + "maximumTransitTime": "SEVEN_DAYS", + "destinationLocationStateOrProvinceCode": "GA", + "astraPlannedServiceLevel": "TUE - 15 OCT 10:30A", + "destinationLocationId": "DALA", + "transitTime": "TWO_DAYS", + "stateOrProvinceCode": "GA", + "destinationLocationNumber": 876, + "packagingCode": "03", + "commitDate": "2019-10-15", + "publishedDeliveryTime": "10:30A", + "ursaSuffixCode": "Ga", + "ursaPrefixCode": "XH", + "destinationServiceArea": "A1", + "commitDay": "TUE", + "customTransitTime": "ONE_DAY" + }, + "carrierCode": "FDXE", + "completedHoldAtLocationDetail": { + "holdingLocationType": "FEDEX_STAFFED", + "holdingLocation": { + "address": { + "streetLines": [ + "10 FedEx Parkway", + "Suite 302" + ], + "city": "Beverly Hills", + "stateOrProvinceCode": "CA", + "postalCode": "38127", + "countryCode": "US", + "residential": false + }, + "contact": { + "personName": "John Taylor", + "tollFreePhoneNumber": "6127812", + "emailAddress": "sample@company.com", + "phoneNumber": "1234567890", + "phoneExtension": "91", + "faxNumber": "1234567890", + "pagerNumber": "6127812", + "companyName": "Fedex", + "title": "title" + } + } + }, + "completedEtdDetail": { + "folderId": "0b0493e580dc1a1b", + "type": "COMMERCIAL_INVOICE", + "uploadDocumentReferenceDetails": [ + { + "documentType": "PRO_FORMA_INVOICE", + "documentReference": "DocumentReference", + "description": "PRO FORMA INVOICE", + "documentId": "090927d680038c61" + } + ] + }, + "packagingDescription": "description", + "masterTrackingId": { + "formId": "0201", + "trackingIdType": "EXPRESS", + "uspsApplicationId": "92", + "trackingNumber": "49092000070120032835" + }, + "serviceDescription": { + "serviceType": "FEDEX_1_DAY_FREIGHT", + "code": "80", + "names": [ + { + "type": "long", + "encoding": "UTF-8", + "value": "F-2" + } + ], + "operatingOrgCodes": [ + "FXE" + ], + "astraDescription": "2 DAY FRT", + "description": "description", + "serviceId": "EP1000000027", + "serviceCategory": "freight" + }, + "usDomestic": true, + "hazardousShipmentDetail": { + "hazardousSummaryDetail": { + "smallQuantityExceptionPackageCount": 10 + }, + "adrLicense": { + "licenseOrPermitDetail": { + "number": "12345", + "effectiveDate": "2019-08-09", + "expirationDate": "2019-04-09" + } + }, + "dryIceDetail": { + "totalWeight": { + "units": "KG", + "value": 68 + }, + "packageCount": 10, + "processingOptions": { + "options": [ + "options" + ] + } + } + }, + "shipmentRating": { + "actualRateType": "PAYOR_LIST_SHIPMENT", + "shipmentRateDetails": [ + { + "rateZone": "US001O", + "ratedWeightMethod": "ACTUAL", + "totalDutiesTaxesAndFees": 24.56, + "pricingCode": "LTL_FREIGHT", + "totalFreightDiscounts": 1.56, + "totalTaxes": 3.45, + "totalDutiesAndTaxes": 6.78, + "totalAncillaryFeesAndTaxes": 5.67, + "taxes": [ + { + "amount": 10, + "level": "level", + "description": "description", + "type": "type" + } + ], + "totalRebates": 1.98, + "fuelSurchargePercent": 4.56, + "currencyExchangeRate": { + "rate": 25.6, + "fromCurrency": "Rupee", + "intoCurrency": "USD" + }, + "totalNetFreight": 9.56, + "totalNetFedExCharge": 88.56, + "shipmentLegRateDetails": [], + "dimDivisor": 0, + "rateType": "RATED_ACCOUNT_SHIPMENT", + "surcharges": [ + { + "amount": "string", + "surchargeType": "APPOINTMENT_DELIVERY", + "level": "PACKAGE, or SHIPMENT", + "description": "description" + } + ], + "totalSurcharges": 9.88, + "totalBillingWeight": { + "units": "KG", + "value": 68 + }, + "freightDiscounts": [ + { + "amount": 8.9, + "rateDiscountType": "COUPON", + "percent": 28.9, + "description": "description" + } + ], + "rateScale": "00000", + "totalNetCharge": 3.78, + "totalBaseCharge": 234.56, + "totalNetChargeWithDutiesAndTaxes": 222.56, + "currency": "USD" + } + ] + }, + "documentRequirements": { + "requiredDocuments": [ + "COMMERCIAL_OR_PRO_FORMA_INVOICE", + "AIR_WAYBILL" + ], + "prohibitedDocuments": [ + "CERTIFICATE_OF_ORIGIN" + ], + "generationDetails": [ + { + "type": "COMMERCIAL_INVOICE", + "minimumCopiesRequired": 3, + "letterhead": "OPTIONAL", + "electronicSignature": "OPTIONAL" + } + ] + }, + "exportComplianceStatement": "12345678901234567", + "accessDetail": { + "accessorDetails": [ + { + "password": "password", + "role": "role", + "emailLabelUrl": "emailLabelUrl", + "userId": "userId" + } + ] + } + }, + "shipmentAdvisoryDetails": { + "regulatoryAdvisory": { + "prohibitions": [ + { + "derivedHarmonizedCode": "01", + "advisory": { + "code": "code", + "text": "Text", + "parameters": [ + { + "id": "message ID", + "value": "Message value" + } + ], + "localizedText": "localizedText" + }, + "commodityIndex": 12, + "source": "source", + "categories": [ + "categories" + ], + "type": "type", + "waiver": { + "advisories": [ + { + "code": "code", + "text": "Text", + "parameters": [ + { + "id": "message ID", + "value": "Message value" + } + ], + "localizedText": "localizedText" + } + ], + "description": "description", + "id": "id" + }, + "status": "status" + } + ] + } + }, + "masterTrackingNumber": "794953535000" + } + ], + "alerts": [ + { + "code": "SHIP.RECIPIENT.POSTALCITY.MISMATCH", + "alertType": "NOTE", + "message": "Recipient Postal-City Mismatch." + } + ], + "jobId": "abc123456" + } +} \ No newline at end of file diff --git a/modules/connectors/ninja_van/schemas/tracking_request.json b/modules/connectors/ninja_van/schemas/tracking_request.json new file mode 100644 index 0000000000..699552c341 --- /dev/null +++ b/modules/connectors/ninja_van/schemas/tracking_request.json @@ -0,0 +1,14 @@ +{ + "includeDetailedScans": true, + "trackingInfo": [ + { + "shipDateBegin": "2020-03-29", + "shipDateEnd": "2020-04-01", + "trackingNumberInfo": { + "trackingNumber": "128667043726", + "carrierCode": "ninja_van", + "trackingNumberUniqueId": "245822~123456789012~FDEG" + } + } + ] +} diff --git a/modules/connectors/ninja_van/schemas/tracking_response.json b/modules/connectors/ninja_van/schemas/tracking_response.json new file mode 100644 index 0000000000..dd71a03e60 --- /dev/null +++ b/modules/connectors/ninja_van/schemas/tracking_response.json @@ -0,0 +1,459 @@ +{ + "transactionId": "624deea6-b709-470c-8c39-4b5511281492", + "customerTransactionId": "AnyCo_order123456789", + "output": { + "completeTrackResults": [ + { + "trackingNumber": "123456789012", + "trackResults": [ + { + "trackingNumberInfo": { + "trackingNumber": "128667043726", + "carrierCode": "ninja_van", + "trackingNumberUniqueId": "245822~123456789012~FDEG" + }, + "additionalTrackingInfo": { + "hasAssociatedShipments": false, + "nickname": "shipment nickname", + "packageIdentifiers": [ + { + "type": "SHIPPER_REFERENCE", + "value": "ASJFGVAS", + "trackingNumberUniqueId": "245822~123456789012~FDEG" + } + ], + "shipmentNotes": "shipment notes" + }, + "distanceToDestination": { + "units": "KM", + "value": 685.7 + }, + "consolidationDetail": [ + { + "timeStamp": "2020-10-13T03:54:44-06:00", + "consolidationID": "47936927", + "reasonDetail": { + "description": "Wrong color", + "type": "REJECTED" + }, + "packageCount": 25, + "eventType": "PACKAGE_ADDED_TO_CONSOLIDATION" + } + ], + "meterNumber": "8468376", + "returnDetail": { + "authorizationName": "Sammy Smith", + "reasonDetail": [ + { + "description": "Wrong color", + "type": "REJECTED" + } + ] + }, + "serviceDetail": { + "description": "FedEx Freight Economy.", + "shortDescription": "FL", + "type": "FEDEX_FREIGHT_ECONOMY" + }, + "destinationLocation": { + "locationId": "SEA", + "locationContactAndAddress": { + "contact": { + "personName": "John Taylor", + "phoneNumber": "1234567890", + "companyName": "Fedex" + }, + "address": { + "addressClassification": "BUSINESS", + "residential": false, + "streetLines": [ + "1043 North Easy Street", + "Suite 999" + ], + "city": "SEATTLE", + "urbanizationCode": "RAFAEL", + "stateOrProvinceCode": "WA", + "postalCode": "98101", + "countryCode": "US", + "countryName": "United States" + } + }, + "locationType": "PICKUP_LOCATION" + }, + "latestStatusDetail": { + "scanLocation": { + "addressClassification": "BUSINESS", + "residential": false, + "streetLines": [ + "1043 North Easy Street", + "Suite 999" + ], + "city": "SEATTLE", + "urbanizationCode": "RAFAEL", + "stateOrProvinceCode": "WA", + "postalCode": "98101", + "countryCode": "US", + "countryName": "United States" + }, + "code": "PU", + "derivedCode": "PU", + "ancillaryDetails": [ + { + "reason": "15", + "reasonDescription": "Customer not available or business closed", + "action": "Contact us at to discuss possible delivery or pickup alternatives.", + "actionDescription": "Customer not Available or Business Closed" + } + ], + "statusByLocale": "Picked up", + "description": "Picked up", + "delayDetail": { + "type": "WEATHER", + "subType": "SNOW", + "status": "DELAYED" + } + }, + "serviceCommitMessage": { + "message": "No scheduled delivery date available at this time.", + "type": "ESTIMATED_DELIVERY_DATE_UNAVAILABLE" + }, + "informationNotes": [ + { + "code": "CLEARANCE_ENTRY_FEE_APPLIES", + "description": "this is an informational message" + } + ], + "error": { + "code": "TRACKING.TRACKINGNUMBER.EMPTY", + "parameterList": [ + { + "value": "value", + "key": "key" + } + ], + "message": "Please provide tracking number." + }, + "specialHandlings": [ + { + "description": "Deliver Weekday", + "type": "DELIVER_WEEKDAY", + "paymentType": "OTHER" + } + ], + "availableImages": [ + { + "size": "LARGE", + "type": "BILL_OF_LADING" + } + ], + "deliveryDetails": { + "receivedByName": "Reciever", + "destinationServiceArea": "EDDUNAVAILABLE", + "destinationServiceAreaDescription": "Appointment required", + "locationDescription": "Receptionist/Front Desk", + "actualDeliveryAddress": { + "addressClassification": "BUSINESS", + "residential": false, + "streetLines": [ + "1043 North Easy Street", + "Suite 999" + ], + "city": "SEATTLE", + "urbanizationCode": "RAFAEL", + "stateOrProvinceCode": "WA", + "postalCode": "98101", + "countryCode": "US", + "countryName": "United States" + }, + "deliveryToday": false, + "locationType": "FEDEX_EXPRESS_STATION", + "signedByName": "Reciever", + "officeOrderDeliveryMethod": "Courier", + "deliveryAttempts": "0", + "deliveryOptionEligibilityDetails": [ + { + "option": "INDIRECT_SIGNATURE_RELEASE", + "eligibility": "INELIGIBLE" + } + ] + }, + "scanEvents": [ + { + "date": "2018-02-02T12:01:00-07:00", + "derivedStatus": "Picked Up", + "scanLocation": { + "addressClassification": "BUSINESS", + "residential": false, + "streetLines": [ + "1043 North Easy Street", + "Suite 999" + ], + "city": "SEATTLE", + "urbanizationCode": "RAFAEL", + "stateOrProvinceCode": "WA", + "postalCode": "98101", + "countryCode": "US", + "countryName": "United States" + }, + "locationId": "SEA", + "locationType": "PICKUP_LOCATION", + "exceptionDescription": "Package available for clearance", + "eventDescription": "Picked Up", + "eventType": "PU", + "derivedStatusCode": "PU", + "exceptionCode": "A25", + "delayDetail": { + "type": "WEATHER", + "subType": "SNOW", + "status": "DELAYED" + } + } + ], + "dateAndTimes": [ + { + "dateTime": "2007-09-27T00:00:00", + "type": "ACTUAL_DELIVERY" + } + ], + "packageDetails": { + "physicalPackagingType": "BARREL", + "sequenceNumber": "45", + "undeliveredCount": "7", + "packagingDescription": { + "description": "FedEx Pak", + "type": "FEDEX_PAK" + }, + "count": "1", + "weightAndDimensions": { + "weight": [ + { + "unit": "LB", + "value": "22222.0" + } + ], + "dimensions": [ + { + "length": 100, + "width": 50, + "height": 30, + "units": "CM" + } + ] + }, + "packageContent": [ + "wire hangers", + "buttons" + ], + "contentPieceCount": "100", + "declaredValue": { + "currency": "USD", + "value": 56.8 + } + }, + "goodsClassificationCode": "goodsClassificationCode", + "holdAtLocation": { + "locationId": "SEA", + "locationContactAndAddress": { + "contact": { + "personName": "John Taylor", + "phoneNumber": "1234567890", + "companyName": "Fedex" + }, + "address": { + "addressClassification": "BUSINESS", + "residential": false, + "streetLines": [ + "1043 North Easy Street", + "Suite 999" + ], + "city": "SEATTLE", + "urbanizationCode": "RAFAEL", + "stateOrProvinceCode": "WA", + "postalCode": "98101", + "countryCode": "US", + "countryName": "United States" + } + }, + "locationType": "PICKUP_LOCATION" + }, + "customDeliveryOptions": [ + { + "requestedAppointmentDetail": { + "date": "2019-05-07", + "window": [ + { + "description": "Description field", + "window": { + "begins": "2021-10-01T08:00:00", + "ends": "2021-10-15T00:00:00-06:00" + }, + "type": "ESTIMATED_DELIVERY" + } + ] + }, + "description": "Redirect the package to the hold location.", + "type": "REDIRECT_TO_HOLD_AT_LOCATION", + "status": "HELD" + } + ], + "estimatedDeliveryTimeWindow": { + "description": "Description field", + "window": { + "begins": "2021-10-01T08:00:00", + "ends": "2021-10-15T00:00:00-06:00" + }, + "type": "ESTIMATED_DELIVERY" + }, + "pieceCounts": [ + { + "count": "35", + "description": "picec count description", + "type": "ORIGIN" + } + ], + "originLocation": { + "locationId": "SEA", + "locationContactAndAddress": { + "contact": { + "personName": "John Taylor", + "phoneNumber": "1234567890", + "companyName": "Fedex" + }, + "address": { + "addressClassification": "BUSINESS", + "residential": false, + "streetLines": [ + "1043 North Easy Street", + "Suite 999" + ], + "city": "SEATTLE", + "urbanizationCode": "RAFAEL", + "stateOrProvinceCode": "WA", + "postalCode": "98101", + "countryCode": "US", + "countryName": "United States" + } + }, + "locationType": "PICKUP_LOCATION" + }, + "recipientInformation": { + "contact": { + "personName": "John Taylor", + "phoneNumber": "1234567890", + "companyName": "Fedex" + }, + "address": { + "addressClassification": "BUSINESS", + "residential": false, + "streetLines": [ + "1043 North Easy Street", + "Suite 999" + ], + "city": "SEATTLE", + "urbanizationCode": "RAFAEL", + "stateOrProvinceCode": "WA", + "postalCode": "98101", + "countryCode": "US", + "countryName": "United States" + } + }, + "standardTransitTimeWindow": { + "description": "Description field", + "window": { + "begins": "2021-10-01T08:00:00", + "ends": "2021-10-15T00:00:00-06:00" + }, + "type": "ESTIMATED_DELIVERY" + }, + "shipmentDetails": { + "contents": [ + { + "itemNumber": "RZ5678", + "receivedQuantity": "13", + "description": "pulyurethane rope", + "partNumber": "RK1345" + } + ], + "beforePossessionStatus": false, + "weight": [ + { + "unit": "LB", + "value": "22222.0" + } + ], + "contentPieceCount": "3333", + "splitShipments": [ + { + "pieceCount": "10", + "statusDescription": "status", + "timestamp": "2019-05-07T08:00:07", + "statusCode": "statuscode" + } + ] + }, + "reasonDetail": { + "description": "Wrong color", + "type": "REJECTED" + }, + "availableNotifications": [ + "ON_DELIVERY", + "ON_EXCEPTION" + ], + "shipperInformation": { + "contact": { + "personName": "John Taylor", + "phoneNumber": "1234567890", + "companyName": "Fedex" + }, + "address": { + "addressClassification": "BUSINESS", + "residential": false, + "streetLines": [ + "1043 North Easy Street", + "Suite 999" + ], + "city": "SEATTLE", + "urbanizationCode": "RAFAEL", + "stateOrProvinceCode": "WA", + "postalCode": "98101", + "countryCode": "US", + "countryName": "United States" + } + }, + "lastUpdatedDestinationAddress": { + "addressClassification": "BUSINESS", + "residential": false, + "streetLines": [ + "1043 North Easy Street", + "Suite 999" + ], + "city": "SEATTLE", + "urbanizationCode": "RAFAEL", + "stateOrProvinceCode": "WA", + "postalCode": "98101", + "countryCode": "US", + "countryName": "United States" + } + } + ] + }, + { + "trackingNumber": "39936862321", + "trackResults": [ + { + "trackingNumberInfo": { + "trackingNumber": "39936862321", + "trackingNumberUniqueId": "", + "carrierCode": "" + }, + "error": { + "code": "TRACKING.TRACKINGNUMBER.NOTFOUND", + "message": "Tracking number cannot be found. Please correct the tracking number and try again." + } + } + ] + } + ], + "alerts": "TRACKING.DATA.NOTFOUND - Tracking data unavailable" + } +} diff --git a/modules/core/karrio/server/providers/extensions/ninja_van.py b/modules/core/karrio/server/providers/extensions/ninja_van.py new file mode 100644 index 0000000000..10f96e7ccd --- /dev/null +++ b/modules/core/karrio/server/providers/extensions/ninja_van.py @@ -0,0 +1,34 @@ +import django.db.models as models +import karrio.server.providers.models as providers + +@providers.has_auth_cache +class NinjaVanSettings(providers.Carrier): + class Meta: + db_table = "ninjaVan_settings" + verbose_name = "NinjaVan Settings" + verbose_name_plural = "NinjaVan Settings" + + api_key = models.CharField(max_length=100, blank=True, null=True) + secret_key = models.CharField(max_length=100, blank=True, null=True) + track_api_key = models.CharField(max_length=100, blank=True, null=True) + track_secret_key = models.CharField(max_length=100, blank=True, null=True) + account_number = models.CharField(max_length=50, blank=True, null=True) + account_country_code = models.CharField( + max_length=3, blank=True, null=True, choices=providers.COUNTRIES + ) + + @property + def carrier_name(self) -> str: + return "ninja_van" + + def get_auth_data(self): + return { + "api_key": self.api_key, + "secret_key": self.secret_key, + "track_api_key": self.track_api_key, + "track_secret_key": self.track_secret_key, + "account_number": self.account_number, + "account_country_code": self.account_country_code, + } + +SETTINGS = NinjaVanSettings diff --git a/modules/pricing/karrio/server/pricing/migrations/0051_alter_surcharge_services.py b/modules/pricing/karrio/server/pricing/migrations/0051_alter_surcharge_services.py new file mode 100644 index 0000000000..7725104d0d --- /dev/null +++ b/modules/pricing/karrio/server/pricing/migrations/0051_alter_surcharge_services.py @@ -0,0 +1,3197 @@ +# Generated by Django 4.2.11 on 2024-05-29 06:02 + +from django.db import migrations +import karrio.server.core.fields + + +class Migration(migrations.Migration): + + dependencies = [ + ("pricing", "0050_alter_surcharge_carriers"), + ] + + operations = [ + migrations.AlterField( + model_name="surcharge", + name="services", + field=karrio.server.core.fields.MultiChoiceField( + blank=True, + choices=[ + ("allied_road_service", "allied_road_service"), + ("allied_parcel_service", "allied_parcel_service"), + ( + "allied_standard_pallet_service", + "allied_standard_pallet_service", + ), + ( + "allied_oversized_pallet_service", + "allied_oversized_pallet_service", + ), + ("allied_road_service", "allied_road_service"), + ("allied_parcel_service", "allied_parcel_service"), + ( + "allied_standard_pallet_service", + "allied_standard_pallet_service", + ), + ( + "allied_oversized_pallet_service", + "allied_oversized_pallet_service", + ), + ("allied_local_normal_service", "allied_local_normal_service"), + ("allied_local_vip_service", "allied_local_vip_service"), + ( + "allied_local_executive_service", + "allied_local_executive_service", + ), + ("allied_local_gold_service", "allied_local_gold_service"), + ("amazon_shipping_ground", "amazon_shipping_ground"), + ("amazon_shipping_standard", "amazon_shipping_standard"), + ("amazon_shipping_premium", "amazon_shipping_premium"), + ("asendia_us_e_com_tracked_ddp", "asendia_us_e_com_tracked_ddp"), + ("asendia_us_fully_tracked", "asendia_us_fully_tracked"), + ("asendia_us_country_tracked", "asendia_us_country_tracked"), + ("australiapost_parcel_post", "australiapost_parcel_post"), + ("australiapost_express_post", "australiapost_express_post"), + ( + "australiapost_parcel_post_signature", + "australiapost_parcel_post_signature", + ), + ( + "australiapost_express_post_signature", + "australiapost_express_post_signature", + ), + ( + "australiapost_intl_standard_pack_track", + "australiapost_intl_standard_pack_track", + ), + ( + "australiapost_intl_standard_with_signature", + "australiapost_intl_standard_with_signature", + ), + ( + "australiapost_intl_express_merch", + "australiapost_intl_express_merch", + ), + ( + "australiapost_intl_express_docs", + "australiapost_intl_express_docs", + ), + ( + "australiapost_eparcel_post_returns", + "australiapost_eparcel_post_returns", + ), + ( + "australiapost_express_eparcel_post_returns", + "australiapost_express_eparcel_post_returns", + ), + ("boxknight_sameday", "boxknight_sameday"), + ("boxknight_nextday", "boxknight_nextday"), + ("boxknight_scheduled", "boxknight_scheduled"), + ("bpack_24h_pro", "bpack_24h_pro"), + ("bpack_24h_business", "bpack_24h_business"), + ("bpack_bus", "bpack_bus"), + ("bpack_pallet", "bpack_pallet"), + ("bpack_easy_retour", "bpack_easy_retour"), + ("bpack_xl", "bpack_xl"), + ("bpack_bpost", "bpack_bpost"), + ("bpack_24_7", "bpack_24_7"), + ("bpack_world_business", "bpack_world_business"), + ("bpack_world_express_pro", "bpack_world_express_pro"), + ("bpack_europe_business", "bpack_europe_business"), + ("bpack_world_easy_return", "bpack_world_easy_return"), + ("bpack_bpost_international", "bpack_bpost_international"), + ("bpack_24_7_international", "bpack_24_7_international"), + ("canadapost_regular_parcel", "canadapost_regular_parcel"), + ("canadapost_expedited_parcel", "canadapost_expedited_parcel"), + ("canadapost_xpresspost", "canadapost_xpresspost"), + ( + "canadapost_xpresspost_certified", + "canadapost_xpresspost_certified", + ), + ("canadapost_priority", "canadapost_priority"), + ("canadapost_library_books", "canadapost_library_books"), + ( + "canadapost_expedited_parcel_usa", + "canadapost_expedited_parcel_usa", + ), + ( + "canadapost_priority_worldwide_envelope_usa", + "canadapost_priority_worldwide_envelope_usa", + ), + ( + "canadapost_priority_worldwide_pak_usa", + "canadapost_priority_worldwide_pak_usa", + ), + ( + "canadapost_priority_worldwide_parcel_usa", + "canadapost_priority_worldwide_parcel_usa", + ), + ( + "canadapost_small_packet_usa_air", + "canadapost_small_packet_usa_air", + ), + ("canadapost_tracked_packet_usa", "canadapost_tracked_packet_usa"), + ( + "canadapost_tracked_packet_usa_lvm", + "canadapost_tracked_packet_usa_lvm", + ), + ("canadapost_xpresspost_usa", "canadapost_xpresspost_usa"), + ( + "canadapost_xpresspost_international", + "canadapost_xpresspost_international", + ), + ( + "canadapost_international_parcel_air", + "canadapost_international_parcel_air", + ), + ( + "canadapost_international_parcel_surface", + "canadapost_international_parcel_surface", + ), + ( + "canadapost_priority_worldwide_envelope_intl", + "canadapost_priority_worldwide_envelope_intl", + ), + ( + "canadapost_priority_worldwide_pak_intl", + "canadapost_priority_worldwide_pak_intl", + ), + ( + "canadapost_priority_worldwide_parcel_intl", + "canadapost_priority_worldwide_parcel_intl", + ), + ( + "canadapost_small_packet_international_air", + "canadapost_small_packet_international_air", + ), + ( + "canadapost_small_packet_international_surface", + "canadapost_small_packet_international_surface", + ), + ( + "canadapost_tracked_packet_international", + "canadapost_tracked_packet_international", + ), + ("chronopost_retrait_bureau", "chronopost_retrait_bureau"), + ("chronopost_13", "chronopost_13"), + ("chronopost_10", "chronopost_10"), + ("chronopost_18", "chronopost_18"), + ("chronopost_relais", "chronopost_relais"), + ( + "chronopost_express_international", + "chronopost_express_international", + ), + ( + "chronopost_premium_international", + "chronopost_premium_international", + ), + ( + "chronopost_classic_international", + "chronopost_classic_international", + ), + ( + "colissimo_home_without_signature", + "colissimo_home_without_signature", + ), + ("colissimo_home_with_signature", "colissimo_home_with_signature"), + ("colissimo_eco_france", "colissimo_eco_france"), + ("colissimo_return_france", "colissimo_return_france"), + ( + "colissimo_flash_without_signature", + "colissimo_flash_without_signature", + ), + ( + "colissimo_flash_with_signature", + "colissimo_flash_with_signature", + ), + ( + "colissimo_oversea_home_without_signature", + "colissimo_oversea_home_without_signature", + ), + ( + "colissimo_oversea_home_with_signature", + "colissimo_oversea_home_with_signature", + ), + ( + "colissimo_eco_om_without_signature", + "colissimo_eco_om_without_signature", + ), + ( + "colissimo_eco_om_with_signature", + "colissimo_eco_om_with_signature", + ), + ("colissimo_retour_om", "colissimo_retour_om"), + ( + "colissimo_return_international_from_france", + "colissimo_return_international_from_france", + ), + ( + "colissimo_economical_big_export_offer", + "colissimo_economical_big_export_offer", + ), + ( + "colissimo_out_of_home_national_international", + "colissimo_out_of_home_national_international", + ), + ("dhl_logistics_services", "dhl_logistics_services"), + ("dhl_domestic_express_12_00", "dhl_domestic_express_12_00"), + ("dhl_express_choice", "dhl_express_choice"), + ("dhl_express_choice_nondoc", "dhl_express_choice_nondoc"), + ("dhl_jetline", "dhl_jetline"), + ("dhl_sprintline", "dhl_sprintline"), + ("dhl_air_capacity_sales", "dhl_air_capacity_sales"), + ("dhl_express_easy", "dhl_express_easy"), + ("dhl_express_easy_nondoc", "dhl_express_easy_nondoc"), + ("dhl_parcel_product", "dhl_parcel_product"), + ("dhl_accounting", "dhl_accounting"), + ("dhl_breakbulk_express", "dhl_breakbulk_express"), + ("dhl_medical_express", "dhl_medical_express"), + ("dhl_express_worldwide_doc", "dhl_express_worldwide_doc"), + ("dhl_express_9_00_nondoc", "dhl_express_9_00_nondoc"), + ("dhl_freight_worldwide_nondoc", "dhl_freight_worldwide_nondoc"), + ("dhl_economy_select_domestic", "dhl_economy_select_domestic"), + ("dhl_economy_select_nondoc", "dhl_economy_select_nondoc"), + ("dhl_express_domestic_9_00", "dhl_express_domestic_9_00"), + ("dhl_jumbo_box_nondoc", "dhl_jumbo_box_nondoc"), + ("dhl_express_9_00", "dhl_express_9_00"), + ("dhl_express_10_30", "dhl_express_10_30"), + ("dhl_express_10_30_nondoc", "dhl_express_10_30_nondoc"), + ("dhl_express_domestic", "dhl_express_domestic"), + ("dhl_express_domestic_10_30", "dhl_express_domestic_10_30"), + ("dhl_express_worldwide_nondoc", "dhl_express_worldwide_nondoc"), + ("dhl_medical_express_nondoc", "dhl_medical_express_nondoc"), + ("dhl_globalmail", "dhl_globalmail"), + ("dhl_same_day", "dhl_same_day"), + ("dhl_express_12_00", "dhl_express_12_00"), + ("dhl_express_worldwide", "dhl_express_worldwide"), + ("dhl_parcel_product_nondoc", "dhl_parcel_product_nondoc"), + ("dhl_economy_select", "dhl_economy_select"), + ("dhl_express_envelope", "dhl_express_envelope"), + ("dhl_express_12_00_nondoc", "dhl_express_12_00_nondoc"), + ("dhl_destination_charges", "dhl_destination_charges"), + ("dhl_express_all", "dhl_express_all"), + ("dhl_parcel_de_paket", "dhl_parcel_de_paket"), + ("dhl_parcel_de_warenpost", "dhl_parcel_de_warenpost"), + ("dhl_parcel_de_europaket", "dhl_parcel_de_europaket"), + ( + "dhl_parcel_de_paket_international", + "dhl_parcel_de_paket_international", + ), + ( + "dhl_parcel_de_warenpost_international", + "dhl_parcel_de_warenpost_international", + ), + ("dhl_poland_premium", "dhl_poland_premium"), + ("dhl_poland_polska", "dhl_poland_polska"), + ("dhl_poland_09", "dhl_poland_09"), + ("dhl_poland_12", "dhl_poland_12"), + ("dhl_poland_connect", "dhl_poland_connect"), + ("dhl_poland_international", "dhl_poland_international"), + ("dpd_cl", "dpd_cl"), + ("dpd_express_10h", "dpd_express_10h"), + ("dpd_express_12h", "dpd_express_12h"), + ("dpd_express_18h_guarantee", "dpd_express_18h_guarantee"), + ("dpd_express_b2b_predict", "dpd_express_b2b_predict"), + ("dpdhl_paket", "dpdhl_paket"), + ("dpdhl_paket_international", "dpdhl_paket_international"), + ("dpdhl_europaket", "dpdhl_europaket"), + ("dpdhl_paket_connect", "dpdhl_paket_connect"), + ("dpdhl_warenpost", "dpdhl_warenpost"), + ("dpdhl_warenpost_international", "dpdhl_warenpost_international"), + ("dpdhl_retoure", "dpdhl_retoure"), + ("easypost_amazonmws_ups_rates", "easypost_amazonmws_ups_rates"), + ("easypost_amazonmws_usps_rates", "easypost_amazonmws_usps_rates"), + ( + "easypost_amazonmws_fedex_rates", + "easypost_amazonmws_fedex_rates", + ), + ("easypost_amazonmws_ups_labels", "easypost_amazonmws_ups_labels"), + ( + "easypost_amazonmws_usps_labels", + "easypost_amazonmws_usps_labels", + ), + ( + "easypost_amazonmws_fedex_labels", + "easypost_amazonmws_fedex_labels", + ), + ( + "easypost_amazonmws_ups_tracking", + "easypost_amazonmws_ups_tracking", + ), + ( + "easypost_amazonmws_usps_tracking", + "easypost_amazonmws_usps_tracking", + ), + ( + "easypost_amazonmws_fedex_tracking", + "easypost_amazonmws_fedex_tracking", + ), + ( + "easypost_apc_parcel_connect_book_service", + "easypost_apc_parcel_connect_book_service", + ), + ( + "easypost_apc_parcel_connect_expedited_ddp", + "easypost_apc_parcel_connect_expedited_ddp", + ), + ( + "easypost_apc_parcel_connect_expedited_ddu", + "easypost_apc_parcel_connect_expedited_ddu", + ), + ( + "easypost_apc_parcel_connect_priority_ddp", + "easypost_apc_parcel_connect_priority_ddp", + ), + ( + "easypost_apc_parcel_connect_priority_ddp_delcon", + "easypost_apc_parcel_connect_priority_ddp_delcon", + ), + ( + "easypost_apc_parcel_connect_priority_ddu", + "easypost_apc_parcel_connect_priority_ddu", + ), + ( + "easypost_apc_parcel_connect_priority_ddu_delcon", + "easypost_apc_parcel_connect_priority_ddu_delcon", + ), + ( + "easypost_apc_parcel_connect_priority_ddupqw", + "easypost_apc_parcel_connect_priority_ddupqw", + ), + ( + "easypost_apc_parcel_connect_standard_ddu", + "easypost_apc_parcel_connect_standard_ddu", + ), + ( + "easypost_apc_parcel_connect_standard_ddupqw", + "easypost_apc_parcel_connect_standard_ddupqw", + ), + ( + "easypost_apc_parcel_connect_packet_ddu", + "easypost_apc_parcel_connect_packet_ddu", + ), + ("easypost_asendia_pmi", "easypost_asendia_pmi"), + ("easypost_asendia_e_packet", "easypost_asendia_e_packet"), + ("easypost_asendia_ipa", "easypost_asendia_ipa"), + ("easypost_asendia_isal", "easypost_asendia_isal"), + ("easypost_asendia_us_ads", "easypost_asendia_us_ads"), + ( + "easypost_asendia_us_air_freight_inbound", + "easypost_asendia_us_air_freight_inbound", + ), + ( + "easypost_asendia_us_air_freight_outbound", + "easypost_asendia_us_air_freight_outbound", + ), + ( + "easypost_asendia_us_domestic_bound_printer_matter_expedited", + "easypost_asendia_us_domestic_bound_printer_matter_expedited", + ), + ( + "easypost_asendia_us_domestic_bound_printer_matter_ground", + "easypost_asendia_us_domestic_bound_printer_matter_ground", + ), + ( + "easypost_asendia_us_domestic_flats_expedited", + "easypost_asendia_us_domestic_flats_expedited", + ), + ( + "easypost_asendia_us_domestic_flats_ground", + "easypost_asendia_us_domestic_flats_ground", + ), + ( + "easypost_asendia_us_domestic_parcel_ground_over1lb", + "easypost_asendia_us_domestic_parcel_ground_over1lb", + ), + ( + "easypost_asendia_us_domestic_parcel_ground_under1lb", + "easypost_asendia_us_domestic_parcel_ground_under1lb", + ), + ( + "easypost_asendia_us_domestic_parcel_max_over1lb", + "easypost_asendia_us_domestic_parcel_max_over1lb", + ), + ( + "easypost_asendia_us_domestic_parcel_max_under1lb", + "easypost_asendia_us_domestic_parcel_max_under1lb", + ), + ( + "easypost_asendia_us_domestic_parcel_over1lb_expedited", + "easypost_asendia_us_domestic_parcel_over1lb_expedited", + ), + ( + "easypost_asendia_us_domestic_parcel_under1lb_expedited", + "easypost_asendia_us_domestic_parcel_under1lb_expedited", + ), + ( + "easypost_asendia_us_domestic_promo_parcel_expedited", + "easypost_asendia_us_domestic_promo_parcel_expedited", + ), + ( + "easypost_asendia_us_domestic_promo_parcel_ground", + "easypost_asendia_us_domestic_promo_parcel_ground", + ), + ( + "easypost_asendia_us_bulk_freight", + "easypost_asendia_us_bulk_freight", + ), + ( + "easypost_asendia_us_business_mail_canada_lettermail", + "easypost_asendia_us_business_mail_canada_lettermail", + ), + ( + "easypost_asendia_us_business_mail_canada_lettermail_machineable", + "easypost_asendia_us_business_mail_canada_lettermail_machineable", + ), + ( + "easypost_asendia_us_business_mail_economy", + "easypost_asendia_us_business_mail_economy", + ), + ( + "easypost_asendia_us_business_mail_economy_lp_wholesale", + "easypost_asendia_us_business_mail_economy_lp_wholesale", + ), + ( + "easypost_asendia_us_business_mail_economy_sp_wholesale", + "easypost_asendia_us_business_mail_economy_sp_wholesale", + ), + ( + "easypost_asendia_us_business_mail_ipa", + "easypost_asendia_us_business_mail_ipa", + ), + ( + "easypost_asendia_us_business_mail_isal", + "easypost_asendia_us_business_mail_isal", + ), + ( + "easypost_asendia_us_business_mail_priority", + "easypost_asendia_us_business_mail_priority", + ), + ( + "easypost_asendia_us_business_mail_priority_lp_wholesale", + "easypost_asendia_us_business_mail_priority_lp_wholesale", + ), + ( + "easypost_asendia_us_business_mail_priority_sp_wholesale", + "easypost_asendia_us_business_mail_priority_sp_wholesale", + ), + ( + "easypost_asendia_us_marketing_mail_canada_personalized_lcp", + "easypost_asendia_us_marketing_mail_canada_personalized_lcp", + ), + ( + "easypost_asendia_us_marketing_mail_canada_personalized_machineable", + "easypost_asendia_us_marketing_mail_canada_personalized_machineable", + ), + ( + "easypost_asendia_us_marketing_mail_canada_personalized_ndg", + "easypost_asendia_us_marketing_mail_canada_personalized_ndg", + ), + ( + "easypost_asendia_us_marketing_mail_economy", + "easypost_asendia_us_marketing_mail_economy", + ), + ( + "easypost_asendia_us_marketing_mail_ipa", + "easypost_asendia_us_marketing_mail_ipa", + ), + ( + "easypost_asendia_us_marketing_mail_isal", + "easypost_asendia_us_marketing_mail_isal", + ), + ( + "easypost_asendia_us_marketing_mail_priority", + "easypost_asendia_us_marketing_mail_priority", + ), + ( + "easypost_asendia_us_publications_canada_lcp", + "easypost_asendia_us_publications_canada_lcp", + ), + ( + "easypost_asendia_us_publications_canada_ndg", + "easypost_asendia_us_publications_canada_ndg", + ), + ( + "easypost_asendia_us_publications_economy", + "easypost_asendia_us_publications_economy", + ), + ( + "easypost_asendia_us_publications_ipa", + "easypost_asendia_us_publications_ipa", + ), + ( + "easypost_asendia_us_publications_isal", + "easypost_asendia_us_publications_isal", + ), + ( + "easypost_asendia_us_publications_priority", + "easypost_asendia_us_publications_priority", + ), + ( + "easypost_asendia_us_epaq_elite", + "easypost_asendia_us_epaq_elite", + ), + ( + "easypost_asendia_us_epaq_elite_custom", + "easypost_asendia_us_epaq_elite_custom", + ), + ( + "easypost_asendia_us_epaq_elite_dap", + "easypost_asendia_us_epaq_elite_dap", + ), + ( + "easypost_asendia_us_epaq_elite_ddp", + "easypost_asendia_us_epaq_elite_ddp", + ), + ( + "easypost_asendia_us_epaq_elite_ddp_oversized", + "easypost_asendia_us_epaq_elite_ddp_oversized", + ), + ( + "easypost_asendia_us_epaq_elite_dpd", + "easypost_asendia_us_epaq_elite_dpd", + ), + ( + "easypost_asendia_us_epaq_elite_direct_access_canada_ddp", + "easypost_asendia_us_epaq_elite_direct_access_canada_ddp", + ), + ( + "easypost_asendia_us_epaq_elite_oversized", + "easypost_asendia_us_epaq_elite_oversized", + ), + ("easypost_asendia_us_epaq_plus", "easypost_asendia_us_epaq_plus"), + ( + "easypost_asendia_us_epaq_plus_custom", + "easypost_asendia_us_epaq_plus_custom", + ), + ( + "easypost_asendia_us_epaq_plus_customs_prepaid", + "easypost_asendia_us_epaq_plus_customs_prepaid", + ), + ( + "easypost_asendia_us_epaq_plus_dap", + "easypost_asendia_us_epaq_plus_dap", + ), + ( + "easypost_asendia_us_epaq_plus_ddp", + "easypost_asendia_us_epaq_plus_ddp", + ), + ( + "easypost_asendia_us_epaq_plus_economy", + "easypost_asendia_us_epaq_plus_economy", + ), + ( + "easypost_asendia_us_epaq_plus_wholesale", + "easypost_asendia_us_epaq_plus_wholesale", + ), + ( + "easypost_asendia_us_epaq_pluse_packet", + "easypost_asendia_us_epaq_pluse_packet", + ), + ( + "easypost_asendia_us_epaq_pluse_packet_canada_customs_pre_paid", + "easypost_asendia_us_epaq_pluse_packet_canada_customs_pre_paid", + ), + ( + "easypost_asendia_us_epaq_pluse_packet_canada_ddp", + "easypost_asendia_us_epaq_pluse_packet_canada_ddp", + ), + ( + "easypost_asendia_us_epaq_returns_domestic", + "easypost_asendia_us_epaq_returns_domestic", + ), + ( + "easypost_asendia_us_epaq_returns_international", + "easypost_asendia_us_epaq_returns_international", + ), + ( + "easypost_asendia_us_epaq_select", + "easypost_asendia_us_epaq_select", + ), + ( + "easypost_asendia_us_epaq_select_custom", + "easypost_asendia_us_epaq_select_custom", + ), + ( + "easypost_asendia_us_epaq_select_customs_prepaid_by_shopper", + "easypost_asendia_us_epaq_select_customs_prepaid_by_shopper", + ), + ( + "easypost_asendia_us_epaq_select_dap", + "easypost_asendia_us_epaq_select_dap", + ), + ( + "easypost_asendia_us_epaq_select_ddp", + "easypost_asendia_us_epaq_select_ddp", + ), + ( + "easypost_asendia_us_epaq_select_ddp_direct_access", + "easypost_asendia_us_epaq_select_ddp_direct_access", + ), + ( + "easypost_asendia_us_epaq_select_direct_access", + "easypost_asendia_us_epaq_select_direct_access", + ), + ( + "easypost_asendia_us_epaq_select_direct_access_canada_ddp", + "easypost_asendia_us_epaq_select_direct_access_canada_ddp", + ), + ( + "easypost_asendia_us_epaq_select_economy", + "easypost_asendia_us_epaq_select_economy", + ), + ( + "easypost_asendia_us_epaq_select_oversized", + "easypost_asendia_us_epaq_select_oversized", + ), + ( + "easypost_asendia_us_epaq_select_oversized_ddp", + "easypost_asendia_us_epaq_select_oversized_ddp", + ), + ( + "easypost_asendia_us_epaq_select_pmei", + "easypost_asendia_us_epaq_select_pmei", + ), + ( + "easypost_asendia_us_epaq_select_pmei_canada_customs_pre_paid", + "easypost_asendia_us_epaq_select_pmei_canada_customs_pre_paid", + ), + ( + "easypost_asendia_us_epaq_select_pmeipc_postage", + "easypost_asendia_us_epaq_select_pmeipc_postage", + ), + ( + "easypost_asendia_us_epaq_select_pmi", + "easypost_asendia_us_epaq_select_pmi", + ), + ( + "easypost_asendia_us_epaq_select_pmi_canada_customs_prepaid", + "easypost_asendia_us_epaq_select_pmi_canada_customs_prepaid", + ), + ( + "easypost_asendia_us_epaq_select_pmi_canada_ddp", + "easypost_asendia_us_epaq_select_pmi_canada_ddp", + ), + ( + "easypost_asendia_us_epaq_select_pmi_non_presort", + "easypost_asendia_us_epaq_select_pmi_non_presort", + ), + ( + "easypost_asendia_us_epaq_select_pmipc_postage", + "easypost_asendia_us_epaq_select_pmipc_postage", + ), + ( + "easypost_asendia_us_epaq_standard", + "easypost_asendia_us_epaq_standard", + ), + ( + "easypost_asendia_us_epaq_standard_custom", + "easypost_asendia_us_epaq_standard_custom", + ), + ( + "easypost_asendia_us_epaq_standard_economy", + "easypost_asendia_us_epaq_standard_economy", + ), + ( + "easypost_asendia_us_epaq_standard_ipa", + "easypost_asendia_us_epaq_standard_ipa", + ), + ( + "easypost_asendia_us_epaq_standard_isal", + "easypost_asendia_us_epaq_standard_isal", + ), + ( + "easypost_asendia_us_epaq_select_pmei_non_presort", + "easypost_asendia_us_epaq_select_pmei_non_presort", + ), + ( + "easypost_australiapost_express_post", + "easypost_australiapost_express_post", + ), + ( + "easypost_australiapost_express_post_signature", + "easypost_australiapost_express_post_signature", + ), + ( + "easypost_australiapost_parcel_post", + "easypost_australiapost_parcel_post", + ), + ( + "easypost_australiapost_parcel_post_signature", + "easypost_australiapost_parcel_post_signature", + ), + ( + "easypost_australiapost_parcel_post_extra", + "easypost_australiapost_parcel_post_extra", + ), + ( + "easypost_australiapost_parcel_post_wine_plus_signature", + "easypost_australiapost_parcel_post_wine_plus_signature", + ), + ("easypost_axlehire_delivery", "easypost_axlehire_delivery"), + ( + "easypost_better_trucks_next_day", + "easypost_better_trucks_next_day", + ), + ("easypost_bond_standard", "easypost_bond_standard"), + ( + "easypost_canadapost_regular_parcel", + "easypost_canadapost_regular_parcel", + ), + ( + "easypost_canadapost_expedited_parcel", + "easypost_canadapost_expedited_parcel", + ), + ( + "easypost_canadapost_xpresspost", + "easypost_canadapost_xpresspost", + ), + ( + "easypost_canadapost_xpresspost_certified", + "easypost_canadapost_xpresspost_certified", + ), + ("easypost_canadapost_priority", "easypost_canadapost_priority"), + ( + "easypost_canadapost_library_books", + "easypost_canadapost_library_books", + ), + ( + "easypost_canadapost_expedited_parcel_usa", + "easypost_canadapost_expedited_parcel_usa", + ), + ( + "easypost_canadapost_priority_worldwide_envelope_usa", + "easypost_canadapost_priority_worldwide_envelope_usa", + ), + ( + "easypost_canadapost_priority_worldwide_pak_usa", + "easypost_canadapost_priority_worldwide_pak_usa", + ), + ( + "easypost_canadapost_priority_worldwide_parcel_usa", + "easypost_canadapost_priority_worldwide_parcel_usa", + ), + ( + "easypost_canadapost_small_packet_usa_air", + "easypost_canadapost_small_packet_usa_air", + ), + ( + "easypost_canadapost_tracked_packet_usa", + "easypost_canadapost_tracked_packet_usa", + ), + ( + "easypost_canadapost_tracked_packet_usalvm", + "easypost_canadapost_tracked_packet_usalvm", + ), + ( + "easypost_canadapost_xpresspost_usa", + "easypost_canadapost_xpresspost_usa", + ), + ( + "easypost_canadapost_xpresspost_international", + "easypost_canadapost_xpresspost_international", + ), + ( + "easypost_canadapost_international_parcel_air", + "easypost_canadapost_international_parcel_air", + ), + ( + "easypost_canadapost_international_parcel_surface", + "easypost_canadapost_international_parcel_surface", + ), + ( + "easypost_canadapost_priority_worldwide_envelope_intl", + "easypost_canadapost_priority_worldwide_envelope_intl", + ), + ( + "easypost_canadapost_priority_worldwide_pak_intl", + "easypost_canadapost_priority_worldwide_pak_intl", + ), + ( + "easypost_canadapost_priority_worldwide_parcel_intl", + "easypost_canadapost_priority_worldwide_parcel_intl", + ), + ( + "easypost_canadapost_small_packet_international_air", + "easypost_canadapost_small_packet_international_air", + ), + ( + "easypost_canadapost_small_packet_international_surface", + "easypost_canadapost_small_packet_international_surface", + ), + ( + "easypost_canadapost_tracked_packet_international", + "easypost_canadapost_tracked_packet_international", + ), + ("easypost_canpar_ground", "easypost_canpar_ground"), + ("easypost_canpar_select_letter", "easypost_canpar_select_letter"), + ("easypost_canpar_select_pak", "easypost_canpar_select_pak"), + ("easypost_canpar_select", "easypost_canpar_select"), + ( + "easypost_canpar_overnight_letter", + "easypost_canpar_overnight_letter", + ), + ("easypost_canpar_overnight_pak", "easypost_canpar_overnight_pak"), + ("easypost_canpar_overnight", "easypost_canpar_overnight"), + ("easypost_canpar_select_usa", "easypost_canpar_select_usa"), + ("easypost_canpar_usa_pak", "easypost_canpar_usa_pak"), + ("easypost_canpar_usa_letter", "easypost_canpar_usa_letter"), + ("easypost_canpar_usa", "easypost_canpar_usa"), + ("easypost_canpar_international", "easypost_canpar_international"), + ("easypost_cdl_distribution", "easypost_cdl_distribution"), + ("easypost_cdl_same_day", "easypost_cdl_same_day"), + ( + "easypost_courier_express_basic_parcel", + "easypost_courier_express_basic_parcel", + ), + ( + "easypost_couriersplease_domestic_priority_signature", + "easypost_couriersplease_domestic_priority_signature", + ), + ( + "easypost_couriersplease_domestic_priority", + "easypost_couriersplease_domestic_priority", + ), + ( + "easypost_couriersplease_domestic_off_peak_signature", + "easypost_couriersplease_domestic_off_peak_signature", + ), + ( + "easypost_couriersplease_domestic_off_peak", + "easypost_couriersplease_domestic_off_peak", + ), + ( + "easypost_couriersplease_gold_domestic_signature", + "easypost_couriersplease_gold_domestic_signature", + ), + ( + "easypost_couriersplease_gold_domestic", + "easypost_couriersplease_gold_domestic", + ), + ( + "easypost_couriersplease_australian_city_express_signature", + "easypost_couriersplease_australian_city_express_signature", + ), + ( + "easypost_couriersplease_australian_city_express", + "easypost_couriersplease_australian_city_express", + ), + ( + "easypost_couriersplease_domestic_saver_signature", + "easypost_couriersplease_domestic_saver_signature", + ), + ( + "easypost_couriersplease_domestic_saver", + "easypost_couriersplease_domestic_saver", + ), + ( + "easypost_couriersplease_road_express", + "easypost_couriersplease_road_express", + ), + ( + "easypost_couriersplease_5_kg_satchel", + "easypost_couriersplease_5_kg_satchel", + ), + ( + "easypost_couriersplease_3_kg_satchel", + "easypost_couriersplease_3_kg_satchel", + ), + ( + "easypost_couriersplease_1_kg_satchel", + "easypost_couriersplease_1_kg_satchel", + ), + ( + "easypost_couriersplease_5_kg_satchel_atl", + "easypost_couriersplease_5_kg_satchel_atl", + ), + ( + "easypost_couriersplease_3_kg_satchel_atl", + "easypost_couriersplease_3_kg_satchel_atl", + ), + ( + "easypost_couriersplease_1_kg_satchel_atl", + "easypost_couriersplease_1_kg_satchel_atl", + ), + ( + "easypost_couriersplease_500_gram_satchel", + "easypost_couriersplease_500_gram_satchel", + ), + ( + "easypost_couriersplease_500_gram_satchel_atl", + "easypost_couriersplease_500_gram_satchel_atl", + ), + ( + "easypost_couriersplease_25_kg_parcel", + "easypost_couriersplease_25_kg_parcel", + ), + ( + "easypost_couriersplease_10_kg_parcel", + "easypost_couriersplease_10_kg_parcel", + ), + ( + "easypost_couriersplease_5_kg_parcel", + "easypost_couriersplease_5_kg_parcel", + ), + ( + "easypost_couriersplease_3_kg_parcel", + "easypost_couriersplease_3_kg_parcel", + ), + ( + "easypost_couriersplease_1_kg_parcel", + "easypost_couriersplease_1_kg_parcel", + ), + ( + "easypost_couriersplease_500_gram_parcel", + "easypost_couriersplease_500_gram_parcel", + ), + ( + "easypost_couriersplease_500_gram_parcel_atl", + "easypost_couriersplease_500_gram_parcel_atl", + ), + ( + "easypost_couriersplease_express_international_priority", + "easypost_couriersplease_express_international_priority", + ), + ( + "easypost_couriersplease_international_saver", + "easypost_couriersplease_international_saver", + ), + ( + "easypost_couriersplease_international_express_import", + "easypost_couriersplease_international_express_import", + ), + ( + "easypost_couriersplease_domestic_tracked", + "easypost_couriersplease_domestic_tracked", + ), + ( + "easypost_couriersplease_international_economy", + "easypost_couriersplease_international_economy", + ), + ( + "easypost_couriersplease_international_standard", + "easypost_couriersplease_international_standard", + ), + ( + "easypost_couriersplease_international_express", + "easypost_couriersplease_international_express", + ), + ( + "easypost_deutschepost_packet_plus", + "easypost_deutschepost_packet_plus", + ), + ( + "easypost_deutschepost_uk_priority_packet_plus", + "easypost_deutschepost_uk_priority_packet_plus", + ), + ( + "easypost_deutschepost_uk_priority_packet", + "easypost_deutschepost_uk_priority_packet", + ), + ( + "easypost_deutschepost_uk_priority_packet_tracked", + "easypost_deutschepost_uk_priority_packet_tracked", + ), + ( + "easypost_deutschepost_uk_business_mail_registered", + "easypost_deutschepost_uk_business_mail_registered", + ), + ( + "easypost_deutschepost_uk_standard_packet", + "easypost_deutschepost_uk_standard_packet", + ), + ( + "easypost_deutschepost_uk_business_mail_standard", + "easypost_deutschepost_uk_business_mail_standard", + ), + ("easypost_dhl_ecom_asia_packet", "easypost_dhl_ecom_asia_packet"), + ( + "easypost_dhl_ecom_asia_parcel_direct", + "easypost_dhl_ecom_asia_parcel_direct", + ), + ( + "easypost_dhl_ecom_asia_parcel_direct_expedited", + "easypost_dhl_ecom_asia_parcel_direct_expedited", + ), + ( + "easypost_dhl_ecom_parcel_expedited", + "easypost_dhl_ecom_parcel_expedited", + ), + ( + "easypost_dhl_ecom_parcel_expedited_max", + "easypost_dhl_ecom_parcel_expedited_max", + ), + ( + "easypost_dhl_ecom_parcel_ground", + "easypost_dhl_ecom_parcel_ground", + ), + ( + "easypost_dhl_ecom_bpm_expedited", + "easypost_dhl_ecom_bpm_expedited", + ), + ("easypost_dhl_ecom_bpm_ground", "easypost_dhl_ecom_bpm_ground"), + ( + "easypost_dhl_ecom_parcel_international_direct", + "easypost_dhl_ecom_parcel_international_direct", + ), + ( + "easypost_dhl_ecom_parcel_international_standard", + "easypost_dhl_ecom_parcel_international_standard", + ), + ( + "easypost_dhl_ecom_packet_international", + "easypost_dhl_ecom_packet_international", + ), + ( + "easypost_dhl_ecom_parcel_international_direct_priority", + "easypost_dhl_ecom_parcel_international_direct_priority", + ), + ( + "easypost_dhl_ecom_parcel_international_direct_standard", + "easypost_dhl_ecom_parcel_international_direct_standard", + ), + ( + "easypost_dhl_express_break_bulk_economy", + "easypost_dhl_express_break_bulk_economy", + ), + ( + "easypost_dhl_express_break_bulk_express", + "easypost_dhl_express_break_bulk_express", + ), + ( + "easypost_dhl_express_domestic_economy_select", + "easypost_dhl_express_domestic_economy_select", + ), + ( + "easypost_dhl_express_domestic_express", + "easypost_dhl_express_domestic_express", + ), + ( + "easypost_dhl_express_domestic_express1030", + "easypost_dhl_express_domestic_express1030", + ), + ( + "easypost_dhl_express_domestic_express1200", + "easypost_dhl_express_domestic_express1200", + ), + ( + "easypost_dhl_express_economy_select", + "easypost_dhl_express_economy_select", + ), + ( + "easypost_dhl_express_economy_select_non_doc", + "easypost_dhl_express_economy_select_non_doc", + ), + ( + "easypost_dhl_express_euro_pack", + "easypost_dhl_express_euro_pack", + ), + ( + "easypost_dhl_express_europack_non_doc", + "easypost_dhl_express_europack_non_doc", + ), + ( + "easypost_dhl_express_express1030", + "easypost_dhl_express_express1030", + ), + ( + "easypost_dhl_express_express1030_non_doc", + "easypost_dhl_express_express1030_non_doc", + ), + ( + "easypost_dhl_express_express1200_non_doc", + "easypost_dhl_express_express1200_non_doc", + ), + ( + "easypost_dhl_express_express1200", + "easypost_dhl_express_express1200", + ), + ( + "easypost_dhl_express_express900", + "easypost_dhl_express_express900", + ), + ( + "easypost_dhl_express_express900_non_doc", + "easypost_dhl_express_express900_non_doc", + ), + ( + "easypost_dhl_express_express_easy", + "easypost_dhl_express_express_easy", + ), + ( + "easypost_dhl_express_express_easy_non_doc", + "easypost_dhl_express_express_easy_non_doc", + ), + ( + "easypost_dhl_express_express_envelope", + "easypost_dhl_express_express_envelope", + ), + ( + "easypost_dhl_express_express_worldwide", + "easypost_dhl_express_express_worldwide", + ), + ( + "easypost_dhl_express_express_worldwide_b2_c", + "easypost_dhl_express_express_worldwide_b2_c", + ), + ( + "easypost_dhl_express_express_worldwide_b2_c_non_doc", + "easypost_dhl_express_express_worldwide_b2_c_non_doc", + ), + ( + "easypost_dhl_express_express_worldwide_ecx", + "easypost_dhl_express_express_worldwide_ecx", + ), + ( + "easypost_dhl_express_express_worldwide_non_doc", + "easypost_dhl_express_express_worldwide_non_doc", + ), + ( + "easypost_dhl_express_freight_worldwide", + "easypost_dhl_express_freight_worldwide", + ), + ( + "easypost_dhl_express_globalmail_business", + "easypost_dhl_express_globalmail_business", + ), + ("easypost_dhl_express_jet_line", "easypost_dhl_express_jet_line"), + ( + "easypost_dhl_express_jumbo_box", + "easypost_dhl_express_jumbo_box", + ), + ( + "easypost_dhl_express_logistics_services", + "easypost_dhl_express_logistics_services", + ), + ("easypost_dhl_express_same_day", "easypost_dhl_express_same_day"), + ( + "easypost_dhl_express_secure_line", + "easypost_dhl_express_secure_line", + ), + ( + "easypost_dhl_express_sprint_line", + "easypost_dhl_express_sprint_line", + ), + ("easypost_dpd_classic", "easypost_dpd_classic"), + ("easypost_dpd_8_30", "easypost_dpd_8_30"), + ("easypost_dpd_10_00", "easypost_dpd_10_00"), + ("easypost_dpd_12_00", "easypost_dpd_12_00"), + ("easypost_dpd_18_00", "easypost_dpd_18_00"), + ("easypost_dpd_express", "easypost_dpd_express"), + ("easypost_dpd_parcelletter", "easypost_dpd_parcelletter"), + ("easypost_dpd_parcelletterplus", "easypost_dpd_parcelletterplus"), + ( + "easypost_dpd_internationalmail", + "easypost_dpd_internationalmail", + ), + ( + "easypost_dpd_uk_air_express_international_air", + "easypost_dpd_uk_air_express_international_air", + ), + ( + "easypost_dpd_uk_air_classic_international_air", + "easypost_dpd_uk_air_classic_international_air", + ), + ("easypost_dpd_uk_parcel_sunday", "easypost_dpd_uk_parcel_sunday"), + ( + "easypost_dpd_uk_freight_parcel_sunday", + "easypost_dpd_uk_freight_parcel_sunday", + ), + ("easypost_dpd_uk_pallet_sunday", "easypost_dpd_uk_pallet_sunday"), + ( + "easypost_dpd_uk_pallet_dpd_classic", + "easypost_dpd_uk_pallet_dpd_classic", + ), + ( + "easypost_dpd_uk_expresspak_dpd_classic", + "easypost_dpd_uk_expresspak_dpd_classic", + ), + ( + "easypost_dpd_uk_expresspak_sunday", + "easypost_dpd_uk_expresspak_sunday", + ), + ( + "easypost_dpd_uk_parcel_dpd_classic", + "easypost_dpd_uk_parcel_dpd_classic", + ), + ( + "easypost_dpd_uk_parcel_dpd_two_day", + "easypost_dpd_uk_parcel_dpd_two_day", + ), + ( + "easypost_dpd_uk_parcel_dpd_next_day", + "easypost_dpd_uk_parcel_dpd_next_day", + ), + ("easypost_dpd_uk_parcel_dpd12", "easypost_dpd_uk_parcel_dpd12"), + ("easypost_dpd_uk_parcel_dpd10", "easypost_dpd_uk_parcel_dpd10"), + ( + "easypost_dpd_uk_parcel_return_to_shop", + "easypost_dpd_uk_parcel_return_to_shop", + ), + ( + "easypost_dpd_uk_parcel_saturday", + "easypost_dpd_uk_parcel_saturday", + ), + ( + "easypost_dpd_uk_parcel_saturday12", + "easypost_dpd_uk_parcel_saturday12", + ), + ( + "easypost_dpd_uk_parcel_saturday10", + "easypost_dpd_uk_parcel_saturday10", + ), + ( + "easypost_dpd_uk_parcel_sunday12", + "easypost_dpd_uk_parcel_sunday12", + ), + ( + "easypost_dpd_uk_freight_parcel_dpd_classic", + "easypost_dpd_uk_freight_parcel_dpd_classic", + ), + ( + "easypost_dpd_uk_freight_parcel_sunday12", + "easypost_dpd_uk_freight_parcel_sunday12", + ), + ( + "easypost_dpd_uk_expresspak_dpd_next_day", + "easypost_dpd_uk_expresspak_dpd_next_day", + ), + ( + "easypost_dpd_uk_expresspak_dpd12", + "easypost_dpd_uk_expresspak_dpd12", + ), + ( + "easypost_dpd_uk_expresspak_dpd10", + "easypost_dpd_uk_expresspak_dpd10", + ), + ( + "easypost_dpd_uk_expresspak_saturday", + "easypost_dpd_uk_expresspak_saturday", + ), + ( + "easypost_dpd_uk_expresspak_saturday12", + "easypost_dpd_uk_expresspak_saturday12", + ), + ( + "easypost_dpd_uk_expresspak_saturday10", + "easypost_dpd_uk_expresspak_saturday10", + ), + ( + "easypost_dpd_uk_expresspak_sunday12", + "easypost_dpd_uk_expresspak_sunday12", + ), + ( + "easypost_dpd_uk_pallet_sunday12", + "easypost_dpd_uk_pallet_sunday12", + ), + ( + "easypost_dpd_uk_pallet_dpd_two_day", + "easypost_dpd_uk_pallet_dpd_two_day", + ), + ( + "easypost_dpd_uk_pallet_dpd_next_day", + "easypost_dpd_uk_pallet_dpd_next_day", + ), + ("easypost_dpd_uk_pallet_dpd12", "easypost_dpd_uk_pallet_dpd12"), + ("easypost_dpd_uk_pallet_dpd10", "easypost_dpd_uk_pallet_dpd10"), + ( + "easypost_dpd_uk_pallet_saturday", + "easypost_dpd_uk_pallet_saturday", + ), + ( + "easypost_dpd_uk_pallet_saturday12", + "easypost_dpd_uk_pallet_saturday12", + ), + ( + "easypost_dpd_uk_pallet_saturday10", + "easypost_dpd_uk_pallet_saturday10", + ), + ( + "easypost_dpd_uk_freight_parcel_dpd_two_day", + "easypost_dpd_uk_freight_parcel_dpd_two_day", + ), + ( + "easypost_dpd_uk_freight_parcel_dpd_next_day", + "easypost_dpd_uk_freight_parcel_dpd_next_day", + ), + ( + "easypost_dpd_uk_freight_parcel_dpd12", + "easypost_dpd_uk_freight_parcel_dpd12", + ), + ( + "easypost_dpd_uk_freight_parcel_dpd10", + "easypost_dpd_uk_freight_parcel_dpd10", + ), + ( + "easypost_dpd_uk_freight_parcel_saturday", + "easypost_dpd_uk_freight_parcel_saturday", + ), + ( + "easypost_dpd_uk_freight_parcel_saturday12", + "easypost_dpd_uk_freight_parcel_saturday12", + ), + ( + "easypost_dpd_uk_freight_parcel_saturday10", + "easypost_dpd_uk_freight_parcel_saturday10", + ), + ( + "easypost_epost_courier_service_ddp", + "easypost_epost_courier_service_ddp", + ), + ( + "easypost_epost_courier_service_ddu", + "easypost_epost_courier_service_ddu", + ), + ( + "easypost_epost_domestic_economy_parcel", + "easypost_epost_domestic_economy_parcel", + ), + ( + "easypost_epost_domestic_parcel_bpm", + "easypost_epost_domestic_parcel_bpm", + ), + ( + "easypost_epost_domestic_priority_parcel", + "easypost_epost_domestic_priority_parcel", + ), + ( + "easypost_epost_domestic_priority_parcel_bpm", + "easypost_epost_domestic_priority_parcel_bpm", + ), + ("easypost_epost_emi_service", "easypost_epost_emi_service"), + ( + "easypost_epost_economy_parcel_service", + "easypost_epost_economy_parcel_service", + ), + ("easypost_epost_ipa_service", "easypost_epost_ipa_service"), + ("easypost_epost_isal_service", "easypost_epost_isal_service"), + ("easypost_epost_pmi_service", "easypost_epost_pmi_service"), + ( + "easypost_epost_priority_parcel_ddp", + "easypost_epost_priority_parcel_ddp", + ), + ( + "easypost_epost_priority_parcel_ddu", + "easypost_epost_priority_parcel_ddu", + ), + ( + "easypost_epost_priority_parcel_delivery_confirmation_ddp", + "easypost_epost_priority_parcel_delivery_confirmation_ddp", + ), + ( + "easypost_epost_priority_parcel_delivery_confirmation_ddu", + "easypost_epost_priority_parcel_delivery_confirmation_ddu", + ), + ( + "easypost_epost_epacket_service", + "easypost_epost_epacket_service", + ), + ( + "easypost_estafeta_next_day_by930", + "easypost_estafeta_next_day_by930", + ), + ( + "easypost_estafeta_next_day_by1130", + "easypost_estafeta_next_day_by1130", + ), + ("easypost_estafeta_next_day", "easypost_estafeta_next_day"), + ("easypost_estafeta_two_day", "easypost_estafeta_two_day"), + ("easypost_estafeta_ltl", "easypost_estafeta_ltl"), + ("easypost_fastway_parcel", "easypost_fastway_parcel"), + ("easypost_fastway_satchel", "easypost_fastway_satchel"), + ("easypost_fedex_ground", "easypost_fedex_ground"), + ("easypost_fedex_2_day", "easypost_fedex_2_day"), + ("easypost_fedex_2_day_am", "easypost_fedex_2_day_am"), + ("easypost_fedex_express_saver", "easypost_fedex_express_saver"), + ( + "easypost_fedex_standard_overnight", + "easypost_fedex_standard_overnight", + ), + ( + "easypost_fedex_first_overnight", + "easypost_fedex_first_overnight", + ), + ( + "easypost_fedex_priority_overnight", + "easypost_fedex_priority_overnight", + ), + ( + "easypost_fedex_international_economy", + "easypost_fedex_international_economy", + ), + ( + "easypost_fedex_international_first", + "easypost_fedex_international_first", + ), + ( + "easypost_fedex_international_priority", + "easypost_fedex_international_priority", + ), + ( + "easypost_fedex_ground_home_delivery", + "easypost_fedex_ground_home_delivery", + ), + ( + "easypost_fedex_crossborder_cbec", + "easypost_fedex_crossborder_cbec", + ), + ( + "easypost_fedex_crossborder_cbecl", + "easypost_fedex_crossborder_cbecl", + ), + ( + "easypost_fedex_crossborder_cbecp", + "easypost_fedex_crossborder_cbecp", + ), + ( + "easypost_fedex_sameday_city_economy_service", + "easypost_fedex_sameday_city_economy_service", + ), + ( + "easypost_fedex_sameday_city_standard_service", + "easypost_fedex_sameday_city_standard_service", + ), + ( + "easypost_fedex_sameday_city_priority_service", + "easypost_fedex_sameday_city_priority_service", + ), + ( + "easypost_fedex_sameday_city_last_mile", + "easypost_fedex_sameday_city_last_mile", + ), + ("easypost_fedex_smart_post", "easypost_fedex_smart_post"), + ("easypost_globegistics_pmei", "easypost_globegistics_pmei"), + ( + "easypost_globegistics_ecom_domestic", + "easypost_globegistics_ecom_domestic", + ), + ( + "easypost_globegistics_ecom_europe", + "easypost_globegistics_ecom_europe", + ), + ( + "easypost_globegistics_ecom_express", + "easypost_globegistics_ecom_express", + ), + ( + "easypost_globegistics_ecom_extra", + "easypost_globegistics_ecom_extra", + ), + ( + "easypost_globegistics_ecom_ipa", + "easypost_globegistics_ecom_ipa", + ), + ( + "easypost_globegistics_ecom_isal", + "easypost_globegistics_ecom_isal", + ), + ( + "easypost_globegistics_ecom_pmei_duty_paid", + "easypost_globegistics_ecom_pmei_duty_paid", + ), + ( + "easypost_globegistics_ecom_pmi_duty_paid", + "easypost_globegistics_ecom_pmi_duty_paid", + ), + ( + "easypost_globegistics_ecom_packet", + "easypost_globegistics_ecom_packet", + ), + ( + "easypost_globegistics_ecom_packet_ddp", + "easypost_globegistics_ecom_packet_ddp", + ), + ( + "easypost_globegistics_ecom_priority", + "easypost_globegistics_ecom_priority", + ), + ( + "easypost_globegistics_ecom_standard", + "easypost_globegistics_ecom_standard", + ), + ( + "easypost_globegistics_ecom_tracked_ddp", + "easypost_globegistics_ecom_tracked_ddp", + ), + ( + "easypost_globegistics_ecom_tracked_ddu", + "easypost_globegistics_ecom_tracked_ddu", + ), + ( + "easypost_gso_early_priority_overnight", + "easypost_gso_early_priority_overnight", + ), + ( + "easypost_gso_priority_overnight", + "easypost_gso_priority_overnight", + ), + ( + "easypost_gso_california_parcel_service", + "easypost_gso_california_parcel_service", + ), + ( + "easypost_gso_saturday_delivery_service", + "easypost_gso_saturday_delivery_service", + ), + ( + "easypost_gso_early_saturday_service", + "easypost_gso_early_saturday_service", + ), + ( + "easypost_hermes_domestic_delivery", + "easypost_hermes_domestic_delivery", + ), + ( + "easypost_hermes_domestic_delivery_signed", + "easypost_hermes_domestic_delivery_signed", + ), + ( + "easypost_hermes_international_delivery", + "easypost_hermes_international_delivery", + ), + ( + "easypost_hermes_international_delivery_signed", + "easypost_hermes_international_delivery_signed", + ), + ( + "easypost_interlink_air_classic_international_air", + "easypost_interlink_air_classic_international_air", + ), + ( + "easypost_interlink_air_express_international_air", + "easypost_interlink_air_express_international_air", + ), + ( + "easypost_interlink_expresspak1_by10_30", + "easypost_interlink_expresspak1_by10_30", + ), + ( + "easypost_interlink_expresspak1_by12", + "easypost_interlink_expresspak1_by12", + ), + ( + "easypost_interlink_expresspak1_next_day", + "easypost_interlink_expresspak1_next_day", + ), + ( + "easypost_interlink_expresspak1_saturday", + "easypost_interlink_expresspak1_saturday", + ), + ( + "easypost_interlink_expresspak1_saturday_by10_30", + "easypost_interlink_expresspak1_saturday_by10_30", + ), + ( + "easypost_interlink_expresspak1_saturday_by12", + "easypost_interlink_expresspak1_saturday_by12", + ), + ( + "easypost_interlink_expresspak1_sunday", + "easypost_interlink_expresspak1_sunday", + ), + ( + "easypost_interlink_expresspak1_sunday_by12", + "easypost_interlink_expresspak1_sunday_by12", + ), + ( + "easypost_interlink_expresspak5_by10", + "easypost_interlink_expresspak5_by10", + ), + ( + "easypost_interlink_expresspak5_by10_30", + "easypost_interlink_expresspak5_by10_30", + ), + ( + "easypost_interlink_expresspak5_by12", + "easypost_interlink_expresspak5_by12", + ), + ( + "easypost_interlink_expresspak5_next_day", + "easypost_interlink_expresspak5_next_day", + ), + ( + "easypost_interlink_expresspak5_saturday", + "easypost_interlink_expresspak5_saturday", + ), + ( + "easypost_interlink_expresspak5_saturday_by10", + "easypost_interlink_expresspak5_saturday_by10", + ), + ( + "easypost_interlink_expresspak5_saturday_by10_30", + "easypost_interlink_expresspak5_saturday_by10_30", + ), + ( + "easypost_interlink_expresspak5_saturday_by12", + "easypost_interlink_expresspak5_saturday_by12", + ), + ( + "easypost_interlink_expresspak5_sunday", + "easypost_interlink_expresspak5_sunday", + ), + ( + "easypost_interlink_expresspak5_sunday_by12", + "easypost_interlink_expresspak5_sunday_by12", + ), + ( + "easypost_interlink_freight_by10", + "easypost_interlink_freight_by10", + ), + ( + "easypost_interlink_freight_by12", + "easypost_interlink_freight_by12", + ), + ( + "easypost_interlink_freight_next_day", + "easypost_interlink_freight_next_day", + ), + ( + "easypost_interlink_freight_saturday", + "easypost_interlink_freight_saturday", + ), + ( + "easypost_interlink_freight_saturday_by10", + "easypost_interlink_freight_saturday_by10", + ), + ( + "easypost_interlink_freight_saturday_by12", + "easypost_interlink_freight_saturday_by12", + ), + ( + "easypost_interlink_freight_sunday", + "easypost_interlink_freight_sunday", + ), + ( + "easypost_interlink_freight_sunday_by12", + "easypost_interlink_freight_sunday_by12", + ), + ( + "easypost_interlink_parcel_by10", + "easypost_interlink_parcel_by10", + ), + ( + "easypost_interlink_parcel_by10_30", + "easypost_interlink_parcel_by10_30", + ), + ( + "easypost_interlink_parcel_by12", + "easypost_interlink_parcel_by12", + ), + ( + "easypost_interlink_parcel_dpd_europe_by_road", + "easypost_interlink_parcel_dpd_europe_by_road", + ), + ( + "easypost_interlink_parcel_next_day", + "easypost_interlink_parcel_next_day", + ), + ( + "easypost_interlink_parcel_return", + "easypost_interlink_parcel_return", + ), + ( + "easypost_interlink_parcel_return_to_shop", + "easypost_interlink_parcel_return_to_shop", + ), + ( + "easypost_interlink_parcel_saturday", + "easypost_interlink_parcel_saturday", + ), + ( + "easypost_interlink_parcel_saturday_by10", + "easypost_interlink_parcel_saturday_by10", + ), + ( + "easypost_interlink_parcel_saturday_by10_30", + "easypost_interlink_parcel_saturday_by10_30", + ), + ( + "easypost_interlink_parcel_saturday_by12", + "easypost_interlink_parcel_saturday_by12", + ), + ( + "easypost_interlink_parcel_ship_to_shop", + "easypost_interlink_parcel_ship_to_shop", + ), + ( + "easypost_interlink_parcel_sunday", + "easypost_interlink_parcel_sunday", + ), + ( + "easypost_interlink_parcel_sunday_by12", + "easypost_interlink_parcel_sunday_by12", + ), + ( + "easypost_interlink_parcel_two_day", + "easypost_interlink_parcel_two_day", + ), + ( + "easypost_interlink_pickup_parcel_dpd_europe_by_road", + "easypost_interlink_pickup_parcel_dpd_europe_by_road", + ), + ("easypost_lasership_weekend", "easypost_lasership_weekend"), + ("easypost_loomis_ground", "easypost_loomis_ground"), + ("easypost_loomis_express1800", "easypost_loomis_express1800"), + ("easypost_loomis_express1200", "easypost_loomis_express1200"), + ("easypost_loomis_express900", "easypost_loomis_express900"), + ("easypost_lso_ground_early", "easypost_lso_ground_early"), + ("easypost_lso_ground_basic", "easypost_lso_ground_basic"), + ("easypost_lso_priority_basic", "easypost_lso_priority_basic"), + ("easypost_lso_priority_early", "easypost_lso_priority_early"), + ( + "easypost_lso_priority_saturday", + "easypost_lso_priority_saturday", + ), + ("easypost_lso_priority2nd_day", "easypost_lso_priority2nd_day"), + ( + "easypost_newgistics_parcel_select", + "easypost_newgistics_parcel_select", + ), + ( + "easypost_newgistics_parcel_select_lightweight", + "easypost_newgistics_parcel_select_lightweight", + ), + ("easypost_newgistics_express", "easypost_newgistics_express"), + ( + "easypost_newgistics_first_class_mail", + "easypost_newgistics_first_class_mail", + ), + ( + "easypost_newgistics_priority_mail", + "easypost_newgistics_priority_mail", + ), + ( + "easypost_newgistics_bound_printed_matter", + "easypost_newgistics_bound_printed_matter", + ), + ("easypost_ontrac_sunrise", "easypost_ontrac_sunrise"), + ("easypost_ontrac_gold", "easypost_ontrac_gold"), + ( + "easypost_ontrac_on_trac_ground", + "easypost_ontrac_on_trac_ground", + ), + ( + "easypost_ontrac_palletized_freight", + "easypost_ontrac_palletized_freight", + ), + ("easypost_osm_first", "easypost_osm_first"), + ("easypost_osm_expedited", "easypost_osm_expedited"), + ("easypost_osm_bpm", "easypost_osm_bpm"), + ("easypost_osm_media_mail", "easypost_osm_media_mail"), + ("easypost_osm_marketing_parcel", "easypost_osm_marketing_parcel"), + ( + "easypost_osm_marketing_parcel_tracked", + "easypost_osm_marketing_parcel_tracked", + ), + ("easypost_parcll_economy_west", "easypost_parcll_economy_west"), + ("easypost_parcll_economy_east", "easypost_parcll_economy_east"), + ( + "easypost_parcll_economy_central", + "easypost_parcll_economy_central", + ), + ( + "easypost_parcll_economy_northeast", + "easypost_parcll_economy_northeast", + ), + ("easypost_parcll_economy_south", "easypost_parcll_economy_south"), + ( + "easypost_parcll_expedited_west", + "easypost_parcll_expedited_west", + ), + ( + "easypost_parcll_expedited_northeast", + "easypost_parcll_expedited_northeast", + ), + ("easypost_parcll_regional_west", "easypost_parcll_regional_west"), + ("easypost_parcll_regional_east", "easypost_parcll_regional_east"), + ( + "easypost_parcll_regional_central", + "easypost_parcll_regional_central", + ), + ( + "easypost_parcll_regional_northeast", + "easypost_parcll_regional_northeast", + ), + ( + "easypost_parcll_regional_south", + "easypost_parcll_regional_south", + ), + ( + "easypost_parcll_us_to_canada_economy_west", + "easypost_parcll_us_to_canada_economy_west", + ), + ( + "easypost_parcll_us_to_canada_economy_central", + "easypost_parcll_us_to_canada_economy_central", + ), + ( + "easypost_parcll_us_to_canada_economy_northeast", + "easypost_parcll_us_to_canada_economy_northeast", + ), + ( + "easypost_parcll_us_to_europe_economy_west", + "easypost_parcll_us_to_europe_economy_west", + ), + ( + "easypost_parcll_us_to_europe_economy_northeast", + "easypost_parcll_us_to_europe_economy_northeast", + ), + ("easypost_purolator_express", "easypost_purolator_express"), + ( + "easypost_purolator_express12_pm", + "easypost_purolator_express12_pm", + ), + ( + "easypost_purolator_express_pack12_pm", + "easypost_purolator_express_pack12_pm", + ), + ( + "easypost_purolator_express_box12_pm", + "easypost_purolator_express_box12_pm", + ), + ( + "easypost_purolator_express_envelope12_pm", + "easypost_purolator_express_envelope12_pm", + ), + ( + "easypost_purolator_express1030_am", + "easypost_purolator_express1030_am", + ), + ( + "easypost_purolator_express9_am", + "easypost_purolator_express9_am", + ), + ( + "easypost_purolator_express_box", + "easypost_purolator_express_box", + ), + ( + "easypost_purolator_express_box1030_am", + "easypost_purolator_express_box1030_am", + ), + ( + "easypost_purolator_express_box9_am", + "easypost_purolator_express_box9_am", + ), + ( + "easypost_purolator_express_box_evening", + "easypost_purolator_express_box_evening", + ), + ( + "easypost_purolator_express_box_international", + "easypost_purolator_express_box_international", + ), + ( + "easypost_purolator_express_box_international1030_am", + "easypost_purolator_express_box_international1030_am", + ), + ( + "easypost_purolator_express_box_international1200", + "easypost_purolator_express_box_international1200", + ), + ( + "easypost_purolator_express_box_international9_am", + "easypost_purolator_express_box_international9_am", + ), + ( + "easypost_purolator_express_box_us", + "easypost_purolator_express_box_us", + ), + ( + "easypost_purolator_express_box_us1030_am", + "easypost_purolator_express_box_us1030_am", + ), + ( + "easypost_purolator_express_box_us1200", + "easypost_purolator_express_box_us1200", + ), + ( + "easypost_purolator_express_box_us9_am", + "easypost_purolator_express_box_us9_am", + ), + ( + "easypost_purolator_express_envelope", + "easypost_purolator_express_envelope", + ), + ( + "easypost_purolator_express_envelope1030_am", + "easypost_purolator_express_envelope1030_am", + ), + ( + "easypost_purolator_express_envelope9_am", + "easypost_purolator_express_envelope9_am", + ), + ( + "easypost_purolator_express_envelope_evening", + "easypost_purolator_express_envelope_evening", + ), + ( + "easypost_purolator_express_envelope_international", + "easypost_purolator_express_envelope_international", + ), + ( + "easypost_purolator_express_envelope_international1030_am", + "easypost_purolator_express_envelope_international1030_am", + ), + ( + "easypost_purolator_express_envelope_international1200", + "easypost_purolator_express_envelope_international1200", + ), + ( + "easypost_purolator_express_envelope_international9_am", + "easypost_purolator_express_envelope_international9_am", + ), + ( + "easypost_purolator_express_envelope_us", + "easypost_purolator_express_envelope_us", + ), + ( + "easypost_purolator_express_envelope_us1030_am", + "easypost_purolator_express_envelope_us1030_am", + ), + ( + "easypost_purolator_express_envelope_us1200", + "easypost_purolator_express_envelope_us1200", + ), + ( + "easypost_purolator_express_envelope_us9_am", + "easypost_purolator_express_envelope_us9_am", + ), + ( + "easypost_purolator_express_evening", + "easypost_purolator_express_evening", + ), + ( + "easypost_purolator_express_international", + "easypost_purolator_express_international", + ), + ( + "easypost_purolator_express_international1030_am", + "easypost_purolator_express_international1030_am", + ), + ( + "easypost_purolator_express_international1200", + "easypost_purolator_express_international1200", + ), + ( + "easypost_purolator_express_international9_am", + "easypost_purolator_express_international9_am", + ), + ( + "easypost_purolator_express_pack", + "easypost_purolator_express_pack", + ), + ( + "easypost_purolator_express_pack1030_am", + "easypost_purolator_express_pack1030_am", + ), + ( + "easypost_purolator_express_pack9_am", + "easypost_purolator_express_pack9_am", + ), + ( + "easypost_purolator_express_pack_evening", + "easypost_purolator_express_pack_evening", + ), + ( + "easypost_purolator_express_pack_international", + "easypost_purolator_express_pack_international", + ), + ( + "easypost_purolator_express_pack_international1030_am", + "easypost_purolator_express_pack_international1030_am", + ), + ( + "easypost_purolator_express_pack_international1200", + "easypost_purolator_express_pack_international1200", + ), + ( + "easypost_purolator_express_pack_international9_am", + "easypost_purolator_express_pack_international9_am", + ), + ( + "easypost_purolator_express_pack_us", + "easypost_purolator_express_pack_us", + ), + ( + "easypost_purolator_express_pack_us1030_am", + "easypost_purolator_express_pack_us1030_am", + ), + ( + "easypost_purolator_express_pack_us1200", + "easypost_purolator_express_pack_us1200", + ), + ( + "easypost_purolator_express_pack_us9_am", + "easypost_purolator_express_pack_us9_am", + ), + ("easypost_purolator_express_us", "easypost_purolator_express_us"), + ( + "easypost_purolator_express_us1030_am", + "easypost_purolator_express_us1030_am", + ), + ( + "easypost_purolator_express_us1200", + "easypost_purolator_express_us1200", + ), + ( + "easypost_purolator_express_us9_am", + "easypost_purolator_express_us9_am", + ), + ("easypost_purolator_ground", "easypost_purolator_ground"), + ( + "easypost_purolator_ground1030_am", + "easypost_purolator_ground1030_am", + ), + ("easypost_purolator_ground9_am", "easypost_purolator_ground9_am"), + ( + "easypost_purolator_ground_distribution", + "easypost_purolator_ground_distribution", + ), + ( + "easypost_purolator_ground_evening", + "easypost_purolator_ground_evening", + ), + ( + "easypost_purolator_ground_regional", + "easypost_purolator_ground_regional", + ), + ("easypost_purolator_ground_us", "easypost_purolator_ground_us"), + ( + "easypost_royalmail_international_signed", + "easypost_royalmail_international_signed", + ), + ( + "easypost_royalmail_international_tracked", + "easypost_royalmail_international_tracked", + ), + ( + "easypost_royalmail_international_tracked_and_signed", + "easypost_royalmail_international_tracked_and_signed", + ), + ("easypost_royalmail_1st_class", "easypost_royalmail_1st_class"), + ( + "easypost_royalmail_1st_class_signed_for", + "easypost_royalmail_1st_class_signed_for", + ), + ("easypost_royalmail_2nd_class", "easypost_royalmail_2nd_class"), + ( + "easypost_royalmail_2nd_class_signed_for", + "easypost_royalmail_2nd_class_signed_for", + ), + ( + "easypost_royalmail_royal_mail24", + "easypost_royalmail_royal_mail24", + ), + ( + "easypost_royalmail_royal_mail24_signed_for", + "easypost_royalmail_royal_mail24_signed_for", + ), + ( + "easypost_royalmail_royal_mail48", + "easypost_royalmail_royal_mail48", + ), + ( + "easypost_royalmail_royal_mail48_signed_for", + "easypost_royalmail_royal_mail48_signed_for", + ), + ( + "easypost_royalmail_special_delivery_guaranteed1pm", + "easypost_royalmail_special_delivery_guaranteed1pm", + ), + ( + "easypost_royalmail_special_delivery_guaranteed9am", + "easypost_royalmail_special_delivery_guaranteed9am", + ), + ( + "easypost_royalmail_standard_letter1st_class", + "easypost_royalmail_standard_letter1st_class", + ), + ( + "easypost_royalmail_standard_letter1st_class_signed_for", + "easypost_royalmail_standard_letter1st_class_signed_for", + ), + ( + "easypost_royalmail_standard_letter2nd_class", + "easypost_royalmail_standard_letter2nd_class", + ), + ( + "easypost_royalmail_standard_letter2nd_class_signed_for", + "easypost_royalmail_standard_letter2nd_class_signed_for", + ), + ("easypost_royalmail_tracked24", "easypost_royalmail_tracked24"), + ( + "easypost_royalmail_tracked24_high_volume", + "easypost_royalmail_tracked24_high_volume", + ), + ( + "easypost_royalmail_tracked24_high_volume_signature", + "easypost_royalmail_tracked24_high_volume_signature", + ), + ( + "easypost_royalmail_tracked24_signature", + "easypost_royalmail_tracked24_signature", + ), + ("easypost_royalmail_tracked48", "easypost_royalmail_tracked48"), + ( + "easypost_royalmail_tracked48_high_volume", + "easypost_royalmail_tracked48_high_volume", + ), + ( + "easypost_royalmail_tracked48_high_volume_signature", + "easypost_royalmail_tracked48_high_volume_signature", + ), + ( + "easypost_royalmail_tracked48_signature", + "easypost_royalmail_tracked48_signature", + ), + ( + "easypost_seko_ecommerce_standard_tracked", + "easypost_seko_ecommerce_standard_tracked", + ), + ( + "easypost_seko_ecommerce_express_tracked", + "easypost_seko_ecommerce_express_tracked", + ), + ( + "easypost_seko_domestic_express", + "easypost_seko_domestic_express", + ), + ( + "easypost_seko_domestic_standard", + "easypost_seko_domestic_standard", + ), + ("easypost_sendle_easy", "easypost_sendle_easy"), + ("easypost_sendle_pro", "easypost_sendle_pro"), + ("easypost_sendle_plus", "easypost_sendle_plus"), + ( + "easypost_sfexpress_international_standard_express_doc", + "easypost_sfexpress_international_standard_express_doc", + ), + ( + "easypost_sfexpress_international_standard_express_parcel", + "easypost_sfexpress_international_standard_express_parcel", + ), + ( + "easypost_sfexpress_international_economy_express_pilot", + "easypost_sfexpress_international_economy_express_pilot", + ), + ( + "easypost_sfexpress_international_economy_express_doc", + "easypost_sfexpress_international_economy_express_doc", + ), + ("easypost_speedee_delivery", "easypost_speedee_delivery"), + ("easypost_startrack_express", "easypost_startrack_express"), + ("easypost_startrack_premium", "easypost_startrack_premium"), + ( + "easypost_startrack_fixed_price_premium", + "easypost_startrack_fixed_price_premium", + ), + ( + "easypost_tforce_same_day_white_glove", + "easypost_tforce_same_day_white_glove", + ), + ( + "easypost_tforce_next_day_white_glove", + "easypost_tforce_next_day_white_glove", + ), + ("easypost_uds_delivery_service", "easypost_uds_delivery_service"), + ("easypost_ups_standard", "easypost_ups_standard"), + ("easypost_ups_saver", "easypost_ups_saver"), + ("easypost_ups_express_plus", "easypost_ups_express_plus"), + ("easypost_ups_next_day_air", "easypost_ups_next_day_air"), + ( + "easypost_ups_next_day_air_saver", + "easypost_ups_next_day_air_saver", + ), + ( + "easypost_ups_next_day_air_early_am", + "easypost_ups_next_day_air_early_am", + ), + ("easypost_ups_2nd_day_air", "easypost_ups_2nd_day_air"), + ("easypost_ups_2nd_day_air_am", "easypost_ups_2nd_day_air_am"), + ("easypost_ups_3_day_select", "easypost_ups_3_day_select"), + ( + "easypost_ups_mail_expedited_mail_innovations", + "easypost_ups_mail_expedited_mail_innovations", + ), + ( + "easypost_ups_mail_priority_mail_innovations", + "easypost_ups_mail_priority_mail_innovations", + ), + ( + "easypost_ups_mail_economy_mail_innovations", + "easypost_ups_mail_economy_mail_innovations", + ), + ("easypost_usps_library_mail", "easypost_usps_library_mail"), + ( + "easypost_usps_first_class_mail_international", + "easypost_usps_first_class_mail_international", + ), + ( + "easypost_usps_first_class_package_international_service", + "easypost_usps_first_class_package_international_service", + ), + ( + "easypost_usps_priority_mail_international", + "easypost_usps_priority_mail_international", + ), + ( + "easypost_usps_express_mail_international", + "easypost_usps_express_mail_international", + ), + ("easypost_veho_next_day", "easypost_veho_next_day"), + ("easypost_veho_same_day", "easypost_veho_same_day"), + ("eshipper_all", "eshipper_all"), + ("eshipper_fedex_priority", "eshipper_fedex_priority"), + ( + "eshipper_fedex_first_overnight", + "eshipper_fedex_first_overnight", + ), + ("eshipper_fedex_ground", "eshipper_fedex_ground"), + ( + "eshipper_fedex_standard_overnight", + "eshipper_fedex_standard_overnight", + ), + ("eshipper_fedex_2nd_day", "eshipper_fedex_2nd_day"), + ("eshipper_fedex_express_saver", "eshipper_fedex_express_saver"), + ( + "eshipper_fedex_international_economy", + "eshipper_fedex_international_economy", + ), + ("eshipper_purolator_air", "eshipper_purolator_air"), + ("eshipper_purolator_air_9_am", "eshipper_purolator_air_9_am"), + ("eshipper_purolator_air_10_30", "eshipper_purolator_air_10_30"), + ("eshipper_purolator_letter", "eshipper_purolator_letter"), + ( + "eshipper_purolator_letter_9_am", + "eshipper_purolator_letter_9_am", + ), + ( + "eshipper_purolator_letter_10_30", + "eshipper_purolator_letter_10_30", + ), + ("eshipper_purolator_pak", "eshipper_purolator_pak"), + ("eshipper_purolator_pak_9_am", "eshipper_purolator_pak_9_am"), + ("eshipper_purolator_pak_10_30", "eshipper_purolator_pak_10_30"), + ("eshipper_purolator_ground", "eshipper_purolator_ground"), + ( + "eshipper_purolator_ground_9_am", + "eshipper_purolator_ground_9_am", + ), + ( + "eshipper_purolator_ground_10_30", + "eshipper_purolator_ground_10_30", + ), + ( + "eshipper_canada_worldwide_same_day", + "eshipper_canada_worldwide_same_day", + ), + ( + "eshipper_canada_worldwide_next_flight_out", + "eshipper_canada_worldwide_next_flight_out", + ), + ( + "eshipper_canada_worldwide_air_freight", + "eshipper_canada_worldwide_air_freight", + ), + ("eshipper_canada_worldwide_ltl", "eshipper_canada_worldwide_ltl"), + ( + "eshipper_dhl_express_worldwide", + "eshipper_dhl_express_worldwide", + ), + ("eshipper_dhl_express_12_pm", "eshipper_dhl_express_12_pm"), + ("eshipper_dhl_express_10_30_am", "eshipper_dhl_express_10_30_am"), + ("eshipper_dhl_esi_export", "eshipper_dhl_esi_export"), + ( + "eshipper_dhl_international_express", + "eshipper_dhl_international_express", + ), + ( + "eshipper_ups_express_next_day_air", + "eshipper_ups_express_next_day_air", + ), + ( + "eshipper_ups_expedited_second_day_air", + "eshipper_ups_expedited_second_day_air", + ), + ( + "eshipper_ups_worldwide_express", + "eshipper_ups_worldwide_express", + ), + ( + "eshipper_ups_worldwide_expedited", + "eshipper_ups_worldwide_expedited", + ), + ("eshipper_ups_standard_ground", "eshipper_ups_standard_ground"), + ( + "eshipper_ups_express_early_am_next_day_air_early_am", + "eshipper_ups_express_early_am_next_day_air_early_am", + ), + ("eshipper_ups_three_day_select", "eshipper_ups_three_day_select"), + ("eshipper_ups_saver", "eshipper_ups_saver"), + ("eshipper_ups_ground", "eshipper_ups_ground"), + ("eshipper_ups_next_day_saver", "eshipper_ups_next_day_saver"), + ( + "eshipper_ups_worldwide_express_plus", + "eshipper_ups_worldwide_express_plus", + ), + ( + "eshipper_ups_second_day_air_am", + "eshipper_ups_second_day_air_am", + ), + ("eshipper_canada_post_priority", "eshipper_canada_post_priority"), + ( + "eshipper_canada_post_xpresspost", + "eshipper_canada_post_xpresspost", + ), + ( + "eshipper_canada_post_expedited", + "eshipper_canada_post_expedited", + ), + ("eshipper_canada_post_regular", "eshipper_canada_post_regular"), + ( + "eshipper_canada_post_xpresspost_usa", + "eshipper_canada_post_xpresspost_usa", + ), + ( + "eshipper_canada_post_xpresspost_intl", + "eshipper_canada_post_xpresspost_intl", + ), + ( + "eshipper_canada_post_air_parcel_intl", + "eshipper_canada_post_air_parcel_intl", + ), + ( + "eshipper_canada_post_surface_parcel_intl", + "eshipper_canada_post_surface_parcel_intl", + ), + ( + "eshipper_canada_post_expedited_parcel_usa", + "eshipper_canada_post_expedited_parcel_usa", + ), + ("eshipper_tst_ltl", "eshipper_tst_ltl"), + ( + "eshipper_ltl_chicago_suburban_express", + "eshipper_ltl_chicago_suburban_express", + ), + ( + "eshipper_ltl_fedex_freight_east", + "eshipper_ltl_fedex_freight_east", + ), + ( + "eshipper_ltl_fedex_freight_west", + "eshipper_ltl_fedex_freight_west", + ), + ( + "eshipper_ltl_mid_states_express", + "eshipper_ltl_mid_states_express", + ), + ( + "eshipper_ltl_new_england_motor_freight", + "eshipper_ltl_new_england_motor_freight", + ), + ("eshipper_ltl_new_penn", "eshipper_ltl_new_penn"), + ("eshipper_ltl_oak_harbor", "eshipper_ltl_oak_harbor"), + ("eshipper_ltl_pitt_ohio", "eshipper_ltl_pitt_ohio"), + ("eshipper_ltl_r_l_carriers", "eshipper_ltl_r_l_carriers"), + ("eshipper_ltl_saia", "eshipper_ltl_saia"), + ("eshipper_ltl_usf_reddaway", "eshipper_ltl_usf_reddaway"), + ("eshipper_ltl_vitran_express", "eshipper_ltl_vitran_express"), + ("eshipper_ltl_wilson_trucking", "eshipper_ltl_wilson_trucking"), + ( + "eshipper_ltl_yellow_transportation", + "eshipper_ltl_yellow_transportation", + ), + ("eshipper_ltl_roadway", "eshipper_ltl_roadway"), + ("eshipper_ltl_fedex_national", "eshipper_ltl_fedex_national"), + ("eshipper_wilson_trucking_tfc", "eshipper_wilson_trucking_tfc"), + ( + "eshipper_aaa_cooper_transportation", + "eshipper_aaa_cooper_transportation", + ), + ("eshipper_roadrunner_dawes", "eshipper_roadrunner_dawes"), + ( + "eshipper_new_england_motor_freight", + "eshipper_new_england_motor_freight", + ), + ( + "eshipper_new_penn_motor_express", + "eshipper_new_penn_motor_express", + ), + ("eshipper_dayton_freight", "eshipper_dayton_freight"), + ( + "eshipper_southeastern_freightway", + "eshipper_southeastern_freightway", + ), + ("eshipper_saia_inc", "eshipper_saia_inc"), + ("eshipper_conway", "eshipper_conway"), + ("eshipper_roadway", "eshipper_roadway"), + ("eshipper_usf_reddaway", "eshipper_usf_reddaway"), + ("eshipper_usf_holland", "eshipper_usf_holland"), + ( + "eshipper_dependable_highway_express", + "eshipper_dependable_highway_express", + ), + ("eshipper_day_and_ross", "eshipper_day_and_ross"), + ("eshipper_day_and_ross_r_and_l", "eshipper_day_and_ross_r_and_l"), + ("eshipper_ups", "eshipper_ups"), + ("eshipper_aaa_cooper", "eshipper_aaa_cooper"), + ("eshipper_ama_transportation", "eshipper_ama_transportation"), + ("eshipper_averitt_express", "eshipper_averitt_express"), + ("eshipper_central_freight", "eshipper_central_freight"), + ("eshipper_conway_us", "eshipper_conway_us"), + ("eshipper_dayton", "eshipper_dayton"), + ("eshipper_drug_transport", "eshipper_drug_transport"), + ("eshipper_estes", "eshipper_estes"), + ("eshipper_land_air_express", "eshipper_land_air_express"), + ("eshipper_fedex_west", "eshipper_fedex_west"), + ("eshipper_fedex_national", "eshipper_fedex_national"), + ("eshipper_usf_holland_us", "eshipper_usf_holland_us"), + ("eshipper_lakeville_m_express", "eshipper_lakeville_m_express"), + ("eshipper_milan_express", "eshipper_milan_express"), + ("eshipper_nebraska_transport", "eshipper_nebraska_transport"), + ("eshipper_new_england", "eshipper_new_england"), + ("eshipper_new_penn", "eshipper_new_penn"), + ("eshipper_a_duie_pyle", "eshipper_a_duie_pyle"), + ("eshipper_roadway_us", "eshipper_roadway_us"), + ("eshipper_usf_reddaway_us", "eshipper_usf_reddaway_us"), + ("eshipper_rhody_transportation", "eshipper_rhody_transportation"), + ("eshipper_saia_motor_freight", "eshipper_saia_motor_freight"), + ("eshipper_southeastern_frgt", "eshipper_southeastern_frgt"), + ("eshipper_pitt_ohio", "eshipper_pitt_ohio"), + ("eshipper_ward", "eshipper_ward"), + ("eshipper_wilson", "eshipper_wilson"), + ("eshipper_chi_cargo", "eshipper_chi_cargo"), + ("eshipper_tax_air", "eshipper_tax_air"), + ("eshipper_fedex_east", "eshipper_fedex_east"), + ("eshipper_central_transport", "eshipper_central_transport"), + ("eshipper_roadrunner", "eshipper_roadrunner"), + ("eshipper_r_and_l_carriers", "eshipper_r_and_l_carriers"), + ("eshipper_estes_us", "eshipper_estes_us"), + ("eshipper_yrc_roadway", "eshipper_yrc_roadway"), + ("eshipper_central_transport_us", "eshipper_central_transport_us"), + ( + "eshipper_absolute_transportation_services", + "eshipper_absolute_transportation_services", + ), + ("eshipper_blue_sky_express", "eshipper_blue_sky_express"), + ("eshipper_galasso_trucking", "eshipper_galasso_trucking"), + ("eshipper_griley_air_freight", "eshipper_griley_air_freight"), + ("eshipper_jet_transportation", "eshipper_jet_transportation"), + ( + "eshipper_metro_transportation_logistics", + "eshipper_metro_transportation_logistics", + ), + ("eshipper_oak_harbor", "eshipper_oak_harbor"), + ("eshipper_stream_links_express", "eshipper_stream_links_express"), + ("eshipper_tiffany_trucking", "eshipper_tiffany_trucking"), + ("eshipper_ups_freight", "eshipper_ups_freight"), + ("eshipper_roadrunner_us", "eshipper_roadrunner_us"), + ( + "eshipper_global_mail_parcel_priority", + "eshipper_global_mail_parcel_priority", + ), + ( + "eshipper_global_mail_parcel_standard", + "eshipper_global_mail_parcel_standard", + ), + ( + "eshipper_global_mail_packet_plus_priority", + "eshipper_global_mail_packet_plus_priority", + ), + ( + "eshipper_global_mail_packet_priority", + "eshipper_global_mail_packet_priority", + ), + ( + "eshipper_global_mail_packet_standard", + "eshipper_global_mail_packet_standard", + ), + ( + "eshipper_global_mail_business_priority", + "eshipper_global_mail_business_priority", + ), + ( + "eshipper_global_mail_business_standard", + "eshipper_global_mail_business_standard", + ), + ( + "eshipper_global_mail_parcel_direct_priority", + "eshipper_global_mail_parcel_direct_priority", + ), + ( + "eshipper_global_mail_parcel_direct_standard", + "eshipper_global_mail_parcel_direct_standard", + ), + ("eshipper_canpar_ground", "eshipper_canpar_ground"), + ("eshipper_canpar_select_parcel", "eshipper_canpar_select_parcel"), + ( + "eshipper_canpar_express_parcel", + "eshipper_canpar_express_parcel", + ), + ("eshipper_fleet_optics_ground", "eshipper_fleet_optics_ground"), + ( + "fedex_international_priority_express", + "fedex_international_priority_express", + ), + ("fedex_international_first", "fedex_international_first"), + ("fedex_international_priority", "fedex_international_priority"), + ("fedex_international_economy", "fedex_international_economy"), + ("fedex_ground", "fedex_ground"), + ("fedex_cargo_mail", "fedex_cargo_mail"), + ( + "fedex_cargo_international_premium", + "fedex_cargo_international_premium", + ), + ("fedex_first_overnight", "fedex_first_overnight"), + ("fedex_first_overnight_freight", "fedex_first_overnight_freight"), + ("fedex_1_day_freight", "fedex_1_day_freight"), + ("fedex_2_day_freight", "fedex_2_day_freight"), + ("fedex_3_day_freight", "fedex_3_day_freight"), + ( + "fedex_international_priority_freight", + "fedex_international_priority_freight", + ), + ( + "fedex_international_economy_freight", + "fedex_international_economy_freight", + ), + ( + "fedex_cargo_airport_to_airport", + "fedex_cargo_airport_to_airport", + ), + ( + "fedex_international_priority_distribution", + "fedex_international_priority_distribution", + ), + ( + "fedex_ip_direct_distribution_freight", + "fedex_ip_direct_distribution_freight", + ), + ( + "fedex_intl_ground_distribution", + "fedex_intl_ground_distribution", + ), + ("fedex_ground_home_delivery", "fedex_ground_home_delivery"), + ("fedex_smart_post", "fedex_smart_post"), + ("fedex_priority_overnight", "fedex_priority_overnight"), + ("fedex_standard_overnight", "fedex_standard_overnight"), + ("fedex_2_day", "fedex_2_day"), + ("fedex_2_day_am", "fedex_2_day_am"), + ("fedex_express_saver", "fedex_express_saver"), + ("fedex_same_day", "fedex_same_day"), + ("fedex_same_day_city", "fedex_same_day_city"), + ("fedex_one_day_freight", "fedex_one_day_freight"), + ( + "fedex_international_economy_distribution", + "fedex_international_economy_distribution", + ), + ( + "fedex_international_connect_plus", + "fedex_international_connect_plus", + ), + ( + "fedex_international_distribution_freight", + "fedex_international_distribution_freight", + ), + ("fedex_regional_economy", "fedex_regional_economy"), + ("fedex_next_day_freight", "fedex_next_day_freight"), + ("fedex_next_day", "fedex_next_day"), + ("fedex_next_day_10am", "fedex_next_day_10am"), + ("fedex_next_day_12pm", "fedex_next_day_12pm"), + ("fedex_next_day_end_of_day", "fedex_next_day_end_of_day"), + ("fedex_distance_deferred", "fedex_distance_deferred"), + ( + "fedex_europe_first_international_priority", + "fedex_europe_first_international_priority", + ), + ("fedex_1_day_freight", "fedex_1_day_freight"), + ("fedex_2_day", "fedex_2_day"), + ("fedex_2_day_am", "fedex_2_day_am"), + ("fedex_2_day_freight", "fedex_2_day_freight"), + ("fedex_3_day_freight", "fedex_3_day_freight"), + ( + "fedex_cargo_airport_to_airport", + "fedex_cargo_airport_to_airport", + ), + ( + "fedex_cargo_freight_forwarding", + "fedex_cargo_freight_forwarding", + ), + ( + "fedex_cargo_international_express_freight", + "fedex_cargo_international_express_freight", + ), + ( + "fedex_cargo_international_premium", + "fedex_cargo_international_premium", + ), + ("fedex_cargo_mail", "fedex_cargo_mail"), + ("fedex_cargo_registered_mail", "fedex_cargo_registered_mail"), + ("fedex_cargo_surface_mail", "fedex_cargo_surface_mail"), + ( + "fedex_custom_critical_air_expedite", + "fedex_custom_critical_air_expedite", + ), + ( + "fedex_custom_critical_air_expedite_exclusive_use", + "fedex_custom_critical_air_expedite_exclusive_use", + ), + ( + "fedex_custom_critical_air_expedite_network", + "fedex_custom_critical_air_expedite_network", + ), + ( + "fedex_custom_critical_charter_air", + "fedex_custom_critical_charter_air", + ), + ( + "fedex_custom_critical_point_to_point", + "fedex_custom_critical_point_to_point", + ), + ( + "fedex_custom_critical_surface_expedite", + "fedex_custom_critical_surface_expedite", + ), + ( + "fedex_custom_critical_surface_expedite_exclusive_use", + "fedex_custom_critical_surface_expedite_exclusive_use", + ), + ( + "fedex_custom_critical_temp_assure_air", + "fedex_custom_critical_temp_assure_air", + ), + ( + "fedex_custom_critical_temp_assure_validated_air", + "fedex_custom_critical_temp_assure_validated_air", + ), + ( + "fedex_custom_critical_white_glove_services", + "fedex_custom_critical_white_glove_services", + ), + ("fedex_distance_deferred", "fedex_distance_deferred"), + ("fedex_express_saver", "fedex_express_saver"), + ("fedex_first_freight", "fedex_first_freight"), + ("fedex_freight_economy", "fedex_freight_economy"), + ("fedex_freight_priority", "fedex_freight_priority"), + ("fedex_ground", "fedex_ground"), + ( + "fedex_international_priority_plus", + "fedex_international_priority_plus", + ), + ("fedex_next_day_afternoon", "fedex_next_day_afternoon"), + ("fedex_next_day_early_morning", "fedex_next_day_early_morning"), + ("fedex_next_day_end_of_day", "fedex_next_day_end_of_day"), + ("fedex_next_day_freight", "fedex_next_day_freight"), + ("fedex_next_day_mid_morning", "fedex_next_day_mid_morning"), + ("fedex_first_overnight", "fedex_first_overnight"), + ("fedex_ground_home_delivery", "fedex_ground_home_delivery"), + ( + "fedex_international_distribution_freight", + "fedex_international_distribution_freight", + ), + ("fedex_international_economy", "fedex_international_economy"), + ( + "fedex_international_economy_distribution", + "fedex_international_economy_distribution", + ), + ( + "fedex_international_economy_freight", + "fedex_international_economy_freight", + ), + ("fedex_international_first", "fedex_international_first"), + ("fedex_international_ground", "fedex_international_ground"), + ("fedex_international_priority", "fedex_international_priority"), + ( + "fedex_international_priority_distribution", + "fedex_international_priority_distribution", + ), + ( + "fedex_international_priority_express", + "fedex_international_priority_express", + ), + ( + "fedex_international_priority_freight", + "fedex_international_priority_freight", + ), + ("fedex_priority_overnight", "fedex_priority_overnight"), + ("fedex_same_day", "fedex_same_day"), + ("fedex_same_day_city", "fedex_same_day_city"), + ( + "fedex_same_day_metro_afternoon", + "fedex_same_day_metro_afternoon", + ), + ("fedex_same_day_metro_morning", "fedex_same_day_metro_morning"), + ("fedex_same_day_metro_rush", "fedex_same_day_metro_rush"), + ("fedex_smart_post", "fedex_smart_post"), + ("fedex_standard_overnight", "fedex_standard_overnight"), + ( + "fedex_transborder_distribution_consolidation", + "fedex_transborder_distribution_consolidation", + ), + ("freightcom_all", "freightcom_all"), + ("freightcom_usf_holland", "freightcom_usf_holland"), + ("freightcom_central_transport", "freightcom_central_transport"), + ("freightcom_estes", "freightcom_estes"), + ("freightcom_canpar_ground", "freightcom_canpar_ground"), + ("freightcom_canpar_select", "freightcom_canpar_select"), + ("freightcom_canpar_overnight", "freightcom_canpar_overnight"), + ("freightcom_dicom_ground", "freightcom_dicom_ground"), + ("freightcom_purolator_ground", "freightcom_purolator_ground"), + ("freightcom_purolator_express", "freightcom_purolator_express"), + ( + "freightcom_purolator_express_9_am", + "freightcom_purolator_express_9_am", + ), + ( + "freightcom_purolator_express_10_30_am", + "freightcom_purolator_express_10_30_am", + ), + ( + "freightcom_purolator_ground_us", + "freightcom_purolator_ground_us", + ), + ( + "freightcom_purolator_express_us", + "freightcom_purolator_express_us", + ), + ( + "freightcom_purolator_express_us_9_am", + "freightcom_purolator_express_us_9_am", + ), + ( + "freightcom_purolator_express_us_10_30_am", + "freightcom_purolator_express_us_10_30_am", + ), + ( + "freightcom_fedex_express_saver", + "freightcom_fedex_express_saver", + ), + ("freightcom_fedex_ground", "freightcom_fedex_ground"), + ("freightcom_fedex_2day", "freightcom_fedex_2day"), + ( + "freightcom_fedex_priority_overnight", + "freightcom_fedex_priority_overnight", + ), + ( + "freightcom_fedex_standard_overnight", + "freightcom_fedex_standard_overnight", + ), + ( + "freightcom_fedex_first_overnight", + "freightcom_fedex_first_overnight", + ), + ( + "freightcom_fedex_international_priority", + "freightcom_fedex_international_priority", + ), + ( + "freightcom_fedex_international_economy", + "freightcom_fedex_international_economy", + ), + ("freightcom_ups_standard", "freightcom_ups_standard"), + ("freightcom_ups_expedited", "freightcom_ups_expedited"), + ("freightcom_ups_express_saver", "freightcom_ups_express_saver"), + ("freightcom_ups_express", "freightcom_ups_express"), + ("freightcom_ups_express_early", "freightcom_ups_express_early"), + ("freightcom_ups_3day_select", "freightcom_ups_3day_select"), + ( + "freightcom_ups_worldwide_expedited", + "freightcom_ups_worldwide_expedited", + ), + ( + "freightcom_ups_worldwide_express", + "freightcom_ups_worldwide_express", + ), + ( + "freightcom_ups_worldwide_express_plus", + "freightcom_ups_worldwide_express_plus", + ), + ( + "freightcom_ups_worldwide_express_saver", + "freightcom_ups_worldwide_express_saver", + ), + ("freightcom_dhl_express_easy", "freightcom_dhl_express_easy"), + ("freightcom_dhl_express_10_30", "freightcom_dhl_express_10_30"), + ( + "freightcom_dhl_express_worldwide", + "freightcom_dhl_express_worldwide", + ), + ("freightcom_dhl_express_12_00", "freightcom_dhl_express_12_00"), + ("freightcom_dhl_economy_select", "freightcom_dhl_economy_select"), + ( + "freightcom_dhl_ecommerce_am_service", + "freightcom_dhl_ecommerce_am_service", + ), + ( + "freightcom_dhl_ecommerce_ground_service", + "freightcom_dhl_ecommerce_ground_service", + ), + ( + "freightcom_canadapost_regular_parcel", + "freightcom_canadapost_regular_parcel", + ), + ( + "freightcom_canadapost_expedited_parcel", + "freightcom_canadapost_expedited_parcel", + ), + ( + "freightcom_canadapost_xpresspost", + "freightcom_canadapost_xpresspost", + ), + ( + "freightcom_canadapost_priority", + "freightcom_canadapost_priority", + ), + ("standard_service", "standard_service"), + ("geodis_EXP", "geodis_EXP"), + ("geodis_MES", "geodis_MES"), + ("geodis_express_france", "geodis_express_france"), + ( + "geodis_retour_trans_fr_messagerie_plus", + "geodis_retour_trans_fr_messagerie_plus", + ), + ("locate2u_local_delivery", "locate2u_local_delivery"), + ("ninja_van_standard_service", "ninja_van_standard_service"), + ("purolator_express_9_am", "purolator_express_9_am"), + ("purolator_express_us", "purolator_express_us"), + ("purolator_express_10_30_am", "purolator_express_10_30_am"), + ("purolator_express_us_9_am", "purolator_express_us_9_am"), + ("purolator_express_12_pm", "purolator_express_12_pm"), + ("purolator_express_us_10_30_am", "purolator_express_us_10_30_am"), + ("purolator_express", "purolator_express"), + ("purolator_express_us_12_00", "purolator_express_us_12_00"), + ("purolator_express_evening", "purolator_express_evening"), + ("purolator_express_envelope_us", "purolator_express_envelope_us"), + ( + "purolator_express_envelope_9_am", + "purolator_express_envelope_9_am", + ), + ( + "purolator_express_us_envelope_9_am", + "purolator_express_us_envelope_9_am", + ), + ( + "purolator_express_envelope_10_30_am", + "purolator_express_envelope_10_30_am", + ), + ( + "purolator_express_us_envelope_10_30_am", + "purolator_express_us_envelope_10_30_am", + ), + ( + "purolator_express_envelope_12_pm", + "purolator_express_envelope_12_pm", + ), + ( + "purolator_express_us_envelope_12_00", + "purolator_express_us_envelope_12_00", + ), + ("purolator_express_envelope", "purolator_express_envelope"), + ("purolator_express_pack_us", "purolator_express_pack_us"), + ( + "purolator_express_envelope_evening", + "purolator_express_envelope_evening", + ), + ( + "purolator_express_us_pack_9_am", + "purolator_express_us_pack_9_am", + ), + ("purolator_express_pack_9_am", "purolator_express_pack_9_am"), + ( + "purolator_express_us_pack_10_30_am", + "purolator_express_us_pack_10_30_am", + ), + ( + "purolator_express_pack10_30_am", + "purolator_express_pack10_30_am", + ), + ( + "purolator_express_us_pack_12_00", + "purolator_express_us_pack_12_00", + ), + ("purolator_express_pack_12_pm", "purolator_express_pack_12_pm"), + ("purolator_express_box_us", "purolator_express_box_us"), + ("purolator_express_pack", "purolator_express_pack"), + ("purolator_express_us_box_9_am", "purolator_express_us_box_9_am"), + ( + "purolator_express_pack_evening", + "purolator_express_pack_evening", + ), + ( + "purolator_express_us_box_10_30_am", + "purolator_express_us_box_10_30_am", + ), + ("purolator_express_box_9_am", "purolator_express_box_9_am"), + ( + "purolator_express_us_box_12_00", + "purolator_express_us_box_12_00", + ), + ( + "purolator_express_box_10_30_am", + "purolator_express_box_10_30_am", + ), + ("purolator_ground_us", "purolator_ground_us"), + ("purolator_express_box_12_pm", "purolator_express_box_12_pm"), + ( + "purolator_express_international", + "purolator_express_international", + ), + ("purolator_express_box", "purolator_express_box"), + ( + "purolator_express_international_9_am", + "purolator_express_international_9_am", + ), + ("purolator_express_box_evening", "purolator_express_box_evening"), + ( + "purolator_express_international_10_30_am", + "purolator_express_international_10_30_am", + ), + ("purolator_ground", "purolator_ground"), + ( + "purolator_express_international_12_00", + "purolator_express_international_12_00", + ), + ("purolator_ground_9_am", "purolator_ground_9_am"), + ( + "purolator_express_envelope_international", + "purolator_express_envelope_international", + ), + ("purolator_ground_10_30_am", "purolator_ground_10_30_am"), + ( + "purolator_express_international_envelope_9_am", + "purolator_express_international_envelope_9_am", + ), + ("purolator_ground_evening", "purolator_ground_evening"), + ( + "purolator_express_international_envelope_10_30_am", + "purolator_express_international_envelope_10_30_am", + ), + ("purolator_quick_ship", "purolator_quick_ship"), + ( + "purolator_express_international_envelope_12_00", + "purolator_express_international_envelope_12_00", + ), + ("purolator_quick_ship_envelope", "purolator_quick_ship_envelope"), + ( + "purolator_express_pack_international", + "purolator_express_pack_international", + ), + ("purolator_quick_ship_pack", "purolator_quick_ship_pack"), + ( + "purolator_express_international_pack_9_am", + "purolator_express_international_pack_9_am", + ), + ("purolator_quick_ship_box", "purolator_quick_ship_box"), + ( + "purolator_express_international_pack_10_30_am", + "purolator_express_international_pack_10_30_am", + ), + ( + "purolator_express_international_pack_12_00", + "purolator_express_international_pack_12_00", + ), + ( + "purolator_express_box_international", + "purolator_express_box_international", + ), + ( + "purolator_express_international_box_9_am", + "purolator_express_international_box_9_am", + ), + ( + "purolator_express_international_box_10_30_am", + "purolator_express_international_box_10_30_am", + ), + ( + "purolator_express_international_box_12_00", + "purolator_express_international_box_12_00", + ), + ("roadie_local_delivery", "roadie_local_delivery"), + ("sendle_standard_pickup", "sendle_standard_pickup"), + ("sendle_standard_dropoff", "sendle_standard_dropoff"), + ("sendle_express_pickup", "sendle_express_pickup"), + ("tge_freight_service", "tge_freight_service"), + ("tnt_special_express", "tnt_special_express"), + ("tnt_9_00_express", "tnt_9_00_express"), + ("tnt_10_00_express", "tnt_10_00_express"), + ("tnt_12_00_express", "tnt_12_00_express"), + ("tnt_express", "tnt_express"), + ("tnt_economy_express", "tnt_economy_express"), + ("tnt_global_express", "tnt_global_express"), + ("ups_standard", "ups_standard"), + ("ups_worldwide_express", "ups_worldwide_express"), + ("ups_worldwide_expedited", "ups_worldwide_expedited"), + ("ups_worldwide_express_plus", "ups_worldwide_express_plus"), + ("ups_worldwide_saver", "ups_worldwide_saver"), + ("ups_2nd_day_air", "ups_2nd_day_air"), + ("ups_2nd_day_air_am", "ups_2nd_day_air_am"), + ("ups_3_day_select", "ups_3_day_select"), + ("ups_ground", "ups_ground"), + ("ups_next_day_air", "ups_next_day_air"), + ("ups_next_day_air_early", "ups_next_day_air_early"), + ("ups_next_day_air_saver", "ups_next_day_air_saver"), + ("ups_expedited_ca", "ups_expedited_ca"), + ("ups_express_saver_ca", "ups_express_saver_ca"), + ("ups_3_day_select_ca_us", "ups_3_day_select_ca_us"), + ("ups_access_point_economy_ca", "ups_access_point_economy_ca"), + ("ups_express_ca", "ups_express_ca"), + ("ups_express_early_ca", "ups_express_early_ca"), + ("ups_express_saver_intl_ca", "ups_express_saver_intl_ca"), + ("ups_standard_ca", "ups_standard_ca"), + ("ups_worldwide_expedited_ca", "ups_worldwide_expedited_ca"), + ("ups_worldwide_express_ca", "ups_worldwide_express_ca"), + ("ups_worldwide_express_plus_ca", "ups_worldwide_express_plus_ca"), + ("ups_express_early_ca_us", "ups_express_early_ca_us"), + ("ups_access_point_economy_eu", "ups_access_point_economy_eu"), + ("ups_expedited_eu", "ups_expedited_eu"), + ("ups_express_eu", "ups_express_eu"), + ("ups_standard_eu", "ups_standard_eu"), + ("ups_worldwide_express_plus_eu", "ups_worldwide_express_plus_eu"), + ("ups_worldwide_saver_eu", "ups_worldwide_saver_eu"), + ("ups_access_point_economy_mx", "ups_access_point_economy_mx"), + ("ups_expedited_mx", "ups_expedited_mx"), + ("ups_express_mx", "ups_express_mx"), + ("ups_standard_mx", "ups_standard_mx"), + ("ups_worldwide_express_plus_mx", "ups_worldwide_express_plus_mx"), + ("ups_worldwide_saver_mx", "ups_worldwide_saver_mx"), + ("ups_access_point_economy_pl", "ups_access_point_economy_pl"), + ( + "ups_today_dedicated_courrier_pl", + "ups_today_dedicated_courrier_pl", + ), + ("ups_today_express_pl", "ups_today_express_pl"), + ("ups_today_express_saver_pl", "ups_today_express_saver_pl"), + ("ups_today_standard_pl", "ups_today_standard_pl"), + ("ups_expedited_pl", "ups_expedited_pl"), + ("ups_express_pl", "ups_express_pl"), + ("ups_express_plus_pl", "ups_express_plus_pl"), + ("ups_express_saver_pl", "ups_express_saver_pl"), + ("ups_standard_pl", "ups_standard_pl"), + ("ups_2nd_day_air_pr", "ups_2nd_day_air_pr"), + ("ups_ground_pr", "ups_ground_pr"), + ("ups_next_day_air_pr", "ups_next_day_air_pr"), + ("ups_next_day_air_early_pr", "ups_next_day_air_early_pr"), + ("ups_worldwide_expedited_pr", "ups_worldwide_expedited_pr"), + ("ups_worldwide_express_pr", "ups_worldwide_express_pr"), + ("ups_worldwide_express_plus_pr", "ups_worldwide_express_plus_pr"), + ("ups_worldwide_saver_pr", "ups_worldwide_saver_pr"), + ("ups_express_12_00_de", "ups_express_12_00_de"), + ("ups_worldwide_express_freight", "ups_worldwide_express_freight"), + ( + "ups_worldwide_express_freight_midday", + "ups_worldwide_express_freight_midday", + ), + ("ups_worldwide_economy_ddu", "ups_worldwide_economy_ddu"), + ("ups_worldwide_economy_ddp", "ups_worldwide_economy_ddp"), + ("usps_first_class", "usps_first_class"), + ("usps_first_class_commercial", "usps_first_class_commercial"), + ( + "usps_first_class_hfp_commercial", + "usps_first_class_hfp_commercial", + ), + ("usps_priority", "usps_priority"), + ("usps_priority_commercial", "usps_priority_commercial"), + ("usps_priority_cpp", "usps_priority_cpp"), + ("usps_priority_hfp_commercial", "usps_priority_hfp_commercial"), + ("usps_priority_hfp_cpp", "usps_priority_hfp_cpp"), + ("usps_priority_mail_express", "usps_priority_mail_express"), + ( + "usps_priority_mail_express_commercial", + "usps_priority_mail_express_commercial", + ), + ( + "usps_priority_mail_express_cpp", + "usps_priority_mail_express_cpp", + ), + ("usps_priority_mail_express_sh", "usps_priority_mail_express_sh"), + ( + "usps_priority_mail_express_sh_commercial", + "usps_priority_mail_express_sh_commercial", + ), + ( + "usps_priority_mail_express_hfp", + "usps_priority_mail_express_hfp", + ), + ( + "usps_priority_mail_express_hfp_commercial", + "usps_priority_mail_express_hfp_commercial", + ), + ( + "usps_priority_mail_express_hfp_cpp", + "usps_priority_mail_express_hfp_cpp", + ), + ("usps_priority_mail_cubic", "usps_priority_mail_cubic"), + ("usps_retail_ground", "usps_retail_ground"), + ("usps_media", "usps_media"), + ("usps_library", "usps_library"), + ("usps_all", "usps_all"), + ("usps_online", "usps_online"), + ("usps_plus", "usps_plus"), + ("usps_bpm", "usps_bpm"), + ("usps_ground_advantage", "usps_ground_advantage"), + ( + "usps_ground_advantage_commercial", + "usps_ground_advantage_commercial", + ), + ("usps_ground_advantage_hfp", "usps_ground_advantage_hfp"), + ( + "usps_ground_advantage_hfp_commercial", + "usps_ground_advantage_hfp_commercial", + ), + ("usps_ground_advantage_cubic", "usps_ground_advantage_cubic"), + ("usps_first_class", "usps_first_class"), + ("usps_first_class_commercial", "usps_first_class_commercial"), + ( + "usps_first_class_hfp_commercial", + "usps_first_class_hfp_commercial", + ), + ("usps_priority", "usps_priority"), + ("usps_priority_commercial", "usps_priority_commercial"), + ("usps_priority_cpp", "usps_priority_cpp"), + ("usps_priority_hfp_commercial", "usps_priority_hfp_commercial"), + ("usps_priority_hfp_cpp", "usps_priority_hfp_cpp"), + ("usps_priority_mail_express", "usps_priority_mail_express"), + ( + "usps_priority_mail_express_commercial", + "usps_priority_mail_express_commercial", + ), + ( + "usps_priority_mail_express_cpp", + "usps_priority_mail_express_cpp", + ), + ("usps_priority_mail_express_sh", "usps_priority_mail_express_sh"), + ( + "usps_priority_mail_express_sh_commercial", + "usps_priority_mail_express_sh_commercial", + ), + ( + "usps_priority_mail_express_hfp", + "usps_priority_mail_express_hfp", + ), + ( + "usps_priority_mail_express_hfp_commercial", + "usps_priority_mail_express_hfp_commercial", + ), + ( + "usps_priority_mail_express_hfp_cpp", + "usps_priority_mail_express_hfp_cpp", + ), + ("usps_priority_mail_cubic", "usps_priority_mail_cubic"), + ("usps_retail_ground", "usps_retail_ground"), + ("usps_media", "usps_media"), + ("usps_library", "usps_library"), + ("usps_all", "usps_all"), + ("usps_online", "usps_online"), + ("usps_plus", "usps_plus"), + ("usps_bpm", "usps_bpm"), + ("zoom2u_VIP", "zoom2u_VIP"), + ("zoom2u_3_hour", "zoom2u_3_hour"), + ("zoom2u_same_day", "zoom2u_same_day"), + ], + help_text="\n The list of services you want to apply the surcharge to.\n
\n Note that by default, the surcharge is applied to all services\n ", + null=True, + ), + ), + ] diff --git a/packages/types/rest/api.ts b/packages/types/rest/api.ts index a5119b0e32..b2f798da15 100644 --- a/packages/types/rest/api.ts +++ b/packages/types/rest/api.ts @@ -2,10 +2,10 @@ /* eslint-disable */ /** * Karrio API - * Karrio is a multi-carrier shipping API that simplifies the integration of logistics carrier services. The Karrio API is organized around REST. Our API has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs. The Karrio API differs for every account as we release new versions. These docs are customized to your version of the API. ## Versioning When backwards-incompatible changes are made to the API, a new, dated version is released. The current version is `2024.6-rc1`. Read our API changelog to learn more about backwards compatibility. As a precaution, use API versioning to check a new API version before committing to an upgrade. ## Environments The Karrio API offer the possibility to create and retrieve certain objects in `test_mode`. In development, it is therefore possible to add carrier connections, get live rates, buy labels, create trackers and schedule pickups in `test_mode`. ## Pagination All top-level API resources have support for bulk fetches via \"list\" API methods. For instance, you can list addresses, list shipments, and list trackers. These list API methods share a common structure, taking at least these two parameters: limit, and offset. Karrio utilizes offset-based pagination via the offset and limit parameters. Both parameters take a number as value (see below) and return objects in reverse chronological order. The offset parameter returns objects listed after an index. The limit parameter take a limit on the number of objects to be returned from 1 to 100. ```json { \"count\": 100, \"next\": \"/v1/shipments?limit=25&offset=50\", \"previous\": \"/v1/shipments?limit=25&offset=25\", \"results\": [ { ... }, ] } ``` ## Metadata Updateable Karrio objects—including Shipment and Order have a metadata parameter. You can use this parameter to attach key-value data to these Karrio objects. Metadata is useful for storing additional, structured information on an object. As an example, you could store your user\'s full name and corresponding unique identifier from your system on a Karrio Order object. Do not store any sensitive information as metadata. ## Authentication API keys are used to authenticate requests. You can view and manage your API keys in the Dashboard. Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. Authentication to the API is performed via HTTP Basic Auth. Provide your API token as the basic auth username value. You do not need to provide a password. ```shell $ curl https://instance.api.com/v1/shipments \\ -u key_xxxxxx: # The colon prevents curl from asking for a password. ``` If you need to authenticate via bearer auth (e.g., for a cross-origin request), use `-H \"Authorization: Token key_xxxxxx\"` instead of `-u key_xxxxxx`. All API requests must be made over [HTTPS](http://en.wikipedia.org/wiki/HTTP_Secure). API requests without authentication will also fail. + * Karrio is a multi-carrier shipping API that simplifies the integration of logistics carrier services. The Karrio API is organized around REST. Our API has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs. The Karrio API differs for every account as we release new versions. These docs are customized to your version of the API. ## Versioning When backwards-incompatible changes are made to the API, a new, dated version is released. The current version is `2024.6-rc1`. Read our API changelog to learn more about backwards compatibility. As a precaution, use API versioning to check a new API version before committing to an upgrade. ## Environments The Karrio API offer the possibility to create and retrieve certain objects in `test_mode`. In development, it is therefore possible to add carrier connections, get live rates, buy labels, create trackers and schedule pickups in `test_mode`. ## Pagination All top-level API resources have support for bulk fetches via \"list\" API methods. For instance, you can list addresses, list shipments, and list trackers. These list API methods share a common structure, taking at least these two parameters: limit, and offset. Karrio utilizes offset-based pagination via the offset and limit parameters. Both parameters take a number as value (see below) and return objects in reverse chronological order. The offset parameter returns objects listed after an index. The limit parameter take a limit on the number of objects to be returned from 1 to 100. ```json { \"count\": 100, \"next\": \"/v1/shipments?limit=25&offset=50\", \"previous\": \"/v1/shipments?limit=25&offset=25\", \"results\": [ { ... }, ] } ``` ## Metadata Updateable Karrio objects—including Shipment and Order have a metadata parameter. You can use this parameter to attach key-value data to these Karrio objects. Metadata is useful for storing additional, structured information on an object. As an example, you could store your user\'s full name and corresponding unique identifier from your system on a Karrio Order object. Do not store any sensitive information as metadata. ## Authentication API keys are used to authenticate requests. You can view and manage your API keys in the Dashboard. Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. Authentication to the API is performed via HTTP Basic Auth. Provide your API token as the basic auth username value. You do not need to provide a password. ```shell $ curl https://instance.api.com/v1/shipments \\ -u key_xxxxxx: # The colon prevents curl from asking for a password. ``` If you need to authenticate via bearer auth (e.g., for a cross-origin request), use `-H \"Authorization: Token key_xxxxxx\"` instead of `-u key_xxxxxx`. All API requests must be made over [HTTPS](http://en.wikipedia.org/wiki/HTTP_Secure). API requests without authentication will also fail. * * The version of the OpenAPI document: 2024.6-rc1 - * + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -24,7 +24,7 @@ import type { RequestArgs } from './base'; import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base'; /** - * + * * @export * @interface APIError */ @@ -49,7 +49,7 @@ export interface APIError { 'details'?: { [key: string]: any; }; } /** - * + * * @export * @interface Address */ @@ -61,13 +61,13 @@ export interface Address { */ 'id'?: string; /** - * The address postal code **(required for shipment purchase)** + * The address postal code **(required for shipment purchase)** * @type {string} * @memberof Address */ 'postal_code'?: string | null; /** - * The address city. **(required for shipment purchase)** + * The address city. **(required for shipment purchase)** * @type {string} * @memberof Address */ @@ -85,7 +85,7 @@ export interface Address { */ 'state_tax_id'?: string | null; /** - * Attention to **(required for shipment purchase)** + * Attention to **(required for shipment purchase)** * @type {string} * @memberof Address */ @@ -133,7 +133,7 @@ export interface Address { */ 'street_number'?: string | null; /** - * The address line with street number
**(required for shipment purchase)** + * The address line with street number
**(required for shipment purchase)** * @type {string} * @memberof Address */ @@ -157,7 +157,7 @@ export interface Address { */ 'object_type'?: string; /** - * + * * @type {AddressValidation} * @memberof Address */ @@ -404,19 +404,19 @@ export const AddressCountryCodeEnum = { export type AddressCountryCodeEnum = typeof AddressCountryCodeEnum[keyof typeof AddressCountryCodeEnum]; /** - * + * * @export * @interface AddressData */ export interface AddressData { /** - * The address postal code **(required for shipment purchase)** + * The address postal code **(required for shipment purchase)** * @type {string} * @memberof AddressData */ 'postal_code'?: string | null; /** - * The address city. **(required for shipment purchase)** + * The address city. **(required for shipment purchase)** * @type {string} * @memberof AddressData */ @@ -434,7 +434,7 @@ export interface AddressData { */ 'state_tax_id'?: string | null; /** - * Attention to **(required for shipment purchase)** + * Attention to **(required for shipment purchase)** * @type {string} * @memberof AddressData */ @@ -482,7 +482,7 @@ export interface AddressData { */ 'street_number'?: string | null; /** - * The address line with street number
**(required for shipment purchase)** + * The address line with street number
**(required for shipment purchase)** * @type {string} * @memberof AddressData */ @@ -741,31 +741,31 @@ export const AddressDataCountryCodeEnum = { export type AddressDataCountryCodeEnum = typeof AddressDataCountryCodeEnum[keyof typeof AddressDataCountryCodeEnum]; /** - * + * * @export * @interface AddressList */ export interface AddressList { /** - * + * * @type {number} * @memberof AddressList */ 'count'?: number | null; /** - * + * * @type {string} * @memberof AddressList */ 'next'?: string | null; /** - * + * * @type {string} * @memberof AddressList */ 'previous'?: string | null; /** - * + * * @type {Array
} * @memberof AddressList */ @@ -791,7 +791,7 @@ export interface AddressValidation { 'meta'?: { [key: string]: any; } | null; } /** - * + * * @export * @interface BatchObject */ @@ -827,7 +827,7 @@ export const BatchObjectStatusEnum = { export type BatchObjectStatusEnum = typeof BatchObjectStatusEnum[keyof typeof BatchObjectStatusEnum]; /** - * + * * @export * @interface BatchOperation */ @@ -839,37 +839,37 @@ export interface BatchOperation { */ 'id'?: string; /** - * + * * @type {string} * @memberof BatchOperation */ 'status': BatchOperationStatusEnum; /** - * + * * @type {string} * @memberof BatchOperation */ 'resource_type': BatchOperationResourceTypeEnum; /** - * + * * @type {Array} * @memberof BatchOperation */ 'resources': Array; /** - * + * * @type {string} * @memberof BatchOperation */ 'created_at': string; /** - * + * * @type {string} * @memberof BatchOperation */ 'updated_at': string; /** - * + * * @type {boolean} * @memberof BatchOperation */ @@ -895,38 +895,38 @@ export const BatchOperationResourceTypeEnum = { export type BatchOperationResourceTypeEnum = typeof BatchOperationResourceTypeEnum[keyof typeof BatchOperationResourceTypeEnum]; /** - * + * * @export * @interface BatchOperations */ export interface BatchOperations { /** - * + * * @type {number} * @memberof BatchOperations */ 'count'?: number | null; /** - * + * * @type {string} * @memberof BatchOperations */ 'next'?: string | null; /** - * + * * @type {string} * @memberof BatchOperations */ 'previous'?: string | null; /** - * + * * @type {Array} * @memberof BatchOperations */ 'results': Array; } /** - * + * * @export * @interface BatchOrderData */ @@ -939,7 +939,7 @@ export interface BatchOrderData { 'orders': Array; } /** - * + * * @export * @interface BatchShipmentData */ @@ -952,7 +952,7 @@ export interface BatchShipmentData { 'shipments': Array; } /** - * + * * @export * @interface BatchTrackerData */ @@ -965,38 +965,38 @@ export interface BatchTrackerData { 'trackers': Array; } /** - * + * * @export * @interface CarrierList */ export interface CarrierList { /** - * + * * @type {number} * @memberof CarrierList */ 'count'?: number | null; /** - * + * * @type {string} * @memberof CarrierList */ 'next'?: string | null; /** - * + * * @type {string} * @memberof CarrierList */ 'previous'?: string | null; /** - * + * * @type {Array} * @memberof CarrierList */ 'results': Array; } /** - * + * * @export * @interface CarrierSettings */ @@ -1102,13 +1102,14 @@ export const CarrierSettingsCarrierNameEnum = { Ups: 'ups', Usps: 'usps', UspsInternational: 'usps_international', - Zoom2u: 'zoom2u' + Zoom2u: 'zoom2u', + NinjaVan: 'ninja_van', } as const; export type CarrierSettingsCarrierNameEnum = typeof CarrierSettingsCarrierNameEnum[keyof typeof CarrierSettingsCarrierNameEnum]; /** - * + * * @export * @interface Charge */ @@ -1133,7 +1134,7 @@ export interface Charge { 'currency'?: string | null; } /** - * + * * @export * @interface Commodity */ @@ -1211,7 +1212,7 @@ export interface Commodity { */ 'parent_id'?: string | null; /** - *
Commodity user references metadata. { \"part_number\": \"5218487281\", \"reference1\": \"# ref 1\", \"reference2\": \"# ref 2\", \"reference3\": \"# ref 3\", ... }
+ *
Commodity user references metadata. { \"part_number\": \"5218487281\", \"reference1\": \"# ref 1\", \"reference2\": \"# ref 2\", \"reference3\": \"# ref 3\", ... }
* @type {{ [key: string]: any; }} * @memberof Commodity */ @@ -1621,7 +1622,7 @@ export const CommodityOriginCountryEnum = { export type CommodityOriginCountryEnum = typeof CommodityOriginCountryEnum[keyof typeof CommodityOriginCountryEnum]; /** - * + * * @export * @interface CommodityData */ @@ -1693,7 +1694,7 @@ export interface CommodityData { */ 'parent_id'?: string | null; /** - *
Commodity user references metadata. { \"part_number\": \"5218487281\", \"reference1\": \"# ref 1\", \"reference2\": \"# ref 2\", \"reference3\": \"# ref 3\", ... }
+ *
Commodity user references metadata. { \"part_number\": \"5218487281\", \"reference1\": \"# ref 1\", \"reference2\": \"# ref 2\", \"reference3\": \"# ref 3\", ... }
* @type {{ [key: string]: any; }} * @memberof CommodityData */ @@ -2097,7 +2098,7 @@ export const CommodityDataOriginCountryEnum = { export type CommodityDataOriginCountryEnum = typeof CommodityDataOriginCountryEnum[keyof typeof CommodityDataOriginCountryEnum]; /** - * + * * @export * @interface Customs */ @@ -2115,25 +2116,25 @@ export interface Customs { */ 'commodities'?: Array; /** - * + * * @type {CustomsDuty} * @memberof Customs */ 'duty'?: CustomsDuty | null; /** - * + * * @type {CustomsDutyBillingAddress} * @memberof Customs */ 'duty_billing_address'?: CustomsDutyBillingAddress | null; /** - * + * * @type {string} * @memberof Customs */ 'content_type'?: CustomsContentTypeEnum | null; /** - * + * * @type {string} * @memberof Customs */ @@ -2151,7 +2152,7 @@ export interface Customs { */ 'invoice'?: string | null; /** - * The invoice date.
Date Format: `YYYY-MM-DD` + * The invoice date.
Date Format: `YYYY-MM-DD` * @type {string} * @memberof Customs */ @@ -2169,13 +2170,13 @@ export interface Customs { */ 'certify'?: boolean | null; /** - * + * * @type {string} * @memberof Customs */ 'signer'?: string | null; /** - *
Customs identification options. { \"aes\": \"5218487281\", \"eel_pfc\": \"5218487281\", \"license_number\": \"5218487281\", \"certificate_number\": \"5218487281\", \"nip_number\": \"5218487281\", \"eori_number\": \"5218487281\", \"vat_registration_number\": \"5218487281\", }
+ *
Customs identification options. { \"aes\": \"5218487281\", \"eel_pfc\": \"5218487281\", \"license_number\": \"5218487281\", \"certificate_number\": \"5218487281\", \"nip_number\": \"5218487281\", \"eori_number\": \"5218487281\", \"vat_registration_number\": \"5218487281\", }
* @type {{ [key: string]: any; }} * @memberof Customs */ @@ -2220,7 +2221,7 @@ export const CustomsIncotermEnum = { export type CustomsIncotermEnum = typeof CustomsIncotermEnum[keyof typeof CustomsIncotermEnum]; /** - * + * * @export * @interface CustomsData */ @@ -2232,25 +2233,25 @@ export interface CustomsData { */ 'commodities': Array; /** - * + * * @type {CustomsDuty} * @memberof CustomsData */ 'duty'?: CustomsDuty | null; /** - * + * * @type {CustomsDataDutyBillingAddress} * @memberof CustomsData */ 'duty_billing_address'?: CustomsDataDutyBillingAddress | null; /** - * + * * @type {string} * @memberof CustomsData */ 'content_type'?: CustomsDataContentTypeEnum | null; /** - * + * * @type {string} * @memberof CustomsData */ @@ -2268,7 +2269,7 @@ export interface CustomsData { */ 'invoice'?: string | null; /** - * The invoice date.
Date Format: `YYYY-MM-DD` + * The invoice date.
Date Format: `YYYY-MM-DD` * @type {string} * @memberof CustomsData */ @@ -2286,13 +2287,13 @@ export interface CustomsData { */ 'certify'?: boolean | null; /** - * + * * @type {string} * @memberof CustomsData */ 'signer'?: string | null; /** - *
Customs identification options. { \"aes\": \"5218487281\", \"eel_pfc\": \"5218487281\", \"license_number\": \"5218487281\", \"certificate_number\": \"5218487281\", \"nip_number\": \"5218487281\", \"eori_number\": \"5218487281\", \"vat_registration_number\": \"5218487281\", }
+ *
Customs identification options. { \"aes\": \"5218487281\", \"eel_pfc\": \"5218487281\", \"license_number\": \"5218487281\", \"certificate_number\": \"5218487281\", \"nip_number\": \"5218487281\", \"eori_number\": \"5218487281\", \"vat_registration_number\": \"5218487281\", }
* @type {{ [key: string]: any; }} * @memberof CustomsData */ @@ -2337,13 +2338,13 @@ export type CustomsDataIncotermEnum = typeof CustomsDataIncotermEnum[keyof typeo */ export interface CustomsDataDutyBillingAddress { /** - * The address postal code **(required for shipment purchase)** + * The address postal code **(required for shipment purchase)** * @type {string} * @memberof CustomsDataDutyBillingAddress */ 'postal_code'?: string | null; /** - * The address city. **(required for shipment purchase)** + * The address city. **(required for shipment purchase)** * @type {string} * @memberof CustomsDataDutyBillingAddress */ @@ -2361,7 +2362,7 @@ export interface CustomsDataDutyBillingAddress { */ 'state_tax_id'?: string | null; /** - * Attention to **(required for shipment purchase)** + * Attention to **(required for shipment purchase)** * @type {string} * @memberof CustomsDataDutyBillingAddress */ @@ -2409,7 +2410,7 @@ export interface CustomsDataDutyBillingAddress { */ 'street_number'?: string | null; /** - * The address line with street number
**(required for shipment purchase)** + * The address line with street number
**(required for shipment purchase)** * @type {string} * @memberof CustomsDataDutyBillingAddress */ @@ -2668,7 +2669,7 @@ export const CustomsDataDutyBillingAddressCountryCodeEnum = { export type CustomsDataDutyBillingAddressCountryCodeEnum = typeof CustomsDataDutyBillingAddressCountryCodeEnum[keyof typeof CustomsDataDutyBillingAddressCountryCodeEnum]; /** - * The payment details.
**Note that this is required for a Dutiable parcel shipped internationally.** + * The payment details.
**Note that this is required for a Dutiable parcel shipped internationally.** * @export * @interface CustomsDuty */ @@ -2871,13 +2872,13 @@ export interface CustomsDutyBillingAddress { */ 'id'?: string; /** - * The address postal code **(required for shipment purchase)** + * The address postal code **(required for shipment purchase)** * @type {string} * @memberof CustomsDutyBillingAddress */ 'postal_code'?: string | null; /** - * The address city. **(required for shipment purchase)** + * The address city. **(required for shipment purchase)** * @type {string} * @memberof CustomsDutyBillingAddress */ @@ -2895,7 +2896,7 @@ export interface CustomsDutyBillingAddress { */ 'state_tax_id'?: string | null; /** - * Attention to **(required for shipment purchase)** + * Attention to **(required for shipment purchase)** * @type {string} * @memberof CustomsDutyBillingAddress */ @@ -2943,7 +2944,7 @@ export interface CustomsDutyBillingAddress { */ 'street_number'?: string | null; /** - * The address line with street number
**(required for shipment purchase)** + * The address line with street number
**(required for shipment purchase)** * @type {string} * @memberof CustomsDutyBillingAddress */ @@ -2967,7 +2968,7 @@ export interface CustomsDutyBillingAddress { */ 'object_type'?: string; /** - * + * * @type {AddressValidation} * @memberof CustomsDutyBillingAddress */ @@ -3214,7 +3215,7 @@ export const CustomsDutyBillingAddressCountryCodeEnum = { export type CustomsDutyBillingAddressCountryCodeEnum = typeof CustomsDutyBillingAddressCountryCodeEnum[keyof typeof CustomsDutyBillingAddressCountryCodeEnum]; /** - * + * * @export * @interface DocumentData */ @@ -3251,7 +3252,7 @@ export interface DocumentData { 'data'?: { [key: string]: any; }; } /** - * + * * @export * @interface DocumentDetails */ @@ -3270,7 +3271,7 @@ export interface DocumentDetails { 'file_name'?: string; } /** - * + * * @export * @interface DocumentFileData */ @@ -3294,14 +3295,14 @@ export interface DocumentFileData { */ 'doc_format'?: string | null; /** - * Shipment document type values:
`certificate_of_origin` `commercial_invoice` `pro_forma_invoice` `packing_list` `other` For carrier specific packaging types, please consult the reference. + * Shipment document type values:
`certificate_of_origin` `commercial_invoice` `pro_forma_invoice` `packing_list` `other` For carrier specific packaging types, please consult the reference. * @type {string} * @memberof DocumentFileData */ 'doc_type'?: string | null; } /** - * + * * @export * @interface DocumentTemplate */ @@ -3371,7 +3372,7 @@ export const DocumentTemplateRelatedObjectEnum = { export type DocumentTemplateRelatedObjectEnum = typeof DocumentTemplateRelatedObjectEnum[keyof typeof DocumentTemplateRelatedObjectEnum]; /** - * + * * @export * @interface DocumentTemplateData */ @@ -3429,38 +3430,38 @@ export const DocumentTemplateDataRelatedObjectEnum = { export type DocumentTemplateDataRelatedObjectEnum = typeof DocumentTemplateDataRelatedObjectEnum[keyof typeof DocumentTemplateDataRelatedObjectEnum]; /** - * + * * @export * @interface DocumentTemplateList */ export interface DocumentTemplateList { /** - * + * * @type {number} * @memberof DocumentTemplateList */ 'count'?: number | null; /** - * + * * @type {string} * @memberof DocumentTemplateList */ 'next'?: string | null; /** - * + * * @type {string} * @memberof DocumentTemplateList */ 'previous'?: string | null; /** - * + * * @type {Array} * @memberof DocumentTemplateList */ 'results': Array; } /** - * + * * @export * @interface DocumentUploadData */ @@ -3485,7 +3486,7 @@ export interface DocumentUploadData { 'reference'?: string | null; } /** - * + * * @export * @interface DocumentUploadRecord */ @@ -3534,38 +3535,38 @@ export interface DocumentUploadRecord { 'messages'?: Array; } /** - * + * * @export * @interface DocumentUploadRecords */ export interface DocumentUploadRecords { /** - * + * * @type {number} * @memberof DocumentUploadRecords */ 'count'?: number | null; /** - * + * * @type {string} * @memberof DocumentUploadRecords */ 'next'?: string | null; /** - * + * * @type {string} * @memberof DocumentUploadRecords */ 'previous'?: string | null; /** - * + * * @type {Array} * @memberof DocumentUploadRecords */ 'results': Array; } /** - * + * * @export * @interface Documents */ @@ -3584,7 +3585,7 @@ export interface Documents { 'invoice'?: string | null; } /** - * + * * @export * @interface Duty */ @@ -3775,7 +3776,7 @@ export const DutyCurrencyEnum = { export type DutyCurrencyEnum = typeof DutyCurrencyEnum[keyof typeof DutyCurrencyEnum]; /** - * + * * @export * @interface ErrorMessages */ @@ -3788,7 +3789,7 @@ export interface ErrorMessages { 'messages'?: Array; } /** - * + * * @export * @interface ErrorResponse */ @@ -3801,7 +3802,7 @@ export interface ErrorResponse { 'errors'?: Array; } /** - * + * * @export * @interface GeneratedDocument */ @@ -3832,7 +3833,7 @@ export interface GeneratedDocument { 'doc_file': string; } /** - * + * * @export * @interface Images */ @@ -3851,7 +3852,7 @@ export interface Images { 'signature_image'?: string | null; } /** - * + * * @export * @interface LineItem */ @@ -3929,7 +3930,7 @@ export interface LineItem { */ 'parent_id'?: string | null; /** - *
Commodity user references metadata. { \"part_number\": \"5218487281\", \"reference1\": \"# ref 1\", \"reference2\": \"# ref 2\", \"reference3\": \"# ref 3\", ... }
+ *
Commodity user references metadata. { \"part_number\": \"5218487281\", \"reference1\": \"# ref 1\", \"reference2\": \"# ref 2\", \"reference3\": \"# ref 3\", ... }
* @type {{ [key: string]: any; }} * @memberof LineItem */ @@ -3941,7 +3942,7 @@ export interface LineItem { */ 'object_type'?: string; /** - * + * * @type {number} * @memberof LineItem */ @@ -4345,7 +4346,7 @@ export const LineItemOriginCountryEnum = { export type LineItemOriginCountryEnum = typeof LineItemOriginCountryEnum[keyof typeof LineItemOriginCountryEnum]; /** - * + * * @export * @interface Manifest */ @@ -4393,7 +4394,7 @@ export interface Manifest { */ 'address': AddressData; /** - *
The options available for the manifest. { \"shipments\": [ { \"tracking_number\": \"123456789\", ... \"meta\": {...} } ] }
+ *
The options available for the manifest. { \"shipments\": [ { \"tracking_number\": \"123456789\", ... \"meta\": {...} } ] }
* @type {{ [key: string]: any; }} * @memberof Manifest */ @@ -4405,7 +4406,7 @@ export interface Manifest { */ 'reference'?: string | null; /** - * The list of shipment identifiers you want to add to your manifest.
shipment_identifier is often a tracking_number or shipment_id returned when you purchase a label. + * The list of shipment identifiers you want to add to your manifest.
shipment_identifier is often a tracking_number or shipment_id returned when you purchase a label. * @type {Array} * @memberof Manifest */ @@ -4430,7 +4431,7 @@ export interface Manifest { 'messages'?: Array; } /** - * + * * @export * @interface ManifestData */ @@ -4448,7 +4449,7 @@ export interface ManifestData { */ 'address': AddressData; /** - *
The options available for the manifest. { \"shipments\": [ { \"tracking_number\": \"123456789\", ... \"meta\": {...} } ] }
+ *
The options available for the manifest. { \"shipments\": [ { \"tracking_number\": \"123456789\", ... \"meta\": {...} } ] }
* @type {{ [key: string]: any; }} * @memberof ManifestData */ @@ -4467,7 +4468,7 @@ export interface ManifestData { 'shipment_ids': Array; } /** - * + * * @export * @interface ManifestDetails */ @@ -4497,7 +4498,7 @@ export interface ManifestDetails { */ 'carrier_id': string; /** - * + * * @type {ManifestDetailsDoc} * @memberof ManifestDetails */ @@ -4529,7 +4530,7 @@ export interface ManifestDetailsDoc { 'manifest'?: string | null; } /** - * + * * @export * @interface ManifestDocument */ @@ -4542,38 +4543,38 @@ export interface ManifestDocument { 'manifest'?: string | null; } /** - * + * * @export * @interface ManifestList */ export interface ManifestList { /** - * + * * @type {number} * @memberof ManifestList */ 'count'?: number | null; /** - * + * * @type {string} * @memberof ManifestList */ 'next'?: string | null; /** - * + * * @type {string} * @memberof ManifestList */ 'previous'?: string | null; /** - * + * * @type {Array} * @memberof ManifestList */ 'results': Array; } /** - * + * * @export * @interface ManifestRequest */ @@ -4591,7 +4592,7 @@ export interface ManifestRequest { */ 'address': AddressData; /** - *
The options available for the manifest. { \"shipments\": [ { \"tracking_number\": \"123456789\", ... \"meta\": {...} } ] }
+ *
The options available for the manifest. { \"shipments\": [ { \"tracking_number\": \"123456789\", ... \"meta\": {...} } ] }
* @type {{ [key: string]: any; }} * @memberof ManifestRequest */ @@ -4603,14 +4604,14 @@ export interface ManifestRequest { */ 'reference'?: string | null; /** - * The list of shipment identifiers you want to add to your manifest.
shipment_identifier is often a tracking_number or shipment_id returned when you purchase a label. + * The list of shipment identifiers you want to add to your manifest.
shipment_identifier is often a tracking_number or shipment_id returned when you purchase a label. * @type {Array} * @memberof ManifestRequest */ 'shipment_identifiers': Array; } /** - * + * * @export * @interface ManifestResponse */ @@ -4629,7 +4630,7 @@ export interface ManifestResponse { 'manifest'?: ManifestDetails; } /** - * + * * @export * @interface Message */ @@ -4666,7 +4667,7 @@ export interface Message { 'carrier_id'?: string; } /** - * + * * @export * @interface Operation */ @@ -4685,7 +4686,7 @@ export interface Operation { 'success': boolean; } /** - * + * * @export * @interface OperationConfirmation */ @@ -4716,7 +4717,7 @@ export interface OperationConfirmation { 'carrier_id': string; } /** - * + * * @export * @interface OperationResponse */ @@ -4735,7 +4736,7 @@ export interface OperationResponse { 'confirmation'?: OperationConfirmation; } /** - * + * * @export * @interface Order */ @@ -4783,13 +4784,13 @@ export interface Order { */ 'shipping_to': Address; /** - * + * * @type {OrderShippingFrom} * @memberof Order */ 'shipping_from'?: OrderShippingFrom | null; /** - * + * * @type {OrderBillingAddress} * @memberof Order */ @@ -4801,7 +4802,7 @@ export interface Order { */ 'line_items': Array; /** - *
The options available for the order shipments. { \"currency\": \"USD\", \"paid_by\": \"third_party\", \"payment_account_number\": \"123456789\", \"duty_paid_by\": \"third_party\", \"duty_account_number\": \"123456789\", \"invoice_number\": \"123456789\", \"invoice_date\": \"2020-01-01\", \"single_item_per_parcel\": true, \"carrier_ids\": [\"canadapost-test\"], \"preferred_service\": \"fedex_express_saver\", }
+ *
The options available for the order shipments. { \"currency\": \"USD\", \"paid_by\": \"third_party\", \"payment_account_number\": \"123456789\", \"duty_paid_by\": \"third_party\", \"duty_account_number\": \"123456789\", \"invoice_number\": \"123456789\", \"invoice_date\": \"2020-01-01\", \"single_item_per_parcel\": true, \"carrier_ids\": [\"canadapost-test\"], \"preferred_service\": \"fedex_express_saver\", }
* @type {{ [key: string]: any; }} * @memberof Order */ @@ -4831,7 +4832,7 @@ export interface Order { */ 'test_mode': boolean; /** - * The shipment creation datetime.
Date Format: `YYYY-MM-DD HH:MM:SS.mmmmmmz` + * The shipment creation datetime.
Date Format: `YYYY-MM-DD HH:MM:SS.mmmmmmz` * @type {string} * @memberof Order */ @@ -4855,13 +4856,13 @@ export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnu */ export interface OrderBillingAddress { /** - * The address postal code **(required for shipment purchase)** + * The address postal code **(required for shipment purchase)** * @type {string} * @memberof OrderBillingAddress */ 'postal_code'?: string | null; /** - * The address city. **(required for shipment purchase)** + * The address city. **(required for shipment purchase)** * @type {string} * @memberof OrderBillingAddress */ @@ -4879,7 +4880,7 @@ export interface OrderBillingAddress { */ 'state_tax_id'?: string | null; /** - * Attention to **(required for shipment purchase)** + * Attention to **(required for shipment purchase)** * @type {string} * @memberof OrderBillingAddress */ @@ -4927,7 +4928,7 @@ export interface OrderBillingAddress { */ 'street_number'?: string | null; /** - * The address line with street number
**(required for shipment purchase)** + * The address line with street number
**(required for shipment purchase)** * @type {string} * @memberof OrderBillingAddress */ @@ -5186,7 +5187,7 @@ export const OrderBillingAddressCountryCodeEnum = { export type OrderBillingAddressCountryCodeEnum = typeof OrderBillingAddressCountryCodeEnum[keyof typeof OrderBillingAddressCountryCodeEnum]; /** - * + * * @export * @interface OrderData */ @@ -5204,7 +5205,7 @@ export interface OrderData { */ 'order_date'?: string | null; /** - * The order\'s source.
e.g. API, POS, ERP, Shopify, Woocommerce, etc. + * The order\'s source.
e.g. API, POS, ERP, Shopify, Woocommerce, etc. * @type {string} * @memberof OrderData */ @@ -5216,13 +5217,13 @@ export interface OrderData { */ 'shipping_to': AddressData; /** - * + * * @type {OrderDataShippingFrom} * @memberof OrderData */ 'shipping_from'?: OrderDataShippingFrom | null; /** - * + * * @type {OrderBillingAddress} * @memberof OrderData */ @@ -5234,7 +5235,7 @@ export interface OrderData { */ 'line_items': Array; /** - *
The options available for the order shipments. { \"currency\": \"USD\", \"paid_by\": \"third_party\", \"payment_account_number\": \"123456789\", \"duty_paid_by\": \"third_party\", \"duty_account_number\": \"123456789\", \"invoice_number\": \"123456789\", \"invoice_date\": \"2020-01-01\", \"single_item_per_parcel\": true, \"carrier_ids\": [\"canadapost-test\"], \"preferred_service\": \"fedex_express_saver\", }
+ *
The options available for the order shipments. { \"currency\": \"USD\", \"paid_by\": \"third_party\", \"payment_account_number\": \"123456789\", \"duty_paid_by\": \"third_party\", \"duty_account_number\": \"123456789\", \"invoice_number\": \"123456789\", \"invoice_date\": \"2020-01-01\", \"single_item_per_parcel\": true, \"carrier_ids\": [\"canadapost-test\"], \"preferred_service\": \"fedex_express_saver\", }
* @type {{ [key: string]: any; }} * @memberof OrderData */ @@ -5253,13 +5254,13 @@ export interface OrderData { */ export interface OrderDataShippingFrom { /** - * The address postal code **(required for shipment purchase)** + * The address postal code **(required for shipment purchase)** * @type {string} * @memberof OrderDataShippingFrom */ 'postal_code'?: string | null; /** - * The address city. **(required for shipment purchase)** + * The address city. **(required for shipment purchase)** * @type {string} * @memberof OrderDataShippingFrom */ @@ -5277,7 +5278,7 @@ export interface OrderDataShippingFrom { */ 'state_tax_id'?: string | null; /** - * Attention to **(required for shipment purchase)** + * Attention to **(required for shipment purchase)** * @type {string} * @memberof OrderDataShippingFrom */ @@ -5325,7 +5326,7 @@ export interface OrderDataShippingFrom { */ 'street_number'?: string | null; /** - * The address line with street number
**(required for shipment purchase)** + * The address line with street number
**(required for shipment purchase)** * @type {string} * @memberof OrderDataShippingFrom */ @@ -5584,31 +5585,31 @@ export const OrderDataShippingFromCountryCodeEnum = { export type OrderDataShippingFromCountryCodeEnum = typeof OrderDataShippingFromCountryCodeEnum[keyof typeof OrderDataShippingFromCountryCodeEnum]; /** - * + * * @export * @interface OrderList */ export interface OrderList { /** - * + * * @type {number} * @memberof OrderList */ 'count'?: number | null; /** - * + * * @type {string} * @memberof OrderList */ 'next'?: string | null; /** - * + * * @type {string} * @memberof OrderList */ 'previous'?: string | null; /** - * + * * @type {Array} * @memberof OrderList */ @@ -5627,13 +5628,13 @@ export interface OrderShippingFrom { */ 'id'?: string; /** - * The address postal code **(required for shipment purchase)** + * The address postal code **(required for shipment purchase)** * @type {string} * @memberof OrderShippingFrom */ 'postal_code'?: string | null; /** - * The address city. **(required for shipment purchase)** + * The address city. **(required for shipment purchase)** * @type {string} * @memberof OrderShippingFrom */ @@ -5651,7 +5652,7 @@ export interface OrderShippingFrom { */ 'state_tax_id'?: string | null; /** - * Attention to **(required for shipment purchase)** + * Attention to **(required for shipment purchase)** * @type {string} * @memberof OrderShippingFrom */ @@ -5699,7 +5700,7 @@ export interface OrderShippingFrom { */ 'street_number'?: string | null; /** - * The address line with street number
**(required for shipment purchase)** + * The address line with street number
**(required for shipment purchase)** * @type {string} * @memberof OrderShippingFrom */ @@ -5723,7 +5724,7 @@ export interface OrderShippingFrom { */ 'object_type'?: string; /** - * + * * @type {AddressValidation} * @memberof OrderShippingFrom */ @@ -5970,13 +5971,13 @@ export const OrderShippingFromCountryCodeEnum = { export type OrderShippingFromCountryCodeEnum = typeof OrderShippingFromCountryCodeEnum[keyof typeof OrderShippingFromCountryCodeEnum]; /** - * + * * @export * @interface OrderUpdateData */ export interface OrderUpdateData { /** - *
The options available for the order shipments. { \"currency\": \"USD\", \"paid_by\": \"third_party\", \"payment_account_number\": \"123456789\", \"duty_paid_by\": \"recipient\", \"duty_account_number\": \"123456789\", \"invoice_number\": \"123456789\", \"invoice_date\": \"2020-01-01\", \"single_item_per_parcel\": true, \"carrier_ids\": [\"canadapost-test\"], }
+ *
The options available for the order shipments. { \"currency\": \"USD\", \"paid_by\": \"third_party\", \"payment_account_number\": \"123456789\", \"duty_paid_by\": \"recipient\", \"duty_account_number\": \"123456789\", \"invoice_number\": \"123456789\", \"invoice_date\": \"2020-01-01\", \"single_item_per_parcel\": true, \"carrier_ids\": [\"canadapost-test\"], }
* @type {{ [key: string]: any; }} * @memberof OrderUpdateData */ @@ -5989,7 +5990,7 @@ export interface OrderUpdateData { 'metadata'?: { [key: string]: any; }; } /** - * + * * @export * @interface Parcel */ @@ -6025,13 +6026,13 @@ export interface Parcel { */ 'length'?: number | null; /** - * The parcel\'s packaging type.
**Note that the packaging is optional when using a package preset.**
values:
`envelope` `pak` `tube` `pallet` `small_box` `medium_box` `your_packaging`
For carrier specific packaging types, please consult the reference. + * The parcel\'s packaging type.
**Note that the packaging is optional when using a package preset.**
values:
`envelope` `pak` `tube` `pallet` `small_box` `medium_box` `your_packaging`
For carrier specific packaging types, please consult the reference. * @type {string} * @memberof Parcel */ 'packaging_type'?: string | null; /** - * The parcel\'s package preset.
For carrier specific package presets, please consult the reference. + * The parcel\'s package preset.
For carrier specific package presets, please consult the reference. * @type {string} * @memberof Parcel */ @@ -6073,7 +6074,7 @@ export interface Parcel { */ 'items'?: Array; /** - * The parcel reference number.
(can be used as tracking number for custom carriers) + * The parcel reference number.
(can be used as tracking number for custom carriers) * @type {string} * @memberof Parcel */ @@ -6085,7 +6086,7 @@ export interface Parcel { */ 'freight_class'?: string | null; /** - *
Parcel specific options. { \"insurance\": \"100.00\", \"insured_by\": \"carrier\", }
+ *
Parcel specific options. { \"insurance\": \"100.00\", \"insured_by\": \"carrier\", }
* @type {{ [key: string]: any; }} * @memberof Parcel */ @@ -6115,7 +6116,7 @@ export const ParcelDimensionUnitEnum = { export type ParcelDimensionUnitEnum = typeof ParcelDimensionUnitEnum[keyof typeof ParcelDimensionUnitEnum]; /** - * + * * @export * @interface ParcelData */ @@ -6145,13 +6146,13 @@ export interface ParcelData { */ 'length'?: number | null; /** - * The parcel\'s packaging type.
**Note that the packaging is optional when using a package preset.**
values:
`envelope` `pak` `tube` `pallet` `small_box` `medium_box` `your_packaging`
For carrier specific packaging types, please consult the reference. + * The parcel\'s packaging type.
**Note that the packaging is optional when using a package preset.**
values:
`envelope` `pak` `tube` `pallet` `small_box` `medium_box` `your_packaging`
For carrier specific packaging types, please consult the reference. * @type {string} * @memberof ParcelData */ 'packaging_type'?: string | null; /** - * The parcel\'s package preset.
For carrier specific package presets, please consult the reference. + * The parcel\'s package preset.
For carrier specific package presets, please consult the reference. * @type {string} * @memberof ParcelData */ @@ -6193,7 +6194,7 @@ export interface ParcelData { */ 'items'?: Array; /** - * The parcel reference number.
(can be used as tracking number for custom carriers) + * The parcel reference number.
(can be used as tracking number for custom carriers) * @type {string} * @memberof ParcelData */ @@ -6205,7 +6206,7 @@ export interface ParcelData { */ 'freight_class'?: string | null; /** - *
Parcel specific options. { \"insurance\": \"100.00\", \"insured_by\": \"carrier\", }
+ *
Parcel specific options. { \"insurance\": \"100.00\", \"insured_by\": \"carrier\", }
* @type {{ [key: string]: any; }} * @memberof ParcelData */ @@ -6229,50 +6230,50 @@ export const ParcelDataDimensionUnitEnum = { export type ParcelDataDimensionUnitEnum = typeof ParcelDataDimensionUnitEnum[keyof typeof ParcelDataDimensionUnitEnum]; /** - * + * * @export * @interface ParcelList */ export interface ParcelList { /** - * + * * @type {number} * @memberof ParcelList */ 'count'?: number | null; /** - * + * * @type {string} * @memberof ParcelList */ 'next'?: string | null; /** - * + * * @type {string} * @memberof ParcelList */ 'previous'?: string | null; /** - * + * * @type {Array} * @memberof ParcelList */ 'results': Array; } /** - * + * * @export * @interface PatchedAddressData */ export interface PatchedAddressData { /** - * The address postal code **(required for shipment purchase)** + * The address postal code **(required for shipment purchase)** * @type {string} * @memberof PatchedAddressData */ 'postal_code'?: string | null; /** - * The address city. **(required for shipment purchase)** + * The address city. **(required for shipment purchase)** * @type {string} * @memberof PatchedAddressData */ @@ -6290,7 +6291,7 @@ export interface PatchedAddressData { */ 'state_tax_id'?: string | null; /** - * Attention to **(required for shipment purchase)** + * Attention to **(required for shipment purchase)** * @type {string} * @memberof PatchedAddressData */ @@ -6338,7 +6339,7 @@ export interface PatchedAddressData { */ 'street_number'?: string | null; /** - * The address line with street number
**(required for shipment purchase)** + * The address line with street number
**(required for shipment purchase)** * @type {string} * @memberof PatchedAddressData */ @@ -6597,7 +6598,7 @@ export const PatchedAddressDataCountryCodeEnum = { export type PatchedAddressDataCountryCodeEnum = typeof PatchedAddressDataCountryCodeEnum[keyof typeof PatchedAddressDataCountryCodeEnum]; /** - * + * * @export * @interface PatchedDocumentTemplateData */ @@ -6655,7 +6656,7 @@ export const PatchedDocumentTemplateDataRelatedObjectEnum = { export type PatchedDocumentTemplateDataRelatedObjectEnum = typeof PatchedDocumentTemplateDataRelatedObjectEnum[keyof typeof PatchedDocumentTemplateDataRelatedObjectEnum]; /** - * + * * @export * @interface PatchedParcelData */ @@ -6685,13 +6686,13 @@ export interface PatchedParcelData { */ 'length'?: number | null; /** - * The parcel\'s packaging type.
**Note that the packaging is optional when using a package preset.**
values:
`envelope` `pak` `tube` `pallet` `small_box` `medium_box` `your_packaging`
For carrier specific packaging types, please consult the reference. + * The parcel\'s packaging type.
**Note that the packaging is optional when using a package preset.**
values:
`envelope` `pak` `tube` `pallet` `small_box` `medium_box` `your_packaging`
For carrier specific packaging types, please consult the reference. * @type {string} * @memberof PatchedParcelData */ 'packaging_type'?: string | null; /** - * The parcel\'s package preset.
For carrier specific package presets, please consult the reference. + * The parcel\'s package preset.
For carrier specific package presets, please consult the reference. * @type {string} * @memberof PatchedParcelData */ @@ -6733,7 +6734,7 @@ export interface PatchedParcelData { */ 'items'?: Array; /** - * The parcel reference number.
(can be used as tracking number for custom carriers) + * The parcel reference number.
(can be used as tracking number for custom carriers) * @type {string} * @memberof PatchedParcelData */ @@ -6745,7 +6746,7 @@ export interface PatchedParcelData { */ 'freight_class'?: string | null; /** - *
Parcel specific options. { \"insurance\": \"100.00\", \"insured_by\": \"carrier\", }
+ *
Parcel specific options. { \"insurance\": \"100.00\", \"insured_by\": \"carrier\", }
* @type {{ [key: string]: any; }} * @memberof PatchedParcelData */ @@ -6769,7 +6770,7 @@ export const PatchedParcelDataDimensionUnitEnum = { export type PatchedParcelDataDimensionUnitEnum = typeof PatchedParcelDataDimensionUnitEnum[keyof typeof PatchedParcelDataDimensionUnitEnum]; /** - * + * * @export * @interface PatchedWebhookData */ @@ -6824,7 +6825,7 @@ export const PatchedWebhookDataEnabledEventsEnum = { export type PatchedWebhookDataEnabledEventsEnum = typeof PatchedWebhookDataEnabledEventsEnum[keyof typeof PatchedWebhookDataEnabledEventsEnum]; /** - * + * * @export * @interface Payment */ @@ -7007,7 +7008,7 @@ export const PaymentCurrencyEnum = { export type PaymentCurrencyEnum = typeof PaymentCurrencyEnum[keyof typeof PaymentCurrencyEnum]; /** - * + * * @export * @interface Pickup */ @@ -7049,7 +7050,7 @@ export interface Pickup { */ 'pickup_date'?: string | null; /** - * + * * @type {PickupPickupCharge} * @memberof Pickup */ @@ -7091,13 +7092,13 @@ export interface Pickup { */ 'parcels': Array; /** - * The pickup instruction.
eg: Handle with care. + * The pickup instruction.
eg: Handle with care. * @type {string} * @memberof Pickup */ 'instruction'?: string | null; /** - * The package(s) location.
eg: Behind the entrance door. + * The package(s) location.
eg: Behind the entrance door. * @type {string} * @memberof Pickup */ @@ -7116,7 +7117,7 @@ export interface Pickup { 'test_mode': boolean; } /** - * + * * @export * @interface PickupCancelData */ @@ -7129,7 +7130,7 @@ export interface PickupCancelData { 'reason'?: string; } /** - * + * * @export * @interface PickupCancelRequest */ @@ -7147,7 +7148,7 @@ export interface PickupCancelRequest { */ 'address'?: AddressData; /** - * The pickup date.
Date Format: `YYYY-MM-DD` + * The pickup date.
Date Format: `YYYY-MM-DD` * @type {string} * @memberof PickupCancelRequest */ @@ -7160,13 +7161,13 @@ export interface PickupCancelRequest { 'reason'?: string; } /** - * + * * @export * @interface PickupData */ export interface PickupData { /** - * The expected pickup date.
Date Format: `YYYY-MM-DD` + * The expected pickup date.
Date Format: `YYYY-MM-DD` * @type {string} * @memberof PickupData */ @@ -7178,25 +7179,25 @@ export interface PickupData { */ 'address'?: AddressData; /** - * The ready time for pickup.
Time Format: `HH:MM` + * The ready time for pickup.
Time Format: `HH:MM` * @type {string} * @memberof PickupData */ 'ready_time': string; /** - * The closing or late time of the pickup.
Time Format: `HH:MM` + * The closing or late time of the pickup.
Time Format: `HH:MM` * @type {string} * @memberof PickupData */ 'closing_time': string; /** - * The pickup instruction.
eg: Handle with care. + * The pickup instruction.
eg: Handle with care. * @type {string} * @memberof PickupData */ 'instruction'?: string | null; /** - * The package(s) location.
eg: Behind the entrance door. + * The package(s) location.
eg: Behind the entrance door. * @type {string} * @memberof PickupData */ @@ -7221,31 +7222,31 @@ export interface PickupData { 'metadata'?: { [key: string]: any; }; } /** - * + * * @export * @interface PickupList */ export interface PickupList { /** - * + * * @type {number} * @memberof PickupList */ 'count'?: number | null; /** - * + * * @type {string} * @memberof PickupList */ 'next'?: string | null; /** - * + * * @type {string} * @memberof PickupList */ 'previous'?: string | null; /** - * + * * @type {Array} * @memberof PickupList */ @@ -7277,13 +7278,13 @@ export interface PickupPickupCharge { 'currency'?: string | null; } /** - * + * * @export * @interface PickupRequest */ export interface PickupRequest { /** - * The expected pickup date.
Date Format: `YYYY-MM-DD` + * The expected pickup date.
Date Format: `YYYY-MM-DD` * @type {string} * @memberof PickupRequest */ @@ -7301,25 +7302,25 @@ export interface PickupRequest { */ 'parcels': Array; /** - * The ready time for pickup.
Time Format: `HH:MM` + * The ready time for pickup.
Time Format: `HH:MM` * @type {string} * @memberof PickupRequest */ 'ready_time': string; /** - * The closing or late time of the pickup.
Time Format: `HH:MM` + * The closing or late time of the pickup.
Time Format: `HH:MM` * @type {string} * @memberof PickupRequest */ 'closing_time': string; /** - * The pickup instruction.
eg: Handle with care. + * The pickup instruction.
eg: Handle with care. * @type {string} * @memberof PickupRequest */ 'instruction'?: string | null; /** - * The package(s) location.
eg: Behind the entrance door. + * The package(s) location.
eg: Behind the entrance door. * @type {string} * @memberof PickupRequest */ @@ -7332,7 +7333,7 @@ export interface PickupRequest { 'options'?: { [key: string]: any; } | null; } /** - * + * * @export * @interface PickupResponse */ @@ -7351,13 +7352,13 @@ export interface PickupResponse { 'pickup'?: Pickup; } /** - * + * * @export * @interface PickupUpdateData */ export interface PickupUpdateData { /** - * The expected pickup date.
Date Format: YYYY-MM-DD + * The expected pickup date.
Date Format: YYYY-MM-DD * @type {string} * @memberof PickupUpdateData */ @@ -7381,13 +7382,13 @@ export interface PickupUpdateData { */ 'closing_time'?: string | null; /** - * The pickup instruction.
eg: Handle with care. + * The pickup instruction.
eg: Handle with care. * @type {string} * @memberof PickupUpdateData */ 'instruction'?: string | null; /** - * The package(s) location.
eg: Behind the entrance door. + * The package(s) location.
eg: Behind the entrance door. * @type {string} * @memberof PickupUpdateData */ @@ -7418,13 +7419,13 @@ export interface PickupUpdateData { 'confirmation_number': string; } /** - * + * * @export * @interface PickupUpdateRequest */ export interface PickupUpdateRequest { /** - * The expected pickup date.
Date Format: `YYYY-MM-DD` + * The expected pickup date.
Date Format: `YYYY-MM-DD` * @type {string} * @memberof PickupUpdateRequest */ @@ -7448,25 +7449,25 @@ export interface PickupUpdateRequest { */ 'confirmation_number': string; /** - * The ready time for pickup. Time Format: `HH:MM` + * The ready time for pickup. Time Format: `HH:MM` * @type {string} * @memberof PickupUpdateRequest */ 'ready_time': string; /** - * The closing or late time of the pickup.
Time Format: `HH:MM` + * The closing or late time of the pickup.
Time Format: `HH:MM` * @type {string} * @memberof PickupUpdateRequest */ 'closing_time': string; /** - * The pickup instruction.
eg: Handle with care. + * The pickup instruction.
eg: Handle with care. * @type {string} * @memberof PickupUpdateRequest */ 'instruction'?: string | null; /** - * The package(s) location.
eg: Behind the entrance door. + * The package(s) location.
eg: Behind the entrance door. * @type {string} * @memberof PickupUpdateRequest */ @@ -7479,7 +7480,7 @@ export interface PickupUpdateRequest { 'options'?: { [key: string]: any; } | null; } /** - * + * * @export * @interface Rate */ @@ -7521,7 +7522,7 @@ export interface Rate { */ 'service'?: string | null; /** - * The rate\'s monetary amount of the total charge.
This is the gross amount of the rate after adding the additional charges + * The rate\'s monetary amount of the total charge.
This is the gross amount of the rate after adding the additional charges * @type {number} * @memberof Rate */ @@ -7558,19 +7559,19 @@ export interface Rate { 'test_mode': boolean; } /** - * + * * @export * @interface RateRequest */ export interface RateRequest { /** - * The address of the party
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** + * The address of the party
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** * @type {AddressData} * @memberof RateRequest */ 'shipper': AddressData; /** - * The address of the party
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** + * The address of the party
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** * @type {AddressData} * @memberof RateRequest */ @@ -7582,13 +7583,13 @@ export interface RateRequest { */ 'parcels': Array; /** - * The requested carrier service for the shipment.
Please consult the reference for specific carriers services.
Note that this is a list because on a Multi-carrier rate request you could specify a service per carrier. + * The requested carrier service for the shipment.
Please consult the reference for specific carriers services.
Note that this is a list because on a Multi-carrier rate request you could specify a service per carrier. * @type {Array} * @memberof RateRequest */ 'services'?: Array | null; /** - *
The options available for the shipment. { \"currency\": \"USD\", \"insurance\": 100.00, \"cash_on_delivery\": 30.00, \"dangerous_good\": true, \"declared_value\": 150.00, \"sms_notification\": true, \"email_notification\": true, \"email_notification_to\": \"shipper@mail.com\", \"hold_at_location\": true, \"paperless_trade\": true, \"preferred_service\": \"fedex_express_saver\", \"shipment_date\": \"2020-01-01\", \"shipment_note\": \"This is a shipment note\", \"signature_confirmation\": true, \"is_return\": true, \"doc_files\": [ { \"doc_type\": \"commercial_invoice\", \"doc_file\": \"base64 encoded file\", \"doc_name\": \"commercial_invoice.pdf\", \"doc_format\": \"pdf\", } ], \"doc_references\": [ { \"doc_id\": \"123456789\", \"doc_type\": \"commercial_invoice\", } ], }
+ *
The options available for the shipment. { \"currency\": \"USD\", \"insurance\": 100.00, \"cash_on_delivery\": 30.00, \"dangerous_good\": true, \"declared_value\": 150.00, \"sms_notification\": true, \"email_notification\": true, \"email_notification_to\": \"shipper@mail.com\", \"hold_at_location\": true, \"paperless_trade\": true, \"preferred_service\": \"fedex_express_saver\", \"shipment_date\": \"2020-01-01\", \"shipment_note\": \"This is a shipment note\", \"signature_confirmation\": true, \"is_return\": true, \"doc_files\": [ { \"doc_type\": \"commercial_invoice\", \"doc_file\": \"base64 encoded file\", \"doc_name\": \"commercial_invoice.pdf\", \"doc_format\": \"pdf\", } ], \"doc_references\": [ { \"doc_id\": \"123456789\", \"doc_type\": \"commercial_invoice\", } ], }
* @type {{ [key: string]: any; }} * @memberof RateRequest */ @@ -7607,7 +7608,7 @@ export interface RateRequest { 'carrier_ids'?: Array | null; } /** - * + * * @export * @interface RateResponse */ @@ -7626,7 +7627,7 @@ export interface RateResponse { 'rates': Array; } /** - * + * * @export * @interface Shipment */ @@ -7650,13 +7651,13 @@ export interface Shipment { */ 'tracking_url'?: string | null; /** - * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** + * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** * @type {Address} * @memberof Shipment */ 'shipper': Address; /** - * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** + * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** * @type {Address} * @memberof Shipment */ @@ -7668,13 +7669,13 @@ export interface Shipment { */ 'parcels': Array; /** - * The carriers services requested for the shipment.
Please consult the reference for specific carriers services.
**Note that this is a list because on a Multi-carrier rate request you could specify a service per carrier.** + * The carriers services requested for the shipment.
Please consult the reference for specific carriers services.
**Note that this is a list because on a Multi-carrier rate request you could specify a service per carrier.** * @type {Array} * @memberof Shipment */ 'services'?: Array | null; /** - *
The options available for the shipment. { \"currency\": \"USD\", \"insurance\": 100.00, \"cash_on_delivery\": 30.00, \"dangerous_good\": true, \"declared_value\": 150.00, \"sms_notification\": true, \"email_notification\": true, \"email_notification_to\": \"shipper@mail.com\", \"hold_at_location\": true, \"paperless_trade\": true, \"preferred_service\": \"fedex_express_saver\", \"shipment_date\": \"2020-01-01\", \"shipment_note\": \"This is a shipment note\", \"signature_confirmation\": true, \"is_return\": true, \"doc_files\": [ { \"doc_type\": \"commercial_invoice\", \"doc_file\": \"base64 encoded file\", \"doc_name\": \"commercial_invoice.pdf\", \"doc_format\": \"pdf\", } ], \"doc_references\": [ { \"doc_id\": \"123456789\", \"doc_type\": \"commercial_invoice\", } ], }
+ *
The options available for the shipment. { \"currency\": \"USD\", \"insurance\": 100.00, \"cash_on_delivery\": 30.00, \"dangerous_good\": true, \"declared_value\": 150.00, \"sms_notification\": true, \"email_notification\": true, \"email_notification_to\": \"shipper@mail.com\", \"hold_at_location\": true, \"paperless_trade\": true, \"preferred_service\": \"fedex_express_saver\", \"shipment_date\": \"2020-01-01\", \"shipment_note\": \"This is a shipment note\", \"signature_confirmation\": true, \"is_return\": true, \"doc_files\": [ { \"doc_type\": \"commercial_invoice\", \"doc_file\": \"base64 encoded file\", \"doc_name\": \"commercial_invoice.pdf\", \"doc_format\": \"pdf\", } ], \"doc_references\": [ { \"doc_id\": \"123456789\", \"doc_type\": \"commercial_invoice\", } ], }
* @type {{ [key: string]: any; }} * @memberof Shipment */ @@ -7686,13 +7687,13 @@ export interface Shipment { */ 'payment'?: Payment; /** - * + * * @type {ShipmentBillingAddress} * @memberof Shipment */ 'billing_address'?: ShipmentBillingAddress | null; /** - * + * * @type {ShipmentCustoms} * @memberof Shipment */ @@ -7716,7 +7717,7 @@ export interface Shipment { */ 'label_type'?: ShipmentLabelTypeEnum | null; /** - * The list of configured carriers you wish to get rates from.
**Note that the request will be sent to all carriers in nothing is specified** + * The list of configured carriers you wish to get rates from.
**Note that the request will be sent to all carriers in nothing is specified** * @type {Array} * @memberof Shipment */ @@ -7728,7 +7729,7 @@ export interface Shipment { */ 'tracker_id'?: string | null; /** - * The shipment creation datetime.
Date Format: `YYYY-MM-DD HH:MM:SS.mmmmmmz` + * The shipment creation datetime.
Date Format: `YYYY-MM-DD HH:MM:SS.mmmmmmz` * @type {string} * @memberof Shipment */ @@ -7776,7 +7777,7 @@ export interface Shipment { */ 'shipment_identifier'?: string | null; /** - * + * * @type {ShipmentSelectedRate} * @memberof Shipment */ @@ -7855,13 +7856,13 @@ export interface ShipmentBillingAddress { */ 'id'?: string; /** - * The address postal code **(required for shipment purchase)** + * The address postal code **(required for shipment purchase)** * @type {string} * @memberof ShipmentBillingAddress */ 'postal_code'?: string | null; /** - * The address city. **(required for shipment purchase)** + * The address city. **(required for shipment purchase)** * @type {string} * @memberof ShipmentBillingAddress */ @@ -7879,7 +7880,7 @@ export interface ShipmentBillingAddress { */ 'state_tax_id'?: string | null; /** - * Attention to **(required for shipment purchase)** + * Attention to **(required for shipment purchase)** * @type {string} * @memberof ShipmentBillingAddress */ @@ -7927,7 +7928,7 @@ export interface ShipmentBillingAddress { */ 'street_number'?: string | null; /** - * The address line with street number
**(required for shipment purchase)** + * The address line with street number
**(required for shipment purchase)** * @type {string} * @memberof ShipmentBillingAddress */ @@ -7951,7 +7952,7 @@ export interface ShipmentBillingAddress { */ 'object_type'?: string; /** - * + * * @type {AddressValidation} * @memberof ShipmentBillingAddress */ @@ -8198,7 +8199,7 @@ export const ShipmentBillingAddressCountryCodeEnum = { export type ShipmentBillingAddressCountryCodeEnum = typeof ShipmentBillingAddressCountryCodeEnum[keyof typeof ShipmentBillingAddressCountryCodeEnum]; /** - * + * * @export * @interface ShipmentCancelRequest */ @@ -8229,7 +8230,7 @@ export interface ShipmentCancelRequest { 'options'?: { [key: string]: any; }; } /** - * The customs details.
**Note that this is required for the shipment of an international Dutiable parcel.** + * The customs details.
**Note that this is required for the shipment of an international Dutiable parcel.** * @export * @interface ShipmentCustoms */ @@ -8247,25 +8248,25 @@ export interface ShipmentCustoms { */ 'commodities'?: Array; /** - * + * * @type {CustomsDuty} * @memberof ShipmentCustoms */ 'duty'?: CustomsDuty | null; /** - * + * * @type {CustomsDutyBillingAddress} * @memberof ShipmentCustoms */ 'duty_billing_address'?: CustomsDutyBillingAddress | null; /** - * + * * @type {string} * @memberof ShipmentCustoms */ 'content_type'?: ShipmentCustomsContentTypeEnum | null; /** - * + * * @type {string} * @memberof ShipmentCustoms */ @@ -8283,7 +8284,7 @@ export interface ShipmentCustoms { */ 'invoice'?: string | null; /** - * The invoice date.
Date Format: `YYYY-MM-DD` + * The invoice date.
Date Format: `YYYY-MM-DD` * @type {string} * @memberof ShipmentCustoms */ @@ -8301,13 +8302,13 @@ export interface ShipmentCustoms { */ 'certify'?: boolean | null; /** - * + * * @type {string} * @memberof ShipmentCustoms */ 'signer'?: string | null; /** - *
Customs identification options. { \"aes\": \"5218487281\", \"eel_pfc\": \"5218487281\", \"license_number\": \"5218487281\", \"certificate_number\": \"5218487281\", \"nip_number\": \"5218487281\", \"eori_number\": \"5218487281\", \"vat_registration_number\": \"5218487281\", }
+ *
Customs identification options. { \"aes\": \"5218487281\", \"eel_pfc\": \"5218487281\", \"license_number\": \"5218487281\", \"certificate_number\": \"5218487281\", \"nip_number\": \"5218487281\", \"eori_number\": \"5218487281\", \"vat_registration_number\": \"5218487281\", }
* @type {{ [key: string]: any; }} * @memberof ShipmentCustoms */ @@ -8352,19 +8353,19 @@ export const ShipmentCustomsIncotermEnum = { export type ShipmentCustomsIncotermEnum = typeof ShipmentCustomsIncotermEnum[keyof typeof ShipmentCustomsIncotermEnum]; /** - * + * * @export * @interface ShipmentData */ export interface ShipmentData { /** - * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** + * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** * @type {AddressData} * @memberof ShipmentData */ 'shipper': AddressData; /** - * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** + * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** * @type {AddressData} * @memberof ShipmentData */ @@ -8376,7 +8377,7 @@ export interface ShipmentData { */ 'parcels': Array; /** - *
The options available for the shipment. { \"currency\": \"USD\", \"insurance\": 100.00, \"cash_on_delivery\": 30.00, \"dangerous_good\": true, \"declared_value\": 150.00, \"sms_notification\": true, \"email_notification\": true, \"email_notification_to\": \"shipper@mail.com\", \"hold_at_location\": true, \"paperless_trade\": true, \"preferred_service\": \"fedex_express_saver\", \"shipment_date\": \"2020-01-01\", \"shipment_note\": \"This is a shipment note\", \"signature_confirmation\": true, \"is_return\": true, \"doc_files\": [ { \"doc_type\": \"commercial_invoice\", \"doc_file\": \"base64 encoded file\", \"doc_name\": \"commercial_invoice.pdf\", \"doc_format\": \"pdf\", } ], \"doc_references\": [ { \"doc_id\": \"123456789\", \"doc_type\": \"commercial_invoice\", } ], }
+ *
The options available for the shipment. { \"currency\": \"USD\", \"insurance\": 100.00, \"cash_on_delivery\": 30.00, \"dangerous_good\": true, \"declared_value\": 150.00, \"sms_notification\": true, \"email_notification\": true, \"email_notification_to\": \"shipper@mail.com\", \"hold_at_location\": true, \"paperless_trade\": true, \"preferred_service\": \"fedex_express_saver\", \"shipment_date\": \"2020-01-01\", \"shipment_note\": \"This is a shipment note\", \"signature_confirmation\": true, \"is_return\": true, \"doc_files\": [ { \"doc_type\": \"commercial_invoice\", \"doc_file\": \"base64 encoded file\", \"doc_name\": \"commercial_invoice.pdf\", \"doc_format\": \"pdf\", } ], \"doc_references\": [ { \"doc_id\": \"123456789\", \"doc_type\": \"commercial_invoice\", } ], }
* @type {{ [key: string]: any; }} * @memberof ShipmentData */ @@ -8388,13 +8389,13 @@ export interface ShipmentData { */ 'payment'?: Payment; /** - * + * * @type {ShipmentDataBillingAddress} * @memberof ShipmentData */ 'billing_address'?: ShipmentDataBillingAddress | null; /** - * + * * @type {ShipmentDataCustoms} * @memberof ShipmentData */ @@ -8418,13 +8419,13 @@ export interface ShipmentData { */ 'service'?: string; /** - * The requested carrier service for the shipment.
Please consult the reference for specific carriers services.
**Note that this is a list because on a Multi-carrier rate request you could specify a service per carrier.** + * The requested carrier service for the shipment.
Please consult the reference for specific carriers services.
**Note that this is a list because on a Multi-carrier rate request you could specify a service per carrier.** * @type {Array} * @memberof ShipmentData */ 'services'?: Array | null; /** - * The list of configured carriers you wish to get rates from.
**Note that the request will be sent to all carriers in nothing is specified** + * The list of configured carriers you wish to get rates from.
**Note that the request will be sent to all carriers in nothing is specified** * @type {Array} * @memberof ShipmentData */ @@ -8452,13 +8453,13 @@ export type ShipmentDataLabelTypeEnum = typeof ShipmentDataLabelTypeEnum[keyof t */ export interface ShipmentDataBillingAddress { /** - * The address postal code **(required for shipment purchase)** + * The address postal code **(required for shipment purchase)** * @type {string} * @memberof ShipmentDataBillingAddress */ 'postal_code'?: string | null; /** - * The address city. **(required for shipment purchase)** + * The address city. **(required for shipment purchase)** * @type {string} * @memberof ShipmentDataBillingAddress */ @@ -8476,7 +8477,7 @@ export interface ShipmentDataBillingAddress { */ 'state_tax_id'?: string | null; /** - * Attention to **(required for shipment purchase)** + * Attention to **(required for shipment purchase)** * @type {string} * @memberof ShipmentDataBillingAddress */ @@ -8524,7 +8525,7 @@ export interface ShipmentDataBillingAddress { */ 'street_number'?: string | null; /** - * The address line with street number
**(required for shipment purchase)** + * The address line with street number
**(required for shipment purchase)** * @type {string} * @memberof ShipmentDataBillingAddress */ @@ -8783,7 +8784,7 @@ export const ShipmentDataBillingAddressCountryCodeEnum = { export type ShipmentDataBillingAddressCountryCodeEnum = typeof ShipmentDataBillingAddressCountryCodeEnum[keyof typeof ShipmentDataBillingAddressCountryCodeEnum]; /** - * The customs details.
**Note that this is required for the shipment of an international Dutiable parcel.** + * The customs details.
**Note that this is required for the shipment of an international Dutiable parcel.** * @export * @interface ShipmentDataCustoms */ @@ -8795,25 +8796,25 @@ export interface ShipmentDataCustoms { */ 'commodities': Array; /** - * + * * @type {CustomsDuty} * @memberof ShipmentDataCustoms */ 'duty'?: CustomsDuty | null; /** - * + * * @type {CustomsDataDutyBillingAddress} * @memberof ShipmentDataCustoms */ 'duty_billing_address'?: CustomsDataDutyBillingAddress | null; /** - * + * * @type {string} * @memberof ShipmentDataCustoms */ 'content_type'?: ShipmentDataCustomsContentTypeEnum | null; /** - * + * * @type {string} * @memberof ShipmentDataCustoms */ @@ -8831,7 +8832,7 @@ export interface ShipmentDataCustoms { */ 'invoice'?: string | null; /** - * The invoice date.
Date Format: `YYYY-MM-DD` + * The invoice date.
Date Format: `YYYY-MM-DD` * @type {string} * @memberof ShipmentDataCustoms */ @@ -8849,13 +8850,13 @@ export interface ShipmentDataCustoms { */ 'certify'?: boolean | null; /** - * + * * @type {string} * @memberof ShipmentDataCustoms */ 'signer'?: string | null; /** - *
Customs identification options. { \"aes\": \"5218487281\", \"eel_pfc\": \"5218487281\", \"license_number\": \"5218487281\", \"certificate_number\": \"5218487281\", \"nip_number\": \"5218487281\", \"eori_number\": \"5218487281\", \"vat_registration_number\": \"5218487281\", }
+ *
Customs identification options. { \"aes\": \"5218487281\", \"eel_pfc\": \"5218487281\", \"license_number\": \"5218487281\", \"certificate_number\": \"5218487281\", \"nip_number\": \"5218487281\", \"eori_number\": \"5218487281\", \"vat_registration_number\": \"5218487281\", }
* @type {{ [key: string]: any; }} * @memberof ShipmentDataCustoms */ @@ -8894,19 +8895,19 @@ export const ShipmentDataCustomsIncotermEnum = { export type ShipmentDataCustomsIncotermEnum = typeof ShipmentDataCustomsIncotermEnum[keyof typeof ShipmentDataCustomsIncotermEnum]; /** - * + * * @export * @interface ShipmentDataReference */ export interface ShipmentDataReference { /** - * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** + * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** * @type {AddressData} * @memberof ShipmentDataReference */ 'shipper': AddressData; /** - * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** + * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** * @type {AddressData} * @memberof ShipmentDataReference */ @@ -8918,7 +8919,7 @@ export interface ShipmentDataReference { */ 'parcels': Array; /** - *
The options available for the shipment. { \"currency\": \"USD\", \"insurance\": 100.00, \"cash_on_delivery\": 30.00, \"dangerous_good\": true, \"declared_value\": 150.00, \"sms_notification\": true, \"email_notification\": true, \"email_notification_to\": \"shipper@mail.com\", \"hold_at_location\": true, \"paperless_trade\": true, \"preferred_service\": \"fedex_express_saver\", \"shipment_date\": \"2020-01-01\", \"shipment_note\": \"This is a shipment note\", \"signature_confirmation\": true, \"is_return\": true, \"doc_files\": [ { \"doc_type\": \"commercial_invoice\", \"doc_file\": \"base64 encoded file\", \"doc_name\": \"commercial_invoice.pdf\", \"doc_format\": \"pdf\", } ], \"doc_references\": [ { \"doc_id\": \"123456789\", \"doc_type\": \"commercial_invoice\", } ], }
+ *
The options available for the shipment. { \"currency\": \"USD\", \"insurance\": 100.00, \"cash_on_delivery\": 30.00, \"dangerous_good\": true, \"declared_value\": 150.00, \"sms_notification\": true, \"email_notification\": true, \"email_notification_to\": \"shipper@mail.com\", \"hold_at_location\": true, \"paperless_trade\": true, \"preferred_service\": \"fedex_express_saver\", \"shipment_date\": \"2020-01-01\", \"shipment_note\": \"This is a shipment note\", \"signature_confirmation\": true, \"is_return\": true, \"doc_files\": [ { \"doc_type\": \"commercial_invoice\", \"doc_file\": \"base64 encoded file\", \"doc_name\": \"commercial_invoice.pdf\", \"doc_format\": \"pdf\", } ], \"doc_references\": [ { \"doc_id\": \"123456789\", \"doc_type\": \"commercial_invoice\", } ], }
* @type {{ [key: string]: any; }} * @memberof ShipmentDataReference */ @@ -8930,13 +8931,13 @@ export interface ShipmentDataReference { */ 'payment'?: Payment; /** - * + * * @type {ShipmentDataBillingAddress} * @memberof ShipmentDataReference */ 'billing_address'?: ShipmentDataBillingAddress | null; /** - * + * * @type {ShipmentDataCustoms} * @memberof ShipmentDataReference */ @@ -8960,13 +8961,13 @@ export interface ShipmentDataReference { */ 'service'?: string; /** - * The requested carrier service for the shipment.
Please consult the reference for specific carriers services.
**Note that this is a list because on a Multi-carrier rate request you could specify a service per carrier.** + * The requested carrier service for the shipment.
Please consult the reference for specific carriers services.
**Note that this is a list because on a Multi-carrier rate request you could specify a service per carrier.** * @type {Array} * @memberof ShipmentDataReference */ 'services'?: Array | null; /** - * The list of configured carriers you wish to get rates from.
**Note that the request will be sent to all carriers in nothing is specified** + * The list of configured carriers you wish to get rates from.
**Note that the request will be sent to all carriers in nothing is specified** * @type {Array} * @memberof ShipmentDataReference */ @@ -8994,7 +8995,7 @@ export const ShipmentDataReferenceLabelTypeEnum = { export type ShipmentDataReferenceLabelTypeEnum = typeof ShipmentDataReferenceLabelTypeEnum[keyof typeof ShipmentDataReferenceLabelTypeEnum]; /** - * + * * @export * @interface ShipmentPurchaseData */ @@ -9040,19 +9041,19 @@ export const ShipmentPurchaseDataLabelTypeEnum = { export type ShipmentPurchaseDataLabelTypeEnum = typeof ShipmentPurchaseDataLabelTypeEnum[keyof typeof ShipmentPurchaseDataLabelTypeEnum]; /** - * + * * @export * @interface ShipmentRateData */ export interface ShipmentRateData { /** - * The requested carrier service for the shipment.
Please consult [the reference](#operation/references) for specific carriers services.
**Note that this is a list because on a Multi-carrier rate request you could specify a service per carrier.** + * The requested carrier service for the shipment.
Please consult [the reference](#operation/references) for specific carriers services.
**Note that this is a list because on a Multi-carrier rate request you could specify a service per carrier.** * @type {Array} * @memberof ShipmentRateData */ 'services'?: Array | null; /** - * The list of configured carriers you wish to get rates from.
**Note that the request will be sent to all carriers in nothing is specified** + * The list of configured carriers you wish to get rates from.
**Note that the request will be sent to all carriers in nothing is specified** * @type {Array} * @memberof ShipmentRateData */ @@ -9113,7 +9114,7 @@ export interface ShipmentSelectedRate { */ 'service'?: string | null; /** - * The rate\'s monetary amount of the total charge.
This is the gross amount of the rate after adding the additional charges + * The rate\'s monetary amount of the total charge.
This is the gross amount of the rate after adding the additional charges * @type {number} * @memberof ShipmentSelectedRate */ @@ -9150,7 +9151,7 @@ export interface ShipmentSelectedRate { 'test_mode': boolean; } /** - * + * * @export * @interface ShipmentUpdateData */ @@ -9168,7 +9169,7 @@ export interface ShipmentUpdateData { */ 'payment'?: Payment; /** - *
The options available for the shipment. { \"currency\": \"USD\", \"insurance\": 100.00, \"cash_on_delivery\": 30.00, \"shipment_date\": \"2020-01-01\", \"dangerous_good\": true, \"declared_value\": 150.00, \"email_notification\": true, \"email_notification_to\": \"shipper@mail.com\", \"signature_confirmation\": true, }
+ *
The options available for the shipment. { \"currency\": \"USD\", \"insurance\": 100.00, \"cash_on_delivery\": 30.00, \"shipment_date\": \"2020-01-01\", \"dangerous_good\": true, \"declared_value\": 150.00, \"email_notification\": true, \"email_notification_to\": \"shipper@mail.com\", \"signature_confirmation\": true, }
* @type {{ [key: string]: any; }} * @memberof ShipmentUpdateData */ @@ -9196,19 +9197,19 @@ export const ShipmentUpdateDataLabelTypeEnum = { export type ShipmentUpdateDataLabelTypeEnum = typeof ShipmentUpdateDataLabelTypeEnum[keyof typeof ShipmentUpdateDataLabelTypeEnum]; /** - * + * * @export * @interface ShippingRequest */ export interface ShippingRequest { /** - * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** + * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** * @type {AddressData} * @memberof ShippingRequest */ 'shipper': AddressData; /** - * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** + * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** * @type {AddressData} * @memberof ShippingRequest */ @@ -9220,7 +9221,7 @@ export interface ShippingRequest { */ 'parcels': Array; /** - *
The options available for the shipment. { \"currency\": \"USD\", \"insurance\": 100.00, \"cash_on_delivery\": 30.00, \"dangerous_good\": true, \"declared_value\": 150.00, \"sms_notification\": true, \"email_notification\": true, \"email_notification_to\": \"shipper@mail.com\", \"hold_at_location\": true, \"paperless_trade\": true, \"preferred_service\": \"fedex_express_saver\", \"shipment_date\": \"2020-01-01\", \"shipment_note\": \"This is a shipment note\", \"signature_confirmation\": true, \"is_return\": true, \"doc_files\": [ { \"doc_type\": \"commercial_invoice\", \"doc_file\": \"base64 encoded file\", \"doc_name\": \"commercial_invoice.pdf\", \"doc_format\": \"pdf\", } ], \"doc_references\": [ { \"doc_id\": \"123456789\", \"doc_type\": \"commercial_invoice\", } ], }
+ *
The options available for the shipment. { \"currency\": \"USD\", \"insurance\": 100.00, \"cash_on_delivery\": 30.00, \"dangerous_good\": true, \"declared_value\": 150.00, \"sms_notification\": true, \"email_notification\": true, \"email_notification_to\": \"shipper@mail.com\", \"hold_at_location\": true, \"paperless_trade\": true, \"preferred_service\": \"fedex_express_saver\", \"shipment_date\": \"2020-01-01\", \"shipment_note\": \"This is a shipment note\", \"signature_confirmation\": true, \"is_return\": true, \"doc_files\": [ { \"doc_type\": \"commercial_invoice\", \"doc_file\": \"base64 encoded file\", \"doc_name\": \"commercial_invoice.pdf\", \"doc_format\": \"pdf\", } ], \"doc_references\": [ { \"doc_id\": \"123456789\", \"doc_type\": \"commercial_invoice\", } ], }
* @type {{ [key: string]: any; }} * @memberof ShippingRequest */ @@ -9232,13 +9233,13 @@ export interface ShippingRequest { */ 'payment'?: Payment; /** - * + * * @type {ShipmentDataBillingAddress} * @memberof ShippingRequest */ 'billing_address'?: ShipmentDataBillingAddress | null; /** - * + * * @type {ShipmentDataCustoms} * @memberof ShippingRequest */ @@ -9278,7 +9279,7 @@ export const ShippingRequestLabelTypeEnum = { export type ShippingRequestLabelTypeEnum = typeof ShippingRequestLabelTypeEnum[keyof typeof ShippingRequestLabelTypeEnum]; /** - * + * * @export * @interface ShippingResponse */ @@ -9302,13 +9303,13 @@ export interface ShippingResponse { */ 'tracking_url'?: string | null; /** - * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** + * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** * @type {Address} * @memberof ShippingResponse */ 'shipper': Address; /** - * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** + * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient** * @type {Address} * @memberof ShippingResponse */ @@ -9320,13 +9321,13 @@ export interface ShippingResponse { */ 'parcels': Array; /** - * The carriers services requested for the shipment.
Please consult the reference for specific carriers services.
**Note that this is a list because on a Multi-carrier rate request you could specify a service per carrier.** + * The carriers services requested for the shipment.
Please consult the reference for specific carriers services.
**Note that this is a list because on a Multi-carrier rate request you could specify a service per carrier.** * @type {Array} * @memberof ShippingResponse */ 'services'?: Array | null; /** - *
The options available for the shipment. { \"currency\": \"USD\", \"insurance\": 100.00, \"cash_on_delivery\": 30.00, \"dangerous_good\": true, \"declared_value\": 150.00, \"sms_notification\": true, \"email_notification\": true, \"email_notification_to\": \"shipper@mail.com\", \"hold_at_location\": true, \"paperless_trade\": true, \"preferred_service\": \"fedex_express_saver\", \"shipment_date\": \"2020-01-01\", \"shipment_note\": \"This is a shipment note\", \"signature_confirmation\": true, \"is_return\": true, \"doc_files\": [ { \"doc_type\": \"commercial_invoice\", \"doc_file\": \"base64 encoded file\", \"doc_name\": \"commercial_invoice.pdf\", \"doc_format\": \"pdf\", } ], \"doc_references\": [ { \"doc_id\": \"123456789\", \"doc_type\": \"commercial_invoice\", } ], }
+ *
The options available for the shipment. { \"currency\": \"USD\", \"insurance\": 100.00, \"cash_on_delivery\": 30.00, \"dangerous_good\": true, \"declared_value\": 150.00, \"sms_notification\": true, \"email_notification\": true, \"email_notification_to\": \"shipper@mail.com\", \"hold_at_location\": true, \"paperless_trade\": true, \"preferred_service\": \"fedex_express_saver\", \"shipment_date\": \"2020-01-01\", \"shipment_note\": \"This is a shipment note\", \"signature_confirmation\": true, \"is_return\": true, \"doc_files\": [ { \"doc_type\": \"commercial_invoice\", \"doc_file\": \"base64 encoded file\", \"doc_name\": \"commercial_invoice.pdf\", \"doc_format\": \"pdf\", } ], \"doc_references\": [ { \"doc_id\": \"123456789\", \"doc_type\": \"commercial_invoice\", } ], }
* @type {{ [key: string]: any; }} * @memberof ShippingResponse */ @@ -9338,13 +9339,13 @@ export interface ShippingResponse { */ 'payment'?: Payment; /** - * + * * @type {ShipmentBillingAddress} * @memberof ShippingResponse */ 'billing_address'?: ShipmentBillingAddress | null; /** - * + * * @type {ShipmentCustoms} * @memberof ShippingResponse */ @@ -9368,7 +9369,7 @@ export interface ShippingResponse { */ 'label_type'?: ShippingResponseLabelTypeEnum | null; /** - * The list of configured carriers you wish to get rates from.
**Note that the request will be sent to all carriers in nothing is specified** + * The list of configured carriers you wish to get rates from.
**Note that the request will be sent to all carriers in nothing is specified** * @type {Array} * @memberof ShippingResponse */ @@ -9380,7 +9381,7 @@ export interface ShippingResponse { */ 'tracker_id'?: string | null; /** - * The shipment creation datetime.
Date Format: `YYYY-MM-DD HH:MM:SS.mmmmmmz` + * The shipment creation datetime.
Date Format: `YYYY-MM-DD HH:MM:SS.mmmmmmz` * @type {string} * @memberof ShippingResponse */ @@ -9428,13 +9429,13 @@ export interface ShippingResponse { */ 'shipment_identifier'?: string | null; /** - * + * * @type {ShipmentSelectedRate} * @memberof ShippingResponse */ 'selected_rate'?: ShipmentSelectedRate | null; /** - * + * * @type {ShippingResponseDocs} * @memberof ShippingResponse */ @@ -9508,77 +9509,77 @@ export interface ShippingResponseDocs { 'invoice'?: string | null; } /** - * + * * @export * @interface TokenObtainPair */ export interface TokenObtainPair { /** - * + * * @type {string} * @memberof TokenObtainPair */ 'email': string; /** - * + * * @type {string} * @memberof TokenObtainPair */ 'password': string; } /** - * + * * @export * @interface TokenPair */ export interface TokenPair { /** - * + * * @type {string} * @memberof TokenPair */ 'access': string; /** - * + * * @type {string} * @memberof TokenPair */ 'refresh': string; } /** - * + * * @export * @interface TokenRefresh */ export interface TokenRefresh { /** - * + * * @type {string} * @memberof TokenRefresh */ 'refresh': string; /** - * + * * @type {string} * @memberof TokenRefresh */ 'access': string; } /** - * + * * @export * @interface TokenVerify */ export interface TokenVerify { /** - * + * * @type {string} * @memberof TokenVerify */ 'token': string; } /** - * + * * @export * @interface TrackerDetails */ @@ -9608,7 +9609,7 @@ export interface TrackerDetails { */ 'tracking_number': string; /** - * + * * @type {TrackerDetailsInfo} * @memberof TrackerDetails */ @@ -9650,7 +9651,7 @@ export interface TrackerDetails { */ 'meta'?: { [key: string]: any; } | null; /** - * + * * @type {TrackerDetailsImages} * @memberof TrackerDetails */ @@ -9830,44 +9831,44 @@ export interface TrackerDetailsInfo { 'source'?: string | null; } /** - * + * * @export * @interface TrackerList */ export interface TrackerList { /** - * + * * @type {number} * @memberof TrackerList */ 'count'?: number | null; /** - * + * * @type {string} * @memberof TrackerList */ 'next'?: string | null; /** - * + * * @type {string} * @memberof TrackerList */ 'previous'?: string | null; /** - * + * * @type {Array} * @memberof TrackerList */ 'results': Array; } /** - * + * * @export * @interface TrackerUpdateData */ export interface TrackerUpdateData { /** - * + * * @type {TrackerUpdateDataInfo} * @memberof TrackerUpdateData */ @@ -10001,7 +10002,7 @@ export interface TrackerUpdateDataInfo { 'source'?: string | null; } /** - * + * * @export * @interface TrackingData */ @@ -10031,7 +10032,7 @@ export interface TrackingData { */ 'reference'?: string | null; /** - * + * * @type {TrackerUpdateDataInfo} * @memberof TrackingData */ @@ -10086,7 +10087,7 @@ export const TrackingDataCarrierNameEnum = { export type TrackingDataCarrierNameEnum = typeof TrackingDataCarrierNameEnum[keyof typeof TrackingDataCarrierNameEnum]; /** - * + * * @export * @interface TrackingEvent */ @@ -10135,7 +10136,7 @@ export interface TrackingEvent { 'longitude'?: number | null; } /** - * + * * @export * @interface TrackingInfo */ @@ -10256,7 +10257,7 @@ export interface TrackingInfo { 'source'?: string | null; } /** - * + * * @export * @interface TrackingResponse */ @@ -10275,7 +10276,7 @@ export interface TrackingResponse { 'tracking'?: TrackerDetails; } /** - * + * * @export * @interface TrackingStatus */ @@ -10305,7 +10306,7 @@ export interface TrackingStatus { */ 'tracking_number': string; /** - * + * * @type {TrackerDetailsInfo} * @memberof TrackingStatus */ @@ -10393,32 +10394,32 @@ export const TrackingStatusStatusEnum = { export type TrackingStatusStatusEnum = typeof TrackingStatusStatusEnum[keyof typeof TrackingStatusStatusEnum]; /** - * + * * @export * @interface VerifiedTokenObtainPair */ export interface VerifiedTokenObtainPair { /** - * + * * @type {string} * @memberof VerifiedTokenObtainPair */ 'refresh': string; /** - * + * * @type {string} * @memberof VerifiedTokenObtainPair */ 'access': string; /** - * The OTP (One Time Password) token received by the user from the configured Two Factor Authentication method. + * The OTP (One Time Password) token received by the user from the configured Two Factor Authentication method. * @type {string} * @memberof VerifiedTokenObtainPair */ 'otp_token': string; } /** - * + * * @export * @interface Webhook */ @@ -10503,7 +10504,7 @@ export const WebhookEnabledEventsEnum = { export type WebhookEnabledEventsEnum = typeof WebhookEnabledEventsEnum[keyof typeof WebhookEnabledEventsEnum]; /** - * + * * @export * @interface WebhookData */ @@ -10558,44 +10559,44 @@ export const WebhookDataEnabledEventsEnum = { export type WebhookDataEnabledEventsEnum = typeof WebhookDataEnabledEventsEnum[keyof typeof WebhookDataEnabledEventsEnum]; /** - * + * * @export * @interface WebhookList */ export interface WebhookList { /** - * + * * @type {number} * @memberof WebhookList */ 'count'?: number | null; /** - * + * * @type {string} * @memberof WebhookList */ 'next'?: string | null; /** - * + * * @type {string} * @memberof WebhookList */ 'previous'?: string | null; /** - * + * * @type {Array} * @memberof WebhookList */ 'results': Array; } /** - * + * * @export * @interface WebhookTestRequest */ export interface WebhookTestRequest { /** - * + * * @type {{ [key: string]: any; }} * @memberof WebhookTestRequest */ @@ -10609,7 +10610,7 @@ export interface WebhookTestRequest { export const APIApiAxiosParamCreator = function (configuration?: Configuration) { return { /** - * + * * @summary Data References * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10628,7 +10629,7 @@ export const APIApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10639,7 +10640,7 @@ export const APIApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * + * * @summary Instance Metadata * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10658,7 +10659,7 @@ export const APIApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10679,7 +10680,7 @@ export const APIApiFp = function(configuration?: Configuration) { const localVarAxiosParamCreator = APIApiAxiosParamCreator(configuration) return { /** - * + * * @summary Data References * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10691,7 +10692,7 @@ export const APIApiFp = function(configuration?: Configuration) { return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, /** - * + * * @summary Instance Metadata * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10713,7 +10714,7 @@ export const APIApiFactory = function (configuration?: Configuration, basePath?: const localVarFp = APIApiFp(configuration) return { /** - * + * * @summary Data References * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10722,7 +10723,7 @@ export const APIApiFactory = function (configuration?: Configuration, basePath?: return localVarFp.data(options).then((request) => request(axios, basePath)); }, /** - * + * * @summary Instance Metadata * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10741,7 +10742,7 @@ export const APIApiFactory = function (configuration?: Configuration, basePath?: */ export class APIApi extends BaseAPI { /** - * + * * @summary Data References * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10752,7 +10753,7 @@ export class APIApi extends BaseAPI { } /** - * + * * @summary Instance Metadata * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -10774,7 +10775,7 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura /** * Create a new address. * @summary Create an address - * @param {AddressData} addressData + * @param {AddressData} addressData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -10808,7 +10809,7 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -10824,7 +10825,7 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura /** * Discard an address. * @summary Discard an address - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -10859,7 +10860,7 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10903,7 +10904,7 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10916,7 +10917,7 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura /** * Retrieve an address. * @summary Retrieve an address - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -10951,7 +10952,7 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10964,8 +10965,8 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura /** * update an address. * @summary Update an address - * @param {string} id - * @param {PatchedAddressData} [patchedAddressData] + * @param {string} id + * @param {PatchedAddressData} [patchedAddressData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11000,7 +11001,7 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -11026,7 +11027,7 @@ export const AddressesApiFp = function(configuration?: Configuration) { /** * Create a new address. * @summary Create an address - * @param {AddressData} addressData + * @param {AddressData} addressData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11039,7 +11040,7 @@ export const AddressesApiFp = function(configuration?: Configuration) { /** * Discard an address. * @summary Discard an address - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11064,7 +11065,7 @@ export const AddressesApiFp = function(configuration?: Configuration) { /** * Retrieve an address. * @summary Retrieve an address - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11077,8 +11078,8 @@ export const AddressesApiFp = function(configuration?: Configuration) { /** * update an address. * @summary Update an address - * @param {string} id - * @param {PatchedAddressData} [patchedAddressData] + * @param {string} id + * @param {PatchedAddressData} [patchedAddressData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11157,7 +11158,7 @@ export const AddressesApiFactory = function (configuration?: Configuration, base */ export interface AddressesApiCreateRequest { /** - * + * * @type {AddressData} * @memberof AddressesApiCreate */ @@ -11171,7 +11172,7 @@ export interface AddressesApiCreateRequest { */ export interface AddressesApiDiscardRequest { /** - * + * * @type {string} * @memberof AddressesApiDiscard */ @@ -11185,7 +11186,7 @@ export interface AddressesApiDiscardRequest { */ export interface AddressesApiRetrieveRequest { /** - * + * * @type {string} * @memberof AddressesApiRetrieve */ @@ -11199,14 +11200,14 @@ export interface AddressesApiRetrieveRequest { */ export interface AddressesApiUpdateRequest { /** - * + * * @type {string} * @memberof AddressesApiUpdate */ readonly id: string /** - * + * * @type {PatchedAddressData} * @memberof AddressesApiUpdate */ @@ -11291,7 +11292,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration) /** * Authenticate the user and return a token pair * @summary Obtain auth token pair - * @param {TokenObtainPair} tokenObtainPair + * @param {TokenObtainPair} tokenObtainPair * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11311,7 +11312,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -11327,7 +11328,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration) /** * Get a verified JWT token pair by submitting a Two-Factor authentication code. * @summary Get verified JWT token - * @param {VerifiedTokenObtainPair} verifiedTokenObtainPair + * @param {VerifiedTokenObtainPair} verifiedTokenObtainPair * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11347,7 +11348,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -11363,7 +11364,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration) /** * Authenticate the user and return a token pair * @summary Refresh auth token - * @param {TokenRefresh} tokenRefresh + * @param {TokenRefresh} tokenRefresh * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11383,7 +11384,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -11399,7 +11400,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration) /** * Verify an existent authentication token * @summary Verify token - * @param {TokenVerify} tokenVerify + * @param {TokenVerify} tokenVerify * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11419,7 +11420,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration) const localVarQueryParameter = {} as any; - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -11445,7 +11446,7 @@ export const AuthApiFp = function(configuration?: Configuration) { /** * Authenticate the user and return a token pair * @summary Obtain auth token pair - * @param {TokenObtainPair} tokenObtainPair + * @param {TokenObtainPair} tokenObtainPair * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11458,7 +11459,7 @@ export const AuthApiFp = function(configuration?: Configuration) { /** * Get a verified JWT token pair by submitting a Two-Factor authentication code. * @summary Get verified JWT token - * @param {VerifiedTokenObtainPair} verifiedTokenObtainPair + * @param {VerifiedTokenObtainPair} verifiedTokenObtainPair * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11471,7 +11472,7 @@ export const AuthApiFp = function(configuration?: Configuration) { /** * Authenticate the user and return a token pair * @summary Refresh auth token - * @param {TokenRefresh} tokenRefresh + * @param {TokenRefresh} tokenRefresh * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11484,7 +11485,7 @@ export const AuthApiFp = function(configuration?: Configuration) { /** * Verify an existent authentication token * @summary Verify token - * @param {TokenVerify} tokenVerify + * @param {TokenVerify} tokenVerify * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11554,7 +11555,7 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath? */ export interface AuthApiAuthenticateRequest { /** - * + * * @type {TokenObtainPair} * @memberof AuthApiAuthenticate */ @@ -11568,7 +11569,7 @@ export interface AuthApiAuthenticateRequest { */ export interface AuthApiGetVerifiedTokenRequest { /** - * + * * @type {VerifiedTokenObtainPair} * @memberof AuthApiGetVerifiedToken */ @@ -11582,7 +11583,7 @@ export interface AuthApiGetVerifiedTokenRequest { */ export interface AuthApiRefreshTokenRequest { /** - * + * * @type {TokenRefresh} * @memberof AuthApiRefreshToken */ @@ -11596,7 +11597,7 @@ export interface AuthApiRefreshTokenRequest { */ export interface AuthApiVerifyTokenRequest { /** - * + * * @type {TokenVerify} * @memberof AuthApiVerifyToken */ @@ -11670,7 +11671,7 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati /** * Create order batch. `Beta` * @summary Create order batch - * @param {BatchOrderData} batchOrderData + * @param {BatchOrderData} batchOrderData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11704,7 +11705,7 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -11720,7 +11721,7 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati /** * Create shipment batch. `Beta` * @summary Create shipment batch - * @param {BatchShipmentData} batchShipmentData + * @param {BatchShipmentData} batchShipmentData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11754,7 +11755,7 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -11770,7 +11771,7 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati /** * Create tracker batch. `Beta` * @summary Create tracker batch - * @param {BatchTrackerData} batchTrackerData + * @param {BatchTrackerData} batchTrackerData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11804,7 +11805,7 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -11820,12 +11821,12 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati /** * Import csv, xls and xlsx data files for: `Beta`
- trackers data - orders data - shipments data - billing data (soon)

**This operation will return a batch operation that you can poll to follow the import progression.** * @summary Import data files - * @param {File} [dataFile] - * @param {string} [dataTemplate] A data template slug to use for the import.<br/> **When nothing is specified, the system default headers are expected.** + * @param {File} [dataFile] + * @param {string} [dataTemplate] A data template slug to use for the import.<br/> **When nothing is specified, the system default headers are expected.** * @param {ImportFileResourceTypeEnum} [resourceType] The type of the resource to import - * @param {string} [resourceType2] - * @param {string} [dataTemplate2] - * @param {File} [dataFile2] + * @param {string} [resourceType2] + * @param {string} [dataTemplate2] + * @param {File} [dataFile2] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11870,21 +11871,21 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati } - if (resourceType2 !== undefined) { + if (resourceType2 !== undefined) { localVarFormParams.append('resource_type', resourceType2 as any); } - - if (dataTemplate2 !== undefined) { + + if (dataTemplate2 !== undefined) { localVarFormParams.append('data_template', dataTemplate2 as any); } - - if (dataFile2 !== undefined) { + + if (dataFile2 !== undefined) { localVarFormParams.append('data_file', dataFile2 as any); } - - + + localVarHeaderParameter['Content-Type'] = 'multipart/form-data'; - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11929,7 +11930,7 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11942,7 +11943,7 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati /** * Retrieve a batch operation. `Beta` * @summary Retrieve a batch operation - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -11977,7 +11978,7 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -12000,7 +12001,7 @@ export const BatchesApiFp = function(configuration?: Configuration) { /** * Create order batch. `Beta` * @summary Create order batch - * @param {BatchOrderData} batchOrderData + * @param {BatchOrderData} batchOrderData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12013,7 +12014,7 @@ export const BatchesApiFp = function(configuration?: Configuration) { /** * Create shipment batch. `Beta` * @summary Create shipment batch - * @param {BatchShipmentData} batchShipmentData + * @param {BatchShipmentData} batchShipmentData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12026,7 +12027,7 @@ export const BatchesApiFp = function(configuration?: Configuration) { /** * Create tracker batch. `Beta` * @summary Create tracker batch - * @param {BatchTrackerData} batchTrackerData + * @param {BatchTrackerData} batchTrackerData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12039,12 +12040,12 @@ export const BatchesApiFp = function(configuration?: Configuration) { /** * Import csv, xls and xlsx data files for: `Beta`
- trackers data - orders data - shipments data - billing data (soon)

**This operation will return a batch operation that you can poll to follow the import progression.** * @summary Import data files - * @param {File} [dataFile] - * @param {string} [dataTemplate] A data template slug to use for the import.<br/> **When nothing is specified, the system default headers are expected.** + * @param {File} [dataFile] + * @param {string} [dataTemplate] A data template slug to use for the import.<br/> **When nothing is specified, the system default headers are expected.** * @param {ImportFileResourceTypeEnum} [resourceType] The type of the resource to import - * @param {string} [resourceType2] - * @param {string} [dataTemplate2] - * @param {File} [dataFile2] + * @param {string} [resourceType2] + * @param {string} [dataTemplate2] + * @param {File} [dataFile2] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12069,7 +12070,7 @@ export const BatchesApiFp = function(configuration?: Configuration) { /** * Retrieve a batch operation. `Beta` * @summary Retrieve a batch operation - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12158,7 +12159,7 @@ export const BatchesApiFactory = function (configuration?: Configuration, basePa */ export interface BatchesApiCreateOrdersRequest { /** - * + * * @type {BatchOrderData} * @memberof BatchesApiCreateOrders */ @@ -12172,7 +12173,7 @@ export interface BatchesApiCreateOrdersRequest { */ export interface BatchesApiCreateShipmentsRequest { /** - * + * * @type {BatchShipmentData} * @memberof BatchesApiCreateShipments */ @@ -12186,7 +12187,7 @@ export interface BatchesApiCreateShipmentsRequest { */ export interface BatchesApiCreateTrackersRequest { /** - * + * * @type {BatchTrackerData} * @memberof BatchesApiCreateTrackers */ @@ -12200,14 +12201,14 @@ export interface BatchesApiCreateTrackersRequest { */ export interface BatchesApiImportFileRequest { /** - * + * * @type {File} * @memberof BatchesApiImportFile */ readonly dataFile?: File /** - * A data template slug to use for the import.<br/> **When nothing is specified, the system default headers are expected.** + * A data template slug to use for the import.<br/> **When nothing is specified, the system default headers are expected.** * @type {string} * @memberof BatchesApiImportFile */ @@ -12221,21 +12222,21 @@ export interface BatchesApiImportFileRequest { readonly resourceType?: ImportFileResourceTypeEnum /** - * + * * @type {string} * @memberof BatchesApiImportFile */ readonly resourceType2?: string /** - * + * * @type {string} * @memberof BatchesApiImportFile */ readonly dataTemplate2?: string /** - * + * * @type {File} * @memberof BatchesApiImportFile */ @@ -12249,7 +12250,7 @@ export interface BatchesApiImportFileRequest { */ export interface BatchesApiRetrieveRequest { /** - * + * * @type {string} * @memberof BatchesApiRetrieve */ @@ -12391,7 +12392,7 @@ export const CarriersApiAxiosParamCreator = function (configuration?: Configurat await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -12404,11 +12405,11 @@ export const CarriersApiAxiosParamCreator = function (configuration?: Configurat /** * Returns the list of configured carriers * @summary List all carriers - * @param {boolean} [active] + * @param {boolean} [active] * @param {string} [carrierName] The unique carrier slug. <br/>Values: `allied_express`, `allied_express_local`, `amazon_shipping`, `aramex`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpdhl`, `easypost`, `eshipper_xml`, `fedex`, `fedex_ws`, `freightcom`, `generic`, `geodis`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`, `royalmail`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `zoom2u` - * @param {string} [metadataKey] - * @param {string} [metadataValue] - * @param {boolean} [systemOnly] + * @param {string} [metadataKey] + * @param {string} [metadataValue] + * @param {boolean} [systemOnly] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12460,7 +12461,7 @@ export const CarriersApiAxiosParamCreator = function (configuration?: Configurat } - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -12473,7 +12474,7 @@ export const CarriersApiAxiosParamCreator = function (configuration?: Configurat /** * Retrieve a carrier account. * @summary Retrieve a carrier account - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12508,7 +12509,7 @@ export const CarriersApiAxiosParamCreator = function (configuration?: Configurat await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -12544,11 +12545,11 @@ export const CarriersApiFp = function(configuration?: Configuration) { /** * Returns the list of configured carriers * @summary List all carriers - * @param {boolean} [active] + * @param {boolean} [active] * @param {string} [carrierName] The unique carrier slug. <br/>Values: `allied_express`, `allied_express_local`, `amazon_shipping`, `aramex`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpdhl`, `easypost`, `eshipper_xml`, `fedex`, `fedex_ws`, `freightcom`, `generic`, `geodis`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`, `royalmail`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `zoom2u` - * @param {string} [metadataKey] - * @param {string} [metadataValue] - * @param {boolean} [systemOnly] + * @param {string} [metadataKey] + * @param {string} [metadataValue] + * @param {boolean} [systemOnly] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12561,7 +12562,7 @@ export const CarriersApiFp = function(configuration?: Configuration) { /** * Retrieve a carrier account. * @summary Retrieve a carrier account - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12635,7 +12636,7 @@ export interface CarriersApiGetServicesRequest { */ export interface CarriersApiListRequest { /** - * + * * @type {boolean} * @memberof CarriersApiList */ @@ -12649,21 +12650,21 @@ export interface CarriersApiListRequest { readonly carrierName?: string /** - * + * * @type {string} * @memberof CarriersApiList */ readonly metadataKey?: string /** - * + * * @type {string} * @memberof CarriersApiList */ readonly metadataValue?: string /** - * + * * @type {boolean} * @memberof CarriersApiList */ @@ -12677,7 +12678,7 @@ export interface CarriersApiListRequest { */ export interface CarriersApiRetrieveRequest { /** - * + * * @type {string} * @memberof CarriersApiRetrieve */ @@ -12739,7 +12740,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura /** * Create a new template. * @summary Create a template - * @param {DocumentTemplateData} documentTemplateData + * @param {DocumentTemplateData} documentTemplateData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12773,7 +12774,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -12789,7 +12790,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura /** * Delete a template. * @summary Delete a template - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12824,7 +12825,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -12837,7 +12838,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura /** * Generate any document. This API is designed to be used to generate GS1 labels, invoices and any document that requires external data. * @summary Generate a document - * @param {DocumentData} [documentData] + * @param {DocumentData} [documentData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12869,7 +12870,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -12916,7 +12917,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -12929,7 +12930,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura /** * Retrieve a template. * @summary Retrieve a template - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -12964,7 +12965,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -12977,7 +12978,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura /** * Retrieve a shipping document upload record. * @summary Retrieve upload record - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13012,7 +13013,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -13025,8 +13026,8 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura /** * update a template. * @summary Update a template - * @param {string} id - * @param {PatchedDocumentTemplateData} [patchedDocumentTemplateData] + * @param {string} id + * @param {PatchedDocumentTemplateData} [patchedDocumentTemplateData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13061,7 +13062,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -13077,7 +13078,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura /** * Upload a shipping document. * @summary Upload documents - * @param {DocumentUploadData} documentUploadData + * @param {DocumentUploadData} documentUploadData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13111,7 +13112,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -13127,9 +13128,9 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura /** * Retrieve all shipping document upload records. * @summary List all upload records - * @param {string} [createdAfter] - * @param {string} [createdBefore] - * @param {string} [shipmentId] + * @param {string} [createdAfter] + * @param {string} [createdBefore] + * @param {string} [shipmentId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13177,7 +13178,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura } - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -13200,7 +13201,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) { /** * Create a new template. * @summary Create a template - * @param {DocumentTemplateData} documentTemplateData + * @param {DocumentTemplateData} documentTemplateData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13213,7 +13214,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) { /** * Delete a template. * @summary Delete a template - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13226,7 +13227,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) { /** * Generate any document. This API is designed to be used to generate GS1 labels, invoices and any document that requires external data. * @summary Generate a document - * @param {DocumentData} [documentData] + * @param {DocumentData} [documentData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13251,7 +13252,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) { /** * Retrieve a template. * @summary Retrieve a template - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13264,7 +13265,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) { /** * Retrieve a shipping document upload record. * @summary Retrieve upload record - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13277,8 +13278,8 @@ export const DocumentsApiFp = function(configuration?: Configuration) { /** * update a template. * @summary Update a template - * @param {string} id - * @param {PatchedDocumentTemplateData} [patchedDocumentTemplateData] + * @param {string} id + * @param {PatchedDocumentTemplateData} [patchedDocumentTemplateData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13291,7 +13292,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) { /** * Upload a shipping document. * @summary Upload documents - * @param {DocumentUploadData} documentUploadData + * @param {DocumentUploadData} documentUploadData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13304,9 +13305,9 @@ export const DocumentsApiFp = function(configuration?: Configuration) { /** * Retrieve all shipping document upload records. * @summary List all upload records - * @param {string} [createdAfter] - * @param {string} [createdBefore] - * @param {string} [shipmentId] + * @param {string} [createdAfter] + * @param {string} [createdBefore] + * @param {string} [shipmentId] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13425,7 +13426,7 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base */ export interface DocumentsApiCreateRequest { /** - * + * * @type {DocumentTemplateData} * @memberof DocumentsApiCreate */ @@ -13439,7 +13440,7 @@ export interface DocumentsApiCreateRequest { */ export interface DocumentsApiDiscardRequest { /** - * + * * @type {string} * @memberof DocumentsApiDiscard */ @@ -13453,7 +13454,7 @@ export interface DocumentsApiDiscardRequest { */ export interface DocumentsApiGenerateDocumentRequest { /** - * + * * @type {DocumentData} * @memberof DocumentsApiGenerateDocument */ @@ -13467,7 +13468,7 @@ export interface DocumentsApiGenerateDocumentRequest { */ export interface DocumentsApiRetrieveRequest { /** - * + * * @type {string} * @memberof DocumentsApiRetrieve */ @@ -13481,7 +13482,7 @@ export interface DocumentsApiRetrieveRequest { */ export interface DocumentsApiRetrieveUploadRequest { /** - * + * * @type {string} * @memberof DocumentsApiRetrieveUpload */ @@ -13495,14 +13496,14 @@ export interface DocumentsApiRetrieveUploadRequest { */ export interface DocumentsApiUpdateRequest { /** - * + * * @type {string} * @memberof DocumentsApiUpdate */ readonly id: string /** - * + * * @type {PatchedDocumentTemplateData} * @memberof DocumentsApiUpdate */ @@ -13516,7 +13517,7 @@ export interface DocumentsApiUpdateRequest { */ export interface DocumentsApiUploadRequest { /** - * + * * @type {DocumentUploadData} * @memberof DocumentsApiUpload */ @@ -13530,21 +13531,21 @@ export interface DocumentsApiUploadRequest { */ export interface DocumentsApiUploadsRequest { /** - * + * * @type {string} * @memberof DocumentsApiUploads */ readonly createdAfter?: string /** - * + * * @type {string} * @memberof DocumentsApiUploads */ readonly createdBefore?: string /** - * + * * @type {string} * @memberof DocumentsApiUploads */ @@ -13677,7 +13678,7 @@ export const ManifestsApiAxiosParamCreator = function (configuration?: Configura /** * Create a manifest for one or many shipments with labels already purchased. * @summary Create a manifest - * @param {ManifestData} manifestData + * @param {ManifestData} manifestData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13711,7 +13712,7 @@ export const ManifestsApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -13728,8 +13729,8 @@ export const ManifestsApiAxiosParamCreator = function (configuration?: Configura * Retrieve all manifests. * @summary List manifests * @param {string} [carrierName] The unique carrier slug. <br/>Values: `allied_express`, `allied_express_local`, `amazon_shipping`, `aramex`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpdhl`, `easypost`, `eshipper_xml`, `fedex`, `fedex_ws`, `freightcom`, `generic`, `geodis`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`, `royalmail`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `zoom2u` - * @param {string} [createdAfter] - * @param {string} [createdBefore] + * @param {string} [createdAfter] + * @param {string} [createdBefore] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13777,7 +13778,7 @@ export const ManifestsApiAxiosParamCreator = function (configuration?: Configura } - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -13790,7 +13791,7 @@ export const ManifestsApiAxiosParamCreator = function (configuration?: Configura /** * Retrieve a shipping manifest. * @summary Retrieve a manifest - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13825,7 +13826,7 @@ export const ManifestsApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -13848,7 +13849,7 @@ export const ManifestsApiFp = function(configuration?: Configuration) { /** * Create a manifest for one or many shipments with labels already purchased. * @summary Create a manifest - * @param {ManifestData} manifestData + * @param {ManifestData} manifestData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13862,8 +13863,8 @@ export const ManifestsApiFp = function(configuration?: Configuration) { * Retrieve all manifests. * @summary List manifests * @param {string} [carrierName] The unique carrier slug. <br/>Values: `allied_express`, `allied_express_local`, `amazon_shipping`, `aramex`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpdhl`, `easypost`, `eshipper_xml`, `fedex`, `fedex_ws`, `freightcom`, `generic`, `geodis`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`, `royalmail`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `zoom2u` - * @param {string} [createdAfter] - * @param {string} [createdBefore] + * @param {string} [createdAfter] + * @param {string} [createdBefore] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13876,7 +13877,7 @@ export const ManifestsApiFp = function(configuration?: Configuration) { /** * Retrieve a shipping manifest. * @summary Retrieve a manifest - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13936,7 +13937,7 @@ export const ManifestsApiFactory = function (configuration?: Configuration, base */ export interface ManifestsApiCreateRequest { /** - * + * * @type {ManifestData} * @memberof ManifestsApiCreate */ @@ -13957,14 +13958,14 @@ export interface ManifestsApiListRequest { readonly carrierName?: string /** - * + * * @type {string} * @memberof ManifestsApiList */ readonly createdAfter?: string /** - * + * * @type {string} * @memberof ManifestsApiList */ @@ -13978,7 +13979,7 @@ export interface ManifestsApiListRequest { */ export interface ManifestsApiRetrieveRequest { /** - * + * * @type {string} * @memberof ManifestsApiRetrieve */ @@ -14040,7 +14041,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio /** * Cancel an order. * @summary Cancel an order - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14075,7 +14076,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -14088,7 +14089,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio /** * Create a new order object. * @summary Create an order - * @param {OrderData} orderData + * @param {OrderData} orderData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14122,7 +14123,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -14138,7 +14139,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio /** * Dismiss an order from fulfillment. * @summary Dismiss an order - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} @@ -14174,7 +14175,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -14218,7 +14219,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -14231,7 +14232,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio /** * Retrieve an order. * @summary Retrieve an order - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14266,7 +14267,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -14279,8 +14280,8 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio /** * This operation allows for updating properties of an order including `options` and `metadata`. It is not for editing the line items of an order. * @summary Update an order - * @param {string} id - * @param {OrderUpdateData} [orderUpdateData] + * @param {string} id + * @param {OrderUpdateData} [orderUpdateData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14315,7 +14316,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -14341,7 +14342,7 @@ export const OrdersApiFp = function(configuration?: Configuration) { /** * Cancel an order. * @summary Cancel an order - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14354,7 +14355,7 @@ export const OrdersApiFp = function(configuration?: Configuration) { /** * Create a new order object. * @summary Create an order - * @param {OrderData} orderData + * @param {OrderData} orderData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14367,7 +14368,7 @@ export const OrdersApiFp = function(configuration?: Configuration) { /** * Dismiss an order from fulfillment. * @summary Dismiss an order - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} @@ -14393,7 +14394,7 @@ export const OrdersApiFp = function(configuration?: Configuration) { /** * Retrieve an order. * @summary Retrieve an order - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14406,8 +14407,8 @@ export const OrdersApiFp = function(configuration?: Configuration) { /** * This operation allows for updating properties of an order including `options` and `metadata`. It is not for editing the line items of an order. * @summary Update an order - * @param {string} id - * @param {OrderUpdateData} [orderUpdateData] + * @param {string} id + * @param {OrderUpdateData} [orderUpdateData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14497,7 +14498,7 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat */ export interface OrdersApiCancelRequest { /** - * + * * @type {string} * @memberof OrdersApiCancel */ @@ -14511,7 +14512,7 @@ export interface OrdersApiCancelRequest { */ export interface OrdersApiCreateRequest { /** - * + * * @type {OrderData} * @memberof OrdersApiCreate */ @@ -14525,7 +14526,7 @@ export interface OrdersApiCreateRequest { */ export interface OrdersApiDismissRequest { /** - * + * * @type {string} * @memberof OrdersApiDismiss */ @@ -14539,7 +14540,7 @@ export interface OrdersApiDismissRequest { */ export interface OrdersApiRetrieveRequest { /** - * + * * @type {string} * @memberof OrdersApiRetrieve */ @@ -14553,14 +14554,14 @@ export interface OrdersApiRetrieveRequest { */ export interface OrdersApiUpdateRequest { /** - * + * * @type {string} * @memberof OrdersApiUpdate */ readonly id: string /** - * + * * @type {OrderUpdateData} * @memberof OrdersApiUpdate */ @@ -14658,7 +14659,7 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati /** * Create a new parcel. * @summary Create a parcel - * @param {ParcelData} parcelData + * @param {ParcelData} parcelData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14692,7 +14693,7 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -14708,7 +14709,7 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati /** * Remove a parcel. * @summary Remove a parcel - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14743,7 +14744,7 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -14787,7 +14788,7 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -14800,7 +14801,7 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati /** * Retrieve a parcel. * @summary Retrieve a parcel - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14835,7 +14836,7 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -14848,8 +14849,8 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati /** * modify an existing parcel\'s details. * @summary Update a parcel - * @param {string} id - * @param {PatchedParcelData} [patchedParcelData] + * @param {string} id + * @param {PatchedParcelData} [patchedParcelData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14884,7 +14885,7 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -14910,7 +14911,7 @@ export const ParcelsApiFp = function(configuration?: Configuration) { /** * Create a new parcel. * @summary Create a parcel - * @param {ParcelData} parcelData + * @param {ParcelData} parcelData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14923,7 +14924,7 @@ export const ParcelsApiFp = function(configuration?: Configuration) { /** * Remove a parcel. * @summary Remove a parcel - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14948,7 +14949,7 @@ export const ParcelsApiFp = function(configuration?: Configuration) { /** * Retrieve a parcel. * @summary Retrieve a parcel - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14961,8 +14962,8 @@ export const ParcelsApiFp = function(configuration?: Configuration) { /** * modify an existing parcel\'s details. * @summary Update a parcel - * @param {string} id - * @param {PatchedParcelData} [patchedParcelData] + * @param {string} id + * @param {PatchedParcelData} [patchedParcelData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15041,7 +15042,7 @@ export const ParcelsApiFactory = function (configuration?: Configuration, basePa */ export interface ParcelsApiCreateRequest { /** - * + * * @type {ParcelData} * @memberof ParcelsApiCreate */ @@ -15055,7 +15056,7 @@ export interface ParcelsApiCreateRequest { */ export interface ParcelsApiDiscardRequest { /** - * + * * @type {string} * @memberof ParcelsApiDiscard */ @@ -15069,7 +15070,7 @@ export interface ParcelsApiDiscardRequest { */ export interface ParcelsApiRetrieveRequest { /** - * + * * @type {string} * @memberof ParcelsApiRetrieve */ @@ -15083,14 +15084,14 @@ export interface ParcelsApiRetrieveRequest { */ export interface ParcelsApiUpdateRequest { /** - * + * * @type {string} * @memberof ParcelsApiUpdate */ readonly id: string /** - * + * * @type {PatchedParcelData} * @memberof ParcelsApiUpdate */ @@ -15175,8 +15176,8 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati /** * Cancel a pickup of one or more shipments. * @summary Cancel a pickup - * @param {string} id - * @param {PickupCancelData} [pickupCancelData] + * @param {string} id + * @param {PickupCancelData} [pickupCancelData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15211,7 +15212,7 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -15258,7 +15259,7 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -15271,7 +15272,7 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati /** * Retrieve a scheduled pickup. * @summary Retrieve a pickup - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15306,7 +15307,7 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -15319,8 +15320,8 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati /** * Schedule a pickup for one or many shipments with labels already purchased. * @summary Schedule a pickup - * @param {string} carrierName - * @param {PickupData} pickupData + * @param {string} carrierName + * @param {PickupData} pickupData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15357,7 +15358,7 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -15373,8 +15374,8 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati /** * Modify a pickup for one or many shipments with labels already purchased. * @summary Update a pickup - * @param {string} id - * @param {PickupUpdateData} pickupUpdateData + * @param {string} id + * @param {PickupUpdateData} pickupUpdateData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15411,7 +15412,7 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -15437,8 +15438,8 @@ export const PickupsApiFp = function(configuration?: Configuration) { /** * Cancel a pickup of one or more shipments. * @summary Cancel a pickup - * @param {string} id - * @param {PickupCancelData} [pickupCancelData] + * @param {string} id + * @param {PickupCancelData} [pickupCancelData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15463,7 +15464,7 @@ export const PickupsApiFp = function(configuration?: Configuration) { /** * Retrieve a scheduled pickup. * @summary Retrieve a pickup - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15476,8 +15477,8 @@ export const PickupsApiFp = function(configuration?: Configuration) { /** * Schedule a pickup for one or many shipments with labels already purchased. * @summary Schedule a pickup - * @param {string} carrierName - * @param {PickupData} pickupData + * @param {string} carrierName + * @param {PickupData} pickupData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15490,8 +15491,8 @@ export const PickupsApiFp = function(configuration?: Configuration) { /** * Modify a pickup for one or many shipments with labels already purchased. * @summary Update a pickup - * @param {string} id - * @param {PickupUpdateData} pickupUpdateData + * @param {string} id + * @param {PickupUpdateData} pickupUpdateData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15570,14 +15571,14 @@ export const PickupsApiFactory = function (configuration?: Configuration, basePa */ export interface PickupsApiCancelRequest { /** - * + * * @type {string} * @memberof PickupsApiCancel */ readonly id: string /** - * + * * @type {PickupCancelData} * @memberof PickupsApiCancel */ @@ -15591,7 +15592,7 @@ export interface PickupsApiCancelRequest { */ export interface PickupsApiRetrieveRequest { /** - * + * * @type {string} * @memberof PickupsApiRetrieve */ @@ -15605,14 +15606,14 @@ export interface PickupsApiRetrieveRequest { */ export interface PickupsApiScheduleRequest { /** - * + * * @type {string} * @memberof PickupsApiSchedule */ readonly carrierName: string /** - * + * * @type {PickupData} * @memberof PickupsApiSchedule */ @@ -15626,14 +15627,14 @@ export interface PickupsApiScheduleRequest { */ export interface PickupsApiUpdateRequest { /** - * + * * @type {string} * @memberof PickupsApiUpdate */ readonly id: string /** - * + * * @type {PickupUpdateData} * @memberof PickupsApiUpdate */ @@ -15718,7 +15719,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration /** * Once the shipping rates are retrieved, provide the required info to submit the shipment by specifying your preferred rate. * @summary Buy a shipment label - * @param {ShippingRequest} shippingRequest + * @param {ShippingRequest} shippingRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15752,7 +15753,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -15768,8 +15769,8 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration /** * Cancel a pickup previously scheduled * @summary Cancel a pickup - * @param {CancelPickupCarrierNameEnum} carrierName - * @param {PickupCancelRequest} pickupCancelRequest + * @param {CancelPickupCarrierNameEnum} carrierName + * @param {PickupCancelRequest} pickupCancelRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15806,7 +15807,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -15820,9 +15821,9 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration }; }, /** - * The Shipping process begins by fetching rates for your shipment. Use this service to fetch a shipping rates available. + * The Shipping process begins by fetching rates for your shipment. Use this service to fetch a shipping rates available. * @summary Fetch shipment rates - * @param {RateRequest} rateRequest + * @param {RateRequest} rateRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15856,7 +15857,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -15870,9 +15871,9 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration }; }, /** - * Some carriers require shipment manifests to be created for pickups and dropoff. Creating a manifest for a shipment also kicks off billing as a commitment or confirmation of the shipment. + * Some carriers require shipment manifests to be created for pickups and dropoff. Creating a manifest for a shipment also kicks off billing as a commitment or confirmation of the shipment. * @summary Create a manifest - * @param {ManifestRequest} manifestRequest + * @param {ManifestRequest} manifestRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15906,7 +15907,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -15922,8 +15923,8 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration /** * You can track a shipment by specifying the carrier and the shipment tracking number. * @summary Get tracking details - * @param {TrackingData} trackingData - * @param {string} [hub] + * @param {TrackingData} trackingData + * @param {string} [hub] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -15961,7 +15962,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration } - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -15977,8 +15978,8 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration /** * Schedule one or many parcels pickup * @summary Schedule a pickup - * @param {SchedulePickupCarrierNameEnum} carrierName - * @param {PickupRequest} pickupRequest + * @param {SchedulePickupCarrierNameEnum} carrierName + * @param {PickupRequest} pickupRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16015,7 +16016,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -16031,9 +16032,9 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration /** * You can track a shipment by specifying the carrier and the shipment tracking number. * @summary Track a shipment - * @param {TrackShipmentCarrierNameEnum} carrierName - * @param {string} trackingNumber - * @param {string} [hub] + * @param {TrackShipmentCarrierNameEnum} carrierName + * @param {string} trackingNumber + * @param {string} [hub] * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} @@ -16076,7 +16077,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration } - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -16089,8 +16090,8 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration /** * Modify a scheduled pickup * @summary Update a pickup - * @param {UpdatePickupCarrierNameEnum} carrierName - * @param {PickupUpdateRequest} pickupUpdateRequest + * @param {UpdatePickupCarrierNameEnum} carrierName + * @param {PickupUpdateRequest} pickupUpdateRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16127,7 +16128,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -16143,8 +16144,8 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration /** * Cancel a shipment and the label previously created * @summary Void a shipment label - * @param {VoidLabelCarrierNameEnum} carrierName - * @param {ShipmentCancelRequest} shipmentCancelRequest + * @param {VoidLabelCarrierNameEnum} carrierName + * @param {ShipmentCancelRequest} shipmentCancelRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16181,7 +16182,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -16207,7 +16208,7 @@ export const ProxyApiFp = function(configuration?: Configuration) { /** * Once the shipping rates are retrieved, provide the required info to submit the shipment by specifying your preferred rate. * @summary Buy a shipment label - * @param {ShippingRequest} shippingRequest + * @param {ShippingRequest} shippingRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16220,8 +16221,8 @@ export const ProxyApiFp = function(configuration?: Configuration) { /** * Cancel a pickup previously scheduled * @summary Cancel a pickup - * @param {CancelPickupCarrierNameEnum} carrierName - * @param {PickupCancelRequest} pickupCancelRequest + * @param {CancelPickupCarrierNameEnum} carrierName + * @param {PickupCancelRequest} pickupCancelRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16232,9 +16233,9 @@ export const ProxyApiFp = function(configuration?: Configuration) { return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, /** - * The Shipping process begins by fetching rates for your shipment. Use this service to fetch a shipping rates available. + * The Shipping process begins by fetching rates for your shipment. Use this service to fetch a shipping rates available. * @summary Fetch shipment rates - * @param {RateRequest} rateRequest + * @param {RateRequest} rateRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16245,9 +16246,9 @@ export const ProxyApiFp = function(configuration?: Configuration) { return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, /** - * Some carriers require shipment manifests to be created for pickups and dropoff. Creating a manifest for a shipment also kicks off billing as a commitment or confirmation of the shipment. + * Some carriers require shipment manifests to be created for pickups and dropoff. Creating a manifest for a shipment also kicks off billing as a commitment or confirmation of the shipment. * @summary Create a manifest - * @param {ManifestRequest} manifestRequest + * @param {ManifestRequest} manifestRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16260,8 +16261,8 @@ export const ProxyApiFp = function(configuration?: Configuration) { /** * You can track a shipment by specifying the carrier and the shipment tracking number. * @summary Get tracking details - * @param {TrackingData} trackingData - * @param {string} [hub] + * @param {TrackingData} trackingData + * @param {string} [hub] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16274,8 +16275,8 @@ export const ProxyApiFp = function(configuration?: Configuration) { /** * Schedule one or many parcels pickup * @summary Schedule a pickup - * @param {SchedulePickupCarrierNameEnum} carrierName - * @param {PickupRequest} pickupRequest + * @param {SchedulePickupCarrierNameEnum} carrierName + * @param {PickupRequest} pickupRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16288,9 +16289,9 @@ export const ProxyApiFp = function(configuration?: Configuration) { /** * You can track a shipment by specifying the carrier and the shipment tracking number. * @summary Track a shipment - * @param {TrackShipmentCarrierNameEnum} carrierName - * @param {string} trackingNumber - * @param {string} [hub] + * @param {TrackShipmentCarrierNameEnum} carrierName + * @param {string} trackingNumber + * @param {string} [hub] * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} @@ -16304,8 +16305,8 @@ export const ProxyApiFp = function(configuration?: Configuration) { /** * Modify a scheduled pickup * @summary Update a pickup - * @param {UpdatePickupCarrierNameEnum} carrierName - * @param {PickupUpdateRequest} pickupUpdateRequest + * @param {UpdatePickupCarrierNameEnum} carrierName + * @param {PickupUpdateRequest} pickupUpdateRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16318,8 +16319,8 @@ export const ProxyApiFp = function(configuration?: Configuration) { /** * Cancel a shipment and the label previously created * @summary Void a shipment label - * @param {VoidLabelCarrierNameEnum} carrierName - * @param {ShipmentCancelRequest} shipmentCancelRequest + * @param {VoidLabelCarrierNameEnum} carrierName + * @param {ShipmentCancelRequest} shipmentCancelRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16360,7 +16361,7 @@ export const ProxyApiFactory = function (configuration?: Configuration, basePath return localVarFp.cancelPickup(requestParameters.carrierName, requestParameters.pickupCancelRequest, options).then((request) => request(axios, basePath)); }, /** - * The Shipping process begins by fetching rates for your shipment. Use this service to fetch a shipping rates available. + * The Shipping process begins by fetching rates for your shipment. Use this service to fetch a shipping rates available. * @summary Fetch shipment rates * @param {ProxyApiFetchRatesRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. @@ -16370,7 +16371,7 @@ export const ProxyApiFactory = function (configuration?: Configuration, basePath return localVarFp.fetchRates(requestParameters.rateRequest, options).then((request) => request(axios, basePath)); }, /** - * Some carriers require shipment manifests to be created for pickups and dropoff. Creating a manifest for a shipment also kicks off billing as a commitment or confirmation of the shipment. + * Some carriers require shipment manifests to be created for pickups and dropoff. Creating a manifest for a shipment also kicks off billing as a commitment or confirmation of the shipment. * @summary Create a manifest * @param {ProxyApiGenerateManifestRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. @@ -16440,7 +16441,7 @@ export const ProxyApiFactory = function (configuration?: Configuration, basePath */ export interface ProxyApiBuyLabelRequest { /** - * + * * @type {ShippingRequest} * @memberof ProxyApiBuyLabel */ @@ -16454,14 +16455,14 @@ export interface ProxyApiBuyLabelRequest { */ export interface ProxyApiCancelPickupRequest { /** - * + * * @type {'allied_express' | 'allied_express_local' | 'amazon_shipping' | 'aramex' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpdhl' | 'easypost' | 'eshipper_xml' | 'fedex' | 'fedex_ws' | 'freightcom' | 'generic' | 'geodis' | 'laposte' | 'locate2u' | 'nationex' | 'purolator' | 'roadie' | 'royalmail' | 'sendle' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'zoom2u'} * @memberof ProxyApiCancelPickup */ readonly carrierName: CancelPickupCarrierNameEnum /** - * + * * @type {PickupCancelRequest} * @memberof ProxyApiCancelPickup */ @@ -16475,7 +16476,7 @@ export interface ProxyApiCancelPickupRequest { */ export interface ProxyApiFetchRatesRequest { /** - * + * * @type {RateRequest} * @memberof ProxyApiFetchRates */ @@ -16489,7 +16490,7 @@ export interface ProxyApiFetchRatesRequest { */ export interface ProxyApiGenerateManifestRequest { /** - * + * * @type {ManifestRequest} * @memberof ProxyApiGenerateManifest */ @@ -16503,14 +16504,14 @@ export interface ProxyApiGenerateManifestRequest { */ export interface ProxyApiGetTrackingRequest { /** - * + * * @type {TrackingData} * @memberof ProxyApiGetTracking */ readonly trackingData: TrackingData /** - * + * * @type {string} * @memberof ProxyApiGetTracking */ @@ -16524,14 +16525,14 @@ export interface ProxyApiGetTrackingRequest { */ export interface ProxyApiSchedulePickupRequest { /** - * + * * @type {'allied_express' | 'allied_express_local' | 'amazon_shipping' | 'aramex' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpdhl' | 'easypost' | 'eshipper_xml' | 'fedex' | 'fedex_ws' | 'freightcom' | 'generic' | 'geodis' | 'laposte' | 'locate2u' | 'nationex' | 'purolator' | 'roadie' | 'royalmail' | 'sendle' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'zoom2u'} * @memberof ProxyApiSchedulePickup */ readonly carrierName: SchedulePickupCarrierNameEnum /** - * + * * @type {PickupRequest} * @memberof ProxyApiSchedulePickup */ @@ -16545,21 +16546,21 @@ export interface ProxyApiSchedulePickupRequest { */ export interface ProxyApiTrackShipmentRequest { /** - * + * * @type {'allied_express' | 'allied_express_local' | 'amazon_shipping' | 'aramex' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpdhl' | 'fedex' | 'fedex_ws' | 'generic' | 'geodis' | 'laposte' | 'locate2u' | 'nationex' | 'purolator' | 'roadie' | 'royalmail' | 'sendle' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'zoom2u'} * @memberof ProxyApiTrackShipment */ readonly carrierName: TrackShipmentCarrierNameEnum /** - * + * * @type {string} * @memberof ProxyApiTrackShipment */ readonly trackingNumber: string /** - * + * * @type {string} * @memberof ProxyApiTrackShipment */ @@ -16573,14 +16574,14 @@ export interface ProxyApiTrackShipmentRequest { */ export interface ProxyApiUpdatePickupRequest { /** - * + * * @type {'allied_express' | 'allied_express_local' | 'amazon_shipping' | 'aramex' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpdhl' | 'easypost' | 'eshipper_xml' | 'fedex' | 'fedex_ws' | 'freightcom' | 'generic' | 'geodis' | 'laposte' | 'locate2u' | 'nationex' | 'purolator' | 'roadie' | 'royalmail' | 'sendle' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'zoom2u'} * @memberof ProxyApiUpdatePickup */ readonly carrierName: UpdatePickupCarrierNameEnum /** - * + * * @type {PickupUpdateRequest} * @memberof ProxyApiUpdatePickup */ @@ -16594,14 +16595,14 @@ export interface ProxyApiUpdatePickupRequest { */ export interface ProxyApiVoidLabelRequest { /** - * + * * @type {'allied_express' | 'allied_express_local' | 'amazon_shipping' | 'aramex' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpdhl' | 'easypost' | 'eshipper_xml' | 'fedex' | 'fedex_ws' | 'freightcom' | 'generic' | 'geodis' | 'laposte' | 'locate2u' | 'nationex' | 'purolator' | 'roadie' | 'royalmail' | 'sendle' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'zoom2u'} * @memberof ProxyApiVoidLabel */ readonly carrierName: VoidLabelCarrierNameEnum /** - * + * * @type {ShipmentCancelRequest} * @memberof ProxyApiVoidLabel */ @@ -16640,7 +16641,7 @@ export class ProxyApi extends BaseAPI { } /** - * The Shipping process begins by fetching rates for your shipment. Use this service to fetch a shipping rates available. + * The Shipping process begins by fetching rates for your shipment. Use this service to fetch a shipping rates available. * @summary Fetch shipment rates * @param {ProxyApiFetchRatesRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. @@ -16652,7 +16653,7 @@ export class ProxyApi extends BaseAPI { } /** - * Some carriers require shipment manifests to be created for pickups and dropoff. Creating a manifest for a shipment also kicks off billing as a commitment or confirmation of the shipment. + * Some carriers require shipment manifests to be created for pickups and dropoff. Creating a manifest for a shipment also kicks off billing as a commitment or confirmation of the shipment. * @summary Create a manifest * @param {ProxyApiGenerateManifestRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. @@ -16958,7 +16959,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura /** * Void a shipment with the associated label. * @summary Cancel a shipment - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -16993,7 +16994,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -17006,7 +17007,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura /** * Create a new shipment instance. * @summary Create a shipment - * @param {ShipmentData} shipmentData + * @param {ShipmentData} shipmentData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17040,7 +17041,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -17056,24 +17057,24 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura /** * Retrieve all shipments. * @summary List all shipments - * @param {string} [address] + * @param {string} [address] * @param {string} [carrierName] The unique carrier slug. <br/>Values: `allied_express`, `allied_express_local`, `amazon_shipping`, `aramex`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpdhl`, `easypost`, `eshipper_xml`, `fedex`, `fedex_ws`, `freightcom`, `generic`, `geodis`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`, `royalmail`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `zoom2u` - * @param {string} [createdAfter] - * @param {string} [createdBefore] - * @param {boolean} [hasManifest] - * @param {boolean} [hasTracker] - * @param {string} [id] - * @param {string} [keyword] - * @param {string} [metaKey] - * @param {string} [metaValue] - * @param {string} [metadataKey] - * @param {string} [metadataValue] - * @param {string} [optionKey] - * @param {string} [optionValue] - * @param {string} [reference] - * @param {string} [service] + * @param {string} [createdAfter] + * @param {string} [createdBefore] + * @param {boolean} [hasManifest] + * @param {boolean} [hasTracker] + * @param {string} [id] + * @param {string} [keyword] + * @param {string} [metaKey] + * @param {string} [metaValue] + * @param {string} [metadataKey] + * @param {string} [metadataValue] + * @param {string} [optionKey] + * @param {string} [optionValue] + * @param {string} [reference] + * @param {string} [service] * @param {string} [status] Valid shipment status. <br/>Values: `draft`, `purchased`, `cancelled`, `shipped`, `in_transit`, `delivered`, `needs_attention`, `out_for_delivery`, `delivery_failed` - * @param {string} [trackingNumber] + * @param {string} [trackingNumber] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17181,7 +17182,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura } - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -17194,8 +17195,8 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura /** * Select your preferred rates to buy a shipment label. * @summary Buy a shipment label - * @param {string} id - * @param {ShipmentPurchaseData} shipmentPurchaseData + * @param {string} id + * @param {ShipmentPurchaseData} shipmentPurchaseData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17232,7 +17233,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -17248,8 +17249,8 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura /** * Refresh the list of the shipment rates * @summary Fetch new shipment rates - * @param {string} id - * @param {ShipmentRateData} [shipmentRateData] + * @param {string} id + * @param {ShipmentRateData} [shipmentRateData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17284,7 +17285,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -17300,7 +17301,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura /** * Retrieve a shipment. * @summary Retrieve a shipment - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17335,7 +17336,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -17348,8 +17349,8 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura /** * This operation allows for updating properties of a shipment including `label_type`, `reference`, `payment`, `options` and `metadata`. It is not for editing the parcels of a shipment. * @summary Update a shipment - * @param {string} id - * @param {ShipmentUpdateData} [shipmentUpdateData] + * @param {string} id + * @param {ShipmentUpdateData} [shipmentUpdateData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17384,7 +17385,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -17410,7 +17411,7 @@ export const ShipmentsApiFp = function(configuration?: Configuration) { /** * Void a shipment with the associated label. * @summary Cancel a shipment - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17423,7 +17424,7 @@ export const ShipmentsApiFp = function(configuration?: Configuration) { /** * Create a new shipment instance. * @summary Create a shipment - * @param {ShipmentData} shipmentData + * @param {ShipmentData} shipmentData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17436,24 +17437,24 @@ export const ShipmentsApiFp = function(configuration?: Configuration) { /** * Retrieve all shipments. * @summary List all shipments - * @param {string} [address] + * @param {string} [address] * @param {string} [carrierName] The unique carrier slug. <br/>Values: `allied_express`, `allied_express_local`, `amazon_shipping`, `aramex`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpdhl`, `easypost`, `eshipper_xml`, `fedex`, `fedex_ws`, `freightcom`, `generic`, `geodis`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`, `royalmail`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `zoom2u` - * @param {string} [createdAfter] - * @param {string} [createdBefore] - * @param {boolean} [hasManifest] - * @param {boolean} [hasTracker] - * @param {string} [id] - * @param {string} [keyword] - * @param {string} [metaKey] - * @param {string} [metaValue] - * @param {string} [metadataKey] - * @param {string} [metadataValue] - * @param {string} [optionKey] - * @param {string} [optionValue] - * @param {string} [reference] - * @param {string} [service] + * @param {string} [createdAfter] + * @param {string} [createdBefore] + * @param {boolean} [hasManifest] + * @param {boolean} [hasTracker] + * @param {string} [id] + * @param {string} [keyword] + * @param {string} [metaKey] + * @param {string} [metaValue] + * @param {string} [metadataKey] + * @param {string} [metadataValue] + * @param {string} [optionKey] + * @param {string} [optionValue] + * @param {string} [reference] + * @param {string} [service] * @param {string} [status] Valid shipment status. <br/>Values: `draft`, `purchased`, `cancelled`, `shipped`, `in_transit`, `delivered`, `needs_attention`, `out_for_delivery`, `delivery_failed` - * @param {string} [trackingNumber] + * @param {string} [trackingNumber] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17466,8 +17467,8 @@ export const ShipmentsApiFp = function(configuration?: Configuration) { /** * Select your preferred rates to buy a shipment label. * @summary Buy a shipment label - * @param {string} id - * @param {ShipmentPurchaseData} shipmentPurchaseData + * @param {string} id + * @param {ShipmentPurchaseData} shipmentPurchaseData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17480,8 +17481,8 @@ export const ShipmentsApiFp = function(configuration?: Configuration) { /** * Refresh the list of the shipment rates * @summary Fetch new shipment rates - * @param {string} id - * @param {ShipmentRateData} [shipmentRateData] + * @param {string} id + * @param {ShipmentRateData} [shipmentRateData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17494,7 +17495,7 @@ export const ShipmentsApiFp = function(configuration?: Configuration) { /** * Retrieve a shipment. * @summary Retrieve a shipment - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17507,8 +17508,8 @@ export const ShipmentsApiFp = function(configuration?: Configuration) { /** * This operation allows for updating properties of a shipment including `label_type`, `reference`, `payment`, `options` and `metadata`. It is not for editing the parcels of a shipment. * @summary Update a shipment - * @param {string} id - * @param {ShipmentUpdateData} [shipmentUpdateData] + * @param {string} id + * @param {ShipmentUpdateData} [shipmentUpdateData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -17608,7 +17609,7 @@ export const ShipmentsApiFactory = function (configuration?: Configuration, base */ export interface ShipmentsApiCancelRequest { /** - * + * * @type {string} * @memberof ShipmentsApiCancel */ @@ -17622,7 +17623,7 @@ export interface ShipmentsApiCancelRequest { */ export interface ShipmentsApiCreateRequest { /** - * + * * @type {ShipmentData} * @memberof ShipmentsApiCreate */ @@ -17636,7 +17637,7 @@ export interface ShipmentsApiCreateRequest { */ export interface ShipmentsApiListRequest { /** - * + * * @type {string} * @memberof ShipmentsApiList */ @@ -17650,98 +17651,98 @@ export interface ShipmentsApiListRequest { readonly carrierName?: string /** - * + * * @type {string} * @memberof ShipmentsApiList */ readonly createdAfter?: string /** - * + * * @type {string} * @memberof ShipmentsApiList */ readonly createdBefore?: string /** - * + * * @type {boolean} * @memberof ShipmentsApiList */ readonly hasManifest?: boolean /** - * + * * @type {boolean} * @memberof ShipmentsApiList */ readonly hasTracker?: boolean /** - * + * * @type {string} * @memberof ShipmentsApiList */ readonly id?: string /** - * + * * @type {string} * @memberof ShipmentsApiList */ readonly keyword?: string /** - * + * * @type {string} * @memberof ShipmentsApiList */ readonly metaKey?: string /** - * + * * @type {string} * @memberof ShipmentsApiList */ readonly metaValue?: string /** - * + * * @type {string} * @memberof ShipmentsApiList */ readonly metadataKey?: string /** - * + * * @type {string} * @memberof ShipmentsApiList */ readonly metadataValue?: string /** - * + * * @type {string} * @memberof ShipmentsApiList */ readonly optionKey?: string /** - * + * * @type {string} * @memberof ShipmentsApiList */ readonly optionValue?: string /** - * + * * @type {string} * @memberof ShipmentsApiList */ readonly reference?: string /** - * + * * @type {string} * @memberof ShipmentsApiList */ @@ -17755,7 +17756,7 @@ export interface ShipmentsApiListRequest { readonly status?: string /** - * + * * @type {string} * @memberof ShipmentsApiList */ @@ -17769,14 +17770,14 @@ export interface ShipmentsApiListRequest { */ export interface ShipmentsApiPurchaseRequest { /** - * + * * @type {string} * @memberof ShipmentsApiPurchase */ readonly id: string /** - * + * * @type {ShipmentPurchaseData} * @memberof ShipmentsApiPurchase */ @@ -17790,14 +17791,14 @@ export interface ShipmentsApiPurchaseRequest { */ export interface ShipmentsApiRatesRequest { /** - * + * * @type {string} * @memberof ShipmentsApiRates */ readonly id: string /** - * + * * @type {ShipmentRateData} * @memberof ShipmentsApiRates */ @@ -17811,7 +17812,7 @@ export interface ShipmentsApiRatesRequest { */ export interface ShipmentsApiRetrieveRequest { /** - * + * * @type {string} * @memberof ShipmentsApiRetrieve */ @@ -17825,14 +17826,14 @@ export interface ShipmentsApiRetrieveRequest { */ export interface ShipmentsApiUpdateRequest { /** - * + * * @type {string} * @memberof ShipmentsApiUpdate */ readonly id: string /** - * + * * @type {ShipmentUpdateData} * @memberof ShipmentsApiUpdate */ @@ -17942,8 +17943,8 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat /** * This API creates or retrieves (if existent) a tracking status object containing the details and events of a shipping in progress. * @summary Add a package tracker - * @param {TrackingData} trackingData - * @param {string} [hub] + * @param {TrackingData} trackingData + * @param {string} [hub] * @param {boolean} [pendingPickup] Add this flag to add the tracker whether the tracking info exist or not.When the package is eventually picked up, the tracker with capture real time updates. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -17986,7 +17987,7 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat } - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -18002,10 +18003,10 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat /** * This API creates or retrieves (if existent) a tracking status object containing the details and events of a shipping in progress. * @summary Create a package tracker - * @param {string} carrierName - * @param {CreateCarrierNameEnum} carrierName2 - * @param {string} trackingNumber - * @param {string} [hub] + * @param {string} carrierName + * @param {CreateCarrierNameEnum} carrierName2 + * @param {string} trackingNumber + * @param {string} [hub] * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} @@ -18054,7 +18055,7 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat } - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -18068,10 +18069,10 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat * Retrieve all shipment trackers. * @summary List all package trackers * @param {string} [carrierName] The unique carrier slug. <br/>Values: `allied_express`, `allied_express_local`, `amazon_shipping`, `aramex`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpdhl`, `easypost`, `eshipper_xml`, `fedex`, `fedex_ws`, `freightcom`, `generic`, `geodis`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`, `royalmail`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `zoom2u` - * @param {string} [createdAfter] - * @param {string} [createdBefore] + * @param {string} [createdAfter] + * @param {string} [createdBefore] * @param {string} [status] Valid tracker status. <br/>Values: `pending`, `unknown`, `on_hold`, `delivered`, `in_transit`, `delivery_delayed`, `out_for_delivery`, `ready_for_pickup`, `delivery_failed` - * @param {string} [trackingNumber] + * @param {string} [trackingNumber] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -18127,7 +18128,7 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat } - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -18140,7 +18141,7 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat /** * Discard a package tracker. * @summary Discard a package tracker - * @param {string} idOrTrackingNumber + * @param {string} idOrTrackingNumber * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -18175,7 +18176,7 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -18188,7 +18189,7 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat /** * Retrieve a package tracker * @summary Retrieves a package tracker - * @param {string} idOrTrackingNumber + * @param {string} idOrTrackingNumber * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -18223,7 +18224,7 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -18236,8 +18237,8 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat /** * Mixin to log requests * @summary Update tracker data - * @param {string} idOrTrackingNumber - * @param {TrackerUpdateData} [trackerUpdateData] + * @param {string} idOrTrackingNumber + * @param {TrackerUpdateData} [trackerUpdateData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -18272,7 +18273,7 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -18298,8 +18299,8 @@ export const TrackersApiFp = function(configuration?: Configuration) { /** * This API creates or retrieves (if existent) a tracking status object containing the details and events of a shipping in progress. * @summary Add a package tracker - * @param {TrackingData} trackingData - * @param {string} [hub] + * @param {TrackingData} trackingData + * @param {string} [hub] * @param {boolean} [pendingPickup] Add this flag to add the tracker whether the tracking info exist or not.When the package is eventually picked up, the tracker with capture real time updates. * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -18313,10 +18314,10 @@ export const TrackersApiFp = function(configuration?: Configuration) { /** * This API creates or retrieves (if existent) a tracking status object containing the details and events of a shipping in progress. * @summary Create a package tracker - * @param {string} carrierName - * @param {CreateCarrierNameEnum} carrierName2 - * @param {string} trackingNumber - * @param {string} [hub] + * @param {string} carrierName + * @param {CreateCarrierNameEnum} carrierName2 + * @param {string} trackingNumber + * @param {string} [hub] * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} @@ -18331,10 +18332,10 @@ export const TrackersApiFp = function(configuration?: Configuration) { * Retrieve all shipment trackers. * @summary List all package trackers * @param {string} [carrierName] The unique carrier slug. <br/>Values: `allied_express`, `allied_express_local`, `amazon_shipping`, `aramex`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpdhl`, `easypost`, `eshipper_xml`, `fedex`, `fedex_ws`, `freightcom`, `generic`, `geodis`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`, `royalmail`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `zoom2u` - * @param {string} [createdAfter] - * @param {string} [createdBefore] + * @param {string} [createdAfter] + * @param {string} [createdBefore] * @param {string} [status] Valid tracker status. <br/>Values: `pending`, `unknown`, `on_hold`, `delivered`, `in_transit`, `delivery_delayed`, `out_for_delivery`, `ready_for_pickup`, `delivery_failed` - * @param {string} [trackingNumber] + * @param {string} [trackingNumber] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -18347,7 +18348,7 @@ export const TrackersApiFp = function(configuration?: Configuration) { /** * Discard a package tracker. * @summary Discard a package tracker - * @param {string} idOrTrackingNumber + * @param {string} idOrTrackingNumber * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -18360,7 +18361,7 @@ export const TrackersApiFp = function(configuration?: Configuration) { /** * Retrieve a package tracker * @summary Retrieves a package tracker - * @param {string} idOrTrackingNumber + * @param {string} idOrTrackingNumber * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -18373,8 +18374,8 @@ export const TrackersApiFp = function(configuration?: Configuration) { /** * Mixin to log requests * @summary Update tracker data - * @param {string} idOrTrackingNumber - * @param {TrackerUpdateData} [trackerUpdateData] + * @param {string} idOrTrackingNumber + * @param {TrackerUpdateData} [trackerUpdateData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -18465,14 +18466,14 @@ export const TrackersApiFactory = function (configuration?: Configuration, baseP */ export interface TrackersApiAddRequest { /** - * + * * @type {TrackingData} * @memberof TrackersApiAdd */ readonly trackingData: TrackingData /** - * + * * @type {string} * @memberof TrackersApiAdd */ @@ -18493,28 +18494,28 @@ export interface TrackersApiAddRequest { */ export interface TrackersApiCreateRequest { /** - * + * * @type {string} * @memberof TrackersApiCreate */ readonly carrierName: string /** - * + * * @type {'allied_express' | 'allied_express_local' | 'amazon_shipping' | 'aramex' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpdhl' | 'fedex' | 'fedex_ws' | 'generic' | 'geodis' | 'laposte' | 'locate2u' | 'nationex' | 'purolator' | 'roadie' | 'royalmail' | 'sendle' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'zoom2u'} * @memberof TrackersApiCreate */ readonly carrierName2: CreateCarrierNameEnum /** - * + * * @type {string} * @memberof TrackersApiCreate */ readonly trackingNumber: string /** - * + * * @type {string} * @memberof TrackersApiCreate */ @@ -18535,14 +18536,14 @@ export interface TrackersApiListRequest { readonly carrierName?: string /** - * + * * @type {string} * @memberof TrackersApiList */ readonly createdAfter?: string /** - * + * * @type {string} * @memberof TrackersApiList */ @@ -18556,7 +18557,7 @@ export interface TrackersApiListRequest { readonly status?: string /** - * + * * @type {string} * @memberof TrackersApiList */ @@ -18570,7 +18571,7 @@ export interface TrackersApiListRequest { */ export interface TrackersApiRemoveRequest { /** - * + * * @type {string} * @memberof TrackersApiRemove */ @@ -18584,7 +18585,7 @@ export interface TrackersApiRemoveRequest { */ export interface TrackersApiRetrieveRequest { /** - * + * * @type {string} * @memberof TrackersApiRetrieve */ @@ -18598,14 +18599,14 @@ export interface TrackersApiRetrieveRequest { */ export interface TrackersApiUpdateRequest { /** - * + * * @type {string} * @memberof TrackersApiUpdate */ readonly idOrTrackingNumber: string /** - * + * * @type {TrackerUpdateData} * @memberof TrackersApiUpdate */ @@ -18746,7 +18747,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat /** * Create a new webhook. * @summary Create a webhook - * @param {WebhookData} webhookData + * @param {WebhookData} webhookData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -18780,7 +18781,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -18827,7 +18828,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -18840,7 +18841,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat /** * Remove a webhook. * @summary Remove a webhook - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -18875,7 +18876,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -18888,7 +18889,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat /** * Retrieve a webhook. * @summary Retrieve a webhook - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -18923,7 +18924,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -18936,8 +18937,8 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat /** * test a webhook. * @summary Test a webhook - * @param {string} id - * @param {WebhookTestRequest} webhookTestRequest + * @param {string} id + * @param {WebhookTestRequest} webhookTestRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -18974,7 +18975,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -18990,8 +18991,8 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat /** * update a webhook. * @summary Update a webhook - * @param {string} id - * @param {PatchedWebhookData} [patchedWebhookData] + * @param {string} id + * @param {PatchedWebhookData} [patchedWebhookData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -19026,7 +19027,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -19052,7 +19053,7 @@ export const WebhooksApiFp = function(configuration?: Configuration) { /** * Create a new webhook. * @summary Create a webhook - * @param {WebhookData} webhookData + * @param {WebhookData} webhookData * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -19077,7 +19078,7 @@ export const WebhooksApiFp = function(configuration?: Configuration) { /** * Remove a webhook. * @summary Remove a webhook - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -19090,7 +19091,7 @@ export const WebhooksApiFp = function(configuration?: Configuration) { /** * Retrieve a webhook. * @summary Retrieve a webhook - * @param {string} id + * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -19103,8 +19104,8 @@ export const WebhooksApiFp = function(configuration?: Configuration) { /** * test a webhook. * @summary Test a webhook - * @param {string} id - * @param {WebhookTestRequest} webhookTestRequest + * @param {string} id + * @param {WebhookTestRequest} webhookTestRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -19117,8 +19118,8 @@ export const WebhooksApiFp = function(configuration?: Configuration) { /** * update a webhook. * @summary Update a webhook - * @param {string} id - * @param {PatchedWebhookData} [patchedWebhookData] + * @param {string} id + * @param {PatchedWebhookData} [patchedWebhookData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -19207,7 +19208,7 @@ export const WebhooksApiFactory = function (configuration?: Configuration, baseP */ export interface WebhooksApiCreateRequest { /** - * + * * @type {WebhookData} * @memberof WebhooksApiCreate */ @@ -19221,7 +19222,7 @@ export interface WebhooksApiCreateRequest { */ export interface WebhooksApiRemoveRequest { /** - * + * * @type {string} * @memberof WebhooksApiRemove */ @@ -19235,7 +19236,7 @@ export interface WebhooksApiRemoveRequest { */ export interface WebhooksApiRetrieveRequest { /** - * + * * @type {string} * @memberof WebhooksApiRetrieve */ @@ -19249,14 +19250,14 @@ export interface WebhooksApiRetrieveRequest { */ export interface WebhooksApiTestRequest { /** - * + * * @type {string} * @memberof WebhooksApiTest */ readonly id: string /** - * + * * @type {WebhookTestRequest} * @memberof WebhooksApiTest */ @@ -19270,14 +19271,14 @@ export interface WebhooksApiTestRequest { */ export interface WebhooksApiUpdateRequest { /** - * + * * @type {string} * @memberof WebhooksApiUpdate */ readonly id: string /** - * + * * @type {PatchedWebhookData} * @memberof WebhooksApiUpdate */ @@ -19362,6 +19363,3 @@ export class WebhooksApi extends BaseAPI { return WebhooksApiFp(this.configuration).update(requestParameters.id, requestParameters.patchedWebhookData, options).then((request) => request(this.axios, this.basePath)); } } - - - diff --git a/packages/ui/modals/connect-provider-modal.tsx b/packages/ui/modals/connect-provider-modal.tsx index 48467a0037..76a99d8faf 100644 --- a/packages/ui/modals/connect-provider-modal.tsx +++ b/packages/ui/modals/connect-provider-modal.tsx @@ -1781,6 +1781,15 @@ function fieldState(carrier_name: CarrierNameType, property: string) { ["api_key", true], ["account_country_code"], ], + [CarrierSettingsCarrierNameEnum.NinjaVan]: [ + ["carrier_id", true], + ["api_key"], + ["secret_key"], + ["track_api_key"], + ["track_secret_key"], + ["account_number"], + ["account_country_code"], + ], [NoneEnum.none]: [], }[carrier_name] || [] ).find(([_, ...__]) => _ === property) || []; @@ -1801,4 +1810,3 @@ function fieldState(carrier_name: CarrierNameType, property: string) { export function useConnectCarrierModal() { return useContext(ConnectProviderModalContext); } - diff --git a/requirements.sdk.dev.txt b/requirements.sdk.dev.txt index be5140bc37..9f7a20ee06 100644 --- a/requirements.sdk.dev.txt +++ b/requirements.sdk.dev.txt @@ -41,3 +41,4 @@ -e ./modules/connectors/freightcom -e ./modules/connectors/locate2u -e ./modules/connectors/zoom2u +-e ./modules/connectors/ninja_van diff --git a/requirements.server.dev.txt b/requirements.server.dev.txt index 41001e8a4f..cc57650b93 100644 --- a/requirements.server.dev.txt +++ b/requirements.server.dev.txt @@ -43,6 +43,7 @@ Django==4.2.11 -e ./modules/connectors/freightcom -e ./modules/connectors/locate2u -e ./modules/connectors/zoom2u +-e ./modules/connectors/ninja_van # karrio server modules diff --git a/schemas/graphql.json b/schemas/graphql.json index dad967660a..6e2d589587 100644 --- a/schemas/graphql.json +++ b/schemas/graphql.json @@ -1127,441 +1127,6 @@ }, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "auditlog", - "description": null, - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AuditLogEntryType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "auditlogs", - "description": null, - "args": [ - { - "name": "filter", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "AuditLogEntryFilter", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AuditLogEntryTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "workflow", - "description": null, - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "WorkflowType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "workflows", - "description": null, - "args": [ - { - "name": "filter", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "WorkflowFilter", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "workflow_action", - "description": null, - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "WorkflowActionType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "workflow_actions", - "description": null, - "args": [ - { - "name": "filter", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "WorkflowActionFilter", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowActionTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "workflow_connection", - "description": null, - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "WorkflowConnectionType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "workflow_connections", - "description": null, - "args": [ - { - "name": "filter", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "WorkflowConnectionFilter", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowConnectionTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "workflow_event", - "description": null, - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "WorkflowEventType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "workflow_events", - "description": null, - "args": [ - { - "name": "filter", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "WorkflowEventFilter", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowEventTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "workflow_templates", - "description": null, - "args": [ - { - "name": "filter", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "WorkflowFilter", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowTemplateTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "workflow_action_templates", - "description": null, - "args": [ - { - "name": "filter", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "WorkflowActionFilter", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowActionTemplateTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "workflow_connection_templates", - "description": null, - "args": [ - { - "name": "filter", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "WorkflowConnectionFilter", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowConnectionTemplateTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organization", - "description": null, - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "OrganizationType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organizations", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OrganizationType", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organization_invitation", - "description": null, - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "guid", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "OrganizationInvitationType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null } ], "inputFields": null, @@ -24156,4764 +23721,11 @@ }, { "kind": "OBJECT", - "name": "AuditLogEntryType", - "description": null, - "fields": [ - { - "name": "object_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "object_pk", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "object_id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "object_str", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "action", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "LogEntryAction", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "LogEntryAction", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "create", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "update", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "delete", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "AuditLogEntryFilter", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "object_pk", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "action", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "AuditLogEntryTypeConnection", - "description": null, - "fields": [ - { - "name": "page_info", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AuditLogEntryTypeEdge", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "AuditLogEntryTypeEdge", - "description": null, - "fields": [ - { - "name": "node", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AuditLogEntryType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowType", - "description": null, - "fields": [ - { - "name": "object_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "slug", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "trigger", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "WorkflowTriggerType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "template_slug", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "action_nodes", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowActionNodeType", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "actions", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowActionType", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "metadata", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowTriggerType", - "description": null, - "fields": [ - { - "name": "object_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "slug", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "trigger_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "AutomationTriggerType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "schedule", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "template_slug", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "secret", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "secret_key", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "AutomationTriggerType", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "manual", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "scheduled", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "webhook", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowActionNodeType", - "description": null, - "fields": [ - { - "name": "order", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "slug", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowActionType", - "description": null, - "fields": [ - { - "name": "object_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "slug", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "action_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "AutomationActionType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "port", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "host", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "endpoint", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "method", - "description": null, - "args": [], - "type": { - "kind": "ENUM", - "name": "AutomationHTTPMethod", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "parameters_type", - "description": null, - "args": [], - "type": { - "kind": "ENUM", - "name": "AutomationParametersType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "parameters_template", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "header_template", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "content_type", - "description": null, - "args": [], - "type": { - "kind": "ENUM", - "name": "AutomationHTTPContentType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "connection", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "WorkflowConnectionType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "template_slug", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "metafields", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MetafieldType", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "metadata", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "AutomationActionType", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "http_request", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "data_mapping", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "function_call", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "conditional", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "AutomationHTTPMethod", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "get", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "post", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "put", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "patch", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "delete", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "AutomationParametersType", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "data", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "querystring", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "AutomationHTTPContentType", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "json", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "form", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "text", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "xml", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowConnectionType", - "description": null, - "fields": [ - { - "name": "object_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "slug", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "auth_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "AutomationAuthType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "port", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "host", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "endpoint", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "parameters_template", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "auth_template", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "template_slug", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "metafields", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MetafieldType", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "credentials", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "metadata", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "AutomationAuthType", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "basic", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "oauth2", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "api_key", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "jwt", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "MetafieldType", - "description": null, - "fields": [ - { - "name": "object_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "key", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "is_required", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MetafieldTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "value", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "MetafieldTypeEnum", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "text", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "number", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "boolean", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "WorkflowFilter", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "keyword", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowTypeConnection", - "description": null, - "fields": [ - { - "name": "page_info", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowTypeEdge", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowTypeEdge", - "description": null, - "fields": [ - { - "name": "node", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "WorkflowActionFilter", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "keyword", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "action_type", - "description": null, - "type": { - "kind": "ENUM", - "name": "AutomationActionType", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowActionTypeConnection", - "description": null, - "fields": [ - { - "name": "page_info", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowActionTypeEdge", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowActionTypeEdge", - "description": null, - "fields": [ - { - "name": "node", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowActionType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "WorkflowConnectionFilter", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "keyword", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "auth_type", - "description": null, - "type": { - "kind": "ENUM", - "name": "AutomationAuthType", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowConnectionTypeConnection", - "description": null, - "fields": [ - { - "name": "page_info", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowConnectionTypeEdge", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowConnectionTypeEdge", - "description": null, - "fields": [ - { - "name": "node", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowConnectionType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowEventType", - "description": null, - "fields": [ - { - "name": "object_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "test_mode", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "AutomationEventStatus", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "event_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "AutomationEventType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "workflow", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "parameters", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "records", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TracingRecordType", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "AutomationEventStatus", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "pending", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "running", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "success", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "aborted", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "failed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cancelled", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "AutomationEventType", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "manual", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "scheduled", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "webhook", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "auto", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "WorkflowEventFilter", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "keyword", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "parameters_key", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "status", - "description": null, - "type": { - "kind": "ENUM", - "name": "AutomationEventStatus", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "event_type", - "description": null, - "type": { - "kind": "ENUM", - "name": "AutomationEventType", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowEventTypeConnection", - "description": null, - "fields": [ - { - "name": "page_info", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowEventTypeEdge", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowEventTypeEdge", - "description": null, - "fields": [ - { - "name": "node", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowEventType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowTemplateTypeConnection", - "description": null, - "fields": [ - { - "name": "page_info", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowTemplateTypeEdge", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowTemplateTypeEdge", - "description": null, - "fields": [ - { - "name": "node", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowTemplateType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowTemplateType", - "description": null, - "fields": [ - { - "name": "object_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "slug", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "trigger", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "WorkflowTriggerTemplateType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "template_slug", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "action_nodes", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowActionNodeType", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "actions", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowActionTemplateType", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowTriggerTemplateType", - "description": null, - "fields": [ - { - "name": "object_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "slug", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "trigger_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "AutomationTriggerType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "schedule", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "template_slug", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowActionTemplateType", - "description": null, - "fields": [ - { - "name": "object_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "slug", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "action_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "AutomationActionType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "port", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "host", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "endpoint", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "method", - "description": null, - "args": [], - "type": { - "kind": "ENUM", - "name": "AutomationHTTPMethod", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "parameters_type", - "description": null, - "args": [], - "type": { - "kind": "ENUM", - "name": "AutomationParametersType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "parameters_template", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "header_template", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "content_type", - "description": null, - "args": [], - "type": { - "kind": "ENUM", - "name": "AutomationHTTPContentType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "connection", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "WorkflowConnectionTemplateType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "template_slug", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "metafields", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MetafieldType", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowConnectionTemplateType", - "description": null, - "fields": [ - { - "name": "object_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "slug", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "auth_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "AutomationAuthType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "port", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "host", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "endpoint", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "parameters_template", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "auth_template", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "template_slug", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "metafields", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MetafieldType", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowActionTemplateTypeConnection", - "description": null, - "fields": [ - { - "name": "page_info", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowActionTemplateTypeEdge", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowActionTemplateTypeEdge", - "description": null, - "fields": [ - { - "name": "node", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowActionTemplateType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowConnectionTemplateTypeConnection", - "description": null, - "fields": [ - { - "name": "page_info", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowConnectionTemplateTypeEdge", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "WorkflowConnectionTemplateTypeEdge", - "description": null, - "fields": [ - { - "name": "node", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkflowConnectionTemplateType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "OrganizationType", - "description": null, - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "slug", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "is_active", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "modified", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organization_invites", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OrganizationInvitationType", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "current_user", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OrganizationMemberType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "members", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OrganizationMemberType", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "token", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "workspace_config", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "WorkspaceConfigType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "usage", - "description": null, - "args": [ - { - "name": "filter", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "UsageFilter", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OrgUsageType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "OrganizationInvitationType", - "description": null, - "fields": [ - { - "name": "object_type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "guid", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invitee_identifier", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "modified", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invited_by", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UserType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invitee", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "UserType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organization_name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "OrganizationMemberType", - "description": null, - "fields": [ - { - "name": "email", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "is_admin", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "roles", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "UserRole", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "is_owner", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "full_name", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last_login", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invitation", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "OrganizationInvitationType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "UserRole", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "member", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "developer", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "admin", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UsageFilter", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "date_after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "date_before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "omit", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "OrgUsageType", - "description": null, - "fields": [ - { - "name": "members", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "total_errors", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "order_volume", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "total_requests", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "total_trackers", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "total_shipments", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "unfulfilled_orders", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "total_shipping_spend", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "api_errors", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UsageStatType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "api_requests", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UsageStatType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "order_volumes", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UsageStatType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "shipment_count", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UsageStatType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "shipping_spend", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UsageStatType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tracker_count", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UsageStatType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "UsageStatType", - "description": null, - "fields": [ - { - "name": "date", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "label", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "count", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Mutation", - "description": null, - "fields": [ - { - "name": "update_user", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateUserInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UserUpdateMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "register_user", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "RegisterUserMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "RegisterUserMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "update_workspace_config", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "WorkspaceConfigMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkspaceConfigMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mutate_token", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TokenMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TokenMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "create_api_key", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateAPIKeyMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreateAPIKeyMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "delete_api_key", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DeleteAPIKeyMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DeleteAPIKeyMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "request_email_change", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "RequestEmailChangeMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "RequestEmailChangeMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "confirm_email_change", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ConfirmEmailChangeMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ConfirmEmailChangeMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "confirm_email", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ConfirmEmailMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ConfirmEmailMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "change_password", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ChangePasswordMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ChangePasswordMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "request_password_reset", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "RequestPasswordResetMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "RequestPasswordResetMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "confirm_password_reset", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ConfirmPasswordResetMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ConfirmPasswordResetMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "enable_multi_factor", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "EnableMultiFactorMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "EnableMultiFactorMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "confirm_multi_factor", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ConfirmMultiFactorMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ConfirmMultiFactorMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, + "name": "Mutation", + "description": null, + "fields": [ { - "name": "disable_multi_factor", + "name": "update_user", "description": null, "args": [ { @@ -28924,7 +23736,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "DisableMultiFactorMutationInput", + "name": "UpdateUserInput", "ofType": null } }, @@ -28936,7 +23748,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "DisableMultiFactorMutation", + "name": "UserUpdateMutation", "ofType": null } }, @@ -28944,7 +23756,7 @@ "deprecationReason": null }, { - "name": "create_address_template", + "name": "register_user", "description": null, "args": [ { @@ -28955,7 +23767,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "CreateAddressTemplateInput", + "name": "RegisterUserMutationInput", "ofType": null } }, @@ -28967,7 +23779,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "CreateAddressTemplateMutation", + "name": "RegisterUserMutation", "ofType": null } }, @@ -28975,7 +23787,7 @@ "deprecationReason": null }, { - "name": "update_address_template", + "name": "update_workspace_config", "description": null, "args": [ { @@ -28986,7 +23798,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "UpdateAddressTemplateInput", + "name": "WorkspaceConfigMutationInput", "ofType": null } }, @@ -28998,7 +23810,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UpdateAddressTemplateMutation", + "name": "WorkspaceConfigMutation", "ofType": null } }, @@ -29006,7 +23818,7 @@ "deprecationReason": null }, { - "name": "create_customs_template", + "name": "mutate_token", "description": null, "args": [ { @@ -29017,7 +23829,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "CreateCustomsTemplateInput", + "name": "TokenMutationInput", "ofType": null } }, @@ -29029,7 +23841,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "CreateCustomsTemplateMutation", + "name": "TokenMutation", "ofType": null } }, @@ -29037,7 +23849,7 @@ "deprecationReason": null }, { - "name": "update_customs_template", + "name": "create_api_key", "description": null, "args": [ { @@ -29048,7 +23860,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "UpdateCustomsTemplateInput", + "name": "CreateAPIKeyMutationInput", "ofType": null } }, @@ -29060,7 +23872,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UpdateCustomsTemplateMutation", + "name": "CreateAPIKeyMutation", "ofType": null } }, @@ -29068,7 +23880,7 @@ "deprecationReason": null }, { - "name": "create_parcel_template", + "name": "delete_api_key", "description": null, "args": [ { @@ -29079,7 +23891,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "CreateParcelTemplateInput", + "name": "DeleteAPIKeyMutationInput", "ofType": null } }, @@ -29091,7 +23903,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "CreateParcelTemplateMutation", + "name": "DeleteAPIKeyMutation", "ofType": null } }, @@ -29099,7 +23911,7 @@ "deprecationReason": null }, { - "name": "update_parcel_template", + "name": "request_email_change", "description": null, "args": [ { @@ -29110,7 +23922,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "UpdateParcelTemplateInput", + "name": "RequestEmailChangeMutationInput", "ofType": null } }, @@ -29122,7 +23934,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UpdateParcelTemplateMutation", + "name": "RequestEmailChangeMutation", "ofType": null } }, @@ -29130,7 +23942,7 @@ "deprecationReason": null }, { - "name": "create_carrier_connection", + "name": "confirm_email_change", "description": null, "args": [ { @@ -29141,7 +23953,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "CreateCarrierConnectionMutationInput", + "name": "ConfirmEmailChangeMutationInput", "ofType": null } }, @@ -29153,7 +23965,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "CreateCarrierConnectionMutation", + "name": "ConfirmEmailChangeMutation", "ofType": null } }, @@ -29161,7 +23973,7 @@ "deprecationReason": null }, { - "name": "update_carrier_connection", + "name": "confirm_email", "description": null, "args": [ { @@ -29172,7 +23984,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "UpdateCarrierConnectionMutationInput", + "name": "ConfirmEmailMutationInput", "ofType": null } }, @@ -29184,7 +23996,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UpdateCarrierConnectionMutation", + "name": "ConfirmEmailMutation", "ofType": null } }, @@ -29192,7 +24004,7 @@ "deprecationReason": null }, { - "name": "mutate_system_connection", + "name": "change_password", "description": null, "args": [ { @@ -29203,7 +24015,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "SystemCarrierMutationInput", + "name": "ChangePasswordMutationInput", "ofType": null } }, @@ -29215,7 +24027,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "SystemCarrierMutation", + "name": "ChangePasswordMutation", "ofType": null } }, @@ -29223,7 +24035,7 @@ "deprecationReason": null }, { - "name": "delete_carrier_connection", + "name": "request_password_reset", "description": null, "args": [ { @@ -29234,7 +24046,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "DeleteMutationInput", + "name": "RequestPasswordResetMutationInput", "ofType": null } }, @@ -29246,7 +24058,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "DeleteMutation", + "name": "RequestPasswordResetMutation", "ofType": null } }, @@ -29254,7 +24066,7 @@ "deprecationReason": null }, { - "name": "partial_shipment_update", + "name": "confirm_password_reset", "description": null, "args": [ { @@ -29265,7 +24077,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "PartialShipmentMutationInput", + "name": "ConfirmPasswordResetMutationInput", "ofType": null } }, @@ -29277,7 +24089,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "PartialShipmentMutation", + "name": "ConfirmPasswordResetMutation", "ofType": null } }, @@ -29285,7 +24097,7 @@ "deprecationReason": null }, { - "name": "mutate_metadata", + "name": "enable_multi_factor", "description": null, "args": [ { @@ -29296,7 +24108,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "MetadataMutationInput", + "name": "EnableMultiFactorMutationInput", "ofType": null } }, @@ -29308,7 +24120,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "MetadataMutation", + "name": "EnableMultiFactorMutation", "ofType": null } }, @@ -29316,7 +24128,7 @@ "deprecationReason": null }, { - "name": "change_shipment_status", + "name": "confirm_multi_factor", "description": null, "args": [ { @@ -29327,7 +24139,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "ChangeShipmentStatusMutationInput", + "name": "ConfirmMultiFactorMutationInput", "ofType": null } }, @@ -29339,7 +24151,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ChangeShipmentStatusMutation", + "name": "ConfirmMultiFactorMutation", "ofType": null } }, @@ -29347,7 +24159,7 @@ "deprecationReason": null }, { - "name": "delete_template", + "name": "disable_multi_factor", "description": null, "args": [ { @@ -29358,7 +24170,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "DeleteMutationInput", + "name": "DisableMultiFactorMutationInput", "ofType": null } }, @@ -29370,7 +24182,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "DeleteMutation", + "name": "DisableMultiFactorMutation", "ofType": null } }, @@ -29378,7 +24190,7 @@ "deprecationReason": null }, { - "name": "discard_commodity", + "name": "create_address_template", "description": null, "args": [ { @@ -29389,7 +24201,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "DeleteMutationInput", + "name": "CreateAddressTemplateInput", "ofType": null } }, @@ -29401,7 +24213,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "DeleteMutation", + "name": "CreateAddressTemplateMutation", "ofType": null } }, @@ -29409,7 +24221,7 @@ "deprecationReason": null }, { - "name": "discard_customs", + "name": "update_address_template", "description": null, "args": [ { @@ -29420,7 +24232,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "DeleteMutationInput", + "name": "UpdateAddressTemplateInput", "ofType": null } }, @@ -29432,7 +24244,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "DeleteMutation", + "name": "UpdateAddressTemplateMutation", "ofType": null } }, @@ -29440,7 +24252,7 @@ "deprecationReason": null }, { - "name": "discard_parcel", + "name": "create_customs_template", "description": null, "args": [ { @@ -29451,7 +24263,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "DeleteMutationInput", + "name": "CreateCustomsTemplateInput", "ofType": null } }, @@ -29463,7 +24275,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "DeleteMutation", + "name": "CreateCustomsTemplateMutation", "ofType": null } }, @@ -29471,7 +24283,7 @@ "deprecationReason": null }, { - "name": "create_rate_sheet", + "name": "update_customs_template", "description": null, "args": [ { @@ -29482,7 +24294,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "CreateRateSheetMutationInput", + "name": "UpdateCustomsTemplateInput", "ofType": null } }, @@ -29494,7 +24306,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "CreateRateSheetMutation", + "name": "UpdateCustomsTemplateMutation", "ofType": null } }, @@ -29502,7 +24314,7 @@ "deprecationReason": null }, { - "name": "update_rate_sheet", + "name": "create_parcel_template", "description": null, "args": [ { @@ -29513,7 +24325,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "UpdateRateSheetMutationInput", + "name": "CreateParcelTemplateInput", "ofType": null } }, @@ -29525,7 +24337,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UpdateRateSheetMutation", + "name": "CreateParcelTemplateMutation", "ofType": null } }, @@ -29533,7 +24345,7 @@ "deprecationReason": null }, { - "name": "delete_rate_sheet", + "name": "update_parcel_template", "description": null, "args": [ { @@ -29544,7 +24356,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "DeleteMutationInput", + "name": "UpdateParcelTemplateInput", "ofType": null } }, @@ -29556,7 +24368,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "DeleteMutation", + "name": "UpdateParcelTemplateMutation", "ofType": null } }, @@ -29564,7 +24376,7 @@ "deprecationReason": null }, { - "name": "delete_metafield", + "name": "create_carrier_connection", "description": null, "args": [ { @@ -29575,7 +24387,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "DeleteMutationInput", + "name": "CreateCarrierConnectionMutationInput", "ofType": null } }, @@ -29587,7 +24399,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "DeleteMutation", + "name": "CreateCarrierConnectionMutation", "ofType": null } }, @@ -29595,7 +24407,7 @@ "deprecationReason": null }, { - "name": "create_webhook", + "name": "update_carrier_connection", "description": null, "args": [ { @@ -29606,7 +24418,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "CreateWebhookMutationInput", + "name": "UpdateCarrierConnectionMutationInput", "ofType": null } }, @@ -29618,7 +24430,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "CreateWebhookMutation", + "name": "UpdateCarrierConnectionMutation", "ofType": null } }, @@ -29626,7 +24438,7 @@ "deprecationReason": null }, { - "name": "update_webhook", + "name": "mutate_system_connection", "description": null, "args": [ { @@ -29637,7 +24449,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "UpdateWebhookMutationInput", + "name": "SystemCarrierMutationInput", "ofType": null } }, @@ -29649,7 +24461,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UpdateWebhookMutation", + "name": "SystemCarrierMutation", "ofType": null } }, @@ -29657,7 +24469,7 @@ "deprecationReason": null }, { - "name": "delete_webhook", + "name": "delete_carrier_connection", "description": null, "args": [ { @@ -29688,69 +24500,7 @@ "deprecationReason": null }, { - "name": "create_order", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateOrderMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreateOrderMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "update_order", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateOrderMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UpdateOrderMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "delete_order", + "name": "partial_shipment_update", "description": null, "args": [ { @@ -29761,7 +24511,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "DeleteOrderMutationInput", + "name": "PartialShipmentMutationInput", "ofType": null } }, @@ -29773,7 +24523,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "DeleteOrderMutation", + "name": "PartialShipmentMutation", "ofType": null } }, @@ -29781,7 +24531,7 @@ "deprecationReason": null }, { - "name": "create_document_template", + "name": "mutate_metadata", "description": null, "args": [ { @@ -29792,7 +24542,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "CreateDocumentTemplateMutationInput", + "name": "MetadataMutationInput", "ofType": null } }, @@ -29804,7 +24554,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "CreateDocumentTemplateMutation", + "name": "MetadataMutation", "ofType": null } }, @@ -29812,7 +24562,7 @@ "deprecationReason": null }, { - "name": "update_document_template", + "name": "change_shipment_status", "description": null, "args": [ { @@ -29823,7 +24573,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "UpdateDocumentTemplateMutationInput", + "name": "ChangeShipmentStatusMutationInput", "ofType": null } }, @@ -29835,7 +24585,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UpdateDocumentTemplateMutation", + "name": "ChangeShipmentStatusMutation", "ofType": null } }, @@ -29843,7 +24593,7 @@ "deprecationReason": null }, { - "name": "delete_document_template", + "name": "delete_template", "description": null, "args": [ { @@ -29874,69 +24624,7 @@ "deprecationReason": null }, { - "name": "create_data_template", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateDataTemplateMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreateDataTemplateMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "update_data_template", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateDataTemplateMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UpdateDataTemplateMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "delete_data_template", + "name": "discard_commodity", "description": null, "args": [ { @@ -29967,69 +24655,7 @@ "deprecationReason": null }, { - "name": "create_app", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateAppMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreateAppMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "update_app", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateAppMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UpdateAppMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "delete_app", + "name": "discard_customs", "description": null, "args": [ { @@ -30060,7 +24686,7 @@ "deprecationReason": null }, { - "name": "install_app", + "name": "discard_parcel", "description": null, "args": [ { @@ -30071,7 +24697,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "InstallAppMutationInput", + "name": "DeleteMutationInput", "ofType": null } }, @@ -30083,7 +24709,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "InstallAppMutation", + "name": "DeleteMutation", "ofType": null } }, @@ -30091,7 +24717,7 @@ "deprecationReason": null }, { - "name": "uninstall_app", + "name": "create_rate_sheet", "description": null, "args": [ { @@ -30102,7 +24728,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "UninstallAppMutationInput", + "name": "CreateRateSheetMutationInput", "ofType": null } }, @@ -30114,7 +24740,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UninstallAppMutation", + "name": "CreateRateSheetMutation", "ofType": null } }, @@ -30122,7 +24748,7 @@ "deprecationReason": null }, { - "name": "create_workflow", + "name": "update_rate_sheet", "description": null, "args": [ { @@ -30133,7 +24759,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "CreateWorkflowMutationInput", + "name": "UpdateRateSheetMutationInput", "ofType": null } }, @@ -30145,7 +24771,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "CreateWorkflowMutation", + "name": "UpdateRateSheetMutation", "ofType": null } }, @@ -30153,7 +24779,7 @@ "deprecationReason": null }, { - "name": "update_workflow", + "name": "delete_rate_sheet", "description": null, "args": [ { @@ -30164,7 +24790,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "UpdateWorkflowMutationInput", + "name": "DeleteMutationInput", "ofType": null } }, @@ -30176,7 +24802,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UpdateWorkflowMutation", + "name": "DeleteMutation", "ofType": null } }, @@ -30184,7 +24810,7 @@ "deprecationReason": null }, { - "name": "delete_workflow", + "name": "delete_metafield", "description": null, "args": [ { @@ -30215,7 +24841,7 @@ "deprecationReason": null }, { - "name": "create_workflow_action", + "name": "create_webhook", "description": null, "args": [ { @@ -30226,7 +24852,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "CreateWorkflowActionMutationInput", + "name": "CreateWebhookMutationInput", "ofType": null } }, @@ -30238,7 +24864,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "CreateWorkflowActionMutation", + "name": "CreateWebhookMutation", "ofType": null } }, @@ -30246,7 +24872,7 @@ "deprecationReason": null }, { - "name": "update_workflow_action", + "name": "update_webhook", "description": null, "args": [ { @@ -30257,7 +24883,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "UpdateWorkflowActionMutationInput", + "name": "UpdateWebhookMutationInput", "ofType": null } }, @@ -30269,7 +24895,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UpdateWorkflowActionMutation", + "name": "UpdateWebhookMutation", "ofType": null } }, @@ -30277,7 +24903,7 @@ "deprecationReason": null }, { - "name": "delete_workflow_action", + "name": "delete_webhook", "description": null, "args": [ { @@ -30308,69 +24934,7 @@ "deprecationReason": null }, { - "name": "create_workflow_connection", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateWorkflowConnectionMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreateWorkflowConnectionMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "update_workflow_connection", - "description": null, - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateWorkflowConnectionMutationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UpdateWorkflowConnectionMutation", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "delete_workflow_connection", + "name": "create_order", "description": null, "args": [ { @@ -30381,7 +24945,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "DeleteMutationInput", + "name": "CreateOrderMutationInput", "ofType": null } }, @@ -30393,7 +24957,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "DeleteMutation", + "name": "CreateOrderMutation", "ofType": null } }, @@ -30401,7 +24965,7 @@ "deprecationReason": null }, { - "name": "create_workflow_event", + "name": "update_order", "description": null, "args": [ { @@ -30412,7 +24976,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "CreateWorkflowEventMutationInput", + "name": "UpdateOrderMutationInput", "ofType": null } }, @@ -30424,7 +24988,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "CreateWorkflowEventMutation", + "name": "UpdateOrderMutation", "ofType": null } }, @@ -30432,7 +24996,7 @@ "deprecationReason": null }, { - "name": "cancel_workflow_event", + "name": "delete_order", "description": null, "args": [ { @@ -30443,7 +25007,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "CancelWorkflowEventMutationInput", + "name": "DeleteOrderMutationInput", "ofType": null } }, @@ -30455,7 +25019,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "CancelWorkflowEventMutation", + "name": "DeleteOrderMutation", "ofType": null } }, @@ -30463,7 +25027,7 @@ "deprecationReason": null }, { - "name": "create_workflow_trigger", + "name": "create_document_template", "description": null, "args": [ { @@ -30474,7 +25038,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "CreateWorkflowTriggerMutationInput", + "name": "CreateDocumentTemplateMutationInput", "ofType": null } }, @@ -30486,7 +25050,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "CreateWorkflowTriggerMutation", + "name": "CreateDocumentTemplateMutation", "ofType": null } }, @@ -30494,7 +25058,7 @@ "deprecationReason": null }, { - "name": "update_workflow_trigger", + "name": "update_document_template", "description": null, "args": [ { @@ -30505,7 +25069,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "UpdateWorkflowTriggerMutationInput", + "name": "UpdateDocumentTemplateMutationInput", "ofType": null } }, @@ -30517,7 +25081,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UpdateWorkflowTriggerMutation", + "name": "UpdateDocumentTemplateMutation", "ofType": null } }, @@ -30525,7 +25089,7 @@ "deprecationReason": null }, { - "name": "delete_workflow_trigger", + "name": "delete_document_template", "description": null, "args": [ { @@ -30556,7 +25120,7 @@ "deprecationReason": null }, { - "name": "create_organization", + "name": "create_data_template", "description": null, "args": [ { @@ -30567,7 +25131,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "CreateOrganizationMutationInput", + "name": "CreateDataTemplateMutationInput", "ofType": null } }, @@ -30579,7 +25143,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "CreateOrganizationMutation", + "name": "CreateDataTemplateMutation", "ofType": null } }, @@ -30587,7 +25151,7 @@ "deprecationReason": null }, { - "name": "update_organization", + "name": "update_data_template", "description": null, "args": [ { @@ -30598,7 +25162,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "UpdateOrganizationMutationInput", + "name": "UpdateDataTemplateMutationInput", "ofType": null } }, @@ -30610,7 +25174,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UpdateOrganizationMutation", + "name": "UpdateDataTemplateMutation", "ofType": null } }, @@ -30618,7 +25182,7 @@ "deprecationReason": null }, { - "name": "delete_organization", + "name": "delete_data_template", "description": null, "args": [ { @@ -30629,7 +25193,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "DeleteOrganizationMutationInput", + "name": "DeleteMutationInput", "ofType": null } }, @@ -30641,7 +25205,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "DeleteOrganizationMutation", + "name": "DeleteMutation", "ofType": null } }, @@ -30649,7 +25213,7 @@ "deprecationReason": null }, { - "name": "change_organization_owner", + "name": "create_app", "description": null, "args": [ { @@ -30660,7 +25224,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "ChangeOrganizationOwnerMutationInput", + "name": "CreateAppMutationInput", "ofType": null } }, @@ -30672,7 +25236,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ChangeOrganizationOwnerMutation", + "name": "CreateAppMutation", "ofType": null } }, @@ -30680,7 +25244,7 @@ "deprecationReason": null }, { - "name": "set_organization_user_roles", + "name": "update_app", "description": null, "args": [ { @@ -30691,7 +25255,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "SetOrganizationUserRolesMutationInput", + "name": "UpdateAppMutationInput", "ofType": null } }, @@ -30703,7 +25267,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "SetOrganizationUserRolesMutation", + "name": "UpdateAppMutation", "ofType": null } }, @@ -30711,7 +25275,7 @@ "deprecationReason": null }, { - "name": "send_organization_invites", + "name": "delete_app", "description": null, "args": [ { @@ -30722,7 +25286,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "SendOrganizationInvitesMutationInput", + "name": "DeleteMutationInput", "ofType": null } }, @@ -30734,7 +25298,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "SendOrganizationInvitesMutation", + "name": "DeleteMutation", "ofType": null } }, @@ -30742,7 +25306,7 @@ "deprecationReason": null }, { - "name": "accept_organization_invitation", + "name": "install_app", "description": null, "args": [ { @@ -30753,7 +25317,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "AcceptOrganizationInvitationMutationInput", + "name": "InstallAppMutationInput", "ofType": null } }, @@ -30765,7 +25329,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "AcceptOrganizationInvitationMutation", + "name": "InstallAppMutation", "ofType": null } }, @@ -30773,7 +25337,7 @@ "deprecationReason": null }, { - "name": "delete_organization_invitation", + "name": "uninstall_app", "description": null, "args": [ { @@ -30784,7 +25348,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "DeleteMutationInput", + "name": "UninstallAppMutationInput", "ofType": null } }, @@ -30796,7 +25360,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "DeleteMutation", + "name": "UninstallAppMutation", "ofType": null } }, @@ -31514,466 +26078,18 @@ } ], "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "RequestEmailChangeMutationInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "email", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "password", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "redirect_url", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "RequestEmailChangeMutation", - "description": null, - "fields": [ - { - "name": "errors", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "UserType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ConfirmEmailChangeMutationInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "token", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ConfirmEmailChangeMutation", - "description": null, - "fields": [ - { - "name": "errors", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "UserType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ConfirmEmailMutationInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "token", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ConfirmEmailMutation", - "description": null, - "fields": [ - { - "name": "errors", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "success", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ChangePasswordMutationInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "old_password", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "new_password1", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "new_password2", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ChangePasswordMutation", - "description": null, - "fields": [ - { - "name": "errors", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "UserType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "RequestPasswordResetMutationInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "email", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "redirect_url", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "RequestPasswordResetMutation", - "description": null, - "fields": [ - { - "name": "errors", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "email", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "redirect_url", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ConfirmPasswordResetMutationInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "uid", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "RequestEmailChangeMutationInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "token", + "name": "email", "description": null, "type": { "kind": "NON_NULL", @@ -31987,7 +26103,7 @@ "defaultValue": null }, { - "name": "new_password1", + "name": "password", "description": null, "type": { "kind": "NON_NULL", @@ -32001,7 +26117,7 @@ "defaultValue": null }, { - "name": "new_password2", + "name": "redirect_url", "description": null, "type": { "kind": "NON_NULL", @@ -32021,7 +26137,7 @@ }, { "kind": "OBJECT", - "name": "ConfirmPasswordResetMutation", + "name": "RequestEmailChangeMutation", "description": null, "fields": [ { @@ -32064,12 +26180,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "EnableMultiFactorMutationInput", + "name": "ConfirmEmailChangeMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "password", + "name": "token", "description": null, "type": { "kind": "NON_NULL", @@ -32089,7 +26205,7 @@ }, { "kind": "OBJECT", - "name": "EnableMultiFactorMutation", + "name": "ConfirmEmailChangeMutation", "description": null, "fields": [ { @@ -32132,7 +26248,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "ConfirmMultiFactorMutationInput", + "name": "ConfirmEmailMutationInput", "description": null, "fields": null, "inputFields": [ @@ -32157,7 +26273,7 @@ }, { "kind": "OBJECT", - "name": "ConfirmMultiFactorMutation", + "name": "ConfirmEmailMutation", "description": null, "fields": [ { @@ -32181,13 +26297,17 @@ "deprecationReason": null }, { - "name": "user", + "name": "success", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UserType", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -32200,12 +26320,40 @@ }, { "kind": "INPUT_OBJECT", - "name": "DisableMultiFactorMutationInput", + "name": "ChangePasswordMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "password", + "name": "old_password", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "new_password1", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "new_password2", "description": null, "type": { "kind": "NON_NULL", @@ -32225,7 +26373,7 @@ }, { "kind": "OBJECT", - "name": "DisableMultiFactorMutation", + "name": "ChangePasswordMutation", "description": null, "fields": [ { @@ -32268,12 +26416,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "CreateAddressTemplateInput", + "name": "RequestPasswordResetMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "label", + "name": "email", "description": null, "type": { "kind": "NON_NULL", @@ -32287,199 +26435,18 @@ "defaultValue": null }, { - "name": "address", + "name": "redirect_url", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "AddressInput", + "kind": "SCALAR", + "name": "String", "ofType": null } }, "defaultValue": null - }, - { - "name": "is_default", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "AddressInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "country_code", - "description": null, - "type": { - "kind": "ENUM", - "name": "CountryCodeEnum", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "postal_code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "city", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "federal_tax_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "state_tax_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "person_name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "company_name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "email", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "phone_number", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "state_code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "suburb", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "residential", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "street_number", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "address_line1", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "address_line2", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "validate_location", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null } ], "interfaces": null, @@ -32488,7 +26455,7 @@ }, { "kind": "OBJECT", - "name": "CreateAddressTemplateMutation", + "name": "RequestPasswordResetMutation", "description": null, "fields": [ { @@ -32512,13 +26479,33 @@ "deprecationReason": null }, { - "name": "template", + "name": "email", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "AddressTemplateType", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "redirect_url", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -32531,42 +26518,54 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateAddressTemplateInput", + "name": "ConfirmPasswordResetMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "label", + "name": "uid", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "address", + "name": "token", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateAddressInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "is_default", + "name": "new_password1", "description": null, "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "id", + "name": "new_password2", "description": null, "type": { "kind": "NON_NULL", @@ -32585,178 +26584,65 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "UpdateAddressInput", + "kind": "OBJECT", + "name": "ConfirmPasswordResetMutation", "description": null, - "fields": null, - "inputFields": [ - { - "name": "country_code", - "description": null, - "type": { - "kind": "ENUM", - "name": "CountryCodeEnum", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "postal_code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "city", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "federal_tax_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "state_tax_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "person_name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "company_name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "email", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "phone_number", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "state_code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "suburb", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "residential", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "street_number", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "address_line1", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, + "fields": [ { - "name": "address_line2", + "name": "errors", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ErrorType", + "ofType": null + } + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "validate_location", + "name": "user", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "UserType", "ofType": null }, - "defaultValue": null - }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "EnableMultiFactorMutationInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "id", + "name": "password", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null } @@ -32767,7 +26653,7 @@ }, { "kind": "OBJECT", - "name": "UpdateAddressTemplateMutation", + "name": "EnableMultiFactorMutation", "description": null, "fields": [ { @@ -32791,12 +26677,12 @@ "deprecationReason": null }, { - "name": "template", + "name": "user", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "AddressTemplateType", + "name": "UserType", "ofType": null }, "isDeprecated": false, @@ -32810,12 +26696,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "CreateCustomsTemplateInput", + "name": "ConfirmMultiFactorMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "label", + "name": "token", "description": null, "type": { "kind": "NON_NULL", @@ -32827,170 +26713,163 @@ } }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ConfirmMultiFactorMutation", + "description": null, + "fields": [ { - "name": "customs", + "name": "errors", "description": null, + "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "CustomsInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ErrorType", + "ofType": null + } } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "is_default", + "name": "user", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "UserType", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "CustomsInput", + "name": "DisableMultiFactorMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "commodities", + "name": "password", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CommodityInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, "defaultValue": null - }, - { - "name": "certify", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "commercial_invoice", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "content_type", - "description": null, - "type": { - "kind": "ENUM", - "name": "CustomsContentTypeEnum", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "content_description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "incoterm", - "description": null, - "type": { - "kind": "ENUM", - "name": "IncotermCodeEnum", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "invoice", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "DisableMultiFactorMutation", + "description": null, + "fields": [ { - "name": "invoice_date", + "name": "errors", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ErrorType", + "ofType": null + } + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "signer", + "name": "user", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UserType", "ofType": null }, - "defaultValue": null - }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CreateAddressTemplateInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "duty", + "name": "label", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "DutyInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "duty_billing_address", + "name": "address", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateAddressInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "AddressInput", + "ofType": null + } }, "defaultValue": null }, { - "name": "options", + "name": "is_default", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Boolean", "ofType": null }, "defaultValue": null @@ -33002,50 +26881,32 @@ }, { "kind": "INPUT_OBJECT", - "name": "CommodityInput", + "name": "AddressInput", "description": null, "fields": null, "inputFields": [ { - "name": "weight", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "weight_unit", + "name": "country_code", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "WeightUnitEnum", - "ofType": null - } + "kind": "ENUM", + "name": "CountryCodeEnum", + "ofType": null }, "defaultValue": null }, { - "name": "quantity", + "name": "postal_code", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, - "defaultValue": "1" + "defaultValue": null }, { - "name": "sku", + "name": "city", "description": null, "type": { "kind": "SCALAR", @@ -33055,7 +26916,7 @@ "defaultValue": null }, { - "name": "title", + "name": "federal_tax_id", "description": null, "type": { "kind": "SCALAR", @@ -33065,7 +26926,7 @@ "defaultValue": null }, { - "name": "hs_code", + "name": "state_tax_id", "description": null, "type": { "kind": "SCALAR", @@ -33075,7 +26936,7 @@ "defaultValue": null }, { - "name": "description", + "name": "person_name", "description": null, "type": { "kind": "SCALAR", @@ -33085,47 +26946,47 @@ "defaultValue": null }, { - "name": "value_amount", + "name": "company_name", "description": null, "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "origin_country", + "name": "email", "description": null, "type": { - "kind": "ENUM", - "name": "CountryCodeEnum", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "value_currency", + "name": "phone_number", "description": null, "type": { - "kind": "ENUM", - "name": "CurrencyCodeEnum", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "state_code", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "parent_id", + "name": "suburb", "description": null, "type": { "kind": "SCALAR", @@ -33133,44 +26994,29 @@ "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DutyInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "paid_by", + "name": "residential", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "PaidByEnum", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null }, "defaultValue": null }, { - "name": "currency", + "name": "street_number", "description": null, "type": { - "kind": "ENUM", - "name": "CurrencyCodeEnum", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "account_number", + "name": "address_line1", "description": null, "type": { "kind": "SCALAR", @@ -33180,21 +27026,21 @@ "defaultValue": null }, { - "name": "declared_value", + "name": "address_line2", "description": null, "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "bill_to", + "name": "validate_location", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "AddressInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, "defaultValue": null @@ -33206,7 +27052,7 @@ }, { "kind": "OBJECT", - "name": "CreateCustomsTemplateMutation", + "name": "CreateAddressTemplateMutation", "description": null, "fields": [ { @@ -33235,7 +27081,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "CustomsTemplateType", + "name": "AddressTemplateType", "ofType": null }, "isDeprecated": false, @@ -33249,7 +27095,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateCustomsTemplateInput", + "name": "UpdateAddressTemplateInput", "description": null, "fields": null, "inputFields": [ @@ -33264,160 +27110,7 @@ "defaultValue": null }, { - "name": "customs", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateCustomsInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "is_default", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateCustomsInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "commodities", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateCommodityInput", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "certify", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "commercial_invoice", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "content_type", - "description": null, - "type": { - "kind": "ENUM", - "name": "CustomsContentTypeEnum", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "content_description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "incoterm", - "description": null, - "type": { - "kind": "ENUM", - "name": "IncotermCodeEnum", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "invoice", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "invoice_date", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "signer", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "duty", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateDutyInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "duty_billing_address", + "name": "address", "description": null, "type": { "kind": "INPUT_OBJECT", @@ -33427,11 +27120,11 @@ "defaultValue": null }, { - "name": "options", + "name": "is_default", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Boolean", "ofType": null }, "defaultValue": null @@ -33440,9 +27133,13 @@ "name": "id", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null } @@ -33453,42 +27150,32 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateCommodityInput", + "name": "UpdateAddressInput", "description": null, "fields": null, "inputFields": [ { - "name": "weight", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "weight_unit", + "name": "country_code", "description": null, "type": { "kind": "ENUM", - "name": "WeightUnitEnum", + "name": "CountryCodeEnum", "ofType": null }, "defaultValue": null }, { - "name": "quantity", + "name": "postal_code", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "sku", + "name": "city", "description": null, "type": { "kind": "SCALAR", @@ -33498,7 +27185,7 @@ "defaultValue": null }, { - "name": "title", + "name": "federal_tax_id", "description": null, "type": { "kind": "SCALAR", @@ -33508,7 +27195,7 @@ "defaultValue": null }, { - "name": "hs_code", + "name": "state_tax_id", "description": null, "type": { "kind": "SCALAR", @@ -33518,7 +27205,7 @@ "defaultValue": null }, { - "name": "description", + "name": "person_name", "description": null, "type": { "kind": "SCALAR", @@ -33528,47 +27215,47 @@ "defaultValue": null }, { - "name": "value_amount", + "name": "company_name", "description": null, "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "origin_country", + "name": "email", "description": null, "type": { - "kind": "ENUM", - "name": "CountryCodeEnum", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "value_currency", + "name": "phone_number", "description": null, "type": { - "kind": "ENUM", - "name": "CurrencyCodeEnum", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "state_code", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "parent_id", + "name": "suburb", "description": null, "type": { "kind": "SCALAR", @@ -33578,48 +27265,37 @@ "defaultValue": null }, { - "name": "id", + "name": "residential", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateDutyInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "paid_by", + "name": "street_number", "description": null, "type": { - "kind": "ENUM", - "name": "PaidByEnum", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "currency", + "name": "address_line1", "description": null, "type": { - "kind": "ENUM", - "name": "CurrencyCodeEnum", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "account_number", + "name": "address_line2", "description": null, "type": { "kind": "SCALAR", @@ -33629,21 +27305,21 @@ "defaultValue": null }, { - "name": "declared_value", + "name": "validate_location", "description": null, "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "bill_to", + "name": "id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "AddressInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null @@ -33655,7 +27331,7 @@ }, { "kind": "OBJECT", - "name": "UpdateCustomsTemplateMutation", + "name": "UpdateAddressTemplateMutation", "description": null, "fields": [ { @@ -33684,7 +27360,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "CustomsTemplateType", + "name": "AddressTemplateType", "ofType": null }, "isDeprecated": false, @@ -33698,7 +27374,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "CreateParcelTemplateInput", + "name": "CreateCustomsTemplateInput", "description": null, "fields": null, "inputFields": [ @@ -33717,14 +27393,14 @@ "defaultValue": null }, { - "name": "parcel", + "name": "customs", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "ParcelInput", + "name": "CustomsInput", "ofType": null } }, @@ -33747,70 +27423,64 @@ }, { "kind": "INPUT_OBJECT", - "name": "ParcelInput", + "name": "CustomsInput", "description": null, "fields": null, "inputFields": [ { - "name": "weight", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "weight_unit", + "name": "commodities", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "WeightUnitEnum", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CommodityInput", + "ofType": null + } + } } }, "defaultValue": null }, { - "name": "width", + "name": "certify", "description": null, "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "height", + "name": "commercial_invoice", "description": null, "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "length", + "name": "content_type", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "ENUM", + "name": "CustomsContentTypeEnum", "ofType": null }, "defaultValue": null }, { - "name": "packaging_type", + "name": "content_description", "description": null, "type": { "kind": "SCALAR", @@ -33820,17 +27490,17 @@ "defaultValue": null }, { - "name": "package_preset", + "name": "incoterm", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "IncotermCodeEnum", "ofType": null }, "defaultValue": null }, { - "name": "description", + "name": "invoice", "description": null, "type": { "kind": "SCALAR", @@ -33840,7 +27510,7 @@ "defaultValue": null }, { - "name": "content", + "name": "invoice_date", "description": null, "type": { "kind": "SCALAR", @@ -33850,224 +27520,96 @@ "defaultValue": null }, { - "name": "is_document", + "name": "signer", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "dimension_unit", + "name": "duty", "description": null, "type": { - "kind": "ENUM", - "name": "DimensionUnitEnum", + "kind": "INPUT_OBJECT", + "name": "DutyInput", "ofType": null }, "defaultValue": null }, { - "name": "reference_number", + "name": "duty_billing_address", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UpdateAddressInput", "ofType": null }, "defaultValue": null }, { - "name": "freight_class", + "name": "options", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null - }, - { - "name": "items", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CommodityInput", - "ofType": null - } - } - }, - "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, - { - "kind": "OBJECT", - "name": "CreateParcelTemplateMutation", - "description": null, - "fields": [ - { - "name": "errors", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "template", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "ParcelTemplateType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, { "kind": "INPUT_OBJECT", - "name": "UpdateParcelTemplateInput", + "name": "CommodityInput", "description": null, "fields": null, "inputFields": [ { - "name": "label", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "parcel", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateParcelInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "is_default", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "id", + "name": "weight", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateParcelInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "weight", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "defaultValue": null }, { "name": "weight_unit", "description": null, "type": { - "kind": "ENUM", - "name": "WeightUnitEnum", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "width", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "height", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "WeightUnitEnum", + "ofType": null + } }, "defaultValue": null }, { - "name": "length", + "name": "quantity", "description": null, "type": { "kind": "SCALAR", - "name": "Float", + "name": "Int", "ofType": null }, - "defaultValue": null + "defaultValue": "1" }, { - "name": "packaging_type", + "name": "sku", "description": null, "type": { "kind": "SCALAR", @@ -34077,7 +27619,7 @@ "defaultValue": null }, { - "name": "package_preset", + "name": "title", "description": null, "type": { "kind": "SCALAR", @@ -34087,7 +27629,7 @@ "defaultValue": null }, { - "name": "description", + "name": "hs_code", "description": null, "type": { "kind": "SCALAR", @@ -34097,7 +27639,7 @@ "defaultValue": null }, { - "name": "content", + "name": "description", "description": null, "type": { "kind": "SCALAR", @@ -34107,65 +27649,47 @@ "defaultValue": null }, { - "name": "is_document", + "name": "value_amount", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "dimension_unit", + "name": "origin_country", "description": null, "type": { "kind": "ENUM", - "name": "DimensionUnitEnum", + "name": "CountryCodeEnum", "ofType": null }, "defaultValue": null }, { - "name": "reference_number", + "name": "value_currency", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "CurrencyCodeEnum", "ofType": null }, "defaultValue": null }, { - "name": "freight_class", + "name": "metadata", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "items", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateCommodityInput", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "id", + "name": "parent_id", "description": null, "type": { "kind": "SCALAR", @@ -34179,441 +27703,450 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "OBJECT", - "name": "UpdateParcelTemplateMutation", - "description": null, - "fields": [ - { - "name": "errors", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "template", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "ParcelTemplateType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, { "kind": "INPUT_OBJECT", - "name": "CreateCarrierConnectionMutationInput", + "name": "DutyInput", "description": null, "fields": null, "inputFields": [ { - "name": "allied_express", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "AlliedExpressSettingsInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "allied_express_local", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "AlliedExpressLocalSettingsInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "amazon_shipping", + "name": "paid_by", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "AmazonShippingSettingsInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "PaidByEnum", + "ofType": null + } }, "defaultValue": null }, { - "name": "aramex", + "name": "currency", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "AramexSettingsInput", + "kind": "ENUM", + "name": "CurrencyCodeEnum", "ofType": null }, "defaultValue": null }, { - "name": "asendia_us", + "name": "account_number", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "AsendiaUSSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "australiapost", + "name": "declared_value", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "AustraliaPostSettingsInput", + "kind": "SCALAR", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "boxknight", + "name": "bill_to", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "BoxKnightSettingsInput", + "name": "AddressInput", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CreateCustomsTemplateMutation", + "description": null, + "fields": [ { - "name": "bpost", + "name": "errors", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "BelgianPostSettingsInput", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ErrorType", + "ofType": null + } + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "canadapost", + "name": "template", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "CanadaPostSettingsInput", + "kind": "OBJECT", + "name": "CustomsTemplateType", "ofType": null }, - "defaultValue": null - }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "UpdateCustomsTemplateInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "canpar", + "name": "label", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "CanparSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "chronopost", + "name": "customs", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "ChronopostSettingsInput", + "name": "UpdateCustomsInput", "ofType": null }, "defaultValue": null }, { - "name": "colissimo", + "name": "is_default", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "ColissimoSettingsInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "dhl_express", + "name": "id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "DHLExpressSettingsInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "UpdateCustomsInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "dhl_parcel_de", + "name": "commodities", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "DHLParcelDESettingsInput", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateCommodityInput", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "dhl_poland", + "name": "certify", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "DHLPolandSettingsInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "dhl_universal", + "name": "commercial_invoice", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "DHLUniversalSettingsInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "dicom", + "name": "content_type", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "DicomSettingsInput", + "kind": "ENUM", + "name": "CustomsContentTypeEnum", "ofType": null }, "defaultValue": null }, { - "name": "dpd", + "name": "content_description", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "DPDSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "dpdhl", + "name": "incoterm", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "DPDHLSettingsInput", + "kind": "ENUM", + "name": "IncotermCodeEnum", "ofType": null }, "defaultValue": null }, { - "name": "easypost", + "name": "invoice", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "EasyPostSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "eshipper_xml", + "name": "invoice_date", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "EShipperXMLSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "fedex", + "name": "signer", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "FedexSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "fedex_ws", + "name": "duty", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "FedexWSSettingsInput", + "name": "UpdateDutyInput", "ofType": null }, "defaultValue": null }, { - "name": "freightcom", + "name": "duty_billing_address", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "FreightcomSettingsInput", + "name": "UpdateAddressInput", "ofType": null }, "defaultValue": null }, { - "name": "generic", + "name": "options", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "GenericSettingsInput", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "geodis", + "name": "id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "GEODISSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "UpdateCommodityInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "laposte", + "name": "weight", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "LaPosteSettingsInput", + "kind": "SCALAR", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "locate2u", + "name": "weight_unit", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "Locate2uSettingsInput", + "kind": "ENUM", + "name": "WeightUnitEnum", "ofType": null }, "defaultValue": null }, { - "name": "nationex", + "name": "quantity", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "NationexSettingsInput", + "kind": "SCALAR", + "name": "Int", "ofType": null }, "defaultValue": null }, { - "name": "purolator", + "name": "sku", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "PurolatorSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "roadie", + "name": "title", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "RoadieSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "royalmail", + "name": "hs_code", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "RoyalMailSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "sendle", + "name": "description", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "SendleSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "tge", + "name": "value_amount", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "TGESettingsInput", + "kind": "SCALAR", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "tnt", + "name": "origin_country", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "TNTSettingsInput", + "kind": "ENUM", + "name": "CountryCodeEnum", "ofType": null }, "defaultValue": null }, { - "name": "ups", + "name": "value_currency", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UPSSettingsInput", + "kind": "ENUM", + "name": "CurrencyCodeEnum", "ofType": null }, "defaultValue": null }, { - "name": "usps", + "name": "metadata", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "USPSSettingsInput", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "usps_international", + "name": "parent_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "USPSInternationalSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "zoom2u", + "name": "id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "Zoom2uSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null @@ -34625,70 +28158,32 @@ }, { "kind": "INPUT_OBJECT", - "name": "AlliedExpressSettingsInput", + "name": "UpdateDutyInput", "description": null, "fields": null, "inputFields": [ { - "name": "active", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "true" - }, - { - "name": "config", + "name": "paid_by", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "ENUM", + "name": "PaidByEnum", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "currency", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "ENUM", + "name": "CurrencyCodeEnum", "ofType": null }, "defaultValue": null }, { - "name": "username", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "password", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "account", + "name": "account_number", "description": null, "type": { "kind": "SCALAR", @@ -34698,26 +28193,22 @@ "defaultValue": null }, { - "name": "service_type", + "name": "declared_value", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "carrier_id", + "name": "bill_to", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "AddressInput", + "ofType": null }, "defaultValue": null } @@ -34727,43 +28218,56 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "AlliedExpressLocalSettingsInput", + "kind": "OBJECT", + "name": "UpdateCustomsTemplateMutation", "description": null, - "fields": null, - "inputFields": [ - { - "name": "active", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "true" - }, + "fields": [ { - "name": "config", + "name": "errors", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ErrorType", + "ofType": null + } + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "metadata", + "name": "template", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "OBJECT", + "name": "CustomsTemplateType", "ofType": null }, - "defaultValue": null - }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CreateParcelTemplateInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "username", + "name": "label", "description": null, "type": { "kind": "NON_NULL", @@ -34777,52 +28281,28 @@ "defaultValue": null }, { - "name": "password", + "name": "parcel", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "ParcelInput", "ofType": null } }, "defaultValue": null }, { - "name": "account", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "service_type", + "name": "is_default", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, "defaultValue": null - }, - { - "name": "carrier_id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null } ], "interfaces": null, @@ -34831,123 +28311,80 @@ }, { "kind": "INPUT_OBJECT", - "name": "AmazonShippingSettingsInput", + "name": "ParcelInput", "description": null, "fields": null, "inputFields": [ { - "name": "active", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "true" - }, - { - "name": "config", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "metadata", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "seller_id", + "name": "weight", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, "defaultValue": null }, { - "name": "developer_id", + "name": "weight_unit", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "WeightUnitEnum", "ofType": null } }, "defaultValue": null }, { - "name": "mws_auth_token", + "name": "width", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null }, "defaultValue": null }, { - "name": "aws_region", + "name": "height", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null }, "defaultValue": null }, { - "name": "carrier_id", + "name": "length", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "AramexSettingsInput", - "description": null, - "fields": null, - "inputFields": [ + }, + { + "name": "packaging_type", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, { - "name": "account_country_code", + "name": "package_preset", "description": null, "type": { "kind": "SCALAR", @@ -34957,162 +28394,169 @@ "defaultValue": null }, { - "name": "active", + "name": "description", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null }, - "defaultValue": "true" + "defaultValue": null }, { - "name": "config", + "name": "content", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "is_document", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "username", + "name": "dimension_unit", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "ENUM", + "name": "DimensionUnitEnum", + "ofType": null }, "defaultValue": null }, { - "name": "password", + "name": "reference_number", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "account_pin", + "name": "freight_class", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "account_entity", + "name": "items", "description": null, "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CommodityInput", + "ofType": null + } } }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CreateParcelTemplateMutation", + "description": null, + "fields": [ { - "name": "account_number", + "name": "errors", "description": null, + "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ErrorType", + "ofType": null + } } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "carrier_id", + "name": "template", "description": null, + "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "OBJECT", + "name": "ParcelTemplateType", + "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "AsendiaUSSettingsInput", + "name": "UpdateParcelTemplateInput", "description": null, "fields": null, "inputFields": [ { - "name": "active", + "name": "label", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null }, - "defaultValue": "true" + "defaultValue": null }, { - "name": "config", + "name": "parcel", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "INPUT_OBJECT", + "name": "UpdateParcelInput", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "is_default", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "username", + "name": "id", "description": null, "type": { "kind": "NON_NULL", @@ -35124,240 +28568,173 @@ } }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "UpdateParcelInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "password", + "name": "weight", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null }, "defaultValue": null }, { - "name": "api_key", + "name": "weight_unit", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "ENUM", + "name": "WeightUnitEnum", + "ofType": null }, "defaultValue": null }, { - "name": "account_number", + "name": "width", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null }, "defaultValue": null }, { - "name": "carrier_id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "AustraliaPostSettingsInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "active", + "name": "height", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null }, - "defaultValue": "true" + "defaultValue": null }, { - "name": "config", + "name": "length", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "packaging_type", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "api_key", + "name": "package_preset", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "password", + "name": "description", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "account_number", + "name": "content", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "carrier_id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "BoxKnightSettingsInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "active", + "name": "is_document", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, - "defaultValue": "true" + "defaultValue": null }, { - "name": "config", + "name": "dimension_unit", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "ENUM", + "name": "DimensionUnitEnum", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "reference_number", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "username", + "name": "freight_class", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "password", + "name": "items", "description": null, "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateCommodityInput", + "ofType": null + } } }, "defaultValue": null }, { - "name": "carrier_id", + "name": "id", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null } @@ -35367,14 +28744,14 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "BelgianPostSettingsInput", + "kind": "OBJECT", + "name": "UpdateParcelTemplateMutation", "description": null, - "fields": null, - "inputFields": [ + "fields": [ { - "name": "services", + "name": "errors", "description": null, + "args": [], "type": { "kind": "LIST", "name": null, @@ -35382,467 +28759,426 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateServiceLevelInput", + "kind": "OBJECT", + "name": "ErrorType", "ofType": null } } }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "template", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ParcelTemplateType", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CreateCarrierConnectionMutationInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "allied_express", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "AlliedExpressSettingsInput", + "ofType": null + }, "defaultValue": null }, { - "name": "active", + "name": "allied_express_local", "description": null, "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "INPUT_OBJECT", + "name": "AlliedExpressLocalSettingsInput", "ofType": null }, - "defaultValue": "true" + "defaultValue": null }, { - "name": "config", + "name": "amazon_shipping", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "INPUT_OBJECT", + "name": "AmazonShippingSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "aramex", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "INPUT_OBJECT", + "name": "AramexSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "account_id", + "name": "asendia_us", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "AsendiaUSSettingsInput", + "ofType": null }, "defaultValue": null }, { - "name": "passphrase", + "name": "australiapost", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "AustraliaPostSettingsInput", + "ofType": null }, "defaultValue": null }, { - "name": "carrier_id", + "name": "boxknight", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "BoxKnightSettingsInput", + "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateServiceLevelInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "service_name", + "name": "bpost", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "BelgianPostSettingsInput", + "ofType": null }, "defaultValue": null }, { - "name": "service_code", + "name": "canadapost", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "CanadaPostSettingsInput", + "ofType": null }, "defaultValue": null }, { - "name": "currency", + "name": "canpar", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyCodeEnum", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "CanparSettingsInput", + "ofType": null }, "defaultValue": null }, { - "name": "zones", + "name": "chronopost", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ServiceZoneInput", - "ofType": null - } - } - } + "kind": "INPUT_OBJECT", + "name": "ChronopostSettingsInput", + "ofType": null }, "defaultValue": null }, { - "name": "carrier_service_code", + "name": "colissimo", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "ColissimoSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "description", + "name": "dhl_express", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "DHLExpressSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "active", + "name": "dhl_parcel_de", "description": null, "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "INPUT_OBJECT", + "name": "DHLParcelDESettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "transit_days", + "name": "dhl_poland", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "DHLPolandSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "transit_time", + "name": "dhl_universal", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "DHLUniversalSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "max_width", + "name": "dicom", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "DicomSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "max_height", + "name": "dpd", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "DPDSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "max_length", + "name": "dpdhl", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "DPDHLSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "dimension_unit", + "name": "easypost", "description": null, "type": { - "kind": "ENUM", - "name": "DimensionUnitEnum", + "kind": "INPUT_OBJECT", + "name": "EasyPostSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "min_weight", + "name": "eshipper_xml", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "EShipperXMLSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "max_weight", + "name": "fedex", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "FedexSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "weight_unit", + "name": "fedex_ws", "description": null, "type": { - "kind": "ENUM", - "name": "WeightUnitEnum", + "kind": "INPUT_OBJECT", + "name": "FedexWSSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "domicile", + "name": "freightcom", "description": null, "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "INPUT_OBJECT", + "name": "FreightcomSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "international", + "name": "generic", "description": null, "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "INPUT_OBJECT", + "name": "GenericSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "geodis", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "INPUT_OBJECT", + "name": "GEODISSettingsInput", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ServiceZoneInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "rate", + "name": "laposte", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "LaPosteSettingsInput", + "ofType": null }, "defaultValue": null }, { - "name": "label", + "name": "locate2u", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "Locate2uSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "min_weight", + "name": "nationex", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "NationexSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "max_weight", + "name": "purolator", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "PurolatorSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "transit_days", + "name": "roadie", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "RoadieSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "transit_time", + "name": "royalmail", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "RoyalMailSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "radius", + "name": "sendle", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "SendleSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "latitude", + "name": "tge", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "TGESettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "longitude", + "name": "tnt", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "TNTSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "cities", + "name": "ups", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "kind": "INPUT_OBJECT", + "name": "UPSSettingsInput", + "ofType": null }, "defaultValue": null }, { - "name": "postal_codes", + "name": "usps", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "kind": "INPUT_OBJECT", + "name": "USPSSettingsInput", + "ofType": null }, "defaultValue": null }, { - "name": "country_codes", + "name": "usps_international", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "kind": "INPUT_OBJECT", + "name": "USPSInternationalSettingsInput", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "zoom2u", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Zoom2uSettingsInput", + "ofType": null }, "defaultValue": null } @@ -35853,7 +29189,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "CanadaPostSettingsInput", + "name": "AlliedExpressSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -35916,7 +29252,7 @@ "defaultValue": null }, { - "name": "customer_number", + "name": "account", "description": null, "type": { "kind": "SCALAR", @@ -35926,7 +29262,7 @@ "defaultValue": null }, { - "name": "contract_id", + "name": "service_type", "description": null, "type": { "kind": "SCALAR", @@ -35956,7 +29292,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "CanparSettingsInput", + "name": "AlliedExpressLocalSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -36019,32 +29355,7 @@ "defaultValue": null }, { - "name": "carrier_id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ChronopostSettingsInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "account_country_code", + "name": "account", "description": null, "type": { "kind": "SCALAR", @@ -36054,63 +29365,15 @@ "defaultValue": null }, { - "name": "active", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "true" - }, - { - "name": "config", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "metadata", + "name": "service_type", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null }, - { - "name": "account_number", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "password", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, { "name": "carrier_id", "description": null, @@ -36132,28 +29395,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "ColissimoSettingsInput", + "name": "AmazonShippingSettingsInput", "description": null, "fields": null, "inputFields": [ - { - "name": "services", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateServiceLevelInput", - "ofType": null - } - } - }, - "defaultValue": null - }, { "name": "active", "description": null, @@ -36185,49 +29430,7 @@ "defaultValue": null }, { - "name": "password", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "contract_number", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "laposte_api_key", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "carrier_id", + "name": "seller_id", "description": null, "type": { "kind": "NON_NULL", @@ -36239,60 +29442,9 @@ } }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DHLExpressSettingsInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "account_country_code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "active", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "true" - }, - { - "name": "config", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null }, { - "name": "metadata", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "site_id", + "name": "developer_id", "description": null, "type": { "kind": "NON_NULL", @@ -36306,7 +29458,7 @@ "defaultValue": null }, { - "name": "password", + "name": "mws_auth_token", "description": null, "type": { "kind": "NON_NULL", @@ -36320,7 +29472,7 @@ "defaultValue": null }, { - "name": "account_number", + "name": "aws_region", "description": null, "type": { "kind": "NON_NULL", @@ -36354,25 +29506,17 @@ }, { "kind": "INPUT_OBJECT", - "name": "DHLParcelDESettingsInput", + "name": "AramexSettingsInput", "description": null, "fields": null, "inputFields": [ { - "name": "services", + "name": "account_country_code", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateServiceLevelInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, @@ -36435,7 +29579,7 @@ "defaultValue": null }, { - "name": "dhl_api_key", + "name": "account_pin", "description": null, "type": { "kind": "NON_NULL", @@ -36449,7 +29593,7 @@ "defaultValue": null }, { - "name": "customer_number", + "name": "account_entity", "description": null, "type": { "kind": "NON_NULL", @@ -36463,22 +29607,16 @@ "defaultValue": null }, { - "name": "tracking_consumer_key", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "tracking_consumer_secret", + "name": "account_number", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, @@ -36503,28 +29641,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "DHLPolandSettingsInput", + "name": "AsendiaUSSettingsInput", "description": null, "fields": null, "inputFields": [ - { - "name": "services", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateServiceLevelInput", - "ofType": null - } - } - }, - "defaultValue": null - }, { "name": "active", "description": null, @@ -36583,6 +29703,20 @@ }, "defaultValue": null }, + { + "name": "api_key", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + }, { "name": "account_number", "description": null, @@ -36618,7 +29752,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "DHLUniversalSettingsInput", + "name": "AustraliaPostSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -36653,7 +29787,7 @@ "defaultValue": null }, { - "name": "consumer_key", + "name": "api_key", "description": null, "type": { "kind": "NON_NULL", @@ -36667,7 +29801,21 @@ "defaultValue": null }, { - "name": "consumer_secret", + "name": "password", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "account_number", "description": null, "type": { "kind": "NON_NULL", @@ -36701,7 +29849,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "DicomSettingsInput", + "name": "BoxKnightSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -36763,16 +29911,6 @@ }, "defaultValue": null }, - { - "name": "billing_account", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, { "name": "carrier_id", "description": null, @@ -36794,20 +29932,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "DPDSettingsInput", + "name": "BelgianPostSettingsInput", "description": null, "fields": null, "inputFields": [ - { - "name": "account_country_code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, { "name": "services", "description": null, @@ -36857,7 +29985,7 @@ "defaultValue": null }, { - "name": "delis_id", + "name": "account_id", "description": null, "type": { "kind": "NON_NULL", @@ -36871,7 +29999,7 @@ "defaultValue": null }, { - "name": "password", + "name": "passphrase", "description": null, "type": { "kind": "NON_NULL", @@ -36884,16 +30012,6 @@ }, "defaultValue": null }, - { - "name": "depot", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, { "name": "carrier_id", "description": null, @@ -36915,60 +30033,26 @@ }, { "kind": "INPUT_OBJECT", - "name": "DPDHLSettingsInput", + "name": "CreateServiceLevelInput", "description": null, "fields": null, "inputFields": [ { - "name": "services", + "name": "service_name", "description": null, "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateServiceLevelInput", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, "defaultValue": null }, { - "name": "active", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "true" - }, - { - "name": "config", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "metadata", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "username", + "name": "service_code", "description": null, "type": { "kind": "NON_NULL", @@ -36982,31 +30066,43 @@ "defaultValue": null }, { - "name": "password", + "name": "currency", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "CurrencyCodeEnum", "ofType": null } }, "defaultValue": null }, { - "name": "app_id", + "name": "zones", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ServiceZoneInput", + "ofType": null + } + } + } }, "defaultValue": null }, { - "name": "app_token", + "name": "carrier_service_code", "description": null, "type": { "kind": "SCALAR", @@ -37016,7 +30112,7 @@ "defaultValue": null }, { - "name": "zt_id", + "name": "description", "description": null, "type": { "kind": "SCALAR", @@ -37026,188 +30122,132 @@ "defaultValue": null }, { - "name": "zt_password", + "name": "active", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "account_number", + "name": "transit_days", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null }, { - "name": "carrier_id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "EasyPostSettingsInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "active", + "name": "transit_time", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null }, - "defaultValue": "true" + "defaultValue": null }, { - "name": "config", + "name": "max_width", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "max_height", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "api_key", + "name": "max_length", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null }, "defaultValue": null }, { - "name": "carrier_id", + "name": "dimension_unit", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "ENUM", + "name": "DimensionUnitEnum", + "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "EShipperXMLSettingsInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "active", + "name": "min_weight", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null }, - "defaultValue": "true" + "defaultValue": null }, { - "name": "config", + "name": "max_weight", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "weight_unit", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "ENUM", + "name": "WeightUnitEnum", "ofType": null }, "defaultValue": null }, { - "name": "username", + "name": "domicile", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null }, "defaultValue": null }, { - "name": "password", + "name": "international", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null }, "defaultValue": null }, { - "name": "carrier_id", + "name": "metadata", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "JSON", + "ofType": null }, "defaultValue": null } @@ -37218,12 +30258,26 @@ }, { "kind": "INPUT_OBJECT", - "name": "FedexSettingsInput", + "name": "ServiceZoneInput", "description": null, "fields": null, "inputFields": [ { - "name": "account_country_code", + "name": "rate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "label", "description": null, "type": { "kind": "SCALAR", @@ -37233,95 +30287,125 @@ "defaultValue": null }, { - "name": "active", + "name": "min_weight", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null }, - "defaultValue": "true" + "defaultValue": null }, { - "name": "config", + "name": "max_weight", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "transit_days", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Int", "ofType": null }, "defaultValue": null }, { - "name": "api_key", + "name": "transit_time", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "secret_key", + "name": "radius", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "account_number", + "name": "latitude", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "track_api_key", + "name": "longitude", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "track_secret_key", + "name": "cities", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "carrier_id", + "name": "postal_codes", "description": null, "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "country_codes", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, "defaultValue": null @@ -37333,20 +30417,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "FedexWSSettingsInput", + "name": "CanadaPostSettingsInput", "description": null, "fields": null, "inputFields": [ - { - "name": "account_country_code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, { "name": "active", "description": null, @@ -37378,7 +30452,7 @@ "defaultValue": null }, { - "name": "password", + "name": "username", "description": null, "type": { "kind": "NON_NULL", @@ -37392,7 +30466,7 @@ "defaultValue": null }, { - "name": "meter_number", + "name": "password", "description": null, "type": { "kind": "NON_NULL", @@ -37406,30 +30480,22 @@ "defaultValue": null }, { - "name": "account_number", + "name": "customer_number", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "user_key", + "name": "contract_id", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, @@ -37454,7 +30520,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "FreightcomSettingsInput", + "name": "CanparSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -37537,7 +30603,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "GenericSettingsInput", + "name": "ChronopostSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -37551,34 +30617,6 @@ }, "defaultValue": null }, - { - "name": "label_template", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "LabelTemplateInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "services", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateServiceLevelInput", - "ofType": null - } - } - }, - "defaultValue": null - }, { "name": "active", "description": null, @@ -37610,7 +30648,7 @@ "defaultValue": null }, { - "name": "display_name", + "name": "account_number", "description": null, "type": { "kind": "NON_NULL", @@ -37624,7 +30662,7 @@ "defaultValue": null }, { - "name": "custom_carrier_name", + "name": "password", "description": null, "type": { "kind": "NON_NULL", @@ -37650,16 +30688,6 @@ } }, "defaultValue": null - }, - { - "name": "account_number", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null } ], "interfaces": null, @@ -37668,103 +30696,28 @@ }, { "kind": "INPUT_OBJECT", - "name": "LabelTemplateInput", + "name": "ColissimoSettingsInput", "description": null, "fields": null, "inputFields": [ { - "name": "slug", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "template", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "template_type", + "name": "services", "description": null, "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "ENUM", - "name": "LabelTemplateTypeEnum", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CreateServiceLevelInput", + "ofType": null + } } }, "defaultValue": null }, - { - "name": "width", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "height", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "shipment_sample", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "GEODISSettingsInput", - "description": null, - "fields": null, - "inputFields": [ { "name": "active", "description": null, @@ -37796,7 +30749,7 @@ "defaultValue": null }, { - "name": "api_key", + "name": "password", "description": null, "type": { "kind": "NON_NULL", @@ -37810,7 +30763,7 @@ "defaultValue": null }, { - "name": "identifier", + "name": "contract_number", "description": null, "type": { "kind": "NON_NULL", @@ -37824,7 +30777,7 @@ "defaultValue": null }, { - "name": "code_client", + "name": "laposte_api_key", "description": null, "type": { "kind": "NON_NULL", @@ -37837,16 +30790,6 @@ }, "defaultValue": null }, - { - "name": "language", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, { "name": "carrier_id", "description": null, @@ -37868,10 +30811,20 @@ }, { "kind": "INPUT_OBJECT", - "name": "LaPosteSettingsInput", + "name": "DHLExpressSettingsInput", "description": null, "fields": null, "inputFields": [ + { + "name": "account_country_code", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, { "name": "active", "description": null, @@ -37903,7 +30856,7 @@ "defaultValue": null }, { - "name": "api_key", + "name": "site_id", "description": null, "type": { "kind": "NON_NULL", @@ -37917,12 +30870,30 @@ "defaultValue": null }, { - "name": "lang", + "name": "password", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "account_number", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, @@ -37947,17 +30918,25 @@ }, { "kind": "INPUT_OBJECT", - "name": "Locate2uSettingsInput", + "name": "DHLParcelDESettingsInput", "description": null, "fields": null, "inputFields": [ { - "name": "account_country_code", + "name": "services", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CreateServiceLevelInput", + "ofType": null + } + } }, "defaultValue": null }, @@ -37992,21 +30971,7 @@ "defaultValue": null }, { - "name": "client_id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "client_secret", + "name": "username", "description": null, "type": { "kind": "NON_NULL", @@ -38020,7 +30985,7 @@ "defaultValue": null }, { - "name": "carrier_id", + "name": "password", "description": null, "type": { "kind": "NON_NULL", @@ -38032,50 +30997,9 @@ } }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "NationexSettingsInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "active", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "true" - }, - { - "name": "config", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null }, { - "name": "metadata", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "api_key", + "name": "dhl_api_key", "description": null, "type": { "kind": "NON_NULL", @@ -38089,7 +31013,7 @@ "defaultValue": null }, { - "name": "customer_id", + "name": "customer_number", "description": null, "type": { "kind": "NON_NULL", @@ -38103,7 +31027,7 @@ "defaultValue": null }, { - "name": "billing_account", + "name": "tracking_consumer_key", "description": null, "type": { "kind": "SCALAR", @@ -38113,7 +31037,7 @@ "defaultValue": null }, { - "name": "language", + "name": "tracking_consumer_secret", "description": null, "type": { "kind": "SCALAR", @@ -38143,10 +31067,28 @@ }, { "kind": "INPUT_OBJECT", - "name": "PurolatorSettingsInput", + "name": "DHLPolandSettingsInput", "description": null, "fields": null, "inputFields": [ + { + "name": "services", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CreateServiceLevelInput", + "ofType": null + } + } + }, + "defaultValue": null + }, { "name": "active", "description": null, @@ -38219,16 +31161,6 @@ }, "defaultValue": null }, - { - "name": "user_token", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, { "name": "carrier_id", "description": null, @@ -38250,7 +31182,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "RoadieSettingsInput", + "name": "DHLUniversalSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -38285,7 +31217,21 @@ "defaultValue": null }, { - "name": "api_key", + "name": "consumer_key", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "consumer_secret", "description": null, "type": { "kind": "NON_NULL", @@ -38319,7 +31265,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "RoyalMailSettingsInput", + "name": "DicomSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -38354,7 +31300,7 @@ "defaultValue": null }, { - "name": "client_id", + "name": "username", "description": null, "type": { "kind": "NON_NULL", @@ -38368,7 +31314,7 @@ "defaultValue": null }, { - "name": "client_secret", + "name": "password", "description": null, "type": { "kind": "NON_NULL", @@ -38381,6 +31327,16 @@ }, "defaultValue": null }, + { + "name": "billing_account", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, { "name": "carrier_id", "description": null, @@ -38402,7 +31358,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "SendleSettingsInput", + "name": "DPDSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -38416,6 +31372,24 @@ }, "defaultValue": null }, + { + "name": "services", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CreateServiceLevelInput", + "ofType": null + } + } + }, + "defaultValue": null + }, { "name": "active", "description": null, @@ -38447,7 +31421,7 @@ "defaultValue": null }, { - "name": "sendle_id", + "name": "delis_id", "description": null, "type": { "kind": "NON_NULL", @@ -38461,7 +31435,7 @@ "defaultValue": null }, { - "name": "api_key", + "name": "password", "description": null, "type": { "kind": "NON_NULL", @@ -38474,6 +31448,16 @@ }, "defaultValue": null }, + { + "name": "depot", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, { "name": "carrier_id", "description": null, @@ -38495,10 +31479,28 @@ }, { "kind": "INPUT_OBJECT", - "name": "TGESettingsInput", + "name": "DPDHLSettingsInput", "description": null, "fields": null, "inputFields": [ + { + "name": "services", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CreateServiceLevelInput", + "ofType": null + } + } + }, + "defaultValue": null + }, { "name": "active", "description": null, @@ -38558,86 +31560,52 @@ "defaultValue": null }, { - "name": "api_key", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "toll_username", + "name": "app_id", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "toll_password", + "name": "app_token", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "my_toll_token", + "name": "zt_id", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "my_toll_identity", + "name": "zt_password", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "account_code", + "name": "account_number", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, @@ -38662,20 +31630,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "TNTSettingsInput", + "name": "EasyPostSettingsInput", "description": null, "fields": null, "inputFields": [ - { - "name": "account_country_code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, { "name": "active", "description": null, @@ -38707,35 +31665,7 @@ "defaultValue": null }, { - "name": "username", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "password", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "account_number", + "name": "api_key", "description": null, "type": { "kind": "NON_NULL", @@ -38769,20 +31699,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "UPSSettingsInput", + "name": "EShipperXMLSettingsInput", "description": null, "fields": null, "inputFields": [ - { - "name": "account_country_code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, { "name": "active", "description": null, @@ -38814,7 +31734,7 @@ "defaultValue": null }, { - "name": "client_id", + "name": "username", "description": null, "type": { "kind": "NON_NULL", @@ -38828,7 +31748,7 @@ "defaultValue": null }, { - "name": "client_secret", + "name": "password", "description": null, "type": { "kind": "NON_NULL", @@ -38841,16 +31761,6 @@ }, "defaultValue": null }, - { - "name": "account_number", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, { "name": "carrier_id", "description": null, @@ -38872,10 +31782,20 @@ }, { "kind": "INPUT_OBJECT", - "name": "USPSSettingsInput", + "name": "FedexSettingsInput", "description": null, "fields": null, "inputFields": [ + { + "name": "account_country_code", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, { "name": "active", "description": null, @@ -38907,35 +31827,27 @@ "defaultValue": null }, { - "name": "username", + "name": "api_key", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "password", + "name": "secret_key", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "mailer_id", + "name": "account_number", "description": null, "type": { "kind": "SCALAR", @@ -38945,7 +31857,7 @@ "defaultValue": null }, { - "name": "customer_registration_id", + "name": "track_api_key", "description": null, "type": { "kind": "SCALAR", @@ -38955,7 +31867,7 @@ "defaultValue": null }, { - "name": "logistics_manager_mailer_id", + "name": "track_secret_key", "description": null, "type": { "kind": "SCALAR", @@ -38985,10 +31897,20 @@ }, { "kind": "INPUT_OBJECT", - "name": "USPSInternationalSettingsInput", + "name": "FedexWSSettingsInput", "description": null, "fields": null, "inputFields": [ + { + "name": "account_country_code", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, { "name": "active", "description": null, @@ -39020,7 +31942,7 @@ "defaultValue": null }, { - "name": "username", + "name": "password", "description": null, "type": { "kind": "NON_NULL", @@ -39034,7 +31956,7 @@ "defaultValue": null }, { - "name": "password", + "name": "meter_number", "description": null, "type": { "kind": "NON_NULL", @@ -39048,32 +31970,30 @@ "defaultValue": null }, { - "name": "mailer_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "customer_registration_id", + "name": "account_number", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "logistics_manager_mailer_id", + "name": "user_key", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, @@ -39098,20 +32018,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "Zoom2uSettingsInput", + "name": "FreightcomSettingsInput", "description": null, "fields": null, "inputFields": [ - { - "name": "account_country_code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, { "name": "active", "description": null, @@ -39143,7 +32053,7 @@ "defaultValue": null }, { - "name": "api_key", + "name": "username", "description": null, "type": { "kind": "NON_NULL", @@ -39157,7 +32067,7 @@ "defaultValue": null }, { - "name": "carrier_id", + "name": "password", "description": null, "type": { "kind": "NON_NULL", @@ -39169,452 +32079,521 @@ } }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CreateCarrierConnectionMutation", - "description": null, - "fields": [ - { - "name": "errors", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null }, { - "name": "connection", + "name": "carrier_id", "description": null, - "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "UNION", - "name": "CarrierConnectionType", + "kind": "SCALAR", + "name": "String", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "UpdateCarrierConnectionMutationInput", + "name": "GenericSettingsInput", "description": null, "fields": null, "inputFields": [ { - "name": "allied_express", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateAlliedExpressSettingsInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "allied_express_local", + "name": "account_country_code", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateAlliedExpressLocalSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "amazon_shipping", + "name": "label_template", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "UpdateAmazonShippingSettingsInput", + "name": "LabelTemplateInput", "ofType": null }, "defaultValue": null }, { - "name": "aramex", + "name": "services", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateAramexSettingsInput", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CreateServiceLevelInput", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "asendia_us", + "name": "active", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateAsendiaUSSettingsInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "true" }, { - "name": "australiapost", + "name": "config", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateAustraliaPostSettingsInput", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "boxknight", + "name": "metadata", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateBoxKnightSettingsInput", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "bpost", + "name": "display_name", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateBelgianPostSettingsInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "canadapost", + "name": "custom_carrier_name", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateCanadaPostSettingsInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "canpar", + "name": "carrier_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateCanparSettingsInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "chronopost", + "name": "account_number", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateChronopostSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "LabelTemplateInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "colissimo", + "name": "slug", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateColissimoSettingsInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "dhl_express", + "name": "template", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateDHLExpressSettingsInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "dhl_parcel_de", + "name": "template_type", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateDHLParcelDESettingsInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "LabelTemplateTypeEnum", + "ofType": null + } }, "defaultValue": null }, { - "name": "dhl_poland", + "name": "width", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateDHLPolandSettingsInput", + "kind": "SCALAR", + "name": "Int", "ofType": null }, "defaultValue": null }, { - "name": "dhl_universal", + "name": "height", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateDHLUniversalSettingsInput", + "kind": "SCALAR", + "name": "Int", "ofType": null }, "defaultValue": null }, { - "name": "dicom", + "name": "shipment_sample", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateDicomSettingsInput", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "dpd", + "name": "id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateDPDSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "GEODISSettingsInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "dpdhl", + "name": "active", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateDPDHLSettingsInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "true" }, { - "name": "easypost", + "name": "config", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateEasyPostSettingsInput", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "eshipper_xml", + "name": "metadata", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateEShipperXMLSettingsInput", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "fedex", + "name": "api_key", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateFedexSettingsInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "fedex_ws", + "name": "identifier", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateFedexWSSettingsInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "freightcom", + "name": "code_client", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateFreightcomSettingsInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "generic", + "name": "language", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateGenericSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "geodis", + "name": "carrier_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateGEODISSettingsInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "LaPosteSettingsInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "laposte", + "name": "active", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateLaPosteSettingsInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "true" }, { - "name": "locate2u", + "name": "config", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateLocate2uSettingsInput", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "nationex", + "name": "metadata", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateNationexSettingsInput", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "purolator", + "name": "api_key", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdatePurolatorSettingsInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "roadie", + "name": "lang", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateRoadieSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "royalmail", + "name": "carrier_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateRoyalMailSettingsInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "Locate2uSettingsInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "sendle", + "name": "account_country_code", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateSendleSettingsInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "tge", + "name": "active", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateTGESettingsInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "true" }, { - "name": "tnt", + "name": "config", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateTNTSettingsInput", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "ups", + "name": "metadata", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateUPSSettingsInput", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "usps", + "name": "client_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateUSPSSettingsInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "usps_international", + "name": "client_secret", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateUSPSInternationalSettingsInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "zoom2u", + "name": "carrier_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateZoom2uSettingsInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null } @@ -39625,24 +32604,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateAlliedExpressSettingsInput", + "name": "NationexSettingsInput", "description": null, "fields": null, "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, { "name": "active", "description": null, @@ -39674,27 +32639,35 @@ "defaultValue": null }, { - "name": "username", + "name": "api_key", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "password", + "name": "customer_id", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "account", + "name": "billing_account", "description": null, "type": { "kind": "SCALAR", @@ -39704,7 +32677,7 @@ "defaultValue": null }, { - "name": "service_type", + "name": "language", "description": null, "type": { "kind": "SCALAR", @@ -39717,9 +32690,13 @@ "name": "carrier_id", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null } @@ -39730,24 +32707,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateAlliedExpressLocalSettingsInput", + "name": "PurolatorSettingsInput", "description": null, "fields": null, "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, { "name": "active", "description": null, @@ -39782,9 +32745,13 @@ "name": "username", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, @@ -39792,24 +32759,32 @@ "name": "password", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "account", + "name": "account_number", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "service_type", + "name": "user_token", "description": null, "type": { "kind": "SCALAR", @@ -39822,9 +32797,13 @@ "name": "carrier_id", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null } @@ -39835,12 +32814,42 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateAmazonShippingSettingsInput", + "name": "RoadieSettingsInput", "description": null, "fields": null, "inputFields": [ { - "name": "id", + "name": "active", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "true" + }, + { + "name": "config", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "metadata", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "api_key", "description": null, "type": { "kind": "NON_NULL", @@ -39853,6 +32862,31 @@ }, "defaultValue": null }, + { + "name": "carrier_id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "RoyalMailSettingsInput", + "description": null, + "fields": null, + "inputFields": [ { "name": "active", "description": null, @@ -39884,7 +32918,60 @@ "defaultValue": null }, { - "name": "seller_id", + "name": "client_id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "client_secret", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "carrier_id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "SendleSettingsInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "account_country_code", "description": null, "type": { "kind": "SCALAR", @@ -39894,58 +32981,51 @@ "defaultValue": null }, { - "name": "developer_id", + "name": "active", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "true" }, { - "name": "mws_auth_token", + "name": "config", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "aws_region", + "name": "metadata", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "carrier_id", + "name": "sendle_id", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateAramexSettingsInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "id", + "name": "api_key", "description": null, "type": { "kind": "NON_NULL", @@ -39959,15 +33039,30 @@ "defaultValue": null }, { - "name": "account_country_code", + "name": "carrier_id", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "TGESettingsInput", + "description": null, + "fields": null, + "inputFields": [ { "name": "active", "description": null, @@ -40002,9 +33097,13 @@ "name": "username", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, @@ -40012,39 +33111,97 @@ "name": "password", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "account_pin", + "name": "api_key", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "account_entity", + "name": "toll_username", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "account_number", + "name": "toll_password", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "my_toll_token", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "my_toll_identity", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "account_code", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, @@ -40052,9 +33209,13 @@ "name": "carrier_id", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null } @@ -40065,21 +33226,17 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateAsendiaUSSettingsInput", + "name": "TNTSettingsInput", "description": null, "fields": null, "inputFields": [ { - "name": "id", + "name": "account_country_code", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, @@ -40117,9 +33274,13 @@ "name": "username", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, @@ -40127,19 +33288,13 @@ "name": "password", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "api_key", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, @@ -40147,9 +33302,13 @@ "name": "account_number", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, @@ -40157,9 +33316,13 @@ "name": "carrier_id", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null } @@ -40170,21 +33333,17 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateAustraliaPostSettingsInput", + "name": "UPSSettingsInput", "description": null, "fields": null, "inputFields": [ { - "name": "id", + "name": "account_country_code", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, @@ -40219,22 +33378,30 @@ "defaultValue": null }, { - "name": "api_key", + "name": "client_id", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "password", + "name": "client_secret", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, @@ -40252,9 +33419,13 @@ "name": "carrier_id", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null } @@ -40265,24 +33436,10 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateBoxKnightSettingsInput", + "name": "USPSSettingsInput", "description": null, "fields": null, "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, { "name": "active", "description": null, @@ -40316,47 +33473,6 @@ { "name": "username", "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "password", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "carrier_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateBelgianPostSettingsInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, "type": { "kind": "NON_NULL", "name": null, @@ -40369,55 +33485,31 @@ "defaultValue": null }, { - "name": "services", + "name": "password", "description": null, "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateServiceLevelInput", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, "defaultValue": null }, { - "name": "active", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "true" - }, - { - "name": "config", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "metadata", + "name": "mailer_id", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "account_id", + "name": "customer_registration_id", "description": null, "type": { "kind": "SCALAR", @@ -40427,7 +33519,7 @@ "defaultValue": null }, { - "name": "passphrase", + "name": "logistics_manager_mailer_id", "description": null, "type": { "kind": "SCALAR", @@ -40440,9 +33532,13 @@ "name": "carrier_id", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null } @@ -40453,70 +33549,70 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateServiceLevelInput", + "name": "USPSInternationalSettingsInput", "description": null, "fields": null, "inputFields": [ { - "name": "service_name", + "name": "active", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "true" }, { - "name": "service_code", + "name": "config", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "currency", + "name": "metadata", "description": null, "type": { - "kind": "ENUM", - "name": "CurrencyCodeEnum", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "zones", + "name": "username", "description": null, "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateServiceZoneInput", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, "defaultValue": null }, { - "name": "carrier_service_code", + "name": "password", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "description", + "name": "mailer_id", "description": null, "type": { "kind": "SCALAR", @@ -40526,581 +33622,562 @@ "defaultValue": null }, { - "name": "active", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "transit_days", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "transit_time", + "name": "customer_registration_id", "description": null, "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "max_width", + "name": "logistics_manager_mailer_id", "description": null, "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "max_height", + "name": "carrier_id", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "Zoom2uSettingsInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "max_length", + "name": "account_country_code", "description": null, "type": { "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "dimension_unit", - "description": null, - "type": { - "kind": "ENUM", - "name": "DimensionUnitEnum", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "min_weight", + "name": "active", "description": null, "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "true" }, { - "name": "max_weight", + "name": "config", "description": null, "type": { "kind": "SCALAR", - "name": "Float", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "weight_unit", + "name": "metadata", "description": null, "type": { - "kind": "ENUM", - "name": "WeightUnitEnum", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "domicile", + "name": "api_key", "description": null, "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "international", + "name": "carrier_id", "description": null, "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CreateCarrierConnectionMutation", + "description": null, + "fields": [ { - "name": "metadata", + "name": "errors", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ErrorType", + "ofType": null + } + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "id", + "name": "connection", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "CarrierConnectionType", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "UpdateServiceZoneInput", + "name": "UpdateCarrierConnectionMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "rate", + "name": "allied_express", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "UpdateAlliedExpressSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "label", + "name": "allied_express_local", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UpdateAlliedExpressLocalSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "min_weight", + "name": "amazon_shipping", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "UpdateAmazonShippingSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "max_weight", + "name": "aramex", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "UpdateAramexSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "transit_days", + "name": "asendia_us", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "UpdateAsendiaUSSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "transit_time", + "name": "australiapost", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "UpdateAustraliaPostSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "radius", + "name": "boxknight", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "UpdateBoxKnightSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "latitude", + "name": "bpost", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "UpdateBelgianPostSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "longitude", + "name": "canadapost", "description": null, "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "UpdateCanadaPostSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "cities", + "name": "canpar", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "kind": "INPUT_OBJECT", + "name": "UpdateCanparSettingsInput", + "ofType": null }, "defaultValue": null }, { - "name": "postal_codes", + "name": "chronopost", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "kind": "INPUT_OBJECT", + "name": "UpdateChronopostSettingsInput", + "ofType": null }, "defaultValue": null }, { - "name": "country_codes", + "name": "colissimo", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "kind": "INPUT_OBJECT", + "name": "UpdateColissimoSettingsInput", + "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateCanadaPostSettingsInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "id", + "name": "dhl_express", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "UpdateDHLExpressSettingsInput", + "ofType": null }, "defaultValue": null }, { - "name": "active", + "name": "dhl_parcel_de", "description": null, "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "INPUT_OBJECT", + "name": "UpdateDHLParcelDESettingsInput", "ofType": null }, - "defaultValue": "true" + "defaultValue": null }, { - "name": "config", + "name": "dhl_poland", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "INPUT_OBJECT", + "name": "UpdateDHLPolandSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "dhl_universal", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "INPUT_OBJECT", + "name": "UpdateDHLUniversalSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "username", + "name": "dicom", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UpdateDicomSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "password", + "name": "dpd", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UpdateDPDSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "customer_number", + "name": "dpdhl", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UpdateDPDHLSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "contract_id", + "name": "easypost", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UpdateEasyPostSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "carrier_id", + "name": "eshipper_xml", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UpdateEShipperXMLSettingsInput", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateCanparSettingsInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "id", + "name": "fedex", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "UpdateFedexSettingsInput", + "ofType": null }, "defaultValue": null }, { - "name": "active", + "name": "fedex_ws", "description": null, "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "INPUT_OBJECT", + "name": "UpdateFedexWSSettingsInput", "ofType": null }, - "defaultValue": "true" + "defaultValue": null }, { - "name": "config", + "name": "freightcom", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "INPUT_OBJECT", + "name": "UpdateFreightcomSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "generic", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "INPUT_OBJECT", + "name": "UpdateGenericSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "username", + "name": "geodis", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UpdateGEODISSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "password", + "name": "laposte", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UpdateLaPosteSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "carrier_id", + "name": "locate2u", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UpdateLocate2uSettingsInput", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateChronopostSettingsInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "id", + "name": "nationex", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "UpdateNationexSettingsInput", + "ofType": null }, "defaultValue": null }, { - "name": "account_country_code", + "name": "purolator", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UpdatePurolatorSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "active", + "name": "roadie", "description": null, "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "INPUT_OBJECT", + "name": "UpdateRoadieSettingsInput", "ofType": null }, - "defaultValue": "true" + "defaultValue": null }, { - "name": "config", + "name": "royalmail", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "INPUT_OBJECT", + "name": "UpdateRoyalMailSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "sendle", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "INPUT_OBJECT", + "name": "UpdateSendleSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "account_number", + "name": "tge", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UpdateTGESettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "password", + "name": "tnt", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UpdateTNTSettingsInput", "ofType": null }, "defaultValue": null }, { - "name": "carrier_id", + "name": "ups", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UpdateUPSSettingsInput", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "usps", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "UpdateUSPSSettingsInput", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "usps_international", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "UpdateUSPSInternationalSettingsInput", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "zoom2u", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "UpdateZoom2uSettingsInput", "ofType": null }, "defaultValue": null @@ -41112,7 +34189,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateColissimoSettingsInput", + "name": "UpdateAlliedExpressSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -41130,24 +34207,6 @@ }, "defaultValue": null }, - { - "name": "services", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateServiceLevelInput", - "ofType": null - } - } - }, - "defaultValue": null - }, { "name": "active", "description": null, @@ -41178,6 +34237,16 @@ }, "defaultValue": null }, + { + "name": "username", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, { "name": "password", "description": null, @@ -41189,7 +34258,7 @@ "defaultValue": null }, { - "name": "contract_number", + "name": "account", "description": null, "type": { "kind": "SCALAR", @@ -41199,7 +34268,7 @@ "defaultValue": null }, { - "name": "laposte_api_key", + "name": "service_type", "description": null, "type": { "kind": "SCALAR", @@ -41225,7 +34294,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateDHLExpressSettingsInput", + "name": "UpdateAlliedExpressLocalSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -41243,16 +34312,6 @@ }, "defaultValue": null }, - { - "name": "account_country_code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, { "name": "active", "description": null, @@ -41284,7 +34343,7 @@ "defaultValue": null }, { - "name": "site_id", + "name": "username", "description": null, "type": { "kind": "SCALAR", @@ -41304,7 +34363,17 @@ "defaultValue": null }, { - "name": "account_number", + "name": "account", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "service_type", "description": null, "type": { "kind": "SCALAR", @@ -41330,7 +34399,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateDHLParcelDESettingsInput", + "name": "UpdateAmazonShippingSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -41348,24 +34417,6 @@ }, "defaultValue": null }, - { - "name": "services", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateServiceLevelInput", - "ofType": null - } - } - }, - "defaultValue": null - }, { "name": "active", "description": null, @@ -41397,27 +34448,7 @@ "defaultValue": null }, { - "name": "username", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "password", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "dhl_api_key", + "name": "seller_id", "description": null, "type": { "kind": "SCALAR", @@ -41427,7 +34458,7 @@ "defaultValue": null }, { - "name": "customer_number", + "name": "developer_id", "description": null, "type": { "kind": "SCALAR", @@ -41437,7 +34468,7 @@ "defaultValue": null }, { - "name": "tracking_consumer_key", + "name": "mws_auth_token", "description": null, "type": { "kind": "SCALAR", @@ -41447,7 +34478,7 @@ "defaultValue": null }, { - "name": "tracking_consumer_secret", + "name": "aws_region", "description": null, "type": { "kind": "SCALAR", @@ -41473,7 +34504,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateDHLPolandSettingsInput", + "name": "UpdateAramexSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -41492,20 +34523,12 @@ "defaultValue": null }, { - "name": "services", + "name": "account_country_code", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateServiceLevelInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, @@ -41560,17 +34583,7 @@ "defaultValue": null }, { - "name": "account_number", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "carrier_id", + "name": "account_pin", "description": null, "type": { "kind": "SCALAR", @@ -41578,64 +34591,9 @@ "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateDHLUniversalSettingsInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "active", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "true" - }, - { - "name": "config", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null }, { - "name": "metadata", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "consumer_key", + "name": "account_entity", "description": null, "type": { "kind": "SCALAR", @@ -41645,7 +34603,7 @@ "defaultValue": null }, { - "name": "consumer_secret", + "name": "account_number", "description": null, "type": { "kind": "SCALAR", @@ -41671,7 +34629,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateDicomSettingsInput", + "name": "UpdateAsendiaUSSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -41740,7 +34698,17 @@ "defaultValue": null }, { - "name": "billing_account", + "name": "api_key", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "account_number", "description": null, "type": { "kind": "SCALAR", @@ -41766,7 +34734,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateDPDSettingsInput", + "name": "UpdateAustraliaPostSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -41784,34 +34752,6 @@ }, "defaultValue": null }, - { - "name": "account_country_code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "services", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateServiceLevelInput", - "ofType": null - } - } - }, - "defaultValue": null - }, { "name": "active", "description": null, @@ -41843,7 +34783,7 @@ "defaultValue": null }, { - "name": "delis_id", + "name": "api_key", "description": null, "type": { "kind": "SCALAR", @@ -41863,7 +34803,7 @@ "defaultValue": null }, { - "name": "depot", + "name": "account_number", "description": null, "type": { "kind": "SCALAR", @@ -41889,7 +34829,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateDPDHLSettingsInput", + "name": "UpdateBoxKnightSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -41907,24 +34847,6 @@ }, "defaultValue": null }, - { - "name": "services", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateServiceLevelInput", - "ofType": null - } - } - }, - "defaultValue": null - }, { "name": "active", "description": null, @@ -41975,56 +34897,6 @@ }, "defaultValue": null }, - { - "name": "app_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "app_token", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "zt_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "zt_password", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "account_number", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, { "name": "carrier_id", "description": null, @@ -42042,7 +34914,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateEasyPostSettingsInput", + "name": "UpdateBelgianPostSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -42060,6 +34932,24 @@ }, "defaultValue": null }, + { + "name": "services", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateServiceLevelInput", + "ofType": null + } + } + }, + "defaultValue": null + }, { "name": "active", "description": null, @@ -42091,7 +34981,17 @@ "defaultValue": null }, { - "name": "api_key", + "name": "account_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "passphrase", "description": null, "type": { "kind": "SCALAR", @@ -42117,56 +35017,60 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateEShipperXMLSettingsInput", + "name": "UpdateServiceLevelInput", "description": null, "fields": null, "inputFields": [ { - "name": "id", + "name": "service_name", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "active", + "name": "service_code", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null }, - "defaultValue": "true" + "defaultValue": null }, { - "name": "config", + "name": "currency", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "ENUM", + "name": "CurrencyCodeEnum", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "zones", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateServiceZoneInput", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "username", + "name": "carrier_service_code", "description": null, "type": { "kind": "SCALAR", @@ -42176,7 +35080,7 @@ "defaultValue": null }, { - "name": "password", + "name": "description", "description": null, "type": { "kind": "SCALAR", @@ -42186,132 +35090,137 @@ "defaultValue": null }, { - "name": "carrier_id", + "name": "active", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateFedexSettingsInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "id", + "name": "transit_days", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null }, "defaultValue": null }, { - "name": "account_country_code", + "name": "transit_time", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "active", + "name": "max_width", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null }, - "defaultValue": "true" + "defaultValue": null }, { - "name": "config", + "name": "max_height", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "max_length", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "api_key", + "name": "dimension_unit", + "description": null, + "type": { + "kind": "ENUM", + "name": "DimensionUnitEnum", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min_weight", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "secret_key", + "name": "max_weight", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "account_number", + "name": "weight_unit", + "description": null, + "type": { + "kind": "ENUM", + "name": "WeightUnitEnum", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "domicile", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "track_api_key", + "name": "international", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "track_secret_key", + "name": "metadata", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "carrier_id", + "name": "id", "description": null, "type": { "kind": "SCALAR", @@ -42327,26 +35236,22 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateFedexWSSettingsInput", + "name": "UpdateServiceZoneInput", "description": null, "fields": null, "inputFields": [ { - "name": "id", + "name": "rate", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null }, "defaultValue": null }, { - "name": "account_country_code", + "name": "label", "description": null, "type": { "kind": "SCALAR", @@ -42356,82 +35261,126 @@ "defaultValue": null }, { - "name": "active", + "name": "min_weight", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null }, - "defaultValue": "true" + "defaultValue": null }, { - "name": "config", + "name": "max_weight", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "transit_days", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Int", "ofType": null }, "defaultValue": null }, { - "name": "password", + "name": "transit_time", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "meter_number", + "name": "radius", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "account_number", + "name": "latitude", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "user_key", + "name": "longitude", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null }, "defaultValue": null }, { - "name": "carrier_id", + "name": "cities", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "postal_codes", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "country_codes", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } }, "defaultValue": null } @@ -42442,7 +35391,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateFreightcomSettingsInput", + "name": "UpdateCanadaPostSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -42510,6 +35459,26 @@ }, "defaultValue": null }, + { + "name": "customer_number", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "contract_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, { "name": "carrier_id", "description": null, @@ -42527,7 +35496,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateGenericSettingsInput", + "name": "UpdateCanparSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -42545,44 +35514,6 @@ }, "defaultValue": null }, - { - "name": "account_country_code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "label_template", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "LabelTemplateInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "services", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateServiceLevelInput", - "ofType": null - } - } - }, - "defaultValue": null - }, { "name": "active", "description": null, @@ -42614,7 +35545,7 @@ "defaultValue": null }, { - "name": "display_name", + "name": "username", "description": null, "type": { "kind": "SCALAR", @@ -42624,7 +35555,7 @@ "defaultValue": null }, { - "name": "custom_carrier_name", + "name": "password", "description": null, "type": { "kind": "SCALAR", @@ -42642,16 +35573,6 @@ "ofType": null }, "defaultValue": null - }, - { - "name": "account_number", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null } ], "interfaces": null, @@ -42660,7 +35581,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateGEODISSettingsInput", + "name": "UpdateChronopostSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -42679,57 +35600,47 @@ "defaultValue": null }, { - "name": "active", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "true" - }, - { - "name": "config", + "name": "account_country_code", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "active", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "true" }, { - "name": "api_key", + "name": "config", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "identifier", + "name": "metadata", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "code_client", + "name": "account_number", "description": null, "type": { "kind": "SCALAR", @@ -42739,7 +35650,7 @@ "defaultValue": null }, { - "name": "language", + "name": "password", "description": null, "type": { "kind": "SCALAR", @@ -42765,7 +35676,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateLaPosteSettingsInput", + "name": "UpdateColissimoSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -42783,6 +35694,24 @@ }, "defaultValue": null }, + { + "name": "services", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateServiceLevelInput", + "ofType": null + } + } + }, + "defaultValue": null + }, { "name": "active", "description": null, @@ -42814,7 +35743,7 @@ "defaultValue": null }, { - "name": "api_key", + "name": "password", "description": null, "type": { "kind": "SCALAR", @@ -42824,7 +35753,17 @@ "defaultValue": null }, { - "name": "lang", + "name": "contract_number", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "laposte_api_key", "description": null, "type": { "kind": "SCALAR", @@ -42850,7 +35789,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateLocate2uSettingsInput", + "name": "UpdateDHLExpressSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -42909,7 +35848,7 @@ "defaultValue": null }, { - "name": "client_id", + "name": "site_id", "description": null, "type": { "kind": "SCALAR", @@ -42919,7 +35858,17 @@ "defaultValue": null }, { - "name": "client_secret", + "name": "password", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "account_number", "description": null, "type": { "kind": "SCALAR", @@ -42945,7 +35894,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateNationexSettingsInput", + "name": "UpdateDHLParcelDESettingsInput", "description": null, "fields": null, "inputFields": [ @@ -42963,6 +35912,24 @@ }, "defaultValue": null }, + { + "name": "services", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateServiceLevelInput", + "ofType": null + } + } + }, + "defaultValue": null + }, { "name": "active", "description": null, @@ -42994,7 +35961,7 @@ "defaultValue": null }, { - "name": "api_key", + "name": "username", "description": null, "type": { "kind": "SCALAR", @@ -43004,7 +35971,7 @@ "defaultValue": null }, { - "name": "customer_id", + "name": "password", "description": null, "type": { "kind": "SCALAR", @@ -43014,7 +35981,7 @@ "defaultValue": null }, { - "name": "billing_account", + "name": "dhl_api_key", "description": null, "type": { "kind": "SCALAR", @@ -43024,7 +35991,27 @@ "defaultValue": null }, { - "name": "language", + "name": "customer_number", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "tracking_consumer_key", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "tracking_consumer_secret", "description": null, "type": { "kind": "SCALAR", @@ -43050,7 +36037,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdatePurolatorSettingsInput", + "name": "UpdateDHLPolandSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -43068,6 +36055,24 @@ }, "defaultValue": null }, + { + "name": "services", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateServiceLevelInput", + "ofType": null + } + } + }, + "defaultValue": null + }, { "name": "active", "description": null, @@ -43128,16 +36133,6 @@ }, "defaultValue": null }, - { - "name": "user_token", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, { "name": "carrier_id", "description": null, @@ -43155,7 +36150,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateRoadieSettingsInput", + "name": "UpdateDHLUniversalSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -43204,7 +36199,17 @@ "defaultValue": null }, { - "name": "api_key", + "name": "consumer_key", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "consumer_secret", "description": null, "type": { "kind": "SCALAR", @@ -43230,7 +36235,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateRoyalMailSettingsInput", + "name": "UpdateDicomSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -43279,7 +36284,7 @@ "defaultValue": null }, { - "name": "client_id", + "name": "username", "description": null, "type": { "kind": "SCALAR", @@ -43289,7 +36294,17 @@ "defaultValue": null }, { - "name": "client_secret", + "name": "password", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "billing_account", "description": null, "type": { "kind": "SCALAR", @@ -43315,7 +36330,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateSendleSettingsInput", + "name": "UpdateDPDSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -43343,6 +36358,24 @@ }, "defaultValue": null }, + { + "name": "services", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateServiceLevelInput", + "ofType": null + } + } + }, + "defaultValue": null + }, { "name": "active", "description": null, @@ -43374,7 +36407,7 @@ "defaultValue": null }, { - "name": "sendle_id", + "name": "delis_id", "description": null, "type": { "kind": "SCALAR", @@ -43384,7 +36417,17 @@ "defaultValue": null }, { - "name": "api_key", + "name": "password", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "depot", "description": null, "type": { "kind": "SCALAR", @@ -43410,7 +36453,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateTGESettingsInput", + "name": "UpdateDPDHLSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -43429,152 +36472,55 @@ "defaultValue": null }, { - "name": "active", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "true" - }, - { - "name": "config", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "metadata", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "username", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "password", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "api_key", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "toll_username", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "toll_password", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "my_toll_token", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "my_toll_identity", + "name": "services", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateServiceLevelInput", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "account_code", + "name": "active", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "true" }, { - "name": "carrier_id", + "name": "config", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateTNTSettingsInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "id", + "name": "metadata", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "JSON", + "ofType": null }, "defaultValue": null }, { - "name": "account_country_code", + "name": "username", "description": null, "type": { "kind": "SCALAR", @@ -43584,37 +36530,37 @@ "defaultValue": null }, { - "name": "active", + "name": "password", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null }, - "defaultValue": "true" + "defaultValue": null }, { - "name": "config", + "name": "app_id", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "app_token", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "username", + "name": "zt_id", "description": null, "type": { "kind": "SCALAR", @@ -43624,7 +36570,7 @@ "defaultValue": null }, { - "name": "password", + "name": "zt_password", "description": null, "type": { "kind": "SCALAR", @@ -43660,7 +36606,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateUPSSettingsInput", + "name": "UpdateEasyPostSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -43678,16 +36624,6 @@ }, "defaultValue": null }, - { - "name": "account_country_code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, { "name": "active", "description": null, @@ -43719,27 +36655,7 @@ "defaultValue": null }, { - "name": "client_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "client_secret", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "account_number", + "name": "api_key", "description": null, "type": { "kind": "SCALAR", @@ -43765,7 +36681,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateUSPSSettingsInput", + "name": "UpdateEShipperXMLSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -43833,36 +36749,6 @@ }, "defaultValue": null }, - { - "name": "mailer_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "customer_registration_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "logistics_manager_mailer_id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, { "name": "carrier_id", "description": null, @@ -43880,7 +36766,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateUSPSInternationalSettingsInput", + "name": "UpdateFedexSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -43898,6 +36784,16 @@ }, "defaultValue": null }, + { + "name": "account_country_code", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, { "name": "active", "description": null, @@ -43929,7 +36825,7 @@ "defaultValue": null }, { - "name": "username", + "name": "api_key", "description": null, "type": { "kind": "SCALAR", @@ -43939,7 +36835,7 @@ "defaultValue": null }, { - "name": "password", + "name": "secret_key", "description": null, "type": { "kind": "SCALAR", @@ -43949,7 +36845,7 @@ "defaultValue": null }, { - "name": "mailer_id", + "name": "account_number", "description": null, "type": { "kind": "SCALAR", @@ -43959,7 +36855,7 @@ "defaultValue": null }, { - "name": "customer_registration_id", + "name": "track_api_key", "description": null, "type": { "kind": "SCALAR", @@ -43969,7 +36865,7 @@ "defaultValue": null }, { - "name": "logistics_manager_mailer_id", + "name": "track_secret_key", "description": null, "type": { "kind": "SCALAR", @@ -43995,7 +36891,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateZoom2uSettingsInput", + "name": "UpdateFedexWSSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -44054,7 +36950,7 @@ "defaultValue": null }, { - "name": "api_key", + "name": "password", "description": null, "type": { "kind": "SCALAR", @@ -44064,7 +36960,7 @@ "defaultValue": null }, { - "name": "carrier_id", + "name": "meter_number", "description": null, "type": { "kind": "SCALAR", @@ -44072,62 +36968,45 @@ "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "UpdateCarrierConnectionMutation", - "description": null, - "fields": [ + }, { - "name": "errors", + "name": "account_number", "description": null, - "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "connection", + "name": "user_key", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "UNION", - "name": "CarrierConnectionType", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null + }, + { + "name": "carrier_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "SystemCarrierMutationInput", + "name": "UpdateFreightcomSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -44146,14 +37025,14 @@ "defaultValue": null }, { - "name": "enable", + "name": "active", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "true" }, { "name": "config", @@ -44164,130 +37043,55 @@ "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SystemCarrierMutation", - "description": null, - "fields": [ - { - "name": "errors", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null }, { - "name": "carrier", + "name": "metadata", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "SystemConnectionType", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DeleteMutationInput", - "description": null, - "fields": null, - "inputFields": [ + "defaultValue": null + }, { - "name": "id", + "name": "username", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DeleteMutation", - "description": null, - "fields": [ + }, { - "name": "errors", + "name": "password", "description": null, - "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "id", + "name": "carrier_id", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "PartialShipmentMutationInput", + "name": "UpdateGenericSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -44306,37 +37110,27 @@ "defaultValue": null }, { - "name": "recipient", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateAddressInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "shipper", + "name": "account_country_code", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateAddressInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "customs", + "name": "label_template", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "UpdateCustomsInput", + "name": "LabelTemplateInput", "ofType": null }, "defaultValue": null }, { - "name": "parcels", + "name": "services", "description": null, "type": { "kind": "LIST", @@ -44346,7 +37140,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "UpdateParcelInput", + "name": "UpdateServiceLevelInput", "ofType": null } } @@ -44354,37 +37148,17 @@ "defaultValue": null }, { - "name": "payment", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "PaymentInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "billing_address", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateAddressInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "label_type", + "name": "active", "description": null, "type": { - "kind": "ENUM", - "name": "LabelTypeEnum", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "true" }, { - "name": "metadata", + "name": "config", "description": null, "type": { "kind": "SCALAR", @@ -44394,7 +37168,7 @@ "defaultValue": null }, { - "name": "options", + "name": "metadata", "description": null, "type": { "kind": "SCALAR", @@ -44404,7 +37178,7 @@ "defaultValue": null }, { - "name": "reference", + "name": "display_name", "description": null, "type": { "kind": "SCALAR", @@ -44412,20 +37186,9 @@ "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "PaymentInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "account_number", + "name": "custom_carrier_name", "description": null, "type": { "kind": "SCALAR", @@ -44435,136 +37198,22 @@ "defaultValue": null }, { - "name": "paid_by", - "description": null, - "type": { - "kind": "ENUM", - "name": "PaidByEnum", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyCodeEnum", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "PartialShipmentMutation", - "description": null, - "fields": [ - { - "name": "errors", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "shipment", + "name": "carrier_id", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "ShipmentType", + "kind": "SCALAR", + "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "MetadataMutationInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "object_type", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MetadataObjectTypeEnum", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "added_values", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - } - }, "defaultValue": null }, { - "name": "discarded_keys", + "name": "account_number", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null } @@ -44574,118 +37223,113 @@ "possibleTypes": null }, { - "kind": "ENUM", - "name": "MetadataObjectTypeEnum", + "kind": "INPUT_OBJECT", + "name": "UpdateGEODISSettingsInput", "description": null, "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ + "inputFields": [ { - "name": "app", + "name": "id", "description": null, - "isDeprecated": false, - "deprecationReason": null + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null }, { - "name": "carrier", + "name": "active", "description": null, - "isDeprecated": false, - "deprecationReason": null + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "true" }, { - "name": "commodity", + "name": "config", "description": null, - "isDeprecated": false, - "deprecationReason": null + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null }, { - "name": "shipment", + "name": "metadata", "description": null, - "isDeprecated": false, - "deprecationReason": null + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null }, { - "name": "tracker", + "name": "api_key", "description": null, - "isDeprecated": false, - "deprecationReason": null + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null }, { - "name": "order", + "name": "identifier", "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "MetadataMutation", - "description": null, - "fields": [ + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, { - "name": "errors", + "name": "code_client", "description": null, - "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "id", + "name": "language", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "metadata", + "name": "carrier_id", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "ChangeShipmentStatusMutationInput", + "name": "UpdateLaPosteSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -44704,106 +37348,78 @@ "defaultValue": null }, { - "name": "status", + "name": "active", "description": null, "type": { - "kind": "ENUM", - "name": "ManualShipmentStatusEnum", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "ManualShipmentStatusEnum", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "in_transit", - "description": null, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": "true" }, { - "name": "needs_attention", + "name": "config", "description": null, - "isDeprecated": false, - "deprecationReason": null + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null }, { - "name": "delivery_failed", + "name": "metadata", "description": null, - "isDeprecated": false, - "deprecationReason": null + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null }, { - "name": "delivered", + "name": "api_key", "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ChangeShipmentStatusMutation", - "description": null, - "fields": [ + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, { - "name": "errors", + "name": "lang", "description": null, - "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "shipment", + "name": "carrier_id", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "ShipmentType", + "kind": "SCALAR", + "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "CreateRateSheetMutationInput", + "name": "UpdateLocate2uSettingsInput", "description": null, "fields": null, "inputFields": [ { - "name": "name", + "name": "id", "description": null, "type": { "kind": "NON_NULL", @@ -44817,106 +37433,83 @@ "defaultValue": null }, { - "name": "carrier_name", + "name": "account_country_code", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CarrierNameEnum", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "services", + "name": "active", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateServiceLevelInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "true" + }, + { + "name": "config", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null }, "defaultValue": null }, { - "name": "carriers", + "name": "metadata", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "kind": "SCALAR", + "name": "JSON", + "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CreateRateSheetMutation", - "description": null, - "fields": [ + }, { - "name": "errors", + "name": "client_id", "description": null, - "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "rate_sheet", + "name": "client_secret", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "RateSheetType", + "kind": "SCALAR", + "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null + }, + { + "name": "carrier_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "UpdateRateSheetMutationInput", + "name": "UpdateNationexSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -44935,7 +37528,37 @@ "defaultValue": null }, { - "name": "name", + "name": "active", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "true" + }, + { + "name": "config", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "metadata", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "api_key", "description": null, "type": { "kind": "SCALAR", @@ -44945,97 +37568,58 @@ "defaultValue": null }, { - "name": "services", + "name": "customer_id", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateServiceLevelInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "carriers", + "name": "billing_account", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "UpdateRateSheetMutation", - "description": null, - "fields": [ + }, { - "name": "errors", + "name": "language", "description": null, - "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "rate_sheet", + "name": "carrier_id", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "RateSheetType", + "kind": "SCALAR", + "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "CreateWebhookMutationInput", + "name": "UpdatePurolatorSettingsInput", "description": null, "fields": null, "inputFields": [ { - "name": "url", + "name": "id", "description": null, "type": { "kind": "NON_NULL", @@ -45049,29 +37633,47 @@ "defaultValue": null }, { - "name": "enabled_events", + "name": "active", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "true" + }, + { + "name": "config", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "metadata", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "username", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "EventTypes", - "ofType": null - } - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "description", + "name": "password", "description": null, "type": { "kind": "SCALAR", @@ -45081,66 +37683,43 @@ "defaultValue": null }, { - "name": "disabled", + "name": "account_number", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null }, - "defaultValue": "false" - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CreateWebhookMutation", - "description": null, - "fields": [ + "defaultValue": null + }, { - "name": "errors", + "name": "user_token", "description": null, - "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "webhook", + "name": "carrier_id", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "WebhookType", + "kind": "SCALAR", + "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "UpdateWebhookMutationInput", + "name": "UpdateRoadieSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -45159,203 +37738,136 @@ "defaultValue": null }, { - "name": "url", + "name": "active", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "true" }, { - "name": "enabled_events", + "name": "config", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "EventTypes", - "ofType": null - } - } - } + "kind": "SCALAR", + "name": "JSON", + "ofType": null }, "defaultValue": null }, { - "name": "description", + "name": "metadata", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "disabled", + "name": "api_key", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "UpdateWebhookMutation", - "description": null, - "fields": [ - { - "name": "errors", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null }, { - "name": "webhook", + "name": "carrier_id", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "WebhookType", + "kind": "SCALAR", + "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "CreateOrderMutationInput", + "name": "UpdateRoyalMailSettingsInput", "description": null, "fields": null, "inputFields": [ { - "name": "shipping_to", + "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "AddressInput", + "kind": "SCALAR", + "name": "String", "ofType": null } }, "defaultValue": null }, { - "name": "line_items", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CommodityInput", - "ofType": null - } - } - } - }, - "defaultValue": null - }, - { - "name": "order_id", + "name": "active", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "true" }, { - "name": "order_date", + "name": "config", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "shipping_from", + "name": "metadata", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "AddressInput", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "billing_address", + "name": "client_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "AddressInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "client_secret", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "options", + "name": "carrier_id", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null @@ -45365,52 +37877,9 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "OBJECT", - "name": "CreateOrderMutation", - "description": null, - "fields": [ - { - "name": "errors", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "order", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "OrderType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, { "kind": "INPUT_OBJECT", - "name": "UpdateOrderMutationInput", + "name": "UpdateSendleSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -45429,7 +37898,7 @@ "defaultValue": null }, { - "name": "order_id", + "name": "account_country_code", "description": null, "type": { "kind": "SCALAR", @@ -45439,134 +37908,73 @@ "defaultValue": null }, { - "name": "order_date", + "name": "active", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "true" }, { - "name": "shipping_to", + "name": "config", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateAddressInput", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "shipping_from", + "name": "metadata", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateAddressInput", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "billing_address", + "name": "sendle_id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "UpdateAddressInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "metadata", + "name": "api_key", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "options", + "name": "carrier_id", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null - }, - { - "name": "line_items", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateCommodityInput", - "ofType": null - } - } - }, - "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, - { - "kind": "OBJECT", - "name": "UpdateOrderMutation", - "description": null, - "fields": [ - { - "name": "errors", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "order", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "OrderType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, { "kind": "INPUT_OBJECT", - "name": "DeleteOrderMutationInput", + "name": "UpdateTGESettingsInput", "description": null, "fields": null, "inputFields": [ @@ -45583,115 +37991,69 @@ } }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DeleteOrderMutation", - "description": null, - "fields": [ + }, { - "name": "errors", + "name": "active", "description": null, - "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": "true" }, { - "name": "id", + "name": "config", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateDocumentTemplateMutationInput", - "description": null, - "fields": null, - "inputFields": [ + "defaultValue": null + }, { - "name": "slug", + "name": "metadata", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "JSON", + "ofType": null }, "defaultValue": null }, { - "name": "name", + "name": "username", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "template", + "name": "password", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "active", + "name": "api_key", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null }, - "defaultValue": "true" + "defaultValue": null }, { - "name": "description", + "name": "toll_username", "description": null, "type": { "kind": "SCALAR", @@ -45701,76 +38063,63 @@ "defaultValue": null }, { - "name": "metadata", + "name": "toll_password", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "related_object", + "name": "my_toll_token", "description": null, "type": { - "kind": "ENUM", - "name": "TemplateRelatedObject", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CreateDocumentTemplateMutation", - "description": null, - "fields": [ + }, { - "name": "errors", + "name": "my_toll_identity", "description": null, - "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "template", + "name": "account_code", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "DocumentTemplateType", + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "carrier_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "UpdateDocumentTemplateMutationInput", + "name": "UpdateTNTSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -45789,7 +38138,7 @@ "defaultValue": null }, { - "name": "slug", + "name": "account_country_code", "description": null, "type": { "kind": "SCALAR", @@ -45799,37 +38148,37 @@ "defaultValue": null }, { - "name": "name", + "name": "active", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "true" }, { - "name": "template", + "name": "config", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "active", + "name": "metadata", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "description", + "name": "username", "description": null, "type": { "kind": "SCALAR", @@ -45839,71 +38188,48 @@ "defaultValue": null }, { - "name": "related_object", + "name": "password", "description": null, "type": { - "kind": "ENUM", - "name": "TemplateRelatedObject", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "UpdateDocumentTemplateMutation", - "description": null, - "fields": [ + }, { - "name": "errors", + "name": "account_number", "description": null, - "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "template", + "name": "carrier_id", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "DocumentTemplateType", + "kind": "SCALAR", + "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "CreateDataTemplateMutationInput", + "name": "UpdateUPSSettingsInput", "description": null, "fields": null, "inputFields": [ { - "name": "slug", + "name": "id", "description": null, "type": { "kind": "NON_NULL", @@ -45917,98 +38243,93 @@ "defaultValue": null }, { - "name": "name", + "name": "account_country_code", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "fields_mapping", + "name": "active", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "true" + }, + { + "name": "config", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null }, "defaultValue": null }, { - "name": "resource_type", + "name": "metadata", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ResourceStatus", - "ofType": null - } + "kind": "SCALAR", + "name": "JSON", + "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CreateDataTemplateMutation", - "description": null, - "fields": [ + }, { - "name": "errors", + "name": "client_id", "description": null, - "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "template", + "name": "client_secret", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "DataTemplateType", + "kind": "SCALAR", + "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null + }, + { + "name": "account_number", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "carrier_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "UpdateDataTemplateMutationInput", + "name": "UpdateUSPSSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -46027,7 +38348,37 @@ "defaultValue": null }, { - "name": "slug", + "name": "active", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "true" + }, + { + "name": "config", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "metadata", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "username", "description": null, "type": { "kind": "SCALAR", @@ -46037,7 +38388,7 @@ "defaultValue": null }, { - "name": "name", + "name": "password", "description": null, "type": { "kind": "SCALAR", @@ -46047,81 +38398,58 @@ "defaultValue": null }, { - "name": "fields_mapping", + "name": "mailer_id", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "resource_type", + "name": "customer_registration_id", "description": null, "type": { - "kind": "ENUM", - "name": "ResourceStatus", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "UpdateDataTemplateMutation", - "description": null, - "fields": [ + }, { - "name": "errors", + "name": "logistics_manager_mailer_id", "description": null, - "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "template", + "name": "carrier_id", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "DataTemplateType", + "kind": "SCALAR", + "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "CreateAppMutationInput", + "name": "UpdateUSPSInternationalSettingsInput", "description": null, "fields": null, "inputFields": [ { - "name": "display_name", + "name": "id", "description": null, "type": { "kind": "NON_NULL", @@ -46135,166 +38463,103 @@ "defaultValue": null }, { - "name": "developer_name", + "name": "active", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null }, - "defaultValue": null + "defaultValue": "true" }, { - "name": "features", + "name": "config", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } + "kind": "SCALAR", + "name": "JSON", + "ofType": null }, "defaultValue": null }, { - "name": "launch_url", + "name": "metadata", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "JSON", + "ofType": null }, "defaultValue": null }, { - "name": "is_embedded", + "name": "username", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "redirect_uris", + "name": "password", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "is_public", + "name": "mailer_id", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null }, - "defaultValue": "false" + "defaultValue": null }, { - "name": "metadata", + "name": "customer_registration_id", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CreateAppMutation", - "description": null, - "fields": [ - { - "name": "errors", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null }, { - "name": "app", + "name": "logistics_manager_mailer_id", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "AppType", + "kind": "SCALAR", + "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "client_secret", + "name": "carrier_id", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "UpdateAppMutationInput", + "name": "UpdateZoom2uSettingsInput", "description": null, "fields": null, "inputFields": [ @@ -46313,7 +38578,7 @@ "defaultValue": null }, { - "name": "display_name", + "name": "account_country_code", "description": null, "type": { "kind": "SCALAR", @@ -46323,59 +38588,37 @@ "defaultValue": null }, { - "name": "developer_name", + "name": "active", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, - "defaultValue": null - }, - { - "name": "features", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "defaultValue": null + "defaultValue": "true" }, { - "name": "launch_url", + "name": "config", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "is_embedded", + "name": "metadata", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "redirect_uris", + "name": "api_key", "description": null, "type": { "kind": "SCALAR", @@ -46385,21 +38628,11 @@ "defaultValue": null }, { - "name": "is_public", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - }, - { - "name": "metadata", + "name": "carrier_id", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null @@ -46411,7 +38644,7 @@ }, { "kind": "OBJECT", - "name": "UpdateAppMutation", + "name": "UpdateCarrierConnectionMutation", "description": null, "fields": [ { @@ -46435,13 +38668,17 @@ "deprecationReason": null }, { - "name": "app", + "name": "connection", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "AppType", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "CarrierConnectionType", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -46454,12 +38691,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "InstallAppMutationInput", + "name": "SystemCarrierMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "app_id", + "name": "id", "description": null, "type": { "kind": "NON_NULL", @@ -46473,7 +38710,17 @@ "defaultValue": null }, { - "name": "metadata", + "name": "enable", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "config", "description": null, "type": { "kind": "SCALAR", @@ -46489,7 +38736,7 @@ }, { "kind": "OBJECT", - "name": "InstallAppMutation", + "name": "SystemCarrierMutation", "description": null, "fields": [ { @@ -46513,12 +38760,12 @@ "deprecationReason": null }, { - "name": "installation", + "name": "carrier", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "AppInstallationType", + "name": "SystemConnectionType", "ofType": null }, "isDeprecated": false, @@ -46532,12 +38779,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "UninstallAppMutationInput", + "name": "DeleteMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "app_id", + "name": "id", "description": null, "type": { "kind": "NON_NULL", @@ -46557,7 +38804,7 @@ }, { "kind": "OBJECT", - "name": "UninstallAppMutation", + "name": "DeleteMutation", "description": null, "fields": [ { @@ -46581,13 +38828,17 @@ "deprecationReason": null }, { - "name": "app", + "name": "id", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "AppType", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -46600,12 +38851,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "CreateWorkflowMutationInput", + "name": "PartialShipmentMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "name", + "name": "id", "description": null, "type": { "kind": "NON_NULL", @@ -46619,69 +38870,37 @@ "defaultValue": null }, { - "name": "action_nodes", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ActionNodeInput", - "ofType": null - } - } - } - }, - "defaultValue": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "metadata", + "name": "recipient", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "INPUT_OBJECT", + "name": "UpdateAddressInput", "ofType": null }, "defaultValue": null }, { - "name": "template_slug", + "name": "shipper", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UpdateAddressInput", "ofType": null }, "defaultValue": null }, { - "name": "trigger", + "name": "customs", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "PartialWorkflowTriggerMutationInput", + "name": "UpdateCustomsInput", "ofType": null }, "defaultValue": null }, { - "name": "actions", + "name": "parcels", "description": null, "type": { "kind": "LIST", @@ -46691,121 +38910,65 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "PartialWorkflowActionMutationInput", + "name": "UpdateParcelInput", "ofType": null } } }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ActionNodeInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "order", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null }, { - "name": "slug", + "name": "payment", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "PaymentInput", "ofType": null }, "defaultValue": null }, { - "name": "index", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "PartialWorkflowTriggerMutationInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "id", + "name": "billing_address", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UpdateAddressInput", "ofType": null }, "defaultValue": null }, { - "name": "trigger_type", + "name": "label_type", "description": null, "type": { "kind": "ENUM", - "name": "AutomationTriggerType", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "schedule", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", + "name": "LabelTypeEnum", "ofType": null }, "defaultValue": null }, { - "name": "secret", + "name": "metadata", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "secret_key", + "name": "options", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "template_slug", + "name": "reference", "description": null, "type": { "kind": "SCALAR", @@ -46821,62 +38984,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "PartialWorkflowActionMutationInput", + "name": "PaymentInput", "description": null, "fields": null, "inputFields": [ { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "action_type", - "description": null, - "type": { - "kind": "ENUM", - "name": "AutomationActionType", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "port", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "host", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "endpoint", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "description", + "name": "account_number", "description": null, "type": { "kind": "SCALAR", @@ -46886,78 +38999,39 @@ "defaultValue": null }, { - "name": "method", - "description": null, - "type": { - "kind": "ENUM", - "name": "AutomationHTTPMethod", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "parameters_type", + "name": "paid_by", "description": null, "type": { "kind": "ENUM", - "name": "AutomationParametersType", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "parameters_template", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "header_template", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", + "name": "PaidByEnum", "ofType": null }, "defaultValue": null }, { - "name": "content_type", + "name": "currency", "description": null, "type": { "kind": "ENUM", - "name": "AutomationHTTPContentType", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "metadata", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "template_slug", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", + "name": "CurrencyCodeEnum", "ofType": null }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PartialShipmentMutation", + "description": null, + "fields": [ { - "name": "metafields", + "name": "errors", "description": null, + "args": [], "type": { "kind": "LIST", "name": null, @@ -46965,57 +39039,41 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "MetafieldInput", + "kind": "OBJECT", + "name": "ErrorType", "ofType": null } } }, - "defaultValue": null - }, - { - "name": "connection", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "PartialWorkflowConnectionMutationInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "slug", + "name": "shipment", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "ShipmentType", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "MetafieldInput", + "name": "MetadataMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "key", + "name": "id", "description": null, "type": { "kind": "NON_NULL", @@ -47029,56 +39087,48 @@ "defaultValue": null }, { - "name": "type", + "name": "object_type", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", - "name": "MetafieldTypeEnum", + "name": "MetadataObjectTypeEnum", "ofType": null } }, "defaultValue": null }, { - "name": "value", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "namespace", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "is_required", + "name": "added_values", "description": null, "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + } }, "defaultValue": null }, { - "name": "id", + "name": "discarded_keys", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } }, "defaultValue": null } @@ -47088,157 +39138,188 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "PartialWorkflowConnectionMutationInput", + "kind": "ENUM", + "name": "MetadataObjectTypeEnum", "description": null, "fields": null, - "inputFields": [ + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "name", + "name": "app", "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "auth_type", + "name": "carrier", "description": null, - "type": { - "kind": "ENUM", - "name": "AutomationAuthType", - "ofType": null - }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "port", + "name": "commodity", "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "host", + "name": "shipment", "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "endpoint", + "name": "tracker", "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "description", + "name": "order", "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MetadataMutation", + "description": null, + "fields": [ { - "name": "credentials", + "name": "errors", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ErrorType", + "ofType": null + } + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "auth_template", + "name": "id", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { "name": "metadata", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + } }, - "defaultValue": null - }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "ChangeShipmentStatusMutationInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "parameters_template", + "name": "id", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "template_slug", + "name": "status", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "ManualShipmentStatusEnum", "ofType": null }, "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "ManualShipmentStatusEnum", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "in_transit", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "needs_attention", + "description": null, + "isDeprecated": false, + "deprecationReason": null }, { - "name": "metafields", + "name": "delivery_failed", "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "MetafieldInput", - "ofType": null - } - } - }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "id", + "name": "delivered", "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, - "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "CreateWorkflowMutation", + "name": "ChangeShipmentStatusMutation", "description": null, "fields": [ { @@ -47262,12 +39343,12 @@ "deprecationReason": null }, { - "name": "workflow", + "name": "shipment", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "WorkflowType", + "name": "ShipmentType", "ofType": null }, "isDeprecated": false, @@ -47281,12 +39362,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateWorkflowMutationInput", + "name": "CreateRateSheetMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "id", + "name": "name", "description": null, "type": { "kind": "NON_NULL", @@ -47300,37 +39381,21 @@ "defaultValue": null }, { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "metadata", + "name": "carrier_name", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "CarrierNameEnum", + "ofType": null + } }, "defaultValue": null }, { - "name": "action_nodes", + "name": "services", "description": null, "type": { "kind": "LIST", @@ -47340,7 +39405,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "ActionNodeInput", + "name": "CreateServiceLevelInput", "ofType": null } } @@ -47348,27 +39413,7 @@ "defaultValue": null }, { - "name": "template_slug", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "trigger", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "PartialWorkflowTriggerMutationInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "actions", + "name": "carriers", "description": null, "type": { "kind": "LIST", @@ -47377,8 +39422,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "PartialWorkflowActionMutationInput", + "kind": "SCALAR", + "name": "String", "ofType": null } } @@ -47392,7 +39437,7 @@ }, { "kind": "OBJECT", - "name": "UpdateWorkflowMutation", + "name": "CreateRateSheetMutation", "description": null, "fields": [ { @@ -47416,12 +39461,12 @@ "deprecationReason": null }, { - "name": "workflow", + "name": "rate_sheet", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "WorkflowType", + "name": "RateSheetType", "ofType": null }, "isDeprecated": false, @@ -47435,12 +39480,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "CreateWorkflowActionMutationInput", + "name": "UpdateRateSheetMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "name", + "name": "id", "description": null, "type": { "kind": "NON_NULL", @@ -47454,91 +39499,7 @@ "defaultValue": null }, { - "name": "action_type", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "AutomationActionType", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "port", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "host", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "endpoint", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "method", - "description": null, - "type": { - "kind": "ENUM", - "name": "AutomationHTTPMethod", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "parameters_type", - "description": null, - "type": { - "kind": "ENUM", - "name": "AutomationParametersType", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "parameters_template", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "header_template", + "name": "name", "description": null, "type": { "kind": "SCALAR", @@ -47548,38 +39509,55 @@ "defaultValue": null }, { - "name": "content_type", - "description": null, - "type": { - "kind": "ENUM", - "name": "AutomationHTTPContentType", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "metadata", + "name": "services", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UpdateServiceLevelInput", + "ofType": null + } + } }, "defaultValue": null }, { - "name": "template_slug", + "name": "carriers", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } }, "defaultValue": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UpdateRateSheetMutation", + "description": null, + "fields": [ { - "name": "metafields", + "name": "errors", "description": null, + "args": [], "type": { "kind": "LIST", "name": null, @@ -47587,37 +39565,41 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateMetafieldInput", + "kind": "OBJECT", + "name": "ErrorType", "ofType": null } } }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null }, { - "name": "connection", + "name": "rate_sheet", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "PartialWorkflowConnectionMutationInput", + "kind": "OBJECT", + "name": "RateSheetType", "ofType": null }, - "defaultValue": null + "isDeprecated": false, + "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "CreateMetafieldInput", + "name": "CreateWebhookMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "key", + "name": "url", "description": null, "type": { "kind": "NON_NULL", @@ -47631,31 +39613,29 @@ "defaultValue": null }, { - "name": "type", + "name": "enabled_events", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "MetafieldTypeEnum", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "EventTypes", + "ofType": null + } + } } }, "defaultValue": null }, { - "name": "value", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "namespace", + "name": "description", "description": null, "type": { "kind": "SCALAR", @@ -47665,14 +39645,14 @@ "defaultValue": null }, { - "name": "is_required", + "name": "disabled", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "false" } ], "interfaces": null, @@ -47681,7 +39661,7 @@ }, { "kind": "OBJECT", - "name": "CreateWorkflowActionMutation", + "name": "CreateWebhookMutation", "description": null, "fields": [ { @@ -47705,12 +39685,12 @@ "deprecationReason": null }, { - "name": "workflow_action", + "name": "webhook", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "WorkflowActionType", + "name": "WebhookType", "ofType": null }, "isDeprecated": false, @@ -47724,132 +39704,26 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateWorkflowActionMutationInput", + "name": "UpdateWebhookMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "action_type", - "description": null, - "type": { - "kind": "ENUM", - "name": "AutomationActionType", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "port", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "host", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "endpoint", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "method", - "description": null, - "type": { - "kind": "ENUM", - "name": "AutomationHTTPMethod", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "parameters_type", - "description": null, - "type": { - "kind": "ENUM", - "name": "AutomationParametersType", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "parameters_template", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "header_template", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "content_type", - "description": null, - "type": { - "kind": "ENUM", - "name": "AutomationHTTPContentType", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "metadata", + "name": "id", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "template_slug", + "name": "url", "description": null, "type": { "kind": "SCALAR", @@ -47859,44 +39733,44 @@ "defaultValue": null }, { - "name": "metafields", + "name": "enabled_events", "description": null, "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "MetafieldInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "EventTypes", + "ofType": null + } } } }, "defaultValue": null }, { - "name": "connection", + "name": "description", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "PartialWorkflowConnectionMutationInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "id", + "name": "disabled", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null }, "defaultValue": null } @@ -47907,7 +39781,7 @@ }, { "kind": "OBJECT", - "name": "UpdateWorkflowActionMutation", + "name": "UpdateWebhookMutation", "description": null, "fields": [ { @@ -47931,12 +39805,12 @@ "deprecationReason": null }, { - "name": "workflow_action", + "name": "webhook", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "WorkflowActionType", + "name": "WebhookType", "ofType": null }, "isDeprecated": false, @@ -47950,60 +39824,48 @@ }, { "kind": "INPUT_OBJECT", - "name": "CreateWorkflowConnectionMutationInput", + "name": "CreateOrderMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "name", + "name": "shipping_to", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "AddressInput", "ofType": null } }, "defaultValue": null }, { - "name": "auth_type", + "name": "line_items", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "AutomationAuthType", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CommodityInput", + "ofType": null + } + } } }, "defaultValue": null }, { - "name": "port", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "host", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "endpoint", + "name": "order_id", "description": null, "type": { "kind": "SCALAR", @@ -48013,7 +39875,7 @@ "defaultValue": null }, { - "name": "description", + "name": "order_date", "description": null, "type": { "kind": "SCALAR", @@ -48023,21 +39885,21 @@ "defaultValue": null }, { - "name": "credentials", + "name": "shipping_from", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "INPUT_OBJECT", + "name": "AddressInput", "ofType": null }, "defaultValue": null }, { - "name": "auth_template", + "name": "billing_address", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "AddressInput", "ofType": null }, "defaultValue": null @@ -48053,42 +39915,14 @@ "defaultValue": null }, { - "name": "parameters_template", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "template_slug", + "name": "options", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null - }, - { - "name": "metafields", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateMetafieldInput", - "ofType": null - } - } - }, - "defaultValue": null } ], "interfaces": null, @@ -48097,7 +39931,7 @@ }, { "kind": "OBJECT", - "name": "CreateWorkflowConnectionMutation", + "name": "CreateOrderMutation", "description": null, "fields": [ { @@ -48121,12 +39955,12 @@ "deprecationReason": null }, { - "name": "workflow_connection", + "name": "order", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "WorkflowConnectionType", + "name": "OrderType", "ofType": null }, "isDeprecated": false, @@ -48140,42 +39974,26 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateWorkflowConnectionMutationInput", + "name": "UpdateOrderMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "auth_type", - "description": null, - "type": { - "kind": "ENUM", - "name": "AutomationAuthType", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "port", + "name": "id", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "host", + "name": "order_id", "description": null, "type": { "kind": "SCALAR", @@ -48185,7 +40003,7 @@ "defaultValue": null }, { - "name": "endpoint", + "name": "order_date", "description": null, "type": { "kind": "SCALAR", @@ -48195,31 +40013,31 @@ "defaultValue": null }, { - "name": "description", + "name": "shipping_to", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UpdateAddressInput", "ofType": null }, "defaultValue": null }, { - "name": "credentials", + "name": "shipping_from", "description": null, "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "INPUT_OBJECT", + "name": "UpdateAddressInput", "ofType": null }, "defaultValue": null }, { - "name": "auth_template", + "name": "billing_address", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UpdateAddressInput", "ofType": null }, "defaultValue": null @@ -48235,27 +40053,17 @@ "defaultValue": null }, { - "name": "parameters_template", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "template_slug", + "name": "options", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "metafields", + "name": "line_items", "description": null, "type": { "kind": "LIST", @@ -48265,26 +40073,12 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "MetafieldInput", + "name": "UpdateCommodityInput", "ofType": null } } }, "defaultValue": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null } ], "interfaces": null, @@ -48293,7 +40087,7 @@ }, { "kind": "OBJECT", - "name": "UpdateWorkflowConnectionMutation", + "name": "UpdateOrderMutation", "description": null, "fields": [ { @@ -48317,12 +40111,12 @@ "deprecationReason": null }, { - "name": "workflow_connection", + "name": "order", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "WorkflowConnectionType", + "name": "OrderType", "ofType": null }, "isDeprecated": false, @@ -48336,12 +40130,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "CreateWorkflowEventMutationInput", + "name": "DeleteOrderMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "workflow_id", + "name": "id", "description": null, "type": { "kind": "NON_NULL", @@ -48353,30 +40147,6 @@ } }, "defaultValue": null - }, - { - "name": "event_type", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "AutomationEventType", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "parameters", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null } ], "interfaces": null, @@ -48385,7 +40155,7 @@ }, { "kind": "OBJECT", - "name": "CreateWorkflowEventMutation", + "name": "DeleteOrderMutation", "description": null, "fields": [ { @@ -48409,12 +40179,12 @@ "deprecationReason": null }, { - "name": "workflow_event", + "name": "id", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "WorkflowEventType", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -48428,12 +40198,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "CancelWorkflowEventMutationInput", + "name": "CreateDocumentTemplateMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "id", + "name": "slug", "description": null, "type": { "kind": "NON_NULL", @@ -48445,63 +40215,9 @@ } }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CancelWorkflowEventMutation", - "description": null, - "fields": [ - { - "name": "errors", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null }, { - "name": "workflow_event", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "WorkflowEventType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateWorkflowTriggerMutationInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "workflow_id", + "name": "name", "description": null, "type": { "kind": "NON_NULL", @@ -48515,31 +40231,31 @@ "defaultValue": null }, { - "name": "trigger_type", + "name": "template", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "AutomationTriggerType", + "kind": "SCALAR", + "name": "String", "ofType": null } }, "defaultValue": null }, { - "name": "schedule", + "name": "active", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "true" }, { - "name": "secret", + "name": "description", "description": null, "type": { "kind": "SCALAR", @@ -48549,21 +40265,21 @@ "defaultValue": null }, { - "name": "secret_key", + "name": "metadata", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null }, { - "name": "template_slug", + "name": "related_object", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "ENUM", + "name": "TemplateRelatedObject", "ofType": null }, "defaultValue": null @@ -48575,7 +40291,7 @@ }, { "kind": "OBJECT", - "name": "CreateWorkflowTriggerMutation", + "name": "CreateDocumentTemplateMutation", "description": null, "fields": [ { @@ -48599,12 +40315,12 @@ "deprecationReason": null }, { - "name": "workflow_trigger", + "name": "template", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "WorkflowTriggerType", + "name": "DocumentTemplateType", "ofType": null }, "isDeprecated": false, @@ -48618,7 +40334,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateWorkflowTriggerMutationInput", + "name": "UpdateDocumentTemplateMutationInput", "description": null, "fields": null, "inputFields": [ @@ -48637,17 +40353,17 @@ "defaultValue": null }, { - "name": "trigger_type", + "name": "slug", "description": null, "type": { - "kind": "ENUM", - "name": "AutomationTriggerType", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null }, { - "name": "schedule", + "name": "name", "description": null, "type": { "kind": "SCALAR", @@ -48657,7 +40373,7 @@ "defaultValue": null }, { - "name": "secret", + "name": "template", "description": null, "type": { "kind": "SCALAR", @@ -48667,17 +40383,17 @@ "defaultValue": null }, { - "name": "secret_key", + "name": "active", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, "defaultValue": null }, { - "name": "template_slug", + "name": "description", "description": null, "type": { "kind": "SCALAR", @@ -48685,6 +40401,16 @@ "ofType": null }, "defaultValue": null + }, + { + "name": "related_object", + "description": null, + "type": { + "kind": "ENUM", + "name": "TemplateRelatedObject", + "ofType": null + }, + "defaultValue": null } ], "interfaces": null, @@ -48693,7 +40419,7 @@ }, { "kind": "OBJECT", - "name": "UpdateWorkflowTriggerMutation", + "name": "UpdateDocumentTemplateMutation", "description": null, "fields": [ { @@ -48717,12 +40443,12 @@ "deprecationReason": null }, { - "name": "workflow_trigger", + "name": "template", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "WorkflowTriggerType", + "name": "DocumentTemplateType", "ofType": null }, "isDeprecated": false, @@ -48736,10 +40462,24 @@ }, { "kind": "INPUT_OBJECT", - "name": "CreateOrganizationMutationInput", + "name": "CreateDataTemplateMutationInput", "description": null, "fields": null, "inputFields": [ + { + "name": "slug", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + }, { "name": "name", "description": null, @@ -48753,6 +40493,34 @@ } }, "defaultValue": null + }, + { + "name": "fields_mapping", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "resource_type", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "ResourceStatus", + "ofType": null + } + }, + "defaultValue": null } ], "interfaces": null, @@ -48761,7 +40529,7 @@ }, { "kind": "OBJECT", - "name": "CreateOrganizationMutation", + "name": "CreateDataTemplateMutation", "description": null, "fields": [ { @@ -48785,12 +40553,12 @@ "deprecationReason": null }, { - "name": "organization", + "name": "template", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "OrganizationType", + "name": "DataTemplateType", "ofType": null }, "isDeprecated": false, @@ -48804,7 +40572,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "UpdateOrganizationMutationInput", + "name": "UpdateDataTemplateMutationInput", "description": null, "fields": null, "inputFields": [ @@ -48822,6 +40590,16 @@ }, "defaultValue": null }, + { + "name": "slug", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, { "name": "name", "description": null, @@ -48831,6 +40609,26 @@ "ofType": null }, "defaultValue": null + }, + { + "name": "fields_mapping", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "resource_type", + "description": null, + "type": { + "kind": "ENUM", + "name": "ResourceStatus", + "ofType": null + }, + "defaultValue": null } ], "interfaces": null, @@ -48839,7 +40637,7 @@ }, { "kind": "OBJECT", - "name": "UpdateOrganizationMutation", + "name": "UpdateDataTemplateMutation", "description": null, "fields": [ { @@ -48863,12 +40661,12 @@ "deprecationReason": null }, { - "name": "organization", + "name": "template", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "OrganizationType", + "name": "DataTemplateType", "ofType": null }, "isDeprecated": false, @@ -48882,12 +40680,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "DeleteOrganizationMutationInput", + "name": "CreateAppMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "id", + "name": "display_name", "description": null, "type": { "kind": "NON_NULL", @@ -48901,7 +40699,7 @@ "defaultValue": null }, { - "name": "password", + "name": "developer_name", "description": null, "type": { "kind": "NON_NULL", @@ -48913,63 +40711,31 @@ } }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DeleteOrganizationMutation", - "description": null, - "fields": [ + }, { - "name": "errors", + "name": "features", "description": null, - "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "OBJECT", - "name": "ErrorType", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "organization", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "OrganizationType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ChangeOrganizationOwnerMutationInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "org_id", + "name": "launch_url", "description": null, "type": { "kind": "NON_NULL", @@ -48983,21 +40749,21 @@ "defaultValue": null }, { - "name": "email", + "name": "is_embedded", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, "defaultValue": null }, { - "name": "password", + "name": "redirect_uris", "description": null, "type": { "kind": "NON_NULL", @@ -49009,6 +40775,26 @@ } }, "defaultValue": null + }, + { + "name": "is_public", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false" + }, + { + "name": "metadata", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null } ], "interfaces": null, @@ -49017,7 +40803,7 @@ }, { "kind": "OBJECT", - "name": "ChangeOrganizationOwnerMutation", + "name": "CreateAppMutation", "description": null, "fields": [ { @@ -49041,12 +40827,24 @@ "deprecationReason": null }, { - "name": "organization", + "name": "app", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "OrganizationType", + "name": "AppType", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "client_secret", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -49060,12 +40858,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "SetOrganizationUserRolesMutationInput", + "name": "UpdateAppMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "org_id", + "name": "id", "description": null, "type": { "kind": "NON_NULL", @@ -49079,21 +40877,27 @@ "defaultValue": null }, { - "name": "user_id", + "name": "display_name", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "developer_name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null }, { - "name": "roles", + "name": "features", "description": null, "type": { "kind": "NON_NULL", @@ -49105,14 +40909,64 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "UserRole", + "kind": "SCALAR", + "name": "String", "ofType": null } } } }, "defaultValue": null + }, + { + "name": "launch_url", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_embedded", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "redirect_uris", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_public", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false" + }, + { + "name": "metadata", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null } ], "interfaces": null, @@ -49121,7 +40975,7 @@ }, { "kind": "OBJECT", - "name": "SetOrganizationUserRolesMutation", + "name": "UpdateAppMutation", "description": null, "fields": [ { @@ -49145,12 +40999,12 @@ "deprecationReason": null }, { - "name": "organization", + "name": "app", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "OrganizationType", + "name": "AppType", "ofType": null }, "isDeprecated": false, @@ -49164,12 +41018,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "SendOrganizationInvitesMutationInput", + "name": "InstallAppMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "org_id", + "name": "app_id", "description": null, "type": { "kind": "NON_NULL", @@ -49183,38 +41037,12 @@ "defaultValue": null }, { - "name": "emails", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "defaultValue": null - }, - { - "name": "redirect_url", + "name": "metadata", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "JSON", + "ofType": null }, "defaultValue": null } @@ -49225,7 +41053,7 @@ }, { "kind": "OBJECT", - "name": "SendOrganizationInvitesMutation", + "name": "InstallAppMutation", "description": null, "fields": [ { @@ -49249,12 +41077,12 @@ "deprecationReason": null }, { - "name": "organization", + "name": "installation", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "OrganizationType", + "name": "AppInstallationType", "ofType": null }, "isDeprecated": false, @@ -49268,12 +41096,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "AcceptOrganizationInvitationMutationInput", + "name": "UninstallAppMutationInput", "description": null, "fields": null, "inputFields": [ { - "name": "guid", + "name": "app_id", "description": null, "type": { "kind": "NON_NULL", @@ -49293,7 +41121,7 @@ }, { "kind": "OBJECT", - "name": "AcceptOrganizationInvitationMutation", + "name": "UninstallAppMutation", "description": null, "fields": [ { @@ -49317,12 +41145,12 @@ "deprecationReason": null }, { - "name": "organization", + "name": "app", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "OrganizationType", + "name": "AppType", "ofType": null }, "isDeprecated": false, diff --git a/schemas/openapi.yml b/schemas/openapi.yml index cf2c98bdce..4fb1bb07aa 100644 --- a/schemas/openapi.yml +++ b/schemas/openapi.yml @@ -10044,6 +10044,7 @@ tags: | amazon_shipping | AmazonShipping | | allied_express_local | Allied Express Local | | allied_express | Allied Express | + | ninja_van | Ninja Van | --- ## Services @@ -11365,6 +11366,11 @@ tags: | allied_standard_pallet_service | PT | | allied_oversized_pallet_service | PT2 | + ### Ninja Van + | Code | Service Name | + | ------------ | ------------ | + | ninja_van_standard_service | Ninja Van Standard Service | + --- ## Parcel Templates From 6333eefbbcf96fb31f55793007194248c253fcd4 Mon Sep 17 00:00:00 2001 From: Vatsal Chauhan <87218847+codeArtisanry@users.noreply.github.com> Date: Tue, 10 Sep 2024 10:26:14 +0530 Subject: [PATCH 3/6] fix: mappers --- .../karrio/mappers/ninja_van/__init__.py | 5 +- .../karrio/mappers/ninja_van/mapper.py | 17 ++-- .../karrio/mappers/ninja_van/proxy.py | 82 +++++++++++++++---- .../karrio/mappers/ninja_van/settings.py | 15 ++-- 4 files changed, 81 insertions(+), 38 deletions(-) diff --git a/modules/connectors/ninja_van/karrio/mappers/ninja_van/__init__.py b/modules/connectors/ninja_van/karrio/mappers/ninja_van/__init__.py index c2cbd24a6f..57bd3eb37f 100644 --- a/modules/connectors/ninja_van/karrio/mappers/ninja_van/__init__.py +++ b/modules/connectors/ninja_van/karrio/mappers/ninja_van/__init__.py @@ -1,4 +1,5 @@ + from karrio.core.metadata import Metadata from karrio.mappers.ninja_van.mapper import Mapper @@ -15,7 +16,5 @@ Proxy=Proxy, Settings=Settings, # Data Units - is_hub=False, - options=units.ShippingOption, - services=units.ShippingService, + is_hub=False ) diff --git a/modules/connectors/ninja_van/karrio/mappers/ninja_van/mapper.py b/modules/connectors/ninja_van/karrio/mappers/ninja_van/mapper.py index f79eb45b7d..9d06e9e9dd 100644 --- a/modules/connectors/ninja_van/karrio/mappers/ninja_van/mapper.py +++ b/modules/connectors/ninja_van/karrio/mappers/ninja_van/mapper.py @@ -15,40 +15,39 @@ def create_rate_request( self, payload: models.RateRequest ) -> lib.Serializable: return provider.rate_request(payload, self.settings) - + def create_tracking_request( self, payload: models.TrackingRequest ) -> lib.Serializable: return provider.tracking_request(payload, self.settings) - + def create_shipment_request( self, payload: models.ShipmentRequest ) -> lib.Serializable: return provider.shipment_request(payload, self.settings) - + def create_cancel_shipment_request( self, payload: models.ShipmentCancelRequest ) -> lib.Serializable[str]: return provider.shipment_cancel_request(payload, self.settings) - - + + def parse_cancel_shipment_response( self, response: lib.Deserializable[str] ) -> typing.Tuple[models.ConfirmationDetails, typing.List[models.Message]]: return provider.parse_shipment_cancel_response(response, self.settings) - + def parse_rate_response( self, response: lib.Deserializable[str] ) -> typing.Tuple[typing.List[models.RateDetails], typing.List[models.Message]]: return provider.parse_rate_response(response, self.settings) - + def parse_shipment_response( self, response: lib.Deserializable[str] ) -> typing.Tuple[models.ShipmentDetails, typing.List[models.Message]]: return provider.parse_shipment_response(response, self.settings) - + def parse_tracking_response( self, response: lib.Deserializable[str] ) -> typing.Tuple[typing.List[models.TrackingDetails], typing.List[models.Message]]: return provider.parse_tracking_response(response, self.settings) - diff --git a/modules/connectors/ninja_van/karrio/mappers/ninja_van/proxy.py b/modules/connectors/ninja_van/karrio/mappers/ninja_van/proxy.py index 48120575dc..345f914a0f 100644 --- a/modules/connectors/ninja_van/karrio/mappers/ninja_van/proxy.py +++ b/modules/connectors/ninja_van/karrio/mappers/ninja_van/proxy.py @@ -2,52 +2,100 @@ import karrio.lib as lib import karrio.api.proxy as proxy +import logging +import json +from karrio.lib import Deserializable import karrio.mappers.ninja_van.settings as provider_settings +logger = logging.getLogger(__name__) class Proxy(proxy.Proxy): settings: provider_settings.Settings def get_rates(self, request: lib.Serializable) -> lib.Deserializable[str]: - response = lib.request( - url=f"{self.settings.server_url}/service", - data=lib.to_json(request.serialize()), - trace=self.trace_as("json"), - method="POST", - headers={}, - ) - + response = lib.request( + url=f"{self.settings.server_url}/ID/1.0/public/price", + data=lib.to_json(request.serialize()), + trace=self.trace_as("json"), + method="POST", + headers={ + "Accept": "application/json", + "Content-type": "application/json", + "Authorization": f"Bearer {self.settings.access_token}", + }, + ) return lib.Deserializable(response, lib.to_dict) def create_shipment(self, request: lib.Serializable) -> lib.Deserializable[str]: response = lib.request( - url=f"{self.settings.server_url}/service", + url=f"{self.settings.server_url}/{self.settings.account_country_code}/4.2/orders", data=lib.to_json(request.serialize()), trace=self.trace_as("json"), method="POST", - headers={}, + headers={ + "Accept": "application/json", + "Content-type": "application/json", + "Authorization": f"Bearer {self.settings.access_token}", + }, ) return lib.Deserializable(response, lib.to_dict) def cancel_shipment(self, request: lib.Serializable) -> lib.Deserializable[str]: + payload = request.serialize() + tracking_number = payload["options"]["tracking_number"] response = lib.request( - url=f"{self.settings.server_url}/service", + url=f"{self.settings.server_url}/{self.settings.account_country_code}/2.2/orders/{tracking_number}", data=lib.to_json(request.serialize()), trace=self.trace_as("json"), - method="POST", - headers={}, + method="DELETE", + headers={ + "Accept": "application/json", + "Content-type": "application/json", + "Authorization": f"Bearer {self.settings.access_token}", + }, ) - return lib.Deserializable(response, lib.to_dict) def get_tracking(self, request: lib.Serializable) -> lib.Deserializable[str]: + payload = request.serialize() + tracking_numbers = payload.get('tracking_numbers', []) + tracking_number = "&".join([f"tracking_number={tn}" for tn in tracking_numbers]) response = lib.request( - url=f"{self.settings.server_url}/service", + url=f"{self.settings.server_url}/{self.settings.account_country_code}/1.0/orders/tracking-events?{tracking_number}", data=lib.to_json(request.serialize()), trace=self.trace_as("json"), - method="POST", - headers={}, + method="GET", + headers={ + "Accept": "application/json", + "Content-type": "application/json", + "Authorization": f"Bearer {self.settings.access_token}", + }, ) + return lib.Deserializable(response, lib.to_dict) + + def get_waybill(self, request: lib.Serializable) -> bytes: + payload = request.serialize() + tracking_number = payload.get('tracking_number') + + if not tracking_number: + raise ValueError("A tracking number must be provided") + + response = lib.request( + url=f"{self.settings.server_url}/{self.settings.country_code}/2.0/reports/waybill?tracking_number={tracking_number}", + data=None, # GET request should not have a body + trace=self.trace_as("json"), + method="GET", + headers={ + "Accept": "application/pdf", + "Authorization": f"Bearer {self.settings.access_token}", + }, + ) + + # Ensure the response is successful and is a PDF + if response.headers.get('Content-Type') == 'application/pdf' and response.status_code == 200: + return response.content + else: + raise ValueError("Failed to retrieve PDF") diff --git a/modules/connectors/ninja_van/karrio/mappers/ninja_van/settings.py b/modules/connectors/ninja_van/karrio/mappers/ninja_van/settings.py index f20fbd8f6d..1b3cf62492 100644 --- a/modules/connectors/ninja_van/karrio/mappers/ninja_van/settings.py +++ b/modules/connectors/ninja_van/karrio/mappers/ninja_van/settings.py @@ -1,24 +1,21 @@ """Karrio Ninja Van client settings.""" import attr -import karrio.providers.ninja_van.utils as provider_utils +from karrio.providers.ninja_van.utils import Settings as BaseSettings @attr.s(auto_attribs=True) -class Settings(provider_utils.Settings): +class Settings(BaseSettings): """Ninja Van connection settings.""" # required carrier specific properties - api_key: str = None - secret_key: str = None - account_number: str = None - track_api_key: str = None - track_secret_key: str = None - + client_id: str = None + client_secret: str = None + # generic properties id: str = None test_mode: bool = False carrier_id: str = "ninja_van" - account_country_code: str = None + account_country_code: str = "SG" metadata: dict = {} config: dict = {} From 78ea89cf3f86fbbd2eed99530b0f5ff5c7c4406c Mon Sep 17 00:00:00 2001 From: Vatsal Chauhan <87218847+codeArtisanry@users.noreply.github.com> Date: Tue, 10 Sep 2024 10:37:13 +0530 Subject: [PATCH 4/6] update schemas and other data --- modules/connectors/ninja_van/generate | 22 +- .../karrio/providers/ninja_van/error.py | 27 +- .../providers/ninja_van/shipment/cancel.py | 3 +- .../providers/ninja_van/shipment/create.py | 116 +- .../karrio/providers/ninja_van/tracking.py | 50 +- .../karrio/providers/ninja_van/units.py | 10 +- .../karrio/providers/ninja_van/utils.py | 72 +- .../schemas/ninja_van/cancel_request.py | 17 - .../schemas/ninja_van/cancel_response.py | 25 - .../ninja_van/cancel_shipment_request.py | 8 + .../ninja_van/cancel_shipment_response.py | 9 + .../ninja_van/create_shipment_request.py | 74 ++ .../ninja_van/create_shipment_response.py | 77 ++ .../schemas/ninja_van/error_response.py | 16 +- .../schemas/ninja_van/paperless_request.py | 30 - .../schemas/ninja_van/paperless_response.py | 21 - .../karrio/schemas/ninja_van/rate_request.py | 17 + .../karrio/schemas/ninja_van/rate_response.py | 13 + .../schemas/ninja_van/rating_request.py | 478 ------- .../schemas/ninja_van/rating_response.py | 189 --- .../schemas/ninja_van/shipping_request.py | 731 ---------- .../schemas/ninja_van/shipping_response.py | 556 -------- .../schemas/ninja_van/tracking_response.py | 350 +---- .../ninja_van/schemas/cancel_request.json | 9 - .../ninja_van/schemas/cancel_response.json | 16 - .../schemas/cancel_shipment_request.json | 4 + .../schemas/cancel_shipment_response.json | 5 + .../schemas/create_shipping_request.json | 68 + .../schemas/create_shipping_response.json | 71 + .../ninja_van/schemas/error_response.json | 19 +- .../ninja_van/schemas/paperless_request.json | 19 - .../ninja_van/schemas/paperless_response.json | 12 - .../ninja_van/schemas/rate_request.json | 12 + .../ninja_van/schemas/rate_response.json | 5 + .../ninja_van/schemas/rating_request.json | 460 ------- .../ninja_van/schemas/rating_response.json | 1149 ---------------- .../ninja_van/schemas/shipping_request.json | 1178 ----------------- .../ninja_van/schemas/shipping_response.json | 521 -------- .../ninja_van/schemas/tracking_response.json | 539 ++------ modules/connectors/ninja_van/setup.py | 3 +- 40 files changed, 721 insertions(+), 6280 deletions(-) delete mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_request.py delete mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_response.py create mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_shipment_request.py create mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_shipment_response.py create mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/create_shipment_request.py create mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/create_shipment_response.py delete mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/paperless_request.py delete mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/paperless_response.py create mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/rate_request.py create mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/rate_response.py delete mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/rating_request.py delete mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/rating_response.py delete mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/shipping_request.py delete mode 100644 modules/connectors/ninja_van/karrio/schemas/ninja_van/shipping_response.py delete mode 100644 modules/connectors/ninja_van/schemas/cancel_request.json delete mode 100644 modules/connectors/ninja_van/schemas/cancel_response.json create mode 100644 modules/connectors/ninja_van/schemas/cancel_shipment_request.json create mode 100644 modules/connectors/ninja_van/schemas/cancel_shipment_response.json create mode 100644 modules/connectors/ninja_van/schemas/create_shipping_request.json create mode 100644 modules/connectors/ninja_van/schemas/create_shipping_response.json delete mode 100644 modules/connectors/ninja_van/schemas/paperless_request.json delete mode 100644 modules/connectors/ninja_van/schemas/paperless_response.json create mode 100644 modules/connectors/ninja_van/schemas/rate_request.json create mode 100644 modules/connectors/ninja_van/schemas/rate_response.json delete mode 100644 modules/connectors/ninja_van/schemas/rating_request.json delete mode 100644 modules/connectors/ninja_van/schemas/rating_response.json delete mode 100644 modules/connectors/ninja_van/schemas/shipping_request.json delete mode 100644 modules/connectors/ninja_van/schemas/shipping_response.json diff --git a/modules/connectors/ninja_van/generate b/modules/connectors/ninja_van/generate index 36d48a4d02..686847b403 100755 --- a/modules/connectors/ninja_van/generate +++ b/modules/connectors/ninja_van/generate @@ -3,21 +3,19 @@ LIB_MODULES=./karrio/schemas/ninja_van find "${LIB_MODULES}" -name "*.py" -exec rm -r {} \; touch "${LIB_MODULES}/__init__.py" -quicktype() { +quicktype () { echo "Generating $1..." - docker run -it --rm --name quicktype -v $PWD:/app-e SCHEMAS=/app/schemas -e LIB_MODULES=/app/karrio/schemas/ninja_van \ - karrio/tools /quicktype/script/quicktype --no-uuids --no-date-times --no-enums --src-lang json --lang jstruct \ - --no-nice-property-names --all-properties-optional --type-as-suffix $@ + docker run -it --rm --name quicktype -v $PWD:/app -e SCHEMAS=/app/schemas -e LIB_MODULES=/app/karrio/schemas/ninja_van \ + karrio/tools /quicktype/script/quicktype --no-uuids --no-date-times --no-enums --src-lang json --lang jstruct \ + --no-nice-property-names --all-properties-optional --type-as-suffix $@ } +quicktype --src="${SCHEMAS}/cancel_shipment_request.json" --out="${LIB_MODULES}/cancel_shipment_request.py" +quicktype --src="${SCHEMAS}/cancel_shipment_response.json" --out="${LIB_MODULES}/cancel_shipment_response.py" +quicktype --src="${SCHEMAS}/create_shipment_request.json" --out="${LIB_MODULES}/create_shipment_request.py" +quicktype --src="${SCHEMAS}/create_shipment_response.json" --out="${LIB_MODULES}/create_shipment_response.py" quicktype --src="${SCHEMAS}/error_response.json" --out="${LIB_MODULES}/error_response.py" -quicktype --src="${SCHEMAS}/paperless_request.json" --out="${LIB_MODULES}/paperless_request.py" -quicktype --src="${SCHEMAS}/paperless_response.json" --out="${LIB_MODULES}/paperless_response.py" -quicktype --src="${SCHEMAS}/rating_request.json" --out="${LIB_MODULES}/rating_request.py" -quicktype --src="${SCHEMAS}/rating_response.json" --out="${LIB_MODULES}/rating_response.py" -quicktype --src="${SCHEMAS}/shipping_request.json" --out="${LIB_MODULES}/shipping_request.py" -quicktype --src="${SCHEMAS}/shipping_response.json" --out="${LIB_MODULES}/shipping_response.py" +quicktype --src="${SCHEMAS}/rate_request.json" --out="${LIB_MODULES}/rate_request.py" +quicktype --src="${SCHEMAS}/rate_response.json" --out="${LIB_MODULES}/rate_response.py" quicktype --src="${SCHEMAS}/tracking_request.json" --out="${LIB_MODULES}/tracking_request.py" quicktype --src="${SCHEMAS}/tracking_response.json" --out="${LIB_MODULES}/tracking_response.py" -quicktype --src="${SCHEMAS}/cancel_request.json" --out="${LIB_MODULES}/cancel_request.py" -quicktype --src="${SCHEMAS}/cancel_response.json" --out="${LIB_MODULES}/cancel_response.py" diff --git a/modules/connectors/ninja_van/karrio/providers/ninja_van/error.py b/modules/connectors/ninja_van/karrio/providers/ninja_van/error.py index 0ee723a143..5d50d2aca3 100644 --- a/modules/connectors/ninja_van/karrio/providers/ninja_van/error.py +++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/error.py @@ -6,19 +6,30 @@ def parse_error_response( - response: dict, + response: typing.Union[typing.List[dict], dict], settings: provider_utils.Settings, - **kwargs, + **details, ) -> typing.List[models.Message]: - errors: list = [] # compute the carrier error object list + responses = response if isinstance(response, list) else [response] + errors: typing.List[dict] = sum( + [ + result["error"]["details"] + if "error" in result and "details" in result["error"] + else [] + for result in responses + ], + [], + ) - return [ + messages: typing.List[models.Message] = [ models.Message( - carrier_id=settings.carrier_id, carrier_name=settings.carrier_name, - code="", - message="", - details={**kwargs}, + carrier_id=settings.carrier_id, + code=error.get("reason"), + message=error.get("message"), + details=details, ) for error in errors ] + + return messages diff --git a/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/cancel.py b/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/cancel.py index 5cf68fdd9c..2767d1e8bf 100644 --- a/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/cancel.py +++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/cancel.py @@ -23,7 +23,6 @@ def parse_shipment_cancel_response( success=success, ) if success else None ) - return confirmation, messages @@ -33,6 +32,6 @@ def shipment_cancel_request( ) -> lib.Serializable: # map data to convert karrio model to ninja_van specific type - request = None + request = payload return lib.Serializable(request, lib.to_dict) diff --git a/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/create.py b/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/create.py index 7eacf56154..bc7d9ad791 100644 --- a/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/create.py +++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/create.py @@ -6,6 +6,9 @@ import karrio.providers.ninja_van.error as error import karrio.providers.ninja_van.utils as provider_utils import karrio.providers.ninja_van.units as provider_units +import karrio.schemas.ninja_van.create_shipment_request as ninja_van +import karrio.schemas.ninja_van.create_shipment_response as shipping + def parse_shipment_response( @@ -13,37 +16,34 @@ def parse_shipment_response( settings: provider_utils.Settings, ) -> typing.Tuple[typing.List[models.RateDetails], typing.List[models.Message]]: response = _response.deserialize() - messages = error.parse_error_response(response, settings) - shipment = ( - _extract_details(response, settings) - if "tracking_number" in response - else None - ) - + shipment = _extract_details(response, settings) if len(messages) == 0 else None return shipment, messages def _extract_details( - data: dict, + data: typing.Tuple[dict, dict], settings: provider_utils.Settings, ) -> models.ShipmentDetails: - shipment = None # parse carrier shipment type from "data" - label = "" # extract and process the shipment label to a valid base64 text - # invoice = "" # extract and process the shipment invoice to a valid base64 text if applies + details = data + order: shipping.CreateShipmentResponseType = lib.to_object( + shipping.CreateShipmentResponseType, details + ) + tracking_number=order.tracking_number return models.ShipmentDetails( carrier_id=settings.carrier_id, carrier_name=settings.carrier_name, - tracking_number="", # extract tracking number from shipment - shipment_identifier="", # extract shipment identifier from shipment - label_type="PDF", # extract shipment label file format - docs=models.Documents( - label=label, # pass label base64 text - # invoice=invoice, # pass invoice base64 text if applies - ), + tracking_number=tracking_number, + shipment_identifier=order.requested_tracking_number, # extract shipment identifier from shipment + label_type="PDF", + docs=models.Documents(label="No label..."), + id=order.requested_tracking_number, meta=dict( - # any relevent meta + carrier_tracking_url=settings.tracking_url.format(tracking_number), + service_level=order.service_level, + service_type=order.service_type, + tracking_number=order.tracking_number, ), ) @@ -60,8 +60,80 @@ def shipment_request( payload.options, package_options=packages.options, ) - # map data to convert karrio model to ninja_van specific type - request = None + request = dict( + service_type="Parcel", + service_level=service, + requested_tracking_number=payload.metadata.get("requested_tracking_number", None), + reference=ninja_van.ReferenceType( + merchant_order_number=payload.reference + ), + address_from=ninja_van.FromType( + name=shipper.person_name, + phone_number=shipper.phone_number, + email=shipper.email, + address=ninja_van.AddressType( + address1=shipper.address_line1, + address2=shipper.address_line2, + area=payload.metadata.get("from_area", None), + city=shipper.city, + state=shipper.state_code, + country=payload.metadata.get("from_country", None), + postcode=shipper.postal_code, + ), + ), + to=ninja_van.FromType( + name=recipient.person_name, + phone_number=recipient.phone_number, + email=recipient.email, + address=ninja_van.AddressType( + address1=recipient.address_line1, + address2=recipient.address_line2, + area=payload.metadata.get("to_area", None), + city=recipient.city, + state=recipient.state_code, + country=payload.metadata.get("to_country", None), + postcode=recipient.postal_code, + ), + ), + parcel_job=ninja_van.ParcelJobType( + is_pickup_required=payload.metadata.get("is_pickup_required", False), + pickup_addressid=None, + pickup_service_type="Scheduled", + pickup_service_level="Standard", + pickup_date=payload.metadata.get("pickup_date", None), + pickup_timeslot=ninja_van.TimeslotType( + start_time=payload.metadata.get("pickup_timeslot", {}).get("start_time", None), + end_time=payload.metadata.get("pickup_timeslot", {}).get("end_time", None), + timezone=payload.metadata.get("pickup_timeslot", {}).get("timezone", None), + ), + pickup_instructions=options.pickup_instructions.state, + delivery_instructions=options.delivery_instructions.state, + delivery_start_date= payload.metadata.get("delivery_startdate", None), + delivery_timeslot=ninja_van.TimeslotType( + start_time=payload.metadata.get("delivery_timeslot", {}).get("start_time", None), + end_time=payload.metadata.get("delivery_timeslot", {}).get("end_time", None), + timezone=payload.metadata.get("delivery_timeslot", {}).get("timezone", None), + ), + dimensions=ninja_van.DimensionsType( + weight=packages.weight.KG, + ), + items=[ + ninja_van.ItemType( + item_description=item.description, + quantity=item.quantity, + is_dangerous_good=payload.metadata.get("is_dangerous_good", False), + ) + for item in packages.items + ], + ) + ) + + # Custom serialization function + def custom_serializer(_): + serialized = lib.to_dict(_) + if 'address_from' in serialized: + serialized['from'] = serialized.pop('address_from') + return serialized - return lib.Serializable(request, lib.to_dict) + return lib.Serializable(request, custom_serializer) diff --git a/modules/connectors/ninja_van/karrio/providers/ninja_van/tracking.py b/modules/connectors/ninja_van/karrio/providers/ninja_van/tracking.py index 68b54688d6..fefc0bce3a 100644 --- a/modules/connectors/ninja_van/karrio/providers/ninja_van/tracking.py +++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/tracking.py @@ -6,7 +6,8 @@ import karrio.providers.ninja_van.error as error import karrio.providers.ninja_van.utils as provider_utils import karrio.providers.ninja_van.units as provider_units - +import karrio.schemas.ninja_van.tracking_request as ninja_van +import karrio.schemas.ninja_van.tracking_response as tracking def parse_tracking_response( _response: lib.Deserializable[typing.List[typing.Tuple[str, dict]]], @@ -29,34 +30,59 @@ def parse_tracking_response( def _extract_details( data: dict, settings: provider_utils.Settings, + ctx: dict ) -> models.TrackingDetails: - details = None # parse carrier tracking object type - + tracking_number = ctx.get("tracking_number") + details = lib.to_object(tracking.TrackingResponseType, data) + events = reversed(details.tracking_events) + estimated_delivery = ( + details.scheduling.estimated_delivery_date_minimum + or details.scheduling.estimated_delivery_date_maximum + or details.scheduling.delivered_on + ) + status = next( + ( + status.name + for status in list(provider_units.TrackingStatus) + if details.state in status.value + ), + provider_units.TrackingStatus.in_transit.name, + ) return models.TrackingDetails( carrier_id=settings.carrier_id, carrier_name=settings.carrier_name, - tracking_number="", + tracking_number=tracking_number, events=[ models.TrackingEvent( - date=lib.fdate(""), - description="", - code="", - time=lib.ftime(""), + date=lib.fdatetime( + event.timestamp or event.scan_time, + try_formats=["%Y-%m-%dT%H:%M:%S", "%Y-%m-%dT%H:%M:%SZ"], + output_format="%Y-%m-%d", + ), + description=event.arrivedatoriginhubinformation, location="", + code=event.shipper_order_ref_no, + time=lib.fdatetime( + event.timestamp or event.scan_time, + try_formats=["%Y-%m-%dT%H:%M:%S", "%Y-%m-%dT%H:%M:%SZ"], + output_format="%H:%M", + ), ) - for event in [] + for event in events ], - estimated_delivery=lib.fdate(""), - delivered=False, + estimated_delivery=lib.fdate(estimated_delivery, "%Y-%m-%d"), + delivered=status == provider_units.TrackingStatus.delivered.name, + status=status, ) + def tracking_request( payload: models.TrackingRequest, settings: provider_utils.Settings, ) -> lib.Serializable: # map data to convert karrio model to ninja_van specific type - request = None + request = [ninja_van.TrackingRequestType(tracking_number=tn) for tn in payload.tracking_numbers] return lib.Serializable(request, lib.to_dict) diff --git a/modules/connectors/ninja_van/karrio/providers/ninja_van/units.py b/modules/connectors/ninja_van/karrio/providers/ninja_van/units.py index 956898f576..728df86ced 100644 --- a/modules/connectors/ninja_van/karrio/providers/ninja_van/units.py +++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/units.py @@ -50,10 +50,10 @@ def items_filter(key: str) -> bool: class TrackingStatus(lib.Enum): - on_hold = ["on_hold"] - delivered = ["delivered"] - in_transit = ["in_transit"] - delivery_failed = ["delivery_failed"] + on_hold = ["Pending Pickup","Delivery Attempted"] + delivered = ["Delivered", "Delivered, Received by Customer", ] + in_transit = ["Pickup", "Drop Off", "Dropped Off", "In Transit", "Arrived at Origin Hub"] + delivery_failed = ["Unable to Deliver"] delivery_delayed = ["delivery_delayed"] - out_for_delivery = ["out_for_delivery"] + out_for_delivery = ["Out for Delivery"] ready_for_pickup = ["ready_for_pickup"] diff --git a/modules/connectors/ninja_van/karrio/providers/ninja_van/utils.py b/modules/connectors/ninja_van/karrio/providers/ninja_van/utils.py index c4e373ed9a..92735ea134 100644 --- a/modules/connectors/ninja_van/karrio/providers/ninja_van/utils.py +++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/utils.py @@ -1,11 +1,16 @@ +import datetime import karrio.core as core - +import karrio.core.errors as errors +import karrio.lib as lib +import base64 class Settings(core.Settings): """Ninja Van connection settings.""" - # username: str # carrier specific api credential key + client_id: str = None + client_secret: str = None + grant_type: str = "client_credentials" @property def carrier_name(self): @@ -14,7 +19,66 @@ def carrier_name(self): @property def server_url(self): return ( - "https://api.ninjavan.co" + "https://api-sandbox.ninjavan.co" if self.test_mode - else "https://sandbox.carrier.api" + else "https://api-sandbox.ninjavan.co" # "https://api.ninjavan.co" UPDATE later + ) + + @property + def authorization(self): + pair = "%s:%s" % (self.client_id, self.client_secret) + return base64.b64encode(pair.encode("utf-8")).decode("ascii") + + @property + def access_token(self): + """Retrieve the access_token using the api_key|secret_key pair + or collect it from the cache if an unexpired access_token exists. + """ + if not all([self.client_id, self.client_secret, self.grant_type]): + raise Exception( + "The client_id, client_secret and grant_type are required for Rate, Ship and Other API requests." + ) + + cache_key = f"{self.carrier_name}|{self.client_id}|{self.client_secret}|{self.grant_type}" + now = datetime.datetime.now() + + auth = self.connection_cache.get(cache_key) or {} + token = auth.get("access_token") + expiry = lib.to_date(auth.get("expiry"), current_format="%Y-%m-%d %H:%M:%S") + + if token is not None and expiry is not None and expiry > now: + return token + + new_auth = login( + self, + client_id=self.client_id, + client_secret=self.client_secret, ) + self.connection_cache.set(cache_key, new_auth) + return new_auth["access_token"] + + @property + def tracking_url(self): + return "https://www.ninjavan.co/en-mm/tracking?id={}" + + +def login(settings: Settings, client_id: str = None, client_secret: str = None): + import karrio.providers.ninja_van.error as error + + result = lib.request( + url=f"{settings.server_url}/{settings.account_country_code}/2.0/oauth/access_token", + method="POST", + headers={ + "content-Type": "application/json", + "Authorization": f"Basic {settings.authorization}", + }, + data=lib.to_json({"client_id": client_id, "client_secret": client_secret, "grant_type": "client_credentials"}), + ) + response = lib.to_dict(result) + messages = error.parse_error_response(response, settings) + if any(messages): + raise errors.ShippingSDKError(messages) + expiry = datetime.datetime.now() + datetime.timedelta(seconds=float(response.get("expires_in", 0))) + response["expiry"] = lib.fdatetime(expiry) + + return response diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_request.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_request.py deleted file mode 100644 index 4dcc3cdd4e..0000000000 --- a/modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_request.py +++ /dev/null @@ -1,17 +0,0 @@ -from attr import s -from typing import Optional -from jstruct import JStruct - - -@s(auto_attribs=True) -class AccountNumberType: - value: Optional[str] = None - - -@s(auto_attribs=True) -class CancelRequestType: - accountNumber: Optional[AccountNumberType] = JStruct[AccountNumberType] - emailShipment: Optional[bool] = None - senderCountryCode: Optional[str] = None - deletionControl: Optional[str] = None - trackingNumber: Optional[str] = None diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_response.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_response.py deleted file mode 100644 index ba543d0061..0000000000 --- a/modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_response.py +++ /dev/null @@ -1,25 +0,0 @@ -from attr import s -from typing import Optional, List -from jstruct import JList, JStruct - - -@s(auto_attribs=True) -class AlertType: - code: Optional[str] = None - alertType: Optional[str] = None - message: Optional[str] = None - - -@s(auto_attribs=True) -class OutputType: - cancelledShipment: Optional[bool] = None - cancelledHistory: Optional[bool] = None - successMessage: Optional[str] = None - alerts: List[AlertType] = JList[AlertType] - - -@s(auto_attribs=True) -class CancelResponseType: - transactionId: Optional[str] = None - customerTransactionId: Optional[str] = None - output: Optional[OutputType] = JStruct[OutputType] diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_shipment_request.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_shipment_request.py new file mode 100644 index 0000000000..b54c8d7e84 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_shipment_request.py @@ -0,0 +1,8 @@ +from attr import s +from typing import Optional + + +@s(auto_attribs=True) +class CancelShipmentRequestType: + countryCode: Optional[str] = None + trackingNo: Optional[str] = None diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_shipment_response.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_shipment_response.py new file mode 100644 index 0000000000..ccc87b7b0d --- /dev/null +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/cancel_shipment_response.py @@ -0,0 +1,9 @@ +from attr import s +from typing import Optional + + +@s(auto_attribs=True) +class CancelShipmentResponseType: + trackingId: Optional[str] = None + status: Optional[str] = None + updatedAt: Optional[str] = None diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/create_shipment_request.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/create_shipment_request.py new file mode 100644 index 0000000000..ee3b804122 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/create_shipment_request.py @@ -0,0 +1,74 @@ +from attr import s, field +from typing import Optional, List +from jstruct import JStruct, JList + + +@s(auto_attribs=True) +class AddressType: + address1: Optional[str] = None + address2: Optional[str] = None + area: Optional[str] = None + city: Optional[str] = None + state: Optional[str] = None + address_type: Optional[str] = None + country: Optional[str] = None + postcode: Optional[int] = None + + +@s(auto_attribs=True) +class FromType: + name: Optional[str] = None + phone_number: Optional[str] = None + email: Optional[str] = None + address: Optional[AddressType] = JStruct[AddressType] + + +@s(auto_attribs=True) +class TimeslotType: + start_time: Optional[str] = None + end_time: Optional[str] = None + timezone: Optional[str] = None + + +@s(auto_attribs=True) +class DimensionsType: + weight: Optional[float] = None + + +@s(auto_attribs=True) +class ItemType: + item_description: Optional[str] = None + quantity: Optional[int] = None + is_dangerous_good: Optional[bool] = None + + +@s(auto_attribs=True) +class ParcelJobType: + is_pickup_required: Optional[bool] = None + pickup_addressid: Optional[int] = None + pickup_service_type: Optional[str] = None + pickup_service_level: Optional[str] = None + pickup_date: Optional[str] = None + pickup_timeslot: Optional[TimeslotType] = JStruct[TimeslotType] + pickup_instructions: Optional[str] = None + delivery_instructions: Optional[str] = None + delivery_start_date: Optional[str] = None + delivery_timeslot: Optional[TimeslotType] = JStruct[TimeslotType] + dimensions: Optional[DimensionsType] = JStruct[DimensionsType] + items: List[ItemType] = JList[ItemType] + + +@s(auto_attribs=True) +class ReferenceType: + merchant_order_number: Optional[str] = None + + +@s(auto_attribs=True) +class CreateShipmentRequestType: + service_type: Optional[str] = None + service_level: Optional[str] = None + requested_tracking_number: Optional[str] = None + reference: Optional[ReferenceType] = JStruct[ReferenceType] + from_address: Optional[FromType] = field(default=None) + to: Optional[FromType] = field(default=None) + parcel_job: Optional[ParcelJobType] = JStruct[ParcelJobType] diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/create_shipment_response.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/create_shipment_response.py new file mode 100644 index 0000000000..66fcdd15b3 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/create_shipment_response.py @@ -0,0 +1,77 @@ +from attr import s +from typing import Optional, List +from jstruct import JStruct, JList + + +@s(auto_attribs=True) +class AddressType: + address1: Optional[str] = None + address2: Optional[str] = None + area: Optional[str] = None + city: Optional[str] = None + state: Optional[str] = None + address_type: Optional[str] = None + country: Optional[str] = None + postcode: Optional[int] = None + + +@s(auto_attribs=True) +class FromType: + name: Optional[str] = None + phone_number: Optional[str] = None + email: Optional[str] = None + address: Optional[AddressType] = JStruct[AddressType] + + +@s(auto_attribs=True) +class TimeslotType: + start_time: Optional[str] = None + end_time: Optional[str] = None + timezone: Optional[str] = None + + +@s(auto_attribs=True) +class DimensionsType: + weight: Optional[float] = None + + +@s(auto_attribs=True) +class ItemType: + item_description: Optional[str] = None + quantity: Optional[int] = None + is_dangerous_good: Optional[bool] = None + + +@s(auto_attribs=True) +class ParcelJobType: + is_pickup_required: Optional[bool] = None + pickup_service_type: Optional[str] = None + pickup_service_level: Optional[str] = None + pickup_addressid: Optional[int] = None + pickup_date: Optional[str] = None + pickup_timeslot: Optional[TimeslotType] = JStruct[TimeslotType] + pickup_approximate_volume: Optional[str] = None + pickup_instructions: Optional[str] = None + delivery_startdate: Optional[str] = None + delivery_timeslot: Optional[TimeslotType] = JStruct[TimeslotType] + delivery_instructions: Optional[str] = None + allow_weekend_delivery: Optional[bool] = None + dimensions: Optional[DimensionsType] = JStruct[DimensionsType] + items: List[ItemType] = JList[ItemType] + + +@s(auto_attribs=True) +class ReferenceType: + merchant_order_number: Optional[str] = None + + +@s(auto_attribs=True) +class CreateShipmentResponseType: + requested_tracking_number: Optional[str] = None + tracking_number: Optional[str] = None + service_type: Optional[str] = None + service_level: Optional[str] = None + reference: Optional[ReferenceType] = JStruct[ReferenceType] + address_from: Optional[FromType] = JStruct[FromType] + to: Optional[FromType] = JStruct[FromType] + parcel_job: Optional[ParcelJobType] = JStruct[ParcelJobType] diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/error_response.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/error_response.py index ca926e3f85..5f999bd926 100644 --- a/modules/connectors/ninja_van/karrio/schemas/ninja_van/error_response.py +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/error_response.py @@ -1,16 +1,22 @@ from attr import s from typing import Optional, List -from jstruct import JList +from jstruct import JList, JStruct + + +@s(auto_attribs=True) +class DetailType: + reason: Optional[str] = None + message: Optional[str] = None @s(auto_attribs=True) class ErrorType: - code: Optional[str] = None + requestid: Optional[str] = None + title: Optional[str] = None message: Optional[str] = None + details: List[DetailType] = JList[DetailType] @s(auto_attribs=True) class ErrorResponseType: - transactionId: Optional[str] = None - customerTransactionId: Optional[str] = None - errors: List[ErrorType] = JList[ErrorType] + error: Optional[ErrorType] = JStruct[ErrorType] diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/paperless_request.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/paperless_request.py deleted file mode 100644 index fc0460ca34..0000000000 --- a/modules/connectors/ninja_van/karrio/schemas/ninja_van/paperless_request.py +++ /dev/null @@ -1,30 +0,0 @@ -from attr import s -from typing import Optional -from jstruct import JStruct - - -@s(auto_attribs=True) -class MetaType: - shipDocumentType: Optional[str] = None - formCode: Optional[str] = None - trackingNumber: Optional[str] = None - shipmentDate: Optional[str] = None - originLocationCode: Optional[str] = None - originCountryCode: Optional[str] = None - destinationLocationCode: Optional[str] = None - destinationCountryCode: Optional[str] = None - - -@s(auto_attribs=True) -class DocumentType: - workflowName: Optional[str] = None - carrierCode: Optional[str] = None - name: Optional[str] = None - contentType: Optional[str] = None - meta: Optional[MetaType] = JStruct[MetaType] - - -@s(auto_attribs=True) -class PaperlessRequestType: - document: Optional[DocumentType] = JStruct[DocumentType] - attachment: Optional[str] = None diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/paperless_response.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/paperless_response.py deleted file mode 100644 index 5343d7a03d..0000000000 --- a/modules/connectors/ninja_van/karrio/schemas/ninja_van/paperless_response.py +++ /dev/null @@ -1,21 +0,0 @@ -from attr import s -from typing import Optional, List -from jstruct import JStruct - - -@s(auto_attribs=True) -class MetaType: - documentType: Optional[str] = None - docId: Optional[str] = None - folderId: List[str] = [] - - -@s(auto_attribs=True) -class OutputType: - meta: Optional[MetaType] = JStruct[MetaType] - - -@s(auto_attribs=True) -class PaperlessResponseType: - output: Optional[OutputType] = JStruct[OutputType] - customerTransactionId: Optional[str] = None diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/rate_request.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/rate_request.py new file mode 100644 index 0000000000..e30cf9a5e4 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/rate_request.py @@ -0,0 +1,17 @@ +from attr import s +from typing import Optional +from jstruct import JStruct + + +@s(auto_attribs=True) +class FromType: + l1_tier_code: Optional[str] = None + l2_tier_code: Optional[str] = None + + +@s(auto_attribs=True) +class RateRequestType: + weight: Optional[int] = None + service_level: Optional[str] = None + rate_request_from: Optional[FromType] = JStruct[FromType] + rate_request_to: Optional[FromType] = JStruct[FromType] diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/rate_response.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/rate_response.py new file mode 100644 index 0000000000..f78caefc10 --- /dev/null +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/rate_response.py @@ -0,0 +1,13 @@ +from attr import s +from typing import Optional +from jstruct import JStruct + + +@s(auto_attribs=True) +class DataType: + total_fee: Optional[int] = None + + +@s(auto_attribs=True) +class RateResponseType: + data: Optional[DataType] = JStruct[DataType] diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/rating_request.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/rating_request.py deleted file mode 100644 index 84fee7cb57..0000000000 --- a/modules/connectors/ninja_van/karrio/schemas/ninja_van/rating_request.py +++ /dev/null @@ -1,478 +0,0 @@ -from attr import s -from typing import Optional, List, Any -from jstruct import JStruct, JList - - -@s(auto_attribs=True) -class RatingRequestAccountNumberType: - value: Optional[str] = None - - -@s(auto_attribs=True) -class RateRequestControlParametersType: - returnTransitTimes: Optional[bool] = None - servicesNeededOnRateFailure: Optional[bool] = None - variableOptions: Optional[str] = None - rateSortOrder: Optional[str] = None - - -@s(auto_attribs=True) -class RecipientAccountNumberType: - value: Optional[int] = None - - -@s(auto_attribs=True) -class BrokerAddressType: - streetLines: List[str] = [] - countryCode: Optional[str] = None - - -@s(auto_attribs=True) -class RecipientContactType: - companyName: Optional[str] = None - faxNumber: Optional[str] = None - personName: Optional[str] = None - phoneNumber: Optional[str] = None - - -@s(auto_attribs=True) -class BrokerClassType: - accountNumber: Optional[RecipientAccountNumberType] = JStruct[RecipientAccountNumberType] - address: Optional[BrokerAddressType] = JStruct[BrokerAddressType] - contact: Optional[RecipientContactType] = JStruct[RecipientContactType] - - -@s(auto_attribs=True) -class BrokerAddressClassType: - streetLines: List[str] = [] - city: Optional[str] = None - stateOrProvinceCode: Optional[str] = None - postalCode: Optional[int] = None - countryCode: Optional[str] = None - residential: Optional[bool] = None - classification: Optional[str] = None - geographicCoordinates: Optional[str] = None - urbanizationCode: Optional[str] = None - countryName: Optional[str] = None - - -@s(auto_attribs=True) -class BrokerType: - broker: Optional[BrokerClassType] = JStruct[BrokerClassType] - type: Optional[str] = None - brokerCommitTimestamp: Optional[str] = None - brokerCommitDayOfWeek: Optional[str] = None - brokerLocationId: Optional[str] = None - brokerAddress: Optional[BrokerAddressClassType] = JStruct[BrokerAddressClassType] - brokerToDestinationDays: Optional[int] = None - - -@s(auto_attribs=True) -class CommercialInvoiceType: - shipmentPurpose: Optional[str] = None - - -@s(auto_attribs=True) -class FixedValueType: - amount: Optional[int] = None - currency: Optional[str] = None - - -@s(auto_attribs=True) -class WeightType: - units: Optional[str] = None - value: Optional[int] = None - - -@s(auto_attribs=True) -class CommodityType: - description: Optional[str] = None - weight: Optional[WeightType] = JStruct[WeightType] - quantity: Optional[int] = None - customsValue: Optional[FixedValueType] = JStruct[FixedValueType] - unitPrice: Optional[FixedValueType] = JStruct[FixedValueType] - numberOfPieces: Optional[int] = None - countryOfManufacture: Optional[str] = None - quantityUnits: Optional[str] = None - name: Optional[str] = None - harmonizedCode: Optional[str] = None - partNumber: Optional[str] = None - - -@s(auto_attribs=True) -class ResponsiblePartyAddressType: - streetLines: List[str] = [] - city: Optional[str] = None - stateOrProvinceCode: Optional[str] = None - postalCode: Optional[int] = None - countryCode: Optional[str] = None - residential: Optional[bool] = None - - -@s(auto_attribs=True) -class ResponsiblePartyContactType: - personName: Optional[str] = None - emailAddress: Optional[str] = None - phoneNumber: Optional[str] = None - phoneExtension: Optional[str] = None - companyName: Optional[str] = None - faxNumber: Optional[str] = None - - -@s(auto_attribs=True) -class ResponsiblePartyType: - address: Optional[ResponsiblePartyAddressType] = JStruct[ResponsiblePartyAddressType] - contact: Optional[ResponsiblePartyContactType] = JStruct[ResponsiblePartyContactType] - accountNumber: Optional[RatingRequestAccountNumberType] = JStruct[RatingRequestAccountNumberType] - - -@s(auto_attribs=True) -class PayorType: - responsibleParty: Optional[ResponsiblePartyType] = JStruct[ResponsiblePartyType] - - -@s(auto_attribs=True) -class DutiesPaymentType: - payor: Optional[PayorType] = JStruct[PayorType] - paymentType: Optional[str] = None - - -@s(auto_attribs=True) -class CustomsClearanceDetailType: - brokers: List[BrokerType] = JList[BrokerType] - commercialInvoice: Optional[CommercialInvoiceType] = JStruct[CommercialInvoiceType] - freightOnValue: Optional[str] = None - dutiesPayment: Optional[DutiesPaymentType] = JStruct[DutiesPaymentType] - commodities: List[CommodityType] = JList[CommodityType] - - -@s(auto_attribs=True) -class PrintedReferenceType: - printedReferenceType: Optional[str] = None - value: Optional[str] = None - - -@s(auto_attribs=True) -class EmailNotificationDetailRecipientType: - emailAddress: Optional[str] = None - notificationEventType: List[str] = [] - smsDetail: Any = None - notificationFormatType: Optional[str] = None - emailNotificationRecipientType: Optional[str] = None - notificationType: Optional[str] = None - locale: Optional[str] = None - - -@s(auto_attribs=True) -class EmailNotificationDetailType: - recipients: List[EmailNotificationDetailRecipientType] = JList[EmailNotificationDetailRecipientType] - personalMessage: Optional[str] = None - PrintedReference: Optional[PrintedReferenceType] = JStruct[PrintedReferenceType] - - -@s(auto_attribs=True) -class ExpressFreightDetailType: - bookingConfirmationNumber: Optional[str] = None - shippersLoadAndCount: Optional[int] = None - - -@s(auto_attribs=True) -class ShipperClassType: - address: Optional[ResponsiblePartyAddressType] = JStruct[ResponsiblePartyAddressType] - - -@s(auto_attribs=True) -class ContentRecordType: - itemNumber: Optional[str] = None - receivedQuantity: Optional[int] = None - description: Optional[str] = None - partNumber: Optional[str] = None - - -@s(auto_attribs=True) -class DimensionsType: - length: Optional[int] = None - width: Optional[int] = None - height: Optional[int] = None - units: Optional[str] = None - - -@s(auto_attribs=True) -class AlcoholDetailType: - alcoholRecipientType: Optional[str] = None - shipperAgreementType: Optional[str] = None - - -@s(auto_attribs=True) -class BatteryDetailType: - material: Optional[str] = None - regulatorySubType: Optional[str] = None - packing: Optional[str] = None - - -@s(auto_attribs=True) -class NumberType: - areaCode: Optional[str] = None - extension: Optional[str] = None - countryCode: Optional[str] = None - personalIdentificationNumber: Optional[str] = None - localNumber: Optional[str] = None - - -@s(auto_attribs=True) -class HazardousCommodityType: - innerReceptacles: List[Any] = [] - - -@s(auto_attribs=True) -class PackagingType: - count: Optional[int] = None - units: Optional[str] = None - - -@s(auto_attribs=True) -class ContainerType: - offeror: Optional[str] = None - hazardousCommodities: List[HazardousCommodityType] = JList[HazardousCommodityType] - numberOfContainers: Optional[int] = None - containerType: Optional[str] = None - emergencyContactNumber: Optional[NumberType] = JStruct[NumberType] - packaging: Optional[PackagingType] = JStruct[PackagingType] - packingType: Optional[str] = None - radioactiveContainerClass: Optional[str] = None - - -@s(auto_attribs=True) -class DangerousGoodsDetailType: - offeror: Optional[str] = None - accessibility: Optional[str] = None - emergencyContactNumber: Optional[str] = None - options: List[str] = [] - containers: List[ContainerType] = JList[ContainerType] - packaging: Optional[PackagingType] = JStruct[PackagingType] - - -@s(auto_attribs=True) -class CodCollectionAmountType: - amount: Optional[float] = None - currency: Optional[str] = None - - -@s(auto_attribs=True) -class PackageCODDetailType: - codCollectionAmount: Optional[CodCollectionAmountType] = JStruct[CodCollectionAmountType] - codCollectionType: Optional[str] = None - - -@s(auto_attribs=True) -class PackageSpecialServicesType: - specialServiceTypes: List[str] = [] - signatureOptionType: List[str] = [] - alcoholDetail: Optional[AlcoholDetailType] = JStruct[AlcoholDetailType] - dangerousGoodsDetail: Optional[DangerousGoodsDetailType] = JStruct[DangerousGoodsDetailType] - packageCODDetail: Optional[PackageCODDetailType] = JStruct[PackageCODDetailType] - pieceCountVerificationBoxCount: Optional[int] = None - batteryDetails: List[BatteryDetailType] = JList[BatteryDetailType] - dryIceWeight: Optional[WeightType] = JStruct[WeightType] - - -@s(auto_attribs=True) -class VariableHandlingChargeDetailType: - rateType: Optional[str] = None - percentValue: Optional[int] = None - rateLevelType: Optional[str] = None - fixedValue: Optional[FixedValueType] = JStruct[FixedValueType] - rateElementBasis: Optional[str] = None - - -@s(auto_attribs=True) -class RequestedPackageLineItemType: - subPackagingType: Optional[str] = None - groupPackageCount: Optional[int] = None - contentRecord: List[ContentRecordType] = JList[ContentRecordType] - declaredValue: Optional[FixedValueType] = JStruct[FixedValueType] - weight: Optional[WeightType] = JStruct[WeightType] - dimensions: Optional[DimensionsType] = JStruct[DimensionsType] - variableHandlingChargeDetail: Optional[VariableHandlingChargeDetailType] = JStruct[VariableHandlingChargeDetailType] - packageSpecialServices: Optional[PackageSpecialServicesType] = JStruct[PackageSpecialServicesType] - - -@s(auto_attribs=True) -class ServiceTypeDetailType: - carrierCode: Optional[str] = None - description: Optional[str] = None - serviceName: Optional[str] = None - serviceCategory: Optional[str] = None - - -@s(auto_attribs=True) -class DeliveryOnInvoiceAcceptanceDetailType: - recipient: Optional[BrokerClassType] = JStruct[BrokerClassType] - - -@s(auto_attribs=True) -class TionContactAndAddressType: - address: Optional[ResponsiblePartyAddressType] = JStruct[ResponsiblePartyAddressType] - contact: Optional[ResponsiblePartyContactType] = JStruct[ResponsiblePartyContactType] - - -@s(auto_attribs=True) -class HoldAtLocationDetailType: - locationId: Optional[str] = None - locationContactAndAddress: Optional[TionContactAndAddressType] = JStruct[TionContactAndAddressType] - locationType: Optional[str] = None - - -@s(auto_attribs=True) -class HomeDeliveryPremiumDetailType: - phoneNumber: Optional[NumberType] = JStruct[NumberType] - shipTimestamp: Optional[str] = None - homedeliveryPremiumType: Optional[str] = None - - -@s(auto_attribs=True) -class InternationalControlledExportDetailType: - type: Optional[str] = None - - -@s(auto_attribs=True) -class InternationalTrafficInArmsRegulationsDetailType: - licenseOrExemptionNumber: Optional[int] = None - - -@s(auto_attribs=True) -class DocumentReferenceType: - documentType: Optional[str] = None - customerReference: Optional[str] = None - description: Optional[str] = None - documentId: Optional[int] = None - - -@s(auto_attribs=True) -class LocaleType: - country: Optional[str] = None - language: Optional[str] = None - - -@s(auto_attribs=True) -class ProcessingOptionsType: - options: List[str] = [] - - -@s(auto_attribs=True) -class EmailLabelDetailRecipientType: - emailAddress: Optional[str] = None - optionsRequested: Optional[ProcessingOptionsType] = JStruct[ProcessingOptionsType] - role: Optional[str] = None - locale: Optional[LocaleType] = JStruct[LocaleType] - - -@s(auto_attribs=True) -class EmailLabelDetailType: - recipients: List[EmailLabelDetailRecipientType] = JList[EmailLabelDetailRecipientType] - message: Optional[str] = None - - -@s(auto_attribs=True) -class RecommendedDocumentSpecificationType: - types: List[str] = [] - - -@s(auto_attribs=True) -class ShipmentDryIceDetailType: - totalWeight: Optional[WeightType] = JStruct[WeightType] - packageCount: Optional[int] = None - - -@s(auto_attribs=True) -class PendingShipmentDetailType: - pendingShipmentType: Optional[str] = None - processingOptions: Optional[ProcessingOptionsType] = JStruct[ProcessingOptionsType] - recommendedDocumentSpecification: Optional[RecommendedDocumentSpecificationType] = JStruct[RecommendedDocumentSpecificationType] - emailLabelDetail: Optional[EmailLabelDetailType] = JStruct[EmailLabelDetailType] - documentReferences: List[DocumentReferenceType] = JList[DocumentReferenceType] - expirationTimeStamp: Optional[str] = None - shipmentDryIceDetail: Optional[ShipmentDryIceDetailType] = JStruct[ShipmentDryIceDetailType] - - -@s(auto_attribs=True) -class ReturnShipmentDetailType: - returnType: Optional[str] = None - - -@s(auto_attribs=True) -class AddTransportationChargesDetailType: - rateType: Optional[str] = None - rateLevelType: Optional[str] = None - chargeLevelType: Optional[str] = None - chargeType: Optional[str] = None - - -@s(auto_attribs=True) -class CodRecipientType: - accountNumber: Optional[RecipientAccountNumberType] = JStruct[RecipientAccountNumberType] - - -@s(auto_attribs=True) -class ShipmentCODDetailType: - addTransportationChargesDetail: Optional[AddTransportationChargesDetailType] = JStruct[AddTransportationChargesDetailType] - codRecipient: Optional[CodRecipientType] = JStruct[CodRecipientType] - remitToName: Optional[str] = None - codCollectionType: Optional[str] = None - financialInstitutionContactAndAddress: Optional[TionContactAndAddressType] = JStruct[TionContactAndAddressType] - returnReferenceIndicatorType: Optional[str] = None - - -@s(auto_attribs=True) -class ShipmentSpecialServicesType: - returnShipmentDetail: Optional[ReturnShipmentDetailType] = JStruct[ReturnShipmentDetailType] - deliveryOnInvoiceAcceptanceDetail: Optional[DeliveryOnInvoiceAcceptanceDetailType] = JStruct[DeliveryOnInvoiceAcceptanceDetailType] - internationalTrafficInArmsRegulationsDetail: Optional[InternationalTrafficInArmsRegulationsDetailType] = JStruct[InternationalTrafficInArmsRegulationsDetailType] - pendingShipmentDetail: Optional[PendingShipmentDetailType] = JStruct[PendingShipmentDetailType] - holdAtLocationDetail: Optional[HoldAtLocationDetailType] = JStruct[HoldAtLocationDetailType] - shipmentCODDetail: Optional[ShipmentCODDetailType] = JStruct[ShipmentCODDetailType] - shipmentDryIceDetail: Optional[ShipmentDryIceDetailType] = JStruct[ShipmentDryIceDetailType] - internationalControlledExportDetail: Optional[InternationalControlledExportDetailType] = JStruct[InternationalControlledExportDetailType] - homeDeliveryPremiumDetail: Optional[HomeDeliveryPremiumDetailType] = JStruct[HomeDeliveryPremiumDetailType] - specialServiceTypes: List[str] = [] - - -@s(auto_attribs=True) -class SmartPostInfoDetailType: - ancillaryEndorsement: Optional[str] = None - hubId: Optional[int] = None - indicia: Optional[str] = None - specialServices: Optional[str] = None - - -@s(auto_attribs=True) -class RequestedShipmentType: - shipper: Optional[ShipperClassType] = JStruct[ShipperClassType] - recipient: Optional[ShipperClassType] = JStruct[ShipperClassType] - serviceType: Optional[str] = None - emailNotificationDetail: Optional[EmailNotificationDetailType] = JStruct[EmailNotificationDetailType] - preferredCurrency: Optional[str] = None - rateRequestType: List[str] = [] - shipDateStamp: Optional[str] = None - pickupType: Optional[str] = None - requestedPackageLineItems: List[RequestedPackageLineItemType] = JList[RequestedPackageLineItemType] - documentShipment: Optional[bool] = None - variableHandlingChargeDetail: Optional[VariableHandlingChargeDetailType] = JStruct[VariableHandlingChargeDetailType] - packagingType: Optional[str] = None - totalPackageCount: Optional[int] = None - totalWeight: Optional[float] = None - shipmentSpecialServices: Optional[ShipmentSpecialServicesType] = JStruct[ShipmentSpecialServicesType] - customsClearanceDetail: Optional[CustomsClearanceDetailType] = JStruct[CustomsClearanceDetailType] - groupShipment: Optional[bool] = None - serviceTypeDetail: Optional[ServiceTypeDetailType] = JStruct[ServiceTypeDetailType] - smartPostInfoDetail: Optional[SmartPostInfoDetailType] = JStruct[SmartPostInfoDetailType] - expressFreightDetail: Optional[ExpressFreightDetailType] = JStruct[ExpressFreightDetailType] - groundShipment: Optional[bool] = None - - -@s(auto_attribs=True) -class RatingRequestType: - accountNumber: Optional[RatingRequestAccountNumberType] = JStruct[RatingRequestAccountNumberType] - rateRequestControlParameters: Optional[RateRequestControlParametersType] = JStruct[RateRequestControlParametersType] - requestedShipment: Optional[RequestedShipmentType] = JStruct[RequestedShipmentType] - carrierCodes: List[str] = [] diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/rating_response.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/rating_response.py deleted file mode 100644 index 23fb3e5d76..0000000000 --- a/modules/connectors/ninja_van/karrio/schemas/ninja_van/rating_response.py +++ /dev/null @@ -1,189 +0,0 @@ -from attr import s -from typing import Optional, List -from jstruct import JStruct, JList - - -@s(auto_attribs=True) -class AlertType: - code: Optional[str] = None - message: Optional[str] = None - alertType: Optional[str] = None - - -@s(auto_attribs=True) -class DateDetailType: - dayOfWeek: Optional[str] = None - dayCxsFormat: Optional[str] = None - - -@s(auto_attribs=True) -class CommitType: - dateDetail: Optional[DateDetailType] = JStruct[DateDetailType] - - -@s(auto_attribs=True) -class CustomerMessageType: - code: Optional[str] = None - message: Optional[str] = None - - -@s(auto_attribs=True) -class OperationalDetailType: - originLocationIds: Optional[str] = None - commitDays: Optional[str] = None - serviceCode: Optional[str] = None - airportId: Optional[str] = None - scac: Optional[str] = None - originServiceAreas: Optional[str] = None - deliveryDay: Optional[str] = None - originLocationNumbers: Optional[int] = None - destinationPostalCode: Optional[int] = None - commitDate: Optional[str] = None - astraDescription: Optional[str] = None - deliveryDate: Optional[str] = None - deliveryEligibilities: Optional[str] = None - ineligibleForMoneyBackGuarantee: Optional[bool] = None - maximumTransitTime: Optional[str] = None - astraPlannedServiceLevel: Optional[str] = None - destinationLocationIds: Optional[str] = None - destinationLocationStateOrProvinceCodes: Optional[str] = None - transitTime: Optional[str] = None - packagingCode: Optional[str] = None - destinationLocationNumbers: Optional[int] = None - publishedDeliveryTime: Optional[str] = None - countryCodes: Optional[str] = None - stateOrProvinceCodes: Optional[str] = None - ursaPrefixCode: Optional[int] = None - ursaSuffixCode: Optional[str] = None - destinationServiceAreas: Optional[str] = None - originPostalCodes: Optional[int] = None - customTransitTime: Optional[str] = None - - -@s(auto_attribs=True) -class BillingWeightType: - units: Optional[str] = None - value: Optional[float] = None - - -@s(auto_attribs=True) -class SurchargeType: - type: Optional[str] = None - description: Optional[str] = None - amount: Optional[float] = None - level: Optional[str] = None - - -@s(auto_attribs=True) -class PackageRateDetailType: - rateType: Optional[str] = None - ratedWeightMethod: Optional[str] = None - baseCharge: Optional[float] = None - netFreight: Optional[float] = None - totalSurcharges: Optional[float] = None - netFedExCharge: Optional[float] = None - totalTaxes: Optional[float] = None - netCharge: Optional[float] = None - totalRebates: Optional[float] = None - billingWeight: Optional[BillingWeightType] = JStruct[BillingWeightType] - totalFreightDiscounts: Optional[float] = None - surcharges: List[SurchargeType] = JList[SurchargeType] - currency: Optional[str] = None - - -@s(auto_attribs=True) -class RatedPackageType: - groupNumber: Optional[float] = None - effectiveNetDiscount: Optional[float] = None - packageRateDetail: Optional[PackageRateDetailType] = JStruct[PackageRateDetailType] - - -@s(auto_attribs=True) -class NameType: - type: Optional[str] = None - encoding: Optional[str] = None - value: Optional[str] = None - - -@s(auto_attribs=True) -class ServiceDescriptionType: - serviceId: Optional[str] = None - serviceType: Optional[str] = None - code: Optional[str] = None - names: List[NameType] = JList[NameType] - operatingOrgCodes: List[str] = [] - description: Optional[str] = None - astraDescription: Optional[str] = None - serviceCategory: Optional[str] = None - - -@s(auto_attribs=True) -class CurrencyExchangeRateType: - fromCurrency: Optional[str] = None - intoCurrency: Optional[str] = None - rate: Optional[float] = None - - -@s(auto_attribs=True) -class ShipmentRateDetailType: - rateZone: Optional[str] = None - dimDivisor: Optional[float] = None - fuelSurchargePercent: Optional[float] = None - totalSurcharges: Optional[float] = None - totalFreightDiscount: Optional[float] = None - surCharges: List[SurchargeType] = JList[SurchargeType] - pricingCode: Optional[str] = None - currencyExchangeRate: Optional[CurrencyExchangeRateType] = JStruct[CurrencyExchangeRateType] - totalBillingWeight: Optional[BillingWeightType] = JStruct[BillingWeightType] - currency: Optional[str] = None - - -@s(auto_attribs=True) -class RatedShipmentDetailType: - rateType: Optional[str] = None - ratedWeightMethod: Optional[str] = None - totalDiscounts: Optional[float] = None - totalBaseCharge: Optional[float] = None - totalNetCharge: Optional[float] = None - totalVatCharge: Optional[float] = None - totalNetFedExCharge: Optional[float] = None - totalDutiesAndTaxes: Optional[float] = None - totalNetChargeWithDutiesAndTaxes: Optional[float] = None - totalDutiesTaxesAndFees: Optional[float] = None - totalAncillaryFeesAndTaxes: Optional[float] = None - shipmentRateDetail: Optional[ShipmentRateDetailType] = JStruct[ShipmentRateDetailType] - currency: Optional[str] = None - ratedPackages: List[RatedPackageType] = JList[RatedPackageType] - anonymouslyAllowable: Optional[bool] = None - operationalDetail: Optional[OperationalDetailType] = JStruct[OperationalDetailType] - signatureOptionType: Optional[str] = None - serviceDescription: Optional[ServiceDescriptionType] = JStruct[ServiceDescriptionType] - - -@s(auto_attribs=True) -class RateReplyDetailType: - serviceType: Optional[str] = None - serviceName: Optional[str] = None - packagingType: Optional[str] = None - customerMessages: List[CustomerMessageType] = JList[CustomerMessageType] - ratedShipmentDetails: List[RatedShipmentDetailType] = JList[RatedShipmentDetailType] - anonymouslyAllowable: Optional[bool] = None - operationalDetail: Optional[OperationalDetailType] = JStruct[OperationalDetailType] - signatureOptionType: Optional[str] = None - serviceDescription: Optional[ServiceDescriptionType] = JStruct[ServiceDescriptionType] - commit: Optional[CommitType] = JStruct[CommitType] - - -@s(auto_attribs=True) -class OutputType: - rateReplyDetails: List[RateReplyDetailType] = JList[RateReplyDetailType] - quoteDate: Optional[str] = None - encoded: Optional[bool] = None - alerts: List[AlertType] = JList[AlertType] - - -@s(auto_attribs=True) -class RatingResponseType: - transactionId: Optional[str] = None - customerTransactionId: Optional[str] = None - output: Optional[OutputType] = JStruct[OutputType] diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/shipping_request.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/shipping_request.py deleted file mode 100644 index 551477eca0..0000000000 --- a/modules/connectors/ninja_van/karrio/schemas/ninja_van/shipping_request.py +++ /dev/null @@ -1,731 +0,0 @@ -from attr import s -from typing import Optional, List -from jstruct import JStruct, JList - - -@s(auto_attribs=True) -class AccountNumberType: - value: Optional[str] = None - - -@s(auto_attribs=True) -class AddressType: - streetLines: List[str] = [] - city: Optional[str] = None - stateOrProvinceCode: Optional[str] = None - postalCode: Optional[int] = None - countryCode: Optional[str] = None - residential: Optional[bool] = None - - -@s(auto_attribs=True) -class BrokerContactType: - personName: Optional[str] = None - emailAddress: Optional[str] = None - phoneNumber: Optional[int] = None - phoneExtension: Optional[int] = None - companyName: Optional[str] = None - faxNumber: Optional[int] = None - - -@s(auto_attribs=True) -class TinType: - number: Optional[str] = None - tinType: Optional[str] = None - usage: Optional[str] = None - effectiveDate: Optional[str] = None - expirationDate: Optional[str] = None - - -@s(auto_attribs=True) -class BrokerBrokerType: - address: Optional[AddressType] = JStruct[AddressType] - contact: Optional[BrokerContactType] = JStruct[BrokerContactType] - accountNumber: Optional[AccountNumberType] = JStruct[AccountNumberType] - tins: List[TinType] = JList[TinType] - deliveryInstructions: Optional[str] = None - - -@s(auto_attribs=True) -class BrokerElementType: - broker: Optional[BrokerBrokerType] = JStruct[BrokerBrokerType] - type: Optional[str] = None - - -@s(auto_attribs=True) -class CustomerReferenceType: - customerReferenceType: Optional[str] = None - value: Optional[int] = None - - -@s(auto_attribs=True) -class CommercialInvoiceEmailNotificationDetailType: - emailAddress: Optional[str] = None - type: Optional[str] = None - recipientType: Optional[str] = None - - -@s(auto_attribs=True) -class TotalDeclaredValueType: - amount: Optional[float] = None - currency: Optional[str] = None - - -@s(auto_attribs=True) -class CommercialInvoiceType: - originatorName: Optional[str] = None - comments: List[str] = [] - customerReferences: List[CustomerReferenceType] = JList[CustomerReferenceType] - taxesOrMiscellaneousCharge: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] - taxesOrMiscellaneousChargeType: Optional[str] = None - freightCharge: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] - packingCosts: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] - handlingCosts: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] - declarationStatement: Optional[str] = None - termsOfSale: Optional[str] = None - specialInstructions: Optional[str] = None - shipmentPurpose: Optional[str] = None - emailNotificationDetail: Optional[CommercialInvoiceEmailNotificationDetailType] = JStruct[CommercialInvoiceEmailNotificationDetailType] - - -@s(auto_attribs=True) -class AdditionalMeasureType: - quantity: Optional[float] = None - units: Optional[str] = None - - -@s(auto_attribs=True) -class CustomsValueType: - amount: Optional[str] = None - currency: Optional[str] = None - - -@s(auto_attribs=True) -class UsmcaDetailType: - originCriterion: Optional[str] = None - - -@s(auto_attribs=True) -class WeightType: - units: Optional[str] = None - value: Optional[float] = None - - -@s(auto_attribs=True) -class CommodityType: - unitPrice: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] - additionalMeasures: List[AdditionalMeasureType] = JList[AdditionalMeasureType] - numberOfPieces: Optional[int] = None - quantity: Optional[int] = None - quantityUnits: Optional[str] = None - customsValue: Optional[CustomsValueType] = JStruct[CustomsValueType] - countryOfManufacture: Optional[str] = None - cIMarksAndNumbers: Optional[int] = None - harmonizedCode: Optional[str] = None - description: Optional[str] = None - name: Optional[str] = None - weight: Optional[WeightType] = JStruct[WeightType] - exportLicenseNumber: Optional[int] = None - exportLicenseExpirationDate: Optional[str] = None - partNumber: Optional[int] = None - purpose: Optional[str] = None - usmcaDetail: Optional[UsmcaDetailType] = JStruct[UsmcaDetailType] - - -@s(auto_attribs=True) -class CustomsOptionType: - description: Optional[str] = None - type: Optional[str] = None - - -@s(auto_attribs=True) -class UsmcaLowValueStatementDetailType: - countryOfOriginLowValueDocumentRequested: Optional[bool] = None - customsRole: Optional[str] = None - - -@s(auto_attribs=True) -class DeclarationStatementDetailType: - usmcaLowValueStatementDetail: Optional[UsmcaLowValueStatementDetailType] = JStruct[UsmcaLowValueStatementDetailType] - - -@s(auto_attribs=True) -class BillingDetailsType: - billingCode: Optional[str] = None - billingType: Optional[str] = None - aliasId: Optional[str] = None - accountNickname: Optional[str] = None - accountNumber: Optional[str] = None - accountNumberCountryCode: Optional[str] = None - - -@s(auto_attribs=True) -class ResponsiblePartyContactType: - personName: Optional[str] = None - emailAddress: Optional[str] = None - phoneNumber: Optional[str] = None - phoneExtension: Optional[str] = None - companyName: Optional[str] = None - faxNumber: Optional[str] = None - - -@s(auto_attribs=True) -class ResponsiblePartyType: - address: Optional[AddressType] = JStruct[AddressType] - contact: Optional[ResponsiblePartyContactType] = JStruct[ResponsiblePartyContactType] - accountNumber: Optional[AccountNumberType] = JStruct[AccountNumberType] - tins: List[TinType] = JList[TinType] - - -@s(auto_attribs=True) -class PayorType: - responsibleParty: Optional[ResponsiblePartyType] = JStruct[ResponsiblePartyType] - - -@s(auto_attribs=True) -class DutiesPaymentType: - payor: Optional[PayorType] = JStruct[PayorType] - billingDetails: Optional[BillingDetailsType] = JStruct[BillingDetailsType] - paymentType: Optional[str] = None - - -@s(auto_attribs=True) -class DestinationControlDetailType: - endUser: Optional[str] = None - statementTypes: Optional[str] = None - destinationCountries: List[str] = [] - - -@s(auto_attribs=True) -class ExportDetailType: - destinationControlDetail: Optional[DestinationControlDetailType] = JStruct[DestinationControlDetailType] - b13AFilingOption: Optional[str] = None - exportComplianceStatement: Optional[str] = None - permitNumber: Optional[int] = None - - -@s(auto_attribs=True) -class ShipperType: - address: Optional[AddressType] = JStruct[AddressType] - contact: Optional[ResponsiblePartyContactType] = JStruct[ResponsiblePartyContactType] - accountNumber: Optional[AccountNumberType] = JStruct[AccountNumberType] - tins: List[TinType] = JList[TinType] - deliveryInstructions: Optional[str] = None - - -@s(auto_attribs=True) -class RecipientCustomsIDType: - type: Optional[str] = None - value: Optional[int] = None - - -@s(auto_attribs=True) -class CustomsClearanceDetailType: - regulatoryControls: Optional[str] = None - brokers: List[BrokerElementType] = JList[BrokerElementType] - commercialInvoice: Optional[CommercialInvoiceType] = JStruct[CommercialInvoiceType] - freightOnValue: Optional[str] = None - dutiesPayment: Optional[DutiesPaymentType] = JStruct[DutiesPaymentType] - commodities: List[CommodityType] = JList[CommodityType] - isDocumentOnly: Optional[bool] = None - recipientCustomsId: Optional[RecipientCustomsIDType] = JStruct[RecipientCustomsIDType] - customsOption: Optional[CustomsOptionType] = JStruct[CustomsOptionType] - importerOfRecord: Optional[ShipperType] = JStruct[ShipperType] - generatedDocumentLocale: Optional[str] = None - exportDetail: Optional[ExportDetailType] = JStruct[ExportDetailType] - totalCustomsValue: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] - partiesToTransactionAreRelated: Optional[bool] = None - declarationStatementDetail: Optional[DeclarationStatementDetailType] = JStruct[DeclarationStatementDetailType] - insuranceCharge: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] - - -@s(auto_attribs=True) -class EmailNotificationRecipientType: - name: Optional[str] = None - emailNotificationRecipientType: Optional[str] = None - emailAddress: Optional[str] = None - notificationFormatType: Optional[str] = None - notificationType: Optional[str] = None - locale: Optional[str] = None - notificationEventType: List[str] = [] - - -@s(auto_attribs=True) -class RequestedShipmentEmailNotificationDetailType: - aggregationType: Optional[str] = None - emailNotificationRecipients: List[EmailNotificationRecipientType] = JList[EmailNotificationRecipientType] - personalMessage: Optional[str] = None - - -@s(auto_attribs=True) -class ExpressFreightDetailType: - bookingConfirmationNumber: Optional[str] = None - shippersLoadAndCount: Optional[int] = None - packingListEnclosed: Optional[bool] = None - - -@s(auto_attribs=True) -class AdditionalLabelType: - type: Optional[str] = None - count: Optional[int] = None - - -@s(auto_attribs=True) -class SpecificationType: - zoneNumber: Optional[int] = None - header: Optional[str] = None - dataField: Optional[str] = None - literalValue: Optional[str] = None - justification: Optional[str] = None - - -@s(auto_attribs=True) -class BarcodedType: - symbology: Optional[str] = None - specification: Optional[SpecificationType] = JStruct[SpecificationType] - - -@s(auto_attribs=True) -class Zone001Type: - docTabZoneSpecifications: List[SpecificationType] = JList[SpecificationType] - - -@s(auto_attribs=True) -class DocTabContentType: - docTabContentType: Optional[str] = None - zone001: Optional[Zone001Type] = JStruct[Zone001Type] - barcoded: Optional[BarcodedType] = JStruct[BarcodedType] - - -@s(auto_attribs=True) -class RegulatoryLabelType: - generationOptions: Optional[str] = None - type: Optional[str] = None - - -@s(auto_attribs=True) -class CustomerSpecifiedDetailType: - maskedData: List[str] = [] - regulatoryLabels: List[RegulatoryLabelType] = JList[RegulatoryLabelType] - additionalLabels: List[AdditionalLabelType] = JList[AdditionalLabelType] - docTabContent: Optional[DocTabContentType] = JStruct[DocTabContentType] - - -@s(auto_attribs=True) -class OriginType: - address: Optional[AddressType] = JStruct[AddressType] - contact: Optional[ResponsiblePartyContactType] = JStruct[ResponsiblePartyContactType] - - -@s(auto_attribs=True) -class LabelSpecificationType: - labelFormatType: Optional[str] = None - labelOrder: Optional[str] = None - customerSpecifiedDetail: Optional[CustomerSpecifiedDetailType] = JStruct[CustomerSpecifiedDetailType] - printedLabelOrigin: Optional[OriginType] = JStruct[OriginType] - labelStockType: Optional[str] = None - labelRotation: Optional[str] = None - imageType: Optional[str] = None - labelPrintingOrientation: Optional[str] = None - returnedDispositionDetail: Optional[bool] = None - - -@s(auto_attribs=True) -class MasterTrackingIDType: - formId: Optional[str] = None - trackingIdType: Optional[str] = None - uspsApplicationId: Optional[int] = None - trackingNumber: Optional[str] = None - - -@s(auto_attribs=True) -class ContentRecordType: - itemNumber: Optional[int] = None - receivedQuantity: Optional[int] = None - description: Optional[str] = None - partNumber: Optional[int] = None - - -@s(auto_attribs=True) -class DimensionsType: - length: Optional[int] = None - width: Optional[int] = None - height: Optional[int] = None - units: Optional[str] = None - - -@s(auto_attribs=True) -class AlcoholDetailType: - alcoholRecipientType: Optional[str] = None - shipperAgreementType: Optional[str] = None - - -@s(auto_attribs=True) -class BatteryDetailType: - batteryPackingType: Optional[str] = None - batteryRegulatoryType: Optional[str] = None - batteryMaterialType: Optional[str] = None - - -@s(auto_attribs=True) -class DangerousGoodsDetailType: - cargoAircraftOnly: Optional[bool] = None - accessibility: Optional[str] = None - options: List[str] = [] - - -@s(auto_attribs=True) -class PackageCODDetailType: - codCollectionAmount: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] - - -@s(auto_attribs=True) -class PriorityAlertDetailType: - enhancementTypes: List[str] = [] - content: List[str] = [] - - -@s(auto_attribs=True) -class SignatureOptionDetailType: - signatureReleaseNumber: Optional[int] = None - - -@s(auto_attribs=True) -class PackageSpecialServicesType: - specialServiceTypes: List[str] = [] - signatureOptionType: Optional[str] = None - priorityAlertDetail: Optional[PriorityAlertDetailType] = JStruct[PriorityAlertDetailType] - signatureOptionDetail: Optional[SignatureOptionDetailType] = JStruct[SignatureOptionDetailType] - alcoholDetail: Optional[AlcoholDetailType] = JStruct[AlcoholDetailType] - dangerousGoodsDetail: Optional[DangerousGoodsDetailType] = JStruct[DangerousGoodsDetailType] - packageCODDetail: Optional[PackageCODDetailType] = JStruct[PackageCODDetailType] - pieceCountVerificationBoxCount: Optional[int] = None - batteryDetails: List[BatteryDetailType] = JList[BatteryDetailType] - dryIceWeight: Optional[WeightType] = JStruct[WeightType] - - -@s(auto_attribs=True) -class VariableHandlingChargeDetailType: - rateType: Optional[str] = None - percentValue: Optional[float] = None - rateLevelType: Optional[str] = None - fixedValue: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] - rateElementBasis: Optional[str] = None - - -@s(auto_attribs=True) -class RequestedPackageLineItemType: - sequenceNumber: Optional[int] = None - subPackagingType: Optional[str] = None - customerReferences: List[CustomerReferenceType] = JList[CustomerReferenceType] - declaredValue: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] - weight: Optional[WeightType] = JStruct[WeightType] - dimensions: Optional[DimensionsType] = JStruct[DimensionsType] - groupPackageCount: Optional[int] = None - itemDescriptionForClearance: Optional[str] = None - contentRecord: List[ContentRecordType] = JList[ContentRecordType] - itemDescription: Optional[str] = None - variableHandlingChargeDetail: Optional[VariableHandlingChargeDetailType] = JStruct[VariableHandlingChargeDetailType] - packageSpecialServices: Optional[PackageSpecialServicesType] = JStruct[PackageSpecialServicesType] - trackingNumber: Optional[int] = None - - -@s(auto_attribs=True) -class DeliveryOnInvoiceAcceptanceDetailType: - recipient: Optional[ShipperType] = JStruct[ShipperType] - - -@s(auto_attribs=True) -class AttachedDocumentType: - documentType: Optional[str] = None - documentReference: Optional[str] = None - description: Optional[str] = None - documentId: Optional[str] = None - - -@s(auto_attribs=True) -class EtdDetailType: - attributes: List[str] = [] - attachedDocuments: List[AttachedDocumentType] = JList[AttachedDocumentType] - requestedDocumentTypes: List[str] = [] - - -@s(auto_attribs=True) -class HoldAtLocationDetailType: - locationId: Optional[str] = None - locationContactAndAddress: Optional[OriginType] = JStruct[OriginType] - locationType: Optional[str] = None - - -@s(auto_attribs=True) -class PhoneNumberType: - areaCode: Optional[int] = None - localNumber: Optional[int] = None - extension: Optional[int] = None - personalIdentificationNumber: Optional[int] = None - - -@s(auto_attribs=True) -class HomeDeliveryPremiumDetailType: - phoneNumber: Optional[PhoneNumberType] = JStruct[PhoneNumberType] - deliveryDate: Optional[str] = None - homedeliveryPremiumType: Optional[str] = None - - -@s(auto_attribs=True) -class InternationalControlledExportDetailType: - licenseOrPermitExpirationDate: Optional[str] = None - licenseOrPermitNumber: Optional[int] = None - entryNumber: Optional[int] = None - foreignTradeZoneCode: Optional[str] = None - type: Optional[str] = None - - -@s(auto_attribs=True) -class InternationalTrafficInArmsRegulationsDetailType: - licenseOrExemptionNumber: Optional[int] = None - - -@s(auto_attribs=True) -class ProcessingOptionsType: - options: List[str] = [] - - -@s(auto_attribs=True) -class RecipientType: - emailAddress: Optional[str] = None - optionsRequested: Optional[ProcessingOptionsType] = JStruct[ProcessingOptionsType] - role: Optional[str] = None - locale: Optional[str] = None - - -@s(auto_attribs=True) -class EmailLabelDetailType: - recipients: List[RecipientType] = JList[RecipientType] - message: Optional[str] = None - - -@s(auto_attribs=True) -class RecommendedDocumentSpecificationType: - types: Optional[str] = None - - -@s(auto_attribs=True) -class PendingShipmentDetailType: - pendingShipmentType: Optional[str] = None - processingOptions: Optional[ProcessingOptionsType] = JStruct[ProcessingOptionsType] - recommendedDocumentSpecification: Optional[RecommendedDocumentSpecificationType] = JStruct[RecommendedDocumentSpecificationType] - emailLabelDetail: Optional[EmailLabelDetailType] = JStruct[EmailLabelDetailType] - attachedDocuments: List[AttachedDocumentType] = JList[AttachedDocumentType] - expirationTimeStamp: Optional[str] = None - - -@s(auto_attribs=True) -class ReturnAssociationDetailType: - shipDatestamp: Optional[str] = None - trackingNumber: Optional[int] = None - - -@s(auto_attribs=True) -class ReturnEmailDetailType: - merchantPhoneNumber: Optional[str] = None - allowedSpecialService: List[str] = [] - - -@s(auto_attribs=True) -class RmaType: - reason: Optional[str] = None - - -@s(auto_attribs=True) -class ReturnShipmentDetailType: - returnEmailDetail: Optional[ReturnEmailDetailType] = JStruct[ReturnEmailDetailType] - rma: Optional[RmaType] = JStruct[RmaType] - returnAssociationDetail: Optional[ReturnAssociationDetailType] = JStruct[ReturnAssociationDetailType] - returnType: Optional[str] = None - - -@s(auto_attribs=True) -class AddTransportationChargesDetailType: - rateType: Optional[str] = None - rateLevelType: Optional[str] = None - chargeLevelType: Optional[str] = None - chargeType: Optional[str] = None - - -@s(auto_attribs=True) -class ShipmentCODDetailType: - addTransportationChargesDetail: Optional[AddTransportationChargesDetailType] = JStruct[AddTransportationChargesDetailType] - codRecipient: Optional[ShipperType] = JStruct[ShipperType] - remitToName: Optional[str] = None - codCollectionType: Optional[str] = None - financialInstitutionContactAndAddress: Optional[OriginType] = JStruct[OriginType] - codCollectionAmount: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] - returnReferenceIndicatorType: Optional[str] = None - shipmentCodAmount: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] - - -@s(auto_attribs=True) -class ShipmentDryIceDetailType: - totalWeight: Optional[WeightType] = JStruct[WeightType] - packageCount: Optional[int] = None - - -@s(auto_attribs=True) -class ShipmentSpecialServicesType: - specialServiceTypes: List[str] = [] - etdDetail: Optional[EtdDetailType] = JStruct[EtdDetailType] - returnShipmentDetail: Optional[ReturnShipmentDetailType] = JStruct[ReturnShipmentDetailType] - deliveryOnInvoiceAcceptanceDetail: Optional[DeliveryOnInvoiceAcceptanceDetailType] = JStruct[DeliveryOnInvoiceAcceptanceDetailType] - internationalTrafficInArmsRegulationsDetail: Optional[InternationalTrafficInArmsRegulationsDetailType] = JStruct[InternationalTrafficInArmsRegulationsDetailType] - pendingShipmentDetail: Optional[PendingShipmentDetailType] = JStruct[PendingShipmentDetailType] - holdAtLocationDetail: Optional[HoldAtLocationDetailType] = JStruct[HoldAtLocationDetailType] - shipmentCODDetail: Optional[ShipmentCODDetailType] = JStruct[ShipmentCODDetailType] - shipmentDryIceDetail: Optional[ShipmentDryIceDetailType] = JStruct[ShipmentDryIceDetailType] - internationalControlledExportDetail: Optional[InternationalControlledExportDetailType] = JStruct[InternationalControlledExportDetailType] - homeDeliveryPremiumDetail: Optional[HomeDeliveryPremiumDetailType] = JStruct[HomeDeliveryPremiumDetailType] - - -@s(auto_attribs=True) -class ShippingChargesPaymentType: - paymentType: Optional[str] = None - payor: Optional[PayorType] = JStruct[PayorType] - - -@s(auto_attribs=True) -class CustomerImageUsageType: - id: Optional[str] = None - type: Optional[str] = None - providedImageType: Optional[str] = None - - -@s(auto_attribs=True) -class EMailRecipientType: - emailAddress: Optional[str] = None - recipientType: Optional[str] = None - - -@s(auto_attribs=True) -class EMailDetailType: - eMailRecipients: List[EMailRecipientType] = JList[EMailRecipientType] - locale: Optional[str] = None - grouping: Optional[str] = None - - -@s(auto_attribs=True) -class DispositionType: - eMailDetail: Optional[EMailDetailType] = JStruct[EMailDetailType] - dispositionType: Optional[str] = None - - -@s(auto_attribs=True) -class DocumentFormatType: - provideInstructions: Optional[bool] = None - optionsRequested: Optional[ProcessingOptionsType] = JStruct[ProcessingOptionsType] - stockType: Optional[str] = None - dispositions: List[DispositionType] = JList[DispositionType] - locale: Optional[str] = None - docType: Optional[str] = None - - -@s(auto_attribs=True) -class CertificateOfOriginType: - customerImageUsages: List[CustomerImageUsageType] = JList[CustomerImageUsageType] - documentFormat: Optional[DocumentFormatType] = JStruct[DocumentFormatType] - - -@s(auto_attribs=True) -class GeneralAgencyAgreementDetailType: - documentFormat: Optional[DocumentFormatType] = JStruct[DocumentFormatType] - - -@s(auto_attribs=True) -class Op900DetailType: - customerImageUsages: List[CustomerImageUsageType] = JList[CustomerImageUsageType] - signatureName: Optional[str] = None - documentFormat: Optional[DocumentFormatType] = JStruct[DocumentFormatType] - - -@s(auto_attribs=True) -class ReturnInstructionsDetailType: - customText: Optional[str] = None - documentFormat: Optional[DocumentFormatType] = JStruct[DocumentFormatType] - - -@s(auto_attribs=True) -class BlanketPeriodType: - begins: Optional[str] = None - ends: Optional[str] = None - - -@s(auto_attribs=True) -class UsmcaCCertificationOfOriginDetailType: - customerImageUsages: List[CustomerImageUsageType] = JList[CustomerImageUsageType] - documentFormat: Optional[DocumentFormatType] = JStruct[DocumentFormatType] - certifierSpecification: Optional[str] = None - importerSpecification: Optional[str] = None - producerSpecification: Optional[str] = None - producer: Optional[ShipperType] = JStruct[ShipperType] - blanketPeriod: Optional[BlanketPeriodType] = JStruct[BlanketPeriodType] - certifierJobTitle: Optional[str] = None - - -@s(auto_attribs=True) -class ShippingDocumentSpecificationType: - generalAgencyAgreementDetail: Optional[GeneralAgencyAgreementDetailType] = JStruct[GeneralAgencyAgreementDetailType] - returnInstructionsDetail: Optional[ReturnInstructionsDetailType] = JStruct[ReturnInstructionsDetailType] - op900Detail: Optional[Op900DetailType] = JStruct[Op900DetailType] - usmcaCertificationOfOriginDetail: Optional[UsmcaCCertificationOfOriginDetailType] = JStruct[UsmcaCCertificationOfOriginDetailType] - usmcaCommercialInvoiceCertificationOfOriginDetail: Optional[UsmcaCCertificationOfOriginDetailType] = JStruct[UsmcaCCertificationOfOriginDetailType] - shippingDocumentTypes: List[str] = [] - certificateOfOrigin: Optional[CertificateOfOriginType] = JStruct[CertificateOfOriginType] - commercialInvoiceDetail: Optional[CertificateOfOriginType] = JStruct[CertificateOfOriginType] - - -@s(auto_attribs=True) -class SmartPostInfoDetailType: - ancillaryEndorsement: Optional[str] = None - hubId: Optional[int] = None - indicia: Optional[str] = None - specialServices: Optional[str] = None - - -@s(auto_attribs=True) -class RequestedShipmentType: - shipDatestamp: Optional[str] = None - totalDeclaredValue: Optional[TotalDeclaredValueType] = JStruct[TotalDeclaredValueType] - shipper: Optional[ShipperType] = JStruct[ShipperType] - soldTo: Optional[ShipperType] = JStruct[ShipperType] - recipients: List[ShipperType] = JList[ShipperType] - recipientLocationNumber: Optional[int] = None - pickupType: Optional[str] = None - serviceType: Optional[str] = None - packagingType: Optional[str] = None - totalWeight: Optional[float] = None - origin: Optional[OriginType] = JStruct[OriginType] - shippingChargesPayment: Optional[ShippingChargesPaymentType] = JStruct[ShippingChargesPaymentType] - shipmentSpecialServices: Optional[ShipmentSpecialServicesType] = JStruct[ShipmentSpecialServicesType] - emailNotificationDetail: Optional[RequestedShipmentEmailNotificationDetailType] = JStruct[RequestedShipmentEmailNotificationDetailType] - expressFreightDetail: Optional[ExpressFreightDetailType] = JStruct[ExpressFreightDetailType] - variableHandlingChargeDetail: Optional[VariableHandlingChargeDetailType] = JStruct[VariableHandlingChargeDetailType] - customsClearanceDetail: Optional[CustomsClearanceDetailType] = JStruct[CustomsClearanceDetailType] - smartPostInfoDetail: Optional[SmartPostInfoDetailType] = JStruct[SmartPostInfoDetailType] - blockInsightVisibility: Optional[bool] = None - labelSpecification: Optional[LabelSpecificationType] = JStruct[LabelSpecificationType] - shippingDocumentSpecification: Optional[ShippingDocumentSpecificationType] = JStruct[ShippingDocumentSpecificationType] - rateRequestType: List[str] = [] - preferredCurrency: Optional[str] = None - totalPackageCount: Optional[int] = None - masterTrackingId: Optional[MasterTrackingIDType] = JStruct[MasterTrackingIDType] - requestedPackageLineItems: List[RequestedPackageLineItemType] = JList[RequestedPackageLineItemType] - - -@s(auto_attribs=True) -class ShippingRequestType: - mergeLabelDocOption: Optional[str] = None - requestedShipment: Optional[RequestedShipmentType] = JStruct[RequestedShipmentType] - labelResponseOptions: Optional[str] = None - accountNumber: Optional[AccountNumberType] = JStruct[AccountNumberType] - shipAction: Optional[str] = None - processingOptionType: Optional[str] = None - oneLabelAtATime: Optional[bool] = None diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/shipping_response.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/shipping_response.py deleted file mode 100644 index 39e93b4f81..0000000000 --- a/modules/connectors/ninja_van/karrio/schemas/ninja_van/shipping_response.py +++ /dev/null @@ -1,556 +0,0 @@ -from attr import s -from typing import Optional, List, Any -from jstruct import JList, JStruct - - -@s(auto_attribs=True) -class AlertType: - code: Optional[str] = None - alertType: Optional[str] = None - message: Optional[str] = None - - -@s(auto_attribs=True) -class AccessorDetailType: - password: Optional[str] = None - role: Optional[str] = None - emailLabelUrl: Optional[str] = None - userId: Optional[str] = None - - -@s(auto_attribs=True) -class AccessDetailType: - accessorDetails: List[AccessorDetailType] = JList[AccessorDetailType] - - -@s(auto_attribs=True) -class UploadDocumentReferenceDetailType: - documentType: Optional[str] = None - documentReference: Optional[str] = None - description: Optional[str] = None - documentId: Optional[str] = None - - -@s(auto_attribs=True) -class CompletedEtdDetailType: - folderId: Optional[str] = None - type: Optional[str] = None - uploadDocumentReferenceDetails: List[UploadDocumentReferenceDetailType] = JList[UploadDocumentReferenceDetailType] - - -@s(auto_attribs=True) -class AddressType: - streetLines: List[str] = [] - city: Optional[str] = None - stateOrProvinceCode: Optional[str] = None - postalCode: Optional[int] = None - countryCode: Optional[str] = None - residential: Optional[bool] = None - - -@s(auto_attribs=True) -class ContactType: - personName: Optional[str] = None - tollFreePhoneNumber: Optional[int] = None - emailAddress: Optional[str] = None - phoneNumber: Optional[int] = None - phoneExtension: Optional[int] = None - faxNumber: Optional[int] = None - pagerNumber: Optional[int] = None - companyName: Optional[str] = None - title: Optional[str] = None - - -@s(auto_attribs=True) -class HoldingLocationType: - address: Optional[AddressType] = JStruct[AddressType] - contact: Optional[ContactType] = JStruct[ContactType] - - -@s(auto_attribs=True) -class CompletedHoldAtLocationDetailType: - holdingLocationType: Optional[str] = None - holdingLocation: Optional[HoldingLocationType] = JStruct[HoldingLocationType] - - -@s(auto_attribs=True) -class WeightType: - units: Optional[str] = None - value: Optional[int] = None - - -@s(auto_attribs=True) -class HazardousCommodityDescriptionType: - sequenceNumber: Optional[int] = None - packingInstructions: Optional[str] = None - subsidiaryClasses: List[str] = [] - labelText: Optional[str] = None - tunnelRestrictionCode: Optional[str] = None - specialProvisions: Optional[str] = None - properShippingNameAndDescription: Optional[str] = None - technicalName: Optional[str] = None - symbols: Optional[str] = None - authorization: Optional[str] = None - attributes: List[str] = [] - id: Optional[int] = None - packingGroup: Optional[str] = None - properShippingName: Optional[str] = None - hazardClass: Optional[str] = None - - -@s(auto_attribs=True) -class NetExplosiveDetailType: - amount: Optional[int] = None - units: Optional[str] = None - type: Optional[str] = None - - -@s(auto_attribs=True) -class PackingDetailsType: - packingInstructions: Optional[str] = None - cargoAircraftOnly: Optional[bool] = None - - -@s(auto_attribs=True) -class OptionsDescriptionType: - sequenceNumber: Optional[int] = None - processingOptions: List[str] = [] - subsidiaryClasses: List[str] = [] - labelText: Optional[str] = None - technicalName: Optional[str] = None - packingDetails: Optional[PackingDetailsType] = JStruct[PackingDetailsType] - authorization: Optional[str] = None - reportableQuantity: Optional[bool] = None - percentage: Optional[float] = None - id: Optional[int] = None - packingGroup: Optional[str] = None - properShippingName: Optional[str] = None - hazardClass: Optional[str] = None - - -@s(auto_attribs=True) -class QuantityType: - quantityType: Optional[str] = None - amount: Optional[float] = None - units: Optional[str] = None - - -@s(auto_attribs=True) -class InnerReceptacleType: - quantity: Optional[QuantityType] = JStruct[QuantityType] - - -@s(auto_attribs=True) -class OptionsOptionsType: - labelTextOption: Optional[str] = None - customerSuppliedLabelText: Optional[str] = None - - -@s(auto_attribs=True) -class HazardousCommodityOptionsType: - quantity: Optional[QuantityType] = JStruct[QuantityType] - innerReceptacles: List[InnerReceptacleType] = JList[InnerReceptacleType] - options: Optional[OptionsOptionsType] = JStruct[OptionsOptionsType] - description: Optional[OptionsDescriptionType] = JStruct[OptionsDescriptionType] - - -@s(auto_attribs=True) -class HazardousCommodityType: - quantity: Optional[QuantityType] = JStruct[QuantityType] - options: Optional[HazardousCommodityOptionsType] = JStruct[HazardousCommodityOptionsType] - description: Optional[HazardousCommodityDescriptionType] = JStruct[HazardousCommodityDescriptionType] - netExplosiveDetail: Optional[NetExplosiveDetailType] = JStruct[NetExplosiveDetailType] - massPoints: Optional[int] = None - - -@s(auto_attribs=True) -class ContainerType: - qvalue: Optional[int] = None - hazardousCommodities: List[HazardousCommodityType] = JList[HazardousCommodityType] - - -@s(auto_attribs=True) -class HazardousPackageDetailType: - regulation: Optional[str] = None - accessibility: Optional[str] = None - labelType: Optional[str] = None - containers: List[ContainerType] = JList[ContainerType] - cargoAircraftOnly: Optional[bool] = None - referenceId: Optional[int] = None - radioactiveTransportIndex: Optional[float] = None - - -@s(auto_attribs=True) -class BarcodeType: - type: Optional[str] = None - value: Optional[str] = None - - -@s(auto_attribs=True) -class BarcodesType: - binaryBarcodes: List[BarcodeType] = JList[BarcodeType] - stringBarcodes: List[BarcodeType] = JList[BarcodeType] - - -@s(auto_attribs=True) -class OperationalInstructionType: - number: Optional[int] = None - content: Optional[str] = None - - -@s(auto_attribs=True) -class CompletedPackageDetailOperationalDetailType: - astraHandlingText: Optional[str] = None - barcodes: Optional[BarcodesType] = JStruct[BarcodesType] - operationalInstructions: List[OperationalInstructionType] = JList[OperationalInstructionType] - - -@s(auto_attribs=True) -class SurchargeType: - amount: Optional[str] = None - surchargeType: Optional[str] = None - level: Optional[str] = None - description: Optional[str] = None - - -@s(auto_attribs=True) -class PackageRateDetailType: - ratedWeightMethod: Optional[str] = None - totalFreightDiscounts: Optional[float] = None - totalTaxes: Optional[float] = None - minimumChargeType: Optional[str] = None - baseCharge: Optional[float] = None - totalRebates: Optional[float] = None - rateType: Optional[str] = None - billingWeight: Optional[WeightType] = JStruct[WeightType] - netFreight: Optional[float] = None - surcharges: List[SurchargeType] = JList[SurchargeType] - totalSurcharges: Optional[float] = None - netFedExCharge: Optional[float] = None - netCharge: Optional[float] = None - currency: Optional[str] = None - - -@s(auto_attribs=True) -class PackageRatingType: - effectiveNetDiscount: Optional[int] = None - actualRateType: Optional[str] = None - packageRateDetails: List[PackageRateDetailType] = JList[PackageRateDetailType] - - -@s(auto_attribs=True) -class TrackingIDType: - formId: Optional[str] = None - trackingIdType: Optional[str] = None - uspsApplicationId: Optional[int] = None - trackingNumber: Optional[str] = None - - -@s(auto_attribs=True) -class CompletedPackageDetailType: - sequenceNumber: Optional[int] = None - operationalDetail: Optional[CompletedPackageDetailOperationalDetailType] = JStruct[CompletedPackageDetailOperationalDetailType] - signatureOption: Optional[str] = None - trackingIds: List[TrackingIDType] = JList[TrackingIDType] - groupNumber: Optional[int] = None - oversizeClass: Optional[str] = None - packageRating: Optional[PackageRatingType] = JStruct[PackageRatingType] - dryIceWeight: Optional[WeightType] = JStruct[WeightType] - hazardousPackageDetail: Optional[HazardousPackageDetailType] = JStruct[HazardousPackageDetailType] - - -@s(auto_attribs=True) -class GenerationDetailType: - type: Optional[str] = None - minimumCopiesRequired: Optional[int] = None - letterhead: Optional[str] = None - electronicSignature: Optional[str] = None - - -@s(auto_attribs=True) -class DocumentRequirementsType: - requiredDocuments: List[str] = [] - prohibitedDocuments: List[str] = [] - generationDetails: List[GenerationDetailType] = JList[GenerationDetailType] - - -@s(auto_attribs=True) -class LicenseOrPermitDetailType: - number: Optional[int] = None - effectiveDate: Optional[str] = None - expirationDate: Optional[str] = None - - -@s(auto_attribs=True) -class AdrLicenseType: - licenseOrPermitDetail: Optional[LicenseOrPermitDetailType] = JStruct[LicenseOrPermitDetailType] - - -@s(auto_attribs=True) -class ProcessingOptionsType: - options: List[str] = [] - - -@s(auto_attribs=True) -class DryIceDetailType: - totalWeight: Optional[WeightType] = JStruct[WeightType] - packageCount: Optional[int] = None - processingOptions: Optional[ProcessingOptionsType] = JStruct[ProcessingOptionsType] - - -@s(auto_attribs=True) -class HazardousSummaryDetailType: - smallQuantityExceptionPackageCount: Optional[int] = None - - -@s(auto_attribs=True) -class HazardousShipmentDetailType: - hazardousSummaryDetail: Optional[HazardousSummaryDetailType] = JStruct[HazardousSummaryDetailType] - adrLicense: Optional[AdrLicenseType] = JStruct[AdrLicenseType] - dryIceDetail: Optional[DryIceDetailType] = JStruct[DryIceDetailType] - - -@s(auto_attribs=True) -class CompletedShipmentDetailOperationalDetailType: - originServiceArea: Optional[str] = None - serviceCode: Optional[str] = None - airportId: Optional[str] = None - postalCode: Optional[int] = None - scac: Optional[str] = None - deliveryDay: Optional[str] = None - originLocationId: Optional[int] = None - countryCode: Optional[str] = None - astraDescription: Optional[str] = None - originLocationNumber: Optional[int] = None - deliveryDate: Optional[str] = None - deliveryEligibilities: List[str] = [] - ineligibleForMoneyBackGuarantee: Optional[bool] = None - maximumTransitTime: Optional[str] = None - destinationLocationStateOrProvinceCode: Optional[str] = None - astraPlannedServiceLevel: Optional[str] = None - destinationLocationId: Optional[str] = None - transitTime: Optional[str] = None - stateOrProvinceCode: Optional[str] = None - destinationLocationNumber: Optional[int] = None - packagingCode: Optional[str] = None - commitDate: Optional[str] = None - publishedDeliveryTime: Optional[str] = None - ursaSuffixCode: Optional[str] = None - ursaPrefixCode: Optional[str] = None - destinationServiceArea: Optional[str] = None - commitDay: Optional[str] = None - customTransitTime: Optional[str] = None - - -@s(auto_attribs=True) -class NameType: - type: Optional[str] = None - encoding: Optional[str] = None - value: Optional[str] = None - - -@s(auto_attribs=True) -class ServiceDescriptionType: - serviceType: Optional[str] = None - code: Optional[int] = None - names: List[NameType] = JList[NameType] - operatingOrgCodes: List[str] = [] - astraDescription: Optional[str] = None - description: Optional[str] = None - serviceId: Optional[str] = None - serviceCategory: Optional[str] = None - - -@s(auto_attribs=True) -class CurrencyExchangeRateType: - rate: Optional[float] = None - fromCurrency: Optional[str] = None - intoCurrency: Optional[str] = None - - -@s(auto_attribs=True) -class FreightDiscountType: - amount: Optional[float] = None - rateDiscountType: Optional[str] = None - percent: Optional[float] = None - description: Optional[str] = None - - -@s(auto_attribs=True) -class TaxType: - amount: Optional[int] = None - level: Optional[str] = None - description: Optional[str] = None - type: Optional[str] = None - - -@s(auto_attribs=True) -class ShipmentRateDetailType: - rateZone: Optional[str] = None - ratedWeightMethod: Optional[str] = None - totalDutiesTaxesAndFees: Optional[float] = None - pricingCode: Optional[str] = None - totalFreightDiscounts: Optional[float] = None - totalTaxes: Optional[float] = None - totalDutiesAndTaxes: Optional[float] = None - totalAncillaryFeesAndTaxes: Optional[float] = None - taxes: List[TaxType] = JList[TaxType] - totalRebates: Optional[float] = None - fuelSurchargePercent: Optional[float] = None - currencyExchangeRate: Optional[CurrencyExchangeRateType] = JStruct[CurrencyExchangeRateType] - totalNetFreight: Optional[float] = None - totalNetFedExCharge: Optional[float] = None - shipmentLegRateDetails: List[Any] = [] - dimDivisor: Optional[int] = None - rateType: Optional[str] = None - surcharges: List[SurchargeType] = JList[SurchargeType] - totalSurcharges: Optional[float] = None - totalBillingWeight: Optional[WeightType] = JStruct[WeightType] - freightDiscounts: List[FreightDiscountType] = JList[FreightDiscountType] - rateScale: Optional[str] = None - totalNetCharge: Optional[float] = None - totalBaseCharge: Optional[float] = None - totalNetChargeWithDutiesAndTaxes: Optional[float] = None - currency: Optional[str] = None - - -@s(auto_attribs=True) -class ShipmentRatingType: - actualRateType: Optional[str] = None - shipmentRateDetails: List[ShipmentRateDetailType] = JList[ShipmentRateDetailType] - - -@s(auto_attribs=True) -class CompletedShipmentDetailType: - completedPackageDetails: List[CompletedPackageDetailType] = JList[CompletedPackageDetailType] - operationalDetail: Optional[CompletedShipmentDetailOperationalDetailType] = JStruct[CompletedShipmentDetailOperationalDetailType] - carrierCode: Optional[str] = None - completedHoldAtLocationDetail: Optional[CompletedHoldAtLocationDetailType] = JStruct[CompletedHoldAtLocationDetailType] - completedEtdDetail: Optional[CompletedEtdDetailType] = JStruct[CompletedEtdDetailType] - packagingDescription: Optional[str] = None - masterTrackingId: Optional[TrackingIDType] = JStruct[TrackingIDType] - serviceDescription: Optional[ServiceDescriptionType] = JStruct[ServiceDescriptionType] - usDomestic: Optional[bool] = None - hazardousShipmentDetail: Optional[HazardousShipmentDetailType] = JStruct[HazardousShipmentDetailType] - shipmentRating: Optional[ShipmentRatingType] = JStruct[ShipmentRatingType] - documentRequirements: Optional[DocumentRequirementsType] = JStruct[DocumentRequirementsType] - exportComplianceStatement: Optional[str] = None - accessDetail: Optional[AccessDetailType] = JStruct[AccessDetailType] - - -@s(auto_attribs=True) -class CustomerReferenceType: - customerReferenceType: Optional[str] = None - value: Optional[int] = None - - -@s(auto_attribs=True) -class DocumentType: - contentKey: Optional[str] = None - copiesToPrint: Optional[int] = None - contentType: Optional[str] = None - trackingNumber: Optional[str] = None - docType: Optional[str] = None - alerts: List[AlertType] = JList[AlertType] - encodedLabel: Optional[str] = None - url: Optional[str] = None - - -@s(auto_attribs=True) -class TransactionDetailType: - transactionDetails: Optional[str] = None - transactionId: Optional[int] = None - - -@s(auto_attribs=True) -class PieceResponseType: - netChargeAmount: Optional[float] = None - transactionDetails: List[TransactionDetailType] = JList[TransactionDetailType] - packageDocuments: List[DocumentType] = JList[DocumentType] - acceptanceTrackingNumber: Optional[str] = None - serviceCategory: Optional[str] = None - listCustomerTotalCharge: Optional[str] = None - deliveryTimestamp: Optional[str] = None - trackingIdType: Optional[str] = None - additionalChargesDiscount: Optional[float] = None - netListRateAmount: Optional[float] = None - baseRateAmount: Optional[float] = None - packageSequenceNumber: Optional[int] = None - netDiscountAmount: Optional[float] = None - codcollectionAmount: Optional[float] = None - masterTrackingNumber: Optional[str] = None - acceptanceType: Optional[str] = None - trackingNumber: Optional[str] = None - successful: Optional[bool] = None - customerReferences: List[CustomerReferenceType] = JList[CustomerReferenceType] - - -@s(auto_attribs=True) -class ParameterType: - id: Optional[str] = None - value: Optional[str] = None - - -@s(auto_attribs=True) -class AdvisoryType: - code: Optional[str] = None - text: Optional[str] = None - parameters: List[ParameterType] = JList[ParameterType] - localizedText: Optional[str] = None - - -@s(auto_attribs=True) -class WaiverType: - advisories: List[AdvisoryType] = JList[AdvisoryType] - description: Optional[str] = None - id: Optional[str] = None - - -@s(auto_attribs=True) -class ProhibitionType: - derivedHarmonizedCode: Optional[str] = None - advisory: Optional[AdvisoryType] = JStruct[AdvisoryType] - commodityIndex: Optional[int] = None - source: Optional[str] = None - categories: List[str] = [] - type: Optional[str] = None - waiver: Optional[WaiverType] = JStruct[WaiverType] - status: Optional[str] = None - - -@s(auto_attribs=True) -class RegulatoryAdvisoryType: - prohibitions: List[ProhibitionType] = JList[ProhibitionType] - - -@s(auto_attribs=True) -class ShipmentAdvisoryDetailsType: - regulatoryAdvisory: Optional[RegulatoryAdvisoryType] = JStruct[RegulatoryAdvisoryType] - - -@s(auto_attribs=True) -class TransactionShipmentType: - serviceType: Optional[str] = None - shipDatestamp: Optional[str] = None - serviceCategory: Optional[str] = None - shipmentDocuments: List[DocumentType] = JList[DocumentType] - pieceResponses: List[PieceResponseType] = JList[PieceResponseType] - serviceName: Optional[str] = None - alerts: List[AlertType] = JList[AlertType] - completedShipmentDetail: Optional[CompletedShipmentDetailType] = JStruct[CompletedShipmentDetailType] - shipmentAdvisoryDetails: Optional[ShipmentAdvisoryDetailsType] = JStruct[ShipmentAdvisoryDetailsType] - masterTrackingNumber: Optional[str] = None - - -@s(auto_attribs=True) -class OutputType: - transactionShipments: List[TransactionShipmentType] = JList[TransactionShipmentType] - alerts: List[AlertType] = JList[AlertType] - jobId: Optional[str] = None - - -@s(auto_attribs=True) -class ShippingResponseType: - transactionId: Optional[str] = None - customerTransactionId: Optional[str] = None - output: Optional[OutputType] = JStruct[OutputType] diff --git a/modules/connectors/ninja_van/karrio/schemas/ninja_van/tracking_response.py b/modules/connectors/ninja_van/karrio/schemas/ninja_van/tracking_response.py index e9b52341f3..322bcf66d2 100644 --- a/modules/connectors/ninja_van/karrio/schemas/ninja_van/tracking_response.py +++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/tracking_response.py @@ -1,350 +1,34 @@ from attr import s from typing import Optional, List -from jstruct import JList, JStruct +from jstruct import JStruct, JList @s(auto_attribs=True) -class PackageIdentifierType: - type: Optional[str] = None - value: Optional[str] = None - trackingNumberUniqueId: Optional[str] = None - - -@s(auto_attribs=True) -class AdditionalTrackingInfoType: - hasAssociatedShipments: Optional[bool] = None - nickname: Optional[str] = None - packageIdentifiers: List[PackageIdentifierType] = JList[PackageIdentifierType] - shipmentNotes: Optional[str] = None - - -@s(auto_attribs=True) -class AvailableImageType: - size: Optional[str] = None - type: Optional[str] = None - - -@s(auto_attribs=True) -class ReasonDetailType: - description: Optional[str] = None - type: Optional[str] = None - - -@s(auto_attribs=True) -class ConsolidationDetailType: - timeStamp: Optional[str] = None - consolidationID: Optional[int] = None - reasonDetail: Optional[ReasonDetailType] = JStruct[ReasonDetailType] - packageCount: Optional[int] = None - eventType: Optional[str] = None - - -@s(auto_attribs=True) -class EstimatedDeliveryTimeWindowWindowType: - begins: Optional[str] = None - ends: Optional[str] = None - - -@s(auto_attribs=True) -class EstimatedDeliveryTimeWindowElementType: - description: Optional[str] = None - window: Optional[EstimatedDeliveryTimeWindowWindowType] = JStruct[EstimatedDeliveryTimeWindowWindowType] - type: Optional[str] = None - - -@s(auto_attribs=True) -class RequestedAppointmentDetailType: - date: Optional[str] = None - window: List[EstimatedDeliveryTimeWindowElementType] = JList[EstimatedDeliveryTimeWindowElementType] - - -@s(auto_attribs=True) -class CustomDeliveryOptionType: - requestedAppointmentDetail: Optional[RequestedAppointmentDetailType] = JStruct[RequestedAppointmentDetailType] - description: Optional[str] = None - type: Optional[str] = None - status: Optional[str] = None - - -@s(auto_attribs=True) -class DateAndTimeType: - dateTime: Optional[str] = None - type: Optional[str] = None - - -@s(auto_attribs=True) -class LastUpdatedDestinationAddressType: - addressClassification: Optional[str] = None - residential: Optional[bool] = None - streetLines: List[str] = [] +class ArrivedAtOriginHubInformationType: + country: Optional[str] = None city: Optional[str] = None - urbanizationCode: Optional[str] = None - stateOrProvinceCode: Optional[str] = None - postalCode: Optional[int] = None - countryCode: Optional[str] = None - countryName: Optional[str] = None - - -@s(auto_attribs=True) -class DeliveryOptionEligibilityDetailType: - option: Optional[str] = None - eligibility: Optional[str] = None + hub: Optional[str] = None @s(auto_attribs=True) -class DeliveryDetailsType: - receivedByName: Optional[str] = None - destinationServiceArea: Optional[str] = None - destinationServiceAreaDescription: Optional[str] = None - locationDescription: Optional[str] = None - actualDeliveryAddress: Optional[LastUpdatedDestinationAddressType] = JStruct[LastUpdatedDestinationAddressType] - deliveryToday: Optional[bool] = None - locationType: Optional[str] = None - signedByName: Optional[str] = None - officeOrderDeliveryMethod: Optional[str] = None - deliveryAttempts: Optional[int] = None - deliveryOptionEligibilityDetails: List[DeliveryOptionEligibilityDetailType] = JList[DeliveryOptionEligibilityDetailType] - - -@s(auto_attribs=True) -class ContactType: - personName: Optional[str] = None - phoneNumber: Optional[int] = None - companyName: Optional[str] = None - - -@s(auto_attribs=True) -class RecipientInformationType: - contact: Optional[ContactType] = JStruct[ContactType] - address: Optional[LastUpdatedDestinationAddressType] = JStruct[LastUpdatedDestinationAddressType] - - -@s(auto_attribs=True) -class LocationType: - locationId: Optional[str] = None - locationContactAndAddress: Optional[RecipientInformationType] = JStruct[RecipientInformationType] - locationType: Optional[str] = None - - -@s(auto_attribs=True) -class DistanceToDestinationType: - units: Optional[str] = None - value: Optional[float] = None - - -@s(auto_attribs=True) -class ParameterListType: - value: Optional[str] = None - key: Optional[str] = None - - -@s(auto_attribs=True) -class ErrorType: - code: Optional[str] = None - parameterList: List[ParameterListType] = JList[ParameterListType] - message: Optional[str] = None - - -@s(auto_attribs=True) -class InformationNoteType: - code: Optional[str] = None - description: Optional[str] = None - - -@s(auto_attribs=True) -class AncillaryDetailType: - reason: Optional[int] = None - reasonDescription: Optional[str] = None - action: Optional[str] = None - actionDescription: Optional[str] = None - - -@s(auto_attribs=True) -class DelayDetailType: - type: Optional[str] = None - subType: Optional[str] = None - status: Optional[str] = None - - -@s(auto_attribs=True) -class LatestStatusDetailType: - scanLocation: Optional[LastUpdatedDestinationAddressType] = JStruct[LastUpdatedDestinationAddressType] - code: Optional[str] = None - derivedCode: Optional[str] = None - ancillaryDetails: List[AncillaryDetailType] = JList[AncillaryDetailType] - statusByLocale: Optional[str] = None - description: Optional[str] = None - delayDetail: Optional[DelayDetailType] = JStruct[DelayDetailType] - - -@s(auto_attribs=True) -class DeclaredValueType: - currency: Optional[str] = None - value: Optional[float] = None - - -@s(auto_attribs=True) -class DimensionType: - length: Optional[int] = None - width: Optional[int] = None - height: Optional[int] = None - units: Optional[str] = None - - -@s(auto_attribs=True) -class WeightType: - unit: Optional[str] = None - value: Optional[str] = None - - -@s(auto_attribs=True) -class WeightAndDimensionsType: - weight: List[WeightType] = JList[WeightType] - dimensions: List[DimensionType] = JList[DimensionType] - - -@s(auto_attribs=True) -class PackageDetailsType: - physicalPackagingType: Optional[str] = None - sequenceNumber: Optional[int] = None - undeliveredCount: Optional[int] = None - packagingDescription: Optional[ReasonDetailType] = JStruct[ReasonDetailType] - count: Optional[int] = None - weightAndDimensions: Optional[WeightAndDimensionsType] = JStruct[WeightAndDimensionsType] - packageContent: List[str] = [] - contentPieceCount: Optional[int] = None - declaredValue: Optional[DeclaredValueType] = JStruct[DeclaredValueType] - - -@s(auto_attribs=True) -class PieceCountType: - count: Optional[int] = None - description: Optional[str] = None - type: Optional[str] = None - - -@s(auto_attribs=True) -class ReturnDetailType: - authorizationName: Optional[str] = None - reasonDetail: List[ReasonDetailType] = JList[ReasonDetailType] - - -@s(auto_attribs=True) -class ScanEventType: - date: Optional[str] = None - derivedStatus: Optional[str] = None - scanLocation: Optional[LastUpdatedDestinationAddressType] = JStruct[LastUpdatedDestinationAddressType] - locationId: Optional[str] = None - locationType: Optional[str] = None - exceptionDescription: Optional[str] = None - eventDescription: Optional[str] = None - eventType: Optional[str] = None - derivedStatusCode: Optional[str] = None - exceptionCode: Optional[str] = None - delayDetail: Optional[DelayDetailType] = JStruct[DelayDetailType] - - -@s(auto_attribs=True) -class ServiceCommitMessageType: - message: Optional[str] = None - type: Optional[str] = None - - -@s(auto_attribs=True) -class ServiceDetailType: - description: Optional[str] = None - shortDescription: Optional[str] = None - type: Optional[str] = None - - -@s(auto_attribs=True) -class ContentType: - itemNumber: Optional[str] = None - receivedQuantity: Optional[int] = None - description: Optional[str] = None - partNumber: Optional[str] = None - - -@s(auto_attribs=True) -class SplitShipmentType: - pieceCount: Optional[int] = None - statusDescription: Optional[str] = None +class EventType: + shipperid: Optional[int] = None + trackingnumber: Optional[str] = None + shipperorderrefno: Optional[str] = None timestamp: Optional[str] = None - statusCode: Optional[str] = None - - -@s(auto_attribs=True) -class ShipmentDetailsType: - contents: List[ContentType] = JList[ContentType] - beforePossessionStatus: Optional[bool] = None - weight: List[WeightType] = JList[WeightType] - contentPieceCount: Optional[int] = None - splitShipments: List[SplitShipmentType] = JList[SplitShipmentType] - - -@s(auto_attribs=True) -class SpecialHandlingType: - description: Optional[str] = None - type: Optional[str] = None - paymentType: Optional[str] = None - - -@s(auto_attribs=True) -class TrackingNumberInfoType: - trackingNumber: Optional[str] = None - carrierCode: Optional[str] = None - trackingNumberUniqueId: Optional[str] = None - - -@s(auto_attribs=True) -class TrackResultType: - trackingNumberInfo: Optional[TrackingNumberInfoType] = JStruct[TrackingNumberInfoType] - additionalTrackingInfo: Optional[AdditionalTrackingInfoType] = JStruct[AdditionalTrackingInfoType] - distanceToDestination: Optional[DistanceToDestinationType] = JStruct[DistanceToDestinationType] - consolidationDetail: List[ConsolidationDetailType] = JList[ConsolidationDetailType] - meterNumber: Optional[int] = None - returnDetail: Optional[ReturnDetailType] = JStruct[ReturnDetailType] - serviceDetail: Optional[ServiceDetailType] = JStruct[ServiceDetailType] - destinationLocation: Optional[LocationType] = JStruct[LocationType] - latestStatusDetail: Optional[LatestStatusDetailType] = JStruct[LatestStatusDetailType] - serviceCommitMessage: Optional[ServiceCommitMessageType] = JStruct[ServiceCommitMessageType] - informationNotes: List[InformationNoteType] = JList[InformationNoteType] - error: Optional[ErrorType] = JStruct[ErrorType] - specialHandlings: List[SpecialHandlingType] = JList[SpecialHandlingType] - availableImages: List[AvailableImageType] = JList[AvailableImageType] - deliveryDetails: Optional[DeliveryDetailsType] = JStruct[DeliveryDetailsType] - scanEvents: List[ScanEventType] = JList[ScanEventType] - dateAndTimes: List[DateAndTimeType] = JList[DateAndTimeType] - packageDetails: Optional[PackageDetailsType] = JStruct[PackageDetailsType] - goodsClassificationCode: Optional[str] = None - holdAtLocation: Optional[LocationType] = JStruct[LocationType] - customDeliveryOptions: List[CustomDeliveryOptionType] = JList[CustomDeliveryOptionType] - estimatedDeliveryTimeWindow: Optional[EstimatedDeliveryTimeWindowElementType] = JStruct[EstimatedDeliveryTimeWindowElementType] - pieceCounts: List[PieceCountType] = JList[PieceCountType] - originLocation: Optional[LocationType] = JStruct[LocationType] - recipientInformation: Optional[RecipientInformationType] = JStruct[RecipientInformationType] - standardTransitTimeWindow: Optional[EstimatedDeliveryTimeWindowElementType] = JStruct[EstimatedDeliveryTimeWindowElementType] - shipmentDetails: Optional[ShipmentDetailsType] = JStruct[ShipmentDetailsType] - reasonDetail: Optional[ReasonDetailType] = JStruct[ReasonDetailType] - availableNotifications: List[str] = [] - shipperInformation: Optional[RecipientInformationType] = JStruct[RecipientInformationType] - lastUpdatedDestinationAddress: Optional[LastUpdatedDestinationAddressType] = JStruct[LastUpdatedDestinationAddressType] - - -@s(auto_attribs=True) -class CompleteTrackResultType: - trackingNumber: Optional[str] = None - trackResults: List[TrackResultType] = JList[TrackResultType] + status: Optional[str] = None + isparcelonrtsleg: Optional[bool] = None + comments: Optional[str] = None + arrivedatoriginhubinformation: Optional[ArrivedAtOriginHubInformationType] = JStruct[ArrivedAtOriginHubInformationType] @s(auto_attribs=True) -class OutputType: - completeTrackResults: List[CompleteTrackResultType] = JList[CompleteTrackResultType] - alerts: Optional[str] = None +class DatumType: + trackingnumber: Optional[str] = None + isfullhistoryavailable: Optional[bool] = None + events: List[EventType] = JList[EventType] @s(auto_attribs=True) class TrackingResponseType: - transactionId: Optional[str] = None - customerTransactionId: Optional[str] = None - output: Optional[OutputType] = JStruct[OutputType] + data: List[DatumType] = JList[DatumType] diff --git a/modules/connectors/ninja_van/schemas/cancel_request.json b/modules/connectors/ninja_van/schemas/cancel_request.json deleted file mode 100644 index 5d90c5b5de..0000000000 --- a/modules/connectors/ninja_van/schemas/cancel_request.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "accountNumber": { - "value": "Your account number" - }, - "emailShipment": "false", - "senderCountryCode": "US", - "deletionControl": "DELETE_ALL_PACKAGES", - "trackingNumber": "794953555571" -} \ No newline at end of file diff --git a/modules/connectors/ninja_van/schemas/cancel_response.json b/modules/connectors/ninja_van/schemas/cancel_response.json deleted file mode 100644 index d7d6efa7d1..0000000000 --- a/modules/connectors/ninja_van/schemas/cancel_response.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "transactionId": "624deea6-b709-470c-8c39-4b5511281492", - "customerTransactionId": "AnyCo_order123456789", - "output": { - "cancelledShipment": true, - "cancelledHistory": true, - "successMessage": "Success", - "alerts": [ - { - "code": "SHIP.RECIPIENT.POSTALCITY.MISMATCH", - "alertType": "NOTE", - "message": "Recipient Postal-City Mismatch." - } - ] - } -} \ No newline at end of file diff --git a/modules/connectors/ninja_van/schemas/cancel_shipment_request.json b/modules/connectors/ninja_van/schemas/cancel_shipment_request.json new file mode 100644 index 0000000000..31a3c8ce5d --- /dev/null +++ b/modules/connectors/ninja_van/schemas/cancel_shipment_request.json @@ -0,0 +1,4 @@ +{ + "countryCode": "SG", + "trackingNo": "BhTX3PPb-aDJ-xUOiPmDq9-O6-dxA0-YICcz-S-fG0nlAgPaq" +} diff --git a/modules/connectors/ninja_van/schemas/cancel_shipment_response.json b/modules/connectors/ninja_van/schemas/cancel_shipment_response.json new file mode 100644 index 0000000000..5d21c29585 --- /dev/null +++ b/modules/connectors/ninja_van/schemas/cancel_shipment_response.json @@ -0,0 +1,5 @@ +{ + "trackingId": "string", + "status": "string", + "updatedAt": "string" +} diff --git a/modules/connectors/ninja_van/schemas/create_shipping_request.json b/modules/connectors/ninja_van/schemas/create_shipping_request.json new file mode 100644 index 0000000000..e8d7caa940 --- /dev/null +++ b/modules/connectors/ninja_van/schemas/create_shipping_request.json @@ -0,0 +1,68 @@ +{ + "service_type": "Parcel", + "service_level": "Standard", + "requested_tracking_number": "1234-56789", + "reference": { + "merchant_order_number": "SHIP-1234-56789" + }, + "from": { + "name": "John Doe", + "phone_number": "+60138201527", + "email": "john.doe@gmail.com", + "address": { + "address1": "17 Lorong Jambu 3", + "address2": "", + "area": "Taman Sri Delima", + "city": "Simpang Ampat", + "state": "Pulau Pinang", + "address_type": "office", + "country": "MY", + "postcode": "51200" + } + }, + "to": { + "name": "Jane Doe", + "phone_number": "+60103067174", + "email": "jane.doe@gmail.com", + "address": { + "address1": "Jalan PJU 8/8", + "address2": "", + "area": "Damansara Perdana", + "city": "Petaling Jaya", + "state": "Selangor", + "address_type": "home", + "country": "MY", + "postcode": "47820" + } + }, + "parcel_job": { + "is_pickup_required": true, + "pickup_address_id": "98989012", + "pickup_service_type": "Scheduled", + "pickup_service_level": "Standard", + "pickup_date": "2021-12-15", + "pickup_timeslot": { + "start_time": "09:00", + "end_time": "12:00", + "timezone": "Asia/Kuala_Lumpur" + }, + "pickup_instructions": "Pickup with care!", + "delivery_instructions": "If recipient is not around, leave parcel in power riser.", + "delivery_start_date": "2021-12-16", + "delivery_timeslot": { + "start_time": "09:00", + "end_time": "12:00", + "timezone": "Asia/Kuala_Lumpur" + }, + "dimensions": { + "weight": 1.5 + }, + "items": [ + { + "item_description": "Sample description", + "quantity": 1, + "is_dangerous_good": false + } + ] + } +} diff --git a/modules/connectors/ninja_van/schemas/create_shipping_response.json b/modules/connectors/ninja_van/schemas/create_shipping_response.json new file mode 100644 index 0000000000..0e735fbde9 --- /dev/null +++ b/modules/connectors/ninja_van/schemas/create_shipping_response.json @@ -0,0 +1,71 @@ +{ + "requested_tracking_number": "1234-56789", + "tracking_number": "PREFIX1234-56789", + "service_type": "Parcel", + "service_level": "Standard", + "reference": { + "merchant_order_number": "SHIP-1234-56789" + }, + "from": { + "name": "John Doe", + "phone_number": "+60138201527", + "email": "john.doe@gmail.com", + "address": { + "address1": "17 Lorong Jambu 3", + "address2": "", + "area": "Taman Sri Delima", + "city": "Simpang Ampat", + "state": "Pulau Pinang", + "address_type": "office", + "country": "MY", + "postcode": "51200" + } + }, + "to": { + "name": "Jane Doe", + "phone_number": "+60103067174", + "email": "jane.doe@gmail.com", + "address": { + "address1": "Jalan PJU 8/8", + "address2": "", + "area": "Damansara Perdana", + "city": "Petaling Jaya", + "state": "Selangor", + "address_type": "home", + "country": "MY", + "postcode": "47820" + } + }, + "parcel_job": { + "is_pickup_required": true, + "pickup_service_type": "Scheduled", + "pickup_service_level": "Standard", + "pickup_address_id": "98989012", + "pickup_date": "2021-12-15", + "pickup_timeslot": { + "start_time": "09:00", + "end_time": "12:00", + "timezone": "Asia/Kuala_Lumpur" + }, + "pickup_approximate_volume": "Less than 3 Parcels", + "pickup_instructions": "Pickup with care!", + "delivery_start_date": "2021-12-16", + "delivery_timeslot": { + "start_time": "09:00", + "end_time": "12:00", + "timezone": "Asia/Kuala_Lumpur" + }, + "delivery_instructions": "If recipient is not around, leave parcel in power riser.", + "allow-weekend_delivery": true, + "dimensions": { + "weight": 1.5 + }, + "items": [ + { + "item_description": "Sample description", + "quantity": 1, + "is_dangerous_good": false + } + ] + } +} diff --git a/modules/connectors/ninja_van/schemas/error_response.json b/modules/connectors/ninja_van/schemas/error_response.json index 50a59e7ca9..1146cf169d 100644 --- a/modules/connectors/ninja_van/schemas/error_response.json +++ b/modules/connectors/ninja_van/schemas/error_response.json @@ -1,10 +1,13 @@ { - "transactionId": "624deea6-b709-470c-8c39-4b5511281492", - "customerTransactionId": "AnyCo_order123456789", - "errors": [ - { - "code": "TRACKING.TRACKINGNUMBER.EMPTY", - "message": "Please provide tracking number." - } - ] + "error": { + "request_id": "1ba6da4f-0709-416e-9e30-a5546130b4d2", + "title": "Invalid Data", + "message": "Please check your request payload for validation errors.", + "details": [ + { + "reason": "Validation Error", + "message": "Service Level is not supported for this shipper account" + } + ] + } } diff --git a/modules/connectors/ninja_van/schemas/paperless_request.json b/modules/connectors/ninja_van/schemas/paperless_request.json deleted file mode 100644 index 4ea362c190..0000000000 --- a/modules/connectors/ninja_van/schemas/paperless_request.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "document": { - "workflowName": "ETDPostshipment", - "carrierCode": "ninja_van", - "name": "file.txt", - "contentType": "text/plain", - "meta": { - "shipDocumentType": "COMMERCIAL_INVOICE", - "formCode": "USMCA", - "trackingNumber": "794791292805", - "shipmentDate": "2021-02-17T00:00:00", - "originLocationCode": "GVTKK", - "originCountryCode": "US", - "destinationLocationCode": "JNUA", - "destinationCountryCode": "IN" - } - }, - "attachment": "file.txt" -} diff --git a/modules/connectors/ninja_van/schemas/paperless_response.json b/modules/connectors/ninja_van/schemas/paperless_response.json deleted file mode 100644 index 3497ef2d68..0000000000 --- a/modules/connectors/ninja_van/schemas/paperless_response.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "output": { - "meta": { - "documentType": "CO", - "docId": "090493e181586308", - "folderId": [ - "0b0493e1812f8921" - ] - } - }, - "customerTransactionId": "XXXX_XXX123XXXXX" -} \ No newline at end of file diff --git a/modules/connectors/ninja_van/schemas/rate_request.json b/modules/connectors/ninja_van/schemas/rate_request.json new file mode 100644 index 0000000000..9a86dff6f5 --- /dev/null +++ b/modules/connectors/ninja_van/schemas/rate_request.json @@ -0,0 +1,12 @@ +{ + "weight": 0, + "service_level": "Standard", + "from": { + "l1_tier_code": "string", + "l2_tier_code": "string" + }, + "to": { + "l1_tier_code": "string", + "l2_tier_code": "string" + } +} diff --git a/modules/connectors/ninja_van/schemas/rate_response.json b/modules/connectors/ninja_van/schemas/rate_response.json new file mode 100644 index 0000000000..a7dea14c8e --- /dev/null +++ b/modules/connectors/ninja_van/schemas/rate_response.json @@ -0,0 +1,5 @@ +{ + "data": { + "total_fee": 90000 + } +} diff --git a/modules/connectors/ninja_van/schemas/rating_request.json b/modules/connectors/ninja_van/schemas/rating_request.json deleted file mode 100644 index afba50f0cb..0000000000 --- a/modules/connectors/ninja_van/schemas/rating_request.json +++ /dev/null @@ -1,460 +0,0 @@ -{ - "accountNumber": { - "value": "Your account number" - }, - "rateRequestControlParameters": { - "returnTransitTimes": false, - "servicesNeededOnRateFailure": true, - "variableOptions": "FREIGHT_GUARANTEE", - "rateSortOrder": "SERVICENAMETRADITIONAL" - }, - "requestedShipment": { - "shipper": { - "address": { - "streetLines": [ - "1550 Union Blvd", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "TN", - "postalCode": "65247", - "countryCode": "US", - "residential": false - } - }, - "recipient": { - "address": { - "streetLines": [ - "1550 Union Blvd", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "TN", - "postalCode": "65247", - "countryCode": "US", - "residential": false - } - }, - "serviceType": "STANDARD_OVERNIGHT", - "emailNotificationDetail": { - "recipients": [ - { - "emailAddress": "string", - "notificationEventType": [ - "ON_DELIVERY" - ], - "smsDetail": null, - "notificationFormatType": "HTML", - "emailNotificationRecipientType": "BROKER", - "notificationType": "EMAIL", - "locale": "string" - } - ], - "personalMessage": "string", - "PrintedReference": { - "printedReferenceType": "BILL_OF_LADING", - "value": "string" - } - }, - "preferredCurrency": "USD", - "rateRequestType": [ - "ACCOUNT", - "LIST" - ], - "shipDateStamp": "2019-09-05", - "pickupType": "DROPOFF_AT_FEDEX_LOCATION", - "requestedPackageLineItems": [ - { - "subPackagingType": "BAG", - "groupPackageCount": 1, - "contentRecord": [ - { - "itemNumber": "string", - "receivedQuantity": 0, - "description": "string", - "partNumber": "string" - } - ], - "declaredValue": { - "amount": "100", - "currency": "USD" - }, - "weight": { - "units": "LB", - "value": 22 - }, - "dimensions": { - "length": 10, - "width": 8, - "height": 2, - "units": "IN" - }, - "variableHandlingChargeDetail": { - "rateType": "ACCOUNT", - "percentValue": 0, - "rateLevelType": "BUNDLED_RATE", - "fixedValue": { - "amount": "100", - "currency": "USD" - }, - "rateElementBasis": "NET_CHARGE" - }, - "packageSpecialServices": { - "specialServiceTypes": [ - "DANGEROUS_GOODS" - ], - "signatureOptionType": [ - "NO_SIGNATURE_REQUIRED" - ], - "alcoholDetail": { - "alcoholRecipientType": "LICENSEE", - "shipperAgreementType": "Retailer" - }, - "dangerousGoodsDetail": { - "offeror": "Offeror Name", - "accessibility": "ACCESSIBLE", - "emergencyContactNumber": "3268545905", - "options": [ - "BATTERY" - ], - "containers": [ - { - "offeror": "Offeror Name", - "hazardousCommodities": [ - { - "innerReceptacles": [] - } - ], - "numberOfContainers": 10, - "containerType": "Copper Box", - "emergencyContactNumber": { - "areaCode": "202", - "extension": "3245", - "countryCode": "US", - "personalIdentificationNumber": "9545678", - "localNumber": "23456" - }, - "packaging": { - "count": 20, - "units": "Liter" - }, - "packingType": "ALL_PACKED_IN_ONE", - "radioactiveContainerClass": "EXCEPTED_PACKAGE" - } - ], - "packaging": { - "count": 20, - "units": "Liter" - } - }, - "packageCODDetail": { - "codCollectionAmount": { - "amount": 12.45, - "currency": "USD" - }, - "codCollectionType": "ANY" - }, - "pieceCountVerificationBoxCount": 0, - "batteryDetails": [ - { - "material": "LITHIUM_METAL", - "regulatorySubType": "IATA_SECTION_II", - "packing": "CONTAINED_IN_EQUIPMENT" - } - ], - "dryIceWeight": { - "units": "LB", - "value": 10 - } - } - } - ], - "documentShipment": false, - "variableHandlingChargeDetail": { - "rateType": "ACCOUNT", - "percentValue": 0, - "rateLevelType": "BUNDLED_RATE", - "fixedValue": { - "amount": "100", - "currency": "USD" - }, - "rateElementBasis": "NET_CHARGE" - }, - "packagingType": "YOUR_PACKAGING", - "totalPackageCount": 3, - "totalWeight": 87.5, - "shipmentSpecialServices": { - "returnShipmentDetail": { - "returnType": "PRINT_RETURN_LABEL" - }, - "deliveryOnInvoiceAcceptanceDetail": { - "recipient": { - "accountNumber": { - "value": 123456789 - }, - "address": { - "streetLines": [ - "10 FedEx Parkway", - "Suite 30" - ], - "countryCode": "US" - }, - "contact": { - "companyName": "FedEx", - "faxNumber": "9013577890", - "personName": "John Taylor", - "phoneNumber": "9013577890" - } - } - }, - "internationalTrafficInArmsRegulationsDetail": { - "licenseOrExemptionNumber": "432345" - }, - "pendingShipmentDetail": { - "pendingShipmentType": "EMAIL", - "processingOptions": { - "options": [ - "ALLOW_MODIFICATIONS" - ] - }, - "recommendedDocumentSpecification": { - "types": [ - "ANTIQUE_STATEMENT_EUROPEAN_UNION" - ] - }, - "emailLabelDetail": { - "recipients": [ - { - "emailAddress": "string", - "optionsRequested": { - "options": [ - "PRODUCE_PAPERLESS_SHIPPING_FORMAT" - ] - }, - "role": "SHIPMENT_COMPLETOR", - "locale": { - "country": "string", - "language": "string" - } - } - ], - "message": "string" - }, - "documentReferences": [ - { - "documentType": "CERTIFICATE_OF_ORIGIN", - "customerReference": "string", - "description": "ShippingDocumentSpecification", - "documentId": "98123" - } - ], - "expirationTimeStamp": "2012-12-31", - "shipmentDryIceDetail": { - "totalWeight": { - "units": "LB", - "value": 10 - }, - "packageCount": 12 - } - }, - "holdAtLocationDetail": { - "locationId": "YBZA", - "locationContactAndAddress": { - "address": { - "streetLines": [ - "10 FedEx Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "38127", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "person name", - "emailAddress": "email address", - "phoneNumber": "phone number", - "phoneExtension": "phone extension", - "companyName": "company name", - "faxNumber": "fax number" - } - }, - "locationType": "FEDEX_ONSITE" - }, - "shipmentCODDetail": { - "addTransportationChargesDetail": { - "rateType": "ACCOUNT", - "rateLevelType": "BUNDLED_RATE", - "chargeLevelType": "CURRENT_PACKAGE", - "chargeType": "COD_SURCHARGE" - }, - "codRecipient": { - "accountNumber": { - "value": 123456789 - } - }, - "remitToName": "FedEx", - "codCollectionType": "ANY", - "financialInstitutionContactAndAddress": { - "address": { - "streetLines": [ - "10 FedEx Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "38127", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "person name", - "emailAddress": "email address", - "phoneNumber": "phone number", - "phoneExtension": "phone extension", - "companyName": "company name", - "faxNumber": "fax number" - } - }, - "returnReferenceIndicatorType": "INVOICE" - }, - "shipmentDryIceDetail": { - "totalWeight": { - "units": "LB", - "value": 10 - }, - "packageCount": 12 - }, - "internationalControlledExportDetail": { - "type": "DEA_036" - }, - "homeDeliveryPremiumDetail": { - "phoneNumber": { - "areaCode": "areaCode", - "extension": "extension", - "countryCode": "countryCode", - "personalIdentificationNumber": "personalIdentificationNumber", - "localNumber": "localNumber" - }, - "shipTimestamp": "2020-04-24", - "homedeliveryPremiumType": "APPOINTMENT" - }, - "specialServiceTypes": [ - "BROKER_SELECT_OPTION" - ] - }, - "customsClearanceDetail": { - "brokers": [ - { - "broker": { - "accountNumber": { - "value": 123456789 - }, - "address": null, - "contact": null - }, - "type": "EXPORT", - "brokerCommitTimestamp": "2019-07-22", - "brokerCommitDayOfWeek": "SUNDAY", - "brokerLocationId": "brokerLocationId", - "brokerAddress": { - "streetLines": [ - "10 FedEx Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "90210", - "countryCode": "US", - "residential": false, - "classification": "residential", - "geographicCoordinates": "geographicCoordinates", - "urbanizationCode": "code", - "countryName": "India" - }, - "brokerToDestinationDays": 10 - } - ], - "commercialInvoice": { - "shipmentPurpose": "GIFT" - }, - "freightOnValue": "CARRIER_RISK", - "dutiesPayment": { - "payor": { - "responsibleParty": { - "address": { - "streetLines": [ - "10 FedEx Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "90210", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "John Taylor", - "emailAddress": "sample@company.com", - "phoneNumber": "1234567890", - "phoneExtension": "phone extension", - "companyName": "Fedex", - "faxNumber": "fax number" - }, - "accountNumber": { - "value": "123456789" - } - } - }, - "paymentType": "SENDER" - }, - "commodities": [ - { - "description": "DOCUMENTS", - "weight": { - "units": "LB", - "value": 22 - }, - "quantity": 1, - "customsValue": { - "amount": "100", - "currency": "USD" - }, - "unitPrice": { - "amount": "100", - "currency": "USD" - }, - "numberOfPieces": 1, - "countryOfManufacture": "US", - "quantityUnits": "PCS", - "name": "DOCUMENTS", - "harmonizedCode": "080211", - "partNumber": "P1" - } - ] - }, - "groupShipment": true, - "serviceTypeDetail": { - "carrierCode": "ninja_van", - "description": "string", - "serviceName": "string", - "serviceCategory": "string" - }, - "smartPostInfoDetail": { - "ancillaryEndorsement": "ADDRESS_CORRECTION", - "hubId": "5531", - "indicia": "MEDIA_MAIL", - "specialServices": "USPS_DELIVERY_CONFIRMATION" - }, - "expressFreightDetail": { - "bookingConfirmationNumber": "string", - "shippersLoadAndCount": 0 - }, - "groundShipment": false - }, - "carrierCodes": [ - "ninja_van" - ] - -} diff --git a/modules/connectors/ninja_van/schemas/rating_response.json b/modules/connectors/ninja_van/schemas/rating_response.json deleted file mode 100644 index 8f4572f81b..0000000000 --- a/modules/connectors/ninja_van/schemas/rating_response.json +++ /dev/null @@ -1,1149 +0,0 @@ -{ - "transactionId": "624deea6-b709-470c-8c39-4b5511281492", - "customerTransactionId": "AnyCo_order123456789", - "output": { - "rateReplyDetails": [ - { - "serviceType": "INTERNATIONAL_FIRST", - "serviceName": "NinjaVan International First", - "packagingType": "YOUR_PACKAGING", - "customerMessages": [ - { - "code": "SERVICE.TYPE.INTERNATIONAL.MESSAGE", - "message": "Rate does not include duties & taxes, clearance entry fees or other import fees. The payor of duties/taxes/fees will be responsible for any applicable Clearance Entry Fees." - }, - { - "code": "EDT.DETAILS.MISSING", - "message": "The harmonized code for the commodity at array index 1 is missing or invalid; estimated duties and taxes were not returned." - } - ], - "ratedShipmentDetails": [ - { - "rateType": "ACCOUNT", - "ratedWeightMethod": "ACTUAL", - "totalDiscounts": 0.0, - "totalBaseCharge": 403.2, - "totalNetCharge": 445.54, - "totalVatCharge": 0.0, - "totalNetFedExCharge": 445.54, - "totalDutiesAndTaxes": 0.0, - "totalNetChargeWithDutiesAndTaxes": 445.54, - "totalDutiesTaxesAndFees": 0.0, - "totalAncillaryFeesAndTaxes": 0.0, - "shipmentRateDetail": { - "rateZone": "CA003O", - "dimDivisor": 0.0, - "fuelSurchargePercent": 10.5, - "totalSurcharges": 42.34, - "totalFreightDiscount": 0.0, - "surCharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "amount": 42.34 - } - ], - "pricingCode": "ACTUAL", - "currencyExchangeRate": { - "fromCurrency": "CAD", - "intoCurrency": "CAD", - "rate": 1.0 - }, - "totalBillingWeight": { - "units": "LB", - "value": 22.0 - }, - "currency": "CAD" - }, - "currency": "CAD" - }, - { - "rateType": "LIST", - "ratedWeightMethod": "ACTUAL", - "totalDiscounts": 0.0, - "totalBaseCharge": 403.2, - "totalNetCharge": 445.54, - "totalVatCharge": 0.0, - "totalNetFedExCharge": 445.54, - "totalDutiesAndTaxes": 0.0, - "totalNetChargeWithDutiesAndTaxes": 445.54, - "totalDutiesTaxesAndFees": 0.0, - "totalAncillaryFeesAndTaxes": 0.0, - "shipmentRateDetail": { - "rateZone": "CA003O", - "dimDivisor": 0.0, - "fuelSurchargePercent": 10.5, - "totalSurcharges": 42.34, - "totalFreightDiscount": 0.0, - "surCharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "amount": 42.34 - } - ], - "pricingCode": "ACTUAL", - "currencyExchangeRate": { - "fromCurrency": "CAD", - "intoCurrency": "CAD", - "rate": 1.0 - }, - "totalBillingWeight": { - "units": "LB", - "value": 22.0 - }, - "currency": "CAD" - }, - "currency": "CAD" - }, - { - "rateType": "PREFERRED_INCENTIVE", - "ratedWeightMethod": "ACTUAL", - "totalDiscounts": 0.0, - "totalBaseCharge": 308.71, - "totalNetCharge": 341.13, - "totalVatCharge": 0.0, - "totalNetFedExCharge": 341.13, - "totalDutiesAndTaxes": 0.0, - "totalNetChargeWithDutiesAndTaxes": 341.13, - "totalDutiesTaxesAndFees": 0.0, - "totalAncillaryFeesAndTaxes": 0.0, - "shipmentRateDetail": { - "rateZone": "CA003O", - "dimDivisor": 0.0, - "fuelSurchargePercent": 10.5, - "totalSurcharges": 32.42, - "totalFreightDiscount": 0.0, - "surCharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "amount": 32.42 - } - ], - "pricingCode": "ACTUAL", - "currencyExchangeRate": { - "fromCurrency": "CAD", - "intoCurrency": "USD", - "rate": 0.77 - }, - "totalBillingWeight": { - "units": "LB", - "value": 22.0 - }, - "currency": "USD" - }, - "currency": "USD" - }, - { - "rateType": "PREFERRED_CURRENCY", - "ratedWeightMethod": "ACTUAL", - "totalDiscounts": 0.0, - "totalBaseCharge": 308.71, - "totalNetCharge": 341.13, - "totalVatCharge": 0.0, - "totalNetFedExCharge": 341.13, - "totalDutiesAndTaxes": 0.0, - "totalNetChargeWithDutiesAndTaxes": 341.13, - "totalDutiesTaxesAndFees": 0.0, - "totalAncillaryFeesAndTaxes": 0.0, - "shipmentRateDetail": { - "rateZone": "CA003O", - "dimDivisor": 0.0, - "fuelSurchargePercent": 10.5, - "totalSurcharges": 32.42, - "totalFreightDiscount": 0.0, - "surCharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "amount": 32.42 - } - ], - "pricingCode": "ACTUAL", - "currencyExchangeRate": { - "fromCurrency": "CAD", - "intoCurrency": "USD", - "rate": 0.77 - }, - "totalBillingWeight": { - "units": "LB", - "value": 22 - }, - "currency": "USD" - }, - "currency": "USD" - } - ], - "anonymouslyAllowable": true, - "operationalDetail": { - "originLocationIds": "COSA", - "commitDays": "", - "serviceCode": "92", - "airportId": "MEM", - "scac": "", - "originServiceAreas": "AM", - "deliveryDay": "TUE", - "originLocationNumbers": 1162, - "destinationPostalCode": "38125", - "commitDate": "2019-07-22T08:30:00", - "astraDescription": "INTL1ST", - "deliveryDate": "", - "deliveryEligibilities": "", - "ineligibleForMoneyBackGuarantee": false, - "maximumTransitTime": "", - "astraPlannedServiceLevel": "", - "destinationLocationIds": "EHTA", - "destinationLocationStateOrProvinceCodes": "CT", - "transitTime": "THREE_DAYS", - "packagingCode": "02", - "destinationLocationNumbers": 892, - "publishedDeliveryTime": "06:30:00", - "countryCodes": "US", - "stateOrProvinceCodes": "TX", - "ursaPrefixCode": "82", - "ursaSuffixCode": "EHTA", - "destinationServiceAreas": "AA", - "originPostalCodes": "75063", - "customTransitTime": "" - }, - "signatureOptionType": "SERVICE_DEFAULT", - "serviceDescription": { - "serviceId": "EP1000000007", - "serviceType": "INTERNATIONAL_FIRST", - "code": "06", - "names": [ - { - "type": "long", - "encoding": "utf-8", - "value": "Ninja Van International First®" - }, - { - "type": "long", - "encoding": "ascii", - "value": "Ninja Van International First" - }, - { - "type": "medium", - "encoding": "utf-8", - "value": "Ninja Van International First®" - }, - { - "type": "medium", - "encoding": "ascii", - "value": "Ninja Van International First" - }, - { - "type": "short", - "encoding": "utf-8", - "value": "FO" - }, - { - "type": "short", - "encoding": "ascii", - "value": "FO" - }, - { - "type": "abbrv", - "encoding": "ascii", - "value": "FO" - } - ], - "operatingOrgCodes": [ - "FXE" - ], - "serviceCategory": "parcel", - "description": "International First", - "astraDescription": "INTL1ST" - }, - "commit": { - "dateDetail": { - "dayOfWeek": "THU", - "dayCxsFormat": "2020-07-16T10:30:00" - } - } - }, - { - "serviceType": "INTERNATIONAL_PRIORITY", - "serviceName": "Ninja Van International Priority", - "packagingType": "YOUR_PACKAGING", - "customerMessages": [ - { - "code": "SERVICE.TYPE.INTERNATIONAL.MESSAGE", - "message": "Rate does not include duties & taxes, clearance entry fees or other import fees. The payor of duties/taxes/fees will be responsible for any applicable Clearance Entry Fees." - }, - { - "code": "EDT.DETAILS.MISSING", - "message": "The harmonized code for the commodity at array index 1 is missing or invalid; estimated duties and taxes were not returned." - } - ], - "ratedShipmentDetails": [ - { - "rateType": "ACCOUNT", - "ratedWeightMethod": "ACTUAL", - "totalDiscounts": 0.0, - "totalBaseCharge": 312.35, - "totalNetCharge": 345.15, - "totalVatCharge": 0.0, - "totalNetFedExCharge": 345.15, - "totalDutiesAndTaxes": 0.0, - "totalNetChargeWithDutiesAndTaxes": 345.15, - "totalDutiesTaxesAndFees": 0.0, - "totalAncillaryFeesAndTaxes": 0.0, - "shipmentRateDetail": { - "rateZone": "CA003O", - "dimDivisor": 0.0, - "fuelSurchargePercent": 10.5, - "totalSurcharges": 32.8, - "totalFreightDiscount": 0.0, - "surCharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "amount": 32.8 - } - ], - "pricingCode": "ACTUAL", - "currencyExchangeRate": { - "fromCurrency": "CAD", - "intoCurrency": "CAD", - "rate": 1 - }, - "totalBillingWeight": { - "units": "LB", - "value": 22 - }, - "currency": "CAD" - }, - "currency": "CAD" - }, - { - "rateType": "LIST", - "ratedWeightMethod": "ACTUAL", - "totalDiscounts": 0.0, - "totalBaseCharge": 78.99, - "totalNetCharge": 87.28, - "totalVatCharge": 0.0, - "totalNetFedExCharge": 87.28, - "totalDutiesAndTaxes": 0.0, - "totalNetChargeWithDutiesAndTaxes": 87.28, - "totalDutiesTaxesAndFees": 0.0, - "totalAncillaryFeesAndTaxes": 0.0, - "shipmentRateDetail": { - "rateZone": "CA1520", - "dimDivisor": 0.0, - "fuelSurchargePercent": 10.5, - "totalSurcharges": 8.29, - "totalFreightDiscount": 0.0, - "surCharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "amount": 8.29 - } - ], - "pricingCode": "ACTUAL", - "currencyExchangeRate": { - "fromCurrency": "CAD", - "intoCurrency": "CAD", - "rate": 1 - }, - "totalBillingWeight": { - "units": "LB", - "value": 22 - }, - "currency": "CAD" - }, - "currency": "CAD" - }, - { - "rateType": "PREFERRED_INCENTIVE", - "ratedWeightMethod": "ACTUAL", - "totalDiscounts": 0.0, - "totalBaseCharge": 60.48, - "totalNetCharge": 66.83, - "totalVatCharge": 0.0, - "totalNetFedExCharge": 66.83, - "totalDutiesAndTaxes": 0.0, - "totalNetChargeWithDutiesAndTaxes": 66.83, - "totalDutiesTaxesAndFees": 0.0, - "totalAncillaryFeesAndTaxes": 0.0, - "shipmentRateDetail": { - "rateZone": "CA1520", - "dimDivisor": 0.0, - "fuelSurchargePercent": 10.5, - "totalSurcharges": 6.3, - "totalFreightDiscount": 0.0, - "surCharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "amount": 6.35 - } - ], - "pricingCode": "ACTUAL", - "currencyExchangeRate": { - "fromCurrency": "CAD", - "intoCurrency": "USD", - "rate": 0.77 - }, - "totalBillingWeight": { - "units": "LB", - "value": 22 - }, - "currency": "USD" - }, - "currency": "USD" - }, - { - "rateType": "PREFERRED_CURRENCY", - "ratedWeightMethod": "ACTUAL", - "totalDiscounts": 0.0, - "totalBaseCharge": 239.15, - "totalNetCharge": 264.26, - "totalVatCharge": 0.0, - "totalNetFedExCharge": 264.26, - "totalDutiesAndTaxes": 0.0, - "totalNetChargeWithDutiesAndTaxes": 264.26, - "totalDutiesTaxesAndFees": 0.0, - "totalAncillaryFeesAndTaxes": 0.0, - "shipmentRateDetail": { - "rateZone": "CA003O", - "dimDivisor": 0.0, - "fuelSurchargePercent": 10.5, - "totalSurcharges": 25.11, - "totalFreightDiscount": 0.0, - "surCharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "amount": 25.11 - } - ], - "pricingCode": "ACTUAL", - "currencyExchangeRate": { - "fromCurrency": "CAD", - "intoCurrency": "USD", - "rate": 0.77 - }, - "totalBillingWeight": { - "units": "LB", - "value": 22 - }, - "currency": "USD" - }, - "currency": "USD" - } - ], - "anonymouslyAllowable": true, - "operationalDetail": { - "ineligibleForMoneyBackGuarantee": false, - "astraDescription": "IP", - "airportId": "MEM", - "serviceCode": "01", - "originLocationIds": "COSA", - "commitDays": "", - "scac": "", - "originServiceAreas": "AM", - "deliveryDay": "TUE", - "originLocationNumbers": 1162, - "destinationPostalCode": "38125", - "commitDate": "2019-07-22T08:30:00", - "deliveryDate": "", - "deliveryEligibilities": "", - "maximumTransitTime": "", - "astraPlannedServiceLevel": "", - "destinationLocationIds": "EHTA", - "destinationLocationStateOrProvinceCodes": "CT", - "transitTime": "THREE_DAYS", - "packagingCode": "02", - "destinationLocationNumbers": 892, - "publishedDeliveryTime": "06:30:00", - "countryCodes": "US", - "stateOrProvinceCodes": "TX", - "ursaPrefixCode": "82", - "ursaSuffixCode": "EHTA", - "destinationServiceAreas": "AA", - "originPostalCodes": "75063", - "customTransitTime": "" - }, - "signatureOptionType": "SERVICE_DEFAULT", - "serviceDescription": { - "serviceId": "EP1000000001", - "serviceType": "INTERNATIONAL_PRIORITY", - "code": "01", - "names": [ - { - "type": "long", - "encoding": "utf-8", - "value": "Ninja Van International Priority®" - }, - { - "type": "long", - "encoding": "ascii", - "value": "Ninja Van International Priority" - }, - { - "type": "medium", - "encoding": "utf-8", - "value": "Ninja Van International Priority®" - }, - { - "type": "medium", - "encoding": "ascii", - "value": "Ninja Van International Priority" - }, - { - "type": "short", - "encoding": "utf-8", - "value": "IP" - }, - { - "type": "short", - "encoding": "ascii", - "value": "IP" - }, - { - "type": "abbrv", - "encoding": "ascii", - "value": "IP" - } - ], - "operatingOrgCodes": [ - "FXE" - ], - "serviceCategory": "parcel", - "description": "International Priority", - "astraDescription": "IP" - }, - "commit": { - "dateDetail": { - "dayOfWeek": "FRI", - "dayCxsFormat": "2020-07-16T10:30:00" - } - } - }, - { - "serviceType": "INTERNATIONAL_ECONOMY", - "serviceName": "Ninja Van International Economy", - "packagingType": "YOUR_PACKAGING", - "customerMessages": [ - { - "code": "SERVICE.TYPE.INTERNATIONAL.MESSAGE", - "message": "Rate does not include duties & taxes, clearance entry fees or other import fees. The payor of duties/taxes/fees will be responsible for any applicable Clearance Entry Fees." - }, - { - "code": "EDT.DETAILS.MISSING", - "message": "The harmonized code for the commodity at array index 1 is missing or invalid; estimated duties and taxes were not returned." - } - ], - "ratedShipmentDetails": [ - { - "rateType": "ACCOUNT", - "ratedWeightMethod": "ACTUAL", - "totalDiscounts": 0.0, - "totalBaseCharge": 189.65, - "totalNetCharge": 209.56, - "totalVatCharge": 0.0, - "totalNetFedExCharge": 209.56, - "totalDutiesAndTaxes": 0.0, - "totalNetChargeWithDutiesAndTaxes": 209.56, - "totalDutiesTaxesAndFees": 0.0, - "totalAncillaryFeesAndTaxes": 0.0, - "shipmentRateDetail": { - "rateZone": "CA003O", - "dimDivisor": 0.0, - "fuelSurchargePercent": 10.5, - "totalSurcharges": 19.91, - "totalFreightDiscount": 0.0, - "surCharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "amount": 19.91 - } - ], - "pricingCode": "ACTUAL", - "currencyExchangeRate": { - "fromCurrency": "CAD", - "intoCurrency": "CAD", - "rate": 1 - }, - "totalBillingWeight": { - "units": "LB", - "value": 22 - }, - "currency": "CAD" - }, - "currency": "CAD" - }, - { - "rateType": "LIST", - "ratedWeightMethod": "ACTUAL", - "totalDiscounts": 0.0, - "totalBaseCharge": 48.56, - "totalNetCharge": 53.66, - "totalVatCharge": 0.0, - "totalNetFedExCharge": 53.66, - "totalDutiesAndTaxes": 0.0, - "totalNetChargeWithDutiesAndTaxes": 53.66, - "totalDutiesTaxesAndFees": 0.0, - "totalAncillaryFeesAndTaxes": 0.0, - "shipmentRateDetail": { - "rateZone": "CA1520", - "dimDivisor": 0.0, - "fuelSurchargePercent": 10.5, - "totalSurcharges": 5.1, - "totalFreightDiscount": 0.0, - "surCharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "amount": 5.1 - } - ], - "pricingCode": "ACTUAL", - "currencyExchangeRate": { - "fromCurrency": "CAD", - "intoCurrency": "CAD", - "rate": 1 - }, - "totalBillingWeight": { - "units": "LB", - "value": 22 - }, - "currency": "CAD" - }, - "currency": "CAD" - }, - { - "rateType": "PREFERRED_INCENTIVE", - "ratedWeightMethod": "ACTUAL", - "totalDiscounts": 0.0, - "totalBaseCharge": 37.18, - "totalNetCharge": 41.08, - "totalVatCharge": 0.0, - "totalNetFedExCharge": 41.08, - "totalDutiesAndTaxes": 0.0, - "totalNetChargeWithDutiesAndTaxes": 41.08, - "totalDutiesTaxesAndFees": 0.0, - "totalAncillaryFeesAndTaxes": 0.0, - "shipmentRateDetail": { - "rateZone": "CA1520", - "dimDivisor": 0.0, - "fuelSurchargePercent": 10.5, - "totalSurcharges": 3.9, - "totalFreightDiscount": 0.0, - "surCharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "amount": 3.9 - } - ], - "pricingCode": "ACTUAL", - "currencyExchangeRate": { - "fromCurrency": "CAD", - "intoCurrency": "USD", - "rate": 0.77 - }, - "totalBillingWeight": { - "units": "LB", - "value": 22 - }, - "currency": "USD" - }, - "currency": "USD" - }, - { - "rateType": "PREFERRED_CURRENCY", - "ratedWeightMethod": "ACTUAL", - "totalDiscounts": 0.0, - "totalBaseCharge": 145.21, - "totalNetCharge": 160.45, - "totalVatCharge": 0.0, - "totalNetFedExCharge": 160.45, - "totalDutiesAndTaxes": 0.0, - "totalNetChargeWithDutiesAndTaxes": 160.45, - "totalDutiesTaxesAndFees": 0.0, - "totalAncillaryFeesAndTaxes": 0.0, - "shipmentRateDetail": { - "rateZone": "CA003O", - "dimDivisor": 0.0, - "fuelSurchargePercent": 10.5, - "totalSurcharges": 15.24, - "totalFreightDiscount": 0.0, - "surCharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "amount": 15.24 - } - ], - "pricingCode": "ACTUAL", - "currencyExchangeRate": { - "fromCurrency": "CAD", - "intoCurrency": "USD", - "rate": 0.77 - }, - "totalBillingWeight": { - "units": "LB", - "value": 22 - }, - "currency": "USD" - }, - "currency": "USD" - } - ], - "anonymouslyAllowable": true, - "operationalDetail": { - "ineligibleForMoneyBackGuarantee": false, - "astraDescription": "IE", - "airportId": "MEM", - "serviceCode": "03", - "originLocationIds": "COSA", - "originServiceAreas": "AM", - "deliveryDay": "TUE", - "originLocationNumbers": 1162, - "destinationPostalCode": "38125", - "destinationLocationIds": "EHTA", - "destinationLocationStateOrProvinceCodes": "CT", - "transitTime": "THREE_DAYS", - "packagingCode": "02", - "destinationLocationNumbers": 892, - "publishedDeliveryTime": "06:30:00", - "countryCodes": "US", - "stateOrProvinceCodes": "TX", - "ursaPrefixCode": "82", - "ursaSuffixCode": "EHTA", - "destinationServiceAreas": "AA", - "originPostalCodes": "75063" - }, - "signatureOptionType": "SERVICE_DEFAULT", - "serviceDescription": { - "serviceId": "EP1000000004", - "serviceType": "INTERNATIONAL_ECONOMY", - "code": "03", - "names": [ - { - "type": "long", - "encoding": "utf-8", - "value": "Ninja Van International Economy®" - }, - { - "type": "long", - "encoding": "ascii", - "value": "Ninja Van International Economy" - }, - { - "type": "medium", - "encoding": "utf-8", - "value": "Ninja Van International Economy®" - }, - { - "type": "medium", - "encoding": "ascii", - "value": "Ninja Van International Economy" - }, - { - "type": "short", - "encoding": "utf-8", - "value": "IE" - }, - { - "type": "short", - "encoding": "ascii", - "value": "IE" - }, - { - "type": "abbrv", - "encoding": "ascii", - "value": "IE" - } - ], - "operatingOrgCodes": [ - "FXE" - ], - "serviceCategory": "parcel", - "description": "International Two Day", - "astraDescription": "IE" - } - }, - { - "serviceType": "Ninja Van_GROUND", - "serviceName": "Ninja Van International Ground�", - "packagingType": "YOUR_PACKAGING", - "customerMessages": [ - { - "code": "SERVICE.TYPE.INTERNATIONAL.MESSAGE", - "message": "Rate does not include duties & taxes, clearance entry fees or other import fees. The payor of duties/taxes/fees will be responsible for any applicable Clearance Entry Fees." - }, - { - "code": "EDT.DETAILS.MISSING", - "message": "The harmonized code for the commodity at array index 1 is missing or invalid; estimated duties and taxes were not returned." - } - ], - "ratedShipmentDetails": [ - { - "rateType": "ACCOUNT", - "ratedWeightMethod": "ACTUAL", - "totalDiscounts": 2.79, - "totalBaseCharge": 49.85, - "totalNetCharge": 53.59, - "totalVatCharge": 0.0, - "totalNetFedExCharge": 53.59, - "totalDutiesAndTaxes": 0.0, - "totalNetChargeWithDutiesAndTaxes": 53.59, - "totalDutiesTaxesAndFees": 0.0, - "totalAncillaryFeesAndTaxes": 0.0, - "shipmentRateDetail": { - "rateZone": "52", - "dimDivisor": 0.0, - "fuelSurchargePercent": 7.5, - "totalSurcharges": 3.74, - "totalFreightDiscount": 0.0, - "surCharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "level": "PACKAGE", - "amount": 3.74 - } - ], - "totalBillingWeight": { - "units": "LB", - "value": 22 - }, - "currency": "CAD" - }, - "ratedPackages": [ - { - "groupNumber": 0.0, - "effectiveNetDiscount": 2.79, - "packageRateDetail": { - "rateType": "PAYOR_ACCOUNT_PACKAGE", - "ratedWeightMethod": "ACTUAL", - "baseCharge": 49.85, - "netFreight": 49.85, - "totalSurcharges": 3.74, - "netFedExCharge": 53.59, - "totalTaxes": 0.0, - "netCharge": 53.59, - "totalRebates": 0.0, - "billingWeight": { - "units": "LB", - "value": 22 - }, - "totalFreightDiscounts": 0.0, - "surcharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "level": "PACKAGE", - "amount": 3.74 - } - ], - "currency": "CAD" - } - } - ], - "currency": "CAD" - }, - { - "rateType": "PREFERRED_INCENTIVE", - "ratedWeightMethod": "ACTUAL", - "totalDiscounts": 0.0, - "totalBaseCharge": 40.16, - "totalNetCharge": 43.17, - "totalVatCharge": 0.0, - "totalNetFedExCharge": 43.17, - "totalDutiesAndTaxes": 0.0, - "totalNetChargeWithDutiesAndTaxes": 43.17, - "totalDutiesTaxesAndFees": 0.0, - "totalAncillaryFeesAndTaxes": 0.0, - "shipmentRateDetail": { - "rateZone": "52", - "dimDivisor": 0.0, - "fuelSurchargePercent": 7.5, - "totalSurcharges": 3.01, - "totalFreightDiscount": 0.0, - "surCharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "level": "PACKAGE", - "amount": 3.01 - } - ], - "currencyExchangeRate": { - "fromCurrency": "CAD", - "intoCurrency": "USD", - "rate": 0.77 - }, - "totalBillingWeight": { - "units": "LB", - "value": 22 - }, - "currency": "USD" - }, - "ratedPackages": [ - { - "groupNumber": 0.0, - "effectiveNetDiscount": 0.0, - "packageRateDetail": { - "rateType": "PREFERRED_LIST_PACKAGE", - "ratedWeightMethod": "ACTUAL", - "baseCharge": 40.16, - "netFreight": 40.16, - "totalSurcharges": 3.01, - "netFedExCharge": 43.17, - "totalTaxes": 0.0, - "netCharge": 43.17, - "totalRebates": 0.0, - "billingWeight": { - "units": "LB", - "value": 22 - }, - "totalFreightDiscounts": 0.0, - "surcharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "level": "PACKAGE", - "amount": 3.01 - } - ], - "currency": "USD" - } - } - ] - }, - { - "rateType": "PREFERRED_CURRENCY", - "ratedWeightMethod": "ACTUAL", - "totalDiscounts": 0.0, - "totalBaseCharge": 38.17, - "totalNetCharge": 41.03, - "totalVatCharge": 0.0, - "totalNetFedExCharge": 41.03, - "totalDutiesAndTaxes": 0.0, - "totalNetChargeWithDutiesAndTaxes": 41.03, - "totalDutiesTaxesAndFees": 0.0, - "totalAncillaryFeesAndTaxes": 0.0, - "shipmentRateDetail": { - "rateZone": "52", - "dimDivisor": 0.0, - "fuelSurchargePercent": 7.5, - "totalSurcharges": 2.86, - "totalFreightDiscount": 0.0, - "surCharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "level": "PACKAGE", - "amount": 2.86 - } - ], - "currencyExchangeRate": { - "fromCurrency": "CAD", - "intoCurrency": "USD", - "rate": 0.77 - }, - "totalBillingWeight": { - "units": "LB", - "value": 22 - }, - "currency": "USD" - }, - "ratedPackages": [ - { - "groupNumber": 0.0, - "effectiveNetDiscount": 0.0, - "packageRateDetail": { - "rateType": "PREFERRED_ACCOUNT_PACKAGE", - "ratedWeightMethod": "ACTUAL", - "baseCharge": 38.17, - "netFreight": 38.17, - "totalSurcharges": 2.86, - "netFedExCharge": 41.03, - "totalTaxes": 0.0, - "netCharge": 41.03, - "totalRebates": 0.0, - "billingWeight": { - "units": "LB", - "value": 22 - }, - "totalFreightDiscounts": 0.0, - "surcharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "level": "PACKAGE", - "amount": 2.86 - } - ], - "currency": "USD" - } - } - ], - "currency": "USD" - }, - { - "rateType": "LIST", - "ratedWeightMethod": "ACTUAL", - "totalDiscounts": 0.0, - "totalBaseCharge": 52.45, - "totalNetCharge": 56.38, - "totalVatCharge": 0.0, - "totalNetFedExCharge": 56.38, - "totalDutiesAndTaxes": 0.0, - "totalNetChargeWithDutiesAndTaxes": 56.38, - "totalDutiesTaxesAndFees": 0.0, - "totalAncillaryFeesAndTaxes": 0.0, - "shipmentRateDetail": { - "rateZone": "52", - "dimDivisor": 0.0, - "fuelSurchargePercent": 7.5, - "totalSurcharges": 3.93, - "totalFreightDiscount": 0.0, - "surCharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "level": "PACKAGE", - "amount": 3.93 - } - ], - "totalBillingWeight": { - "units": "LB", - "value": 2 - }, - "currency": "CAD" - }, - "ratedPackages": [ - { - "groupNumber": 0.0, - "effectiveNetDiscount": 0.0, - "packageRateDetail": { - "rateType": "PAYOR_LIST_PACKAGE", - "ratedWeightMethod": "ACTUAL", - "baseCharge": 52.45, - "netFreight": 52.45, - "totalSurcharges": 3.93, - "netFedExCharge": 56.38, - "totalTaxes": 0.0, - "netCharge": 56.38, - "totalRebates": 0.0, - "billingWeight": { - "units": "LB", - "value": 22 - }, - "totalFreightDiscounts": 0.0, - "surcharges": [ - { - "type": "FUEL", - "description": "Fuel Surcharge", - "level": "PACKAGE", - "amount": 3.93 - } - ], - "currency": "CAD" - } - } - ], - "currency": "CAD", - "anonymouslyAllowable": true, - "operationalDetail": { - "ineligibleForMoneyBackGuarantee": false, - "astraDescription": "FXG", - "airportId": "MEM", - "serviceCode": "92", - "originLocationIds": "COSA", - "commitDays": "", - "scac": "", - "originServiceAreas": "AM", - "deliveryDay": "TUE", - "originLocationNumbers": 1162, - "destinationPostalCode": "38125", - "commitDate": "2019-07-22T08:30:00", - "deliveryDate": "", - "deliveryEligibilities": "", - "maximumTransitTime": "", - "astraPlannedServiceLevel": "", - "destinationLocationIds": "EHTA", - "destinationLocationStateOrProvinceCodes": "CT", - "transitTime": "THREE_DAYS", - "packagingCode": "02", - "destinationLocationNumbers": 892, - "publishedDeliveryTime": "06:30:00", - "countryCodes": "US", - "stateOrProvinceCodes": "TX", - "ursaPrefixCode": "82", - "ursaSuffixCode": "EHTA", - "destinationServiceAreas": "AA", - "originPostalCodes": "75063", - "customTransitTime": "" - }, - "signatureOptionType": "SERVICE_DEFAULT", - "serviceDescription": { - "serviceId": "EP1000000135", - "serviceType": "Ninja_Van_GROUND", - "code": "92", - "names": [ - { - "type": "long", - "encoding": "utf-8", - "value": "Ninja Van International Ground®" - }, - { - "type": "long", - "encoding": "ascii", - "value": "Ninja Van International Ground" - }, - { - "type": "medium", - "encoding": "utf-8", - "value": "International Ground®" - }, - { - "type": "medium", - "encoding": "ascii", - "value": "International Ground" - }, - { - "type": "short", - "encoding": "utf-8", - "value": "IG" - }, - { - "type": "short", - "encoding": "ascii", - "value": "IG" - }, - { - "type": "abbrv", - "encoding": "ascii", - "value": "SG" - } - ], - "operatingOrgCodes": [ - "FXG" - ], - "description": "Ninja Van Ground", - "astraDescription": "FXG" - } - } - ] - } - ], - "quoteDate": "2019-09-06", - "encoded": false, - "alerts": [ - { - "code": "MONEYBACKGUARANTEE.NOT.ELIGIBLE", - "message": "We are unable to process this request. Please try again later or contact FedEx Customer Service.", - "alertType": "NOTE" - } - ] - } -} diff --git a/modules/connectors/ninja_van/schemas/shipping_request.json b/modules/connectors/ninja_van/schemas/shipping_request.json deleted file mode 100644 index d4312e9906..0000000000 --- a/modules/connectors/ninja_van/schemas/shipping_request.json +++ /dev/null @@ -1,1178 +0,0 @@ -{ - "mergeLabelDocOption": "LABELS_AND_DOCS", - "requestedShipment": { - "shipDatestamp": "2019-10-14", - "totalDeclaredValue": { - "amount": 12.45, - "currency": "USD" - }, - "shipper": { - "address": { - "streetLines": [ - "10 Ninja Van Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "90210", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "John Taylor", - "emailAddress": "sample@company.com", - "phoneExtension": "91", - "phoneNumber": "XXXX567890", - "companyName": "Ninja Van" - }, - "tins": [ - { - "number": "XXX567", - "tinType": "FEDERAL", - "usage": "usage", - "effectiveDate": "2000-01-23T04:56:07.000+00:00", - "expirationDate": "2000-01-23T04:56:07.000+00:00" - } - ] - }, - "soldTo": { - "address": { - "streetLines": [ - "10 Ninja Van Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "90210", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "John Taylor", - "emailAddress": "sample@company.com", - "phoneExtension": "91", - "phoneNumber": "1234567890", - "companyName": "Ninja Van" - }, - "tins": [ - { - "number": "123567", - "tinType": "FEDERAL", - "usage": "usage", - "effectiveDate": "2000-01-23T04:56:07.000+00:00", - "expirationDate": "2000-01-23T04:56:07.000+00:00" - } - ], - "accountNumber": { - "value": "Your account number" - } - }, - "recipients": [ - { - "address": { - "streetLines": [ - "10 Ninja Van Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "90210", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "John Taylor", - "emailAddress": "sample@company.com", - "phoneExtension": "000", - "phoneNumber": "XXXX345671", - "companyName": "Ninja Van" - }, - "tins": [ - { - "number": "123567", - "tinType": "FEDERAL", - "usage": "usage", - "effectiveDate": "2000-01-23T04:56:07.000+00:00", - "expirationDate": "2000-01-23T04:56:07.000+00:00" - } - ], - "deliveryInstructions": "Delivery Instructions" - } - ], - "recipientLocationNumber": "1234567", - "pickupType": "USE_SCHEDULED_PICKUP", - "serviceType": "PRIORITY_OVERNIGHT", - "packagingType": "YOUR_PACKAGING", - "totalWeight": 20.6, - "origin": { - "address": { - "streetLines": [ - "10 Ninja Van Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "38127", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "person name", - "emailAddress": "email address", - "phoneNumber": "phone number", - "phoneExtension": "phone extension", - "companyName": "company name", - "faxNumber": "fax number" - } - }, - "shippingChargesPayment": { - "paymentType": "SENDER", - "payor": { - "responsibleParty": { - "address": { - "streetLines": [ - "10 Ninja Van Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "90210", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "John Taylor", - "emailAddress": "sample@company.com", - "phoneNumber": "XXXX567890", - "phoneExtension": "phone extension", - "companyName": "Ninja Van", - "faxNumber": "fax number" - }, - "accountNumber": { - "value": "Your account number" - } - } - } - }, - "shipmentSpecialServices": { - "specialServiceTypes": [ - "THIRD_PARTY_CONSIGNEE", - "PROTECTION_FROM_FREEZING" - ], - "etdDetail": { - "attributes": [ - "POST_SHIPMENT_UPLOAD_REQUESTED" - ], - "attachedDocuments": [ - { - "documentType": "PRO_FORMA_INVOICE", - "documentReference": "DocumentReference", - "description": "PRO FORMA INVOICE", - "documentId": "090927d680038c61" - } - ], - "requestedDocumentTypes": [ - "VICS_BILL_OF_LADING", - "GENERAL_AGENCY_AGREEMENT" - ] - }, - "returnShipmentDetail": { - "returnEmailDetail": { - "merchantPhoneNumber": "19012635656", - "allowedSpecialService": [ - "SATURDAY_DELIVERY" - ] - }, - "rma": { - "reason": "Wrong Size or Color" - }, - "returnAssociationDetail": { - "shipDatestamp": "2019-10-01", - "trackingNumber": "123456789" - }, - "returnType": "PRINT_RETURN_LABEL" - }, - "deliveryOnInvoiceAcceptanceDetail": { - "recipient": { - "address": { - "streetLines": [ - "23, RUE JOSEPH-DE MA", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "90210", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "John Taylor", - "emailAddress": "sample@company.com", - "phoneExtension": "000", - "phoneNumber": "1234567890", - "companyName": "Fedex" - }, - "tins": [ - { - "number": "123567", - "tinType": "FEDERAL", - "usage": "usage", - "effectiveDate": "2000-01-23T04:56:07.000+00:00", - "expirationDate": "2000-01-23T04:56:07.000+00:00" - } - ], - "deliveryInstructions": "Delivery Instructions" - } - }, - "internationalTrafficInArmsRegulationsDetail": { - "licenseOrExemptionNumber": "9871234" - }, - "pendingShipmentDetail": { - "pendingShipmentType": "EMAIL", - "processingOptions": { - "options": [ - "ALLOW_MODIFICATIONS" - ] - }, - "recommendedDocumentSpecification": { - "types": "ANTIQUE_STATEMENT_EUROPEAN_UNION" - }, - "emailLabelDetail": { - "recipients": [ - { - "emailAddress": "neena@fedex.com", - "optionsRequested": { - "options": [ - "PRODUCE_PAPERLESS_SHIPPING_FORMAT", - "SUPPRESS_ACCESS_EMAILS" - ] - }, - "role": "SHIPMENT_COMPLETOR", - "locale": "en_US" - } - ], - "message": "your optional message" - }, - "attachedDocuments": [ - { - "documentType": "PRO_FORMA_INVOICE", - "documentReference": "DocumentReference", - "description": "PRO FORMA INVOICE", - "documentId": "090927d680038c61" - } - ], - "expirationTimeStamp": "2020-01-01" - }, - "holdAtLocationDetail": { - "locationId": "YBZA", - "locationContactAndAddress": { - "address": { - "streetLines": [ - "10 FedEx Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "38127", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "person name", - "emailAddress": "email address", - "phoneNumber": "phone number", - "phoneExtension": "phone extension", - "companyName": "company name", - "faxNumber": "fax number" - } - }, - "locationType": "FEDEX_ONSITE" - }, - "shipmentCODDetail": { - "addTransportationChargesDetail": { - "rateType": "ACCOUNT", - "rateLevelType": "BUNDLED_RATE", - "chargeLevelType": "CURRENT_PACKAGE", - "chargeType": "COD_SURCHARGE" - }, - "codRecipient": { - "address": { - "streetLines": [ - "10 FedEx Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "90210", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "John Taylor", - "emailAddress": "sample@company.com", - "phoneExtension": "000", - "phoneNumber": "XXXX345671", - "companyName": "Fedex" - }, - "accountNumber": { - "value": "Your account number" - }, - "tins": [ - { - "number": "123567", - "tinType": "FEDERAL", - "usage": "usage", - "effectiveDate": "2000-01-23T04:56:07.000+00:00", - "expirationDate": "2000-01-23T04:56:07.000+00:00" - } - ] - }, - "remitToName": "remitToName", - "codCollectionType": "ANY", - "financialInstitutionContactAndAddress": { - "address": { - "streetLines": [ - "10 FedEx Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "38127", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "person name", - "emailAddress": "email address", - "phoneNumber": "phone number", - "phoneExtension": "phone extension", - "companyName": "company name", - "faxNumber": "fax number" - } - }, - "codCollectionAmount": { - "amount": 12.45, - "currency": "USD" - }, - "returnReferenceIndicatorType": "INVOICE", - "shipmentCodAmount": { - "amount": 12.45, - "currency": "USD" - } - }, - "shipmentDryIceDetail": { - "totalWeight": { - "units": "LB", - "value": 10 - }, - "packageCount": 12 - }, - "internationalControlledExportDetail": { - "licenseOrPermitExpirationDate": "2019-12-03", - "licenseOrPermitNumber": "11", - "entryNumber": "125", - "foreignTradeZoneCode": "US", - "type": "WAREHOUSE_WITHDRAWAL" - }, - "homeDeliveryPremiumDetail": { - "phoneNumber": { - "areaCode": "901", - "localNumber": "3575012", - "extension": "200", - "personalIdentificationNumber": "98712345" - }, - "deliveryDate": "2019-06-26", - "homedeliveryPremiumType": "APPOINTMENT" - } - }, - "emailNotificationDetail": { - "aggregationType": "PER_PACKAGE", - "emailNotificationRecipients": [ - { - "name": "Joe Smith", - "emailNotificationRecipientType": "SHIPPER", - "emailAddress": "jsmith3@aol.com", - "notificationFormatType": "TEXT", - "notificationType": "EMAIL", - "locale": "en_US", - "notificationEventType": [ - "ON_PICKUP_DRIVER_ARRIVED", - "ON_SHIPMENT" - ] - } - ], - "personalMessage": "your personal message here" - }, - "expressFreightDetail": { - "bookingConfirmationNumber": "123456789812", - "shippersLoadAndCount": 123, - "packingListEnclosed": true - }, - "variableHandlingChargeDetail": { - "rateType": "PREFERRED_CURRENCY", - "percentValue": 12.45, - "rateLevelType": "INDIVIDUAL_PACKAGE_RATE", - "fixedValue": { - "amount": 24.45, - "currency": "USD" - }, - "rateElementBasis": "NET_CHARGE_EXCLUDING_TAXES" - }, - "customsClearanceDetail": { - "regulatoryControls": "NOT_IN_FREE_CIRCULATION", - "brokers": [ - { - "broker": { - "address": { - "streetLines": [ - "10 FedEx Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "90210", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "John Taylor", - "emailAddress": "sample@company.com", - "phoneNumber": "1234567890", - "phoneExtension": 91, - "companyName": "Fedex", - "faxNumber": 1234567 - }, - "accountNumber": { - "value": "Your account number" - }, - "tins": [ - { - "number": "number", - "tinType": "FEDERAL", - "usage": "usage", - "effectiveDate": "2000-01-23T04:56:07.000+00:00", - "expirationDate": "2000-01-23T04:56:07.000+00:00" - } - ], - "deliveryInstructions": "deliveryInstructions" - }, - "type": "IMPORT" - } - ], - "commercialInvoice": { - "originatorName": "originator Name", - "comments": [ - "optional comments for the commercial invoice" - ], - "customerReferences": [ - { - "customerReferenceType": "INVOICE_NUMBER", - "value": "3686" - } - ], - "taxesOrMiscellaneousCharge": { - "amount": 12.45, - "currency": "USD" - }, - "taxesOrMiscellaneousChargeType": "COMMISSIONS", - "freightCharge": { - "amount": 12.45, - "currency": "USD" - }, - "packingCosts": { - "amount": 12.45, - "currency": "USD" - }, - "handlingCosts": { - "amount": 12.45, - "currency": "USD" - }, - "declarationStatement": "declarationStatement", - "termsOfSale": "FCA", - "specialInstructions": "specialInstructions\"", - "shipmentPurpose": "REPAIR_AND_RETURN", - "emailNotificationDetail": { - "emailAddress": "neena@fedex.com", - "type": "EMAILED", - "recipientType": "SHIPPER" - } - }, - "freightOnValue": "OWN_RISK", - "dutiesPayment": { - "payor": { - "responsibleParty": { - "address": { - "streetLines": [ - "10 FedEx Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "38127", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "John Taylor", - "emailAddress": "sample@company.com", - "phoneNumber": "1234567890", - "phoneExtension": "phone extension", - "companyName": "Fedex", - "faxNumber": "fax number" - }, - "accountNumber": { - "value": "Your account number" - }, - "tins": [ - { - "number": "number", - "tinType": "FEDERAL", - "usage": "usage", - "effectiveDate": "2000-01-23T04:56:07.000+00:00", - "expirationDate": "2000-01-23T04:56:07.000+00:00" - }, - { - "number": "number", - "tinType": "FEDERAL", - "usage": "usage", - "effectiveDate": "2000-01-23T04:56:07.000+00:00", - "expirationDate": "2000-01-23T04:56:07.000+00:00" - } - ] - } - }, - "billingDetails": { - "billingCode": "billingCode", - "billingType": "billingType", - "aliasId": "aliasId", - "accountNickname": "accountNickname", - "accountNumber": "Your account number", - "accountNumberCountryCode": "US" - }, - "paymentType": "SENDER" - }, - "commodities": [ - { - "unitPrice": { - "amount": 12.45, - "currency": "USD" - }, - "additionalMeasures": [ - { - "quantity": 12.45, - "units": "KG" - } - ], - "numberOfPieces": 12, - "quantity": 125, - "quantityUnits": "Ea", - "customsValue": { - "amount": "1556.25", - "currency": "USD" - }, - "countryOfManufacture": "US", - "cIMarksAndNumbers": "87123", - "harmonizedCode": "0613", - "description": "description", - "name": "non-threaded rivets", - "weight": { - "units": "KG", - "value": 68 - }, - "exportLicenseNumber": "26456", - "exportLicenseExpirationDate": "2019-08-24T14:15:22Z", - "partNumber": "167", - "purpose": "BUSINESS", - "usmcaDetail": { - "originCriterion": "A" - } - } - ], - "isDocumentOnly": true, - "recipientCustomsId": { - "type": "PASSPORT", - "value": "123" - }, - "customsOption": { - "description": "Description", - "type": "COURTESY_RETURN_LABEL" - }, - "importerOfRecord": { - "address": { - "streetLines": [ - "10 FedEx Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "90210", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "John Taylor", - "emailAddress": "sample@company.com", - "phoneExtension": "000", - "phoneNumber": "XXXX345671", - "companyName": "Fedex" - }, - "accountNumber": { - "value": "Your account number" - }, - "tins": [ - { - "number": "123567", - "tinType": "FEDERAL", - "usage": "usage", - "effectiveDate": "2000-01-23T04:56:07.000+00:00", - "expirationDate": "2000-01-23T04:56:07.000+00:00" - } - ] - }, - "generatedDocumentLocale": "en_US", - "exportDetail": { - "destinationControlDetail": { - "endUser": "dest country user", - "statementTypes": "DEPARTMENT_OF_COMMERCE", - "destinationCountries": [ - "USA", - "India" - ] - }, - "b13AFilingOption": "NOT_REQUIRED", - "exportComplianceStatement": "12345678901234567", - "permitNumber": "12345" - }, - "totalCustomsValue": { - "amount": 12.45, - "currency": "USD" - }, - "partiesToTransactionAreRelated": true, - "declarationStatementDetail": { - "usmcaLowValueStatementDetail": { - "countryOfOriginLowValueDocumentRequested": true, - "customsRole": "EXPORTER" - } - }, - "insuranceCharge": { - "amount": 12.45, - "currency": "USD" - } - }, - "smartPostInfoDetail": { - "ancillaryEndorsement": "RETURN_SERVICE", - "hubId": "5015", - "indicia": "PRESORTED_STANDARD", - "specialServices": "USPS_DELIVERY_CONFIRMATION" - }, - "blockInsightVisibility": true, - "labelSpecification": { - "labelFormatType": "COMMON2D", - "labelOrder": "SHIPPING_LABEL_FIRST", - "customerSpecifiedDetail": { - "maskedData": [ - "CUSTOMS_VALUE", - "TOTAL_WEIGHT" - ], - "regulatoryLabels": [ - { - "generationOptions": "CONTENT_ON_SHIPPING_LABEL_ONLY", - "type": "ALCOHOL_SHIPMENT_LABEL" - } - ], - "additionalLabels": [ - { - "type": "CONSIGNEE", - "count": 1 - } - ], - "docTabContent": { - "docTabContentType": "BARCODED", - "zone001": { - "docTabZoneSpecifications": [ - { - "zoneNumber": 0, - "header": "string", - "dataField": "string", - "literalValue": "string", - "justification": "RIGHT" - } - ] - }, - "barcoded": { - "symbology": "UCC128", - "specification": { - "zoneNumber": 0, - "header": "string", - "dataField": "string", - "literalValue": "string", - "justification": "RIGHT" - } - } - } - }, - "printedLabelOrigin": { - "address": { - "streetLines": [ - "10 FedEx Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "38127", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "person name", - "emailAddress": "email address", - "phoneNumber": "phone number", - "phoneExtension": "phone extension", - "companyName": "company name", - "faxNumber": "fax number" - } - }, - "labelStockType": "PAPER_85X11_TOP_HALF_LABEL", - "labelRotation": "UPSIDE_DOWN", - "imageType": "PDF", - "labelPrintingOrientation": "TOP_EDGE_OF_TEXT_FIRST", - "returnedDispositionDetail": true - }, - "shippingDocumentSpecification": { - "generalAgencyAgreementDetail": { - "documentFormat": { - "provideInstructions": true, - "optionsRequested": { - "options": [ - "SUPPRESS_ADDITIONAL_LANGUAGES", - "SHIPPING_LABEL_LAST" - ] - }, - "stockType": "PAPER_LETTER", - "dispositions": [ - { - "eMailDetail": { - "eMailRecipients": [ - { - "emailAddress": "email@fedex.com", - "recipientType": "THIRD_PARTY" - } - ], - "locale": "en_US", - "grouping": "NONE" - }, - "dispositionType": "CONFIRMED" - } - ], - "locale": "en_US", - "docType": "PDF" - } - }, - "returnInstructionsDetail": { - "customText": "This is additional text printed on Return instr", - "documentFormat": { - "provideInstructions": true, - "optionsRequested": { - "options": [ - "SUPPRESS_ADDITIONAL_LANGUAGES", - "SHIPPING_LABEL_LAST" - ] - }, - "stockType": "PAPER_LETTER", - "dispositions": [ - { - "eMailDetail": { - "eMailRecipients": [ - { - "emailAddress": "email@fedex.com", - "recipientType": "THIRD_PARTY" - } - ], - "locale": "en_US", - "grouping": "NONE" - }, - "dispositionType": "CONFIRMED" - } - ], - "locale": "en_US\"", - "docType": "PNG" - } - }, - "op900Detail": { - "customerImageUsages": [ - { - "id": "IMAGE_5", - "type": "SIGNATURE", - "providedImageType": "SIGNATURE" - } - ], - "signatureName": "Signature Name", - "documentFormat": { - "provideInstructions": true, - "optionsRequested": { - "options": [ - "SUPPRESS_ADDITIONAL_LANGUAGES", - "SHIPPING_LABEL_LAST" - ] - }, - "stockType": "PAPER_LETTER", - "dispositions": [ - { - "eMailDetail": { - "eMailRecipients": [ - { - "emailAddress": "email@fedex.com", - "recipientType": "THIRD_PARTY" - } - ], - "locale": "en_US", - "grouping": "NONE" - }, - "dispositionType": "CONFIRMED" - } - ], - "locale": "en_US", - "docType": "PDF" - } - }, - "usmcaCertificationOfOriginDetail": { - "customerImageUsages": [ - { - "id": "IMAGE_5", - "type": "SIGNATURE", - "providedImageType": "SIGNATURE" - } - ], - "documentFormat": { - "provideInstructions": true, - "optionsRequested": { - "options": [ - "SUPPRESS_ADDITIONAL_LANGUAGES", - "SHIPPING_LABEL_LAST" - ] - }, - "stockType": "PAPER_LETTER", - "dispositions": [ - { - "eMailDetail": { - "eMailRecipients": [ - { - "emailAddress": "email@fedex.com", - "recipientType": "THIRD_PARTY" - } - ], - "locale": "en_US", - "grouping": "NONE" - }, - "dispositionType": "CONFIRMED" - } - ], - "locale": "en_US", - "docType": "PDF" - }, - "certifierSpecification": "EXPORTER", - "importerSpecification": "UNKNOWN", - "producerSpecification": "SAME_AS_EXPORTER", - "producer": { - "address": { - "streetLines": [ - "10 FedEx Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "90210", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "John Taylor", - "emailAddress": "sample@company.com", - "phoneExtension": "000", - "phoneNumber": "XXXX345671", - "companyName": "Fedex" - }, - "accountNumber": { - "value": "Your account number" - }, - "tins": [ - { - "number": "123567", - "tinType": "FEDERAL", - "usage": "usage", - "effectiveDate": "2000-01-23T04:56:07.000+00:00", - "expirationDate": "2000-01-23T04:56:07.000+00:00" - } - ] - }, - "blanketPeriod": { - "begins": "22-01-2020", - "ends": "2-01-2020" - }, - "certifierJobTitle": "Manager" - }, - "usmcaCommercialInvoiceCertificationOfOriginDetail": { - "customerImageUsages": [ - { - "id": "IMAGE_5", - "type": "SIGNATURE", - "providedImageType": "SIGNATURE" - } - ], - "documentFormat": { - "provideInstructions": true, - "optionsRequested": { - "options": [ - "SUPPRESS_ADDITIONAL_LANGUAGES", - "SHIPPING_LABEL_LAST" - ] - }, - "stockType": "PAPER_LETTER", - "dispositions": [ - { - "eMailDetail": { - "eMailRecipients": [ - { - "emailAddress": "email@fedex.com", - "recipientType": "THIRD_PARTY" - } - ], - "locale": "en_US", - "grouping": "NONE" - }, - "dispositionType": "CONFIRMED" - } - ], - "locale": "en_US", - "docType": "PDF" - }, - "certifierSpecification": "EXPORTER", - "importerSpecification": "UNKNOWN", - "producerSpecification": "SAME_AS_EXPORTER", - "producer": { - "address": { - "streetLines": [ - "10 FedEx Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "90210", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "John Taylor", - "emailAddress": "sample@company.com", - "phoneExtension": "000", - "phoneNumber": "XXXX345671", - "companyName": "Fedex" - }, - "accountNumber": { - "value": "Your account number" - }, - "tins": [ - { - "number": "123567", - "tinType": "FEDERAL", - "usage": "usage", - "effectiveDate": "2000-01-23T04:56:07.000+00:00", - "expirationDate": "2000-01-23T04:56:07.000+00:00" - } - ] - }, - "certifierJobTitle": "Manager" - }, - "shippingDocumentTypes": [ - "RETURN_INSTRUCTIONS" - ], - "certificateOfOrigin": { - "customerImageUsages": [ - { - "id": "IMAGE_5", - "type": "SIGNATURE", - "providedImageType": "SIGNATURE" - } - ], - "documentFormat": { - "provideInstructions": true, - "optionsRequested": { - "options": [ - "SUPPRESS_ADDITIONAL_LANGUAGES", - "SHIPPING_LABEL_LAST" - ] - }, - "stockType": "PAPER_LETTER", - "dispositions": [ - { - "eMailDetail": { - "eMailRecipients": [ - { - "emailAddress": "email@fedex.com", - "recipientType": "THIRD_PARTY" - } - ], - "locale": "en_US", - "grouping": "NONE" - }, - "dispositionType": "CONFIRMED" - } - ], - "locale": "en_US", - "docType": "PDF" - } - }, - "commercialInvoiceDetail": { - "customerImageUsages": [ - { - "id": "IMAGE_5", - "type": "SIGNATURE", - "providedImageType": "SIGNATURE" - } - ], - "documentFormat": { - "provideInstructions": true, - "optionsRequested": { - "options": [ - "SUPPRESS_ADDITIONAL_LANGUAGES", - "SHIPPING_LABEL_LAST" - ] - }, - "stockType": "PAPER_LETTER", - "dispositions": [ - { - "eMailDetail": { - "eMailRecipients": [ - { - "emailAddress": "email@fedex.com", - "recipientType": "THIRD_PARTY" - } - ], - "locale": "en_US", - "grouping": "NONE" - }, - "dispositionType": "CONFIRMED" - } - ], - "locale": "en_US", - "docType": "PDF" - } - } - }, - "rateRequestType": [ - "LIST", - "PREFERRED" - ], - "preferredCurrency": "USD", - "totalPackageCount": 25, - "masterTrackingId": { - "formId": "0201", - "trackingIdType": "EXPRESS", - "uspsApplicationId": "92", - "trackingNumber": "49092000070120032835" - }, - "requestedPackageLineItems": [ - { - "sequenceNumber": "1", - "subPackagingType": "BUCKET", - "customerReferences": [ - { - "customerReferenceType": "INVOICE_NUMBER", - "value": "3686" - } - ], - "declaredValue": { - "amount": 12.45, - "currency": "USD" - }, - "weight": { - "units": "KG", - "value": 68 - }, - "dimensions": { - "length": 100, - "width": 50, - "height": 30, - "units": "CM" - }, - "groupPackageCount": 2, - "itemDescriptionForClearance": "description", - "contentRecord": [ - { - "itemNumber": "2876", - "receivedQuantity": 256, - "description": "Description", - "partNumber": "456" - } - ], - "itemDescription": "item description for the package", - "variableHandlingChargeDetail": { - "rateType": "PREFERRED_CURRENCY", - "percentValue": 12.45, - "rateLevelType": "INDIVIDUAL_PACKAGE_RATE", - "fixedValue": { - "amount": 24.45, - "currency": "USD" - }, - "rateElementBasis": "NET_CHARGE_EXCLUDING_TAXES" - }, - "packageSpecialServices": { - "specialServiceTypes": [ - "ALCOHOL", - "NON_STANDARD_CONTAINER" - ], - "signatureOptionType": "ADULT", - "priorityAlertDetail": { - "enhancementTypes": [ - "PRIORITY_ALERT_PLUS" - ], - "content": [ - "string" - ] - }, - "signatureOptionDetail": { - "signatureReleaseNumber": "23456" - }, - "alcoholDetail": { - "alcoholRecipientType": "LICENSEE", - "shipperAgreementType": "Retailer" - }, - "dangerousGoodsDetail": { - "cargoAircraftOnly": false, - "accessibility": "INACCESSIBLE", - "options": [ - "LIMITED_QUANTITIES_COMMODITIES", - "ORM_D" - ] - }, - "packageCODDetail": { - "codCollectionAmount": { - "amount": 12.45, - "currency": "USD" - } - }, - "pieceCountVerificationBoxCount": 0, - "batteryDetails": [ - { - "batteryPackingType": "CONTAINED_IN_EQUIPMENT", - "batteryRegulatoryType": "IATA_SECTION_II", - "batteryMaterialType": "LITHIUM_METAL" - } - ], - "dryIceWeight": { - "units": "KG", - "value": 68.0 - } - }, - "trackingNumber": "756477399" - } - ] - }, - "labelResponseOptions": "LABEL", - "accountNumber": { - "value": "Your account number" - }, - "shipAction": "CONFIRM", - "processingOptionType": "ALLOW_ASYNCHRONOUS", - "oneLabelAtATime": true -} diff --git a/modules/connectors/ninja_van/schemas/shipping_response.json b/modules/connectors/ninja_van/schemas/shipping_response.json deleted file mode 100644 index 5190119241..0000000000 --- a/modules/connectors/ninja_van/schemas/shipping_response.json +++ /dev/null @@ -1,521 +0,0 @@ -{ - "transactionId": "624deea6-b709-470c-8c39-4b5511281492", - "customerTransactionId": "AnyCo_order123456789", - "output": { - "transactionShipments": [ - { - "serviceType": "STANDARD_OVERNIGHT", - "shipDatestamp": "2010-03-04", - "serviceCategory": "EXPRESS", - "shipmentDocuments": [ - { - "contentKey": "content key", - "copiesToPrint": 10, - "contentType": "COMMERCIAL_INVOICE", - "trackingNumber": "794953535000", - "docType": "PDF", - "alerts": [ - { - "code": "SHIP.RECIPIENT.POSTALCITY.MISMATCH", - "alertType": "NOTE", - "message": "Recipient Postal-City Mismatch." - } - ], - "encodedLabel": "JVBERi0xLjQKMSAwIG9iago8PAovVHlwZSAvQ2F0YWxvZwovUGFnZXMgMyAwIFIKPj4KZW5kb2JqCjIgMCBvYmoKPDwKL1R5cGUgL091dGxpbmVzCi9Db3VudCAwCj4+CmVuZG9iagozIDAgb2JqCjw8Ci9UeXBlIC9QYWdlcwovQ291bnQgMwovS2lkcyBbMTggMCBSIDE5IDAgUiAyMCAwIFJdCj4+CmVuZG9iago0IDAgb2JqClsvUERGIC9UZXh0IC9JbWFnZUIgL0ltYWdlQyAvSW1hZ2VJXQplbmRvYmoKNSAwIG9iago8PAovVHlwZSAvRm9udAovU3VidHlwZSAvVHlwZTEKL0Jhc2VGb250IC9IZWx2ZXRpY2EKL0VuY29kaW5nIC9NYWNSb21hbkVuY29kaW5nCj4+CmVuZG9iago2IDAgb2JqCjw8Ci9UeXBlIC9Gb250Ci9TdWJ0eXBlIC9UeXBlMQovQmFzZUZvbnQgL0hlbHZldGljYS1Cb2xkCi9FbmNvZGluZyAvTWFjUm9tYW5FbmNvZGluZwo+PgplbmRvYmoKNyAwIG9iago8PAovVHlwZSAvRm9udAovU3VidHlwZSAvVHlwZTEKL0Jhc2VGb250IC9IZWx2ZXRpY2EtT2JsaXF1ZQovRW5jb2RpbmcgL01hY1JvbWFuRW5jb2RpbmcKPj4KZW5kb2JqCjggMCBvYmoKPDwKL1R5cGUgL0ZvbnQKL1N1YnR5cGUgL1R5cGUxCi9CYXNlRm9udCAvSGVsdmV0aWNhLUJvbGRPYmxpcXVlCi9FbmNvZGluZyAvTWFjUm9tYW5FbmNvZGluZwo+PgplbmRvYmoKOSAwIG9iago8PAovVHlwZSAvRm9udAovU3VidHlwZSAvVHlwZTEKL0Jhc2VGb250IC9Db3VyaWVyCi9FbmNvZGluZyAvTWFjUm9tYW5FbmNvZGluZwo+PgplbmRvYmoKMTAgMCBvYmoKPDwKL1R5cGUgL0ZvbnQKL1N1YnR5cGUgL1R5cGUxCi9CYXNlRm9udCAvQ291cmllci1Cb2xkCi9FbmNvZGluZyAvTWFjUm9tYW5FbmNvZGluZwo+PgplbmRvYmoKMTEgMCBvYmoKPDwKL1R5cGUgL0ZvbnQKL1N1YnR5cGUgL1R5cGUxCi9CYXNlRm9udCAvQ291cmllci1PYmxpcXVlCi9FbmNvZGluZyAvTWFjUm9tYW5FbmNvZGluZwo+PgplbmRvYmoKMTIgMCBvYmoKPDwKL1R5cGUgL0ZvbnQKL1N1YnR5cGUgL1R5cGUxCi9CYXNlRm9udCAvQ291cmllci1Cb2xkT2JsaXF1ZQovRW5jb2RpbmcgL01hY1JvbWFuRW5jb2RpbmcKPj4KZW5kb2JqCjEzIDAgb2JqCjw8Ci9UeXBlIC9Gb250Ci9TdWJ0eXBlIC9UeXBlMQovQmFzZUZvbnQgL1RpbWVzLVJvbWFuCi9FbmNvZGluZyAvTWFjUm9tYW5FbmNvZGluZwo+PgplbmRvYmoKMTQgMCBvYmoKPDwKL1R5cGUgL0ZvbnQKL1N1YnR5cGUgL1R5cGUxCi9CYXNlRm9udCAvVGltZXMtQm9sZAovRW5jb2RpbmcgL01hY1JvbWFuRW5jb2RpbmcKPj4KZW5kb2JqCjE1IDAgb2JqCjw8Ci9UeXBlIC9Gb250Ci9TdWJ0eXBlIC9UeXBlMQovQmFzZUZvbnQgL1RpbWVzLUl0YWxpYwovRW5jb2RpbmcgL01hY1JvbWFuRW5jb2RpbmcKPj4KZW5kb2JqCjE2IDAgb2JqCjw8Ci9UeXBlIC9Gb250Ci9TdWJ0eXBlIC9UeXBlMQovQmFzZUZvbnQgL1RpbWVzLUJvbGRJdGFsaWMKL0VuY29kaW5nIC9NYWNSb21hbkVuY29kaW5nCj4+CmVuZG9iagoxNyAwIG9iaiAKPDwKL0NyZWF0aW9uRGF0ZSAoRDoyMDAzKQovUHJvZHVjZXIgKEZlZEV4IFNlcnZpY2VzKQovVGl0bGUgKEZlZEV4IFNoaXBwaW5nIExhYmVsKQ0vQ3JlYXRvciAoRmVkRXggQ3VzdG9tZXIgQXV0b21hdGlvbikNL0F1dGhvciAoQ0xTIFZlcnNpb24gNTEyMDEzNSkKPj4KZW5kb2JqCjE4IDAgb2JqCjw8Ci9UeXBlIC9QYWdlDS9QYXJlbnQgMyAwIFIKL1Jlc291cmNlcyA8PCAvUHJvY1NldCA0IDAgUiAKIC9Gb250IDw8IC9GMSA1IDAgUiAKL0YyIDYgMCBSIAovRjMgNyAwIFIgCi9GNCA4IDAgUiAKL0Y1IDkgMCBSIAovRjYgMTAgMCBSIAovRjcgMTEgMCBSIAovRjggMTIgMCBSIAovRjkgMTMgMCBSIAovRjEwIDE0IDAgUiAKL0YxMSAxNSAwIFIgCi9GMTIgMTYgMCBSIAogPj4KL1hPYmplY3QgPDwgL0ZlZEV4RXhwcmVzcyAyMyAwIFIKL0V4cHJlc3NFIDI0IDAgUgovYmFyY29kZTAgMjUgMCBSCi9GZWRFeEV4cHJlc3MgMjYgMCBSCi9FeHByZXNzRSAyNyAwIFIKPj4KPj4KL01lZGlhQm94IFswIDAgMjg4IDQzMl0KL1RyaW1Cb3hbMCAwIDI4OCA0MzJdCi9Db250ZW50cyAyMSAwIFIKL1JvdGF0ZSAwPj4KZW5kb2JqCjE5IDAgb2JqCjw8Ci9UeXBlIC9QYWdlDS9QYXJlbnQgMyAwIFIKL1Jlc291cmNlcyA8PCAvUHJvY1NldCA0IDAgUiAKIC9Gb250IDw8IC9GMSA1IDAgUiAKL0YyIDYgMCBSIAovRjMgNyAwIFIgCi9GNCA4IDAgUiAKL0Y1IDkgMCBSIAovRjYgMTAgMCBSIAovRjcgMTEgMCBSIAovRjggMTIgMCBSIAovRjkgMTMgMCBSIAovRjEwIDE0IDAgUiAKL0YxMSAxNSAwIFIgCi9GMTIgMTYgMCBSIAogPj4KL1hPYmplY3QgPDwgL0ZlZEV4RXhwcmVzcyAyMyAwIFIKL0V4cHJlc3NFIDI0IDAgUgovYmFyY29kZTAgMjUgMCBSCi9GZWRFeEV4cHJlc3MgMjYgMCBSCi9FeHByZXNzRSAyNyAwIFIKPj4KPj4KL01lZGlhQm94IFswIDAgMjg4IDQzMl0KL1RyaW1Cb3hbMCAwIDI4OCA0MzJdCi9Db250ZW50cyAyMiAwIFIKL1JvdGF0ZSAwPj4KZW5kb2JqCjIwIDAgb2JqCjw8Ci9UeXBlIC9QYWdlDS9QYXJlbnQgMyAwIFIKL1Jlc291cmNlcyA8PCAvUHJvY1NldCA0IDAgUiAKIC9Gb250IDw8IC9GMSA1IDAgUiAKL0YyIDYgMCBSIAovRjMgNyAwIFIgCi9GNCA4IDAgUiAKL0Y1IDkgMCBSIAovRjYgMTAgMCBSIAovRjcgMTEgMCBSIAovRjggMTIgMCBSIAovRjkgMTMgMCBSIAovRjEwIDE0IDAgUiAKL0YxMSAxNSAwIFIgCi9GMTIgMTYgMCBSIAogPj4KL1hPYmplY3QgPDwgL0ZlZEV4RXhwcmVzcyAyMyAwIFIKL0V4cHJlc3NFIDI0IDAgUgovYmFyY29kZTAgMjUgMCBSCi9GZWRFeEV4cHJlc3MgMjYgMCBSCi9FeHByZXNzRSAyNyAwIFIKPj4KPj4KL01lZGlhQm94IFswIDAgMjg4IDQzMl0KL1RyaW1Cb3hbMCAwIDI4OCA0MzJdCi9Db250ZW50cyAyMiAwIFIKL1JvdGF0ZSAwPj4KZW5kb2JqCjIxIDAgb2JqCjw8IC9MZW5ndGggMjYwNwovRmlsdGVyIFsvQVNDSUk4NURlY29kZSAvRmxhdGVEZWNvZGVdIAo+PgpzdHJlYW0KR2F0PS45bGpPSigjPHJOcnJGcTMsYiJRSVxAQjxYWyVnJUNWQl86XjhCWFJQUmw1NyZTVS9eRlBMZTJpaFpMTV1STl9gZSs7XjQnbCtEKGYKTWk3SDVjalozczUiOk0qYGVsL3BFUjlUXSRwKj1XKCw9ZVcudWdJbGR0Y1ckYlM5TUJpOz89aSJUTDRPMyVcdEU9J21eS3M1P1RsXVNzPjQKXClQPT0uaVUxSCR0NFkkaDxcYCw/NWFSLm1kRHJPQ0E1SzIxKCNILTFkOiZZQkhPO1lrMjZxUClYWnRROVJYNnFddC46J3EvMUo7Slw3RFMKTTglZ0VBJSgxYzEpZGk9XVVeXllQcWFGWUFGRWo7aHU5amM/TCdoUUlCRWZiLCFJLzBrRnJIXi9KZEEzXVw9RUlPTVswRixpbS9cbyEwLD8KUlM1SyhwM1ZbaF4zUjNkbC5gKm1bQHRaJF5MVlcxUUFlaGAqREVuZ3EhTHAqLExQW289TSpgVWoqYyk8b1o6R2E0LSVVJSNLKTw4Nix0SXMKcnIpWlttZXMzQltESyNQcVgybUZGU1tcYGBUbGphPiQ6XkdyaiooIXA/YmRGVz1eJS0nIWRSTzokLFNVTi1pRXNqaV9GXiMpT0NLW1BDUEMKLCRQUWZnMmpASE51KWc+XCooOVlTNDJEXEEvbXR0NjhaXnNNcmpwKlBiX3BNMyJUX1gkLyJRJUM9KU8mNydrXWYrYUEpLT09OVtjcF4kW1AKQkA+SykyKVw1JWQ8ayY6IV9NSyJbU24wJiM4SHVyIW8jWlEpTWQtSUs9L2U3M2VGUVo0OkVpdDdXcl9RbFwxP0RlRTEzNEM6LipDYFYjO0wKXlJfISo4ITFWODZSKDxrIm0lSFYoNWcvO1QrUi83X3RwWmloSj9OJWVSR2t0TjkxXSRrM0AtXUUnSVVHbm4lXDlFcEVBa104LC5tQzpoKjIKYj02dTFBPyEzXyVORzAwQXBxO0dYVCxCUTJlbSZFcShMXF42TWNqQGYoMCdoMXF0Ry5mbC40YjJsalBQWzldcE9iRC5rZCQnbzhLZismQj0KNnQzPlJaR1c9bmxjOCs1XChbcTYvVWgnTmtaU2tfPlFQazU2Vy9oODduJjIxPyFaaWBnUllwRmhebjZHRjgzQE5EZyFURiU5SFVJUDNbYDQKbilkaklcOXMiJmxVUVolV1QtISlkY11IUFlmTUQ1bCZWI3RAcz5oXUM0aVE0a1YjIzRxZC10S3FyKTghXydIIz1GZSE2U2k1Zmtycmc5WFQKNEVBXTE4LWZzJHBfN2tRRUBHQTU5Jy1dXFNSOSQ8TGtrY2JqY1xkUyIqMFktPVdZVW4zL0NaTTBtY2xjSFRqX3VWRExxRmc9WkFkVXFyIjUKJTUrO1s2M1g3Y3FlU2AjTDUoWzlWUDE3LWNFWjhBTFNAbFAlLl5aXFVEJyJucypRYFo1K0BzPSxcOCw6LFg5Oi47PXQ2MVNbcVhTQ0MvWkMKUyJePCpwLixDTktJZUgyVkNqWD80ISFUSS0qL0NrMms5UE5tMDVQal5pNkVlOUVGSDgpc11mXCxgdWkoWWxkVWJXX05gTC4+LmxNIjMlPGwKLEZPOV0hVUROXExFWV91YFpSOVAxaDZxcWhlWitAcSVUKnVoaDdObyVASWpbLj4tMHFnWCdbPFt0XmZPSyktYFQ+LEdRLlluYD1vVnI7ODcKWERfQ1dTUVpVMWtPQmFVME1vVklCLVgxQClSMlNkQmduTChlcm8hZGpiQVpGWi5xOE1dc2JwO2xSRjNeRF9lN1gzPmonTFRONFM3UXFSaFAKUF9sMCEmdSI+czlzKihfWVdlSV83bE1fNWkoOWRYQipxVjFTIldnKWRjOlBJNmkwPWMtdC5OYSEiR1lxIkdDJ09YUFQ9PCQxIiZpLlZiR1MKMk1lW1JGQSZLXW9yU1luZTwkXlAkXExFU2k4ZG4vJEVkSU8lUTZJP0Q4SVJII1xZTmNjWVEoK0VSaC4lRk1Yb1Q9dWxoaTtvaz5XbzA/SGsKQDEnK0NRKzEtRDJgZSY1TjlaK3JpPF42KGs2ZFY6XHVfMFE/UDZTRzp1WE5LNnJTZVJAbC9wLjJzUHIkWSZkJ2M3OEBpXCVCOllbJVpPRm4KXzAram1IbnEmN1U+U2JpWis1XWA+YzZbN2lkSURxZGxzRSFbWSt1bVZcIVVXSGpbYUlVKDxQanJEQ0UoJEpGc3JMSyFOISh1KkohS2xxXEMKYk1cUkg3cyQ/OltxYGVmWSM+VXM7RzlrLFNpXW88WFZFPSpTVkQyPEdDP0R0WG4sOTU1IjUuJWA6OXFTK2ZJKVhFaGJnc2kmWlFncjhpb2wKZ3U4b0QpV2FeI2xdbWtKcFJHbjJSKEFdPjhtSjlVOVA5YzxrVy9GYj4rWkdaLyopRilPUlUjOE5rTUU1JEw8dDZpdXNtTi5IajpSTUpzbEUKO15nI1ZZVD1nRUYwOmVwJDxYTFVGRjQxY1VObEw7alRtMDg7XmUqblMwIzpvbFA4RixBTmMza1ZjTk9qX0tvZTFmVlNFLUxfMClcTl9uYTMKS0YhOFMtLU0yaSldPVc9aiVRQWhvYTpOQkFQb0NpTzEoPj0uXyY0c1VXN3VsQElzWV4/MGRgVGA6WEpKbltVVjEhRmcqcEMwLEFmNj1GdD4KJlBDU2pDY0hWQmYtcytQMD1fW05VTHVwZGUuPSpMXWc9SlxRdCgxPypPcUE5LyVBPXRYJTBXLllRZ1tsYjhFb1dZN000PyViNGIuOnVYTUgKQDtRaUNbdCJJNT8vSVtcV1NmZ01gKUMuZWAwY2U1PXJYb2dGajtEa1RrPUVEKyxxX1ddV1QxcWMzVkJzZXJTUCNLajFILy0qNlJySnQqcEQKXio5NlA1V1JKWzNKRFVFJUUyXmklIT1zYlBSXXJeMThoP09VTm1jPWZIUSpIaGU0Myw9QSghdU0+NjxeYiVVYkdRQTU+LGpLKExNZ2AxM0cKZTw6RE0+Q0QhS2RGKEQpblgrRitoVkcwMy5uLEJsTzZZdSM9ZChbaktkRGstciswP09eOUxxVDpCSDBQMTUrblw5WUBdYlxobmdXa0stXF0KZ0dWOlBEOlBTai8jJGtnYUktL2xHU2w/QjU8YVMrNGVbdVYlSWw5US1tXCYhX2w9UTZtSyJccUonWEBjX3RYaiI2K1luckhiKmNyU2VRVz0KUkFwRiFwJShbJUosIVVOSDI3OENUMEUySFJwLF9OcWBdIiYyZltxRCVLUz5aX29eZjU7SWgxV24mUF5TMkVFLzI2b09RZCVuJWFSJ18xQiMKMTlEaSVpUEc/OystQj9QVHAnQmdvKU1YLiwrcUtocjdiUkNyVll0Nys4IVc3Py9OM1hGZUhmMElMM25PZURSPTIxXkI1WjhMTSM5ZzdbbzEKaHU+TGNtSmxTS1M4QX4+CmVuZHN0cmVhbQplbmRvYmoKMjIgMCBvYmoKPDwgL0xlbmd0aCAzMDY0Ci9GaWx0ZXIgWy9BU0NJSTg1RGVjb2RlIC9GbGF0ZURlY29kZV0gCj4+CnN0cmVhbQpHYXQ9Lj1gWUxsKDROLzJzNT9yNVFeTGguZEQjKykhSU1vP2ZPTldURWJmIS1FJG82KUJGZzNEcFhlO3QoPDAhPzI2QTMqTD5eREBlKEtmMwozb1YiWFh1NjJoYGFmM1pQUjhSaVYkNzNTJF8rR0dnY09MUTVkWipxPGwtXWwoWSFIXUhbZUF1NWxSVVgtMDUqbCE8bilULitoNSheRVNnUApWKEpBSiJFUjVaPSQ/Pz9pYkVLcFJETkxhczg5cTUhLltaa0xrI0FsczRuWFdNMz1pZVBsLjVkPkptQmhdODdcbEBLbk5pMllVPyUuPjBvWApUaE4+bW1iOz8mI0lAXFA9a3AjST1lNVFJXF4oNk5IKnM3NFdxQUhAKmxGP1RgSUNUQEpiMmd0RSVpO2sjNEdxWnBpZiMnbztxWWgtSCZOTgooazNTOFplbSpyMEgwJDQ0dHVxRDBQLj5UNnQyYj0yWDFDQGBcOHAtSSIqc0wxdVtfMkJKSC9nXFtpOG9VOF9bJEM5RSs6SFddTUFTPUchRwpeZTZzRmY+a2c8SUAlXkBwLTJuaD9OR1c+aVdkQzVEVEsjMXMlYSNEMSQrKnNTbG05ZFZwQXFFPDFERGdnUTVKJVRfO2NeYVlaNTdbcjZoVwojK3RHIVA7cjkjSiJrOTJBW2FAZExRaVlibzorNEElaUIhYGcvcEJZTm5acGtOW0VxcTUmZzNvVzFWa1xuQFk1VUYmNm0+UkQvXFxeXWhIWAooKDVGQic/M1VBPT1fZWU+aTgzYTxVWyRBX1QyNF9aLFFZPyNmXWJPPkJpQz9tZko0aWhHRCtcI0FqOWBfX1YyVWNgJyhrRnU7SS9XRTRcJgolVmQiW2NIXWZVU3JVZmwwQGQ8LjsuTGJFPCxgN2UuZSklcCpFIk4pQk9SIWFPZTUjTVg3YzQtXWoiSE9SLGBQKEJkJlU5ajdQNF5DKmcqWQo0STZuIUhPNmE6M29tSUkhQCI+cllaOzkoRCk7WS1qYkc3MXFfZlBCRV0+IVhPM2NfaTdNZGJsYU1DbVM8XSknSFMvcj02SDkwMGcsRklURgo0KGRzPkhNMENeNnFGLD1xWy44KzJRZFpWYkcuOk9cWHJjcUNDO1NNI1ZYLk4tSl9kN0pEITpVKlNfV1k4ZnIsQSooSnVBT1M1bSM+PCItawpoJlNPZD07PERXTGsmO1JUKm82LzotdE9dZWQ6OlVMIV0hTDcpKXFGUSYjNThrXGNQdDxdYnBPNz9QcWhxIWs1WjFdRiprOD1WO1tGKklaNwomdEtRNitBQy5LMEYjXVpeIkprXCVsUSI/WUU6VDhLZColQk0qZV4/LUQmV11DRjIidWIhbjJwXmddRFdVTCYzaiU0Qjo4Y1FiNUhCOlUzbwo4OmQkVjY1NzNdQzg8WiVYYT1KXFVtL2xUUl1uVWk3UGFER1ZRUSg5LSY7Zz9LbENiN0EsRC1QVjhBQks9TiFdMT1KQTo7XTNmMj9PPTVXUAplND0vakxUVFFuKUEyTDohMSdSR2FfWFx0WGpnT0FSI0BFOzFgaTA2Tk11R1NFRltCTS5TTFBuLHIwSjQrNSIqTWEnLi4lOyVvODosUEdJcApMPipgRjlTQjtNOThgcTUvaUdSLFtvSm1HUixPTDw3IickJVcrMixsTWNqTSpOJHMzTEBtW1EpbyxXVF1CYmNVUTsjbHAnX3FSJkQmMicpOgpxKD4kUzEoZks3KGY6czRhSjFRSFtHYWFsOTo6YnNdYDlUOGsoTkQxYUpjT0g4PGIlVEJ1ODxqT2opLW0qJSxuVWQ0L1JyISVhNjsjRmFCOQo3UyMuSyxaVT40NmwrYFtPOWtjZGxTJnA+LTdtRCdkXjg6XyFFYmRTTVlKZ0QnVW1mXC02a28lPmFlLT5bSF9vOT1KQTolW2tXVGNOKyMrRQpcbTU8JWFKNC9tRTM6WS1uZUs5PSElYThRcUJncnJMTkFaOFEwXEslTkNXSG5MKXM6R2FEQFs/IkNQcWBUUzkhQFY4UnRFMGNRZyNURyJZMAo0dSFvQlBtZ2haW1JZJksnIidHWDAtbkg0OVhvc19YVS5ZTGB0NGpZYmFpaVBhczBhcEowamRVPG8jLCc5Qjs0YS8mZUc0PUdVT2E+UitZbgo0PVpRP0QqaERHQVQ1KnVpRyQuQUgkISkqVVRBRnAxUVJnSyElYThRW2NxZyw8KkU3Km1jUWcyVjhETEcsPz4yZmReNjloY2BRMFc6aF9XbAosPFNcJiwqMjxaVlpfSFlRJk5wMCFFYylQOVdLM05KPkppcjBSbkM5L0AxKWtYczgqRmRfbUgnPTpqRklLNihnZjBYNXBFX1BRTy49dURyYQovc1UvTktMQUghcW9WJ0hOQSo1ME0rajAxJSlFRi5tNnVvIjonIlRMJzVRLmY2RmFzaUUwI1I/IktmJnNBZ1YtJyElcTghajdjRmc6PiFkdApNTXRYXD5VZ0Q1XG0/b00jKCpfNmpcbC9HYU1fYm1gWVpMZzE5amxeMDgpdTBnKW8hYGJeVCEqJFh1ZSg+W20lU201JVhaLl8vUzJiMStBKwpsPUJpSl07PFhvNFAla0hcM3VtdDU2SmBMXzMpTionKF0kJVFbNmUrSHEqKmI3KE5VU1ohJjNhVikjI05TJDNHVmVVI2cwJCVBb2FmLj5BKAo2YiNPVCJEYCxzKHJFKylNMD5GREo0akk6bTVlWVVRY2MsWUZpIiwyUS0jWVQ6YEw7QTJgMHMjLTgoUypxTVxzPjtnODNSZVoiQnVJO1p0Wgo9YSdzViJEPiIyaTtiRSssOlZDP18jUSpROGMqbkIpWV1ANlgnMUldTStiNEhfQTFGRGNjKTtPPmZZaElKNG5CYG0xMWRmaSVcM08qWlA+awowcVM+Qmk4RDlgQ145Vk8uJHFwbEJuPFAsVUxbJT4iW20jM21VWCNjL0xER0ZwPHAxJ1teXEdVNCM+ZE1RL0VRJFYkKjBgcWQjRTdCY2wmOQorYCdAJklaY1MkXD1WaGFUQWZfL1prKCVUNWA9QU4hST0lcjo+PT1MQThqU2FPK1hlKUVQSiFRVm4yckhsV0pbVjUnck1gY21XaXIpZypzcApAP0xCX0AzOSkoV09xWU9VIlcpblpPNzAwbzAtRW1kVCFYJjw7QSpsRmx1QzliRGIuLm4/MVE0MFgiTlhsPzlGOlBoVURkLypELUJDMD50NQpHUiliJ1thZ2AjTygpJilOdFFyLDVPWVl0WS5USEFScWdKYipSXmkkUSw2dWNDL2lOS15LOztdIllBNSRiaWRPPVtUTGs8RU8hLS5oOyc7KwonWHQtXkhFbDpDTVleQiFWWXA6LT1iIzQ9U1gpVi5tJUtSW2dzUC5nSFoudWFwTiFVQkRgKE8xak91YDNZKEN0Tk1kZC49aVduN1dXazY1VwokYWA4KkJMMC1XMlZbNF1RU2w7OTpBI08wbi5AKk9qNkckbEdfImZRSVlnO0BbcUxvYycjJURWXmlmVSpbK0Q+M21VMEA7YjpQN11YMldAJQpYT0JmPiknbm9XYWI+KSdtJEciRzRkVilfIiZyWGNVcUE5PGA9ZzBUbWwwP08kWFlTTVE1K2thcFkwXmtlMCtMcj07PjE5WnMmZj1FMStDYwpiJDsuMVUmJ01LR2RrMWlUal1eRElKYEAhRWtaVWRFPDFaX0VvRHE9aTBMVkkjKDhHZl1vJWQ8VjZwMjgkY0BQO0QwbGw3XWVRYV4mOEFdJgpIY01ZODgpbUIhXDJmPCZgVDpfbEskMUxqP29IJDZfL0tnSC45cDFhJXRFPjRybUx1OW0lMi5cQV9eY0wwOixlMi5lKEUuaiFfI01bP2E4cApBZWlOa1xCc2VpcjpBPVlVVDQnRFBEK2JdWktfdG5GaydaWzU5YiwwOWwnJCVATEJHNztKXVE0ZW0/U1FiQWU+Ymw2YEc8bUxtJVtcLTIxOwpPTHFHbj9fMlVhT287aTZTPkQ4JCRDRSIwKGRXL1ZgaiFTQ29gJyJicVpDPzJbR2xSZyxMKl5kSFcwaGFxVlxOKX4+CmVuZHN0cmVhbQplbmRvYmoKMjMgMCBvYmoKPDwgL1R5cGUgL1hPYmplY3QKL1N1YnR5cGUgL0ltYWdlCi9XaWR0aCAxMTgKL0hlaWdodCA0OQovQ29sb3JTcGFjZSAvRGV2aWNlR3JheQovQml0c1BlckNvbXBvbmVudCA4Ci9MZW5ndGggNDYxCi9GaWx0ZXIgWy9BU0NJSTg1RGVjb2RlIC9GbGF0ZURlY29kZV0KPj5zdHJlYW0KR2IiL2VKSV1SPyNYblhrVDZBPlhLbkRiV0IiTVpFYWpQcGQ0XScoXkBSbHQia0IiUzAkZiU/PW09NEM7Oy4kTihqUmNZUiVzZCZsOSRPdF4KKSY3PUwoNy1lcXFlQC4oL1NDOTg0LWZMWGVMWjVxY1o1bEFFQjU1PjNAMD1rIjtSaDJoQmNRTDMmSj81b1tjSDBiU0ZOXjw7O0A0MVNZOW0KYyJaST1ZbCNjNClgXyJZbG1OMyUuQS5sTlNgVmUvWTwlPy43KCgpLy5kQls7ayFKWyUnJURKXEk/K2E3OjVvTmtZXHFFUz4zPEk1YlptKEkKJWQ8QEIpOERidDNwS0djbGJRazEnaVpWczdOTTBcbyZSKnFVPmdIdS1GckNraDxrSEZHKlwkTT1fc1YvLSRcSkY6ZS8/PmZYQStDQ21wRGUKZFNQNkdjdSxcWCdBTD1hNUpDWzQ2Ry5ocDI9VTRlXiRlb1xRI2IqbTdDOCQtSkEoY1o/WWAnQzs2SnBIZVBsXCRIRUMhdV4qUWErNmdFTWsKW2ZFVipiLiM+cHI+LVdTZiM+aCZXP3Vra1RzaFlgPS9YLjY2QSo7YmlzL2RnQFFYWHNyOG07fj4KZW5kc3RyZWFtCmVuZG9iagoyNCAwIG9iago8PCAvVHlwZSAvWE9iamVjdAovU3VidHlwZSAvSW1hZ2UKL1dpZHRoIDU0Ci9IZWlnaHQgNTQKL0NvbG9yU3BhY2UgL0RldmljZUdyYXkKL0JpdHNQZXJDb21wb25lbnQgOAovTGVuZ3RoIDc3Ci9GaWx0ZXIgWy9BU0NJSTg1RGVjb2RlIC9GbGF0ZURlY29kZV0KPj5zdHJlYW0KR2IiMEpkMFRkcSRqNG9GXlUsIkhUczlFSUU7MEFULF9FKkxaJW9AN0psNVY7SCdDcz1UcnFEYUguNEJmI2M0T1ZUOyhkI2Y8R0U5fj4KZW5kc3RyZWFtCmVuZG9iagoyNSAwIG9iago8PCAvVHlwZSAvWE9iamVjdAovU3VidHlwZSAvSW1hZ2UKL1dpZHRoIDI3NwovSGVpZ2h0IDczCi9Db2xvclNwYWNlIC9EZXZpY2VHcmF5Ci9CaXRzUGVyQ29tcG9uZW50IDgKL0xlbmd0aCAxMzk0Ci9GaWx0ZXIgWy9BU0NJSTg1RGVjb2RlIC9GbGF0ZURlY29kZV0KPj5zdHJlYW0KR2IiL2NnUSE0LSRxJ2pqNUwjcFpHdTY9I0g/JWghJFonRWs9WCZuTU9vK0xPY1gvbXImKVZsP0ttSitFbkU5ISNrSSNwOTYyYy02LE11dUEKb0ZaSG08JnBIZ1NgJEAobS03LVVRKDckSV1fSl5ZU0E3bScpQiY5LVo7Oz1aNT03Xj5KZEhedFRxcWYqXz1JLWQqb0BVWjpjT1soIWFJTGEKYjByalFXUDslUFhjP3M8cFRbTzFiI0trUEVgdUVCV1xKUl47dVxrPjRSVjlmNGdoIjYzSnU2ZUgtQit1QzE8IjdpVVdbU1cqOllYalpjIygKQjdfQFpCWmM1T1w8cEQ8Q0RrTmVMYTE3O0o+TV5qMmovMWUrJV9sLTctSStaV1U0NCkvWDFzMCZXMEsiUElwOWZWPyYpSUMqWkNiNWtrZ1MKL1JgMGlGNkNibS4/RyZQJiZMRnNVKkZsWlVgbSpBKDxaWi9pb1lEWmFdL2phJ1I5Jjk5SUhLVF8uVTA4LzZlZ1NBZkI8NF9dQT8jO1wsJi0KIkQiZkBrJTVDTzZGZDhyXW8ldU1hOCdFcXEmTS5hOFxgJFRpciMvdCwvO1NWMFAiOjkkX2VuNFBpaVhFUW4hY1BeLyxUZjlkaEJkJ0kuZUEKUW9QISkmMj42IUUqKlgrVTtcbWBKYWVhRyUiY3BdMidaNV9dTUtEVUc2WVpVKDxUbzJCbXMjdDlZbG5uWG83IzMkJDAhbSluLFJQYGApcm8KN09gNT5LYjcrdCYyJFRST0M0YjVQXFgpYCs/PStmLXJtc10yQj0/bzJXWnVgVmBHbjdrYG4sdFVJYjtzckJxRUw3NjJdIyFTYGMoRGtTX0gKWCYrc1lyVFw7PU1MRD1cZCp1S2ZWWXRmKkUjS0A8bFRbO24vbjNNLyw+LSFZQmpoKm41Vjg0U0VaJ2FlUC1Hb14pSCdwI1cvNHJuRTQraTEKK0lCRlA1Uys0PThGOSU3Tyo6ZipuM0otYTc2MmIzYiFOV0hWKWhGK21iLC1VLUU5U05oST4sVSo8LkdtcC0pMiQvLztJOm4+W2I3cUljKDYKcElAI05UZSlHY0s3YFliUFRmZERhbiNLbVBdV145KDZqbGNMQlFlVzdxTCMjPDNlNW8rPC0pNGNsNFR1XFwoYFNiJm8qRUAnYytqam1aUCoKNE5nRkdFXiQmOi4mXyVQRkBONWQ1dSFgR1Y2bylVS0c3OCsmW1A6TGIlMnRRNC9DbF9OTltXI3A/XkxqNCRtVlZTZCZOMCwzPUA4J0xRKHQKTGBuZWAvWXM4aiwlbSVQOl9xMnItbWRjPVhYNSY+OiNZO24+LipHcGZtVyc8OE9fRWtsPSkkTi9HRCtRSFhyWD5HLCVpYUtzRlBDNjVfLE0KQD8yXic5Mk1JVz8kZ2s1aEQ+YGtuOzFPLSViazVuXVteOj5QX0YsaWIzM3ErW249OCFibkBBbGViMltVU2NoT0VrXVdpV189KCQxOjM4KTsKIklWbHFLNDFOK1BsNjxBOmk4Uyg0PSc1cChjV2RCQmQtZSNgMVdoOzs6QXQzQ3Q+YURLQklQaWNdKzMyXTtnXTRXWEVDM2drPFBMMnFnLHMKJG5FSDJqP14haFMrUztVTGR0U2pAYV9fYjtsQGprRlxvPUs1PCgxUSRzP3BjJGZzLi5abUE9dD47X0UpRzVjNzkocyokJFZCITA2WyEoLGUKLVUzTFJKbCQwWFxKT1loQjYtdSsoV28oVCMsVD0qLVVkPiU8V3FTXmVqKyUrZWRqXksiVnNIMi5wSCZXYT5sdUxOMDRPWUo0TkJoZz9DcSwKLi9zS19UPElEX1AkQCc0fj4KZW5kc3RyZWFtCmVuZG9iagoyNiAwIG9iago8PCAvVHlwZSAvWE9iamVjdAovU3VidHlwZSAvSW1hZ2UKL1dpZHRoIDExOAovSGVpZ2h0IDQ5Ci9Db2xvclNwYWNlIC9EZXZpY2VHcmF5Ci9CaXRzUGVyQ29tcG9uZW50IDgKL0xlbmd0aCA0NjEKL0ZpbHRlciBbL0FTQ0lJODVEZWNvZGUgL0ZsYXRlRGVjb2RlXQo+PnN0cmVhbQpHYiIvZUpJXVI/I1huWGtUNkE+WEtuRGJXQiJNWkVhalBwZDRdJyheQFJsdCJrQiJTMCRmJT89bT00Qzs7LiROKGpSY1lSJXNkJmw5JE90XgopJjc9TCg3LWVxcWVALigvU0M5ODQtZkxYZUxaNXFjWjVsQUVCNTU+M0AwPWsiO1JoMmhCY1FMMyZKPzVvW2NIMGJTRk5ePDs7QDQxU1k5bQpjIlpJPVlsI2M0KWBfIllsbU4zJS5BLmxOU2BWZS9ZPCU/LjcoKCkvLmRCWztrIUpbJSclREpcST8rYTc6NW9Oa1lccUVTPjM8STViWm0oSQolZDxAQik4RGJ0M3BLR2NsYlFrMSdpWlZzN05NMFxvJlIqcVU+Z0h1LUZyQ2toPGtIRkcqXCRNPV9zVi8tJFxKRjplLz8+ZlhBK0NDbXBEZQpkU1A2R2N1LFxYJ0FMPWE1SkNbNDZHLmhwMj1VNGVeJGVvXFEjYiptN0M4JC1KQShjWj9ZYCdDOzZKcEhlUGxcJEhFQyF1XipRYSs2Z0VNawpbZkVWKmIuIz5wcj4tV1NmIz5oJlc/dWtrVHNoWWA9L1guNjZBKjtiaXMvZGdAUVhYc3I4bTt+PgplbmRzdHJlYW0KZW5kb2JqCjI3IDAgb2JqCjw8IC9UeXBlIC9YT2JqZWN0Ci9TdWJ0eXBlIC9JbWFnZQovV2lkdGggNTQKL0hlaWdodCA1NAovQ29sb3JTcGFjZSAvRGV2aWNlR3JheQovQml0c1BlckNvbXBvbmVudCA4Ci9MZW5ndGggNzcKL0ZpbHRlciBbL0FTQ0lJODVEZWNvZGUgL0ZsYXRlRGVjb2RlXQo+PnN0cmVhbQpHYiIwSmQwVGRxJGo0b0ZeVSwiSFRzOUVJRTswQVQsX0UqTFolb0A3Smw1VjtIJ0NzPVRycURhSC40QmYjYzRPVlQ7KGQjZjxHRTl+PgplbmRzdHJlYW0KZW5kb2JqCnhyZWYKMCAyOAowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDAwMDkgMDAwMDAgbiAKMDAwMDAwMDA1OCAwMDAwMCBuIAowMDAwMDAwMTA0IDAwMDAwIG4gCjAwMDAwMDAxNzYgMDAwMDAgbiAKMDAwMDAwMDIyOCAwMDAwMCBuIAowMDAwMDAwMzI2IDAwMDAwIG4gCjAwMDAwMDA0MjkgMDAwMDAgbiAKMDAwMDAwMDUzNSAwMDAwMCBuIAowMDAwMDAwNjQ1IDAwMDAwIG4gCjAwMDAwMDA3NDEgMDAwMDAgbiAKMDAwMDAwMDg0MyAwMDAwMCBuIAowMDAwMDAwOTQ4IDAwMDAwIG4gCjAwMDAwMDEwNTcgMDAwMDAgbiAKMDAwMDAwMTE1OCAwMDAwMCBuIAowMDAwMDAxMjU4IDAwMDAwIG4gCjAwMDAwMDEzNjAgMDAwMDAgbiAKMDAwMDAwMTQ2NiAwMDAwMCBuIAowMDAwMDAxNjM2IDAwMDAwIG4gCjAwMDAwMDIwNTMgMDAwMDAgbiAKMDAwMDAwMjQ3MCAwMDAwMCBuIAowMDAwMDAyODg3IDAwMDAwIG4gCjAwMDAwMDU1ODYgMDAwMDAgbiAKMDAwMDAwODc0MiAwMDAwMCBuIAowMDAwMDA5Mzg5IDAwMDAwIG4gCjAwMDAwMDk2NTAgMDAwMDAgbiAKMDAwMDAxMTIzMSAwMDAwMCBuIAowMDAwMDExODc4IDAwMDAwIG4gCnRyYWlsZXIKPDwKL0luZm8gMTcgMCBSCi9TaXplIDI4Ci9Sb290IDEgMCBSCj4+CnN0YXJ0eHJlZgoxMjEzOQolJUVPRgo", - "url": "https://wwwdev.idev.fedex.com/document/v2/document/retrieve/SH,794810209259_SHIPPING_P/isLabel=true&autoPrint=false" - } - ], - "pieceResponses": [ - { - "netChargeAmount": 21.45, - "transactionDetails": [ - { - "transactionDetails": "transactionDetails", - "transactionId": "12345" - } - ], - "packageDocuments": [ - { - "contentKey": "content key", - "copiesToPrint": 10, - "contentType": "COMMERCIAL_INVOICE", - "trackingNumber": "794953535000", - "docType": "PDF", - "alerts": [ - { - "code": "SHIP.RECIPIENT.POSTALCITY.MISMATCH", - "alertType": "NOTE", - "message": "Recipient Postal-City Mismatch." - } - ], - "encodedLabel": "encoded label", - "url": "https://wwwdev.idev.fedex.com/document/v2/document/retrieve/SH,794810209259_SHIPPING_P/isLabel=true&autoPrint=false" - } - ], - "acceptanceTrackingNumber": "794953535000", - "serviceCategory": "EXPRESS", - "listCustomerTotalCharge": "listCustomerTotalCharge", - "deliveryTimestamp": "2012-09-23", - "trackingIdType": "FEDEX", - "additionalChargesDiscount": 621.45, - "netListRateAmount": 1.45, - "baseRateAmount": 321.45, - "packageSequenceNumber": 215, - "netDiscountAmount": 121.45, - "codcollectionAmount": 231.45, - "masterTrackingNumber": "794953535000", - "acceptanceType": "acceptanceType", - "trackingNumber": "794953535000", - "successful": true, - "customerReferences": [ - { - "customerReferenceType": "INVOICE_NUMBER", - "value": "3686" - } - ] - } - ], - "serviceName": "FedEx 2 Day Freight", - "alerts": [ - { - "code": "SHIP.RECIPIENT.POSTALCITY.MISMATCH", - "alertType": "NOTE", - "message": "Recipient Postal-City Mismatch." - } - ], - "completedShipmentDetail": { - "completedPackageDetails": [ - { - "sequenceNumber": 256, - "operationalDetail": { - "astraHandlingText": "astraHandlingText", - "barcodes": { - "binaryBarcodes": [ - { - "type": "COMMON-2D", - "value": "string" - } - ], - "stringBarcodes": [ - { - "type": "ADDRESS", - "value": "1010062512241535917900794953544894" - } - ] - }, - "operationalInstructions": [ - { - "number": 17, - "content": "content" - } - ] - }, - "signatureOption": "DIRECT", - "trackingIds": [ - { - "formId": "0201", - "trackingIdType": "EXPRESS", - "uspsApplicationId": "92", - "trackingNumber": "49092000070120032835" - } - ], - "groupNumber": 567, - "oversizeClass": "OVERSIZE_1, OVERSIZE_2, OVERSIZE_3", - "packageRating": { - "effectiveNetDiscount": 0, - "actualRateType": "PAYOR_ACCOUNT_PACKAGE", - "packageRateDetails": [ - { - "ratedWeightMethod": "DIM", - "totalFreightDiscounts": 44.55, - "totalTaxes": 3.45, - "minimumChargeType": "CUSTOMER", - "baseCharge": 45.67, - "totalRebates": 4.56, - "rateType": "PAYOR_RETAIL_PACKAGE", - "billingWeight": { - "units": "KG", - "value": 68 - }, - "netFreight": 4.89, - "surcharges": [ - { - "amount": "string", - "surchargeType": "APPOINTMENT_DELIVERY", - "level": "PACKAGE, or SHIPMENT", - "description": "description" - } - ], - "totalSurcharges": 22.56, - "netFedExCharge": 12.56, - "netCharge": 121.56, - "currency": "USD" - } - ] - }, - "dryIceWeight": { - "units": "KG", - "value": 68 - }, - "hazardousPackageDetail": { - "regulation": "IATA", - "accessibility": "ACCESSIBLE", - "labelType": "II_YELLOW", - "containers": [ - { - "qvalue": 2, - "hazardousCommodities": [ - { - "quantity": { - "quantityType": "GROSS", - "amount": 24.56, - "units": "Kg" - }, - "options": { - "quantity": { - "quantityType": "GROSS", - "amount": 24.56, - "units": "Kg" - }, - "innerReceptacles": [ - { - "quantity": { - "quantityType": "NET", - "amount": 34.56, - "units": "Kg" - } - } - ], - "options": { - "labelTextOption": "APPEND", - "customerSuppliedLabelText": "Customer Supplied Label Text." - }, - "description": { - "sequenceNumber": 9812, - "processingOptions": [ - "INCLUDE_SPECIAL_PROVISIONS" - ], - "subsidiaryClasses": [ - "Subsidiary Classes" - ], - "labelText": "labelText", - "technicalName": "technicalName", - "packingDetails": { - "packingInstructions": "packing Instructions", - "cargoAircraftOnly": true - }, - "authorization": "authorization", - "reportableQuantity": true, - "percentage": 12.45, - "id": "123", - "packingGroup": "I", - "properShippingName": "properShippingName", - "hazardClass": "hazard Class" - } - }, - "description": { - "sequenceNumber": 876, - "packingInstructions": "packingInstructions", - "subsidiaryClasses": [ - "Subsidiary Classes" - ], - "labelText": "labelText", - "tunnelRestrictionCode": "UN2919", - "specialProvisions": "specialProvisions", - "properShippingNameAndDescription": "properShippingNameAndDescription", - "technicalName": "technicalName", - "symbols": "symbols", - "authorization": "authorization", - "attributes": [ - "attributes" - ], - "id": "1234", - "packingGroup": "packingGroup", - "properShippingName": "properShippingName", - "hazardClass": "hazardClass" - }, - "netExplosiveDetail": { - "amount": 10, - "units": "units", - "type": "NET_EXPLOSIVE_WEIGHT" - }, - "massPoints": 2 - } - ] - } - ], - "cargoAircraftOnly": true, - "referenceId": "123456", - "radioactiveTransportIndex": 2.45 - } - } - ], - "operationalDetail": { - "originServiceArea": "A1", - "serviceCode": "010", - "airportId": "DFW", - "postalCode": "38010", - "scac": "scac", - "deliveryDay": "TUE", - "originLocationId": "678", - "countryCode": "US", - "astraDescription": "SMART POST", - "originLocationNumber": 243, - "deliveryDate": "2001-04-05", - "deliveryEligibilities": [ - "deliveryEligibilities" - ], - "ineligibleForMoneyBackGuarantee": true, - "maximumTransitTime": "SEVEN_DAYS", - "destinationLocationStateOrProvinceCode": "GA", - "astraPlannedServiceLevel": "TUE - 15 OCT 10:30A", - "destinationLocationId": "DALA", - "transitTime": "TWO_DAYS", - "stateOrProvinceCode": "GA", - "destinationLocationNumber": 876, - "packagingCode": "03", - "commitDate": "2019-10-15", - "publishedDeliveryTime": "10:30A", - "ursaSuffixCode": "Ga", - "ursaPrefixCode": "XH", - "destinationServiceArea": "A1", - "commitDay": "TUE", - "customTransitTime": "ONE_DAY" - }, - "carrierCode": "FDXE", - "completedHoldAtLocationDetail": { - "holdingLocationType": "FEDEX_STAFFED", - "holdingLocation": { - "address": { - "streetLines": [ - "10 FedEx Parkway", - "Suite 302" - ], - "city": "Beverly Hills", - "stateOrProvinceCode": "CA", - "postalCode": "38127", - "countryCode": "US", - "residential": false - }, - "contact": { - "personName": "John Taylor", - "tollFreePhoneNumber": "6127812", - "emailAddress": "sample@company.com", - "phoneNumber": "1234567890", - "phoneExtension": "91", - "faxNumber": "1234567890", - "pagerNumber": "6127812", - "companyName": "Fedex", - "title": "title" - } - } - }, - "completedEtdDetail": { - "folderId": "0b0493e580dc1a1b", - "type": "COMMERCIAL_INVOICE", - "uploadDocumentReferenceDetails": [ - { - "documentType": "PRO_FORMA_INVOICE", - "documentReference": "DocumentReference", - "description": "PRO FORMA INVOICE", - "documentId": "090927d680038c61" - } - ] - }, - "packagingDescription": "description", - "masterTrackingId": { - "formId": "0201", - "trackingIdType": "EXPRESS", - "uspsApplicationId": "92", - "trackingNumber": "49092000070120032835" - }, - "serviceDescription": { - "serviceType": "FEDEX_1_DAY_FREIGHT", - "code": "80", - "names": [ - { - "type": "long", - "encoding": "UTF-8", - "value": "F-2" - } - ], - "operatingOrgCodes": [ - "FXE" - ], - "astraDescription": "2 DAY FRT", - "description": "description", - "serviceId": "EP1000000027", - "serviceCategory": "freight" - }, - "usDomestic": true, - "hazardousShipmentDetail": { - "hazardousSummaryDetail": { - "smallQuantityExceptionPackageCount": 10 - }, - "adrLicense": { - "licenseOrPermitDetail": { - "number": "12345", - "effectiveDate": "2019-08-09", - "expirationDate": "2019-04-09" - } - }, - "dryIceDetail": { - "totalWeight": { - "units": "KG", - "value": 68 - }, - "packageCount": 10, - "processingOptions": { - "options": [ - "options" - ] - } - } - }, - "shipmentRating": { - "actualRateType": "PAYOR_LIST_SHIPMENT", - "shipmentRateDetails": [ - { - "rateZone": "US001O", - "ratedWeightMethod": "ACTUAL", - "totalDutiesTaxesAndFees": 24.56, - "pricingCode": "LTL_FREIGHT", - "totalFreightDiscounts": 1.56, - "totalTaxes": 3.45, - "totalDutiesAndTaxes": 6.78, - "totalAncillaryFeesAndTaxes": 5.67, - "taxes": [ - { - "amount": 10, - "level": "level", - "description": "description", - "type": "type" - } - ], - "totalRebates": 1.98, - "fuelSurchargePercent": 4.56, - "currencyExchangeRate": { - "rate": 25.6, - "fromCurrency": "Rupee", - "intoCurrency": "USD" - }, - "totalNetFreight": 9.56, - "totalNetFedExCharge": 88.56, - "shipmentLegRateDetails": [], - "dimDivisor": 0, - "rateType": "RATED_ACCOUNT_SHIPMENT", - "surcharges": [ - { - "amount": "string", - "surchargeType": "APPOINTMENT_DELIVERY", - "level": "PACKAGE, or SHIPMENT", - "description": "description" - } - ], - "totalSurcharges": 9.88, - "totalBillingWeight": { - "units": "KG", - "value": 68 - }, - "freightDiscounts": [ - { - "amount": 8.9, - "rateDiscountType": "COUPON", - "percent": 28.9, - "description": "description" - } - ], - "rateScale": "00000", - "totalNetCharge": 3.78, - "totalBaseCharge": 234.56, - "totalNetChargeWithDutiesAndTaxes": 222.56, - "currency": "USD" - } - ] - }, - "documentRequirements": { - "requiredDocuments": [ - "COMMERCIAL_OR_PRO_FORMA_INVOICE", - "AIR_WAYBILL" - ], - "prohibitedDocuments": [ - "CERTIFICATE_OF_ORIGIN" - ], - "generationDetails": [ - { - "type": "COMMERCIAL_INVOICE", - "minimumCopiesRequired": 3, - "letterhead": "OPTIONAL", - "electronicSignature": "OPTIONAL" - } - ] - }, - "exportComplianceStatement": "12345678901234567", - "accessDetail": { - "accessorDetails": [ - { - "password": "password", - "role": "role", - "emailLabelUrl": "emailLabelUrl", - "userId": "userId" - } - ] - } - }, - "shipmentAdvisoryDetails": { - "regulatoryAdvisory": { - "prohibitions": [ - { - "derivedHarmonizedCode": "01", - "advisory": { - "code": "code", - "text": "Text", - "parameters": [ - { - "id": "message ID", - "value": "Message value" - } - ], - "localizedText": "localizedText" - }, - "commodityIndex": 12, - "source": "source", - "categories": [ - "categories" - ], - "type": "type", - "waiver": { - "advisories": [ - { - "code": "code", - "text": "Text", - "parameters": [ - { - "id": "message ID", - "value": "Message value" - } - ], - "localizedText": "localizedText" - } - ], - "description": "description", - "id": "id" - }, - "status": "status" - } - ] - } - }, - "masterTrackingNumber": "794953535000" - } - ], - "alerts": [ - { - "code": "SHIP.RECIPIENT.POSTALCITY.MISMATCH", - "alertType": "NOTE", - "message": "Recipient Postal-City Mismatch." - } - ], - "jobId": "abc123456" - } -} \ No newline at end of file diff --git a/modules/connectors/ninja_van/schemas/tracking_response.json b/modules/connectors/ninja_van/schemas/tracking_response.json index dd71a03e60..2a8d228b24 100644 --- a/modules/connectors/ninja_van/schemas/tracking_response.json +++ b/modules/connectors/ninja_van/schemas/tracking_response.json @@ -1,459 +1,86 @@ { - "transactionId": "624deea6-b709-470c-8c39-4b5511281492", - "customerTransactionId": "AnyCo_order123456789", - "output": { - "completeTrackResults": [ - { - "trackingNumber": "123456789012", - "trackResults": [ - { - "trackingNumberInfo": { - "trackingNumber": "128667043726", - "carrierCode": "ninja_van", - "trackingNumberUniqueId": "245822~123456789012~FDEG" - }, - "additionalTrackingInfo": { - "hasAssociatedShipments": false, - "nickname": "shipment nickname", - "packageIdentifiers": [ - { - "type": "SHIPPER_REFERENCE", - "value": "ASJFGVAS", - "trackingNumberUniqueId": "245822~123456789012~FDEG" - } - ], - "shipmentNotes": "shipment notes" - }, - "distanceToDestination": { - "units": "KM", - "value": 685.7 - }, - "consolidationDetail": [ - { - "timeStamp": "2020-10-13T03:54:44-06:00", - "consolidationID": "47936927", - "reasonDetail": { - "description": "Wrong color", - "type": "REJECTED" - }, - "packageCount": 25, - "eventType": "PACKAGE_ADDED_TO_CONSOLIDATION" - } - ], - "meterNumber": "8468376", - "returnDetail": { - "authorizationName": "Sammy Smith", - "reasonDetail": [ - { - "description": "Wrong color", - "type": "REJECTED" - } - ] - }, - "serviceDetail": { - "description": "FedEx Freight Economy.", - "shortDescription": "FL", - "type": "FEDEX_FREIGHT_ECONOMY" - }, - "destinationLocation": { - "locationId": "SEA", - "locationContactAndAddress": { - "contact": { - "personName": "John Taylor", - "phoneNumber": "1234567890", - "companyName": "Fedex" - }, - "address": { - "addressClassification": "BUSINESS", - "residential": false, - "streetLines": [ - "1043 North Easy Street", - "Suite 999" - ], - "city": "SEATTLE", - "urbanizationCode": "RAFAEL", - "stateOrProvinceCode": "WA", - "postalCode": "98101", - "countryCode": "US", - "countryName": "United States" - } - }, - "locationType": "PICKUP_LOCATION" - }, - "latestStatusDetail": { - "scanLocation": { - "addressClassification": "BUSINESS", - "residential": false, - "streetLines": [ - "1043 North Easy Street", - "Suite 999" - ], - "city": "SEATTLE", - "urbanizationCode": "RAFAEL", - "stateOrProvinceCode": "WA", - "postalCode": "98101", - "countryCode": "US", - "countryName": "United States" - }, - "code": "PU", - "derivedCode": "PU", - "ancillaryDetails": [ - { - "reason": "15", - "reasonDescription": "Customer not available or business closed", - "action": "Contact us at to discuss possible delivery or pickup alternatives.", - "actionDescription": "Customer not Available or Business Closed" - } - ], - "statusByLocale": "Picked up", - "description": "Picked up", - "delayDetail": { - "type": "WEATHER", - "subType": "SNOW", - "status": "DELAYED" - } - }, - "serviceCommitMessage": { - "message": "No scheduled delivery date available at this time.", - "type": "ESTIMATED_DELIVERY_DATE_UNAVAILABLE" - }, - "informationNotes": [ - { - "code": "CLEARANCE_ENTRY_FEE_APPLIES", - "description": "this is an informational message" - } - ], - "error": { - "code": "TRACKING.TRACKINGNUMBER.EMPTY", - "parameterList": [ - { - "value": "value", - "key": "key" - } - ], - "message": "Please provide tracking number." - }, - "specialHandlings": [ - { - "description": "Deliver Weekday", - "type": "DELIVER_WEEKDAY", - "paymentType": "OTHER" - } - ], - "availableImages": [ - { - "size": "LARGE", - "type": "BILL_OF_LADING" - } - ], - "deliveryDetails": { - "receivedByName": "Reciever", - "destinationServiceArea": "EDDUNAVAILABLE", - "destinationServiceAreaDescription": "Appointment required", - "locationDescription": "Receptionist/Front Desk", - "actualDeliveryAddress": { - "addressClassification": "BUSINESS", - "residential": false, - "streetLines": [ - "1043 North Easy Street", - "Suite 999" - ], - "city": "SEATTLE", - "urbanizationCode": "RAFAEL", - "stateOrProvinceCode": "WA", - "postalCode": "98101", - "countryCode": "US", - "countryName": "United States" - }, - "deliveryToday": false, - "locationType": "FEDEX_EXPRESS_STATION", - "signedByName": "Reciever", - "officeOrderDeliveryMethod": "Courier", - "deliveryAttempts": "0", - "deliveryOptionEligibilityDetails": [ - { - "option": "INDIRECT_SIGNATURE_RELEASE", - "eligibility": "INELIGIBLE" - } - ] - }, - "scanEvents": [ - { - "date": "2018-02-02T12:01:00-07:00", - "derivedStatus": "Picked Up", - "scanLocation": { - "addressClassification": "BUSINESS", - "residential": false, - "streetLines": [ - "1043 North Easy Street", - "Suite 999" - ], - "city": "SEATTLE", - "urbanizationCode": "RAFAEL", - "stateOrProvinceCode": "WA", - "postalCode": "98101", - "countryCode": "US", - "countryName": "United States" - }, - "locationId": "SEA", - "locationType": "PICKUP_LOCATION", - "exceptionDescription": "Package available for clearance", - "eventDescription": "Picked Up", - "eventType": "PU", - "derivedStatusCode": "PU", - "exceptionCode": "A25", - "delayDetail": { - "type": "WEATHER", - "subType": "SNOW", - "status": "DELAYED" - } - } - ], - "dateAndTimes": [ - { - "dateTime": "2007-09-27T00:00:00", - "type": "ACTUAL_DELIVERY" - } - ], - "packageDetails": { - "physicalPackagingType": "BARREL", - "sequenceNumber": "45", - "undeliveredCount": "7", - "packagingDescription": { - "description": "FedEx Pak", - "type": "FEDEX_PAK" - }, - "count": "1", - "weightAndDimensions": { - "weight": [ - { - "unit": "LB", - "value": "22222.0" - } - ], - "dimensions": [ - { - "length": 100, - "width": 50, - "height": 30, - "units": "CM" - } - ] - }, - "packageContent": [ - "wire hangers", - "buttons" - ], - "contentPieceCount": "100", - "declaredValue": { - "currency": "USD", - "value": 56.8 - } - }, - "goodsClassificationCode": "goodsClassificationCode", - "holdAtLocation": { - "locationId": "SEA", - "locationContactAndAddress": { - "contact": { - "personName": "John Taylor", - "phoneNumber": "1234567890", - "companyName": "Fedex" - }, - "address": { - "addressClassification": "BUSINESS", - "residential": false, - "streetLines": [ - "1043 North Easy Street", - "Suite 999" - ], - "city": "SEATTLE", - "urbanizationCode": "RAFAEL", - "stateOrProvinceCode": "WA", - "postalCode": "98101", - "countryCode": "US", - "countryName": "United States" - } - }, - "locationType": "PICKUP_LOCATION" - }, - "customDeliveryOptions": [ - { - "requestedAppointmentDetail": { - "date": "2019-05-07", - "window": [ - { - "description": "Description field", - "window": { - "begins": "2021-10-01T08:00:00", - "ends": "2021-10-15T00:00:00-06:00" - }, - "type": "ESTIMATED_DELIVERY" - } - ] - }, - "description": "Redirect the package to the hold location.", - "type": "REDIRECT_TO_HOLD_AT_LOCATION", - "status": "HELD" - } - ], - "estimatedDeliveryTimeWindow": { - "description": "Description field", - "window": { - "begins": "2021-10-01T08:00:00", - "ends": "2021-10-15T00:00:00-06:00" - }, - "type": "ESTIMATED_DELIVERY" - }, - "pieceCounts": [ - { - "count": "35", - "description": "picec count description", - "type": "ORIGIN" - } - ], - "originLocation": { - "locationId": "SEA", - "locationContactAndAddress": { - "contact": { - "personName": "John Taylor", - "phoneNumber": "1234567890", - "companyName": "Fedex" - }, - "address": { - "addressClassification": "BUSINESS", - "residential": false, - "streetLines": [ - "1043 North Easy Street", - "Suite 999" - ], - "city": "SEATTLE", - "urbanizationCode": "RAFAEL", - "stateOrProvinceCode": "WA", - "postalCode": "98101", - "countryCode": "US", - "countryName": "United States" - } - }, - "locationType": "PICKUP_LOCATION" - }, - "recipientInformation": { - "contact": { - "personName": "John Taylor", - "phoneNumber": "1234567890", - "companyName": "Fedex" - }, - "address": { - "addressClassification": "BUSINESS", - "residential": false, - "streetLines": [ - "1043 North Easy Street", - "Suite 999" - ], - "city": "SEATTLE", - "urbanizationCode": "RAFAEL", - "stateOrProvinceCode": "WA", - "postalCode": "98101", - "countryCode": "US", - "countryName": "United States" - } - }, - "standardTransitTimeWindow": { - "description": "Description field", - "window": { - "begins": "2021-10-01T08:00:00", - "ends": "2021-10-15T00:00:00-06:00" - }, - "type": "ESTIMATED_DELIVERY" - }, - "shipmentDetails": { - "contents": [ - { - "itemNumber": "RZ5678", - "receivedQuantity": "13", - "description": "pulyurethane rope", - "partNumber": "RK1345" - } - ], - "beforePossessionStatus": false, - "weight": [ - { - "unit": "LB", - "value": "22222.0" - } - ], - "contentPieceCount": "3333", - "splitShipments": [ - { - "pieceCount": "10", - "statusDescription": "status", - "timestamp": "2019-05-07T08:00:07", - "statusCode": "statuscode" - } - ] - }, - "reasonDetail": { - "description": "Wrong color", - "type": "REJECTED" - }, - "availableNotifications": [ - "ON_DELIVERY", - "ON_EXCEPTION" - ], - "shipperInformation": { - "contact": { - "personName": "John Taylor", - "phoneNumber": "1234567890", - "companyName": "Fedex" - }, - "address": { - "addressClassification": "BUSINESS", - "residential": false, - "streetLines": [ - "1043 North Easy Street", - "Suite 999" - ], - "city": "SEATTLE", - "urbanizationCode": "RAFAEL", - "stateOrProvinceCode": "WA", - "postalCode": "98101", - "countryCode": "US", - "countryName": "United States" - } - }, - "lastUpdatedDestinationAddress": { - "addressClassification": "BUSINESS", - "residential": false, - "streetLines": [ - "1043 North Easy Street", - "Suite 999" - ], - "city": "SEATTLE", - "urbanizationCode": "RAFAEL", - "stateOrProvinceCode": "WA", - "postalCode": "98101", - "countryCode": "US", - "countryName": "United States" - } + "data": [ + { + "tracking_number": "NVSG01NFD000000001", + "is_full_history_available": true, + "events": [ + { + "shipper_id": 100001, + "tracking_number": "NVSG01NFD000000001", + "shipper_order_ref_no": "NVQA-NFD", + "timestamp": "2021-12-15T06:22:48+0000", + "status": "Pending Pickup", + "is_parcel_on_rts_leg": false + }, + { + "shipper_id": 100001, + "tracking_number": "NVSG01NFD000000001", + "shipper_order_ref_no": "NVQA-NFD", + "timestamp": "2021-12-15T06:23:20+0000", + "status": "Arrived at Origin Hub", + "is_parcel_on_rts_leg": false, + "comments": "SG-BUKIT TIMAH-Zone" + }, + { + "shipper_id": 100001, + "tracking_number": "NVSG01NFD000000001", + "shipper_order_ref_no": "NVQA-NFD", + "timestamp": "2021-12-15T06:23:40+0000", + "status": "Delivered", + "is_parcel_on_rts_leg": false + }, + { + "shipper_id": 100001, + "tracking_number": "NVSG01NFD000000001", + "shipper_order_ref_no": "NVQA-NFD", + "timestamp": "2021-12-15T06:23:40+0000", + "status": "Delivered, Received by Customer", + "is_parcel_on_rts_leg": false + } + ] + }, + { + "tracking_number": "NVSG01NFD000000002", + "is_full_history_available": true, + "events": [ + { + "shipper_id": 100002, + "tracking_number": "NVSG01NFD000000002", + "shipper_order_ref_no": "NVQA-NFD", + "timestamp": "2021-12-15T06:22:48+0000", + "status": "Pending Pickup", + "is_parcel_on_rts_leg": false + }, + { + "shipper_id": 100002, + "tracking_number": "NVSG01NFD000000002", + "shipper_order_ref_no": "NVQA-NFD", + "timestamp": "2021-12-15T06:23:20+0000", + "status": "Arrived at Origin Hub", + "is_parcel_on_rts_leg": false, + "arrived_at_origin_hub_information": { + "country": "Sg", + "city": "Marsiling", + "hub": "Express" } - ] - }, - { - "trackingNumber": "39936862321", - "trackResults": [ - { - "trackingNumberInfo": { - "trackingNumber": "39936862321", - "trackingNumberUniqueId": "", - "carrierCode": "" - }, - "error": { - "code": "TRACKING.TRACKINGNUMBER.NOTFOUND", - "message": "Tracking number cannot be found. Please correct the tracking number and try again." - } - } - ] - } - ], - "alerts": "TRACKING.DATA.NOTFOUND - Tracking data unavailable" - } + }, + { + "shipper_id": 100002, + "tracking_number": "NVSG01NFD000000002", + "shipper_order_ref_no": "NVQA-NFD", + "timestamp": "2021-12-15T06:23:40+0000", + "status": "Delivered", + "is_parcel_on_rts_leg": false + }, + { + "shipper_id": 100002, + "tracking_number": "NVSG01NFD000000002", + "shipper_order_ref_no": "NVQA-NFD", + "timestamp": "2021-12-15T06:23:40+0000", + "status": "Delivered, Received by Customer", + "is_parcel_on_rts_leg": false + } + ] + } + ] } diff --git a/modules/connectors/ninja_van/setup.py b/modules/connectors/ninja_van/setup.py index 5a9721fda2..ad595e945e 100644 --- a/modules/connectors/ninja_van/setup.py +++ b/modules/connectors/ninja_van/setup.py @@ -1,4 +1,3 @@ - """Warning: This setup.py is only there for git install until poetry support git subdirectory""" from setuptools import setup, find_namespace_packages @@ -7,7 +6,7 @@ setup( name="karrio.ninja_van", - version="2024.5", + version="2024.6", description="Karrio - Ninja Van Shipping Extension", long_description=long_description, long_description_content_type="text/markdown", From 0659066eb1de4aba5b38ddfbf4a0a392133ac055 Mon Sep 17 00:00:00 2001 From: Vatsal Chauhan <87218847+codeArtisanry@users.noreply.github.com> Date: Tue, 10 Sep 2024 10:42:35 +0530 Subject: [PATCH 5/6] add migrations --- .../karrio/mappers/ninja_van/__init__.py | 1 - .../providers/extension/models/ninja_van.py | 29 ++ .../migrations/0073_ninjavan_settings.py | 286 ++++++++++++++++++ 3 files changed, 315 insertions(+), 1 deletion(-) create mode 100644 modules/core/karrio/server/providers/extension/models/ninja_van.py create mode 100644 modules/core/karrio/server/providers/migrations/0073_ninjavan_settings.py diff --git a/modules/connectors/ninja_van/karrio/mappers/ninja_van/__init__.py b/modules/connectors/ninja_van/karrio/mappers/ninja_van/__init__.py index 57bd3eb37f..630fe31f73 100644 --- a/modules/connectors/ninja_van/karrio/mappers/ninja_van/__init__.py +++ b/modules/connectors/ninja_van/karrio/mappers/ninja_van/__init__.py @@ -1,5 +1,4 @@ - from karrio.core.metadata import Metadata from karrio.mappers.ninja_van.mapper import Mapper diff --git a/modules/core/karrio/server/providers/extension/models/ninja_van.py b/modules/core/karrio/server/providers/extension/models/ninja_van.py new file mode 100644 index 0000000000..0da95402a7 --- /dev/null +++ b/modules/core/karrio/server/providers/extension/models/ninja_van.py @@ -0,0 +1,29 @@ +import django.db.models as models +import karrio.server.providers.models as providers + +@providers.has_auth_cache +class NinjaVanSettings(providers.Carrier): + class Meta: + db_table = "ninjavan_settings" + verbose_name = "NinjaVan Settings" + verbose_name_plural = "NinjaVan Settings" + + client_id = models.CharField(max_length=255, null=False, blank=False) + client_secret = models.CharField(max_length=255, null=False, blank=False) + grant_type = models.CharField(max_length=255, default="client_credentials") + account_country_code = models.CharField( + max_length=3, blank=True, null=True, choices=providers.COUNTRIES + ) + + @property + def carrier_name(self) -> str: + return "ninja_van" + + def get_auth_data(self): + return { + "client_id": self.client_id, + "client_secret": self.client_secret, + "grant_type": self.grant_type, + } + +SETTINGS = NinjaVanSettings diff --git a/modules/core/karrio/server/providers/migrations/0073_ninjavan_settings.py b/modules/core/karrio/server/providers/migrations/0073_ninjavan_settings.py new file mode 100644 index 0000000000..52487a3b65 --- /dev/null +++ b/modules/core/karrio/server/providers/migrations/0073_ninjavan_settings.py @@ -0,0 +1,286 @@ +# Generated by Django 4.2.11 on 2024-06-07 11:53 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ("providers", "0072_rename_eshippersettings_eshipperxmlsettings_and_more"), + ] + + operations = [ + migrations.CreateModel( + name="NinjaVanSettings", + fields=[ + ( + "carrier_ptr", + models.OneToOneField( + auto_created=True, + on_delete=django.db.models.deletion.CASCADE, + parent_link=True, + primary_key=True, + serialize=False, + to="providers.carrier", + ), + ), + ("client_id", models.CharField(max_length=255)), + ("client_secret", models.CharField(max_length=255)), + ( + "account_country_code", + models.CharField( + blank=True, + choices=[ + ("AD", "AD"), + ("AE", "AE"), + ("AF", "AF"), + ("AG", "AG"), + ("AI", "AI"), + ("AL", "AL"), + ("AM", "AM"), + ("AN", "AN"), + ("AO", "AO"), + ("AR", "AR"), + ("AS", "AS"), + ("AT", "AT"), + ("AU", "AU"), + ("AW", "AW"), + ("AZ", "AZ"), + ("BA", "BA"), + ("BB", "BB"), + ("BD", "BD"), + ("BE", "BE"), + ("BF", "BF"), + ("BG", "BG"), + ("BH", "BH"), + ("BI", "BI"), + ("BJ", "BJ"), + ("BM", "BM"), + ("BN", "BN"), + ("BO", "BO"), + ("BR", "BR"), + ("BS", "BS"), + ("BT", "BT"), + ("BW", "BW"), + ("BY", "BY"), + ("BZ", "BZ"), + ("CA", "CA"), + ("CD", "CD"), + ("CF", "CF"), + ("CG", "CG"), + ("CH", "CH"), + ("CI", "CI"), + ("CK", "CK"), + ("CL", "CL"), + ("CM", "CM"), + ("CN", "CN"), + ("CO", "CO"), + ("CR", "CR"), + ("CU", "CU"), + ("CV", "CV"), + ("CY", "CY"), + ("CZ", "CZ"), + ("DE", "DE"), + ("DJ", "DJ"), + ("DK", "DK"), + ("DM", "DM"), + ("DO", "DO"), + ("DZ", "DZ"), + ("EC", "EC"), + ("EE", "EE"), + ("EG", "EG"), + ("ER", "ER"), + ("ES", "ES"), + ("ET", "ET"), + ("FI", "FI"), + ("FJ", "FJ"), + ("FK", "FK"), + ("FM", "FM"), + ("FO", "FO"), + ("FR", "FR"), + ("GA", "GA"), + ("GB", "GB"), + ("GD", "GD"), + ("GE", "GE"), + ("GF", "GF"), + ("GG", "GG"), + ("GH", "GH"), + ("GI", "GI"), + ("GL", "GL"), + ("GM", "GM"), + ("GN", "GN"), + ("GP", "GP"), + ("GQ", "GQ"), + ("GR", "GR"), + ("GT", "GT"), + ("GU", "GU"), + ("GW", "GW"), + ("GY", "GY"), + ("HK", "HK"), + ("HN", "HN"), + ("HR", "HR"), + ("HT", "HT"), + ("HU", "HU"), + ("IC", "IC"), + ("ID", "ID"), + ("IE", "IE"), + ("IL", "IL"), + ("IN", "IN"), + ("IQ", "IQ"), + ("IR", "IR"), + ("IS", "IS"), + ("IT", "IT"), + ("JE", "JE"), + ("JM", "JM"), + ("JO", "JO"), + ("JP", "JP"), + ("KE", "KE"), + ("KG", "KG"), + ("KH", "KH"), + ("KI", "KI"), + ("KM", "KM"), + ("KN", "KN"), + ("KP", "KP"), + ("KR", "KR"), + ("KV", "KV"), + ("KW", "KW"), + ("KY", "KY"), + ("KZ", "KZ"), + ("LA", "LA"), + ("LB", "LB"), + ("LC", "LC"), + ("LI", "LI"), + ("LK", "LK"), + ("LR", "LR"), + ("LS", "LS"), + ("LT", "LT"), + ("LU", "LU"), + ("LV", "LV"), + ("LY", "LY"), + ("MA", "MA"), + ("MC", "MC"), + ("MD", "MD"), + ("ME", "ME"), + ("MG", "MG"), + ("MH", "MH"), + ("MK", "MK"), + ("ML", "ML"), + ("MM", "MM"), + ("MN", "MN"), + ("MO", "MO"), + ("MP", "MP"), + ("MQ", "MQ"), + ("MR", "MR"), + ("MS", "MS"), + ("MT", "MT"), + ("MU", "MU"), + ("MV", "MV"), + ("MW", "MW"), + ("MX", "MX"), + ("MY", "MY"), + ("MZ", "MZ"), + ("NA", "NA"), + ("NC", "NC"), + ("NE", "NE"), + ("NG", "NG"), + ("NI", "NI"), + ("NL", "NL"), + ("NO", "NO"), + ("NP", "NP"), + ("NR", "NR"), + ("NU", "NU"), + ("NZ", "NZ"), + ("OM", "OM"), + ("PA", "PA"), + ("PE", "PE"), + ("PF", "PF"), + ("PG", "PG"), + ("PH", "PH"), + ("PK", "PK"), + ("PL", "PL"), + ("PR", "PR"), + ("PT", "PT"), + ("PW", "PW"), + ("PY", "PY"), + ("QA", "QA"), + ("RE", "RE"), + ("RO", "RO"), + ("RS", "RS"), + ("RU", "RU"), + ("RW", "RW"), + ("SA", "SA"), + ("SB", "SB"), + ("SC", "SC"), + ("SD", "SD"), + ("SE", "SE"), + ("SG", "SG"), + ("SH", "SH"), + ("SI", "SI"), + ("SK", "SK"), + ("SL", "SL"), + ("SM", "SM"), + ("SN", "SN"), + ("SO", "SO"), + ("SR", "SR"), + ("SS", "SS"), + ("ST", "ST"), + ("SV", "SV"), + ("SY", "SY"), + ("SZ", "SZ"), + ("TC", "TC"), + ("TD", "TD"), + ("TG", "TG"), + ("TH", "TH"), + ("TJ", "TJ"), + ("TL", "TL"), + ("TN", "TN"), + ("TO", "TO"), + ("TR", "TR"), + ("TT", "TT"), + ("TV", "TV"), + ("TW", "TW"), + ("TZ", "TZ"), + ("UA", "UA"), + ("UG", "UG"), + ("US", "US"), + ("UY", "UY"), + ("UZ", "UZ"), + ("VA", "VA"), + ("VC", "VC"), + ("VE", "VE"), + ("VG", "VG"), + ("VI", "VI"), + ("VN", "VN"), + ("VU", "VU"), + ("WS", "WS"), + ("XB", "XB"), + ("XC", "XC"), + ("XE", "XE"), + ("XM", "XM"), + ("XN", "XN"), + ("XS", "XS"), + ("XY", "XY"), + ("YE", "YE"), + ("YT", "YT"), + ("ZA", "ZA"), + ("ZM", "ZM"), + ("ZW", "ZW"), + ], + max_length=3, + null=True, + ), + ), + ( + "grant_type", + models.CharField(default="client_credentials", max_length=255), + ), + ], + options={ + "verbose_name": "NinjaVan Settings", + "verbose_name_plural": "NinjaVan Settings", + "db_table": "ninjavan_settings", + }, + bases=("providers.carrier",), + ), + ] From 481f340df90806a5a122ecfa0ceb29eca6a21872 Mon Sep 17 00:00:00 2001 From: Vatsal Chauhan <87218847+codeArtisanry@users.noreply.github.com> Date: Tue, 10 Sep 2024 11:15:50 +0530 Subject: [PATCH 6/6] Add Ninja Van carrier integration --- .../0051_alter_surcharge_carriers_alter_surcharge_services.py | 4 +++- requirements.sdk.dev.txt | 2 +- requirements.server.dev.txt | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/pricing/karrio/server/pricing/migrations/0051_alter_surcharge_carriers_alter_surcharge_services.py b/modules/pricing/karrio/server/pricing/migrations/0051_alter_surcharge_carriers_alter_surcharge_services.py index 128b7c02de..925825b006 100644 --- a/modules/pricing/karrio/server/pricing/migrations/0051_alter_surcharge_carriers_alter_surcharge_services.py +++ b/modules/pricing/karrio/server/pricing/migrations/0051_alter_surcharge_carriers_alter_surcharge_services.py @@ -55,6 +55,7 @@ class Migration(migrations.Migration): ("usps", "usps"), ("usps_international", "usps_international"), ("zoom2u", "zoom2u"), + ("ninja_van", "ninja_van"), ], help_text="\n The list of carriers you want to apply the surcharge to.\n
\n Note that by default, the surcharge is applied to all carriers\n ", null=True, @@ -2948,7 +2949,8 @@ class Migration(migrations.Migration): ("zoom2u_VIP", "zoom2u_VIP"), ("zoom2u_3_hour", "zoom2u_3_hour"), ("zoom2u_same_day", "zoom2u_same_day"), - ], + ("ninja_van_standard", "ninja_van_standard"), + ], help_text="\n The list of services you want to apply the surcharge to.\n
\n Note that by default, the surcharge is applied to all services\n ", null=True, ), diff --git a/requirements.sdk.dev.txt b/requirements.sdk.dev.txt index 3a87638e0c..5628f88fba 100644 --- a/requirements.sdk.dev.txt +++ b/requirements.sdk.dev.txt @@ -39,6 +39,7 @@ -e ./modules/connectors/usps_international -e ./modules/connectors/usps_wt -e ./modules/connectors/usps_wt_international +-e ./modules/connectors/ninja_van # Carrier Hub Extentions packages -e ./modules/connectors/easypost @@ -46,4 +47,3 @@ -e ./modules/connectors/freightcom -e ./modules/connectors/locate2u -e ./modules/connectors/zoom2u --e ./modules/connectors/ninja_van diff --git a/requirements.server.dev.txt b/requirements.server.dev.txt index 31d41bcc87..be15e5297e 100644 --- a/requirements.server.dev.txt +++ b/requirements.server.dev.txt @@ -44,13 +44,13 @@ Django==4.2.15 -e ./modules/connectors/usps_international -e ./modules/connectors/usps_wt -e ./modules/connectors/usps_wt_international +-e ./modules/connectors/ninja_van -e ./modules/connectors/easypost -e ./modules/connectors/eshipper -e ./modules/connectors/freightcom -e ./modules/connectors/locate2u -e ./modules/connectors/zoom2u --e ./modules/connectors/ninja_van # karrio server modules