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 100755
index 0000000000..686847b403
--- /dev/null
+++ b/modules/connectors/ninja_van/generate
@@ -0,0 +1,21 @@
+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}/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}/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"
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..9d06e9e9dd
--- /dev/null
+++ b/modules/connectors/ninja_van/karrio/mappers/ninja_van/mapper.py
@@ -0,0 +1,53 @@
+"""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..345f914a0f
--- /dev/null
+++ b/modules/connectors/ninja_van/karrio/mappers/ninja_van/proxy.py
@@ -0,0 +1,101 @@
+"""Karrio Ninja Van client proxy."""
+
+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}/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}/{self.settings.account_country_code}/4.2/orders",
+ 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 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}/{self.settings.account_country_code}/2.2/orders/{tracking_number}",
+ data=lib.to_json(request.serialize()),
+ trace=self.trace_as("json"),
+ 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}/{self.settings.account_country_code}/1.0/orders/tracking-events?{tracking_number}",
+ data=lib.to_json(request.serialize()),
+ trace=self.trace_as("json"),
+ 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
new file mode 100644
index 0000000000..1b3cf62492
--- /dev/null
+++ b/modules/connectors/ninja_van/karrio/mappers/ninja_van/settings.py
@@ -0,0 +1,21 @@
+"""Karrio Ninja Van client settings."""
+
+import attr
+from karrio.providers.ninja_van.utils import Settings as BaseSettings
+
+
+@attr.s(auto_attribs=True)
+class Settings(BaseSettings):
+ """Ninja Van connection settings."""
+
+ # required carrier specific properties
+ 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 = "SG"
+ 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..5d50d2aca3
--- /dev/null
+++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/error.py
@@ -0,0 +1,35 @@
+"""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: typing.Union[typing.List[dict], dict],
+ settings: provider_utils.Settings,
+ **details,
+) -> typing.List[models.Message]:
+ 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
+ ],
+ [],
+ )
+
+ messages: typing.List[models.Message] = [
+ models.Message(
+ carrier_name=settings.carrier_name,
+ 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/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..2767d1e8bf
--- /dev/null
+++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/cancel.py
@@ -0,0 +1,37 @@
+
+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 = 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
new file mode 100644
index 0000000000..bc7d9ad791
--- /dev/null
+++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/shipment/create.py
@@ -0,0 +1,139 @@
+
+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
+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(
+ _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 len(messages) == 0 else None
+ return shipment, messages
+
+
+def _extract_details(
+ data: typing.Tuple[dict, dict],
+ settings: provider_utils.Settings,
+) -> models.ShipmentDetails:
+ 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=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(
+ carrier_tracking_url=settings.tracking_url.format(tracking_number),
+ service_level=order.service_level,
+ service_type=order.service_type,
+ tracking_number=order.tracking_number,
+ ),
+ )
+
+
+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 = 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, 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
new file mode 100644
index 0000000000..fefc0bce3a
--- /dev/null
+++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/tracking.py
@@ -0,0 +1,88 @@
+
+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
+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]]],
+ 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,
+ ctx: dict
+) -> models.TrackingDetails:
+ 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,
+ events=[
+ models.TrackingEvent(
+ 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 events
+ ],
+ 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 = [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
new file mode 100644
index 0000000000..728df86ced
--- /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 = ["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"]
+ 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..92735ea134
--- /dev/null
+++ b/modules/connectors/ninja_van/karrio/providers/ninja_van/utils.py
@@ -0,0 +1,84 @@
+
+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."""
+
+ client_id: str = None
+ client_secret: str = None
+ grant_type: str = "client_credentials"
+
+ @property
+ def carrier_name(self):
+ return "ninja_van"
+
+ @property
+ def server_url(self):
+ return (
+ "https://api-sandbox.ninjavan.co"
+ if self.test_mode
+ 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/__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/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
new file mode 100644
index 0000000000..5f999bd926
--- /dev/null
+++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/error_response.py
@@ -0,0 +1,22 @@
+from attr import s
+from typing import Optional, List
+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:
+ requestid: Optional[str] = None
+ title: Optional[str] = None
+ message: Optional[str] = None
+ details: List[DetailType] = JList[DetailType]
+
+
+@s(auto_attribs=True)
+class ErrorResponseType:
+ error: Optional[ErrorType] = JStruct[ErrorType]
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/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..322bcf66d2
--- /dev/null
+++ b/modules/connectors/ninja_van/karrio/schemas/ninja_van/tracking_response.py
@@ -0,0 +1,34 @@
+from attr import s
+from typing import Optional, List
+from jstruct import JStruct, JList
+
+
+@s(auto_attribs=True)
+class ArrivedAtOriginHubInformationType:
+ country: Optional[str] = None
+ city: Optional[str] = None
+ hub: Optional[str] = None
+
+
+@s(auto_attribs=True)
+class EventType:
+ shipperid: Optional[int] = None
+ trackingnumber: Optional[str] = None
+ shipperorderrefno: Optional[str] = None
+ timestamp: Optional[str] = None
+ status: Optional[str] = None
+ isparcelonrtsleg: Optional[bool] = None
+ comments: Optional[str] = None
+ arrivedatoriginhubinformation: Optional[ArrivedAtOriginHubInformationType] = JStruct[ArrivedAtOriginHubInformationType]
+
+
+@s(auto_attribs=True)
+class DatumType:
+ trackingnumber: Optional[str] = None
+ isfullhistoryavailable: Optional[bool] = None
+ events: List[EventType] = JList[EventType]
+
+
+@s(auto_attribs=True)
+class TrackingResponseType:
+ data: List[DatumType] = JList[DatumType]
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
new file mode 100644
index 0000000000..1146cf169d
--- /dev/null
+++ b/modules/connectors/ninja_van/schemas/error_response.json
@@ -0,0 +1,13 @@
+{
+ "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/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/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..2a8d228b24
--- /dev/null
+++ b/modules/connectors/ninja_van/schemas/tracking_response.json
@@ -0,0 +1,86 @@
+{
+ "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"
+ }
+ },
+ {
+ "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
new file mode 100644
index 0000000000..ad595e945e
--- /dev/null
+++ b/modules/connectors/ninja_van/setup.py
@@ -0,0 +1,26 @@
+"""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.6",
+ 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 = """{}
+"""
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/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/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",),
+ ),
+ ]
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/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 d595e72462..2f7397909e 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.3`. 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
*
- * The version of the OpenAPI document: 2024.6.3
- *
*
* 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;
/**
- * Specify address validation result
+ *
* @type {AddressValidation}
* @memberof Address
*/
@@ -410,19 +410,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
*/
@@ -440,7 +440,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
*/
@@ -488,7 +488,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
*/
@@ -753,38 +753,38 @@ 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
*/
'results': Array;
}
/**
- *
+ *
* @export
* @interface AddressValidation
*/
@@ -803,25 +803,25 @@ export interface AddressValidation {
'meta'?: { [key: string]: any; } | null;
}
/**
- *
+ *
* @export
* @interface AlliedExpress
*/
export interface AlliedExpress {
/**
- *
+ *
* @type {string}
* @memberof AlliedExpress
*/
'username': string;
/**
- *
+ *
* @type {string}
* @memberof AlliedExpress
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof AlliedExpress
*/
@@ -844,25 +844,25 @@ export const AlliedExpressServiceTypeEnum = {
export type AlliedExpressServiceTypeEnum = typeof AlliedExpressServiceTypeEnum[keyof typeof AlliedExpressServiceTypeEnum];
/**
- *
+ *
* @export
* @interface AlliedExpressLocal
*/
export interface AlliedExpressLocal {
/**
- *
+ *
* @type {string}
* @memberof AlliedExpressLocal
*/
'username': string;
/**
- *
+ *
* @type {string}
* @memberof AlliedExpressLocal
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof AlliedExpressLocal
*/
@@ -885,143 +885,143 @@ export const AlliedExpressLocalServiceTypeEnum = {
export type AlliedExpressLocalServiceTypeEnum = typeof AlliedExpressLocalServiceTypeEnum[keyof typeof AlliedExpressLocalServiceTypeEnum];
/**
- *
+ *
* @export
* @interface AmazonShipping
*/
export interface AmazonShipping {
/**
- *
+ *
* @type {string}
* @memberof AmazonShipping
*/
'seller_id': string;
/**
- *
+ *
* @type {string}
* @memberof AmazonShipping
*/
'developer_id': string;
/**
- *
+ *
* @type {string}
* @memberof AmazonShipping
*/
'mws_auth_token': string;
/**
- *
+ *
* @type {string}
* @memberof AmazonShipping
*/
'aws_region'?: string;
/**
- *
+ *
* @type {string}
* @memberof AmazonShipping
*/
'account_country_code'?: string;
}
/**
- *
+ *
* @export
* @interface Aramex
*/
export interface Aramex {
/**
- *
+ *
* @type {string}
* @memberof Aramex
*/
'username': string;
/**
- *
+ *
* @type {string}
* @memberof Aramex
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof Aramex
*/
'account_pin': string;
/**
- *
+ *
* @type {string}
* @memberof Aramex
*/
'account_entity': string;
/**
- *
+ *
* @type {string}
* @memberof Aramex
*/
'account_number': string;
/**
- *
+ *
* @type {string}
* @memberof Aramex
*/
'account_country_code': string;
}
/**
- *
+ *
* @export
* @interface AsendiaUs
*/
export interface AsendiaUs {
/**
- *
+ *
* @type {string}
* @memberof AsendiaUs
*/
'username': string;
/**
- *
+ *
* @type {string}
* @memberof AsendiaUs
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof AsendiaUs
*/
'api_key': string;
/**
- *
+ *
* @type {string}
* @memberof AsendiaUs
*/
'account_number'?: string;
}
/**
- *
+ *
* @export
* @interface Australiapost
*/
export interface Australiapost {
/**
- *
+ *
* @type {string}
* @memberof Australiapost
*/
'api_key': string;
/**
- *
+ *
* @type {string}
* @memberof Australiapost
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof Australiapost
*/
'account_number': string;
}
/**
- *
+ *
* @export
* @interface BatchObject
*/
@@ -1057,7 +1057,7 @@ export const BatchObjectStatusEnum = {
export type BatchObjectStatusEnum = typeof BatchObjectStatusEnum[keyof typeof BatchObjectStatusEnum];
/**
- *
+ *
* @export
* @interface BatchOperation
*/
@@ -1069,37 +1069,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
*/
@@ -1125,38 +1125,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
*/
@@ -1169,7 +1169,7 @@ export interface BatchOrderData {
'orders': Array;
}
/**
- *
+ *
* @export
* @interface BatchShipmentData
*/
@@ -1182,7 +1182,7 @@ export interface BatchShipmentData {
'shipments': Array;
}
/**
- *
+ *
* @export
* @interface BatchTrackerData
*/
@@ -1195,69 +1195,69 @@ export interface BatchTrackerData {
'trackers': Array;
}
/**
- *
+ *
* @export
* @interface Boxknight
*/
export interface Boxknight {
/**
- *
- * @type {string}
- * @memberof Boxknight
+ *
+ * @type {number}
+ * @memberof CarrierList
*/
'username': string;
/**
- *
+ *
* @type {string}
* @memberof Boxknight
*/
'password': string;
}
/**
- *
+ *
* @export
* @interface Bpost
*/
export interface Bpost {
/**
- *
+ *
* @type {string}
* @memberof Bpost
*/
'account_id': string;
/**
- *
- * @type {string}
- * @memberof Bpost
+ *
+ * @type {Array}
+ * @memberof CarrierList
*/
'passphrase': string;
}
/**
- *
+ *
* @export
* @interface Canadapost
*/
export interface Canadapost {
/**
- *
+ *
* @type {string}
* @memberof Canadapost
*/
'username': string;
/**
- *
+ *
* @type {string}
* @memberof Canadapost
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof Canadapost
*/
'customer_number'?: string;
/**
- *
+ *
* @type {string}
* @memberof Canadapost
*/
@@ -1278,19 +1278,19 @@ export const CanadapostLanguageEnum = {
export type CanadapostLanguageEnum = typeof CanadapostLanguageEnum[keyof typeof CanadapostLanguageEnum];
/**
- *
+ *
* @export
* @interface Canpar
*/
export interface Canpar {
/**
- *
+ *
* @type {string}
* @memberof Canpar
*/
'username': string;
/**
- *
+ *
* @type {string}
* @memberof Canpar
*/
@@ -1311,7 +1311,7 @@ export const CanparLanguageEnum = {
export type CanparLanguageEnum = typeof CanparLanguageEnum[keyof typeof CanparLanguageEnum];
/**
- *
+ *
* @export
* @interface CarrierConnection
*/
@@ -1439,7 +1439,7 @@ export const CarrierConnectionCarrierNameEnum = {
export type CarrierConnectionCarrierNameEnum = typeof CarrierConnectionCarrierNameEnum[keyof typeof CarrierConnectionCarrierNameEnum];
/**
- *
+ *
* @export
* @interface CarrierConnectionData
*/
@@ -1537,38 +1537,38 @@ export const CarrierConnectionDataCarrierNameEnum = {
export type CarrierConnectionDataCarrierNameEnum = typeof CarrierConnectionDataCarrierNameEnum[keyof typeof CarrierConnectionDataCarrierNameEnum];
/**
- *
+ *
* @export
* @interface CarrierConnectionList
*/
export interface CarrierConnectionList {
/**
- *
+ *
* @type {number}
* @memberof CarrierConnectionList
*/
'count'?: number | null;
/**
- *
+ *
* @type {string}
* @memberof CarrierConnectionList
*/
'next'?: string | null;
/**
- *
+ *
* @type {string}
* @memberof CarrierConnectionList
*/
'previous'?: string | null;
/**
- *
+ *
* @type {Array}
* @memberof CarrierConnectionList
*/
'results': Array;
}
/**
- *
+ *
* @export
* @interface CarrierDetails
*/
@@ -1646,15 +1646,13 @@ export const CarrierDetailsCarrierNameEnum = {
Ups: 'ups',
Usps: 'usps',
UspsInternational: 'usps_international',
- UspsWt: 'usps_wt',
- UspsWtInternational: 'usps_wt_international',
Zoom2u: 'zoom2u'
} as const;
export type CarrierDetailsCarrierNameEnum = typeof CarrierDetailsCarrierNameEnum[keyof typeof CarrierDetailsCarrierNameEnum];
/**
- *
+ *
* @export
* @interface Charge
*/
@@ -1679,25 +1677,25 @@ export interface Charge {
'currency'?: string | null;
}
/**
- *
+ *
* @export
* @interface Chronopost
*/
export interface Chronopost {
/**
- *
+ *
* @type {string}
* @memberof Chronopost
*/
'account_number': string;
/**
- *
+ *
* @type {string}
* @memberof Chronopost
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof Chronopost
*/
@@ -1718,32 +1716,32 @@ export const ChronopostLanguageEnum = {
export type ChronopostLanguageEnum = typeof ChronopostLanguageEnum[keyof typeof ChronopostLanguageEnum];
/**
- *
+ *
* @export
* @interface Colissimo
*/
export interface Colissimo {
/**
- *
+ *
* @type {string}
* @memberof Colissimo
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof Colissimo
*/
'contract_number': string;
/**
- *
+ *
* @type {string}
* @memberof Colissimo
*/
'laposte_api_key'?: string;
}
/**
- *
+ *
* @export
* @interface Commodity
*/
@@ -1821,7 +1819,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
*/
@@ -2237,7 +2235,7 @@ export const CommodityOriginCountryEnum = {
export type CommodityOriginCountryEnum = typeof CommodityOriginCountryEnum[keyof typeof CommodityOriginCountryEnum];
/**
- *
+ *
* @export
* @interface CommodityData
*/
@@ -2309,7 +2307,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
*/
@@ -2725,7 +2723,7 @@ export type CommodityDataOriginCountryEnum = typeof CommodityDataOriginCountryEn
export type ConnectionCredentialsField = AlliedExpress | AlliedExpressLocal | AmazonShipping | Aramex | AsendiaUs | Australiapost | Boxknight | Bpost | Canadapost | Canpar | Chronopost | Colissimo | DhlExpress | DhlParcelDe | DhlPoland | DhlUniversal | Dicom | Dpd | Dpdhl | Easypost | Eshipper | Fedex | FedexWs | Freightcom | Generic | Geodis | HayPost | Laposte | Locate2u | Nationex | Purolator | Roadie | Royalmail | Sapient | Sendle | Tge | Tnt | Ups | Usps | UspsInternational | UspsWt | UspsWtInternational | Zoom2u;
/**
- *
+ *
* @export
* @interface Customs
*/
@@ -2743,25 +2741,25 @@ export interface Customs {
*/
'commodities'?: Array;
/**
- * The payment details.
**Note that this is required for a Dutiable parcel shipped internationally.**
- * @type {Duty}
+ *
+ * @type {CustomsDuty}
* @memberof Customs
*/
'duty'?: Duty | null;
/**
- * The duty payor address.
- * @type {Address}
+ *
+ * @type {CustomsDutyBillingAddress}
* @memberof Customs
*/
'duty_billing_address'?: Address | null;
/**
- *
+ *
* @type {string}
* @memberof Customs
*/
'content_type'?: CustomsContentTypeEnum | null;
/**
- *
+ *
* @type {string}
* @memberof Customs
*/
@@ -2779,7 +2777,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
*/
@@ -2797,13 +2795,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
*/
@@ -2848,7 +2846,7 @@ export const CustomsIncotermEnum = {
export type CustomsIncotermEnum = typeof CustomsIncotermEnum[keyof typeof CustomsIncotermEnum];
/**
- *
+ *
* @export
* @interface CustomsData
*/
@@ -2860,25 +2858,25 @@ export interface CustomsData {
*/
'commodities': Array;
/**
- * The payment details.
**Note that this is required for a Dutiable parcel shipped internationally.**
- * @type {Duty}
+ *
+ * @type {CustomsDuty}
* @memberof CustomsData
*/
'duty'?: Duty | null;
/**
- * The duty payor address.
- * @type {AddressData}
+ *
+ * @type {CustomsDataDutyBillingAddress}
* @memberof CustomsData
*/
'duty_billing_address'?: AddressData | null;
/**
- *
+ *
* @type {string}
* @memberof CustomsData
*/
'content_type'?: CustomsDataContentTypeEnum | null;
/**
- *
+ *
* @type {string}
* @memberof CustomsData
*/
@@ -2896,7 +2894,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
*/
@@ -2914,13 +2912,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
*/
@@ -2959,118 +2957,118 @@ export const CustomsDataIncotermEnum = {
export type CustomsDataIncotermEnum = typeof CustomsDataIncotermEnum[keyof typeof CustomsDataIncotermEnum];
/**
- *
+ *
* @export
* @interface DhlExpress
*/
export interface DhlExpress {
/**
- *
+ * The address postal code **(required for shipment purchase)**
* @type {string}
* @memberof DhlExpress
*/
'site_id': string;
/**
- *
+ * The address city. **(required for shipment purchase)**
* @type {string}
* @memberof DhlExpress
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof DhlExpress
*/
'account_number'?: string;
/**
- *
+ *
* @type {string}
* @memberof DhlExpress
*/
'account_country_code'?: string;
}
/**
- *
+ *
* @export
* @interface DhlParcelDe
*/
export interface DhlParcelDe {
/**
- *
+ * Attention to **(required for shipment purchase)**
* @type {string}
* @memberof DhlParcelDe
*/
'username': string;
/**
- *
+ *
* @type {string}
* @memberof DhlParcelDe
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof DhlParcelDe
*/
'dhl_api_key': string;
/**
- *
+ *
* @type {string}
* @memberof DhlParcelDe
*/
'customer_number'?: string;
/**
- *
+ *
* @type {string}
* @memberof DhlParcelDe
*/
'tracking_consumer_key'?: string;
/**
- *
+ *
* @type {string}
* @memberof DhlParcelDe
*/
'tracking_consumer_secret'?: string;
}
/**
- *
+ *
* @export
* @interface DhlPoland
*/
export interface DhlPoland {
/**
- *
+ *
* @type {string}
* @memberof DhlPoland
*/
'username': string;
/**
- *
+ * The address line with street number
**(required for shipment purchase)**
* @type {string}
* @memberof DhlPoland
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof DhlPoland
*/
'account_number'?: string;
}
/**
- *
+ * The payment details.
**Note that this is required for a Dutiable parcel shipped internationally.**
* @export
* @interface DhlUniversal
*/
export interface DhlUniversal {
/**
- *
+ *
* @type {string}
* @memberof DhlUniversal
*/
'consumer_key': string;
/**
- *
+ *
* @type {string}
* @memberof DhlUniversal
*/
@@ -3091,290 +3089,614 @@ export const DhlUniversalLanguageEnum = {
export type DhlUniversalLanguageEnum = typeof DhlUniversalLanguageEnum[keyof typeof DhlUniversalLanguageEnum];
/**
- *
+ *
* @export
* @interface Dicom
*/
export interface Dicom {
/**
- *
+ *
* @type {string}
* @memberof Dicom
*/
'username': string;
/**
- *
+ * The address postal code **(required for shipment purchase)**
* @type {string}
* @memberof Dicom
*/
'password': string;
/**
- *
+ * The address city. **(required for shipment purchase)**
* @type {string}
* @memberof Dicom
*/
- 'billing_account'?: string;
-}
-/**
- *
- * @export
- * @interface DocumentData
- */
-export interface DocumentData {
- /**
- * The template name. **Required if template is not provided.**
- * @type {string}
- * @memberof DocumentData
- */
- 'template_id'?: string;
- /**
- * The template content. **Required if template_id is not provided.**
- * @type {string}
- * @memberof DocumentData
- */
- 'template'?: string;
- /**
- * The format of the document
- * @type {string}
- * @memberof DocumentData
- */
- 'doc_format'?: string;
+ 'federal_tax_id'?: string | null;
/**
- * The file name
+ * The party state id
* @type {string}
- * @memberof DocumentData
- */
- 'doc_name'?: string;
- /**
- * The template data
- * @type {{ [key: string]: any; }}
- * @memberof DocumentData
+ * @memberof CustomsDutyBillingAddress
*/
- 'data'?: { [key: string]: any; };
-}
-/**
- *
- * @export
- * @interface DocumentDetails
- */
-export interface DocumentDetails {
+ 'state_tax_id'?: string | null;
/**
- * The uploaded document id.
+ * Attention to **(required for shipment purchase)**
* @type {string}
- * @memberof DocumentDetails
+ * @memberof CustomsDutyBillingAddress
*/
- 'doc_id'?: string;
+ 'person_name'?: string | null;
/**
- * The uploaded document file name.
+ * The company name if the party is a company
* @type {string}
- * @memberof DocumentDetails
+ * @memberof CustomsDutyBillingAddress
*/
- 'file_name'?: string;
-}
-/**
- *
- * @export
- * @interface DocumentFileData
- */
-export interface DocumentFileData {
+ 'company_name'?: string | null;
/**
- * A base64 file to upload
+ * The address country code
* @type {string}
- * @memberof DocumentFileData
+ * @memberof CustomsDutyBillingAddress
*/
- 'doc_file': string;
+ 'country_code': CustomsDutyBillingAddressCountryCodeEnum;
/**
- * The file name
+ * The party email
* @type {string}
- * @memberof DocumentFileData
+ * @memberof CustomsDutyBillingAddress
*/
- 'doc_name': string;
+ 'email'?: string | null;
/**
- * The file format
+ * The party phone number.
* @type {string}
- * @memberof DocumentFileData
+ * @memberof CustomsDutyBillingAddress
*/
- 'doc_format'?: string | null;
+ 'phone_number'?: 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.
+ * The address state code
* @type {string}
- * @memberof DocumentFileData
+ * @memberof CustomsDutyBillingAddress
*/
- 'doc_type'?: string | null;
-}
-/**
- *
- * @export
- * @interface DocumentTemplate
- */
-export interface DocumentTemplate {
+ 'state_code'?: string | null;
/**
- * A unique identifier
- * @type {string}
- * @memberof DocumentTemplate
+ * Indicate if the address is residential or commercial (enterprise)
+ * @type {boolean}
+ * @memberof CustomsDutyBillingAddress
*/
- 'id'?: string;
+ 'residential'?: boolean | null;
/**
- * The template name
+ * The address street number
* @type {string}
- * @memberof DocumentTemplate
+ * @memberof CustomsDutyBillingAddress
*/
- 'name': string;
+ 'street_number'?: string | null;
/**
- * The template slug
+ * The address line with street number
**(required for shipment purchase)**
* @type {string}
- * @memberof DocumentTemplate
+ * @memberof CustomsDutyBillingAddress
*/
- 'slug': string;
+ 'address_line1'?: string | null;
/**
- * The template content
+ * The address line with suite number
* @type {string}
- * @memberof DocumentTemplate
+ * @memberof CustomsDutyBillingAddress
*/
- 'template': string;
+ 'address_line2'?: string | null;
/**
- * disable template flag.
+ * Indicate if the address should be validated
* @type {boolean}
- * @memberof DocumentTemplate
- */
- 'active'?: boolean;
- /**
- * The template description
- * @type {string}
- * @memberof DocumentTemplate
- */
- 'description'?: string;
- /**
- * The template metadata
- * @type {{ [key: string]: any; }}
- * @memberof DocumentTemplate
- */
- 'metadata'?: { [key: string]: any; };
- /**
- * The template related object
- * @type {string}
- * @memberof DocumentTemplate
+ * @memberof CustomsDutyBillingAddress
*/
- 'related_object'?: DocumentTemplateRelatedObjectEnum;
+ 'validate_location'?: boolean | null;
/**
* Specifies the object type
* @type {string}
- * @memberof DocumentTemplate
+ * @memberof CustomsDutyBillingAddress
*/
'object_type'?: string;
-}
-
-export const DocumentTemplateRelatedObjectEnum = {
- Shipment: 'shipment',
- Order: 'order',
- Other: 'other'
-} as const;
-
-export type DocumentTemplateRelatedObjectEnum = typeof DocumentTemplateRelatedObjectEnum[keyof typeof DocumentTemplateRelatedObjectEnum];
-
-/**
- *
- * @export
- * @interface DocumentTemplateData
- */
-export interface DocumentTemplateData {
- /**
- * The template name
- * @type {string}
- * @memberof DocumentTemplateData
- */
- 'name': string;
- /**
- * The template slug
- * @type {string}
- * @memberof DocumentTemplateData
- */
- 'slug': string;
- /**
- * The template content
- * @type {string}
- * @memberof DocumentTemplateData
- */
- 'template': string;
- /**
- * disable template flag.
- * @type {boolean}
- * @memberof DocumentTemplateData
- */
- 'active'?: boolean;
- /**
- * The template description
- * @type {string}
- * @memberof DocumentTemplateData
- */
- 'description'?: string;
- /**
- * The template metadata
- * @type {{ [key: string]: any; }}
- * @memberof DocumentTemplateData
- */
- 'metadata'?: { [key: string]: any; };
/**
- * The template related object
- * @type {string}
- * @memberof DocumentTemplateData
+ *
+ * @type {AddressValidation}
+ * @memberof CustomsDutyBillingAddress
*/
- 'related_object'?: DocumentTemplateDataRelatedObjectEnum;
+ 'validation'?: AddressValidation | null;
}
-export const DocumentTemplateDataRelatedObjectEnum = {
- Shipment: 'shipment',
- Order: 'order',
- Other: 'other'
-} as const;
-
-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 const CustomsDutyBillingAddressCountryCodeEnum = {
+ 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'
+} as const;
+
+export type CustomsDutyBillingAddressCountryCodeEnum = typeof CustomsDutyBillingAddressCountryCodeEnum[keyof typeof CustomsDutyBillingAddressCountryCodeEnum];
+
/**
- *
+ *
* @export
- * @interface DocumentUploadData
+ * @interface DocumentData
*/
-export interface DocumentUploadData {
+export interface DocumentData {
/**
- * The documents related shipment.
+ * The template name. **Required if template is not provided.**
* @type {string}
- * @memberof DocumentUploadData
+ * @memberof DocumentData
*/
- 'shipment_id': string;
+ 'template_id'?: string;
/**
- * Shipping document files
+ * The template content. **Required if template_id is not provided.**
+ * @type {string}
+ * @memberof DocumentData
+ */
+ 'template'?: string;
+ /**
+ * The format of the document
+ * @type {string}
+ * @memberof DocumentData
+ */
+ 'doc_format'?: string;
+ /**
+ * The file name
+ * @type {string}
+ * @memberof DocumentData
+ */
+ 'doc_name'?: string;
+ /**
+ * The template data
+ * @type {{ [key: string]: any; }}
+ * @memberof DocumentData
+ */
+ 'data'?: { [key: string]: any; };
+}
+/**
+ *
+ * @export
+ * @interface DocumentDetails
+ */
+export interface DocumentDetails {
+ /**
+ * The uploaded document id.
+ * @type {string}
+ * @memberof DocumentDetails
+ */
+ 'doc_id'?: string;
+ /**
+ * The uploaded document file name.
+ * @type {string}
+ * @memberof DocumentDetails
+ */
+ 'file_name'?: string;
+}
+/**
+ *
+ * @export
+ * @interface DocumentFileData
+ */
+export interface DocumentFileData {
+ /**
+ * A base64 file to upload
+ * @type {string}
+ * @memberof DocumentFileData
+ */
+ 'doc_file': string;
+ /**
+ * The file name
+ * @type {string}
+ * @memberof DocumentFileData
+ */
+ 'doc_name': string;
+ /**
+ * The file format
+ * @type {string}
+ * @memberof 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.
+ * @type {string}
+ * @memberof DocumentFileData
+ */
+ 'doc_type'?: string | null;
+}
+/**
+ *
+ * @export
+ * @interface DocumentTemplate
+ */
+export interface DocumentTemplate {
+ /**
+ * A unique identifier
+ * @type {string}
+ * @memberof DocumentTemplate
+ */
+ 'id'?: string;
+ /**
+ * The template name
+ * @type {string}
+ * @memberof DocumentTemplate
+ */
+ 'name': string;
+ /**
+ * The template slug
+ * @type {string}
+ * @memberof DocumentTemplate
+ */
+ 'slug': string;
+ /**
+ * The template content
+ * @type {string}
+ * @memberof DocumentTemplate
+ */
+ 'template': string;
+ /**
+ * disable template flag.
+ * @type {boolean}
+ * @memberof DocumentTemplate
+ */
+ 'active'?: boolean;
+ /**
+ * The template description
+ * @type {string}
+ * @memberof DocumentTemplate
+ */
+ 'description'?: string;
+ /**
+ * The template metadata
+ * @type {{ [key: string]: any; }}
+ * @memberof DocumentTemplate
+ */
+ 'metadata'?: { [key: string]: any; };
+ /**
+ * The template related object
+ * @type {string}
+ * @memberof DocumentTemplate
+ */
+ 'related_object'?: DocumentTemplateRelatedObjectEnum;
+ /**
+ * Specifies the object type
+ * @type {string}
+ * @memberof DocumentTemplate
+ */
+ 'object_type'?: string;
+}
+
+export const DocumentTemplateRelatedObjectEnum = {
+ Shipment: 'shipment',
+ Order: 'order',
+ Other: 'other'
+} as const;
+
+export type DocumentTemplateRelatedObjectEnum = typeof DocumentTemplateRelatedObjectEnum[keyof typeof DocumentTemplateRelatedObjectEnum];
+
+/**
+ *
+ * @export
+ * @interface DocumentTemplateData
+ */
+export interface DocumentTemplateData {
+ /**
+ * The template name
+ * @type {string}
+ * @memberof DocumentTemplateData
+ */
+ 'name': string;
+ /**
+ * The template slug
+ * @type {string}
+ * @memberof DocumentTemplateData
+ */
+ 'slug': string;
+ /**
+ * The template content
+ * @type {string}
+ * @memberof DocumentTemplateData
+ */
+ 'template': string;
+ /**
+ * disable template flag.
+ * @type {boolean}
+ * @memberof DocumentTemplateData
+ */
+ 'active'?: boolean;
+ /**
+ * The template description
+ * @type {string}
+ * @memberof DocumentTemplateData
+ */
+ 'description'?: string;
+ /**
+ * The template metadata
+ * @type {{ [key: string]: any; }}
+ * @memberof DocumentTemplateData
+ */
+ 'metadata'?: { [key: string]: any; };
+ /**
+ * The template related object
+ * @type {string}
+ * @memberof DocumentTemplateData
+ */
+ 'related_object'?: DocumentTemplateDataRelatedObjectEnum;
+}
+
+export const DocumentTemplateDataRelatedObjectEnum = {
+ Shipment: 'shipment',
+ Order: 'order',
+ Other: 'other'
+} as const;
+
+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
+ */
+export interface DocumentUploadData {
+ /**
+ * The documents related shipment.
+ * @type {string}
+ * @memberof DocumentUploadData
+ */
+ 'shipment_id': string;
+ /**
+ * Shipping document files
* @type {Array}
* @memberof DocumentUploadData
*/
@@ -3387,7 +3709,7 @@ export interface DocumentUploadData {
'reference'?: string | null;
}
/**
- *
+ *
* @export
* @interface DocumentUploadRecord
*/
@@ -3436,38 +3758,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
*/
@@ -3486,93 +3808,93 @@ export interface Documents {
'invoice'?: string | null;
}
/**
- *
+ *
* @export
* @interface Dpd
*/
export interface Dpd {
/**
- *
+ *
* @type {string}
* @memberof Dpd
*/
'delis_id': string;
/**
- *
+ *
* @type {string}
* @memberof Dpd
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof Dpd
*/
'depot'?: string;
/**
- *
+ *
* @type {string}
* @memberof Dpd
*/
'message_language'?: string;
/**
- *
+ *
* @type {string}
* @memberof Dpd
*/
'account_country_code'?: string;
}
/**
- *
+ *
* @export
* @interface Dpdhl
*/
export interface Dpdhl {
/**
- *
+ *
* @type {string}
* @memberof Dpdhl
*/
'username': string;
/**
- *
+ *
* @type {string}
* @memberof Dpdhl
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof Dpdhl
*/
'app_id'?: string;
/**
- *
+ *
* @type {string}
* @memberof Dpdhl
*/
'app_token'?: string;
/**
- *
+ *
* @type {string}
* @memberof Dpdhl
*/
'zt_id'?: string;
/**
- *
+ *
* @type {string}
* @memberof Dpdhl
*/
'zt_password'?: string;
/**
- *
+ *
* @type {string}
* @memberof Dpdhl
*/
'account_number'?: string;
}
/**
- *
+ *
* @export
* @interface Duty
*/
@@ -3763,20 +4085,20 @@ export const DutyCurrencyEnum = {
export type DutyCurrencyEnum = typeof DutyCurrencyEnum[keyof typeof DutyCurrencyEnum];
/**
- *
+ *
* @export
* @interface Easypost
*/
export interface Easypost {
/**
- *
+ *
* @type {string}
* @memberof Easypost
*/
'api_key': string;
}
/**
- *
+ *
* @export
* @interface ErrorMessages
*/
@@ -3789,7 +4111,7 @@ export interface ErrorMessages {
'messages'?: Array;
}
/**
- *
+ *
* @export
* @interface ErrorResponse
*/
@@ -3802,131 +4124,131 @@ export interface ErrorResponse {
'errors'?: Array;
}
/**
- *
+ *
* @export
* @interface Eshipper
*/
export interface Eshipper {
/**
- *
+ *
* @type {string}
* @memberof Eshipper
*/
'principal': string;
/**
- *
+ *
* @type {string}
* @memberof Eshipper
*/
'credential': string;
}
/**
- *
+ *
* @export
* @interface Fedex
*/
export interface Fedex {
/**
- *
+ *
* @type {string}
* @memberof Fedex
*/
'api_key'?: string;
/**
- *
+ *
* @type {string}
* @memberof Fedex
*/
'secret_key'?: string;
/**
- *
+ *
* @type {string}
* @memberof Fedex
*/
'account_number'?: string;
/**
- *
+ *
* @type {string}
* @memberof Fedex
*/
'track_api_key'?: string;
/**
- *
+ *
* @type {string}
* @memberof Fedex
*/
'track_secret_key'?: string;
/**
- *
+ *
* @type {string}
* @memberof Fedex
*/
'account_country_code'?: string;
}
/**
- *
+ *
* @export
* @interface FedexWs
*/
export interface FedexWs {
/**
- *
+ *
* @type {string}
* @memberof FedexWs
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof FedexWs
*/
'meter_number': string;
/**
- *
+ *
* @type {string}
* @memberof FedexWs
*/
'account_number': string;
/**
- *
+ *
* @type {string}
* @memberof FedexWs
*/
'user_key'?: string;
/**
- *
+ *
* @type {string}
* @memberof FedexWs
*/
'language_code'?: string;
/**
- *
+ *
* @type {string}
* @memberof FedexWs
*/
'account_country_code'?: string;
}
/**
- *
+ *
* @export
* @interface Freightcom
*/
export interface Freightcom {
/**
- *
+ *
* @type {string}
* @memberof Freightcom
*/
'username': string;
/**
- *
+ *
* @type {string}
* @memberof Freightcom
*/
'password': string;
}
/**
- *
+ *
* @export
* @interface GeneratedDocument
*/
@@ -3957,56 +4279,56 @@ export interface GeneratedDocument {
'doc_file': string;
}
/**
- *
+ *
* @export
* @interface Generic
*/
export interface Generic {
/**
- *
+ *
* @type {string}
* @memberof Generic
*/
'display_name': string;
/**
- *
+ *
* @type {string}
* @memberof Generic
*/
'custom_carrier_name': string;
/**
- *
+ *
* @type {string}
* @memberof Generic
*/
'account_country_code'?: string;
/**
- *
+ *
* @type {string}
* @memberof Generic
*/
'account_number'?: string;
}
/**
- *
+ *
* @export
* @interface Geodis
*/
export interface Geodis {
/**
- *
+ *
* @type {string}
* @memberof Geodis
*/
'api_key': string;
/**
- *
+ *
* @type {string}
* @memberof Geodis
*/
'identifier': string;
/**
- *
+ *
* @type {string}
* @memberof Geodis
*/
@@ -4027,38 +4349,38 @@ export const GeodisLanguageEnum = {
export type GeodisLanguageEnum = typeof GeodisLanguageEnum[keyof typeof GeodisLanguageEnum];
/**
- *
+ *
* @export
* @interface HayPost
*/
export interface HayPost {
/**
- *
+ *
* @type {string}
* @memberof HayPost
*/
'username': string;
/**
- *
+ *
* @type {string}
* @memberof HayPost
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof HayPost
*/
'customer_id': string;
/**
- *
+ *
* @type {string}
* @memberof HayPost
*/
'customer_type': string;
}
/**
- *
+ *
* @export
* @interface Images
*/
@@ -4077,13 +4399,13 @@ export interface Images {
'signature_image'?: string | null;
}
/**
- *
+ *
* @export
* @interface Laposte
*/
export interface Laposte {
/**
- *
+ *
* @type {string}
* @memberof Laposte
*/
@@ -4104,7 +4426,7 @@ export const LaposteLangEnum = {
export type LaposteLangEnum = typeof LaposteLangEnum[keyof typeof LaposteLangEnum];
/**
- *
+ *
* @export
* @interface LineItem
*/
@@ -4182,7 +4504,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
*/
@@ -4194,7 +4516,7 @@ export interface LineItem {
*/
'object_type'?: string;
/**
- *
+ *
* @type {number}
* @memberof LineItem
*/
@@ -4604,26 +4926,26 @@ export const LineItemOriginCountryEnum = {
export type LineItemOriginCountryEnum = typeof LineItemOriginCountryEnum[keyof typeof LineItemOriginCountryEnum];
/**
- *
+ *
* @export
* @interface Locate2u
*/
export interface Locate2u {
/**
- *
+ *
* @type {string}
* @memberof Locate2u
*/
'client_id'?: string;
/**
- *
+ *
* @type {string}
* @memberof Locate2u
*/
'client_secret'?: string;
}
/**
- *
+ *
* @export
* @interface Manifest
*/
@@ -4671,7 +4993,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
*/
@@ -4683,7 +5005,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
*/
@@ -4708,7 +5030,7 @@ export interface Manifest {
'messages'?: Array;
}
/**
- *
+ *
* @export
* @interface ManifestData
*/
@@ -4726,7 +5048,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
*/
@@ -4745,7 +5067,7 @@ export interface ManifestData {
'shipment_ids': Array;
}
/**
- *
+ *
* @export
* @interface ManifestDetails
*/
@@ -4775,8 +5097,8 @@ export interface ManifestDetails {
*/
'carrier_id': string;
/**
- * The manifest documents
- * @type {ManifestDocument}
+ *
+ * @type {ManifestDetailsDoc}
* @memberof ManifestDetails
*/
'doc'?: ManifestDocument | null;
@@ -4794,7 +5116,7 @@ export interface ManifestDetails {
'test_mode': boolean;
}
/**
- *
+ *
* @export
* @interface ManifestDocument
*/
@@ -4807,38 +5129,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
*/
@@ -4856,7 +5178,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
*/
@@ -4868,14 +5190,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
*/
@@ -4894,7 +5216,7 @@ export interface ManifestResponse {
'manifest'?: ManifestDetails;
}
/**
- *
+ *
* @export
* @interface Message
*/
@@ -4931,25 +5253,25 @@ export interface Message {
'carrier_id'?: string;
}
/**
- *
+ *
* @export
* @interface Nationex
*/
export interface Nationex {
/**
- *
+ *
* @type {string}
* @memberof Nationex
*/
'api_key': string;
/**
- *
+ *
* @type {string}
* @memberof Nationex
*/
'customer_id': string;
/**
- *
+ *
* @type {string}
* @memberof Nationex
*/
@@ -4970,7 +5292,7 @@ export const NationexLanguageEnum = {
export type NationexLanguageEnum = typeof NationexLanguageEnum[keyof typeof NationexLanguageEnum];
/**
- *
+ *
* @export
* @interface Operation
*/
@@ -4989,7 +5311,7 @@ export interface Operation {
'success': boolean;
}
/**
- *
+ *
* @export
* @interface OperationConfirmation
*/
@@ -5020,7 +5342,7 @@ export interface OperationConfirmation {
'carrier_id': string;
}
/**
- *
+ *
* @export
* @interface OperationResponse
*/
@@ -5039,7 +5361,7 @@ export interface OperationResponse {
'confirmation'?: OperationConfirmation;
}
/**
- *
+ *
* @export
* @interface Order
*/
@@ -5087,14 +5409,14 @@ export interface Order {
*/
'shipping_to': Address;
/**
- * The origin or warehouse address of the order items.
- * @type {Address}
+ *
+ * @type {OrderShippingFrom}
* @memberof Order
*/
'shipping_from'?: Address | null;
/**
- * The customer\' or shipping billing address.
- * @type {AddressData}
+ *
+ * @type {OrderBillingAddress}
* @memberof Order
*/
'billing_address'?: AddressData | null;
@@ -5105,7 +5427,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
*/
@@ -5135,7 +5457,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
*/
@@ -5153,487 +5475,502 @@ export const OrderStatusEnum = {
export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum];
/**
- *
+ * The customer\' or shipping billing address.
* @export
- * @interface OrderData
+ * @interface OrderBillingAddress
*/
-export interface OrderData {
+export interface OrderBillingAddress {
/**
- * The source\' order id.
+ * The address postal code **(required for shipment purchase)**
* @type {string}
- * @memberof OrderData
+ * @memberof OrderBillingAddress
*/
- 'order_id': string;
+ 'postal_code'?: string | null;
/**
- * The order date. format: `YYYY-MM-DD`
+ * The address city. **(required for shipment purchase)**
* @type {string}
- * @memberof OrderData
+ * @memberof OrderBillingAddress
*/
- 'order_date'?: string | null;
+ 'city'?: string | null;
/**
- * The order\'s source.
e.g. API, POS, ERP, Shopify, Woocommerce, etc.
+ * The party frederal tax id
* @type {string}
- * @memberof OrderData
- */
- 'source'?: string;
- /**
- * The customer or recipient address for the order.
- * @type {AddressData}
- * @memberof OrderData
- */
- 'shipping_to': AddressData;
- /**
- * The origin or warehouse address of the order items.
- * @type {AddressData}
- * @memberof OrderData
- */
- 'shipping_from'?: AddressData | null;
- /**
- * The customer\' or shipping billing address.
- * @type {AddressData}
- * @memberof OrderData
- */
- 'billing_address'?: AddressData | null;
- /**
- * The order line items.
- * @type {Array}
- * @memberof 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\", }
- * @type {{ [key: string]: any; }}
- * @memberof OrderData
- */
- 'options'?: { [key: string]: any; } | null;
- /**
- * User metadata for the order.
- * @type {{ [key: string]: any; }}
- * @memberof OrderData
- */
- 'metadata'?: { [key: string]: any; };
-}
-/**
- *
- * @export
- * @interface OrderList
- */
-export interface OrderList {
- /**
- *
- * @type {number}
- * @memberof OrderList
+ * @memberof OrderBillingAddress
*/
- 'count'?: number | null;
+ 'federal_tax_id'?: string | null;
/**
- *
+ * The party state id
* @type {string}
- * @memberof OrderList
+ * @memberof OrderBillingAddress
*/
- 'next'?: string | null;
+ 'state_tax_id'?: string | null;
/**
- *
+ * Attention to **(required for shipment purchase)**
* @type {string}
- * @memberof OrderList
- */
- 'previous'?: string | null;
- /**
- *
- * @type {Array}
- * @memberof OrderList
- */
- 'results': Array;
-}
-/**
- *
- * @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\"], }
- * @type {{ [key: string]: any; }}
- * @memberof OrderUpdateData
- */
- 'options'?: { [key: string]: any; } | null;
- /**
- * User metadata for the shipment
- * @type {{ [key: string]: any; }}
- * @memberof OrderUpdateData
+ * @memberof OrderBillingAddress
*/
- 'metadata'?: { [key: string]: any; };
-}
-/**
- *
- * @export
- * @interface Parcel
- */
-export interface Parcel {
+ 'person_name'?: string | null;
/**
- * A unique identifier
+ * The company name if the party is a company
* @type {string}
- * @memberof Parcel
- */
- 'id'?: string;
- /**
- * The parcel\'s weight
- * @type {number}
- * @memberof Parcel
- */
- 'weight': number;
- /**
- * The parcel\'s width
- * @type {number}
- * @memberof Parcel
- */
- 'width'?: number | null;
- /**
- * The parcel\'s height
- * @type {number}
- * @memberof Parcel
+ * @memberof OrderBillingAddress
*/
- 'height'?: number | null;
- /**
- * The parcel\'s length
- * @type {number}
- * @memberof Parcel
- */
- 'length'?: number | null;
+ 'company_name'?: string | 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 address country code
* @type {string}
- * @memberof Parcel
+ * @memberof OrderBillingAddress
*/
- 'packaging_type'?: string | null;
+ 'country_code': OrderBillingAddressCountryCodeEnum;
/**
- * The parcel\'s package preset.
For carrier specific package presets, please consult the reference.
+ * The party email
* @type {string}
- * @memberof Parcel
+ * @memberof OrderBillingAddress
*/
- 'package_preset'?: string | null;
+ 'email'?: string | null;
/**
- * The parcel\'s description
+ * The party phone number.
* @type {string}
- * @memberof Parcel
+ * @memberof OrderBillingAddress
*/
- 'description'?: string | null;
+ 'phone_number'?: string | null;
/**
- * The parcel\'s content description
+ * The address state code
* @type {string}
- * @memberof Parcel
+ * @memberof OrderBillingAddress
*/
- 'content'?: string | null;
+ 'state_code'?: string | null;
/**
- * Indicates if the parcel is composed of documents only
+ * Indicate if the address is residential or commercial (enterprise)
* @type {boolean}
- * @memberof Parcel
- */
- 'is_document'?: boolean | null;
- /**
- * The parcel\'s weight unit
- * @type {string}
- * @memberof Parcel
+ * @memberof OrderBillingAddress
*/
- 'weight_unit': ParcelWeightUnitEnum;
+ 'residential'?: boolean | null;
/**
- * The parcel\'s dimension unit
+ * The address street number
* @type {string}
- * @memberof Parcel
- */
- 'dimension_unit'?: ParcelDimensionUnitEnum | null;
- /**
- * The parcel items.
- * @type {Array}
- * @memberof Parcel
+ * @memberof OrderBillingAddress
*/
- 'items'?: Array;
+ 'street_number'?: string | null;
/**
- * The parcel reference number.
(can be used as tracking number for custom carriers)
+ * The address line with street number
**(required for shipment purchase)**
* @type {string}
- * @memberof Parcel
+ * @memberof OrderBillingAddress
*/
- 'reference_number'?: string | null;
+ 'address_line1'?: string | null;
/**
- * The parcel\'s freight class for pallet and freight shipments.
+ * The address line with suite number
* @type {string}
- * @memberof Parcel
- */
- 'freight_class'?: string | null;
- /**
- * Parcel specific options.
{ \"insurance\": \"100.00\", \"insured_by\": \"carrier\", }
- * @type {{ [key: string]: any; }}
- * @memberof Parcel
+ * @memberof OrderBillingAddress
*/
- 'options'?: { [key: string]: any; };
+ 'address_line2'?: string | null;
/**
- * Specifies the object type
- * @type {string}
- * @memberof Parcel
+ * Indicate if the address should be validated
+ * @type {boolean}
+ * @memberof OrderBillingAddress
*/
- 'object_type'?: string;
+ 'validate_location'?: boolean | null;
}
-export const ParcelWeightUnitEnum = {
- Kg: 'KG',
- Lb: 'LB',
- Oz: 'OZ',
- G: 'G'
-} as const;
-
-export type ParcelWeightUnitEnum = typeof ParcelWeightUnitEnum[keyof typeof ParcelWeightUnitEnum];
-export const ParcelDimensionUnitEnum = {
+export const OrderBillingAddressCountryCodeEnum = {
+ 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',
- In: 'IN',
- Null: 'null'
-} as const;
+ 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'
+} as const;
-export type ParcelDimensionUnitEnum = typeof ParcelDimensionUnitEnum[keyof typeof ParcelDimensionUnitEnum];
+export type OrderBillingAddressCountryCodeEnum = typeof OrderBillingAddressCountryCodeEnum[keyof typeof OrderBillingAddressCountryCodeEnum];
/**
- *
+ *
* @export
- * @interface ParcelData
+ * @interface OrderData
*/
-export interface ParcelData {
+export interface OrderData {
/**
- * The parcel\'s weight
- * @type {number}
- * @memberof ParcelData
+ * The source\' order id.
+ * @type {string}
+ * @memberof OrderData
*/
- 'weight': number;
+ 'order_id': string;
/**
- * The parcel\'s width
- * @type {number}
- * @memberof ParcelData
+ * The order date. format: `YYYY-MM-DD`
+ * @type {string}
+ * @memberof OrderData
*/
- 'width'?: number | null;
+ 'order_date'?: string | null;
/**
- * The parcel\'s height
- * @type {number}
- * @memberof ParcelData
+ * The order\'s source.
e.g. API, POS, ERP, Shopify, Woocommerce, etc.
+ * @type {string}
+ * @memberof OrderData
*/
- 'height'?: number | null;
+ 'source'?: string;
/**
- * The parcel\'s length
- * @type {number}
- * @memberof ParcelData
+ * The customer or recipient address for the order.
+ * @type {AddressData}
+ * @memberof OrderData
*/
- 'length'?: number | null;
+ 'shipping_to': AddressData;
/**
- * 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
+ *
+ * @type {OrderDataShippingFrom}
+ * @memberof OrderData
*/
- 'packaging_type'?: string | null;
+ 'shipping_from'?: AddressData | null;
/**
- * The parcel\'s package preset.
For carrier specific package presets, please consult the reference.
- * @type {string}
- * @memberof ParcelData
+ *
+ * @type {OrderBillingAddress}
+ * @memberof OrderData
*/
- 'package_preset'?: string | null;
+ 'billing_address'?: AddressData | null;
/**
- * The parcel\'s description
- * @type {string}
- * @memberof ParcelData
+ * The order line items.
+ * @type {Array}
+ * @memberof OrderData
*/
- 'description'?: string | null;
+ 'line_items': Array;
/**
- * The parcel\'s content description
- * @type {string}
- * @memberof ParcelData
+ * 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
*/
- 'content'?: string | null;
+ 'options'?: { [key: string]: any; } | null;
/**
- * Indicates if the parcel is composed of documents only
- * @type {boolean}
- * @memberof ParcelData
- */
- 'is_document'?: boolean | null;
- /**
- * The parcel\'s weight unit
- * @type {string}
- * @memberof ParcelData
- */
- 'weight_unit': ParcelDataWeightUnitEnum;
- /**
- * The parcel\'s dimension unit
- * @type {string}
- * @memberof ParcelData
- */
- 'dimension_unit'?: ParcelDataDimensionUnitEnum | null;
- /**
- * The parcel items.
- * @type {Array}
- * @memberof ParcelData
- */
- 'items'?: Array;
- /**
- * The parcel reference number.
(can be used as tracking number for custom carriers)
- * @type {string}
- * @memberof ParcelData
- */
- 'reference_number'?: string | null;
- /**
- * The parcel\'s freight class for pallet and freight shipments.
- * @type {string}
- * @memberof ParcelData
- */
- 'freight_class'?: string | null;
- /**
- * Parcel specific options.
{ \"insurance\": \"100.00\", \"insured_by\": \"carrier\", }
+ * User metadata for the order.
* @type {{ [key: string]: any; }}
- * @memberof ParcelData
- */
- 'options'?: { [key: string]: any; };
-}
-
-export const ParcelDataWeightUnitEnum = {
- Kg: 'KG',
- Lb: 'LB',
- Oz: 'OZ',
- G: 'G'
-} as const;
-
-export type ParcelDataWeightUnitEnum = typeof ParcelDataWeightUnitEnum[keyof typeof ParcelDataWeightUnitEnum];
-export const ParcelDataDimensionUnitEnum = {
- Cm: 'CM',
- In: 'IN',
- Null: 'null'
-} as const;
-
-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
+ * @memberof OrderData
*/
- 'results': Array;
+ 'metadata'?: { [key: string]: any; };
}
/**
- *
+ * The origin or warehouse address of the order items.
* @export
- * @interface PatchedAddressData
+ * @interface OrderDataShippingFrom
*/
-export interface PatchedAddressData {
+export interface OrderDataShippingFrom {
/**
- * The address postal code **(required for shipment purchase)**
+ * The address postal code **(required for shipment purchase)**
* @type {string}
- * @memberof PatchedAddressData
+ * @memberof OrderDataShippingFrom
*/
'postal_code'?: string | null;
/**
- * The address city. **(required for shipment purchase)**
+ * The address city. **(required for shipment purchase)**
* @type {string}
- * @memberof PatchedAddressData
+ * @memberof OrderDataShippingFrom
*/
'city'?: string | null;
/**
* The party frederal tax id
* @type {string}
- * @memberof PatchedAddressData
+ * @memberof OrderDataShippingFrom
*/
'federal_tax_id'?: string | null;
/**
* The party state id
* @type {string}
- * @memberof PatchedAddressData
+ * @memberof OrderDataShippingFrom
*/
'state_tax_id'?: string | null;
/**
- * Attention to **(required for shipment purchase)**
+ * Attention to **(required for shipment purchase)**
* @type {string}
- * @memberof PatchedAddressData
+ * @memberof OrderDataShippingFrom
*/
'person_name'?: string | null;
/**
* The company name if the party is a company
* @type {string}
- * @memberof PatchedAddressData
+ * @memberof OrderDataShippingFrom
*/
'company_name'?: string | null;
/**
* The address country code
* @type {string}
- * @memberof PatchedAddressData
+ * @memberof OrderDataShippingFrom
*/
- 'country_code'?: PatchedAddressDataCountryCodeEnum;
+ 'country_code': OrderDataShippingFromCountryCodeEnum;
/**
* The party email
* @type {string}
- * @memberof PatchedAddressData
+ * @memberof OrderDataShippingFrom
*/
'email'?: string | null;
/**
* The party phone number.
* @type {string}
- * @memberof PatchedAddressData
+ * @memberof OrderDataShippingFrom
*/
'phone_number'?: string | null;
/**
* The address state code
* @type {string}
- * @memberof PatchedAddressData
+ * @memberof OrderDataShippingFrom
*/
'state_code'?: string | null;
/**
* Indicate if the address is residential or commercial (enterprise)
* @type {boolean}
- * @memberof PatchedAddressData
+ * @memberof OrderDataShippingFrom
*/
'residential'?: boolean | null;
/**
* The address street number
* @type {string}
- * @memberof PatchedAddressData
+ * @memberof 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 PatchedAddressData
+ * @memberof OrderDataShippingFrom
*/
'address_line1'?: string | null;
/**
* The address line with suite number
* @type {string}
- * @memberof PatchedAddressData
+ * @memberof OrderDataShippingFrom
*/
'address_line2'?: string | null;
/**
* Indicate if the address should be validated
* @type {boolean}
- * @memberof PatchedAddressData
+ * @memberof OrderDataShippingFrom
*/
'validate_location'?: boolean | null;
}
-export const PatchedAddressDataCountryCodeEnum = {
- Ac: 'AC',
+export const OrderDataShippingFromCountryCodeEnum = {
Ad: 'AD',
Ae: 'AE',
Af: 'AF',
@@ -5867,1630 +6204,3582 @@ export const PatchedAddressDataCountryCodeEnum = {
Yt: 'YT',
Za: 'ZA',
Zm: 'ZM',
- Zw: 'ZW',
- Eh: 'EH',
- Im: 'IM',
- Bl: 'BL',
- Mf: 'MF',
- Sx: 'SX'
+ Zw: 'ZW'
} as const;
-export type PatchedAddressDataCountryCodeEnum = typeof PatchedAddressDataCountryCodeEnum[keyof typeof PatchedAddressDataCountryCodeEnum];
+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
+ */
+ 'results': Array;
+}
+/**
+ * The origin or warehouse address of the order items.
+ * @export
+ * @interface OrderShippingFrom
+ */
+export interface OrderShippingFrom {
+ /**
+ * A unique identifier
+ * @type {string}
+ * @memberof OrderShippingFrom
+ */
+ 'id'?: string;
+ /**
+ * The address postal code **(required for shipment purchase)**
+ * @type {string}
+ * @memberof OrderShippingFrom
+ */
+ 'postal_code'?: string | null;
+ /**
+ * The address city. **(required for shipment purchase)**
+ * @type {string}
+ * @memberof OrderShippingFrom
+ */
+ 'city'?: string | null;
+ /**
+ * The party frederal tax id
+ * @type {string}
+ * @memberof OrderShippingFrom
+ */
+ 'federal_tax_id'?: string | null;
+ /**
+ * The party state id
+ * @type {string}
+ * @memberof OrderShippingFrom
+ */
+ 'state_tax_id'?: string | null;
+ /**
+ * Attention to **(required for shipment purchase)**
+ * @type {string}
+ * @memberof OrderShippingFrom
+ */
+ 'person_name'?: string | null;
+ /**
+ * The company name if the party is a company
+ * @type {string}
+ * @memberof OrderShippingFrom
+ */
+ 'company_name'?: string | null;
+ /**
+ * The address country code
+ * @type {string}
+ * @memberof OrderShippingFrom
+ */
+ 'country_code': OrderShippingFromCountryCodeEnum;
+ /**
+ * The party email
+ * @type {string}
+ * @memberof OrderShippingFrom
+ */
+ 'email'?: string | null;
+ /**
+ * The party phone number.
+ * @type {string}
+ * @memberof OrderShippingFrom
+ */
+ 'phone_number'?: string | null;
+ /**
+ * The address state code
+ * @type {string}
+ * @memberof OrderShippingFrom
+ */
+ 'state_code'?: string | null;
+ /**
+ * Indicate if the address is residential or commercial (enterprise)
+ * @type {boolean}
+ * @memberof OrderShippingFrom
+ */
+ 'residential'?: boolean | null;
+ /**
+ * The address street number
+ * @type {string}
+ * @memberof OrderShippingFrom
+ */
+ 'street_number'?: string | null;
+ /**
+ * The address line with street number
**(required for shipment purchase)**
+ * @type {string}
+ * @memberof OrderShippingFrom
+ */
+ 'address_line1'?: string | null;
+ /**
+ * The address line with suite number
+ * @type {string}
+ * @memberof OrderShippingFrom
+ */
+ 'address_line2'?: string | null;
+ /**
+ * Indicate if the address should be validated
+ * @type {boolean}
+ * @memberof OrderShippingFrom
+ */
+ 'validate_location'?: boolean | null;
+ /**
+ * Specifies the object type
+ * @type {string}
+ * @memberof OrderShippingFrom
+ */
+ 'object_type'?: string;
+ /**
+ *
+ * @type {AddressValidation}
+ * @memberof OrderShippingFrom
+ */
+ 'validation'?: AddressValidation | null;
+}
+export const OrderShippingFromCountryCodeEnum = {
+ 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'
+} as const;
+
+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\"], }
+ * @type {{ [key: string]: any; }}
+ * @memberof OrderUpdateData
+ */
+ 'options'?: { [key: string]: any; } | null;
+ /**
+ * User metadata for the shipment
+ * @type {{ [key: string]: any; }}
+ * @memberof OrderUpdateData
+ */
+ 'metadata'?: { [key: string]: any; };
+}
+/**
+ *
+ * @export
+ * @interface Parcel
+ */
+export interface Parcel {
+ /**
+ * A unique identifier
+ * @type {string}
+ * @memberof Parcel
+ */
+ 'id'?: string;
+ /**
+ * The parcel\'s weight
+ * @type {number}
+ * @memberof Parcel
+ */
+ 'weight': number;
+ /**
+ * The parcel\'s width
+ * @type {number}
+ * @memberof Parcel
+ */
+ 'width'?: number | null;
+ /**
+ * The parcel\'s height
+ * @type {number}
+ * @memberof Parcel
+ */
+ 'height'?: number | null;
+ /**
+ * The parcel\'s length
+ * @type {number}
+ * @memberof 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.
+ * @type {string}
+ * @memberof Parcel
+ */
+ 'packaging_type'?: string | null;
+ /**
+ * The parcel\'s package preset.
For carrier specific package presets, please consult the reference.
+ * @type {string}
+ * @memberof Parcel
+ */
+ 'package_preset'?: string | null;
+ /**
+ * The parcel\'s description
+ * @type {string}
+ * @memberof Parcel
+ */
+ 'description'?: string | null;
+ /**
+ * The parcel\'s content description
+ * @type {string}
+ * @memberof Parcel
+ */
+ 'content'?: string | null;
+ /**
+ * Indicates if the parcel is composed of documents only
+ * @type {boolean}
+ * @memberof Parcel
+ */
+ 'is_document'?: boolean | null;
+ /**
+ * The parcel\'s weight unit
+ * @type {string}
+ * @memberof Parcel
+ */
+ 'weight_unit': ParcelWeightUnitEnum;
+ /**
+ * The parcel\'s dimension unit
+ * @type {string}
+ * @memberof Parcel
+ */
+ 'dimension_unit'?: ParcelDimensionUnitEnum | null;
+ /**
+ * The parcel items.
+ * @type {Array}
+ * @memberof Parcel
+ */
+ 'items'?: Array;
+ /**
+ * The parcel reference number.
(can be used as tracking number for custom carriers)
+ * @type {string}
+ * @memberof Parcel
+ */
+ 'reference_number'?: string | null;
+ /**
+ * The parcel\'s freight class for pallet and freight shipments.
+ * @type {string}
+ * @memberof Parcel
+ */
+ 'freight_class'?: string | null;
+ /**
+ * Parcel specific options.
{ \"insurance\": \"100.00\", \"insured_by\": \"carrier\", }
+ * @type {{ [key: string]: any; }}
+ * @memberof Parcel
+ */
+ 'options'?: { [key: string]: any; };
+ /**
+ * Specifies the object type
+ * @type {string}
+ * @memberof Parcel
+ */
+ 'object_type'?: string;
+}
+
+export const ParcelWeightUnitEnum = {
+ Kg: 'KG',
+ Lb: 'LB',
+ Oz: 'OZ',
+ G: 'G'
+} as const;
+
+export type ParcelWeightUnitEnum = typeof ParcelWeightUnitEnum[keyof typeof ParcelWeightUnitEnum];
+export const ParcelDimensionUnitEnum = {
+ Cm: 'CM',
+ In: 'IN',
+ Null: 'null'
+} as const;
+
+export type ParcelDimensionUnitEnum = typeof ParcelDimensionUnitEnum[keyof typeof ParcelDimensionUnitEnum];
+
+/**
+ *
+ * @export
+ * @interface ParcelData
+ */
+export interface ParcelData {
+ /**
+ * The parcel\'s weight
+ * @type {number}
+ * @memberof ParcelData
+ */
+ 'weight': number;
+ /**
+ * The parcel\'s width
+ * @type {number}
+ * @memberof ParcelData
+ */
+ 'width'?: number | null;
+ /**
+ * The parcel\'s height
+ * @type {number}
+ * @memberof ParcelData
+ */
+ 'height'?: number | null;
+ /**
+ * The parcel\'s length
+ * @type {number}
+ * @memberof 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.
+ * @type {string}
+ * @memberof ParcelData
+ */
+ 'packaging_type'?: string | null;
+ /**
+ * The parcel\'s package preset.
For carrier specific package presets, please consult the reference.
+ * @type {string}
+ * @memberof ParcelData
+ */
+ 'package_preset'?: string | null;
+ /**
+ * The parcel\'s description
+ * @type {string}
+ * @memberof ParcelData
+ */
+ 'description'?: string | null;
+ /**
+ * The parcel\'s content description
+ * @type {string}
+ * @memberof ParcelData
+ */
+ 'content'?: string | null;
+ /**
+ * Indicates if the parcel is composed of documents only
+ * @type {boolean}
+ * @memberof ParcelData
+ */
+ 'is_document'?: boolean | null;
+ /**
+ * The parcel\'s weight unit
+ * @type {string}
+ * @memberof ParcelData
+ */
+ 'weight_unit': ParcelDataWeightUnitEnum;
+ /**
+ * The parcel\'s dimension unit
+ * @type {string}
+ * @memberof ParcelData
+ */
+ 'dimension_unit'?: ParcelDataDimensionUnitEnum | null;
+ /**
+ * The parcel items.
+ * @type {Array}
+ * @memberof ParcelData
+ */
+ 'items'?: Array;
+ /**
+ * The parcel reference number.
(can be used as tracking number for custom carriers)
+ * @type {string}
+ * @memberof ParcelData
+ */
+ 'reference_number'?: string | null;
+ /**
+ * The parcel\'s freight class for pallet and freight shipments.
+ * @type {string}
+ * @memberof ParcelData
+ */
+ 'freight_class'?: string | null;
+ /**
+ * Parcel specific options.
{ \"insurance\": \"100.00\", \"insured_by\": \"carrier\", }
+ * @type {{ [key: string]: any; }}
+ * @memberof ParcelData
+ */
+ 'options'?: { [key: string]: any; };
+}
+
+export const ParcelDataWeightUnitEnum = {
+ Kg: 'KG',
+ Lb: 'LB',
+ Oz: 'OZ',
+ G: 'G'
+} as const;
+
+export type ParcelDataWeightUnitEnum = typeof ParcelDataWeightUnitEnum[keyof typeof ParcelDataWeightUnitEnum];
+export const ParcelDataDimensionUnitEnum = {
+ Cm: 'CM',
+ In: 'IN',
+ Null: 'null'
+} as const;
+
+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)**
+ * @type {string}
+ * @memberof PatchedAddressData
+ */
+ 'postal_code'?: string | null;
+ /**
+ * The address city. **(required for shipment purchase)**
+ * @type {string}
+ * @memberof PatchedAddressData
+ */
+ 'city'?: string | null;
+ /**
+ * The party frederal tax id
+ * @type {string}
+ * @memberof PatchedAddressData
+ */
+ 'federal_tax_id'?: string | null;
+ /**
+ * The party state id
+ * @type {string}
+ * @memberof PatchedAddressData
+ */
+ 'state_tax_id'?: string | null;
+ /**
+ * Attention to **(required for shipment purchase)**
+ * @type {string}
+ * @memberof PatchedAddressData
+ */
+ 'person_name'?: string | null;
+ /**
+ * The company name if the party is a company
+ * @type {string}
+ * @memberof PatchedAddressData
+ */
+ 'company_name'?: string | null;
+ /**
+ * The address country code
+ * @type {string}
+ * @memberof PatchedAddressData
+ */
+ 'country_code'?: PatchedAddressDataCountryCodeEnum;
+ /**
+ * The party email
+ * @type {string}
+ * @memberof PatchedAddressData
+ */
+ 'email'?: string | null;
+ /**
+ * The party phone number.
+ * @type {string}
+ * @memberof PatchedAddressData
+ */
+ 'phone_number'?: string | null;
+ /**
+ * The address state code
+ * @type {string}
+ * @memberof PatchedAddressData
+ */
+ 'state_code'?: string | null;
+ /**
+ * Indicate if the address is residential or commercial (enterprise)
+ * @type {boolean}
+ * @memberof PatchedAddressData
+ */
+ 'residential'?: boolean | null;
+ /**
+ * The address street number
+ * @type {string}
+ * @memberof PatchedAddressData
+ */
+ 'street_number'?: string | null;
+ /**
+ * The address line with street number
**(required for shipment purchase)**
+ * @type {string}
+ * @memberof PatchedAddressData
+ */
+ 'address_line1'?: string | null;
+ /**
+ * The address line with suite number
+ * @type {string}
+ * @memberof PatchedAddressData
+ */
+ 'address_line2'?: string | null;
+ /**
+ * Indicate if the address should be validated
+ * @type {boolean}
+ * @memberof PatchedAddressData
+ */
+ 'validate_location'?: boolean | null;
+}
+
+export const PatchedAddressDataCountryCodeEnum = {
+ Ac: 'AC',
+ 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',
+ Eh: 'EH',
+ Im: 'IM',
+ Bl: 'BL',
+ Mf: 'MF',
+ Sx: 'SX'
+} as const;
+
+export type PatchedAddressDataCountryCodeEnum = typeof PatchedAddressDataCountryCodeEnum[keyof typeof PatchedAddressDataCountryCodeEnum];
+
+/**
+ *
+ * @export
+ * @interface PatchedCarrierConnectionData
+ */
+export interface PatchedCarrierConnectionData {
+ /**
+ * A carrier connection type.
+ * @type {string}
+ * @memberof PatchedCarrierConnectionData
+ */
+ 'carrier_name'?: PatchedCarrierConnectionDataCarrierNameEnum;
+ /**
+ * A carrier connection friendly name.
+ * @type {string}
+ * @memberof PatchedCarrierConnectionData
+ */
+ 'carrier_id'?: string;
+ /**
+ * Carrier connection credentials.
+ * @type {ConnectionCredentialsField}
+ * @memberof PatchedCarrierConnectionData
+ */
+ 'credentials'?: ConnectionCredentialsField;
+ /**
+ * The carrier enabled capabilities.
+ * @type {Array}
+ * @memberof PatchedCarrierConnectionData
+ */
+ 'capabilities'?: Array | null;
+ /**
+ * Carrier connection custom config.
+ * @type {{ [key: string]: any; }}
+ * @memberof PatchedCarrierConnectionData
+ */
+ 'config'?: { [key: string]: any; };
+ /**
+ * User metadata for the carrier.
+ * @type {{ [key: string]: any; }}
+ * @memberof PatchedCarrierConnectionData
+ */
+ 'metadata'?: { [key: string]: any; };
+ /**
+ * The active flag indicates whether the carrier account is active or not.
+ * @type {boolean}
+ * @memberof PatchedCarrierConnectionData
+ */
+ 'active'?: boolean;
+}
+
+export const PatchedCarrierConnectionDataCarrierNameEnum = {
+ AlliedExpress: 'allied_express',
+ AlliedExpressLocal: 'allied_express_local',
+ AmazonShipping: 'amazon_shipping',
+ Aramex: 'aramex',
+ AsendiaUs: 'asendia_us',
+ Australiapost: 'australiapost',
+ Boxknight: 'boxknight',
+ Bpost: 'bpost',
+ Canadapost: 'canadapost',
+ Canpar: 'canpar',
+ Chronopost: 'chronopost',
+ Colissimo: 'colissimo',
+ DhlExpress: 'dhl_express',
+ DhlParcelDe: 'dhl_parcel_de',
+ DhlPoland: 'dhl_poland',
+ DhlUniversal: 'dhl_universal',
+ Dicom: 'dicom',
+ Dpd: 'dpd',
+ Dpdhl: 'dpdhl',
+ Easypost: 'easypost',
+ Eshipper: 'eshipper',
+ Fedex: 'fedex',
+ FedexWs: 'fedex_ws',
+ Freightcom: 'freightcom',
+ Generic: 'generic',
+ Geodis: 'geodis',
+ HayPost: 'hay_post',
+ Laposte: 'laposte',
+ Locate2u: 'locate2u',
+ Nationex: 'nationex',
+ Purolator: 'purolator',
+ Roadie: 'roadie',
+ Royalmail: 'royalmail',
+ Sapient: 'sapient',
+ Sendle: 'sendle',
+ Tge: 'tge',
+ Tnt: 'tnt',
+ Ups: 'ups',
+ Usps: 'usps',
+ UspsInternational: 'usps_international',
+ UspsWt: 'usps_wt',
+ UspsWtInternational: 'usps_wt_international',
+ Zoom2u: 'zoom2u'
+} as const;
+
+export type PatchedCarrierConnectionDataCarrierNameEnum = typeof PatchedCarrierConnectionDataCarrierNameEnum[keyof typeof PatchedCarrierConnectionDataCarrierNameEnum];
+
+/**
+ *
+ * @export
+ * @interface PatchedDocumentTemplateData
+ */
+export interface PatchedDocumentTemplateData {
+ /**
+ * The template name
+ * @type {string}
+ * @memberof PatchedDocumentTemplateData
+ */
+ 'name'?: string;
+ /**
+ * The template slug
+ * @type {string}
+ * @memberof PatchedDocumentTemplateData
+ */
+ 'slug'?: string;
+ /**
+ * The template content
+ * @type {string}
+ * @memberof PatchedDocumentTemplateData
+ */
+ 'template'?: string;
+ /**
+ * disable template flag.
+ * @type {boolean}
+ * @memberof PatchedDocumentTemplateData
+ */
+ 'active'?: boolean;
+ /**
+ * The template description
+ * @type {string}
+ * @memberof PatchedDocumentTemplateData
+ */
+ 'description'?: string;
+ /**
+ * The template metadata
+ * @type {{ [key: string]: any; }}
+ * @memberof PatchedDocumentTemplateData
+ */
+ 'metadata'?: { [key: string]: any; };
+ /**
+ * The template related object
+ * @type {string}
+ * @memberof PatchedDocumentTemplateData
+ */
+ 'related_object'?: PatchedDocumentTemplateDataRelatedObjectEnum;
+}
+
+export const PatchedDocumentTemplateDataRelatedObjectEnum = {
+ Shipment: 'shipment',
+ Order: 'order',
+ Other: 'other'
+} as const;
+
+export type PatchedDocumentTemplateDataRelatedObjectEnum = typeof PatchedDocumentTemplateDataRelatedObjectEnum[keyof typeof PatchedDocumentTemplateDataRelatedObjectEnum];
+
+/**
+ *
+ * @export
+ * @interface PatchedParcelData
+ */
+export interface PatchedParcelData {
+ /**
+ * The parcel\'s weight
+ * @type {number}
+ * @memberof PatchedParcelData
+ */
+ 'weight'?: number;
+ /**
+ * The parcel\'s width
+ * @type {number}
+ * @memberof PatchedParcelData
+ */
+ 'width'?: number | null;
+ /**
+ * The parcel\'s height
+ * @type {number}
+ * @memberof PatchedParcelData
+ */
+ 'height'?: number | null;
+ /**
+ * The parcel\'s length
+ * @type {number}
+ * @memberof 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.
+ * @type {string}
+ * @memberof PatchedParcelData
+ */
+ 'packaging_type'?: string | null;
+ /**
+ * The parcel\'s package preset.
For carrier specific package presets, please consult the reference.
+ * @type {string}
+ * @memberof PatchedParcelData
+ */
+ 'package_preset'?: string | null;
+ /**
+ * The parcel\'s description
+ * @type {string}
+ * @memberof PatchedParcelData
+ */
+ 'description'?: string | null;
+ /**
+ * The parcel\'s content description
+ * @type {string}
+ * @memberof PatchedParcelData
+ */
+ 'content'?: string | null;
+ /**
+ * Indicates if the parcel is composed of documents only
+ * @type {boolean}
+ * @memberof PatchedParcelData
+ */
+ 'is_document'?: boolean | null;
+ /**
+ * The parcel\'s weight unit
+ * @type {string}
+ * @memberof PatchedParcelData
+ */
+ 'weight_unit'?: PatchedParcelDataWeightUnitEnum;
+ /**
+ * The parcel\'s dimension unit
+ * @type {string}
+ * @memberof PatchedParcelData
+ */
+ 'dimension_unit'?: PatchedParcelDataDimensionUnitEnum | null;
+ /**
+ * The parcel items.
+ * @type {Array}
+ * @memberof PatchedParcelData
+ */
+ 'items'?: Array;
+ /**
+ * The parcel reference number.
(can be used as tracking number for custom carriers)
+ * @type {string}
+ * @memberof PatchedParcelData
+ */
+ 'reference_number'?: string | null;
+ /**
+ * The parcel\'s freight class for pallet and freight shipments.
+ * @type {string}
+ * @memberof PatchedParcelData
+ */
+ 'freight_class'?: string | null;
+ /**
+ * Parcel specific options.
{ \"insurance\": \"100.00\", \"insured_by\": \"carrier\", }
+ * @type {{ [key: string]: any; }}
+ * @memberof PatchedParcelData
+ */
+ 'options'?: { [key: string]: any; };
+}
+
+export const PatchedParcelDataWeightUnitEnum = {
+ Kg: 'KG',
+ Lb: 'LB',
+ Oz: 'OZ',
+ G: 'G'
+} as const;
+
+export type PatchedParcelDataWeightUnitEnum = typeof PatchedParcelDataWeightUnitEnum[keyof typeof PatchedParcelDataWeightUnitEnum];
+export const PatchedParcelDataDimensionUnitEnum = {
+ Cm: 'CM',
+ In: 'IN',
+ Null: 'null'
+} as const;
+
+export type PatchedParcelDataDimensionUnitEnum = typeof PatchedParcelDataDimensionUnitEnum[keyof typeof PatchedParcelDataDimensionUnitEnum];
+
+/**
+ *
+ * @export
+ * @interface PatchedWebhookData
+ */
+export interface PatchedWebhookData {
+ /**
+ * The URL of the webhook endpoint.
+ * @type {string}
+ * @memberof PatchedWebhookData
+ */
+ 'url'?: string;
+ /**
+ * An optional description of what the webhook is used for.
+ * @type {string}
+ * @memberof PatchedWebhookData
+ */
+ 'description'?: string | null;
+ /**
+ * The list of events to enable for this endpoint.
+ * @type {Array}
+ * @memberof PatchedWebhookData
+ */
+ 'enabled_events'?: Array;
+ /**
+ * Indicates that the webhook is disabled
+ * @type {boolean}
+ * @memberof PatchedWebhookData
+ */
+ 'disabled'?: boolean | null;
+}
+
+export const PatchedWebhookDataEnabledEventsEnum = {
+ All: 'all',
+ ShipmentPurchased: 'shipment_purchased',
+ ShipmentCancelled: 'shipment_cancelled',
+ ShipmentFulfilled: 'shipment_fulfilled',
+ ShipmentOutForDelivery: 'shipment_out_for_delivery',
+ ShipmentNeedsAttention: 'shipment_needs_attention',
+ ShipmentDeliveryFailed: 'shipment_delivery_failed',
+ TrackerCreated: 'tracker_created',
+ TrackerUpdated: 'tracker_updated',
+ OrderCreated: 'order_created',
+ OrderUpdated: 'order_updated',
+ OrderFulfilled: 'order_fulfilled',
+ OrderCancelled: 'order_cancelled',
+ OrderDelivered: 'order_delivered',
+ BatchQueued: 'batch_queued',
+ BatchFailed: 'batch_failed',
+ BatchRunning: 'batch_running',
+ BatchCompleted: 'batch_completed'
+} as const;
+
+export type PatchedWebhookDataEnabledEventsEnum = typeof PatchedWebhookDataEnabledEventsEnum[keyof typeof PatchedWebhookDataEnabledEventsEnum];
+
+/**
+ *
+ * @export
+ * @interface Payment
+ */
+export interface Payment {
+ /**
+ * The payor type
+ * @type {string}
+ * @memberof Payment
+ */
+ 'paid_by'?: PaymentPaidByEnum;
+ /**
+ * The payment amount currency
+ * @type {string}
+ * @memberof Payment
+ */
+ 'currency'?: PaymentCurrencyEnum | null;
+ /**
+ * The payor account number
+ * @type {string}
+ * @memberof Payment
+ */
+ 'account_number'?: string | null;
+}
+
+export const PaymentPaidByEnum = {
+ Sender: 'sender',
+ Recipient: 'recipient',
+ ThirdParty: 'third_party'
+} as const;
+
+export type PaymentPaidByEnum = typeof PaymentPaidByEnum[keyof typeof PaymentPaidByEnum];
+export const PaymentCurrencyEnum = {
+ Eur: 'EUR',
+ Aed: 'AED',
+ Usd: 'USD',
+ Xcd: 'XCD',
+ Amd: 'AMD',
+ Ang: 'ANG',
+ Aoa: 'AOA',
+ Ars: 'ARS',
+ Aud: 'AUD',
+ Awg: 'AWG',
+ Azn: 'AZN',
+ Bam: 'BAM',
+ Bbd: 'BBD',
+ Bdt: 'BDT',
+ Xof: 'XOF',
+ Bgn: 'BGN',
+ Bhd: 'BHD',
+ Bif: 'BIF',
+ Bmd: 'BMD',
+ Bnd: 'BND',
+ Bob: 'BOB',
+ Brl: 'BRL',
+ Bsd: 'BSD',
+ Btn: 'BTN',
+ Bwp: 'BWP',
+ Byn: 'BYN',
+ Bzd: 'BZD',
+ Cad: 'CAD',
+ Cdf: 'CDF',
+ Xaf: 'XAF',
+ Chf: 'CHF',
+ Nzd: 'NZD',
+ Clp: 'CLP',
+ Cny: 'CNY',
+ Cop: 'COP',
+ Crc: 'CRC',
+ Cuc: 'CUC',
+ Cve: 'CVE',
+ Czk: 'CZK',
+ Djf: 'DJF',
+ Dkk: 'DKK',
+ Dop: 'DOP',
+ Dzd: 'DZD',
+ Egp: 'EGP',
+ Ern: 'ERN',
+ Etb: 'ETB',
+ Fjd: 'FJD',
+ Gbp: 'GBP',
+ Gel: 'GEL',
+ Ghs: 'GHS',
+ Gmd: 'GMD',
+ Gnf: 'GNF',
+ Gtq: 'GTQ',
+ Gyd: 'GYD',
+ Hkd: 'HKD',
+ Hnl: 'HNL',
+ Hrk: 'HRK',
+ Htg: 'HTG',
+ Huf: 'HUF',
+ Idr: 'IDR',
+ Ils: 'ILS',
+ Inr: 'INR',
+ Irr: 'IRR',
+ Isk: 'ISK',
+ Jmd: 'JMD',
+ Jod: 'JOD',
+ Jpy: 'JPY',
+ Kes: 'KES',
+ Kgs: 'KGS',
+ Khr: 'KHR',
+ Kmf: 'KMF',
+ Kpw: 'KPW',
+ Krw: 'KRW',
+ Kwd: 'KWD',
+ Kyd: 'KYD',
+ Kzt: 'KZT',
+ Lak: 'LAK',
+ Lkr: 'LKR',
+ Lrd: 'LRD',
+ Lsl: 'LSL',
+ Lyd: 'LYD',
+ Mad: 'MAD',
+ Mdl: 'MDL',
+ Mga: 'MGA',
+ Mkd: 'MKD',
+ Mmk: 'MMK',
+ Mnt: 'MNT',
+ Mop: 'MOP',
+ Mro: 'MRO',
+ Mur: 'MUR',
+ Mvr: 'MVR',
+ Mwk: 'MWK',
+ Mxn: 'MXN',
+ Myr: 'MYR',
+ Mzn: 'MZN',
+ Nad: 'NAD',
+ Xpf: 'XPF',
+ Ngn: 'NGN',
+ Nio: 'NIO',
+ Nok: 'NOK',
+ Npr: 'NPR',
+ Omr: 'OMR',
+ Pen: 'PEN',
+ Pgk: 'PGK',
+ Php: 'PHP',
+ Pkr: 'PKR',
+ Pln: 'PLN',
+ Pyg: 'PYG',
+ Qar: 'QAR',
+ Rsd: 'RSD',
+ Rub: 'RUB',
+ Rwf: 'RWF',
+ Sar: 'SAR',
+ Sbd: 'SBD',
+ Scr: 'SCR',
+ Sdg: 'SDG',
+ Sek: 'SEK',
+ Sgd: 'SGD',
+ Shp: 'SHP',
+ Sll: 'SLL',
+ Sos: 'SOS',
+ Srd: 'SRD',
+ Ssp: 'SSP',
+ Std: 'STD',
+ Syp: 'SYP',
+ Szl: 'SZL',
+ Thb: 'THB',
+ Tjs: 'TJS',
+ Tnd: 'TND',
+ Top: 'TOP',
+ Try: 'TRY',
+ Ttd: 'TTD',
+ Twd: 'TWD',
+ Tzs: 'TZS',
+ Uah: 'UAH',
+ Uyu: 'UYU',
+ Uzs: 'UZS',
+ Vef: 'VEF',
+ Vnd: 'VND',
+ Vuv: 'VUV',
+ Wst: 'WST',
+ Yer: 'YER',
+ Zar: 'ZAR',
+ Empty: '',
+ Null: 'null'
+} as const;
+
+export type PaymentCurrencyEnum = typeof PaymentCurrencyEnum[keyof typeof PaymentCurrencyEnum];
+
+/**
+ *
+ * @export
+ * @interface Pickup
+ */
+export interface Pickup {
+ /**
+ * A unique pickup identifier
+ * @type {string}
+ * @memberof Pickup
+ */
+ 'id'?: string;
+ /**
+ * Specifies the object type
+ * @type {string}
+ * @memberof Pickup
+ */
+ 'object_type'?: string;
+ /**
+ * The pickup carrier
+ * @type {string}
+ * @memberof Pickup
+ */
+ 'carrier_name': string;
+ /**
+ * The pickup carrier configured name
+ * @type {string}
+ * @memberof Pickup
+ */
+ 'carrier_id': string;
+ /**
+ * The pickup confirmation identifier
+ * @type {string}
+ * @memberof Pickup
+ */
+ 'confirmation_number': string;
+ /**
+ * The pickup date
+ * @type {string}
+ * @memberof Pickup
+ */
+ 'pickup_date'?: string | null;
+ /**
+ *
+ * @type {PickupPickupCharge}
+ * @memberof Pickup
+ */
+ 'pickup_charge'?: Charge | null;
+ /**
+ * The pickup expected ready time
+ * @type {string}
+ * @memberof Pickup
+ */
+ 'ready_time'?: string | null;
+ /**
+ * The pickup expected closing or late time
+ * @type {string}
+ * @memberof Pickup
+ */
+ 'closing_time'?: string | null;
+ /**
+ * User metadata for the pickup
+ * @type {{ [key: string]: any; }}
+ * @memberof Pickup
+ */
+ 'metadata'?: { [key: string]: any; };
+ /**
+ * provider specific metadata
+ * @type {{ [key: string]: any; }}
+ * @memberof Pickup
+ */
+ 'meta'?: { [key: string]: any; } | null;
+ /**
+ * The pickup address
+ * @type {Address}
+ * @memberof Pickup
+ */
+ 'address': Address;
+ /**
+ * The shipment parcels to pickup.
+ * @type {Array}
+ * @memberof Pickup
+ */
+ 'parcels': Array;
+ /**
+ * The pickup instruction.
eg: Handle with care.
+ * @type {string}
+ * @memberof Pickup
+ */
+ 'instruction'?: string | null;
+ /**
+ * The package(s) location.
eg: Behind the entrance door.
+ * @type {string}
+ * @memberof Pickup
+ */
+ 'package_location'?: string | null;
+ /**
+ * Advanced carrier specific pickup options
+ * @type {{ [key: string]: any; }}
+ * @memberof Pickup
+ */
+ 'options'?: { [key: string]: any; } | null;
+ /**
+ * Specified whether it was created with a carrier in test mode
+ * @type {boolean}
+ * @memberof Pickup
+ */
+ 'test_mode': boolean;
+}
+/**
+ *
+ * @export
+ * @interface PickupCancelData
+ */
+export interface PickupCancelData {
+ /**
+ * The reason of the pickup cancellation
+ * @type {string}
+ * @memberof PickupCancelData
+ */
+ 'reason'?: string;
+}
+/**
+ *
+ * @export
+ * @interface PickupCancelRequest
+ */
+export interface PickupCancelRequest {
+ /**
+ * The pickup confirmation identifier
+ * @type {string}
+ * @memberof PickupCancelRequest
+ */
+ 'confirmation_number': string;
+ /**
+ * The pickup address
+ * @type {AddressData}
+ * @memberof PickupCancelRequest
+ */
+ 'address'?: AddressData;
+ /**
+ * The pickup date.
Date Format: `YYYY-MM-DD`
+ * @type {string}
+ * @memberof PickupCancelRequest
+ */
+ 'pickup_date'?: string | null;
+ /**
+ * The reason of the pickup cancellation
+ * @type {string}
+ * @memberof PickupCancelRequest
+ */
+ 'reason'?: string;
+}
+/**
+ *
+ * @export
+ * @interface PickupData
+ */
+export interface PickupData {
+ /**
+ * The expected pickup date.
Date Format: `YYYY-MM-DD`
+ * @type {string}
+ * @memberof PickupData
+ */
+ 'pickup_date': string;
+ /**
+ * The pickup address
+ * @type {AddressData}
+ * @memberof PickupData
+ */
+ 'address'?: AddressData;
+ /**
+ * 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`
+ * @type {string}
+ * @memberof PickupData
+ */
+ 'closing_time': string;
+ /**
+ * The pickup instruction.
eg: Handle with care.
+ * @type {string}
+ * @memberof PickupData
+ */
+ 'instruction'?: string | null;
+ /**
+ * The package(s) location.
eg: Behind the entrance door.
+ * @type {string}
+ * @memberof PickupData
+ */
+ 'package_location'?: string | null;
+ /**
+ * Advanced carrier specific pickup options
+ * @type {{ [key: string]: any; }}
+ * @memberof PickupData
+ */
+ 'options'?: { [key: string]: any; } | null;
+ /**
+ * The list of shipments to be picked up
+ * @type {Array}
+ * @memberof PickupData
+ */
+ 'tracking_numbers': Array;
+ /**
+ * User metadata for the pickup
+ * @type {{ [key: string]: any; }}
+ * @memberof PickupData
+ */
+ 'metadata'?: { [key: string]: any; };
+}
/**
- *
+ *
* @export
- * @interface PatchedCarrierConnectionData
+ * @interface PickupList
*/
-export interface PatchedCarrierConnectionData {
+export interface PickupList {
/**
- * A carrier connection type.
+ *
+ * @type {number}
+ * @memberof PickupList
+ */
+ 'count'?: number | null;
+ /**
+ *
* @type {string}
- * @memberof PatchedCarrierConnectionData
+ * @memberof PickupList
*/
- 'carrier_name'?: PatchedCarrierConnectionDataCarrierNameEnum;
+ 'next'?: string | null;
/**
- * A carrier connection friendly name.
+ *
* @type {string}
- * @memberof PatchedCarrierConnectionData
+ * @memberof PickupList
*/
- 'carrier_id'?: string;
+ 'previous'?: string | null;
/**
- * Carrier connection credentials.
- * @type {ConnectionCredentialsField}
- * @memberof PatchedCarrierConnectionData
+ *
+ * @type {Array}
+ * @memberof PickupList
*/
- 'credentials'?: ConnectionCredentialsField;
+ 'results': Array;
+}
+/**
+ *
+ * @export
+ * @interface PickupRequest
+ */
+export interface PickupRequest {
/**
- * The carrier enabled capabilities.
- * @type {Array}
- * @memberof PatchedCarrierConnectionData
+ * The expected pickup date.
Date Format: `YYYY-MM-DD`
+ * @type {string}
+ * @memberof PickupRequest
*/
- 'capabilities'?: Array | null;
+ 'pickup_date': string;
/**
- * Carrier connection custom config.
- * @type {{ [key: string]: any; }}
- * @memberof PatchedCarrierConnectionData
+ * The pickup address
+ * @type {AddressData}
+ * @memberof PickupRequest
*/
- 'config'?: { [key: string]: any; };
+ 'address': AddressData;
/**
- * User metadata for the carrier.
+ * The shipment parcels to pickup.
+ * @type {Array}
+ * @memberof PickupRequest
+ */
+ 'parcels': Array;
+ /**
+ * 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`
+ * @type {string}
+ * @memberof PickupRequest
+ */
+ 'closing_time': string;
+ /**
+ * The pickup instruction.
eg: Handle with care.
+ * @type {string}
+ * @memberof PickupRequest
+ */
+ 'instruction'?: string | null;
+ /**
+ * The package(s) location.
eg: Behind the entrance door.
+ * @type {string}
+ * @memberof PickupRequest
+ */
+ 'package_location'?: string | null;
+ /**
+ * Advanced carrier specific pickup options
* @type {{ [key: string]: any; }}
- * @memberof PatchedCarrierConnectionData
+ * @memberof PickupRequest
*/
- 'metadata'?: { [key: string]: any; };
+ 'options'?: { [key: string]: any; } | null;
+}
+/**
+ *
+ * @export
+ * @interface PickupResponse
+ */
+export interface PickupResponse {
/**
- * The active flag indicates whether the carrier account is active or not.
- * @type {boolean}
- * @memberof PatchedCarrierConnectionData
+ * The list of note or warning messages
+ * @type {Array}
+ * @memberof PickupResponse
*/
- 'active'?: boolean;
+ 'messages'?: Array;
+ /**
+ * The scheduled pickup\'s summary
+ * @type {Pickup}
+ * @memberof PickupResponse
+ */
+ 'pickup'?: Pickup;
+}
+/**
+ *
+ * @export
+ * @interface PickupUpdateData
+ */
+export interface PickupUpdateData {
+ /**
+ * The expected pickup date.
Date Format: YYYY-MM-DD
+ * @type {string}
+ * @memberof PickupUpdateData
+ */
+ 'pickup_date'?: string;
+ /**
+ * The pickup address
+ * @type {AddressData}
+ * @memberof PickupUpdateData
+ */
+ 'address'?: AddressData;
+ /**
+ * The ready time for pickup.
+ * @type {string}
+ * @memberof PickupUpdateData
+ */
+ 'ready_time'?: string | null;
+ /**
+ * The closing or late time of the pickup
+ * @type {string}
+ * @memberof PickupUpdateData
+ */
+ 'closing_time'?: string | null;
+ /**
+ * The pickup instruction.
eg: Handle with care.
+ * @type {string}
+ * @memberof PickupUpdateData
+ */
+ 'instruction'?: string | null;
+ /**
+ * The package(s) location.
eg: Behind the entrance door.
+ * @type {string}
+ * @memberof PickupUpdateData
+ */
+ 'package_location'?: string | null;
+ /**
+ * Advanced carrier specific pickup options
+ * @type {{ [key: string]: any; }}
+ * @memberof PickupUpdateData
+ */
+ 'options'?: { [key: string]: any; } | null;
+ /**
+ * The list of shipments to be picked up
+ * @type {Array}
+ * @memberof PickupUpdateData
+ */
+ 'tracking_numbers'?: Array;
+ /**
+ * User metadata for the pickup
+ * @type {{ [key: string]: any; }}
+ * @memberof PickupUpdateData
+ */
+ 'metadata'?: { [key: string]: any; };
+ /**
+ * pickup identification number
+ * @type {string}
+ * @memberof PickupUpdateData
+ */
+ 'confirmation_number': string;
}
-
-export const PatchedCarrierConnectionDataCarrierNameEnum = {
- AlliedExpress: 'allied_express',
- AlliedExpressLocal: 'allied_express_local',
- AmazonShipping: 'amazon_shipping',
- Aramex: 'aramex',
- AsendiaUs: 'asendia_us',
- Australiapost: 'australiapost',
- Boxknight: 'boxknight',
- Bpost: 'bpost',
- Canadapost: 'canadapost',
- Canpar: 'canpar',
- Chronopost: 'chronopost',
- Colissimo: 'colissimo',
- DhlExpress: 'dhl_express',
- DhlParcelDe: 'dhl_parcel_de',
- DhlPoland: 'dhl_poland',
- DhlUniversal: 'dhl_universal',
- Dicom: 'dicom',
- Dpd: 'dpd',
- Dpdhl: 'dpdhl',
- Easypost: 'easypost',
- Eshipper: 'eshipper',
- Fedex: 'fedex',
- FedexWs: 'fedex_ws',
- Freightcom: 'freightcom',
- Generic: 'generic',
- Geodis: 'geodis',
- HayPost: 'hay_post',
- Laposte: 'laposte',
- Locate2u: 'locate2u',
- Nationex: 'nationex',
- Purolator: 'purolator',
- Roadie: 'roadie',
- Royalmail: 'royalmail',
- Sapient: 'sapient',
- Sendle: 'sendle',
- Tge: 'tge',
- Tnt: 'tnt',
- Ups: 'ups',
- Usps: 'usps',
- UspsInternational: 'usps_international',
- UspsWt: 'usps_wt',
- UspsWtInternational: 'usps_wt_international',
- Zoom2u: 'zoom2u'
-} as const;
-
-export type PatchedCarrierConnectionDataCarrierNameEnum = typeof PatchedCarrierConnectionDataCarrierNameEnum[keyof typeof PatchedCarrierConnectionDataCarrierNameEnum];
-
/**
- *
+ *
* @export
- * @interface PatchedDocumentTemplateData
+ * @interface PickupUpdateRequest
*/
-export interface PatchedDocumentTemplateData {
+export interface PickupUpdateRequest {
/**
- * The template name
+ * The expected pickup date.
Date Format: `YYYY-MM-DD`
* @type {string}
- * @memberof PatchedDocumentTemplateData
+ * @memberof PickupUpdateRequest
*/
- 'name'?: string;
+ 'pickup_date': string;
/**
- * The template slug
+ * The pickup address
+ * @type {Address}
+ * @memberof PickupUpdateRequest
+ */
+ 'address': Address;
+ /**
+ * The shipment parcels to pickup.
+ * @type {Array}
+ * @memberof PickupUpdateRequest
+ */
+ 'parcels': Array;
+ /**
+ * pickup identification number
* @type {string}
- * @memberof PatchedDocumentTemplateData
+ * @memberof PickupUpdateRequest
*/
- 'slug'?: string;
+ 'confirmation_number': string;
/**
- * The template content
+ * The ready time for pickup. Time Format: `HH:MM`
* @type {string}
- * @memberof PatchedDocumentTemplateData
+ * @memberof PickupUpdateRequest
*/
- 'template'?: string;
+ 'ready_time': string;
/**
- * disable template flag.
- * @type {boolean}
- * @memberof PatchedDocumentTemplateData
+ * The closing or late time of the pickup.
Time Format: `HH:MM`
+ * @type {string}
+ * @memberof PickupUpdateRequest
*/
- 'active'?: boolean;
+ 'closing_time': string;
/**
- * The template description
+ * The pickup instruction.
eg: Handle with care.
* @type {string}
- * @memberof PatchedDocumentTemplateData
+ * @memberof PickupUpdateRequest
*/
- 'description'?: string;
+ 'instruction'?: string | null;
/**
- * The template metadata
+ * The package(s) location.
eg: Behind the entrance door.
+ * @type {string}
+ * @memberof PickupUpdateRequest
+ */
+ 'package_location'?: string | null;
+ /**
+ * Advanced carrier specific pickup options
* @type {{ [key: string]: any; }}
- * @memberof PatchedDocumentTemplateData
+ * @memberof PickupUpdateRequest
*/
- 'metadata'?: { [key: string]: any; };
+ 'options'?: { [key: string]: any; } | null;
+}
+/**
+ *
+ * @export
+ * @interface Purolator
+ */
+export interface Purolator {
/**
- * The template related object
+ *
* @type {string}
- * @memberof PatchedDocumentTemplateData
+ * @memberof Purolator
*/
- 'related_object'?: PatchedDocumentTemplateDataRelatedObjectEnum;
+ 'username': string;
+ /**
+ *
+ * @type {string}
+ * @memberof Purolator
+ */
+ 'password': string;
+ /**
+ *
+ * @type {string}
+ * @memberof Purolator
+ */
+ 'account_number': string;
+ /**
+ *
+ * @type {string}
+ * @memberof Purolator
+ */
+ 'user_token'?: string;
+ /**
+ * Indicates a language string
+ * @type {string}
+ * @memberof Purolator
+ */
+ 'language'?: PurolatorLanguageEnum;
}
-export const PatchedDocumentTemplateDataRelatedObjectEnum = {
- Shipment: 'shipment',
- Order: 'order',
- Other: 'other'
+export const PurolatorLanguageEnum = {
+ En: 'en',
+ Fr: 'fr'
} as const;
-export type PatchedDocumentTemplateDataRelatedObjectEnum = typeof PatchedDocumentTemplateDataRelatedObjectEnum[keyof typeof PatchedDocumentTemplateDataRelatedObjectEnum];
+export type PurolatorLanguageEnum = typeof PurolatorLanguageEnum[keyof typeof PurolatorLanguageEnum];
/**
- *
+ *
* @export
- * @interface PatchedParcelData
+ * @interface Rate
*/
-export interface PatchedParcelData {
+export interface Rate {
/**
- * The parcel\'s weight
- * @type {number}
- * @memberof PatchedParcelData
+ * A unique identifier
+ * @type {string}
+ * @memberof Rate
*/
- 'weight'?: number;
+ 'id'?: string;
/**
- * The parcel\'s width
- * @type {number}
- * @memberof PatchedParcelData
+ * Specifies the object type
+ * @type {string}
+ * @memberof Rate
*/
- 'width'?: number | null;
+ 'object_type'?: string;
/**
- * The parcel\'s height
- * @type {number}
- * @memberof PatchedParcelData
+ * The rate\'s carrier
+ * @type {string}
+ * @memberof Rate
*/
- 'height'?: number | null;
+ 'carrier_name': string;
/**
- * The parcel\'s length
- * @type {number}
- * @memberof PatchedParcelData
+ * The targeted carrier\'s name (unique identifier)
+ * @type {string}
+ * @memberof Rate
*/
- 'length'?: number | null;
+ 'carrier_id': string;
/**
- * 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 rate monetary values currency code
* @type {string}
- * @memberof PatchedParcelData
+ * @memberof Rate
*/
- 'packaging_type'?: string | null;
+ 'currency'?: string;
/**
- * The parcel\'s package preset.
For carrier specific package presets, please consult the reference.
+ * The carrier\'s rate (quote) service
* @type {string}
- * @memberof PatchedParcelData
+ * @memberof Rate
*/
- 'package_preset'?: string | null;
+ 'service'?: string | null;
/**
- * The parcel\'s description
- * @type {string}
- * @memberof PatchedParcelData
+ * 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
*/
- 'description'?: string | null;
+ 'total_charge'?: number;
/**
- * The parcel\'s content description
- * @type {string}
- * @memberof PatchedParcelData
+ * The estimated delivery transit days
+ * @type {number}
+ * @memberof Rate
*/
- 'content'?: string | null;
+ 'transit_days'?: number | null;
/**
- * Indicates if the parcel is composed of documents only
- * @type {boolean}
- * @memberof PatchedParcelData
+ * list of the rate\'s additional charges
+ * @type {Array}
+ * @memberof Rate
*/
- 'is_document'?: boolean | null;
+ 'extra_charges'?: Array;
/**
- * The parcel\'s weight unit
+ * The delivery estimated date
* @type {string}
- * @memberof PatchedParcelData
+ * @memberof Rate
*/
- 'weight_unit'?: PatchedParcelDataWeightUnitEnum;
+ 'estimated_delivery'?: string | null;
/**
- * The parcel\'s dimension unit
- * @type {string}
- * @memberof PatchedParcelData
+ * provider specific metadata
+ * @type {{ [key: string]: any; }}
+ * @memberof Rate
*/
- 'dimension_unit'?: PatchedParcelDataDimensionUnitEnum | null;
+ 'meta'?: { [key: string]: any; } | null;
/**
- * The parcel items.
- * @type {Array}
- * @memberof PatchedParcelData
+ * Specified whether it was created with a carrier in test mode
+ * @type {boolean}
+ * @memberof Rate
*/
- 'items'?: Array;
+ 'test_mode': boolean;
+}
+/**
+ *
+ * @export
+ * @interface RateRequest
+ */
+export interface RateRequest {
/**
- * The parcel reference number.
(can be used as tracking number for custom carriers)
- * @type {string}
- * @memberof PatchedParcelData
+ * The address of the party
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient**
+ * @type {AddressData}
+ * @memberof RateRequest
*/
- 'reference_number'?: string | null;
+ 'shipper': AddressData;
/**
- * The parcel\'s freight class for pallet and freight shipments.
- * @type {string}
- * @memberof PatchedParcelData
+ * The address of the party
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient**
+ * @type {AddressData}
+ * @memberof RateRequest
*/
- 'freight_class'?: string | null;
+ 'recipient': AddressData;
+ /**
+ * The shipment\'s parcels
+ * @type {Array}
+ * @memberof 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.
+ * @type {Array}
+ * @memberof RateRequest
+ */
+ 'services'?: Array | null;
/**
- * Parcel specific options.
{ \"insurance\": \"100.00\", \"insured_by\": \"carrier\", }
+ * 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 PatchedParcelData
+ * @memberof RateRequest
*/
'options'?: { [key: string]: any; };
-}
-
-export const PatchedParcelDataWeightUnitEnum = {
- Kg: 'KG',
- Lb: 'LB',
- Oz: 'OZ',
- G: 'G'
-} as const;
-
-export type PatchedParcelDataWeightUnitEnum = typeof PatchedParcelDataWeightUnitEnum[keyof typeof PatchedParcelDataWeightUnitEnum];
-export const PatchedParcelDataDimensionUnitEnum = {
- Cm: 'CM',
- In: 'IN',
- Null: 'null'
-} as const;
-
-export type PatchedParcelDataDimensionUnitEnum = typeof PatchedParcelDataDimensionUnitEnum[keyof typeof PatchedParcelDataDimensionUnitEnum];
-
+ /**
+ * The shipment reference
+ * @type {string}
+ * @memberof RateRequest
+ */
+ 'reference'?: string | null;
+ /**
+ * The list of configured carriers you wish to get rates from.
+ * @type {Array}
+ * @memberof RateRequest
+ */
+ 'carrier_ids'?: Array | null;
+}
/**
- *
+ *
* @export
- * @interface PatchedWebhookData
+ * @interface RateResponse
*/
-export interface PatchedWebhookData {
+export interface RateResponse {
/**
- * The URL of the webhook endpoint.
- * @type {string}
- * @memberof PatchedWebhookData
+ * The list of note or warning messages
+ * @type {Array}
+ * @memberof RateResponse
*/
- 'url'?: string;
+ 'messages'?: Array;
/**
- * An optional description of what the webhook is used for.
+ * The list of returned rates
+ * @type {Array}
+ * @memberof RateResponse
+ */
+ 'rates': Array;
+}
+/**
+ *
+ * @export
+ * @interface Roadie
+ */
+export interface Roadie {
+ /**
+ *
* @type {string}
- * @memberof PatchedWebhookData
+ * @memberof Roadie
*/
- 'description'?: string | null;
+ 'api_key': string;
+}
+/**
+ *
+ * @export
+ * @interface Royalmail
+ */
+export interface Royalmail {
/**
- * The list of events to enable for this endpoint.
- * @type {Array}
- * @memberof PatchedWebhookData
+ *
+ * @type {string}
+ * @memberof Royalmail
*/
- 'enabled_events'?: Array;
+ 'client_id': string;
/**
- * Indicates that the webhook is disabled
- * @type {boolean}
- * @memberof PatchedWebhookData
+ *
+ * @type {string}
+ * @memberof Royalmail
*/
- 'disabled'?: boolean | null;
+ 'client_secret': string;
}
-
-export const PatchedWebhookDataEnabledEventsEnum = {
- All: 'all',
- ShipmentPurchased: 'shipment_purchased',
- ShipmentCancelled: 'shipment_cancelled',
- ShipmentFulfilled: 'shipment_fulfilled',
- ShipmentOutForDelivery: 'shipment_out_for_delivery',
- ShipmentNeedsAttention: 'shipment_needs_attention',
- ShipmentDeliveryFailed: 'shipment_delivery_failed',
- TrackerCreated: 'tracker_created',
- TrackerUpdated: 'tracker_updated',
- OrderCreated: 'order_created',
- OrderUpdated: 'order_updated',
- OrderFulfilled: 'order_fulfilled',
- OrderCancelled: 'order_cancelled',
- OrderDelivered: 'order_delivered',
- BatchQueued: 'batch_queued',
- BatchFailed: 'batch_failed',
- BatchRunning: 'batch_running',
- BatchCompleted: 'batch_completed'
-} as const;
-
-export type PatchedWebhookDataEnabledEventsEnum = typeof PatchedWebhookDataEnabledEventsEnum[keyof typeof PatchedWebhookDataEnabledEventsEnum];
-
/**
- *
+ *
* @export
- * @interface Payment
+ * @interface Sapient
*/
-export interface Payment {
+export interface Sapient {
/**
- * The payor type
+ *
* @type {string}
- * @memberof Payment
+ * @memberof Sapient
*/
- 'paid_by'?: PaymentPaidByEnum;
+ 'client_id': string;
/**
- * The payment amount currency
+ *
* @type {string}
- * @memberof Payment
+ * @memberof Sapient
*/
- 'currency'?: PaymentCurrencyEnum | null;
+ 'client_secret': string;
/**
- * The payor account number
+ *
* @type {string}
- * @memberof Payment
+ * @memberof Sapient
*/
- 'account_number'?: string | null;
+ 'shipping_account_id': string;
+ /**
+ * Indicates a carrier_code string
+ * @type {string}
+ * @memberof Sapient
+ */
+ 'carrier_code'?: SapientCarrierCodeEnum;
}
-export const PaymentPaidByEnum = {
- Sender: 'sender',
- Recipient: 'recipient',
- ThirdParty: 'third_party'
-} as const;
-
-export type PaymentPaidByEnum = typeof PaymentPaidByEnum[keyof typeof PaymentPaidByEnum];
-export const PaymentCurrencyEnum = {
- Eur: 'EUR',
- Aed: 'AED',
- Usd: 'USD',
- Xcd: 'XCD',
- Amd: 'AMD',
- Ang: 'ANG',
- Aoa: 'AOA',
- Ars: 'ARS',
- Aud: 'AUD',
- Awg: 'AWG',
- Azn: 'AZN',
- Bam: 'BAM',
- Bbd: 'BBD',
- Bdt: 'BDT',
- Xof: 'XOF',
- Bgn: 'BGN',
- Bhd: 'BHD',
- Bif: 'BIF',
- Bmd: 'BMD',
- Bnd: 'BND',
- Bob: 'BOB',
- Brl: 'BRL',
- Bsd: 'BSD',
- Btn: 'BTN',
- Bwp: 'BWP',
- Byn: 'BYN',
- Bzd: 'BZD',
- Cad: 'CAD',
- Cdf: 'CDF',
- Xaf: 'XAF',
- Chf: 'CHF',
- Nzd: 'NZD',
- Clp: 'CLP',
- Cny: 'CNY',
- Cop: 'COP',
- Crc: 'CRC',
- Cuc: 'CUC',
- Cve: 'CVE',
- Czk: 'CZK',
- Djf: 'DJF',
- Dkk: 'DKK',
- Dop: 'DOP',
- Dzd: 'DZD',
- Egp: 'EGP',
- Ern: 'ERN',
- Etb: 'ETB',
- Fjd: 'FJD',
- Gbp: 'GBP',
- Gel: 'GEL',
- Ghs: 'GHS',
- Gmd: 'GMD',
- Gnf: 'GNF',
- Gtq: 'GTQ',
- Gyd: 'GYD',
- Hkd: 'HKD',
- Hnl: 'HNL',
- Hrk: 'HRK',
- Htg: 'HTG',
- Huf: 'HUF',
- Idr: 'IDR',
- Ils: 'ILS',
- Inr: 'INR',
- Irr: 'IRR',
- Isk: 'ISK',
- Jmd: 'JMD',
- Jod: 'JOD',
- Jpy: 'JPY',
- Kes: 'KES',
- Kgs: 'KGS',
- Khr: 'KHR',
- Kmf: 'KMF',
- Kpw: 'KPW',
- Krw: 'KRW',
- Kwd: 'KWD',
- Kyd: 'KYD',
- Kzt: 'KZT',
- Lak: 'LAK',
- Lkr: 'LKR',
- Lrd: 'LRD',
- Lsl: 'LSL',
- Lyd: 'LYD',
- Mad: 'MAD',
- Mdl: 'MDL',
- Mga: 'MGA',
- Mkd: 'MKD',
- Mmk: 'MMK',
- Mnt: 'MNT',
- Mop: 'MOP',
- Mro: 'MRO',
- Mur: 'MUR',
- Mvr: 'MVR',
- Mwk: 'MWK',
- Mxn: 'MXN',
- Myr: 'MYR',
- Mzn: 'MZN',
- Nad: 'NAD',
- Xpf: 'XPF',
- Ngn: 'NGN',
- Nio: 'NIO',
- Nok: 'NOK',
- Npr: 'NPR',
- Omr: 'OMR',
- Pen: 'PEN',
- Pgk: 'PGK',
- Php: 'PHP',
- Pkr: 'PKR',
- Pln: 'PLN',
- Pyg: 'PYG',
- Qar: 'QAR',
- Rsd: 'RSD',
- Rub: 'RUB',
- Rwf: 'RWF',
- Sar: 'SAR',
- Sbd: 'SBD',
- Scr: 'SCR',
- Sdg: 'SDG',
- Sek: 'SEK',
- Sgd: 'SGD',
- Shp: 'SHP',
- Sll: 'SLL',
- Sos: 'SOS',
- Srd: 'SRD',
- Ssp: 'SSP',
- Std: 'STD',
- Syp: 'SYP',
- Szl: 'SZL',
- Thb: 'THB',
- Tjs: 'TJS',
- Tnd: 'TND',
- Top: 'TOP',
- Try: 'TRY',
- Ttd: 'TTD',
- Twd: 'TWD',
- Tzs: 'TZS',
- Uah: 'UAH',
- Uyu: 'UYU',
- Uzs: 'UZS',
- Vef: 'VEF',
- Vnd: 'VND',
- Vuv: 'VUV',
- Wst: 'WST',
- Yer: 'YER',
- Zar: 'ZAR',
- Empty: '',
- Null: 'null'
+export const SapientCarrierCodeEnum = {
+ Dx: 'DX',
+ Evri: 'EVRI',
+ Rm: 'RM',
+ Ups: 'UPS',
+ Yodel: 'YODEL'
} as const;
-export type PaymentCurrencyEnum = typeof PaymentCurrencyEnum[keyof typeof PaymentCurrencyEnum];
+export type SapientCarrierCodeEnum = typeof SapientCarrierCodeEnum[keyof typeof SapientCarrierCodeEnum];
/**
- *
+ *
* @export
- * @interface Pickup
+ * @interface Sendle
*/
-export interface Pickup {
+export interface Sendle {
/**
- * A unique pickup identifier
+ *
* @type {string}
- * @memberof Pickup
+ * @memberof Sendle
*/
- 'id'?: string;
+ 'sendle_id': string;
/**
- * Specifies the object type
+ *
* @type {string}
- * @memberof Pickup
+ * @memberof Sendle
*/
- 'object_type'?: string;
+ 'api_key': string;
/**
- * The pickup carrier
+ *
* @type {string}
- * @memberof Pickup
+ * @memberof Sendle
*/
- 'carrier_name': string;
+ 'account_country_code'?: string;
+}
+/**
+ *
+ * @export
+ * @interface Shipment
+ */
+export interface Shipment {
/**
- * The pickup carrier configured name
+ * A unique identifier
* @type {string}
- * @memberof Pickup
+ * @memberof Shipment
*/
- 'carrier_id': string;
+ 'id'?: string;
/**
- * The pickup confirmation identifier
+ * Specifies the object type
* @type {string}
- * @memberof Pickup
+ * @memberof Shipment
*/
- 'confirmation_number': string;
+ 'object_type'?: string;
/**
- * The pickup date
+ * The shipment tracking url
* @type {string}
- * @memberof Pickup
+ * @memberof Shipment
*/
- 'pickup_date'?: string | null;
+ 'tracking_url'?: string | null;
/**
- * The pickup cost details
- * @type {Charge}
- * @memberof Pickup
+ * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient**
+ * @type {Address}
+ * @memberof Shipment
*/
- 'pickup_charge'?: Charge | null;
+ 'shipper': Address;
/**
- * The pickup expected ready time
- * @type {string}
- * @memberof Pickup
+ * The address of the party.
Origin address (ship from) for the **shipper**
Destination address (ship to) for the **recipient**
+ * @type {Address}
+ * @memberof Shipment
*/
- 'ready_time'?: string | null;
+ 'recipient': Address;
/**
- * The pickup expected closing or late time
- * @type {string}
- * @memberof Pickup
+ * The return address for this shipment. Defaults to the shipper address.
+ * @type {AddressData}
+ * @memberof Shipment
*/
- 'closing_time'?: string | null;
+ 'return_address'?: AddressData | null;
/**
- * User metadata for the pickup
- * @type {{ [key: string]: any; }}
- * @memberof Pickup
+ * The payor address.
+ * @type {AddressData}
+ * @memberof Shipment
*/
- 'metadata'?: { [key: string]: any; };
+ 'billing_address'?: AddressData | null;
/**
- * provider specific metadata
- * @type {{ [key: string]: any; }}
- * @memberof Pickup
+ * The shipment\'s parcels
+ * @type {Array}
+ * @memberof Shipment
*/
- 'meta'?: { [key: string]: any; } | null;
+ 'parcels': Array;
/**
- * The pickup address
- * @type {Address}
- * @memberof Pickup
+ * 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
*/
- 'address': Address;
+ 'services'?: Array | null;
/**
- * The shipment parcels to pickup.
- * @type {Array}
- * @memberof Pickup
+ * 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
*/
- 'parcels': Array;
+ 'options'?: { [key: string]: any; };
/**
- * The pickup instruction.
eg: Handle with care.
- * @type {string}
- * @memberof Pickup
+ * The payment details
+ * @type {Payment}
+ * @memberof Shipment
*/
- 'instruction'?: string | null;
+ 'payment'?: Payment;
/**
- * The package(s) location.
eg: Behind the entrance door.
- * @type {string}
- * @memberof Pickup
+ *
+ * @type {ShipmentBillingAddress}
+ * @memberof Shipment
*/
- 'package_location'?: string | null;
+ 'billing_address'?: ShipmentBillingAddress | null;
/**
- * Advanced carrier specific pickup options
- * @type {{ [key: string]: any; }}
- * @memberof Pickup
+ *
+ * @type {ShipmentCustoms}
+ * @memberof Shipment
*/
- 'options'?: { [key: string]: any; } | null;
+ 'customs'?: ShipmentCustoms | null;
/**
- * Specified whether it was created with a carrier in test mode
- * @type {boolean}
- * @memberof Pickup
+ * The list for shipment rates fetched previously
+ * @type {Array}
+ * @memberof Shipment
*/
- 'test_mode': boolean;
-}
-/**
- *
- * @export
- * @interface PickupCancelData
- */
-export interface PickupCancelData {
+ 'rates'?: Array;
/**
- * The reason of the pickup cancellation
+ * The shipment reference
* @type {string}
- * @memberof PickupCancelData
+ * @memberof Shipment
*/
- 'reason'?: string;
-}
-/**
- *
- * @export
- * @interface PickupCancelRequest
- */
-export interface PickupCancelRequest {
+ 'reference'?: string | null;
/**
- * The pickup confirmation identifier
+ * The shipment label file type.
* @type {string}
- * @memberof PickupCancelRequest
+ * @memberof Shipment
*/
- 'confirmation_number': string;
+ 'label_type'?: ShipmentLabelTypeEnum | null;
/**
- * The pickup address
- * @type {AddressData}
- * @memberof PickupCancelRequest
+ * 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
*/
- 'address'?: AddressData;
+ 'carrier_ids'?: Array | null;
/**
- * The pickup date.
Date Format: `YYYY-MM-DD`
+ * The attached tracker id
* @type {string}
- * @memberof PickupCancelRequest
+ * @memberof Shipment
*/
- 'pickup_date'?: string | null;
+ 'tracker_id'?: string | null;
/**
- * The reason of the pickup cancellation
+ * The shipment creation datetime.
Date Format: `YYYY-MM-DD HH:MM:SS.mmmmmmz`
* @type {string}
- * @memberof PickupCancelRequest
+ * @memberof Shipment
*/
- 'reason'?: string;
-}
-/**
- *
- * @export
- * @interface PickupData
- */
-export interface PickupData {
+ 'created_at': string;
/**
- * The expected pickup date.
Date Format: `YYYY-MM-DD`
- * @type {string}
- * @memberof PickupData
+ * User metadata for the shipment
+ * @type {{ [key: string]: any; }}
+ * @memberof Shipment
*/
- 'pickup_date': string;
+ 'metadata'?: { [key: string]: any; };
/**
- * The pickup address
- * @type {AddressData}
- * @memberof PickupData
+ * The list of note or warning messages
+ * @type {Array}
+ * @memberof Shipment
*/
- 'address'?: AddressData;
+ 'messages'?: Array;
/**
- * The ready time for pickup.
Time Format: `HH:MM`
+ * The current Shipment status
* @type {string}
- * @memberof PickupData
+ * @memberof Shipment
*/
- 'ready_time': string;
+ 'status'?: ShipmentStatusEnum;
/**
- * The closing or late time of the pickup.
Time Format: `HH:MM`
+ * The shipment carrier
* @type {string}
- * @memberof PickupData
+ * @memberof Shipment
*/
- 'closing_time': string;
+ 'carrier_name'?: string | null;
/**
- * The pickup instruction.
eg: Handle with care.
+ * The shipment carrier configured identifier
* @type {string}
- * @memberof PickupData
+ * @memberof Shipment
*/
- 'instruction'?: string | null;
+ 'carrier_id'?: string | null;
/**
- * The package(s) location.
eg: Behind the entrance door.
+ * The shipment tracking number
* @type {string}
- * @memberof PickupData
+ * @memberof Shipment
*/
- 'package_location'?: string | null;
+ 'tracking_number'?: string | null;
/**
- * Advanced carrier specific pickup options
- * @type {{ [key: string]: any; }}
- * @memberof PickupData
+ * The shipment carrier system identifier
+ * @type {string}
+ * @memberof Shipment
*/
- 'options'?: { [key: string]: any; } | null;
+ 'shipment_identifier'?: string | null;
/**
- * The list of shipments to be picked up
- * @type {Array}
- * @memberof PickupData
+ *
+ * @type {ShipmentSelectedRate}
+ * @memberof Shipment
*/
- 'tracking_numbers': Array;
+ 'selected_rate'?: Rate | null;
/**
- * User metadata for the pickup
+ * provider specific metadata
* @type {{ [key: string]: any; }}
- * @memberof PickupData
+ * @memberof Shipment
*/
- 'metadata'?: { [key: string]: any; };
-}
-/**
- *
- * @export
- * @interface PickupList
- */
-export interface PickupList {
+ 'meta'?: { [key: string]: any; } | null;
/**
- *
- * @type {number}
- * @memberof PickupList
+ * The selected service
+ * @type {string}
+ * @memberof Shipment
*/
- 'count'?: number | null;
+ 'service'?: string | null;
/**
- *
+ * The shipment selected rate.
* @type {string}
- * @memberof PickupList
+ * @memberof Shipment
*/
- 'next'?: string | null;
+ 'selected_rate_id'?: string | null;
+ /**
+ * Specified whether it was created with a carrier in test mode
+ * @type {boolean}
+ * @memberof Shipment
+ */
+ 'test_mode': boolean;
/**
- *
+ * The shipment label URL
* @type {string}
- * @memberof PickupList
+ * @memberof Shipment
*/
- 'previous'?: string | null;
+ 'label_url'?: string | null;
/**
- *
- * @type {Array}
- * @memberof PickupList
+ * The shipment invoice URL
+ * @type {string}
+ * @memberof Shipment
*/
- 'results': Array;
+ 'invoice_url'?: string | null;
}
+
+export const ShipmentLabelTypeEnum = {
+ Pdf: 'PDF',
+ Zpl: 'ZPL',
+ Png: 'PNG',
+ Empty: '',
+ Null: 'null'
+} as const;
+
+export type ShipmentLabelTypeEnum = typeof ShipmentLabelTypeEnum[keyof typeof ShipmentLabelTypeEnum];
+export const ShipmentStatusEnum = {
+ Draft: 'draft',
+ Purchased: 'purchased',
+ Cancelled: 'cancelled',
+ Shipped: 'shipped',
+ InTransit: 'in_transit',
+ Delivered: 'delivered',
+ NeedsAttention: 'needs_attention',
+ OutForDelivery: 'out_for_delivery',
+ DeliveryFailed: 'delivery_failed'
+} as const;
+
+export type ShipmentStatusEnum = typeof ShipmentStatusEnum[keyof typeof ShipmentStatusEnum];
+
/**
- *
+ * The payor address.
* @export
- * @interface PickupRequest
+ * @interface ShipmentBillingAddress
*/
-export interface PickupRequest {
+export interface ShipmentBillingAddress {
/**
- * The expected pickup date.
Date Format: `YYYY-MM-DD`
+ * A unique identifier
* @type {string}
- * @memberof PickupRequest
- */
- 'pickup_date': string;
- /**
- * The pickup address
- * @type {AddressData}
- * @memberof PickupRequest
- */
- 'address': AddressData;
- /**
- * The shipment parcels to pickup.
- * @type {Array}
- * @memberof PickupRequest
+ * @memberof ShipmentBillingAddress
*/
- 'parcels': Array;
+ 'id'?: string;
/**
- * The ready time for pickup.
Time Format: `HH:MM`
+ * The address postal code **(required for shipment purchase)**
* @type {string}
- * @memberof PickupRequest
+ * @memberof ShipmentBillingAddress
*/
- 'ready_time': string;
+ 'postal_code'?: string | null;
/**
- * The closing or late time of the pickup.
Time Format: `HH:MM`
+ * The address city. **(required for shipment purchase)**
* @type {string}
- * @memberof PickupRequest
+ * @memberof ShipmentBillingAddress
*/
- 'closing_time': string;
+ 'city'?: string | null;
/**
- * The pickup instruction.
eg: Handle with care.
+ * The party frederal tax id
* @type {string}
- * @memberof PickupRequest
+ * @memberof ShipmentBillingAddress
*/
- 'instruction'?: string | null;
+ 'federal_tax_id'?: string | null;
/**
- * The package(s) location.
eg: Behind the entrance door.
+ * The party state id
* @type {string}
- * @memberof PickupRequest
+ * @memberof ShipmentBillingAddress
*/
- 'package_location'?: string | null;
+ 'state_tax_id'?: string | null;
/**
- * Advanced carrier specific pickup options
- * @type {{ [key: string]: any; }}
- * @memberof PickupRequest
+ * Attention to **(required for shipment purchase)**
+ * @type {string}
+ * @memberof ShipmentBillingAddress
*/
- 'options'?: { [key: string]: any; } | null;
-}
-/**
- *
- * @export
- * @interface PickupResponse
- */
-export interface PickupResponse {
+ 'person_name'?: string | null;
/**
- * The list of note or warning messages
- * @type {Array}
- * @memberof PickupResponse
+ * The company name if the party is a company
+ * @type {string}
+ * @memberof ShipmentBillingAddress
*/
- 'messages'?: Array;
+ 'company_name'?: string | null;
/**
- * The scheduled pickup\'s summary
- * @type {Pickup}
- * @memberof PickupResponse
+ * The address country code
+ * @type {string}
+ * @memberof ShipmentBillingAddress
*/
- 'pickup'?: Pickup;
-}
-/**
- *
- * @export
- * @interface PickupUpdateData
- */
-export interface PickupUpdateData {
+ 'country_code': ShipmentBillingAddressCountryCodeEnum;
/**
- * The expected pickup date.
Date Format: YYYY-MM-DD
+ * The party email
* @type {string}
- * @memberof PickupUpdateData
+ * @memberof ShipmentBillingAddress
*/
- 'pickup_date'?: string;
+ 'email'?: string | null;
/**
- * The pickup address
- * @type {AddressData}
- * @memberof PickupUpdateData
+ * The party phone number.
+ * @type {string}
+ * @memberof ShipmentBillingAddress
*/
- 'address'?: AddressData;
+ 'phone_number'?: string | null;
/**
- * The ready time for pickup.
+ * The address state code
* @type {string}
- * @memberof PickupUpdateData
+ * @memberof ShipmentBillingAddress
*/
- 'ready_time'?: string | null;
+ 'state_code'?: string | null;
/**
- * The closing or late time of the pickup
- * @type {string}
- * @memberof PickupUpdateData
+ * Indicate if the address is residential or commercial (enterprise)
+ * @type {boolean}
+ * @memberof ShipmentBillingAddress
*/
- 'closing_time'?: string | null;
+ 'residential'?: boolean | null;
/**
- * The pickup instruction.
eg: Handle with care.
+ * The address street number
* @type {string}
- * @memberof PickupUpdateData
+ * @memberof ShipmentBillingAddress
*/
- 'instruction'?: string | null;
+ 'street_number'?: string | null;
/**
- * The package(s) location.
eg: Behind the entrance door.
+ * The address line with street number
**(required for shipment purchase)**
* @type {string}
- * @memberof PickupUpdateData
+ * @memberof ShipmentBillingAddress
*/
- 'package_location'?: string | null;
+ 'address_line1'?: string | null;
/**
- * Advanced carrier specific pickup options
- * @type {{ [key: string]: any; }}
- * @memberof PickupUpdateData
+ * The address line with suite number
+ * @type {string}
+ * @memberof ShipmentBillingAddress
*/
- 'options'?: { [key: string]: any; } | null;
+ 'address_line2'?: string | null;
/**
- * The list of shipments to be picked up
- * @type {Array}
- * @memberof PickupUpdateData
+ * Indicate if the address should be validated
+ * @type {boolean}
+ * @memberof ShipmentBillingAddress
*/
- 'tracking_numbers'?: Array;
+ 'validate_location'?: boolean | null;
/**
- * User metadata for the pickup
- * @type {{ [key: string]: any; }}
- * @memberof PickupUpdateData
+ * Specifies the object type
+ * @type {string}
+ * @memberof ShipmentBillingAddress
*/
- 'metadata'?: { [key: string]: any; };
+ 'object_type'?: string;
/**
- * pickup identification number
- * @type {string}
- * @memberof PickupUpdateData
+ *
+ * @type {AddressValidation}
+ * @memberof ShipmentBillingAddress
*/
- 'confirmation_number': string;
+ 'validation'?: AddressValidation | null;
}
+
+export const ShipmentBillingAddressCountryCodeEnum = {
+ 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'
+} as const;
+
+export type ShipmentBillingAddressCountryCodeEnum = typeof ShipmentBillingAddressCountryCodeEnum[keyof typeof ShipmentBillingAddressCountryCodeEnum];
+
/**
- *
+ *
* @export
- * @interface PickupUpdateRequest
+ * @interface ShipmentCancelRequest
*/
-export interface PickupUpdateRequest {
- /**
- * The expected pickup date.
Date Format: `YYYY-MM-DD`
- * @type {string}
- * @memberof PickupUpdateRequest
- */
- 'pickup_date': string;
- /**
- * The pickup address
- * @type {Address}
- * @memberof PickupUpdateRequest
- */
- 'address': Address;
- /**
- * The shipment parcels to pickup.
- * @type {Array}
- * @memberof PickupUpdateRequest
- */
- 'parcels': Array;
- /**
- * pickup identification number
- * @type {string}
- * @memberof PickupUpdateRequest
- */
- 'confirmation_number': string;
- /**
- * The ready time for pickup. Time Format: `HH:MM`
- * @type {string}
- * @memberof PickupUpdateRequest
- */
- 'ready_time': string;
+export interface ShipmentCancelRequest {
/**
- * The closing or late time of the pickup.
Time Format: `HH:MM`
+ * The shipment identifier returned during creation.
* @type {string}
- * @memberof PickupUpdateRequest
+ * @memberof ShipmentCancelRequest
*/
- 'closing_time': string;
+ 'shipment_identifier': string;
/**
- * The pickup instruction.
eg: Handle with care.
+ * The selected shipment service
* @type {string}
- * @memberof PickupUpdateRequest
+ * @memberof ShipmentCancelRequest
*/
- 'instruction'?: string | null;
+ 'service'?: string | null;
/**
- * The package(s) location.
eg: Behind the entrance door.
+ * The shipment carrier_id for specific connection selection.
* @type {string}
- * @memberof PickupUpdateRequest
+ * @memberof ShipmentCancelRequest
*/
- 'package_location'?: string | null;
+ 'carrier_id'?: string;
/**
- * Advanced carrier specific pickup options
+ * Advanced carrier specific cancellation options.
* @type {{ [key: string]: any; }}
- * @memberof PickupUpdateRequest
+ * @memberof ShipmentCancelRequest
*/
- 'options'?: { [key: string]: any; } | null;
+ 'options'?: { [key: string]: any; };
}
/**
- *
+ * The customs details.
**Note that this is required for the shipment of an international Dutiable parcel.**
* @export
- * @interface Purolator
+ * @interface ShipmentCustoms
*/
-export interface Purolator {
- /**
- *
- * @type {string}
- * @memberof Purolator
- */
- 'username': string;
- /**
- *
- * @type {string}
- * @memberof Purolator
- */
- 'password': string;
+export interface ShipmentCustoms {
/**
- *
+ * A unique identifier
* @type {string}
- * @memberof Purolator
+ * @memberof ShipmentCustoms
*/
- 'account_number': string;
+ 'id'?: string;
/**
- *
- * @type {string}
- * @memberof Purolator
+ * The parcel content items
+ * @type {Array}
+ * @memberof ShipmentCustoms
*/
- 'user_token'?: string;
+ 'commodities'?: Array;
/**
- * Indicates a language string
- * @type {string}
- * @memberof Purolator
+ *
+ * @type {CustomsDuty}
+ * @memberof ShipmentCustoms
*/
- 'language'?: PurolatorLanguageEnum;
-}
-
-export const PurolatorLanguageEnum = {
- En: 'en',
- Fr: 'fr'
-} as const;
-
-export type PurolatorLanguageEnum = typeof PurolatorLanguageEnum[keyof typeof PurolatorLanguageEnum];
-
-/**
- *
- * @export
- * @interface Rate
- */
-export interface Rate {
+ 'duty'?: CustomsDuty | null;
/**
- * A unique identifier
- * @type {string}
- * @memberof Rate
+ *
+ * @type {CustomsDutyBillingAddress}
+ * @memberof ShipmentCustoms
*/
- 'id'?: string;
+ 'duty_billing_address'?: CustomsDutyBillingAddress | null;
/**
- * Specifies the object type
+ *
* @type {string}
- * @memberof Rate
+ * @memberof ShipmentCustoms
*/
- 'object_type'?: string;
+ 'content_type'?: ShipmentCustomsContentTypeEnum | null;
/**
- * The rate\'s carrier
+ *
* @type {string}
- * @memberof Rate
+ * @memberof ShipmentCustoms
*/
- 'carrier_name': string;
+ 'content_description'?: string | null;
/**
- * The targeted carrier\'s name (unique identifier)
+ * The customs \'term of trade\' also known as \'incoterm\'
* @type {string}
- * @memberof Rate
+ * @memberof ShipmentCustoms
*/
- 'carrier_id': string;
+ 'incoterm'?: ShipmentCustomsIncotermEnum | null;
/**
- * The rate monetary values currency code
+ * The invoice reference number
* @type {string}
- * @memberof Rate
+ * @memberof ShipmentCustoms
*/
- 'currency'?: string;
+ 'invoice'?: string | null;
/**
- * The carrier\'s rate (quote) service
+ * The invoice date.
Date Format: `YYYY-MM-DD`
* @type {string}
- * @memberof 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
- * @type {number}
- * @memberof Rate
+ * @memberof ShipmentCustoms
*/
- 'total_charge'?: number;
+ 'invoice_date'?: string | null;
/**
- * The estimated delivery transit days
- * @type {number}
- * @memberof Rate
+ * Indicates if the shipment is commercial
+ * @type {boolean}
+ * @memberof ShipmentCustoms
*/
- 'transit_days'?: number | null;
+ 'commercial_invoice'?: boolean | null;
/**
- * list of the rate\'s additional charges
- * @type {Array}
- * @memberof Rate
+ * Indicate that signer certified confirmed all
+ * @type {boolean}
+ * @memberof ShipmentCustoms
*/
- 'extra_charges'?: Array;
+ 'certify'?: boolean | null;
/**
- * The delivery estimated date
+ *
* @type {string}
- * @memberof Rate
+ * @memberof ShipmentCustoms
*/
- 'estimated_delivery'?: string | null;
+ 'signer'?: string | null;
/**
- * provider specific metadata
+ * 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 Rate
+ * @memberof ShipmentCustoms
*/
- 'meta'?: { [key: string]: any; } | null;
+ 'options'?: { [key: string]: any; };
/**
- * Specified whether it was created with a carrier in test mode
- * @type {boolean}
- * @memberof Rate
+ * Specifies the object type
+ * @type {string}
+ * @memberof ShipmentCustoms
*/
- 'test_mode': boolean;
+ 'object_type'?: string;
}
+
+export const ShipmentCustomsContentTypeEnum = {
+ Documents: 'documents',
+ Gift: 'gift',
+ Sample: 'sample',
+ Merchandise: 'merchandise',
+ ReturnMerchandise: 'return_merchandise',
+ Other: 'other',
+ Empty: '',
+ Null: 'null'
+} as const;
+
+export type ShipmentCustomsContentTypeEnum = typeof ShipmentCustomsContentTypeEnum[keyof typeof ShipmentCustomsContentTypeEnum];
+export const ShipmentCustomsIncotermEnum = {
+ Cfr: 'CFR',
+ Cif: 'CIF',
+ Cip: 'CIP',
+ Cpt: 'CPT',
+ Daf: 'DAF',
+ Ddp: 'DDP',
+ Ddu: 'DDU',
+ Deq: 'DEQ',
+ Des: 'DES',
+ Exw: 'EXW',
+ Fas: 'FAS',
+ Fca: 'FCA',
+ Fob: 'FOB',
+ Null: 'null'
+} as const;
+
+export type ShipmentCustomsIncotermEnum = typeof ShipmentCustomsIncotermEnum[keyof typeof ShipmentCustomsIncotermEnum];
+
/**
- *
+ *
* @export
- * @interface RateRequest
+ * @interface ShipmentData
*/
-export interface RateRequest {
+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 RateRequest
+ * @memberof ShipmentData
+ */
+ 'recipient': AddressData;
+ /**
+ * 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 return address for this shipment. Defaults to the shipper address.
* @type {AddressData}
- * @memberof RateRequest
+ * @memberof ShipmentData
*/
- 'recipient': AddressData;
+ 'return_address'?: AddressData | null;
+ /**
+ * The payor address.
+ * @type {AddressData}
+ * @memberof ShipmentData
+ */
+ 'billing_address'?: AddressData | null;
/**
* The shipment\'s parcels
* @type {Array}
- * @memberof RateRequest
+ * @memberof ShipmentData
*/
'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.
- * @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, \"saturday_delivery\": 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
+ * @memberof ShipmentData
*/
'options'?: { [key: string]: any; };
/**
- * The shipment reference
- * @type {string}
- * @memberof RateRequest
- */
- 'reference'?: string | null;
- /**
- * The list of configured carriers you wish to get rates from.
- * @type {Array}
- * @memberof RateRequest
- */
- 'carrier_ids'?: Array | null;
-}
-/**
- *
- * @export
- * @interface RateResponse
- */
-export interface RateResponse {
- /**
- * The list of note or warning messages
- * @type {Array}
- * @memberof RateResponse
+ * The payment details
+ * @type {Payment}
+ * @memberof ShipmentData
*/
- 'messages'?: Array;
+ 'payment'?: Payment;
/**
- * The list of returned rates
- * @type {Array}
- * @memberof RateResponse
+ *
+ * @type {ShipmentDataBillingAddress}
+ * @memberof ShipmentData
*/
- 'rates': Array;
-}
-/**
- *
- * @export
- * @interface Roadie
- */
-export interface Roadie {
+ 'billing_address'?: ShipmentDataBillingAddress | null;
/**
- *
- * @type {string}
- * @memberof Roadie
+ *
+ * @type {ShipmentDataCustoms}
+ * @memberof ShipmentData
*/
- 'api_key': string;
-}
-/**
- *
- * @export
- * @interface Royalmail
- */
-export interface Royalmail {
+ 'customs'?: ShipmentDataCustoms | null;
/**
- *
+ * The shipment reference
* @type {string}
- * @memberof Royalmail
+ * @memberof ShipmentData
*/
- 'client_id': string;
+ 'reference'?: string | null;
/**
- *
+ * The shipment label file type.
* @type {string}
- * @memberof Royalmail
+ * @memberof ShipmentData
*/
- 'client_secret': string;
-}
-/**
- *
- * @export
- * @interface Sapient
- */
-export interface Sapient {
+ 'label_type'?: ShipmentDataLabelTypeEnum;
/**
- *
+ * **Specify a service to Buy a label in one call without rating.**
* @type {string}
- * @memberof Sapient
+ * @memberof ShipmentData
*/
- 'client_id': string;
+ 'service'?: string;
/**
- *
- * @type {string}
- * @memberof Sapient
+ * 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
*/
- 'client_secret': string;
+ 'services'?: Array | null;
/**
- *
- * @type {string}
- * @memberof Sapient
+ * 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
*/
- 'shipping_account_id': string;
+ 'carrier_ids'?: Array | null;
/**
- * Indicates a carrier_code string
- * @type {string}
- * @memberof Sapient
+ * User metadata for the shipment
+ * @type {{ [key: string]: any; }}
+ * @memberof ShipmentData
*/
- 'carrier_code'?: SapientCarrierCodeEnum;
+ 'metadata'?: { [key: string]: any; };
}
-export const SapientCarrierCodeEnum = {
- Dx: 'DX',
- Evri: 'EVRI',
- Rm: 'RM',
- Ups: 'UPS',
- Yodel: 'YODEL'
+export const ShipmentDataLabelTypeEnum = {
+ Pdf: 'PDF',
+ Zpl: 'ZPL',
+ Png: 'PNG'
} as const;
-export type SapientCarrierCodeEnum = typeof SapientCarrierCodeEnum[keyof typeof SapientCarrierCodeEnum];
+export type ShipmentDataLabelTypeEnum = typeof ShipmentDataLabelTypeEnum[keyof typeof ShipmentDataLabelTypeEnum];
/**
- *
+ * The payor address.
* @export
- * @interface Sendle
+ * @interface ShipmentDataBillingAddress
*/
-export interface Sendle {
+export interface ShipmentDataBillingAddress {
/**
- *
+ * The address postal code **(required for shipment purchase)**
* @type {string}
- * @memberof Sendle
- */
- 'sendle_id': string;
- /**
- *
- * @type {string}
- * @memberof Sendle
- */
- 'api_key': string;
- /**
- *
- * @type {string}
- * @memberof Sendle
+ * @memberof ShipmentDataBillingAddress
*/
- 'account_country_code'?: string;
-}
-/**
- *
- * @export
- * @interface Shipment
- */
-export interface Shipment {
+ 'postal_code'?: string | null;
/**
- * A unique identifier
+ * The address city. **(required for shipment purchase)**
* @type {string}
- * @memberof Shipment
+ * @memberof ShipmentDataBillingAddress
*/
- 'id'?: string;
+ 'city'?: string | null;
/**
- * Specifies the object type
+ * The party frederal tax id
* @type {string}
- * @memberof Shipment
+ * @memberof ShipmentDataBillingAddress
*/
- 'object_type'?: string;
+ 'federal_tax_id'?: string | null;
/**
- * The shipment tracking url
+ * The party state id
* @type {string}
- * @memberof Shipment
- */
- 'tracking_url'?: string | null;
- /**
- * 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**
- * @type {Address}
- * @memberof Shipment
- */
- 'recipient': Address;
- /**
- * The return address for this shipment. Defaults to the shipper address.
- * @type {AddressData}
- * @memberof Shipment
- */
- 'return_address'?: AddressData | null;
- /**
- * The payor address.
- * @type {AddressData}
- * @memberof Shipment
- */
- 'billing_address'?: AddressData | null;
- /**
- * The shipment\'s parcels
- * @type {Array}
- * @memberof 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.**
- * @type {Array}
- * @memberof Shipment
+ * @memberof ShipmentDataBillingAddress
*/
- 'services'?: Array | null;
+ 'state_tax_id'?: string | 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, \"saturday_delivery\": 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
+ * Attention to **(required for shipment purchase)**
+ * @type {string}
+ * @memberof ShipmentDataBillingAddress
*/
- 'options'?: { [key: string]: any; };
+ 'person_name'?: string | null;
/**
- * The payment details
- * @type {Payment}
- * @memberof Shipment
+ * The company name if the party is a company
+ * @type {string}
+ * @memberof ShipmentDataBillingAddress
*/
- 'payment'?: Payment;
+ 'company_name'?: string | null;
/**
- * The customs details.
**Note that this is required for the shipment of an international Dutiable parcel.**
- * @type {Customs}
- * @memberof Shipment
+ * The address country code
+ * @type {string}
+ * @memberof ShipmentDataBillingAddress
*/
- 'customs'?: Customs | null;
+ 'country_code': ShipmentDataBillingAddressCountryCodeEnum;
/**
- * The list for shipment rates fetched previously
- * @type {Array}
- * @memberof Shipment
+ * The party email
+ * @type {string}
+ * @memberof ShipmentDataBillingAddress
*/
- 'rates'?: Array;
+ 'email'?: string | null;
/**
- * The shipment reference
+ * The party phone number.
* @type {string}
- * @memberof Shipment
+ * @memberof ShipmentDataBillingAddress
*/
- 'reference'?: string | null;
+ 'phone_number'?: string | null;
/**
- * The shipment label file type.
+ * The address state code
* @type {string}
- * @memberof Shipment
+ * @memberof ShipmentDataBillingAddress
*/
- 'label_type'?: ShipmentLabelTypeEnum | null;
+ 'state_code'?: string | 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**
- * @type {Array}
- * @memberof Shipment
+ * Indicate if the address is residential or commercial (enterprise)
+ * @type {boolean}
+ * @memberof ShipmentDataBillingAddress
*/
- 'carrier_ids'?: Array | null;
+ 'residential'?: boolean | null;
/**
- * The attached tracker id
+ * The address street number
* @type {string}
- * @memberof Shipment
+ * @memberof ShipmentDataBillingAddress
*/
- 'tracker_id'?: string | null;
+ 'street_number'?: string | null;
/**
- * The shipment creation datetime.
Date Format: `YYYY-MM-DD HH:MM:SS.mmmmmmz`
+ * The address line with street number
**(required for shipment purchase)**
* @type {string}
- * @memberof Shipment
+ * @memberof ShipmentDataBillingAddress
*/
- 'created_at': string;
+ 'address_line1'?: string | null;
+ /**
+ * The address line with suite number
+ * @type {string}
+ * @memberof ShipmentDataBillingAddress
+ */
+ 'address_line2'?: string | null;
+ /**
+ * Indicate if the address should be validated
+ * @type {boolean}
+ * @memberof ShipmentDataBillingAddress
+ */
+ 'validate_location'?: boolean | null;
+}
+
+export const ShipmentDataBillingAddressCountryCodeEnum = {
+ 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'
+} as const;
+
+export type ShipmentDataBillingAddressCountryCodeEnum = typeof ShipmentDataBillingAddressCountryCodeEnum[keyof typeof ShipmentDataBillingAddressCountryCodeEnum];
+
+/**
+ * The customs details.
**Note that this is required for the shipment of an international Dutiable parcel.**
+ * @export
+ * @interface ShipmentDataCustoms
+ */
+export interface ShipmentDataCustoms {
/**
- * User metadata for the shipment
- * @type {{ [key: string]: any; }}
- * @memberof Shipment
+ * The parcel content items
+ * @type {Array}
+ * @memberof ShipmentDataCustoms
*/
- 'metadata'?: { [key: string]: any; };
+ 'commodities': Array;
/**
- * The list of note or warning messages
- * @type {Array}
- * @memberof Shipment
+ *
+ * @type {CustomsDuty}
+ * @memberof ShipmentDataCustoms
*/
- 'messages'?: Array;
+ 'duty'?: CustomsDuty | null;
/**
- * The current Shipment status
- * @type {string}
- * @memberof Shipment
+ *
+ * @type {CustomsDataDutyBillingAddress}
+ * @memberof ShipmentDataCustoms
*/
- 'status'?: ShipmentStatusEnum;
+ 'duty_billing_address'?: CustomsDataDutyBillingAddress | null;
/**
- * The shipment carrier
+ *
* @type {string}
- * @memberof Shipment
+ * @memberof ShipmentDataCustoms
*/
- 'carrier_name'?: string | null;
+ 'content_type'?: ShipmentDataCustomsContentTypeEnum | null;
/**
- * The shipment carrier configured identifier
+ *
* @type {string}
- * @memberof Shipment
+ * @memberof ShipmentDataCustoms
*/
- 'carrier_id'?: string | null;
+ 'content_description'?: string | null;
/**
- * The shipment tracking number
+ * The customs \'term of trade\' also known as \'incoterm\'
* @type {string}
- * @memberof Shipment
+ * @memberof ShipmentDataCustoms
*/
- 'tracking_number'?: string | null;
+ 'incoterm'?: ShipmentDataCustomsIncotermEnum | null;
/**
- * The shipment carrier system identifier
+ * The invoice reference number
* @type {string}
- * @memberof Shipment
- */
- 'shipment_identifier'?: string | null;
- /**
- * The shipment selected rate
- * @type {Rate}
- * @memberof Shipment
- */
- 'selected_rate'?: Rate | null;
- /**
- * provider specific metadata
- * @type {{ [key: string]: any; }}
- * @memberof Shipment
+ * @memberof ShipmentDataCustoms
*/
- 'meta'?: { [key: string]: any; } | null;
+ 'invoice'?: string | null;
/**
- * The selected service
+ * The invoice date.
Date Format: `YYYY-MM-DD`
* @type {string}
- * @memberof Shipment
+ * @memberof ShipmentDataCustoms
*/
- 'service'?: string | null;
+ 'invoice_date'?: string | null;
/**
- * The shipment selected rate.
- * @type {string}
- * @memberof Shipment
+ * Indicates if the shipment is commercial
+ * @type {boolean}
+ * @memberof ShipmentDataCustoms
*/
- 'selected_rate_id'?: string | null;
+ 'commercial_invoice'?: boolean | null;
/**
- * Specified whether it was created with a carrier in test mode
+ * Indicate that signer certified confirmed all
* @type {boolean}
- * @memberof Shipment
+ * @memberof ShipmentDataCustoms
*/
- 'test_mode': boolean;
+ 'certify'?: boolean | null;
/**
- * The shipment label URL
+ *
* @type {string}
- * @memberof Shipment
+ * @memberof ShipmentDataCustoms
*/
- 'label_url'?: string | null;
+ 'signer'?: string | null;
/**
- * The shipment invoice URL
- * @type {string}
- * @memberof Shipment
+ * 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
*/
- 'invoice_url'?: string | null;
+ 'options'?: { [key: string]: any; };
}
-export const ShipmentLabelTypeEnum = {
- Pdf: 'PDF',
- Zpl: 'ZPL',
- Png: 'PNG',
+export const ShipmentDataCustomsContentTypeEnum = {
+ Documents: 'documents',
+ Gift: 'gift',
+ Sample: 'sample',
+ Merchandise: 'merchandise',
+ ReturnMerchandise: 'return_merchandise',
+ Other: 'other',
Empty: '',
Null: 'null'
} as const;
-export type ShipmentLabelTypeEnum = typeof ShipmentLabelTypeEnum[keyof typeof ShipmentLabelTypeEnum];
-export const ShipmentStatusEnum = {
- Draft: 'draft',
- Purchased: 'purchased',
- Cancelled: 'cancelled',
- Shipped: 'shipped',
- InTransit: 'in_transit',
- Delivered: 'delivered',
- NeedsAttention: 'needs_attention',
- OutForDelivery: 'out_for_delivery',
- DeliveryFailed: 'delivery_failed'
-} as const;
-
-export type ShipmentStatusEnum = typeof ShipmentStatusEnum[keyof typeof ShipmentStatusEnum];
-
-/**
- *
- * @export
- * @interface ShipmentCancelRequest
- */
-export interface ShipmentCancelRequest {
- /**
- * The shipment identifier returned during creation.
- * @type {string}
- * @memberof ShipmentCancelRequest
- */
- 'shipment_identifier': string;
- /**
- * The selected shipment service
- * @type {string}
- * @memberof ShipmentCancelRequest
- */
- 'service'?: string | null;
- /**
- * The shipment carrier_id for specific connection selection.
- * @type {string}
- * @memberof ShipmentCancelRequest
- */
- 'carrier_id'?: string;
- /**
- * Advanced carrier specific cancellation options.
- * @type {{ [key: string]: any; }}
- * @memberof ShipmentCancelRequest
- */
- 'options'?: { [key: string]: any; };
-}
-/**
- *
- * @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**
- * @type {AddressData}
- * @memberof ShipmentData
- */
- 'recipient': AddressData;
- /**
- * 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 return address for this shipment. Defaults to the shipper address.
- * @type {AddressData}
- * @memberof ShipmentData
- */
- 'return_address'?: AddressData | null;
- /**
- * The payor address.
- * @type {AddressData}
- * @memberof ShipmentData
- */
- 'billing_address'?: AddressData | null;
- /**
- * The shipment\'s parcels
- * @type {Array}
- * @memberof 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, \"saturday_delivery\": 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
- */
- 'options'?: { [key: string]: any; };
- /**
- * The payment details
- * @type {Payment}
- * @memberof ShipmentData
- */
- 'payment'?: Payment;
- /**
- * The customs details.
**Note that this is required for the shipment of an international Dutiable parcel.**
- * @type {CustomsData}
- * @memberof ShipmentData
- */
- 'customs'?: CustomsData | null;
- /**
- * The shipment reference
- * @type {string}
- * @memberof ShipmentData
- */
- 'reference'?: string | null;
- /**
- * The shipment label file type.
- * @type {string}
- * @memberof ShipmentData
- */
- 'label_type'?: ShipmentDataLabelTypeEnum;
- /**
- * **Specify a service to Buy a label in one call without rating.**
- * @type {string}
- * @memberof 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.**
- * @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**
- * @type {Array}
- * @memberof ShipmentData
- */
- 'carrier_ids'?: Array | null;
- /**
- * User metadata for the shipment
- * @type {{ [key: string]: any; }}
- * @memberof ShipmentData
- */
- 'metadata'?: { [key: string]: any; };
-}
-
-export const ShipmentDataLabelTypeEnum = {
- Pdf: 'PDF',
- Zpl: 'ZPL',
- Png: 'PNG'
+export type ShipmentDataCustomsContentTypeEnum = typeof ShipmentDataCustomsContentTypeEnum[keyof typeof ShipmentDataCustomsContentTypeEnum];
+export const ShipmentDataCustomsIncotermEnum = {
+ Cfr: 'CFR',
+ Cif: 'CIF',
+ Cip: 'CIP',
+ Cpt: 'CPT',
+ Daf: 'DAF',
+ Ddp: 'DDP',
+ Ddu: 'DDU',
+ Deq: 'DEQ',
+ Des: 'DES',
+ Exw: 'EXW',
+ Fas: 'FAS',
+ Fca: 'FCA',
+ Fob: 'FOB',
+ Null: 'null'
} as const;
-export type ShipmentDataLabelTypeEnum = typeof ShipmentDataLabelTypeEnum[keyof typeof ShipmentDataLabelTypeEnum];
+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
*/
'recipient': 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
*/
@@ -7514,7 +9803,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, \"saturday_delivery\": 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
*/
@@ -7526,11 +9815,17 @@ export interface ShipmentDataReference {
*/
'payment'?: Payment;
/**
- * The customs details.
**Note that this is required for the shipment of an international Dutiable parcel.**
- * @type {CustomsData}
+ *
+ * @type {ShipmentDataBillingAddress}
* @memberof ShipmentDataReference
*/
- 'customs'?: CustomsData | null;
+ 'billing_address'?: ShipmentDataBillingAddress | null;
+ /**
+ *
+ * @type {ShipmentDataCustoms}
+ * @memberof ShipmentDataReference
+ */
+ 'customs'?: ShipmentDataCustoms | null;
/**
* The shipment reference
* @type {string}
@@ -7550,13 +9845,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
*/
@@ -7584,7 +9879,7 @@ export const ShipmentDataReferenceLabelTypeEnum = {
export type ShipmentDataReferenceLabelTypeEnum = typeof ShipmentDataReferenceLabelTypeEnum[keyof typeof ShipmentDataReferenceLabelTypeEnum];
/**
- *
+ *
* @export
* @interface ShipmentPurchaseData
*/
@@ -7630,25 +9925,25 @@ 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
*/
'carrier_ids'?: 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, \"saturday_delivery\": 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, \"saturday_delivery\": 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 ShipmentRateData
*/
@@ -7667,7 +9962,86 @@ export interface ShipmentRateData {
'metadata'?: { [key: string]: any; };
}
/**
- *
+ * The shipment selected rate
+ * @export
+ * @interface ShipmentSelectedRate
+ */
+export interface ShipmentSelectedRate {
+ /**
+ * A unique identifier
+ * @type {string}
+ * @memberof ShipmentSelectedRate
+ */
+ 'id'?: string;
+ /**
+ * Specifies the object type
+ * @type {string}
+ * @memberof ShipmentSelectedRate
+ */
+ 'object_type'?: string;
+ /**
+ * The rate\'s carrier
+ * @type {string}
+ * @memberof ShipmentSelectedRate
+ */
+ 'carrier_name': string;
+ /**
+ * The targeted carrier\'s name (unique identifier)
+ * @type {string}
+ * @memberof ShipmentSelectedRate
+ */
+ 'carrier_id': string;
+ /**
+ * The rate monetary values currency code
+ * @type {string}
+ * @memberof ShipmentSelectedRate
+ */
+ 'currency'?: string;
+ /**
+ * The carrier\'s rate (quote) service
+ * @type {string}
+ * @memberof 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
+ * @type {number}
+ * @memberof ShipmentSelectedRate
+ */
+ 'total_charge'?: number;
+ /**
+ * The estimated delivery transit days
+ * @type {number}
+ * @memberof ShipmentSelectedRate
+ */
+ 'transit_days'?: number | null;
+ /**
+ * list of the rate\'s additional charges
+ * @type {Array}
+ * @memberof ShipmentSelectedRate
+ */
+ 'extra_charges'?: Array;
+ /**
+ * The delivery estimated date
+ * @type {string}
+ * @memberof ShipmentSelectedRate
+ */
+ 'estimated_delivery'?: string | null;
+ /**
+ * provider specific metadata
+ * @type {{ [key: string]: any; }}
+ * @memberof ShipmentSelectedRate
+ */
+ 'meta'?: { [key: string]: any; } | null;
+ /**
+ * Specified whether it was created with a carrier in test mode
+ * @type {boolean}
+ * @memberof ShipmentSelectedRate
+ */
+ 'test_mode': boolean;
+}
+/**
+ *
* @export
* @interface ShipmentUpdateData
*/
@@ -7685,7 +10059,7 @@ export interface ShipmentUpdateData {
*/
'payment'?: Payment;
/**
- * 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, \"saturday_delivery\": 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, \"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
*/
@@ -7713,19 +10087,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
*/
'recipient': 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
*/
@@ -7749,7 +10123,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, \"saturday_delivery\": 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
*/
@@ -7761,11 +10135,17 @@ export interface ShippingRequest {
*/
'payment'?: Payment;
/**
- * The customs details.
**Note that this is required for the shipment of an international Dutiable parcel.**
- * @type {CustomsData}
+ *
+ * @type {ShipmentDataBillingAddress}
+ * @memberof ShippingRequest
+ */
+ 'billing_address'?: ShipmentDataBillingAddress | null;
+ /**
+ *
+ * @type {ShipmentDataCustoms}
* @memberof ShippingRequest
*/
- 'customs'?: CustomsData | null;
+ 'customs'?: ShipmentDataCustoms | null;
/**
* The shipment reference
* @type {string}
@@ -7801,7 +10181,7 @@ export const ShippingRequestLabelTypeEnum = {
export type ShippingRequestLabelTypeEnum = typeof ShippingRequestLabelTypeEnum[keyof typeof ShippingRequestLabelTypeEnum];
/**
- *
+ *
* @export
* @interface ShippingResponse
*/
@@ -7825,13 +10205,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
*/
@@ -7855,13 +10235,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, \"saturday_delivery\": 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
*/
@@ -7873,11 +10253,17 @@ export interface ShippingResponse {
*/
'payment'?: Payment;
/**
- * The customs details.
**Note that this is required for the shipment of an international Dutiable parcel.**
- * @type {Customs}
+ *
+ * @type {ShipmentBillingAddress}
+ * @memberof ShippingResponse
+ */
+ 'billing_address'?: ShipmentBillingAddress | null;
+ /**
+ *
+ * @type {ShipmentCustoms}
* @memberof ShippingResponse
*/
- 'customs'?: Customs | null;
+ 'customs'?: ShipmentCustoms | null;
/**
* The list for shipment rates fetched previously
* @type {Array}
@@ -7897,7 +10283,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
*/
@@ -7909,7 +10295,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
*/
@@ -7957,14 +10343,14 @@ export interface ShippingResponse {
*/
'shipment_identifier'?: string | null;
/**
- * The shipment selected rate
- * @type {Rate}
+ *
+ * @type {ShipmentSelectedRate}
* @memberof ShippingResponse
*/
'selected_rate'?: Rate | null;
/**
- * The shipment documents
- * @type {Documents}
+ *
+ * @type {ShippingResponseDocs}
* @memberof ShippingResponse
*/
'docs'?: Documents | null;
@@ -8018,175 +10404,175 @@ export const ShippingResponseStatusEnum = {
export type ShippingResponseStatusEnum = typeof ShippingResponseStatusEnum[keyof typeof ShippingResponseStatusEnum];
/**
- *
+ *
* @export
* @interface Tge
*/
export interface Tge {
/**
- *
+ *
* @type {string}
* @memberof Tge
*/
'username': string;
/**
- *
+ *
* @type {string}
* @memberof Tge
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof Tge
*/
'api_key': string;
/**
- *
+ *
* @type {string}
* @memberof Tge
*/
'toll_username': string;
/**
- *
+ *
* @type {string}
* @memberof Tge
*/
'toll_password': string;
/**
- *
+ *
* @type {string}
* @memberof Tge
*/
'my_toll_token': string;
/**
- *
+ *
* @type {string}
* @memberof Tge
*/
'my_toll_identity': string;
/**
- *
+ *
* @type {string}
* @memberof Tge
*/
'account_code'?: string;
/**
- *
+ *
* @type {number}
* @memberof Tge
*/
'sscc_count'?: number;
/**
- *
+ *
* @type {number}
* @memberof Tge
*/
'shipment_count'?: number;
}
/**
- *
+ *
* @export
* @interface Tnt
*/
export interface Tnt {
/**
- *
+ *
* @type {string}
* @memberof Tnt
*/
'username': string;
/**
- *
+ *
* @type {string}
* @memberof Tnt
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof Tnt
*/
'account_number'?: string;
/**
- *
+ *
* @type {string}
* @memberof Tnt
*/
'account_country_code'?: string;
}
/**
- *
+ *
* @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
*/
@@ -8216,8 +10602,8 @@ export interface TrackerDetails {
*/
'tracking_number': string;
/**
- * The package and shipment tracking details
- * @type {TrackingInfo}
+ *
+ * @type {TrackerDetailsInfo}
* @memberof TrackerDetails
*/
'info'?: TrackingInfo | null;
@@ -8258,8 +10644,8 @@ export interface TrackerDetails {
*/
'meta'?: { [key: string]: any; } | null;
/**
- * The tracker documents
- * @type {Images}
+ *
+ * @type {TrackerDetailsImages}
* @memberof TrackerDetails
*/
'images'?: Images | null;
@@ -8298,45 +10684,45 @@ export const TrackerDetailsStatusEnum = {
export type TrackerDetailsStatusEnum = typeof TrackerDetailsStatusEnum[keyof typeof TrackerDetailsStatusEnum];
/**
- *
+ *
* @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 {
/**
- * The package and shipment tracking details
- * @type {TrackingInfo}
+ *
+ * @type {TrackerUpdateDataInfo}
* @memberof TrackerUpdateData
*/
'info'?: TrackingInfo | null;
@@ -8348,7 +10734,7 @@ export interface TrackerUpdateData {
'metadata'?: { [key: string]: any; };
}
/**
- *
+ *
* @export
* @interface TrackingData
*/
@@ -8378,8 +10764,8 @@ export interface TrackingData {
*/
'reference'?: string | null;
/**
- * The package and shipment tracking details
- * @type {TrackingInfo}
+ *
+ * @type {TrackerUpdateDataInfo}
* @memberof TrackingData
*/
'info'?: TrackingInfo | null;
@@ -8436,7 +10822,7 @@ export const TrackingDataCarrierNameEnum = {
export type TrackingDataCarrierNameEnum = typeof TrackingDataCarrierNameEnum[keyof typeof TrackingDataCarrierNameEnum];
/**
- *
+ *
* @export
* @interface TrackingEvent
*/
@@ -8485,7 +10871,7 @@ export interface TrackingEvent {
'longitude'?: number | null;
}
/**
- *
+ *
* @export
* @interface TrackingInfo
*/
@@ -8606,7 +10992,7 @@ export interface TrackingInfo {
'source'?: string | null;
}
/**
- *
+ *
* @export
* @interface TrackingResponse
*/
@@ -8625,7 +11011,7 @@ export interface TrackingResponse {
'tracking'?: TrackerDetails;
}
/**
- *
+ *
* @export
* @interface TrackingStatus
*/
@@ -8655,8 +11041,8 @@ export interface TrackingStatus {
*/
'tracking_number': string;
/**
- * The package and shipment tracking details
- * @type {TrackingInfo}
+ *
+ * @type {TrackerDetailsInfo}
* @memberof TrackingStatus
*/
'info'?: TrackingInfo | null;
@@ -8743,199 +11129,199 @@ export const TrackingStatusStatusEnum = {
export type TrackingStatusStatusEnum = typeof TrackingStatusStatusEnum[keyof typeof TrackingStatusStatusEnum];
/**
- *
+ *
* @export
* @interface Ups
*/
export interface Ups {
/**
- *
+ *
* @type {string}
* @memberof Ups
*/
'client_id': string;
/**
- *
+ *
* @type {string}
* @memberof Ups
*/
'client_secret': string;
/**
- *
+ *
* @type {string}
* @memberof Ups
*/
'account_number'?: string;
/**
- *
+ *
* @type {string}
* @memberof Ups
*/
'account_country_code'?: string;
}
/**
- *
+ *
* @export
* @interface Usps
*/
export interface Usps {
/**
- *
+ *
* @type {string}
* @memberof Usps
*/
'client_id': string;
/**
- *
+ *
* @type {string}
* @memberof Usps
*/
'client_secret': string;
/**
- *
+ *
* @type {string}
* @memberof Usps
*/
'account_type'?: string;
/**
- *
+ *
* @type {string}
* @memberof Usps
*/
'account_number'?: string;
}
/**
- *
+ *
* @export
* @interface UspsInternational
*/
export interface UspsInternational {
/**
- *
+ *
* @type {string}
* @memberof UspsInternational
*/
'client_id': string;
/**
- *
+ *
* @type {string}
* @memberof UspsInternational
*/
'client_secret': string;
/**
- *
+ *
* @type {string}
* @memberof UspsInternational
*/
'account_type'?: string;
/**
- *
+ *
* @type {string}
* @memberof UspsInternational
*/
'account_number'?: string;
}
/**
- *
+ *
* @export
* @interface UspsWt
*/
export interface UspsWt {
/**
- *
+ *
* @type {string}
* @memberof UspsWt
*/
'username': string;
/**
- *
+ *
* @type {string}
* @memberof UspsWt
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof UspsWt
*/
'mailer_id'?: string;
/**
- *
+ *
* @type {string}
* @memberof UspsWt
*/
'customer_registration_id'?: string;
/**
- *
+ *
* @type {string}
* @memberof UspsWt
*/
'logistics_manager_mailer_id'?: string;
}
/**
- *
+ *
* @export
* @interface UspsWtInternational
*/
export interface UspsWtInternational {
/**
- *
+ *
* @type {string}
* @memberof UspsWtInternational
*/
'username': string;
/**
- *
+ *
* @type {string}
* @memberof UspsWtInternational
*/
'password': string;
/**
- *
+ *
* @type {string}
* @memberof UspsWtInternational
*/
'mailer_id'?: string;
/**
- *
+ *
* @type {string}
* @memberof UspsWtInternational
*/
'customer_registration_id'?: string;
/**
- *
+ *
* @type {string}
* @memberof UspsWtInternational
*/
'logistics_manager_mailer_id'?: string;
}
/**
- *
+ *
* @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
*/
@@ -9020,7 +11406,7 @@ export const WebhookEnabledEventsEnum = {
export type WebhookEnabledEventsEnum = typeof WebhookEnabledEventsEnum[keyof typeof WebhookEnabledEventsEnum];
/**
- *
+ *
* @export
* @interface WebhookData
*/
@@ -9075,57 +11461,57 @@ 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
*/
'payload': { [key: string]: any; };
}
/**
- *
+ *
* @export
* @interface Zoom2u
*/
export interface Zoom2u {
/**
- *
+ *
* @type {string}
* @memberof Zoom2u
*/
@@ -9139,7 +11525,7 @@ export interface Zoom2u {
export const APIApiAxiosParamCreator = function (configuration?: Configuration) {
return {
/**
- *
+ *
* @summary Data References
* @param {*} [options] Override http request option.
* @throws {RequiredError}
@@ -9158,7 +11544,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};
@@ -9169,7 +11555,7 @@ export const APIApiAxiosParamCreator = function (configuration?: Configuration)
};
},
/**
- *
+ *
* @summary Instance Metadata
* @param {*} [options] Override http request option.
* @throws {RequiredError}
@@ -9188,7 +11574,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};
@@ -9209,7 +11595,7 @@ export const APIApiFp = function(configuration?: Configuration) {
const localVarAxiosParamCreator = APIApiAxiosParamCreator(configuration)
return {
/**
- *
+ *
* @summary Data References
* @param {*} [options] Override http request option.
* @throws {RequiredError}
@@ -9221,7 +11607,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}
@@ -9243,7 +11629,7 @@ export const APIApiFactory = function (configuration?: Configuration, basePath?:
const localVarFp = APIApiFp(configuration)
return {
/**
- *
+ *
* @summary Data References
* @param {*} [options] Override http request option.
* @throws {RequiredError}
@@ -9252,7 +11638,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}
@@ -9271,7 +11657,7 @@ export const APIApiFactory = function (configuration?: Configuration, basePath?:
*/
export class APIApi extends BaseAPI {
/**
- *
+ *
* @summary Data References
* @param {*} [options] Override http request option.
* @throws {RequiredError}
@@ -9282,7 +11668,7 @@ export class APIApi extends BaseAPI {
}
/**
- *
+ *
* @summary Instance Metadata
* @param {*} [options] Override http request option.
* @throws {RequiredError}
@@ -9304,7 +11690,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}
*/
@@ -9338,7 +11724,7 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -9354,7 +11740,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}
*/
@@ -9389,7 +11775,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};
@@ -9433,7 +11819,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};
@@ -9446,7 +11832,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}
*/
@@ -9481,7 +11867,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};
@@ -9494,8 +11880,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}
*/
@@ -9530,7 +11916,7 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -9556,7 +11942,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}
*/
@@ -9569,7 +11955,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}
*/
@@ -9594,7 +11980,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}
*/
@@ -9607,8 +11993,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}
*/
@@ -9687,7 +12073,7 @@ export const AddressesApiFactory = function (configuration?: Configuration, base
*/
export interface AddressesApiCreateRequest {
/**
- *
+ *
* @type {AddressData}
* @memberof AddressesApiCreate
*/
@@ -9701,7 +12087,7 @@ export interface AddressesApiCreateRequest {
*/
export interface AddressesApiDiscardRequest {
/**
- *
+ *
* @type {string}
* @memberof AddressesApiDiscard
*/
@@ -9715,7 +12101,7 @@ export interface AddressesApiDiscardRequest {
*/
export interface AddressesApiRetrieveRequest {
/**
- *
+ *
* @type {string}
* @memberof AddressesApiRetrieve
*/
@@ -9729,14 +12115,14 @@ export interface AddressesApiRetrieveRequest {
*/
export interface AddressesApiUpdateRequest {
/**
- *
+ *
* @type {string}
* @memberof AddressesApiUpdate
*/
readonly id: string
/**
- *
+ *
* @type {PatchedAddressData}
* @memberof AddressesApiUpdate
*/
@@ -9821,7 +12207,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}
*/
@@ -9841,7 +12227,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
const localVarQueryParameter = {} as any;
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -9857,7 +12243,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}
*/
@@ -9877,7 +12263,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
const localVarQueryParameter = {} as any;
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -9893,7 +12279,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}
*/
@@ -9913,7 +12299,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
const localVarQueryParameter = {} as any;
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -9929,7 +12315,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}
*/
@@ -9949,7 +12335,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
const localVarQueryParameter = {} as any;
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -9975,7 +12361,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}
*/
@@ -9988,7 +12374,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}
*/
@@ -10001,7 +12387,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}
*/
@@ -10014,7 +12400,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}
*/
@@ -10084,7 +12470,7 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
*/
export interface AuthApiAuthenticateRequest {
/**
- *
+ *
* @type {TokenObtainPair}
* @memberof AuthApiAuthenticate
*/
@@ -10098,7 +12484,7 @@ export interface AuthApiAuthenticateRequest {
*/
export interface AuthApiGetVerifiedTokenRequest {
/**
- *
+ *
* @type {VerifiedTokenObtainPair}
* @memberof AuthApiGetVerifiedToken
*/
@@ -10112,7 +12498,7 @@ export interface AuthApiGetVerifiedTokenRequest {
*/
export interface AuthApiRefreshTokenRequest {
/**
- *
+ *
* @type {TokenRefresh}
* @memberof AuthApiRefreshToken
*/
@@ -10126,7 +12512,7 @@ export interface AuthApiRefreshTokenRequest {
*/
export interface AuthApiVerifyTokenRequest {
/**
- *
+ *
* @type {TokenVerify}
* @memberof AuthApiVerifyToken
*/
@@ -10200,7 +12586,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}
*/
@@ -10234,7 +12620,7 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -10250,7 +12636,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}
*/
@@ -10284,7 +12670,7 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -10300,7 +12686,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}
*/
@@ -10334,7 +12720,7 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -10350,12 +12736,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}
*/
@@ -10400,21 +12786,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};
@@ -10459,7 +12845,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};
@@ -10472,7 +12858,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}
*/
@@ -10507,7 +12893,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};
@@ -10530,7 +12916,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}
*/
@@ -10543,7 +12929,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}
*/
@@ -10556,7 +12942,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}
*/
@@ -10569,12 +12955,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}
*/
@@ -10599,7 +12985,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}
*/
@@ -10688,7 +13074,7 @@ export const BatchesApiFactory = function (configuration?: Configuration, basePa
*/
export interface BatchesApiCreateOrdersRequest {
/**
- *
+ *
* @type {BatchOrderData}
* @memberof BatchesApiCreateOrders
*/
@@ -10702,7 +13088,7 @@ export interface BatchesApiCreateOrdersRequest {
*/
export interface BatchesApiCreateShipmentsRequest {
/**
- *
+ *
* @type {BatchShipmentData}
* @memberof BatchesApiCreateShipments
*/
@@ -10716,7 +13102,7 @@ export interface BatchesApiCreateShipmentsRequest {
*/
export interface BatchesApiCreateTrackersRequest {
/**
- *
+ *
* @type {BatchTrackerData}
* @memberof BatchesApiCreateTrackers
*/
@@ -10730,14 +13116,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
*/
@@ -10751,21 +13137,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
*/
@@ -10779,7 +13165,7 @@ export interface BatchesApiImportFileRequest {
*/
export interface BatchesApiRetrieveRequest {
/**
- *
+ *
* @type {string}
* @memberof BatchesApiRetrieve
*/
@@ -10907,7 +13293,7 @@ export const CarriersApiAxiosParamCreator = function (configuration?: Configurat
const localVarQueryParameter = {} as any;
-
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -10937,7 +13323,7 @@ export const CarriersApiAxiosParamCreator = function (configuration?: Configurat
const localVarQueryParameter = {} as any;
-
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -11070,7 +13456,7 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu
/**
* Add a new carrier connection.
* @summary Add a carrier connection
- * @param {CarrierConnectionData} carrierConnectionData
+ * @param {CarrierConnectionData} carrierConnectionData
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -11104,8 +13490,6 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
- localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -11118,13 +13502,13 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu
};
},
/**
- * Retrieve all carrier connections
- * @summary List carrier connections
- * @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`, `fedex`, `fedex_ws`, `freightcom`, `generic`, `geodis`, `hay_post`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`, `royalmail`, `sapient`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `usps_wt`, `usps_wt_international`, `zoom2u`
- * @param {string} [metadataKey]
- * @param {string} [metadataValue]
- * @param {boolean} [systemOnly]
+ * Returns the list of configured carriers
+ * @summary List all carriers
+ * @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 {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -11176,55 +13560,7 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu
}
-
- setSearchParams(localVarUrlObj, localVarQueryParameter);
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
-
- return {
- url: toPathString(localVarUrlObj),
- options: localVarRequestOptions,
- };
- },
- /**
- * Remove a carrier connection.
- * @summary Remove a carrier connection
- * @param {string} id
- * @param {*} [options] Override http request option.
- * @throws {RequiredError}
- */
- remove: async (id: string, options: AxiosRequestConfig = {}): Promise => {
- // verify required parameter 'id' is not null or undefined
- assertParamExists('remove', 'id', id)
- const localVarPath = `/v1/connections/{id}`
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
- let baseOptions;
- if (configuration) {
- baseOptions = configuration.baseOptions;
- }
-
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
- const localVarHeaderParameter = {} as any;
- const localVarQueryParameter = {} as any;
-
- // authentication OAuth2 required
- // oauth required
- await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
-
- // authentication JWT required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
- // authentication TokenBasic required
- // http basic authentication required
- setBasicAuthToObject(localVarRequestOptions, configuration)
-
- // authentication Token required
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -11235,9 +13571,9 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu
};
},
/**
- * Retrieve carrier connection.
- * @summary Retrieve a connection
- * @param {string} id
+ * Retrieve a carrier account.
+ * @summary Retrieve a carrier account
+ * @param {string} id
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -11272,7 +13608,7 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -11285,8 +13621,8 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu
/**
* Update a carrier connection.
* @summary Update a connection
- * @param {string} id
- * @param {PatchedCarrierConnectionData} [patchedCarrierConnectionData]
+ * @param {string} id
+ * @param {PatchedCarrierConnectionData} [patchedCarrierConnectionData]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -11321,7 +13657,7 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -11347,7 +13683,7 @@ export const ConnectionsApiFp = function(configuration?: Configuration) {
/**
* Add a new carrier connection.
* @summary Add a carrier connection
- * @param {CarrierConnectionData} carrierConnectionData
+ * @param {CarrierConnectionData} carrierConnectionData
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -11358,13 +13694,13 @@ export const ConnectionsApiFp = function(configuration?: Configuration) {
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
- * Retrieve all carrier connections
- * @summary List carrier connections
- * @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`, `fedex`, `fedex_ws`, `freightcom`, `generic`, `geodis`, `hay_post`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`, `royalmail`, `sapient`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `usps_wt`, `usps_wt_international`, `zoom2u`
- * @param {string} [metadataKey]
- * @param {string} [metadataValue]
- * @param {boolean} [systemOnly]
+ * Returns the list of configured carriers
+ * @summary List all carriers
+ * @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 {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -11375,9 +13711,9 @@ export const ConnectionsApiFp = function(configuration?: Configuration) {
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
- * Remove a carrier connection.
- * @summary Remove a carrier connection
- * @param {string} id
+ * Retrieve a carrier account.
+ * @summary Retrieve a carrier account
+ * @param {string} id
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -11390,7 +13726,7 @@ export const ConnectionsApiFp = function(configuration?: Configuration) {
/**
* Retrieve carrier connection.
* @summary Retrieve a connection
- * @param {string} id
+ * @param {string} id
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -11403,8 +13739,8 @@ export const ConnectionsApiFp = function(configuration?: Configuration) {
/**
* Update a carrier connection.
* @summary Update a connection
- * @param {string} id
- * @param {PatchedCarrierConnectionData} [patchedCarrierConnectionData]
+ * @param {string} id
+ * @param {PatchedCarrierConnectionData} [patchedCarrierConnectionData]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -11484,7 +13820,7 @@ export const ConnectionsApiFactory = function (configuration?: Configuration, ba
*/
export interface ConnectionsApiAddRequest {
/**
- *
+ *
* @type {CarrierConnectionData}
* @memberof ConnectionsApiAdd
*/
@@ -11498,7 +13834,7 @@ export interface ConnectionsApiAddRequest {
*/
export interface ConnectionsApiListRequest {
/**
- *
+ *
* @type {boolean}
* @memberof ConnectionsApiList
*/
@@ -11512,21 +13848,21 @@ export interface ConnectionsApiListRequest {
readonly carrierName?: string
/**
- *
+ *
* @type {string}
* @memberof ConnectionsApiList
*/
readonly metadataKey?: string
/**
- *
+ *
* @type {string}
* @memberof ConnectionsApiList
*/
readonly metadataValue?: string
/**
- *
+ *
* @type {boolean}
* @memberof ConnectionsApiList
*/
@@ -11540,7 +13876,7 @@ export interface ConnectionsApiListRequest {
*/
export interface ConnectionsApiRemoveRequest {
/**
- *
+ *
* @type {string}
* @memberof ConnectionsApiRemove
*/
@@ -11554,7 +13890,7 @@ export interface ConnectionsApiRemoveRequest {
*/
export interface ConnectionsApiRetrieveRequest {
/**
- *
+ *
* @type {string}
* @memberof ConnectionsApiRetrieve
*/
@@ -11568,14 +13904,14 @@ export interface ConnectionsApiRetrieveRequest {
*/
export interface ConnectionsApiUpdateRequest {
/**
- *
+ *
* @type {string}
* @memberof ConnectionsApiUpdate
*/
readonly id: string
/**
- *
+ *
* @type {PatchedCarrierConnectionData}
* @memberof ConnectionsApiUpdate
*/
@@ -11661,7 +13997,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}
*/
@@ -11695,7 +14031,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -11711,7 +14047,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}
*/
@@ -11746,7 +14082,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};
@@ -11759,7 +14095,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}
*/
@@ -11791,7 +14127,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -11838,7 +14174,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};
@@ -11851,7 +14187,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}
*/
@@ -11886,7 +14222,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};
@@ -11899,7 +14235,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}
*/
@@ -11934,7 +14270,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};
@@ -11947,8 +14283,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}
*/
@@ -11983,7 +14319,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -11999,7 +14335,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}
*/
@@ -12033,7 +14369,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -12049,9 +14385,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}
*/
@@ -12099,7 +14435,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
}
-
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -12122,7 +14458,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}
*/
@@ -12135,7 +14471,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}
*/
@@ -12148,7 +14484,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}
*/
@@ -12173,7 +14509,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}
*/
@@ -12186,7 +14522,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}
*/
@@ -12199,8 +14535,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}
*/
@@ -12213,7 +14549,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}
*/
@@ -12226,9 +14562,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}
*/
@@ -12347,7 +14683,7 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
*/
export interface DocumentsApiCreateRequest {
/**
- *
+ *
* @type {DocumentTemplateData}
* @memberof DocumentsApiCreate
*/
@@ -12361,7 +14697,7 @@ export interface DocumentsApiCreateRequest {
*/
export interface DocumentsApiDiscardRequest {
/**
- *
+ *
* @type {string}
* @memberof DocumentsApiDiscard
*/
@@ -12375,7 +14711,7 @@ export interface DocumentsApiDiscardRequest {
*/
export interface DocumentsApiGenerateDocumentRequest {
/**
- *
+ *
* @type {DocumentData}
* @memberof DocumentsApiGenerateDocument
*/
@@ -12389,7 +14725,7 @@ export interface DocumentsApiGenerateDocumentRequest {
*/
export interface DocumentsApiRetrieveRequest {
/**
- *
+ *
* @type {string}
* @memberof DocumentsApiRetrieve
*/
@@ -12403,7 +14739,7 @@ export interface DocumentsApiRetrieveRequest {
*/
export interface DocumentsApiRetrieveUploadRequest {
/**
- *
+ *
* @type {string}
* @memberof DocumentsApiRetrieveUpload
*/
@@ -12417,14 +14753,14 @@ export interface DocumentsApiRetrieveUploadRequest {
*/
export interface DocumentsApiUpdateRequest {
/**
- *
+ *
* @type {string}
* @memberof DocumentsApiUpdate
*/
readonly id: string
/**
- *
+ *
* @type {PatchedDocumentTemplateData}
* @memberof DocumentsApiUpdate
*/
@@ -12438,7 +14774,7 @@ export interface DocumentsApiUpdateRequest {
*/
export interface DocumentsApiUploadRequest {
/**
- *
+ *
* @type {DocumentUploadData}
* @memberof DocumentsApiUpload
*/
@@ -12452,21 +14788,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
*/
@@ -12599,7 +14935,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}
*/
@@ -12633,7 +14969,7 @@ export const ManifestsApiAxiosParamCreator = function (configuration?: Configura
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -12649,9 +14985,9 @@ 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`, `fedex`, `fedex_ws`, `freightcom`, `generic`, `geodis`, `hay_post`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`, `royalmail`, `sapient`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `usps_wt`, `usps_wt_international`, `zoom2u`
- * @param {string} [createdAfter]
- * @param {string} [createdBefore]
+ * @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 {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -12699,7 +15035,7 @@ export const ManifestsApiAxiosParamCreator = function (configuration?: Configura
}
-
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -12712,7 +15048,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}
*/
@@ -12747,7 +15083,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};
@@ -12770,7 +15106,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}
*/
@@ -12783,9 +15119,9 @@ 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`, `fedex`, `fedex_ws`, `freightcom`, `generic`, `geodis`, `hay_post`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`, `royalmail`, `sapient`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `usps_wt`, `usps_wt_international`, `zoom2u`
- * @param {string} [createdAfter]
- * @param {string} [createdBefore]
+ * @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 {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -12798,7 +15134,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}
*/
@@ -12858,7 +15194,7 @@ export const ManifestsApiFactory = function (configuration?: Configuration, base
*/
export interface ManifestsApiCreateRequest {
/**
- *
+ *
* @type {ManifestData}
* @memberof ManifestsApiCreate
*/
@@ -12879,14 +15215,14 @@ export interface ManifestsApiListRequest {
readonly carrierName?: string
/**
- *
+ *
* @type {string}
* @memberof ManifestsApiList
*/
readonly createdAfter?: string
/**
- *
+ *
* @type {string}
* @memberof ManifestsApiList
*/
@@ -12900,7 +15236,7 @@ export interface ManifestsApiListRequest {
*/
export interface ManifestsApiRetrieveRequest {
/**
- *
+ *
* @type {string}
* @memberof ManifestsApiRetrieve
*/
@@ -12962,7 +15298,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}
*/
@@ -12997,7 +15333,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};
@@ -13010,7 +15346,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}
*/
@@ -13044,7 +15380,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -13060,7 +15396,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}
@@ -13096,7 +15432,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};
@@ -13140,7 +15476,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};
@@ -13153,7 +15489,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}
*/
@@ -13188,7 +15524,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};
@@ -13201,8 +15537,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}
*/
@@ -13237,7 +15573,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -13263,7 +15599,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}
*/
@@ -13276,7 +15612,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}
*/
@@ -13289,7 +15625,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}
@@ -13315,7 +15651,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}
*/
@@ -13328,8 +15664,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}
*/
@@ -13419,7 +15755,7 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
*/
export interface OrdersApiCancelRequest {
/**
- *
+ *
* @type {string}
* @memberof OrdersApiCancel
*/
@@ -13433,7 +15769,7 @@ export interface OrdersApiCancelRequest {
*/
export interface OrdersApiCreateRequest {
/**
- *
+ *
* @type {OrderData}
* @memberof OrdersApiCreate
*/
@@ -13447,7 +15783,7 @@ export interface OrdersApiCreateRequest {
*/
export interface OrdersApiDismissRequest {
/**
- *
+ *
* @type {string}
* @memberof OrdersApiDismiss
*/
@@ -13461,7 +15797,7 @@ export interface OrdersApiDismissRequest {
*/
export interface OrdersApiRetrieveRequest {
/**
- *
+ *
* @type {string}
* @memberof OrdersApiRetrieve
*/
@@ -13475,14 +15811,14 @@ export interface OrdersApiRetrieveRequest {
*/
export interface OrdersApiUpdateRequest {
/**
- *
+ *
* @type {string}
* @memberof OrdersApiUpdate
*/
readonly id: string
/**
- *
+ *
* @type {OrderUpdateData}
* @memberof OrdersApiUpdate
*/
@@ -13580,7 +15916,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}
*/
@@ -13614,7 +15950,7 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -13630,7 +15966,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}
*/
@@ -13665,7 +16001,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};
@@ -13709,7 +16045,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};
@@ -13722,7 +16058,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}
*/
@@ -13757,7 +16093,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};
@@ -13770,8 +16106,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}
*/
@@ -13806,7 +16142,7 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -13832,7 +16168,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}
*/
@@ -13845,7 +16181,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}
*/
@@ -13870,7 +16206,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}
*/
@@ -13883,8 +16219,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}
*/
@@ -13963,7 +16299,7 @@ export const ParcelsApiFactory = function (configuration?: Configuration, basePa
*/
export interface ParcelsApiCreateRequest {
/**
- *
+ *
* @type {ParcelData}
* @memberof ParcelsApiCreate
*/
@@ -13977,7 +16313,7 @@ export interface ParcelsApiCreateRequest {
*/
export interface ParcelsApiDiscardRequest {
/**
- *
+ *
* @type {string}
* @memberof ParcelsApiDiscard
*/
@@ -13991,7 +16327,7 @@ export interface ParcelsApiDiscardRequest {
*/
export interface ParcelsApiRetrieveRequest {
/**
- *
+ *
* @type {string}
* @memberof ParcelsApiRetrieve
*/
@@ -14005,14 +16341,14 @@ export interface ParcelsApiRetrieveRequest {
*/
export interface ParcelsApiUpdateRequest {
/**
- *
+ *
* @type {string}
* @memberof ParcelsApiUpdate
*/
readonly id: string
/**
- *
+ *
* @type {PatchedParcelData}
* @memberof ParcelsApiUpdate
*/
@@ -14097,8 +16433,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}
*/
@@ -14133,7 +16469,7 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -14180,7 +16516,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};
@@ -14193,7 +16529,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}
*/
@@ -14228,7 +16564,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};
@@ -14241,8 +16577,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}
*/
@@ -14279,7 +16615,7 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -14295,8 +16631,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}
*/
@@ -14333,7 +16669,7 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -14359,8 +16695,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}
*/
@@ -14385,7 +16721,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}
*/
@@ -14398,8 +16734,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}
*/
@@ -14412,8 +16748,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}
*/
@@ -14492,14 +16828,14 @@ export const PickupsApiFactory = function (configuration?: Configuration, basePa
*/
export interface PickupsApiCancelRequest {
/**
- *
+ *
* @type {string}
* @memberof PickupsApiCancel
*/
readonly id: string
/**
- *
+ *
* @type {PickupCancelData}
* @memberof PickupsApiCancel
*/
@@ -14513,7 +16849,7 @@ export interface PickupsApiCancelRequest {
*/
export interface PickupsApiRetrieveRequest {
/**
- *
+ *
* @type {string}
* @memberof PickupsApiRetrieve
*/
@@ -14527,14 +16863,14 @@ export interface PickupsApiRetrieveRequest {
*/
export interface PickupsApiScheduleRequest {
/**
- *
+ *
* @type {string}
* @memberof PickupsApiSchedule
*/
readonly carrierName: string
/**
- *
+ *
* @type {PickupData}
* @memberof PickupsApiSchedule
*/
@@ -14548,14 +16884,14 @@ export interface PickupsApiScheduleRequest {
*/
export interface PickupsApiUpdateRequest {
/**
- *
+ *
* @type {string}
* @memberof PickupsApiUpdate
*/
readonly id: string
/**
- *
+ *
* @type {PickupUpdateData}
* @memberof PickupsApiUpdate
*/
@@ -14640,7 +16976,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}
*/
@@ -14674,7 +17010,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -14690,8 +17026,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}
*/
@@ -14728,7 +17064,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -14742,9 +17078,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}
*/
@@ -14778,7 +17114,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -14792,9 +17128,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}
*/
@@ -14828,7 +17164,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -14844,8 +17180,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}
*/
@@ -14883,7 +17219,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration
}
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -14899,8 +17235,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}
*/
@@ -14937,7 +17273,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -14953,9 +17289,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}
@@ -14998,7 +17334,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration
}
-
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -15011,8 +17347,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}
*/
@@ -15049,7 +17385,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -15065,8 +17401,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}
*/
@@ -15103,7 +17439,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -15129,7 +17465,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}
*/
@@ -15142,8 +17478,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}
*/
@@ -15154,9 +17490,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}
*/
@@ -15167,9 +17503,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}
*/
@@ -15182,8 +17518,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}
*/
@@ -15196,8 +17532,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}
*/
@@ -15210,9 +17546,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}
@@ -15226,8 +17562,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}
*/
@@ -15240,8 +17576,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}
*/
@@ -15282,7 +17618,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.
@@ -15292,7 +17628,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.
@@ -15362,7 +17698,7 @@ export const ProxyApiFactory = function (configuration?: Configuration, basePath
*/
export interface ProxyApiBuyLabelRequest {
/**
- *
+ *
* @type {ShippingRequest}
* @memberof ProxyApiBuyLabel
*/
@@ -15376,14 +17712,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' | 'fedex' | 'fedex_ws' | 'freightcom' | 'generic' | 'geodis' | 'hay_post' | 'laposte' | 'locate2u' | 'nationex' | 'purolator' | 'roadie' | 'royalmail' | 'sapient' | 'sendle' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'usps_wt' | 'usps_wt_international' | 'zoom2u'}
+ *
+ * @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
*/
@@ -15397,7 +17733,7 @@ export interface ProxyApiCancelPickupRequest {
*/
export interface ProxyApiFetchRatesRequest {
/**
- *
+ *
* @type {RateRequest}
* @memberof ProxyApiFetchRates
*/
@@ -15411,7 +17747,7 @@ export interface ProxyApiFetchRatesRequest {
*/
export interface ProxyApiGenerateManifestRequest {
/**
- *
+ *
* @type {ManifestRequest}
* @memberof ProxyApiGenerateManifest
*/
@@ -15425,14 +17761,14 @@ export interface ProxyApiGenerateManifestRequest {
*/
export interface ProxyApiGetTrackingRequest {
/**
- *
+ *
* @type {TrackingData}
* @memberof ProxyApiGetTracking
*/
readonly trackingData: TrackingData
/**
- *
+ *
* @type {string}
* @memberof ProxyApiGetTracking
*/
@@ -15446,14 +17782,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' | 'fedex' | 'fedex_ws' | 'freightcom' | 'generic' | 'geodis' | 'hay_post' | 'laposte' | 'locate2u' | 'nationex' | 'purolator' | 'roadie' | 'royalmail' | 'sapient' | 'sendle' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'usps_wt' | 'usps_wt_international' | 'zoom2u'}
+ *
+ * @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
*/
@@ -15467,21 +17803,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' | 'hay_post' | 'laposte' | 'locate2u' | 'nationex' | 'purolator' | 'roadie' | 'royalmail' | 'sendle' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'usps_wt' | 'usps_wt_international' | 'zoom2u'}
+ *
+ * @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
*/
@@ -15495,14 +17831,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' | 'fedex' | 'fedex_ws' | 'freightcom' | 'generic' | 'geodis' | 'hay_post' | 'laposte' | 'locate2u' | 'nationex' | 'purolator' | 'roadie' | 'royalmail' | 'sapient' | 'sendle' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'usps_wt' | 'usps_wt_international' | 'zoom2u'}
+ *
+ * @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
*/
@@ -15516,14 +17852,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' | 'fedex' | 'fedex_ws' | 'freightcom' | 'generic' | 'geodis' | 'hay_post' | 'laposte' | 'locate2u' | 'nationex' | 'purolator' | 'roadie' | 'royalmail' | 'sapient' | 'sendle' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'usps_wt' | 'usps_wt_international' | 'zoom2u'}
+ *
+ * @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
*/
@@ -15562,7 +17898,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.
@@ -15574,7 +17910,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.
@@ -15899,7 +18235,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}
*/
@@ -15934,7 +18270,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};
@@ -15947,7 +18283,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}
*/
@@ -15981,7 +18317,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -15997,24 +18333,24 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura
/**
* Retrieve all shipments.
* @summary List all shipments
- * @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`, `fedex`, `fedex_ws`, `freightcom`, `generic`, `geodis`, `hay_post`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`, `royalmail`, `sapient`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `usps_wt`, `usps_wt_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} [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} [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}
*/
@@ -16122,7 +18458,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura
}
-
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -16135,8 +18471,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}
*/
@@ -16173,7 +18509,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -16189,8 +18525,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}
*/
@@ -16225,7 +18561,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -16241,7 +18577,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}
*/
@@ -16276,7 +18612,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};
@@ -16289,8 +18625,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}
*/
@@ -16325,7 +18661,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -16351,7 +18687,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}
*/
@@ -16364,7 +18700,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}
*/
@@ -16377,24 +18713,24 @@ export const ShipmentsApiFp = function(configuration?: Configuration) {
/**
* Retrieve all shipments.
* @summary List all shipments
- * @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`, `fedex`, `fedex_ws`, `freightcom`, `generic`, `geodis`, `hay_post`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`, `royalmail`, `sapient`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `usps_wt`, `usps_wt_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} [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} [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}
*/
@@ -16407,8 +18743,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}
*/
@@ -16421,8 +18757,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}
*/
@@ -16435,7 +18771,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}
*/
@@ -16448,8 +18784,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}
*/
@@ -16549,7 +18885,7 @@ export const ShipmentsApiFactory = function (configuration?: Configuration, base
*/
export interface ShipmentsApiCancelRequest {
/**
- *
+ *
* @type {string}
* @memberof ShipmentsApiCancel
*/
@@ -16563,7 +18899,7 @@ export interface ShipmentsApiCancelRequest {
*/
export interface ShipmentsApiCreateRequest {
/**
- *
+ *
* @type {ShipmentData}
* @memberof ShipmentsApiCreate
*/
@@ -16577,7 +18913,7 @@ export interface ShipmentsApiCreateRequest {
*/
export interface ShipmentsApiListRequest {
/**
- *
+ *
* @type {string}
* @memberof ShipmentsApiList
*/
@@ -16591,98 +18927,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
*/
@@ -16696,7 +19032,7 @@ export interface ShipmentsApiListRequest {
readonly status?: string
/**
- *
+ *
* @type {string}
* @memberof ShipmentsApiList
*/
@@ -16710,14 +19046,14 @@ export interface ShipmentsApiListRequest {
*/
export interface ShipmentsApiPurchaseRequest {
/**
- *
+ *
* @type {string}
* @memberof ShipmentsApiPurchase
*/
readonly id: string
/**
- *
+ *
* @type {ShipmentPurchaseData}
* @memberof ShipmentsApiPurchase
*/
@@ -16731,14 +19067,14 @@ export interface ShipmentsApiPurchaseRequest {
*/
export interface ShipmentsApiRatesRequest {
/**
- *
+ *
* @type {string}
* @memberof ShipmentsApiRates
*/
readonly id: string
/**
- *
+ *
* @type {ShipmentRateData}
* @memberof ShipmentsApiRates
*/
@@ -16752,7 +19088,7 @@ export interface ShipmentsApiRatesRequest {
*/
export interface ShipmentsApiRetrieveRequest {
/**
- *
+ *
* @type {string}
* @memberof ShipmentsApiRetrieve
*/
@@ -16766,14 +19102,14 @@ export interface ShipmentsApiRetrieveRequest {
*/
export interface ShipmentsApiUpdateRequest {
/**
- *
+ *
* @type {string}
* @memberof ShipmentsApiUpdate
*/
readonly id: string
/**
- *
+ *
* @type {ShipmentUpdateData}
* @memberof ShipmentsApiUpdate
*/
@@ -16883,8 +19219,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}
@@ -16927,7 +19263,7 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat
}
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -16943,10 +19279,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}
@@ -16995,7 +19331,7 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat
}
-
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -17008,11 +19344,11 @@ 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`, `fedex`, `fedex_ws`, `freightcom`, `generic`, `geodis`, `hay_post`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`, `royalmail`, `sapient`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `usps_wt`, `usps_wt_international`, `zoom2u`
- * @param {string} [createdAfter]
- * @param {string} [createdBefore]
+ * @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} [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}
*/
@@ -17068,7 +19404,7 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat
}
-
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -17081,7 +19417,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}
*/
@@ -17116,7 +19452,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};
@@ -17129,7 +19465,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}
*/
@@ -17164,7 +19500,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};
@@ -17177,8 +19513,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}
*/
@@ -17213,7 +19549,7 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17239,8 +19575,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}
@@ -17254,10 +19590,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}
@@ -17271,11 +19607,11 @@ 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`, `fedex`, `fedex_ws`, `freightcom`, `generic`, `geodis`, `hay_post`, `laposte`, `locate2u`, `nationex`, `purolator`, `roadie`, `royalmail`, `sapient`, `sendle`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `usps_wt`, `usps_wt_international`, `zoom2u`
- * @param {string} [createdAfter]
- * @param {string} [createdBefore]
+ * @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} [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}
*/
@@ -17288,7 +19624,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}
*/
@@ -17301,7 +19637,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}
*/
@@ -17314,8 +19650,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}
*/
@@ -17406,14 +19742,14 @@ export const TrackersApiFactory = function (configuration?: Configuration, baseP
*/
export interface TrackersApiAddRequest {
/**
- *
+ *
* @type {TrackingData}
* @memberof TrackersApiAdd
*/
readonly trackingData: TrackingData
/**
- *
+ *
* @type {string}
* @memberof TrackersApiAdd
*/
@@ -17434,28 +19770,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' | 'hay_post' | 'laposte' | 'locate2u' | 'nationex' | 'purolator' | 'roadie' | 'royalmail' | 'sendle' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'usps_wt' | 'usps_wt_international' | 'zoom2u'}
+ *
+ * @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
*/
@@ -17476,14 +19812,14 @@ export interface TrackersApiListRequest {
readonly carrierName?: string
/**
- *
+ *
* @type {string}
* @memberof TrackersApiList
*/
readonly createdAfter?: string
/**
- *
+ *
* @type {string}
* @memberof TrackersApiList
*/
@@ -17497,7 +19833,7 @@ export interface TrackersApiListRequest {
readonly status?: string
/**
- *
+ *
* @type {string}
* @memberof TrackersApiList
*/
@@ -17511,7 +19847,7 @@ export interface TrackersApiListRequest {
*/
export interface TrackersApiRemoveRequest {
/**
- *
+ *
* @type {string}
* @memberof TrackersApiRemove
*/
@@ -17525,7 +19861,7 @@ export interface TrackersApiRemoveRequest {
*/
export interface TrackersApiRetrieveRequest {
/**
- *
+ *
* @type {string}
* @memberof TrackersApiRetrieve
*/
@@ -17539,14 +19875,14 @@ export interface TrackersApiRetrieveRequest {
*/
export interface TrackersApiUpdateRequest {
/**
- *
+ *
* @type {string}
* @memberof TrackersApiUpdate
*/
readonly idOrTrackingNumber: string
/**
- *
+ *
* @type {TrackerUpdateData}
* @memberof TrackersApiUpdate
*/
@@ -17690,7 +20026,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}
*/
@@ -17724,7 +20060,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17771,7 +20107,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};
@@ -17784,7 +20120,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}
*/
@@ -17819,7 +20155,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};
@@ -17832,7 +20168,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}
*/
@@ -17867,7 +20203,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};
@@ -17880,8 +20216,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}
*/
@@ -17918,7 +20254,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17934,8 +20270,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}
*/
@@ -17970,7 +20306,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
-
+
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17996,7 +20332,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}
*/
@@ -18021,7 +20357,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}
*/
@@ -18034,7 +20370,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}
*/
@@ -18047,8 +20383,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}
*/
@@ -18061,8 +20397,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}
*/
@@ -18151,7 +20487,7 @@ export const WebhooksApiFactory = function (configuration?: Configuration, baseP
*/
export interface WebhooksApiCreateRequest {
/**
- *
+ *
* @type {WebhookData}
* @memberof WebhooksApiCreate
*/
@@ -18165,7 +20501,7 @@ export interface WebhooksApiCreateRequest {
*/
export interface WebhooksApiRemoveRequest {
/**
- *
+ *
* @type {string}
* @memberof WebhooksApiRemove
*/
@@ -18179,7 +20515,7 @@ export interface WebhooksApiRemoveRequest {
*/
export interface WebhooksApiRetrieveRequest {
/**
- *
+ *
* @type {string}
* @memberof WebhooksApiRetrieve
*/
@@ -18193,14 +20529,14 @@ export interface WebhooksApiRetrieveRequest {
*/
export interface WebhooksApiTestRequest {
/**
- *
+ *
* @type {string}
* @memberof WebhooksApiTest
*/
readonly id: string
/**
- *
+ *
* @type {WebhookTestRequest}
* @memberof WebhooksApiTest
*/
@@ -18214,14 +20550,14 @@ export interface WebhooksApiTestRequest {
*/
export interface WebhooksApiUpdateRequest {
/**
- *
+ *
* @type {string}
* @memberof WebhooksApiUpdate
*/
readonly id: string
/**
- *
+ *
* @type {PatchedWebhookData}
* @memberof WebhooksApiUpdate
*/
@@ -18306,6 +20642,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/requirements.sdk.dev.txt b/requirements.sdk.dev.txt
index 26d06b33dc..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
diff --git a/requirements.server.dev.txt b/requirements.server.dev.txt
index 9647b1fe1a..be15e5297e 100644
--- a/requirements.server.dev.txt
+++ b/requirements.server.dev.txt
@@ -44,6 +44,7 @@ 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
diff --git a/schemas/graphql.json b/schemas/graphql.json
index d85045d528..713327ebdc 100644
--- a/schemas/graphql.json
+++ b/schemas/graphql.json
@@ -1127,32 +1127,28 @@
},
"isDeprecated": false,
"deprecationReason": null
- },
+ }
+ ],
+ "inputFields": null,
+ "interfaces": [],
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "OBJECT",
+ "name": "UserType",
+ "description": null,
+ "fields": [
{
- "name": "auditlog",
+ "name": "email",
"description": null,
- "args": [
- {
- "name": "id",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
+ "args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "OBJECT",
- "name": "AuditLogEntryType",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
}
},
@@ -1160,26 +1156,15 @@
"deprecationReason": null
},
{
- "name": "auditlogs",
+ "name": "full_name",
"description": null,
- "args": [
- {
- "name": "filter",
- "description": null,
- "type": {
- "kind": "INPUT_OBJECT",
- "name": "AuditLogEntryFilter",
- "ofType": null
- },
- "defaultValue": null
- }
- ],
+ "args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "OBJECT",
- "name": "AuditLogEntryTypeConnection",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
}
},
@@ -1187,53 +1172,31 @@
"deprecationReason": null
},
{
- "name": "workflow",
+ "name": "is_staff",
"description": null,
- "args": [
- {
- "name": "id",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
+ "args": [],
"type": {
- "kind": "OBJECT",
- "name": "WorkflowType",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
},
{
- "name": "workflows",
+ "name": "is_active",
"description": null,
- "args": [
- {
- "name": "filter",
- "description": null,
- "type": {
- "kind": "INPUT_OBJECT",
- "name": "WorkflowFilter",
- "ofType": null
- },
- "defaultValue": null
- }
- ],
+ "args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "OBJECT",
- "name": "WorkflowTypeConnection",
+ "kind": "SCALAR",
+ "name": "Boolean",
"ofType": null
}
},
@@ -1241,53 +1204,116 @@
"deprecationReason": null
},
{
- "name": "workflow_action",
+ "name": "date_joined",
"description": null,
- "args": [
- {
- "name": "id",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- },
- "defaultValue": null
+ "args": [],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "DateTime",
+ "ofType": null
}
- ],
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "is_superuser",
+ "description": null,
+ "args": [],
"type": {
- "kind": "OBJECT",
- "name": "WorkflowActionType",
+ "kind": "SCALAR",
+ "name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
- "name": "workflow_actions",
+ "name": "last_login",
"description": null,
- "args": [
- {
- "name": "filter",
- "description": null,
- "type": {
- "kind": "INPUT_OBJECT",
- "name": "WorkflowActionFilter",
+ "args": [],
+ "type": {
+ "kind": "SCALAR",
+ "name": "DateTime",
+ "ofType": null
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "permissions",
+ "description": null,
+ "args": [],
+ "type": {
+ "kind": "LIST",
+ "name": null,
+ "ofType": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
- },
- "defaultValue": null
+ }
}
- ],
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ }
+ ],
+ "inputFields": null,
+ "interfaces": [],
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "SCALAR",
+ "name": "String",
+ "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",
+ "fields": null,
+ "inputFields": null,
+ "interfaces": null,
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "description": "The `Boolean` scalar type represents `true` or `false`.",
+ "fields": null,
+ "inputFields": null,
+ "interfaces": null,
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "SCALAR",
+ "name": "DateTime",
+ "description": "Date with time (isoformat)",
+ "fields": null,
+ "inputFields": null,
+ "interfaces": null,
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "OBJECT",
+ "name": "TokenType",
+ "description": null,
+ "fields": [
+ {
+ "name": "object_type",
+ "description": null,
+ "args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "OBJECT",
- "name": "WorkflowActionTypeConnection",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
}
},
@@ -1295,53 +1321,31 @@
"deprecationReason": null
},
{
- "name": "workflow_connection",
+ "name": "key",
"description": null,
- "args": [
- {
- "name": "id",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
+ "args": [],
"type": {
- "kind": "OBJECT",
- "name": "WorkflowConnectionType",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
},
{
- "name": "workflow_connections",
+ "name": "label",
"description": null,
- "args": [
- {
- "name": "filter",
- "description": null,
- "type": {
- "kind": "INPUT_OBJECT",
- "name": "WorkflowConnectionFilter",
- "ofType": null
- },
- "defaultValue": null
- }
- ],
+ "args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "OBJECT",
- "name": "WorkflowConnectionTypeConnection",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
}
},
@@ -1349,107 +1353,15 @@
"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",
+ "name": "test_mode",
"description": null,
- "args": [
- {
- "name": "filter",
- "description": null,
- "type": {
- "kind": "INPUT_OBJECT",
- "name": "WorkflowActionFilter",
- "ofType": null
- },
- "defaultValue": null
- }
- ],
+ "args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "OBJECT",
- "name": "WorkflowActionTemplateTypeConnection",
+ "kind": "SCALAR",
+ "name": "Boolean",
"ofType": null
}
},
@@ -1457,26 +1369,15 @@
"deprecationReason": null
},
{
- "name": "workflow_connection_templates",
+ "name": "created",
"description": null,
- "args": [
- {
- "name": "filter",
- "description": null,
- "type": {
- "kind": "INPUT_OBJECT",
- "name": "WorkflowConnectionFilter",
- "ofType": null
- },
- "defaultValue": null
- }
- ],
+ "args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "OBJECT",
- "name": "WorkflowConnectionTemplateTypeConnection",
+ "kind": "SCALAR",
+ "name": "DateTime",
"ofType": null
}
},
@@ -1484,81 +1385,21 @@
"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",
+ "name": "permissions",
"description": null,
"args": [],
"type": {
- "kind": "NON_NULL",
+ "kind": "LIST",
"name": null,
"ofType": {
- "kind": "LIST",
+ "kind": "NON_NULL",
"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
@@ -1571,11 +1412,11 @@
},
{
"kind": "OBJECT",
- "name": "UserType",
+ "name": "APIKeyType",
"description": null,
"fields": [
{
- "name": "email",
+ "name": "object_type",
"description": null,
"args": [],
"type": {
@@ -1591,7 +1432,7 @@
"deprecationReason": null
},
{
- "name": "full_name",
+ "name": "key",
"description": null,
"args": [],
"type": {
@@ -1607,7 +1448,7 @@
"deprecationReason": null
},
{
- "name": "is_staff",
+ "name": "label",
"description": null,
"args": [],
"type": {
@@ -1615,7 +1456,7 @@
"name": null,
"ofType": {
"kind": "SCALAR",
- "name": "Boolean",
+ "name": "String",
"ofType": null
}
},
@@ -1623,7 +1464,7 @@
"deprecationReason": null
},
{
- "name": "is_active",
+ "name": "test_mode",
"description": null,
"args": [],
"type": {
@@ -1639,7 +1480,7 @@
"deprecationReason": null
},
{
- "name": "date_joined",
+ "name": "created",
"description": null,
"args": [],
"type": {
@@ -1654,30 +1495,6 @@
"isDeprecated": false,
"deprecationReason": null
},
- {
- "name": "is_superuser",
- "description": null,
- "args": [],
- "type": {
- "kind": "SCALAR",
- "name": "Boolean",
- "ofType": null
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "last_login",
- "description": null,
- "args": [],
- "type": {
- "kind": "SCALAR",
- "name": "DateTime",
- "ofType": null
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
{
"name": "permissions",
"description": null,
@@ -1704,39 +1521,9 @@
"enumValues": null,
"possibleTypes": null
},
- {
- "kind": "SCALAR",
- "name": "String",
- "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",
- "fields": null,
- "inputFields": null,
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "SCALAR",
- "name": "Boolean",
- "description": "The `Boolean` scalar type represents `true` or `false`.",
- "fields": null,
- "inputFields": null,
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "SCALAR",
- "name": "DateTime",
- "description": "Date with time (isoformat)",
- "fields": null,
- "inputFields": null,
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
{
"kind": "OBJECT",
- "name": "TokenType",
+ "name": "WorkspaceConfigType",
"description": null,
"fields": [
{
@@ -1756,241 +1543,19 @@
"deprecationReason": null
},
{
- "name": "key",
+ "name": "default_currency",
"description": null,
"args": [],
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
+ "kind": "ENUM",
+ "name": "CurrencyCodeEnum",
+ "ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
- "name": "label",
- "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": "created",
- "description": null,
- "args": [],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "DateTime",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "permissions",
- "description": null,
- "args": [],
- "type": {
- "kind": "LIST",
- "name": null,
- "ofType": {
- "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": "APIKeyType",
- "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": "key",
- "description": null,
- "args": [],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "label",
- "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": "created",
- "description": null,
- "args": [],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "DateTime",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "permissions",
- "description": null,
- "args": [],
- "type": {
- "kind": "LIST",
- "name": null,
- "ofType": {
- "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": "WorkspaceConfigType",
- "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": "default_currency",
- "description": null,
- "args": [],
- "type": {
- "kind": "ENUM",
- "name": "CurrencyCodeEnum",
- "ofType": null
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "default_country_code",
+ "name": "default_country_code",
"description": null,
"args": [],
"type": {
@@ -15561,19 +15126,34 @@
},
{
"kind": "OBJECT",
- "name": "AuditLogEntryType",
+ "name": "Mutation",
"description": null,
"fields": [
{
- "name": "object_type",
+ "name": "update_user",
"description": null,
- "args": [],
+ "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": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "UserUpdateMutation",
"ofType": null
}
},
@@ -15581,15 +15161,30 @@
"deprecationReason": null
},
{
- "name": "id",
+ "name": "register_user",
"description": null,
- "args": [],
+ "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": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "RegisterUserMutation",
"ofType": null
}
},
@@ -15597,15 +15192,30 @@
"deprecationReason": null
},
{
- "name": "object_pk",
+ "name": "update_workspace_config",
"description": null,
- "args": [],
+ "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": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "WorkspaceConfigMutation",
"ofType": null
}
},
@@ -15613,15 +15223,30 @@
"deprecationReason": null
},
{
- "name": "object_id",
+ "name": "mutate_token",
"description": null,
- "args": [],
+ "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": "SCALAR",
- "name": "Int",
+ "kind": "OBJECT",
+ "name": "TokenMutation",
"ofType": null
}
},
@@ -15629,15 +15254,30 @@
"deprecationReason": null
},
{
- "name": "object_str",
+ "name": "create_api_key",
"description": null,
- "args": [],
+ "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": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "CreateAPIKeyMutation",
"ofType": null
}
},
@@ -15645,134 +15285,61 @@
"deprecationReason": null
},
{
- "name": "action",
+ "name": "delete_api_key",
"description": null,
- "args": [],
+ "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": "ENUM",
- "name": "LogEntryAction",
+ "kind": "OBJECT",
+ "name": "DeleteAPIKeyMutation",
"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",
+ "name": "request_email_change",
"description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "LIST",
- "name": null,
- "ofType": {
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "INPUT_OBJECT",
+ "name": "RequestEmailChangeMutationInput",
"ofType": null
}
- }
+ },
+ "defaultValue": 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",
+ "name": "RequestEmailChangeMutation",
"ofType": null
}
},
@@ -15780,50 +15347,30 @@
"deprecationReason": null
},
{
- "name": "edges",
+ "name": "confirm_email_change",
"description": null,
- "args": [],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "LIST",
- "name": null,
- "ofType": {
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "OBJECT",
- "name": "AuditLogEntryTypeEdge",
+ "kind": "INPUT_OBJECT",
+ "name": "ConfirmEmailChangeMutationInput",
"ofType": null
}
- }
+ },
+ "defaultValue": 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",
+ "name": "ConfirmEmailChangeMutation",
"ofType": null
}
},
@@ -15831,42 +15378,61 @@
"deprecationReason": null
},
{
- "name": "cursor",
+ "name": "confirm_email",
"description": null,
- "args": [],
+ "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": "SCALAR",
- "name": "String",
- "ofType": null
+ "kind": "OBJECT",
+ "name": "ConfirmEmailMutation",
+ "ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
- }
- ],
- "inputFields": null,
- "interfaces": [],
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "OBJECT",
- "name": "WorkflowType",
- "description": null,
- "fields": [
+ },
{
- "name": "object_type",
+ "name": "change_password",
"description": null,
- "args": [],
+ "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": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "ChangePasswordMutation",
"ofType": null
}
},
@@ -15874,15 +15440,30 @@
"deprecationReason": null
},
{
- "name": "slug",
+ "name": "request_password_reset",
"description": null,
- "args": [],
+ "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": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "RequestPasswordResetMutation",
"ofType": null
}
},
@@ -15890,15 +15471,30 @@
"deprecationReason": null
},
{
- "name": "name",
+ "name": "confirm_password_reset",
"description": null,
- "args": [],
+ "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": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "ConfirmPasswordResetMutation",
"ofType": null
}
},
@@ -15906,51 +15502,61 @@
"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",
+ "name": "enable_multi_factor",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "EnableMultiFactorMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "EnableMultiFactorMutation",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
},
{
- "name": "created_at",
+ "name": "confirm_multi_factor",
"description": null,
- "args": [],
+ "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": "SCALAR",
- "name": "DateTime",
+ "kind": "OBJECT",
+ "name": "ConfirmMultiFactorMutation",
"ofType": null
}
},
@@ -15958,15 +15564,30 @@
"deprecationReason": null
},
{
- "name": "updated_at",
+ "name": "disable_multi_factor",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "DisableMultiFactorMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "DateTime",
+ "kind": "OBJECT",
+ "name": "DisableMultiFactorMutation",
"ofType": null
}
},
@@ -15974,63 +15595,61 @@
"deprecationReason": null
},
{
- "name": "action_nodes",
+ "name": "create_address_template",
"description": null,
- "args": [],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "LIST",
- "name": null,
- "ofType": {
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "OBJECT",
- "name": "WorkflowActionNodeType",
+ "kind": "INPUT_OBJECT",
+ "name": "CreateAddressTemplateInput",
"ofType": null
}
- }
+ },
+ "defaultValue": null
+ }
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "CreateAddressTemplateMutation",
+ "ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
- "name": "actions",
+ "name": "update_address_template",
"description": null,
- "args": [],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "LIST",
- "name": null,
- "ofType": {
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "OBJECT",
- "name": "WorkflowActionType",
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateAddressTemplateInput",
"ofType": null
}
- }
+ },
+ "defaultValue": null
}
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "id",
- "description": null,
- "args": [],
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "UpdateAddressTemplateMutation",
"ofType": null
}
},
@@ -16038,38 +15657,30 @@
"deprecationReason": null
},
{
- "name": "metadata",
+ "name": "create_customs_template",
"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": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "CreateCustomsTemplateInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "CreateCustomsTemplateMutation",
"ofType": null
}
},
@@ -16077,15 +15688,30 @@
"deprecationReason": null
},
{
- "name": "slug",
+ "name": "update_customs_template",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateCustomsTemplateInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "UpdateCustomsTemplateMutation",
"ofType": null
}
},
@@ -16093,15 +15719,30 @@
"deprecationReason": null
},
{
- "name": "trigger_type",
+ "name": "create_parcel_template",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "CreateParcelTemplateInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "ENUM",
- "name": "AutomationTriggerType",
+ "kind": "OBJECT",
+ "name": "CreateParcelTemplateMutation",
"ofType": null
}
},
@@ -16109,39 +15750,92 @@
"deprecationReason": null
},
{
- "name": "schedule",
+ "name": "update_parcel_template",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateParcelTemplateInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "UpdateParcelTemplateMutation",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
},
{
- "name": "template_slug",
+ "name": "create_carrier_connection",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "CreateCarrierConnectionMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "CreateCarrierConnectionMutation",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
},
{
- "name": "created_at",
+ "name": "update_carrier_connection",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateCarrierConnectionMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "DateTime",
+ "kind": "OBJECT",
+ "name": "UpdateCarrierConnectionMutation",
"ofType": null
}
},
@@ -16149,15 +15843,30 @@
"deprecationReason": null
},
{
- "name": "updated_at",
+ "name": "mutate_system_connection",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "SystemCarrierMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "DateTime",
+ "kind": "OBJECT",
+ "name": "SystemCarrierMutation",
"ofType": null
}
},
@@ -16165,15 +15874,30 @@
"deprecationReason": null
},
{
- "name": "id",
+ "name": "delete_carrier_connection",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "DeleteMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "DeleteMutation",
"ofType": null
}
},
@@ -16181,79 +15905,61 @@
"deprecationReason": null
},
{
- "name": "secret",
+ "name": "partial_shipment_update",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "PartialShipmentMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "PartialShipmentMutation",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
},
{
- "name": "secret_key",
+ "name": "mutate_metadata",
"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": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "MetadataMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "Int",
+ "kind": "OBJECT",
+ "name": "MetadataMutation",
"ofType": null
}
},
@@ -16261,42 +15967,61 @@
"deprecationReason": null
},
{
- "name": "slug",
+ "name": "change_shipment_status",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "ChangeShipmentStatusMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "ChangeShipmentStatusMutation",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
- }
- ],
- "inputFields": null,
- "interfaces": [],
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "OBJECT",
- "name": "WorkflowActionType",
- "description": null,
- "fields": [
+ },
{
- "name": "object_type",
+ "name": "delete_template",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "DeleteMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "DeleteMutation",
"ofType": null
}
},
@@ -16304,15 +16029,30 @@
"deprecationReason": null
},
{
- "name": "slug",
+ "name": "discard_commodity",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "DeleteMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "DeleteMutation",
"ofType": null
}
},
@@ -16320,15 +16060,30 @@
"deprecationReason": null
},
{
- "name": "name",
+ "name": "discard_customs",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "DeleteMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "DeleteMutation",
"ofType": null
}
},
@@ -16336,15 +16091,30 @@
"deprecationReason": null
},
{
- "name": "action_type",
+ "name": "discard_parcel",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "DeleteMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "ENUM",
- "name": "AutomationActionType",
+ "kind": "OBJECT",
+ "name": "DeleteMutation",
"ofType": null
}
},
@@ -16352,147 +16122,278 @@
"deprecationReason": null
},
{
- "name": "description",
+ "name": "create_rate_sheet",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "CreateRateSheetMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "CreateRateSheetMutation",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
},
{
- "name": "port",
+ "name": "update_rate_sheet",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateRateSheetMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
- "kind": "SCALAR",
- "name": "Int",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "UpdateRateSheetMutation",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
},
{
- "name": "host",
+ "name": "delete_rate_sheet",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "DeleteMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "DeleteMutation",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
},
{
- "name": "endpoint",
+ "name": "delete_metafield",
"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": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "DeleteMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "DeleteMutation",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
},
{
- "name": "header_template",
+ "name": "create_webhook",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "CreateWebhookMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "CreateWebhookMutation",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
},
{
- "name": "content_type",
+ "name": "update_webhook",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateWebhookMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
- "kind": "ENUM",
- "name": "AutomationHTTPContentType",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "UpdateWebhookMutation",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
},
{
- "name": "connection",
+ "name": "delete_webhook",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "DeleteMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
- "kind": "OBJECT",
- "name": "WorkflowConnectionType",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "DeleteMutation",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
},
{
- "name": "template_slug",
+ "name": "create_order",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "CreateOrderMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "CreateOrderMutation",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
},
{
- "name": "created_at",
+ "name": "update_order",
"description": null,
- "args": [],
+ "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": "SCALAR",
- "name": "DateTime",
+ "kind": "OBJECT",
+ "name": "UpdateOrderMutation",
"ofType": null
}
},
@@ -16500,15 +16401,30 @@
"deprecationReason": null
},
{
- "name": "updated_at",
+ "name": "delete_order",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "DeleteOrderMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "DateTime",
+ "kind": "OBJECT",
+ "name": "DeleteOrderMutation",
"ofType": null
}
},
@@ -16516,39 +16432,30 @@
"deprecationReason": null
},
{
- "name": "metafields",
+ "name": "create_document_template",
"description": null,
- "args": [],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "LIST",
- "name": null,
- "ofType": {
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "OBJECT",
- "name": "MetafieldType",
+ "kind": "INPUT_OBJECT",
+ "name": "CreateDocumentTemplateMutationInput",
"ofType": null
}
- }
+ },
+ "defaultValue": null
}
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "id",
- "description": null,
- "args": [],
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "CreateDocumentTemplateMutation",
"ofType": null
}
},
@@ -16556,172 +16463,30 @@
"deprecationReason": null
},
{
- "name": "metadata",
+ "name": "update_document_template",
"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": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateDocumentTemplateMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "UpdateDocumentTemplateMutation",
"ofType": null
}
},
@@ -16729,15 +16494,30 @@
"deprecationReason": null
},
{
- "name": "name",
+ "name": "delete_document_template",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "DeleteMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "DeleteMutation",
"ofType": null
}
},
@@ -16745,15 +16525,30 @@
"deprecationReason": null
},
{
- "name": "slug",
+ "name": "create_data_template",
"description": null,
- "args": [],
+ "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": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "CreateDataTemplateMutation",
"ofType": null
}
},
@@ -16761,15 +16556,30 @@
"deprecationReason": null
},
{
- "name": "auth_type",
+ "name": "update_data_template",
"description": null,
- "args": [],
+ "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": "ENUM",
- "name": "AutomationAuthType",
+ "kind": "OBJECT",
+ "name": "UpdateDataTemplateMutation",
"ofType": null
}
},
@@ -16777,99 +16587,61 @@
"deprecationReason": null
},
{
- "name": "port",
+ "name": "delete_data_template",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "DeleteMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
- "kind": "SCALAR",
- "name": "Int",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "DeleteMutation",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
},
{
- "name": "host",
+ "name": "create_app",
"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": [],
+ "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": "SCALAR",
- "name": "DateTime",
+ "kind": "OBJECT",
+ "name": "CreateAppMutation",
"ofType": null
}
},
@@ -16877,15 +16649,30 @@
"deprecationReason": null
},
{
- "name": "updated_at",
+ "name": "update_app",
"description": null,
- "args": [],
+ "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": "SCALAR",
- "name": "DateTime",
+ "kind": "OBJECT",
+ "name": "UpdateAppMutation",
"ofType": null
}
},
@@ -16893,39 +16680,30 @@
"deprecationReason": null
},
{
- "name": "metafields",
+ "name": "delete_app",
"description": null,
- "args": [],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "LIST",
- "name": null,
- "ofType": {
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "OBJECT",
- "name": "MetafieldType",
+ "kind": "INPUT_OBJECT",
+ "name": "DeleteMutationInput",
"ofType": null
}
- }
+ },
+ "defaultValue": null
}
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "id",
- "description": null,
- "args": [],
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "DeleteMutation",
"ofType": null
}
},
@@ -16933,85 +16711,30 @@
"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",
+ "name": "install_app",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "InstallAppMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "InstallAppMutation",
"ofType": null
}
},
@@ -17019,239 +16742,30 @@
"deprecationReason": null
},
{
- "name": "id",
+ "name": "uninstall_app",
"description": null,
- "args": [],
+ "args": [
+ {
+ "name": "input",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "UninstallAppMutationInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ }
+ ],
"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",
+ "kind": "OBJECT",
+ "name": "UninstallAppMutation",
"ofType": null
}
},
@@ -17266,7350 +16780,26 @@
},
{
"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",
+ "name": "UpdateUserInput",
"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": "disable_multi_factor",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DisableMultiFactorMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DisableMultiFactorMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "create_address_template",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "CreateAddressTemplateInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "CreateAddressTemplateMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "update_address_template",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateAddressTemplateInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "UpdateAddressTemplateMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "create_customs_template",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "CreateCustomsTemplateInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "CreateCustomsTemplateMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "update_customs_template",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateCustomsTemplateInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "UpdateCustomsTemplateMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "create_parcel_template",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "CreateParcelTemplateInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "CreateParcelTemplateMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "update_parcel_template",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateParcelTemplateInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "UpdateParcelTemplateMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "create_carrier_connection",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "CreateCarrierConnectionMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "CreateCarrierConnectionMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "update_carrier_connection",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateCarrierConnectionMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "UpdateCarrierConnectionMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "mutate_system_connection",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "SystemCarrierMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "SystemCarrierMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "delete_carrier_connection",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DeleteMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DeleteMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "partial_shipment_update",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "PartialShipmentMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "PartialShipmentMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "mutate_metadata",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "MetadataMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "MetadataMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "change_shipment_status",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "ChangeShipmentStatusMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "ChangeShipmentStatusMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "delete_template",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DeleteMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DeleteMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "discard_commodity",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DeleteMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DeleteMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "discard_customs",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DeleteMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DeleteMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "discard_parcel",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DeleteMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DeleteMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "create_rate_sheet",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "CreateRateSheetMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "CreateRateSheetMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "update_rate_sheet",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateRateSheetMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "UpdateRateSheetMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "delete_rate_sheet",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DeleteMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DeleteMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "delete_metafield",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DeleteMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DeleteMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "create_webhook",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "CreateWebhookMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "CreateWebhookMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "update_webhook",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateWebhookMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "UpdateWebhookMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "delete_webhook",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DeleteMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DeleteMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "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",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DeleteOrderMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DeleteOrderMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "create_document_template",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "CreateDocumentTemplateMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "CreateDocumentTemplateMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "update_document_template",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateDocumentTemplateMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "UpdateDocumentTemplateMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "delete_document_template",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DeleteMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DeleteMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "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",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DeleteMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DeleteMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "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",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DeleteMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DeleteMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "install_app",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "InstallAppMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "InstallAppMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "uninstall_app",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "UninstallAppMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "UninstallAppMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "create_workflow",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "CreateWorkflowMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "CreateWorkflowMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "update_workflow",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateWorkflowMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "UpdateWorkflowMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "delete_workflow",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DeleteMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DeleteMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "create_workflow_action",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "CreateWorkflowActionMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "CreateWorkflowActionMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "update_workflow_action",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateWorkflowActionMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "UpdateWorkflowActionMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "delete_workflow_action",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DeleteMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DeleteMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "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",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DeleteMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DeleteMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "create_workflow_event",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "CreateWorkflowEventMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "CreateWorkflowEventMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "cancel_workflow_event",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "CancelWorkflowEventMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "CancelWorkflowEventMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "create_workflow_trigger",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "CreateWorkflowTriggerMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "CreateWorkflowTriggerMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "update_workflow_trigger",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateWorkflowTriggerMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "UpdateWorkflowTriggerMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "delete_workflow_trigger",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DeleteMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DeleteMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "create_organization",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "CreateOrganizationMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "CreateOrganizationMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "update_organization",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateOrganizationMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "UpdateOrganizationMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "delete_organization",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DeleteOrganizationMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DeleteOrganizationMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "change_organization_owner",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "ChangeOrganizationOwnerMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "ChangeOrganizationOwnerMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "set_organization_user_roles",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "SetOrganizationUserRolesMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "SetOrganizationUserRolesMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "send_organization_invites",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "SendOrganizationInvitesMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "SendOrganizationInvitesMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "accept_organization_invitation",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "AcceptOrganizationInvitationMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "AcceptOrganizationInvitationMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "delete_organization_invitation",
- "description": null,
- "args": [
- {
- "name": "input",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "DeleteMutationInput",
- "ofType": null
- }
- },
- "defaultValue": null
- }
- ],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "DeleteMutation",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- }
- ],
- "inputFields": null,
- "interfaces": [],
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "INPUT_OBJECT",
- "name": "UpdateUserInput",
- "description": null,
- "fields": null,
- "inputFields": [
- {
- "name": "full_name",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "is_active",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "Boolean",
- "ofType": null
- },
- "defaultValue": null
- }
- ],
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "OBJECT",
- "name": "UserUpdateMutation",
- "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": "OBJECT",
- "name": "ErrorType",
- "description": null,
- "fields": [
- {
- "name": "field",
- "description": null,
- "args": [],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "messages",
- "description": null,
- "args": [],
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "LIST",
- "name": null,
- "ofType": {
- "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": "RegisterUserMutationInput",
- "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": "password1",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- },
- "defaultValue": null
- },
- {
- "name": "password2",
- "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
- },
- {
- "name": "full_name",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- }
- ],
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "OBJECT",
- "name": "RegisterUserMutation",
- "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": "WorkspaceConfigMutationInput",
- "description": null,
- "fields": null,
- "inputFields": [
- {
- "name": "default_currency",
- "description": null,
- "type": {
- "kind": "ENUM",
- "name": "CurrencyCodeEnum",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "default_country_code",
- "description": null,
- "type": {
- "kind": "ENUM",
- "name": "CountryCodeEnum",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "default_label_type",
- "description": null,
- "type": {
- "kind": "ENUM",
- "name": "LabelTypeEnum",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "default_weight_unit",
- "description": null,
- "type": {
- "kind": "ENUM",
- "name": "WeightUnitEnum",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "default_dimension_unit",
- "description": null,
- "type": {
- "kind": "ENUM",
- "name": "DimensionUnitEnum",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "state_tax_id",
- "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": "customs_aes",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "customs_eel_pfc",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "customs_eori_number",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "customs_license_number",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "customs_certificate_number",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "customs_nip_number",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "customs_vat_registration_number",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "insured_by_default",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "Boolean",
- "ofType": null
- },
- "defaultValue": null
- }
- ],
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "OBJECT",
- "name": "WorkspaceConfigMutation",
- "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": "workspace_config",
- "description": null,
- "args": [],
- "type": {
- "kind": "OBJECT",
- "name": "WorkspaceConfigType",
- "ofType": null
- },
- "isDeprecated": false,
- "deprecationReason": null
- }
- ],
- "inputFields": null,
- "interfaces": [],
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "INPUT_OBJECT",
- "name": "TokenMutationInput",
- "description": null,
- "fields": null,
- "inputFields": [
- {
- "name": "key",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- },
- "defaultValue": null
- },
- {
- "name": "password",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "refresh",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "Boolean",
- "ofType": null
- },
- "defaultValue": null
- }
- ],
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "OBJECT",
- "name": "TokenMutation",
- "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": "token",
- "description": null,
- "args": [],
- "type": {
- "kind": "OBJECT",
- "name": "TokenType",
- "ofType": null
- },
- "isDeprecated": false,
- "deprecationReason": null
- }
- ],
- "inputFields": null,
- "interfaces": [],
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "INPUT_OBJECT",
- "name": "CreateAPIKeyMutationInput",
- "description": null,
- "fields": null,
- "inputFields": [
- {
- "name": "password",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- },
- "defaultValue": null
- },
- {
- "name": "label",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- },
- "defaultValue": null
- },
- {
- "name": "permissions",
- "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": "CreateAPIKeyMutation",
- "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": "api_key",
- "description": null,
- "args": [],
- "type": {
- "kind": "OBJECT",
- "name": "APIKeyType",
- "ofType": null
- },
- "isDeprecated": false,
- "deprecationReason": null
- }
- ],
- "inputFields": null,
- "interfaces": [],
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "INPUT_OBJECT",
- "name": "DeleteAPIKeyMutationInput",
- "description": null,
- "fields": null,
- "inputFields": [
- {
- "name": "password",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- },
- "defaultValue": null
- },
- {
- "name": "key",
- "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": "DeleteAPIKeyMutation",
- "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": "label",
- "description": null,
- "args": [],
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "isDeprecated": false,
- "deprecationReason": null
- }
- ],
- "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
- },
- {
- "name": "token",
- "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": "ConfirmPasswordResetMutation",
- "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": "EnableMultiFactorMutationInput",
- "description": null,
- "fields": null,
- "inputFields": [
- {
- "name": "password",
- "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": "EnableMultiFactorMutation",
- "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": "ConfirmMultiFactorMutationInput",
- "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": "ConfirmMultiFactorMutation",
- "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": "DisableMultiFactorMutationInput",
- "description": null,
- "fields": null,
- "inputFields": [
- {
- "name": "password",
- "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": "DisableMultiFactorMutation",
- "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": "CreateAddressTemplateInput",
- "description": null,
- "fields": null,
- "inputFields": [
- {
- "name": "label",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- },
- "defaultValue": null
- },
- {
- "name": "address",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "AddressInput",
- "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,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "OBJECT",
- "name": "CreateAddressTemplateMutation",
- "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": "AddressTemplateType",
- "ofType": null
- },
- "isDeprecated": false,
- "deprecationReason": null
- }
- ],
- "inputFields": null,
- "interfaces": [],
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "INPUT_OBJECT",
- "name": "UpdateAddressTemplateInput",
- "description": null,
- "fields": null,
- "inputFields": [
- {
- "name": "label",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "address",
- "description": null,
- "type": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateAddressInput",
- "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": "UpdateAddressInput",
- "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
- },
- {
- "name": "id",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- }
- ],
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "OBJECT",
- "name": "UpdateAddressTemplateMutation",
- "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": "AddressTemplateType",
- "ofType": null
- },
- "isDeprecated": false,
- "deprecationReason": null
- }
- ],
- "inputFields": null,
- "interfaces": [],
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "INPUT_OBJECT",
- "name": "CreateCustomsTemplateInput",
- "description": null,
- "fields": null,
- "inputFields": [
- {
- "name": "label",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- },
- "defaultValue": null
- },
- {
- "name": "customs",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "CustomsInput",
- "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": "CustomsInput",
- "description": null,
- "fields": null,
- "inputFields": [
- {
- "name": "commodities",
- "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": "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": "DutyInput",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "duty_billing_address",
- "description": null,
- "type": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateAddressInput",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "options",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "JSON",
- "ofType": null
- },
- "defaultValue": null
- }
- ],
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "INPUT_OBJECT",
- "name": "CommodityInput",
- "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",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "ENUM",
- "name": "WeightUnitEnum",
- "ofType": null
- }
- },
- "defaultValue": null
- },
- {
- "name": "quantity",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "Int",
- "ofType": null
- },
- "defaultValue": "1"
- },
- {
- "name": "sku",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "title",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "hs_code",
- "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": "value_amount",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "Float",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "origin_country",
- "description": null,
- "type": {
- "kind": "ENUM",
- "name": "CountryCodeEnum",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "value_currency",
- "description": null,
- "type": {
- "kind": "ENUM",
- "name": "CurrencyCodeEnum",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "metadata",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "JSON",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "parent_id",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- }
- ],
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "INPUT_OBJECT",
- "name": "DutyInput",
- "description": null,
- "fields": null,
- "inputFields": [
- {
- "name": "paid_by",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "ENUM",
- "name": "PaidByEnum",
- "ofType": null
- }
- },
- "defaultValue": null
- },
- {
- "name": "currency",
- "description": null,
- "type": {
- "kind": "ENUM",
- "name": "CurrencyCodeEnum",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "account_number",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
+ "fields": null,
+ "inputFields": [
{
- "name": "declared_value",
+ "name": "full_name",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Float",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "bill_to",
+ "name": "is_active",
"description": null,
"type": {
- "kind": "INPUT_OBJECT",
- "name": "AddressInput",
+ "kind": "SCALAR",
+ "name": "Boolean",
"ofType": null
},
"defaultValue": null
@@ -24621,7 +16811,7 @@
},
{
"kind": "OBJECT",
- "name": "CreateCustomsTemplateMutation",
+ "name": "UserUpdateMutation",
"description": null,
"fields": [
{
@@ -24645,12 +16835,12 @@
"deprecationReason": null
},
{
- "name": "template",
+ "name": "user",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "CustomsTemplateType",
+ "name": "UserType",
"ofType": null
},
"isDeprecated": false,
@@ -24663,156 +16853,120 @@
"possibleTypes": null
},
{
- "kind": "INPUT_OBJECT",
- "name": "UpdateCustomsTemplateInput",
+ "kind": "OBJECT",
+ "name": "ErrorType",
"description": null,
- "fields": null,
- "inputFields": [
- {
- "name": "label",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "customs",
- "description": null,
- "type": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateCustomsInput",
- "ofType": null
- },
- "defaultValue": null
- },
+ "fields": [
{
- "name": "is_default",
+ "name": "field",
"description": null,
+ "args": [],
"type": {
- "kind": "SCALAR",
- "name": "Boolean",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
},
- "defaultValue": null
+ "isDeprecated": false,
+ "deprecationReason": null
},
{
- "name": "id",
+ "name": "messages",
"description": null,
+ "args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "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
+ "isDeprecated": false,
+ "deprecationReason": null
}
],
- "interfaces": null,
+ "inputFields": null,
+ "interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
- "name": "UpdateCustomsInput",
+ "name": "RegisterUserMutationInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "commodities",
+ "name": "email",
"description": null,
"type": {
- "kind": "LIST",
+ "kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateCommodityInput",
- "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",
+ "name": "password1",
"description": null,
"type": {
- "kind": "ENUM",
- "name": "IncotermCodeEnum",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
},
"defaultValue": null
},
{
- "name": "invoice",
+ "name": "password2",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
},
"defaultValue": null
},
{
- "name": "invoice_date",
+ "name": "redirect_url",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
},
"defaultValue": null
},
{
- "name": "signer",
+ "name": "full_name",
"description": null,
"type": {
"kind": "SCALAR",
@@ -24820,120 +16974,113 @@
"ofType": null
},
"defaultValue": null
- },
- {
- "name": "duty",
- "description": null,
- "type": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateDutyInput",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "duty_billing_address",
- "description": null,
- "type": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateAddressInput",
- "ofType": null
- },
- "defaultValue": null
- },
+ }
+ ],
+ "interfaces": null,
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "OBJECT",
+ "name": "RegisterUserMutation",
+ "description": null,
+ "fields": [
{
- "name": "options",
+ "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": "user",
"description": null,
+ "args": [],
"type": {
- "kind": "SCALAR",
- "name": "String",
+ "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": "UpdateCommodityInput",
+ "name": "WorkspaceConfigMutationInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "weight",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "Float",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "weight_unit",
+ "name": "default_currency",
"description": null,
"type": {
"kind": "ENUM",
- "name": "WeightUnitEnum",
+ "name": "CurrencyCodeEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "quantity",
+ "name": "default_country_code",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "Int",
+ "kind": "ENUM",
+ "name": "CountryCodeEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "sku",
+ "name": "default_label_type",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "ENUM",
+ "name": "LabelTypeEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "title",
+ "name": "default_weight_unit",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "ENUM",
+ "name": "WeightUnitEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "hs_code",
+ "name": "default_dimension_unit",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "ENUM",
+ "name": "DimensionUnitEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "description",
+ "name": "state_tax_id",
"description": null,
"type": {
"kind": "SCALAR",
@@ -24943,47 +17090,37 @@
"defaultValue": null
},
{
- "name": "value_amount",
+ "name": "federal_tax_id",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Float",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "origin_country",
- "description": null,
- "type": {
- "kind": "ENUM",
- "name": "CountryCodeEnum",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "value_currency",
+ "name": "customs_aes",
"description": null,
"type": {
- "kind": "ENUM",
- "name": "CurrencyCodeEnum",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "metadata",
+ "name": "customs_eel_pfc",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "JSON",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "parent_id",
+ "name": "customs_eori_number",
"description": null,
"type": {
"kind": "SCALAR",
@@ -24993,7 +17130,7 @@
"defaultValue": null
},
{
- "name": "id",
+ "name": "customs_license_number",
"description": null,
"type": {
"kind": "SCALAR",
@@ -25001,40 +17138,19 @@
"ofType": null
},
"defaultValue": null
- }
- ],
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "INPUT_OBJECT",
- "name": "UpdateDutyInput",
- "description": null,
- "fields": null,
- "inputFields": [
- {
- "name": "paid_by",
- "description": null,
- "type": {
- "kind": "ENUM",
- "name": "PaidByEnum",
- "ofType": null
- },
- "defaultValue": null
},
{
- "name": "currency",
+ "name": "customs_certificate_number",
"description": null,
"type": {
- "kind": "ENUM",
- "name": "CurrencyCodeEnum",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "account_number",
+ "name": "customs_nip_number",
"description": null,
"type": {
"kind": "SCALAR",
@@ -25044,21 +17160,21 @@
"defaultValue": null
},
{
- "name": "declared_value",
+ "name": "customs_vat_registration_number",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Float",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "bill_to",
+ "name": "insured_by_default",
"description": null,
"type": {
- "kind": "INPUT_OBJECT",
- "name": "AddressInput",
+ "kind": "SCALAR",
+ "name": "Boolean",
"ofType": null
},
"defaultValue": null
@@ -25070,7 +17186,7 @@
},
{
"kind": "OBJECT",
- "name": "UpdateCustomsTemplateMutation",
+ "name": "WorkspaceConfigMutation",
"description": null,
"fields": [
{
@@ -25094,12 +17210,12 @@
"deprecationReason": null
},
{
- "name": "template",
+ "name": "workspace_config",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "CustomsTemplateType",
+ "name": "WorkspaceConfigType",
"ofType": null
},
"isDeprecated": false,
@@ -25113,12 +17229,12 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "CreateParcelTemplateInput",
+ "name": "TokenMutationInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "label",
+ "name": "key",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -25132,21 +17248,17 @@
"defaultValue": null
},
{
- "name": "parcel",
+ "name": "password",
"description": null,
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "ParcelInput",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "is_default",
+ "name": "refresh",
"description": null,
"type": {
"kind": "SCALAR",
@@ -25161,151 +17273,84 @@
"possibleTypes": null
},
{
- "kind": "INPUT_OBJECT",
- "name": "ParcelInput",
+ "kind": "OBJECT",
+ "name": "TokenMutation",
"description": null,
- "fields": null,
- "inputFields": [
- {
- "name": "weight",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "Float",
- "ofType": null
- }
- },
- "defaultValue": null
- },
+ "fields": [
{
- "name": "weight_unit",
+ "name": "errors",
"description": null,
+ "args": [],
"type": {
- "kind": "NON_NULL",
+ "kind": "LIST",
"name": null,
"ofType": {
- "kind": "ENUM",
- "name": "WeightUnitEnum",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "ErrorType",
+ "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
- },
- "defaultValue": null
- },
- {
- "name": "length",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "Float",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "packaging_type",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "package_preset",
- "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": "content",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "is_document",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "Boolean",
- "ofType": null
- },
- "defaultValue": null
+ "isDeprecated": false,
+ "deprecationReason": null
},
{
- "name": "dimension_unit",
+ "name": "token",
"description": null,
+ "args": [],
"type": {
- "kind": "ENUM",
- "name": "DimensionUnitEnum",
+ "kind": "OBJECT",
+ "name": "TokenType",
"ofType": null
},
- "defaultValue": null
- },
+ "isDeprecated": false,
+ "deprecationReason": null
+ }
+ ],
+ "inputFields": null,
+ "interfaces": [],
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "INPUT_OBJECT",
+ "name": "CreateAPIKeyMutationInput",
+ "description": null,
+ "fields": null,
+ "inputFields": [
{
- "name": "reference_number",
+ "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": "freight_class",
+ "name": "label",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
},
"defaultValue": null
},
{
- "name": "items",
+ "name": "permissions",
"description": null,
"type": {
"kind": "LIST",
@@ -25314,8 +17359,8 @@
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "INPUT_OBJECT",
- "name": "CommodityInput",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
}
}
@@ -25329,7 +17374,7 @@
},
{
"kind": "OBJECT",
- "name": "CreateParcelTemplateMutation",
+ "name": "CreateAPIKeyMutation",
"description": null,
"fields": [
{
@@ -25353,12 +17398,12 @@
"deprecationReason": null
},
{
- "name": "template",
+ "name": "api_key",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "ParcelTemplateType",
+ "name": "APIKeyType",
"ofType": null
},
"isDeprecated": false,
@@ -25372,42 +17417,26 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "UpdateParcelTemplateInput",
+ "name": "DeleteAPIKeyMutationInput",
"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",
+ "name": "password",
"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": "key",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -25426,144 +17455,178 @@
"possibleTypes": null
},
{
- "kind": "INPUT_OBJECT",
- "name": "UpdateParcelInput",
+ "kind": "OBJECT",
+ "name": "DeleteAPIKeyMutation",
"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
- },
- "defaultValue": null
- },
- {
- "name": "length",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "Float",
- "ofType": null
- },
- "defaultValue": null
- },
+ "fields": [
{
- "name": "packaging_type",
+ "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": "package_preset",
+ "name": "label",
"description": null,
+ "args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
- "defaultValue": null
- },
+ "isDeprecated": false,
+ "deprecationReason": null
+ }
+ ],
+ "inputFields": null,
+ "interfaces": [],
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "INPUT_OBJECT",
+ "name": "RequestEmailChangeMutationInput",
+ "description": null,
+ "fields": null,
+ "inputFields": [
{
- "name": "description",
+ "name": "email",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
},
"defaultValue": null
},
{
- "name": "content",
+ "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": "is_document",
+ "name": "redirect_url",
"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": "RequestEmailChangeMutation",
+ "description": null,
+ "fields": [
{
- "name": "dimension_unit",
+ "name": "errors",
"description": null,
+ "args": [],
"type": {
- "kind": "ENUM",
- "name": "DimensionUnitEnum",
- "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": "reference_number",
+ "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": "ConfirmEmailChangeMutationInput",
+ "description": null,
+ "fields": null,
+ "inputFields": [
{
- "name": "freight_class",
+ "name": "token",
"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": "OBJECT",
+ "name": "ConfirmEmailChangeMutation",
+ "description": null,
+ "fields": [
{
- "name": "items",
+ "name": "errors",
"description": null,
+ "args": [],
"type": {
"kind": "LIST",
"name": null,
@@ -25571,22 +17634,51 @@
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateCommodityInput",
+ "kind": "OBJECT",
+ "name": "ErrorType",
"ofType": null
}
}
},
- "defaultValue": null
+ "isDeprecated": false,
+ "deprecationReason": null
},
{
- "name": "id",
+ "name": "user",
"description": null,
+ "args": [],
"type": {
- "kind": "SCALAR",
- "name": "String",
+ "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
}
],
@@ -25596,7 +17688,7 @@
},
{
"kind": "OBJECT",
- "name": "UpdateParcelTemplateMutation",
+ "name": "ConfirmEmailMutation",
"description": null,
"fields": [
{
@@ -25620,13 +17712,17 @@
"deprecationReason": null
},
{
- "name": "template",
+ "name": "success",
"description": null,
"args": [],
"type": {
- "kind": "OBJECT",
- "name": "ParcelTemplateType",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
@@ -25639,26 +17735,26 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "CreateCarrierConnectionMutationInput",
+ "name": "ChangePasswordMutationInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "carrier_name",
+ "name": "old_password",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "ENUM",
- "name": "CarrierNameEnum",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
- "name": "carrier_id",
+ "name": "new_password1",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -25672,63 +17768,97 @@
"defaultValue": null
},
{
- "name": "credentials",
+ "name": "new_password2",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
- "name": "JSON",
+ "name": "String",
"ofType": null
}
},
"defaultValue": null
- },
+ }
+ ],
+ "interfaces": null,
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "OBJECT",
+ "name": "ChangePasswordMutation",
+ "description": null,
+ "fields": [
{
- "name": "active",
+ "name": "errors",
"description": null,
+ "args": [],
"type": {
- "kind": "SCALAR",
- "name": "Boolean",
- "ofType": null
+ "kind": "LIST",
+ "name": null,
+ "ofType": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "ErrorType",
+ "ofType": null
+ }
+ }
},
- "defaultValue": "true"
+ "isDeprecated": false,
+ "deprecationReason": null
},
{
- "name": "config",
+ "name": "user",
"description": null,
+ "args": [],
"type": {
- "kind": "SCALAR",
- "name": "JSON",
+ "kind": "OBJECT",
+ "name": "UserType",
"ofType": null
},
- "defaultValue": null
- },
+ "isDeprecated": false,
+ "deprecationReason": null
+ }
+ ],
+ "inputFields": null,
+ "interfaces": [],
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "INPUT_OBJECT",
+ "name": "RequestPasswordResetMutationInput",
+ "description": null,
+ "fields": null,
+ "inputFields": [
{
- "name": "metadata",
+ "name": "email",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "JSON",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
},
"defaultValue": null
},
{
- "name": "capabilities",
+ "name": "redirect_url",
"description": null,
"type": {
- "kind": "LIST",
+ "kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
}
},
"defaultValue": null
@@ -25740,7 +17870,7 @@
},
{
"kind": "OBJECT",
- "name": "CreateCarrierConnectionMutation",
+ "name": "RequestPasswordResetMutation",
"description": null,
"fields": [
{
@@ -25764,15 +17894,31 @@
"deprecationReason": null
},
{
- "name": "connection",
+ "name": "email",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "OBJECT",
- "name": "CarrierConnectionType",
+ "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
}
},
@@ -25787,12 +17933,12 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "UpdateCarrierConnectionMutationInput",
+ "name": "ConfirmPasswordResetMutationInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "id",
+ "name": "uid",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -25806,69 +17952,43 @@
"defaultValue": null
},
{
- "name": "active",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "Boolean",
- "ofType": null
- },
- "defaultValue": "true"
- },
- {
- "name": "carrier_id",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "credentials",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "JSON",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "config",
+ "name": "token",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "JSON",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
},
"defaultValue": null
},
{
- "name": "metadata",
+ "name": "new_password1",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "JSON",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
},
"defaultValue": null
},
{
- "name": "capabilities",
+ "name": "new_password2",
"description": null,
"type": {
- "kind": "LIST",
+ "kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
}
},
"defaultValue": null
@@ -25880,7 +18000,7 @@
},
{
"kind": "OBJECT",
- "name": "UpdateCarrierConnectionMutation",
+ "name": "ConfirmPasswordResetMutation",
"description": null,
"fields": [
{
@@ -25904,17 +18024,13 @@
"deprecationReason": null
},
{
- "name": "connection",
+ "name": "user",
"description": null,
"args": [],
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "CarrierConnectionType",
- "ofType": null
- }
+ "kind": "OBJECT",
+ "name": "UserType",
+ "ofType": null
},
"isDeprecated": false,
"deprecationReason": null
@@ -25927,12 +18043,12 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "SystemCarrierMutationInput",
+ "name": "EnableMultiFactorMutationInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "id",
+ "name": "password",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -25944,25 +18060,73 @@
}
},
"defaultValue": null
- },
+ }
+ ],
+ "interfaces": null,
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "OBJECT",
+ "name": "EnableMultiFactorMutation",
+ "description": null,
+ "fields": [
{
- "name": "enable",
+ "name": "errors",
"description": null,
+ "args": [],
"type": {
- "kind": "SCALAR",
- "name": "Boolean",
- "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": "config",
+ "name": "user",
"description": null,
+ "args": [],
"type": {
- "kind": "SCALAR",
- "name": "JSON",
+ "kind": "OBJECT",
+ "name": "UserType",
"ofType": null
},
+ "isDeprecated": false,
+ "deprecationReason": null
+ }
+ ],
+ "inputFields": null,
+ "interfaces": [],
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "INPUT_OBJECT",
+ "name": "ConfirmMultiFactorMutationInput",
+ "description": null,
+ "fields": null,
+ "inputFields": [
+ {
+ "name": "token",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
+ },
"defaultValue": null
}
],
@@ -25972,7 +18136,7 @@
},
{
"kind": "OBJECT",
- "name": "SystemCarrierMutation",
+ "name": "ConfirmMultiFactorMutation",
"description": null,
"fields": [
{
@@ -25996,12 +18160,12 @@
"deprecationReason": null
},
{
- "name": "carrier",
+ "name": "user",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "SystemConnectionType",
+ "name": "UserType",
"ofType": null
},
"isDeprecated": false,
@@ -26015,12 +18179,12 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "DeleteMutationInput",
+ "name": "DisableMultiFactorMutationInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "id",
+ "name": "password",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -26040,7 +18204,7 @@
},
{
"kind": "OBJECT",
- "name": "DeleteMutation",
+ "name": "DisableMultiFactorMutation",
"description": null,
"fields": [
{
@@ -26064,17 +18228,13 @@
"deprecationReason": null
},
{
- "name": "id",
+ "name": "user",
"description": null,
"args": [],
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
+ "kind": "OBJECT",
+ "name": "UserType",
+ "ofType": null
},
"isDeprecated": false,
"deprecationReason": null
@@ -26087,12 +18247,12 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "PartialShipmentMutationInput",
+ "name": "CreateAddressTemplateInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "id",
+ "name": "label",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -26106,115 +18266,162 @@
"defaultValue": null
},
{
- "name": "recipient",
+ "name": "address",
"description": null,
"type": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateAddressInput",
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "AddressInput",
+ "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": "shipper",
+ "name": "postal_code",
"description": null,
"type": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateAddressInput",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "return_address",
+ "name": "city",
"description": null,
"type": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateAddressInput",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "billing_address",
+ "name": "federal_tax_id",
"description": null,
"type": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateAddressInput",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "customs",
+ "name": "state_tax_id",
"description": null,
"type": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateCustomsInput",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "parcels",
+ "name": "person_name",
"description": null,
"type": {
- "kind": "LIST",
- "name": null,
- "ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateParcelInput",
- "ofType": null
- }
- }
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "payment",
+ "name": "company_name",
"description": null,
"type": {
- "kind": "INPUT_OBJECT",
- "name": "PaymentInput",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "label_type",
+ "name": "email",
"description": null,
"type": {
- "kind": "ENUM",
- "name": "LabelTypeEnum",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "metadata",
+ "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": "JSON",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "options",
+ "name": "residential",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "JSON",
+ "name": "Boolean",
"ofType": null
},
"defaultValue": null
},
{
- "name": "reference",
+ "name": "street_number",
"description": null,
"type": {
"kind": "SCALAR",
@@ -26222,20 +18429,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": "address_line1",
"description": null,
"type": {
"kind": "SCALAR",
@@ -26245,21 +18441,21 @@
"defaultValue": null
},
{
- "name": "paid_by",
+ "name": "address_line2",
"description": null,
"type": {
- "kind": "ENUM",
- "name": "PaidByEnum",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "currency",
+ "name": "validate_location",
"description": null,
"type": {
- "kind": "ENUM",
- "name": "CurrencyCodeEnum",
+ "kind": "SCALAR",
+ "name": "Boolean",
"ofType": null
},
"defaultValue": null
@@ -26271,7 +18467,7 @@
},
{
"kind": "OBJECT",
- "name": "PartialShipmentMutation",
+ "name": "CreateAddressTemplateMutation",
"description": null,
"fields": [
{
@@ -26295,12 +18491,12 @@
"deprecationReason": null
},
{
- "name": "shipment",
+ "name": "template",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "ShipmentType",
+ "name": "AddressTemplateType",
"ofType": null
},
"isDeprecated": false,
@@ -26314,66 +18510,50 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "MetadataMutationInput",
+ "name": "UpdateAddressTemplateInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "id",
+ "name": "label",
"description": null,
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "object_type",
+ "name": "address",
"description": null,
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "ENUM",
- "name": "MetadataObjectTypeEnum",
- "ofType": null
- }
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateAddressInput",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "added_values",
+ "name": "is_default",
"description": null,
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "JSON",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "discarded_keys",
+ "name": "id",
"description": null,
"type": {
- "kind": "LIST",
+ "kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
}
},
"defaultValue": null
@@ -26384,182 +18564,189 @@
"possibleTypes": null
},
{
- "kind": "ENUM",
- "name": "MetadataObjectTypeEnum",
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateAddressInput",
"description": null,
"fields": null,
- "inputFields": null,
- "interfaces": null,
- "enumValues": [
+ "inputFields": [
{
- "name": "carrier",
+ "name": "country_code",
"description": null,
- "isDeprecated": false,
- "deprecationReason": null
+ "type": {
+ "kind": "ENUM",
+ "name": "CountryCodeEnum",
+ "ofType": null
+ },
+ "defaultValue": null
},
{
- "name": "commodity",
+ "name": "postal_code",
"description": null,
- "isDeprecated": false,
- "deprecationReason": null
+ "type": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ },
+ "defaultValue": null
},
{
- "name": "shipment",
+ "name": "city",
"description": null,
- "isDeprecated": false,
- "deprecationReason": null
+ "type": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ },
+ "defaultValue": null
},
{
- "name": "tracker",
+ "name": "federal_tax_id",
"description": null,
- "isDeprecated": false,
- "deprecationReason": null
+ "type": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ },
+ "defaultValue": null
},
{
- "name": "order",
+ "name": "state_tax_id",
"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": "person_name",
"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": "company_name",
"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": "email",
"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
- }
- ],
- "inputFields": null,
- "interfaces": [],
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "INPUT_OBJECT",
- "name": "ChangeShipmentStatusMutationInput",
- "description": null,
- "fields": null,
- "inputFields": [
+ "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": "id",
+ "name": "residential",
"description": null,
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "status",
+ "name": "street_number",
"description": null,
"type": {
- "kind": "ENUM",
- "name": "ManualShipmentStatusEnum",
+ "kind": "SCALAR",
+ "name": "String",
"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",
+ "name": "address_line1",
"description": null,
- "isDeprecated": false,
- "deprecationReason": null
+ "type": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ },
+ "defaultValue": null
},
{
- "name": "needs_attention",
+ "name": "address_line2",
"description": null,
- "isDeprecated": false,
- "deprecationReason": null
+ "type": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ },
+ "defaultValue": null
},
{
- "name": "delivery_failed",
+ "name": "validate_location",
"description": null,
- "isDeprecated": false,
- "deprecationReason": null
+ "type": {
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
+ },
+ "defaultValue": null
},
{
- "name": "delivered",
+ "name": "id",
"description": null,
- "isDeprecated": false,
- "deprecationReason": null
+ "type": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ },
+ "defaultValue": null
}
],
+ "interfaces": null,
+ "enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
- "name": "ChangeShipmentStatusMutation",
+ "name": "UpdateAddressTemplateMutation",
"description": null,
"fields": [
{
@@ -26583,12 +18770,12 @@
"deprecationReason": null
},
{
- "name": "shipment",
+ "name": "template",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "ShipmentType",
+ "name": "AddressTemplateType",
"ofType": null
},
"isDeprecated": false,
@@ -26602,12 +18789,12 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "CreateRateSheetMutationInput",
+ "name": "CreateCustomsTemplateInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "name",
+ "name": "label",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -26621,52 +18808,26 @@
"defaultValue": null
},
{
- "name": "carrier_name",
+ "name": "customs",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "ENUM",
- "name": "CarrierNameEnum",
+ "kind": "INPUT_OBJECT",
+ "name": "CustomsInput",
"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": "carriers",
+ "name": "is_default",
"description": null,
"type": {
- "kind": "LIST",
- "name": null,
- "ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- }
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
},
"defaultValue": null
}
@@ -26677,54 +18838,12 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "CreateServiceLevelInput",
+ "name": "CustomsInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "service_name",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- },
- "defaultValue": null
- },
- {
- "name": "service_code",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- },
- "defaultValue": null
- },
- {
- "name": "currency",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "ENUM",
- "name": "CurrencyCodeEnum",
- "ofType": null
- }
- },
- "defaultValue": null
- },
- {
- "name": "zones",
+ "name": "commodities",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -26737,7 +18856,7 @@
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
- "name": "ServiceZoneInput",
+ "name": "CommodityInput",
"ofType": null
}
}
@@ -26746,27 +18865,7 @@
"defaultValue": null
},
{
- "name": "carrier_service_code",
- "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": "active",
+ "name": "certify",
"description": null,
"type": {
"kind": "SCALAR",
@@ -26776,117 +18875,97 @@
"defaultValue": null
},
{
- "name": "transit_days",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "Int",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "transit_time",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "Float",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "max_width",
+ "name": "commercial_invoice",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Float",
+ "name": "Boolean",
"ofType": null
},
"defaultValue": null
},
{
- "name": "max_height",
+ "name": "content_type",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "Float",
+ "kind": "ENUM",
+ "name": "CustomsContentTypeEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "max_length",
+ "name": "content_description",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Float",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "dimension_unit",
+ "name": "incoterm",
"description": null,
"type": {
"kind": "ENUM",
- "name": "DimensionUnitEnum",
+ "name": "IncotermCodeEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "min_weight",
+ "name": "invoice",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Float",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "max_weight",
+ "name": "invoice_date",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Float",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "weight_unit",
+ "name": "signer",
"description": null,
"type": {
- "kind": "ENUM",
- "name": "WeightUnitEnum",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "domicile",
+ "name": "duty",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "Boolean",
+ "kind": "INPUT_OBJECT",
+ "name": "DutyInput",
"ofType": null
},
"defaultValue": null
},
{
- "name": "international",
+ "name": "duty_billing_address",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "Boolean",
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateAddressInput",
"ofType": null
},
"defaultValue": null
},
{
- "name": "metadata",
+ "name": "options",
"description": null,
"type": {
"kind": "SCALAR",
@@ -26902,12 +18981,12 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "ServiceZoneInput",
+ "name": "CommodityInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "rate",
+ "name": "weight",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -26921,7 +19000,31 @@
"defaultValue": null
},
{
- "name": "label",
+ "name": "weight_unit",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "ENUM",
+ "name": "WeightUnitEnum",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "quantity",
+ "description": null,
+ "type": {
+ "kind": "SCALAR",
+ "name": "Int",
+ "ofType": null
+ },
+ "defaultValue": "1"
+ },
+ {
+ "name": "sku",
"description": null,
"type": {
"kind": "SCALAR",
@@ -26931,37 +19034,37 @@
"defaultValue": null
},
{
- "name": "min_weight",
+ "name": "title",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Float",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "max_weight",
+ "name": "hs_code",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Float",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "transit_days",
+ "name": "description",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Int",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "transit_time",
+ "name": "value_amount",
"description": null,
"type": {
"kind": "SCALAR",
@@ -26971,86 +19074,107 @@
"defaultValue": null
},
{
- "name": "radius",
+ "name": "origin_country",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "Float",
+ "kind": "ENUM",
+ "name": "CountryCodeEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "latitude",
+ "name": "value_currency",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "Float",
+ "kind": "ENUM",
+ "name": "CurrencyCodeEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "longitude",
+ "name": "metadata",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Float",
+ "name": "JSON",
"ofType": null
},
"defaultValue": null
},
{
- "name": "cities",
+ "name": "parent_id",
"description": null,
"type": {
- "kind": "LIST",
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ },
+ "defaultValue": null
+ }
+ ],
+ "interfaces": null,
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "INPUT_OBJECT",
+ "name": "DutyInput",
+ "description": null,
+ "fields": null,
+ "inputFields": [
+ {
+ "name": "paid_by",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
+ "kind": "ENUM",
+ "name": "PaidByEnum",
+ "ofType": null
}
},
"defaultValue": null
},
{
- "name": "postal_codes",
+ "name": "currency",
"description": null,
"type": {
- "kind": "LIST",
- "name": null,
- "ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- }
+ "kind": "ENUM",
+ "name": "CurrencyCodeEnum",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "country_codes",
+ "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
+ },
+ {
+ "name": "declared_value",
+ "description": null,
+ "type": {
+ "kind": "SCALAR",
+ "name": "Float",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "bill_to",
+ "description": null,
+ "type": {
+ "kind": "INPUT_OBJECT",
+ "name": "AddressInput",
+ "ofType": null
},
"defaultValue": null
}
@@ -27061,7 +19185,7 @@
},
{
"kind": "OBJECT",
- "name": "CreateRateSheetMutation",
+ "name": "CreateCustomsTemplateMutation",
"description": null,
"fields": [
{
@@ -27085,12 +19209,12 @@
"deprecationReason": null
},
{
- "name": "rate_sheet",
+ "name": "template",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "RateSheetType",
+ "name": "CustomsTemplateType",
"ofType": null
},
"isDeprecated": false,
@@ -27104,66 +19228,50 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "UpdateRateSheetMutationInput",
+ "name": "UpdateCustomsTemplateInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "id",
+ "name": "label",
"description": null,
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "name",
+ "name": "customs",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateCustomsInput",
"ofType": null
},
"defaultValue": null
},
{
- "name": "services",
+ "name": "is_default",
"description": null,
"type": {
- "kind": "LIST",
- "name": null,
- "ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateServiceLevelInput",
- "ofType": null
- }
- }
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "carriers",
+ "name": "id",
"description": null,
"type": {
- "kind": "LIST",
+ "kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
}
},
"defaultValue": null
@@ -27175,70 +19283,60 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "UpdateServiceLevelInput",
+ "name": "UpdateCustomsInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "service_name",
+ "name": "commodities",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
+ "kind": "LIST",
+ "name": null,
+ "ofType": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateCommodityInput",
+ "ofType": null
+ }
+ }
},
"defaultValue": null
},
{
- "name": "service_code",
+ "name": "certify",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "currency",
- "description": null,
- "type": {
- "kind": "ENUM",
- "name": "CurrencyCodeEnum",
+ "name": "Boolean",
"ofType": null
},
"defaultValue": null
},
{
- "name": "zones",
- "description": null,
- "type": {
- "kind": "LIST",
- "name": null,
- "ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateServiceZoneInput",
- "ofType": null
- }
- }
+ "name": "commercial_invoice",
+ "description": null,
+ "type": {
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "carrier_service_code",
+ "name": "content_type",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "ENUM",
+ "name": "CustomsContentTypeEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "description",
+ "name": "content_description",
"description": null,
"type": {
"kind": "SCALAR",
@@ -27248,87 +19346,98 @@
"defaultValue": null
},
{
- "name": "active",
+ "name": "incoterm",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "Boolean",
+ "kind": "ENUM",
+ "name": "IncotermCodeEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "transit_days",
+ "name": "invoice",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Int",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "transit_time",
+ "name": "invoice_date",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Float",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "max_width",
+ "name": "signer",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Float",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "max_height",
+ "name": "duty",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "Float",
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateDutyInput",
"ofType": null
},
"defaultValue": null
},
{
- "name": "max_length",
+ "name": "duty_billing_address",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "Float",
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateAddressInput",
"ofType": null
},
"defaultValue": null
},
{
- "name": "dimension_unit",
+ "name": "options",
"description": null,
"type": {
- "kind": "ENUM",
- "name": "DimensionUnitEnum",
+ "kind": "SCALAR",
+ "name": "JSON",
"ofType": null
},
"defaultValue": null
},
{
- "name": "min_weight",
+ "name": "id",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Float",
+ "name": "String",
"ofType": null
},
"defaultValue": null
- },
+ }
+ ],
+ "interfaces": null,
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateCommodityInput",
+ "description": null,
+ "fields": null,
+ "inputFields": [
{
- "name": "max_weight",
+ "name": "weight",
"description": null,
"type": {
"kind": "SCALAR",
@@ -27348,37 +19457,37 @@
"defaultValue": null
},
{
- "name": "domicile",
+ "name": "quantity",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Boolean",
+ "name": "Int",
"ofType": null
},
"defaultValue": null
},
{
- "name": "international",
+ "name": "sku",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Boolean",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "metadata",
+ "name": "title",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "JSON",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "id",
+ "name": "hs_code",
"description": null,
"type": {
"kind": "SCALAR",
@@ -27386,159 +19495,135 @@
"ofType": null
},
"defaultValue": null
- }
- ],
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "INPUT_OBJECT",
- "name": "UpdateServiceZoneInput",
- "description": null,
- "fields": null,
- "inputFields": [
+ },
{
- "name": "rate",
+ "name": "description",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Float",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "label",
+ "name": "value_amount",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "min_weight",
+ "name": "origin_country",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "Float",
+ "kind": "ENUM",
+ "name": "CountryCodeEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "max_weight",
+ "name": "value_currency",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "Float",
+ "kind": "ENUM",
+ "name": "CurrencyCodeEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "transit_days",
+ "name": "metadata",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Int",
+ "name": "JSON",
"ofType": null
},
"defaultValue": null
},
{
- "name": "transit_time",
+ "name": "parent_id",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Float",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "radius",
+ "name": "id",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Float",
+ "name": "String",
"ofType": null
},
"defaultValue": null
- },
+ }
+ ],
+ "interfaces": null,
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateDutyInput",
+ "description": null,
+ "fields": null,
+ "inputFields": [
{
- "name": "latitude",
+ "name": "paid_by",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "Float",
+ "kind": "ENUM",
+ "name": "PaidByEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "longitude",
+ "name": "currency",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "Float",
+ "kind": "ENUM",
+ "name": "CurrencyCodeEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "cities",
+ "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
},
{
- "name": "postal_codes",
+ "name": "declared_value",
"description": null,
"type": {
- "kind": "LIST",
- "name": null,
- "ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- }
+ "kind": "SCALAR",
+ "name": "Float",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "country_codes",
+ "name": "bill_to",
"description": null,
"type": {
- "kind": "LIST",
- "name": null,
- "ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- }
+ "kind": "INPUT_OBJECT",
+ "name": "AddressInput",
+ "ofType": null
},
"defaultValue": null
}
@@ -27549,7 +19634,7 @@
},
{
"kind": "OBJECT",
- "name": "UpdateRateSheetMutation",
+ "name": "UpdateCustomsTemplateMutation",
"description": null,
"fields": [
{
@@ -27573,155 +19658,158 @@
"deprecationReason": null
},
{
- "name": "rate_sheet",
+ "name": "template",
"description": null,
"args": [],
"type": {
- "kind": "OBJECT",
- "name": "RateSheetType",
+ "kind": "OBJECT",
+ "name": "CustomsTemplateType",
+ "ofType": null
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ }
+ ],
+ "inputFields": null,
+ "interfaces": [],
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "INPUT_OBJECT",
+ "name": "CreateParcelTemplateInput",
+ "description": null,
+ "fields": null,
+ "inputFields": [
+ {
+ "name": "label",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "parcel",
+ "description": null,
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "ParcelInput",
+ "ofType": null
+ }
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "is_default",
+ "description": null,
+ "type": {
+ "kind": "SCALAR",
+ "name": "Boolean",
"ofType": null
},
- "isDeprecated": false,
- "deprecationReason": null
+ "defaultValue": null
}
],
- "inputFields": null,
- "interfaces": [],
+ "interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
- "name": "CreateWebhookMutationInput",
+ "name": "ParcelInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "url",
+ "name": "weight",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Float",
"ofType": null
}
},
"defaultValue": null
},
{
- "name": "enabled_events",
+ "name": "weight_unit",
"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": "ENUM",
+ "name": "WeightUnitEnum",
+ "ofType": null
}
},
"defaultValue": null
},
{
- "name": "description",
+ "name": "width",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "disabled",
+ "name": "height",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Boolean",
+ "name": "Float",
"ofType": null
},
- "defaultValue": "false"
- }
- ],
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "OBJECT",
- "name": "CreateWebhookMutation",
- "description": null,
- "fields": [
+ "defaultValue": null
+ },
{
- "name": "errors",
+ "name": "length",
"description": null,
- "args": [],
"type": {
- "kind": "LIST",
- "name": null,
- "ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "OBJECT",
- "name": "ErrorType",
- "ofType": null
- }
- }
+ "kind": "SCALAR",
+ "name": "Float",
+ "ofType": null
},
- "isDeprecated": false,
- "deprecationReason": null
+ "defaultValue": null
},
{
- "name": "webhook",
+ "name": "packaging_type",
"description": null,
- "args": [],
"type": {
- "kind": "OBJECT",
- "name": "WebhookType",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
},
- "isDeprecated": false,
- "deprecationReason": null
- }
- ],
- "inputFields": null,
- "interfaces": [],
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "INPUT_OBJECT",
- "name": "UpdateWebhookMutationInput",
- "description": null,
- "fields": null,
- "inputFields": [
+ "defaultValue": null
+ },
{
- "name": "id",
+ "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": "url",
+ "name": "description",
"description": null,
"type": {
"kind": "SCALAR",
@@ -27731,29 +19819,37 @@
"defaultValue": null
},
{
- "name": "enabled_events",
+ "name": "content",
"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": "is_document",
+ "description": null,
+ "type": {
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "dimension_unit",
+ "description": null,
+ "type": {
+ "kind": "ENUM",
+ "name": "DimensionUnitEnum",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "reference_number",
"description": null,
"type": {
"kind": "SCALAR",
@@ -27763,14 +19859,32 @@
"defaultValue": null
},
{
- "name": "disabled",
+ "name": "freight_class",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Boolean",
+ "name": "String",
"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,
@@ -27779,7 +19893,7 @@
},
{
"kind": "OBJECT",
- "name": "UpdateWebhookMutation",
+ "name": "CreateParcelTemplateMutation",
"description": null,
"fields": [
{
@@ -27803,12 +19917,12 @@
"deprecationReason": null
},
{
- "name": "webhook",
+ "name": "template",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "WebhookType",
+ "name": "ParcelTemplateType",
"ofType": null
},
"isDeprecated": false,
@@ -27822,176 +19936,127 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "CreateOrderMutationInput",
+ "name": "UpdateParcelTemplateInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "shipping_to",
+ "name": "label",
"description": null,
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "AddressInput",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "line_items",
+ "name": "parcel",
"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": "INPUT_OBJECT",
+ "name": "UpdateParcelInput",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "order_id",
+ "name": "is_default",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Boolean",
"ofType": null
},
"defaultValue": null
},
{
- "name": "order_date",
+ "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
- },
+ }
+ ],
+ "interfaces": null,
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateParcelInput",
+ "description": null,
+ "fields": null,
+ "inputFields": [
{
- "name": "shipping_from",
+ "name": "weight",
"description": null,
"type": {
- "kind": "INPUT_OBJECT",
- "name": "AddressInput",
+ "kind": "SCALAR",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "billing_address",
+ "name": "weight_unit",
"description": null,
"type": {
- "kind": "INPUT_OBJECT",
- "name": "AddressInput",
+ "kind": "ENUM",
+ "name": "WeightUnitEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "metadata",
+ "name": "width",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "JSON",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "options",
+ "name": "height",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "JSON",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
- }
- ],
- "interfaces": null,
- "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",
+ "name": "length",
"description": null,
- "args": [],
"type": {
- "kind": "OBJECT",
- "name": "OrderType",
+ "kind": "SCALAR",
+ "name": "Float",
"ofType": null
},
- "isDeprecated": false,
- "deprecationReason": null
- }
- ],
- "inputFields": null,
- "interfaces": [],
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "INPUT_OBJECT",
- "name": "UpdateOrderMutationInput",
- "description": null,
- "fields": null,
- "inputFields": [
+ "defaultValue": null
+ },
{
- "name": "id",
+ "name": "packaging_type",
"description": null,
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "order_id",
+ "name": "package_preset",
"description": null,
"type": {
"kind": "SCALAR",
@@ -28001,7 +20066,7 @@
"defaultValue": null
},
{
- "name": "order_date",
+ "name": "description",
"description": null,
"type": {
"kind": "SCALAR",
@@ -28011,57 +20076,57 @@
"defaultValue": null
},
{
- "name": "shipping_to",
+ "name": "content",
"description": null,
"type": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateAddressInput",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "shipping_from",
+ "name": "is_document",
"description": null,
"type": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateAddressInput",
+ "kind": "SCALAR",
+ "name": "Boolean",
"ofType": null
},
"defaultValue": null
},
{
- "name": "billing_address",
+ "name": "dimension_unit",
"description": null,
"type": {
- "kind": "INPUT_OBJECT",
- "name": "UpdateAddressInput",
+ "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": "options",
+ "name": "freight_class",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "JSON",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "line_items",
+ "name": "items",
"description": null,
"type": {
"kind": "LIST",
@@ -28077,72 +20142,14 @@
}
},
"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",
- "description": null,
- "fields": null,
- "inputFields": [
{
"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
}
@@ -28153,7 +20160,7 @@
},
{
"kind": "OBJECT",
- "name": "DeleteOrderMutation",
+ "name": "UpdateParcelTemplateMutation",
"description": null,
"fields": [
{
@@ -28177,12 +20184,12 @@
"deprecationReason": null
},
{
- "name": "id",
+ "name": "template",
"description": null,
"args": [],
"type": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "ParcelTemplateType",
"ofType": null
},
"isDeprecated": false,
@@ -28196,26 +20203,26 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "CreateDocumentTemplateMutationInput",
+ "name": "CreateCarrierConnectionMutationInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "slug",
+ "name": "carrier_name",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "ENUM",
+ "name": "CarrierNameEnum",
"ofType": null
}
},
"defaultValue": null
},
{
- "name": "name",
+ "name": "carrier_id",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -28229,14 +20236,14 @@
"defaultValue": null
},
{
- "name": "template",
+ "name": "credentials",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
- "name": "String",
+ "name": "JSON",
"ofType": null
}
},
@@ -28253,11 +20260,11 @@
"defaultValue": "true"
},
{
- "name": "description",
+ "name": "config",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "JSON",
"ofType": null
},
"defaultValue": null
@@ -28273,12 +20280,20 @@
"defaultValue": null
},
{
- "name": "related_object",
+ "name": "capabilities",
"description": null,
"type": {
- "kind": "ENUM",
- "name": "TemplateRelatedObject",
- "ofType": null
+ "kind": "LIST",
+ "name": null,
+ "ofType": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
+ }
},
"defaultValue": null
}
@@ -28289,7 +20304,7 @@
},
{
"kind": "OBJECT",
- "name": "CreateDocumentTemplateMutation",
+ "name": "CreateCarrierConnectionMutation",
"description": null,
"fields": [
{
@@ -28313,13 +20328,17 @@
"deprecationReason": null
},
{
- "name": "template",
+ "name": "connection",
"description": null,
"args": [],
"type": {
- "kind": "OBJECT",
- "name": "DocumentTemplateType",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "CarrierConnectionType",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
@@ -28332,7 +20351,7 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "UpdateDocumentTemplateMutationInput",
+ "name": "UpdateCarrierConnectionMutationInput",
"description": null,
"fields": null,
"inputFields": [
@@ -28351,17 +20370,17 @@
"defaultValue": null
},
{
- "name": "slug",
+ "name": "active",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Boolean",
"ofType": null
},
- "defaultValue": null
+ "defaultValue": "true"
},
{
- "name": "name",
+ "name": "carrier_id",
"description": null,
"type": {
"kind": "SCALAR",
@@ -28371,42 +20390,50 @@
"defaultValue": null
},
{
- "name": "template",
+ "name": "credentials",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "JSON",
"ofType": null
},
"defaultValue": null
},
{
- "name": "active",
+ "name": "config",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Boolean",
+ "name": "JSON",
"ofType": null
},
"defaultValue": null
},
{
- "name": "description",
+ "name": "metadata",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "JSON",
"ofType": null
},
"defaultValue": null
},
{
- "name": "related_object",
+ "name": "capabilities",
"description": null,
"type": {
- "kind": "ENUM",
- "name": "TemplateRelatedObject",
- "ofType": null
+ "kind": "LIST",
+ "name": null,
+ "ofType": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
+ }
},
"defaultValue": null
}
@@ -28417,7 +20444,7 @@
},
{
"kind": "OBJECT",
- "name": "UpdateDocumentTemplateMutation",
+ "name": "UpdateCarrierConnectionMutation",
"description": null,
"fields": [
{
@@ -28441,13 +20468,17 @@
"deprecationReason": null
},
{
- "name": "template",
+ "name": "connection",
"description": null,
"args": [],
"type": {
- "kind": "OBJECT",
- "name": "DocumentTemplateType",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "OBJECT",
+ "name": "CarrierConnectionType",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
@@ -28460,26 +20491,12 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "CreateDataTemplateMutationInput",
+ "name": "SystemCarrierMutationInput",
"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",
+ "name": "id",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -28493,30 +20510,22 @@
"defaultValue": null
},
{
- "name": "fields_mapping",
+ "name": "enable",
"description": null,
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "JSON",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "resource_type",
+ "name": "config",
"description": null,
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "ENUM",
- "name": "ResourceStatus",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "JSON",
+ "ofType": null
},
"defaultValue": null
}
@@ -28527,7 +20536,7 @@
},
{
"kind": "OBJECT",
- "name": "CreateDataTemplateMutation",
+ "name": "SystemCarrierMutation",
"description": null,
"fields": [
{
@@ -28551,12 +20560,12 @@
"deprecationReason": null
},
{
- "name": "template",
+ "name": "carrier",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "DataTemplateType",
+ "name": "SystemConnectionType",
"ofType": null
},
"isDeprecated": false,
@@ -28570,7 +20579,7 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "UpdateDataTemplateMutationInput",
+ "name": "DeleteMutationInput",
"description": null,
"fields": null,
"inputFields": [
@@ -28587,46 +20596,6 @@
}
},
"defaultValue": null
- },
- {
- "name": "slug",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "name",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "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,
@@ -28635,7 +20604,7 @@
},
{
"kind": "OBJECT",
- "name": "UpdateDataTemplateMutation",
+ "name": "DeleteMutation",
"description": null,
"fields": [
{
@@ -28659,13 +20628,17 @@
"deprecationReason": null
},
{
- "name": "template",
+ "name": "id",
"description": null,
"args": [],
"type": {
- "kind": "OBJECT",
- "name": "DataTemplateType",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
@@ -28678,12 +20651,12 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "CreateAppMutationInput",
+ "name": "PartialShipmentMutationInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "display_name",
+ "name": "id",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -28697,49 +20670,57 @@
"defaultValue": null
},
{
- "name": "developer_name",
+ "name": "recipient",
"description": null,
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateAddressInput",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "launch_url",
+ "name": "shipper",
"description": null,
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateAddressInput",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "is_embedded",
+ "name": "return_address",
"description": null,
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "Boolean",
- "ofType": null
- }
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateAddressInput",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "features",
+ "name": "billing_address",
+ "description": null,
+ "type": {
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateAddressInput",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "customs",
+ "description": null,
+ "type": {
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateCustomsInput",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "parcels",
"description": null,
"type": {
"kind": "LIST",
@@ -28748,8 +20729,8 @@
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateParcelInput",
"ofType": null
}
}
@@ -28757,35 +20738,92 @@
"defaultValue": null
},
{
- "name": "redirect_uris",
+ "name": "payment",
+ "description": null,
+ "type": {
+ "kind": "INPUT_OBJECT",
+ "name": "PaymentInput",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "label_type",
+ "description": null,
+ "type": {
+ "kind": "ENUM",
+ "name": "LabelTypeEnum",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "metadata",
+ "description": null,
+ "type": {
+ "kind": "SCALAR",
+ "name": "JSON",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "options",
+ "description": null,
+ "type": {
+ "kind": "SCALAR",
+ "name": "JSON",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "reference",
+ "description": null,
+ "type": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ },
+ "defaultValue": null
+ }
+ ],
+ "interfaces": null,
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "INPUT_OBJECT",
+ "name": "PaymentInput",
+ "description": null,
+ "fields": null,
+ "inputFields": [
+ {
+ "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
},
{
- "name": "is_public",
+ "name": "paid_by",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "Boolean",
+ "kind": "ENUM",
+ "name": "PaidByEnum",
"ofType": null
},
- "defaultValue": "false"
+ "defaultValue": null
},
{
- "name": "metadata",
+ "name": "currency",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "JSON",
+ "kind": "ENUM",
+ "name": "CurrencyCodeEnum",
"ofType": null
},
"defaultValue": null
@@ -28797,7 +20835,7 @@
},
{
"kind": "OBJECT",
- "name": "CreateAppMutation",
+ "name": "PartialShipmentMutation",
"description": null,
"fields": [
{
@@ -28821,24 +20859,12 @@
"deprecationReason": null
},
{
- "name": "app",
+ "name": "shipment",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "AppType",
- "ofType": null
- },
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "client_secret",
- "description": null,
- "args": [],
- "type": {
- "kind": "SCALAR",
- "name": "String",
+ "name": "ShipmentType",
"ofType": null
},
"isDeprecated": false,
@@ -28852,7 +20878,7 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "UpdateAppMutationInput",
+ "name": "MetadataMutationInput",
"description": null,
"fields": null,
"inputFields": [
@@ -28871,47 +20897,35 @@
"defaultValue": null
},
{
- "name": "display_name",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "developer_name",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "launch_url",
+ "name": "object_type",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "ENUM",
+ "name": "MetadataObjectTypeEnum",
+ "ofType": null
+ }
},
"defaultValue": null
},
{
- "name": "is_embedded",
+ "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": "features",
+ "name": "discarded_keys",
"description": null,
"type": {
"kind": "LIST",
@@ -28927,45 +20941,56 @@
}
},
"defaultValue": null
+ }
+ ],
+ "interfaces": null,
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "ENUM",
+ "name": "MetadataObjectTypeEnum",
+ "description": null,
+ "fields": null,
+ "inputFields": null,
+ "interfaces": null,
+ "enumValues": [
+ {
+ "name": "carrier",
+ "description": null,
+ "isDeprecated": false,
+ "deprecationReason": null
},
{
- "name": "redirect_uris",
+ "name": "commodity",
"description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
+ "isDeprecated": false,
+ "deprecationReason": null
},
{
- "name": "is_public",
+ "name": "shipment",
"description": null,
- "type": {
- "kind": "SCALAR",
- "name": "Boolean",
- "ofType": null
- },
- "defaultValue": "false"
+ "isDeprecated": false,
+ "deprecationReason": null
},
{
- "name": "metadata",
+ "name": "tracker",
"description": null,
- "type": {
- "kind": "SCALAR",
- "name": "JSON",
- "ofType": null
- },
- "defaultValue": null
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "order",
+ "description": null,
+ "isDeprecated": false,
+ "deprecationReason": null
}
],
- "interfaces": null,
- "enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
- "name": "UpdateAppMutation",
+ "name": "MetadataMutation",
"description": null,
"fields": [
{
@@ -28989,13 +21014,33 @@
"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
+ },
+ {
+ "name": "metadata",
+ "description": null,
+ "args": [],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "JSON",
+ "ofType": null
+ }
},
"isDeprecated": false,
"deprecationReason": null
@@ -29008,12 +21053,12 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "InstallAppMutationInput",
+ "name": "ChangeShipmentStatusMutationInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "app_id",
+ "name": "id",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -29027,11 +21072,11 @@
"defaultValue": null
},
{
- "name": "metadata",
+ "name": "status",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "JSON",
+ "kind": "ENUM",
+ "name": "ManualShipmentStatusEnum",
"ofType": null
},
"defaultValue": null
@@ -29042,76 +21087,43 @@
"possibleTypes": null
},
{
- "kind": "OBJECT",
- "name": "InstallAppMutation",
+ "kind": "ENUM",
+ "name": "ManualShipmentStatusEnum",
"description": null,
- "fields": [
+ "fields": null,
+ "inputFields": null,
+ "interfaces": null,
+ "enumValues": [
{
- "name": "errors",
+ "name": "in_transit",
"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": "installation",
+ "name": "needs_attention",
"description": null,
- "args": [],
- "type": {
- "kind": "OBJECT",
- "name": "AppInstallationType",
- "ofType": null
- },
"isDeprecated": false,
"deprecationReason": null
- }
- ],
- "inputFields": null,
- "interfaces": [],
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "INPUT_OBJECT",
- "name": "UninstallAppMutationInput",
- "description": null,
- "fields": null,
- "inputFields": [
+ },
{
- "name": "app_id",
+ "name": "delivery_failed",
"description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- },
- "defaultValue": null
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "delivered",
+ "description": null,
+ "isDeprecated": false,
+ "deprecationReason": null
}
],
- "interfaces": null,
- "enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
- "name": "UninstallAppMutation",
+ "name": "ChangeShipmentStatusMutation",
"description": null,
"fields": [
{
@@ -29135,12 +21147,12 @@
"deprecationReason": null
},
{
- "name": "app",
+ "name": "shipment",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "AppType",
+ "name": "ShipmentType",
"ofType": null
},
"isDeprecated": false,
@@ -29154,7 +21166,7 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "CreateWorkflowMutationInput",
+ "name": "CreateRateSheetMutationInput",
"description": null,
"fields": null,
"inputFields": [
@@ -29173,69 +21185,39 @@
"defaultValue": null
},
{
- "name": "action_nodes",
+ "name": "carrier_name",
"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
- }
- }
+ "kind": "ENUM",
+ "name": "CarrierNameEnum",
+ "ofType": null
}
},
"defaultValue": null
},
{
- "name": "description",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "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",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "trigger",
+ "name": "services",
"description": null,
"type": {
- "kind": "INPUT_OBJECT",
- "name": "PartialWorkflowTriggerMutationInput",
- "ofType": null
+ "kind": "LIST",
+ "name": null,
+ "ofType": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "CreateServiceLevelInput",
+ "ofType": null
+ }
+ }
},
"defaultValue": null
},
{
- "name": "actions",
+ "name": "carriers",
"description": null,
"type": {
"kind": "LIST",
@@ -29244,8 +21226,8 @@
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "INPUT_OBJECT",
- "name": "PartialWorkflowActionMutationInput",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
}
}
@@ -29259,168 +21241,76 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "ActionNodeInput",
+ "name": "CreateServiceLevelInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "order",
+ "name": "service_name",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
- "name": "Int",
+ "name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
- "name": "slug",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "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",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "trigger_type",
- "description": null,
- "type": {
- "kind": "ENUM",
- "name": "AutomationTriggerType",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "schedule",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "secret",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "secret_key",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "template_slug",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- }
- ],
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "INPUT_OBJECT",
- "name": "PartialWorkflowActionMutationInput",
- "description": null,
- "fields": null,
- "inputFields": [
- {
- "name": "name",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "action_type",
+ "name": "service_code",
"description": null,
"type": {
- "kind": "ENUM",
- "name": "AutomationActionType",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ }
},
"defaultValue": null
},
{
- "name": "port",
+ "name": "currency",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "Int",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "ENUM",
+ "name": "CurrencyCodeEnum",
+ "ofType": null
+ }
},
"defaultValue": null
},
{
- "name": "host",
+ "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": "endpoint",
+ "name": "carrier_service_code",
"description": null,
"type": {
"kind": "SCALAR",
@@ -29440,184 +21330,117 @@
"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": "active",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "content_type",
- "description": null,
- "type": {
- "kind": "ENUM",
- "name": "AutomationHTTPContentType",
+ "name": "Boolean",
"ofType": null
},
"defaultValue": null
},
{
- "name": "metadata",
+ "name": "transit_days",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "JSON",
+ "name": "Int",
"ofType": null
},
"defaultValue": null
},
{
- "name": "template_slug",
+ "name": "transit_time",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "metafields",
+ "name": "max_width",
"description": null,
"type": {
- "kind": "LIST",
- "name": null,
- "ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "MetafieldInput",
- "ofType": null
- }
- }
+ "kind": "SCALAR",
+ "name": "Float",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "connection",
+ "name": "max_height",
"description": null,
"type": {
- "kind": "INPUT_OBJECT",
- "name": "PartialWorkflowConnectionMutationInput",
+ "kind": "SCALAR",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "id",
+ "name": "max_length",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "slug",
+ "name": "dimension_unit",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "ENUM",
+ "name": "DimensionUnitEnum",
"ofType": null
},
"defaultValue": null
- }
- ],
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "INPUT_OBJECT",
- "name": "MetafieldInput",
- "description": null,
- "fields": null,
- "inputFields": [
+ },
{
- "name": "key",
+ "name": "min_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": "type",
+ "name": "max_weight",
"description": null,
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "ENUM",
- "name": "MetafieldTypeEnum",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "Float",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "value",
+ "name": "weight_unit",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "ENUM",
+ "name": "WeightUnitEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "namespace",
+ "name": "domicile",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Boolean",
"ofType": null
},
"defaultValue": null
},
{
- "name": "is_required",
+ "name": "international",
"description": null,
"type": {
"kind": "SCALAR",
@@ -29627,11 +21450,11 @@
"defaultValue": null
},
{
- "name": "id",
+ "name": "metadata",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "JSON",
"ofType": null
},
"defaultValue": null
@@ -29643,122 +21466,124 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "PartialWorkflowConnectionMutationInput",
+ "name": "ServiceZoneInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "name",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "auth_type",
+ "name": "rate",
"description": null,
"type": {
- "kind": "ENUM",
- "name": "AutomationAuthType",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "Float",
+ "ofType": null
+ }
},
"defaultValue": null
},
{
- "name": "port",
+ "name": "label",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Int",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "host",
+ "name": "min_weight",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "endpoint",
+ "name": "max_weight",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "description",
+ "name": "transit_days",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Int",
"ofType": null
},
"defaultValue": null
},
{
- "name": "credentials",
+ "name": "transit_time",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "JSON",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "auth_template",
+ "name": "radius",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "metadata",
+ "name": "latitude",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "JSON",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "parameters_template",
+ "name": "longitude",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "template_slug",
+ "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": "metafields",
+ "name": "postal_codes",
"description": null,
"type": {
"kind": "LIST",
@@ -29767,8 +21592,8 @@
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "INPUT_OBJECT",
- "name": "MetafieldInput",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
}
}
@@ -29776,12 +21601,20 @@
"defaultValue": null
},
{
- "name": "id",
+ "name": "country_codes",
"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
}
@@ -29792,7 +21625,7 @@
},
{
"kind": "OBJECT",
- "name": "CreateWorkflowMutation",
+ "name": "CreateRateSheetMutation",
"description": null,
"fields": [
{
@@ -29816,12 +21649,12 @@
"deprecationReason": null
},
{
- "name": "workflow",
+ "name": "rate_sheet",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "WorkflowType",
+ "name": "RateSheetType",
"ofType": null
},
"isDeprecated": false,
@@ -29835,7 +21668,7 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "UpdateWorkflowMutationInput",
+ "name": "UpdateRateSheetMutationInput",
"description": null,
"fields": null,
"inputFields": [
@@ -29864,27 +21697,7 @@
"defaultValue": null
},
{
- "name": "description",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "metadata",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "JSON",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "action_nodes",
+ "name": "services",
"description": null,
"type": {
"kind": "LIST",
@@ -29894,7 +21707,7 @@
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
- "name": "ActionNodeInput",
+ "name": "UpdateServiceLevelInput",
"ofType": null
}
}
@@ -29902,57 +21715,8 @@
"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",
- "description": null,
- "type": {
- "kind": "LIST",
- "name": null,
- "ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "PartialWorkflowActionMutationInput",
- "ofType": null
- }
- }
- },
- "defaultValue": null
- }
- ],
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "OBJECT",
- "name": "UpdateWorkflowMutation",
- "description": null,
- "fields": [
- {
- "name": "errors",
+ "name": "carriers",
"description": null,
- "args": [],
"type": {
"kind": "LIST",
"name": null,
@@ -29960,89 +21724,75 @@
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "OBJECT",
- "name": "ErrorType",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
}
}
},
- "isDeprecated": false,
- "deprecationReason": null
- },
- {
- "name": "workflow",
- "description": null,
- "args": [],
- "type": {
- "kind": "OBJECT",
- "name": "WorkflowType",
- "ofType": null
- },
- "isDeprecated": false,
- "deprecationReason": null
+ "defaultValue": null
}
],
- "inputFields": null,
- "interfaces": [],
+ "interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
- "name": "CreateWorkflowActionMutationInput",
+ "name": "UpdateServiceLevelInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "name",
+ "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": "action_type",
+ "name": "service_code",
"description": null,
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "ENUM",
- "name": "AutomationActionType",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "port",
+ "name": "currency",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "Int",
+ "kind": "ENUM",
+ "name": "CurrencyCodeEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "host",
+ "name": "zones",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
+ "kind": "LIST",
+ "name": null,
+ "ofType": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateServiceZoneInput",
+ "ofType": null
+ }
+ }
},
"defaultValue": null
},
{
- "name": "endpoint",
+ "name": "carrier_service_code",
"description": null,
"type": {
"kind": "SCALAR",
@@ -30062,258 +21812,168 @@
"defaultValue": null
},
{
- "name": "method",
+ "name": "active",
"description": null,
"type": {
- "kind": "ENUM",
- "name": "AutomationHTTPMethod",
+ "kind": "SCALAR",
+ "name": "Boolean",
"ofType": null
},
"defaultValue": null
},
{
- "name": "parameters_type",
+ "name": "transit_days",
"description": null,
"type": {
- "kind": "ENUM",
- "name": "AutomationParametersType",
+ "kind": "SCALAR",
+ "name": "Int",
"ofType": null
},
"defaultValue": null
},
{
- "name": "parameters_template",
+ "name": "transit_time",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "header_template",
+ "name": "max_width",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "content_type",
+ "name": "max_height",
"description": null,
"type": {
- "kind": "ENUM",
- "name": "AutomationHTTPContentType",
+ "kind": "SCALAR",
+ "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": "template_slug",
+ "name": "dimension_unit",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "ENUM",
+ "name": "DimensionUnitEnum",
"ofType": null
},
"defaultValue": null
},
{
- "name": "metafields",
+ "name": "min_weight",
"description": null,
"type": {
- "kind": "LIST",
- "name": null,
- "ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "CreateMetafieldInput",
- "ofType": null
- }
- }
+ "kind": "SCALAR",
+ "name": "Float",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "connection",
+ "name": "max_weight",
"description": null,
"type": {
- "kind": "INPUT_OBJECT",
- "name": "PartialWorkflowConnectionMutationInput",
+ "kind": "SCALAR",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
- }
- ],
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "INPUT_OBJECT",
- "name": "CreateMetafieldInput",
- "description": null,
- "fields": null,
- "inputFields": [
- {
- "name": "key",
- "description": null,
- "type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
- },
- "defaultValue": null
},
{
- "name": "type",
+ "name": "weight_unit",
"description": null,
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "ENUM",
- "name": "MetafieldTypeEnum",
- "ofType": null
- }
+ "kind": "ENUM",
+ "name": "WeightUnitEnum",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "value",
+ "name": "domicile",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Boolean",
"ofType": null
},
"defaultValue": null
},
{
- "name": "namespace",
+ "name": "international",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Boolean",
"ofType": null
},
"defaultValue": null
},
{
- "name": "is_required",
+ "name": "metadata",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Boolean",
+ "name": "JSON",
"ofType": null
},
"defaultValue": null
- }
- ],
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "OBJECT",
- "name": "CreateWorkflowActionMutation",
- "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_action",
+ "name": "id",
"description": null,
- "args": [],
"type": {
- "kind": "OBJECT",
- "name": "WorkflowActionType",
+ "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": "UpdateWorkflowActionMutationInput",
+ "name": "UpdateServiceZoneInput",
"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",
+ "name": "rate",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Int",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "host",
+ "name": "label",
"description": null,
"type": {
"kind": "SCALAR",
@@ -30323,97 +21983,95 @@
"defaultValue": null
},
{
- "name": "endpoint",
+ "name": "min_weight",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "description",
+ "name": "max_weight",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "method",
- "description": null,
- "type": {
- "kind": "ENUM",
- "name": "AutomationHTTPMethod",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "parameters_type",
+ "name": "transit_days",
"description": null,
"type": {
- "kind": "ENUM",
- "name": "AutomationParametersType",
+ "kind": "SCALAR",
+ "name": "Int",
"ofType": null
},
"defaultValue": null
},
{
- "name": "parameters_template",
+ "name": "transit_time",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "header_template",
+ "name": "radius",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "content_type",
+ "name": "latitude",
"description": null,
"type": {
- "kind": "ENUM",
- "name": "AutomationHTTPContentType",
+ "kind": "SCALAR",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "metadata",
+ "name": "longitude",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "JSON",
+ "name": "Float",
"ofType": null
},
"defaultValue": null
},
{
- "name": "template_slug",
+ "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": "metafields",
+ "name": "postal_codes",
"description": null,
"type": {
"kind": "LIST",
@@ -30422,8 +22080,8 @@
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "INPUT_OBJECT",
- "name": "MetafieldInput",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
}
}
@@ -30431,25 +22089,19 @@
"defaultValue": null
},
{
- "name": "connection",
- "description": null,
- "type": {
- "kind": "INPUT_OBJECT",
- "name": "PartialWorkflowConnectionMutationInput",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "id",
+ "name": "country_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
@@ -30461,7 +22113,7 @@
},
{
"kind": "OBJECT",
- "name": "UpdateWorkflowActionMutation",
+ "name": "UpdateRateSheetMutation",
"description": null,
"fields": [
{
@@ -30485,12 +22137,12 @@
"deprecationReason": null
},
{
- "name": "workflow_action",
+ "name": "rate_sheet",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "WorkflowActionType",
+ "name": "RateSheetType",
"ofType": null
},
"isDeprecated": false,
@@ -30504,12 +22156,12 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "CreateWorkflowConnectionMutationInput",
+ "name": "CreateWebhookMutationInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "name",
+ "name": "url",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -30523,71 +22175,117 @@
"defaultValue": null
},
{
- "name": "auth_type",
+ "name": "enabled_events",
"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": "ENUM",
+ "name": "EventTypes",
+ "ofType": null
+ }
+ }
}
},
"defaultValue": null
},
{
- "name": "port",
+ "name": "description",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "Int",
+ "name": "String",
"ofType": null
},
"defaultValue": null
},
{
- "name": "host",
+ "name": "disabled",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Boolean",
"ofType": null
},
- "defaultValue": null
- },
+ "defaultValue": "false"
+ }
+ ],
+ "interfaces": null,
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "OBJECT",
+ "name": "CreateWebhookMutation",
+ "description": null,
+ "fields": [
{
- "name": "endpoint",
+ "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": "description",
+ "name": "webhook",
"description": null,
+ "args": [],
"type": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "OBJECT",
+ "name": "WebhookType",
"ofType": null
},
- "defaultValue": null
- },
+ "isDeprecated": false,
+ "deprecationReason": null
+ }
+ ],
+ "inputFields": null,
+ "interfaces": [],
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateWebhookMutationInput",
+ "description": null,
+ "fields": null,
+ "inputFields": [
{
- "name": "credentials",
+ "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": "auth_template",
+ "name": "url",
"description": null,
"type": {
"kind": "SCALAR",
@@ -30597,17 +22295,29 @@
"defaultValue": null
},
{
- "name": "metadata",
+ "name": "enabled_events",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "JSON",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "LIST",
+ "name": null,
+ "ofType": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "ENUM",
+ "name": "EventTypes",
+ "ofType": null
+ }
+ }
+ }
},
"defaultValue": null
},
{
- "name": "parameters_template",
+ "name": "description",
"description": null,
"type": {
"kind": "SCALAR",
@@ -30617,32 +22327,14 @@
"defaultValue": null
},
{
- "name": "template_slug",
+ "name": "disabled",
"description": null,
"type": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Boolean",
"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,
@@ -30651,7 +22343,7 @@
},
{
"kind": "OBJECT",
- "name": "CreateWorkflowConnectionMutation",
+ "name": "UpdateWebhookMutation",
"description": null,
"fields": [
{
@@ -30675,12 +22367,12 @@
"deprecationReason": null
},
{
- "name": "workflow_connection",
+ "name": "webhook",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "WorkflowConnectionType",
+ "name": "WebhookType",
"ofType": null
},
"isDeprecated": false,
@@ -30694,62 +22386,48 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "UpdateWorkflowConnectionMutationInput",
+ "name": "CreateOrderMutationInput",
"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",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "Int",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "host",
+ "name": "shipping_to",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "AddressInput",
+ "ofType": null
+ }
},
"defaultValue": null
},
{
- "name": "endpoint",
+ "name": "line_items",
"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": "CommodityInput",
+ "ofType": null
+ }
+ }
+ }
},
"defaultValue": null
},
{
- "name": "description",
+ "name": "order_id",
"description": null,
"type": {
"kind": "SCALAR",
@@ -30759,17 +22437,7 @@
"defaultValue": null
},
{
- "name": "credentials",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "JSON",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "auth_template",
+ "name": "order_date",
"description": null,
"type": {
"kind": "SCALAR",
@@ -30779,64 +22447,42 @@
"defaultValue": null
},
{
- "name": "metadata",
- "description": null,
- "type": {
- "kind": "SCALAR",
- "name": "JSON",
- "ofType": null
- },
- "defaultValue": null
- },
- {
- "name": "parameters_template",
+ "name": "shipping_from",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "INPUT_OBJECT",
+ "name": "AddressInput",
"ofType": null
},
"defaultValue": null
},
{
- "name": "template_slug",
+ "name": "billing_address",
"description": null,
"type": {
- "kind": "SCALAR",
- "name": "String",
+ "kind": "INPUT_OBJECT",
+ "name": "AddressInput",
"ofType": null
},
"defaultValue": null
},
{
- "name": "metafields",
+ "name": "metadata",
"description": null,
"type": {
- "kind": "LIST",
- "name": null,
- "ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "INPUT_OBJECT",
- "name": "MetafieldInput",
- "ofType": null
- }
- }
+ "kind": "SCALAR",
+ "name": "JSON",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "id",
+ "name": "options",
"description": null,
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "JSON",
+ "ofType": null
},
"defaultValue": null
}
@@ -30847,7 +22493,7 @@
},
{
"kind": "OBJECT",
- "name": "UpdateWorkflowConnectionMutation",
+ "name": "CreateOrderMutation",
"description": null,
"fields": [
{
@@ -30871,12 +22517,12 @@
"deprecationReason": null
},
{
- "name": "workflow_connection",
+ "name": "order",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "WorkflowConnectionType",
+ "name": "OrderType",
"ofType": null
},
"isDeprecated": false,
@@ -30890,12 +22536,12 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "CreateWorkflowEventMutationInput",
+ "name": "UpdateOrderMutationInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "workflow_id",
+ "name": "id",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -30909,21 +22555,67 @@
"defaultValue": null
},
{
- "name": "event_type",
+ "name": "order_id",
"description": null,
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "ENUM",
- "name": "AutomationEventType",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "order_date",
+ "description": null,
+ "type": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "shipping_to",
+ "description": null,
+ "type": {
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateAddressInput",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "shipping_from",
+ "description": null,
+ "type": {
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateAddressInput",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "billing_address",
+ "description": null,
+ "type": {
+ "kind": "INPUT_OBJECT",
+ "name": "UpdateAddressInput",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "metadata",
+ "description": null,
+ "type": {
+ "kind": "SCALAR",
+ "name": "JSON",
+ "ofType": null
},
"defaultValue": null
},
{
- "name": "parameters",
+ "name": "options",
"description": null,
"type": {
"kind": "SCALAR",
@@ -30931,6 +22623,24 @@
"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,
@@ -30939,7 +22649,7 @@
},
{
"kind": "OBJECT",
- "name": "CreateWorkflowEventMutation",
+ "name": "UpdateOrderMutation",
"description": null,
"fields": [
{
@@ -30963,12 +22673,12 @@
"deprecationReason": null
},
{
- "name": "workflow_event",
+ "name": "order",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "WorkflowEventType",
+ "name": "OrderType",
"ofType": null
},
"isDeprecated": false,
@@ -30982,7 +22692,7 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "CancelWorkflowEventMutationInput",
+ "name": "DeleteOrderMutationInput",
"description": null,
"fields": null,
"inputFields": [
@@ -31007,7 +22717,7 @@
},
{
"kind": "OBJECT",
- "name": "CancelWorkflowEventMutation",
+ "name": "DeleteOrderMutation",
"description": null,
"fields": [
{
@@ -31031,12 +22741,12 @@
"deprecationReason": null
},
{
- "name": "workflow_event",
+ "name": "id",
"description": null,
"args": [],
"type": {
- "kind": "OBJECT",
- "name": "WorkflowEventType",
+ "kind": "SCALAR",
+ "name": "String",
"ofType": null
},
"isDeprecated": false,
@@ -31050,12 +22760,12 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "CreateWorkflowTriggerMutationInput",
+ "name": "CreateDocumentTemplateMutationInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "workflow_id",
+ "name": "slug",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -31069,31 +22779,45 @@
"defaultValue": null
},
{
- "name": "trigger_type",
+ "name": "name",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "ENUM",
- "name": "AutomationTriggerType",
+ "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": "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",
@@ -31103,21 +22827,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
@@ -31129,7 +22853,7 @@
},
{
"kind": "OBJECT",
- "name": "CreateWorkflowTriggerMutation",
+ "name": "CreateDocumentTemplateMutation",
"description": null,
"fields": [
{
@@ -31153,12 +22877,12 @@
"deprecationReason": null
},
{
- "name": "workflow_trigger",
+ "name": "template",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "WorkflowTriggerType",
+ "name": "DocumentTemplateType",
"ofType": null
},
"isDeprecated": false,
@@ -31172,7 +22896,7 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "UpdateWorkflowTriggerMutationInput",
+ "name": "UpdateDocumentTemplateMutationInput",
"description": null,
"fields": null,
"inputFields": [
@@ -31191,17 +22915,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",
@@ -31211,7 +22935,7 @@
"defaultValue": null
},
{
- "name": "secret",
+ "name": "template",
"description": null,
"type": {
"kind": "SCALAR",
@@ -31221,17 +22945,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",
@@ -31239,6 +22963,16 @@
"ofType": null
},
"defaultValue": null
+ },
+ {
+ "name": "related_object",
+ "description": null,
+ "type": {
+ "kind": "ENUM",
+ "name": "TemplateRelatedObject",
+ "ofType": null
+ },
+ "defaultValue": null
}
],
"interfaces": null,
@@ -31247,7 +22981,7 @@
},
{
"kind": "OBJECT",
- "name": "UpdateWorkflowTriggerMutation",
+ "name": "UpdateDocumentTemplateMutation",
"description": null,
"fields": [
{
@@ -31271,12 +23005,12 @@
"deprecationReason": null
},
{
- "name": "workflow_trigger",
+ "name": "template",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "WorkflowTriggerType",
+ "name": "DocumentTemplateType",
"ofType": null
},
"isDeprecated": false,
@@ -31290,10 +23024,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,
@@ -31307,6 +23055,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,
@@ -31315,7 +23091,7 @@
},
{
"kind": "OBJECT",
- "name": "CreateOrganizationMutation",
+ "name": "CreateDataTemplateMutation",
"description": null,
"fields": [
{
@@ -31339,12 +23115,12 @@
"deprecationReason": null
},
{
- "name": "organization",
+ "name": "template",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "OrganizationType",
+ "name": "DataTemplateType",
"ofType": null
},
"isDeprecated": false,
@@ -31358,7 +23134,7 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "UpdateOrganizationMutationInput",
+ "name": "UpdateDataTemplateMutationInput",
"description": null,
"fields": null,
"inputFields": [
@@ -31377,11 +23153,41 @@
"defaultValue": null
},
{
- "name": "name",
+ "name": "slug",
+ "description": null,
+ "type": {
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "name",
+ "description": null,
+ "type": {
+ "kind": "SCALAR",
+ "name": "String",
+ "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": "SCALAR",
- "name": "String",
+ "kind": "ENUM",
+ "name": "ResourceStatus",
"ofType": null
},
"defaultValue": null
@@ -31393,7 +23199,7 @@
},
{
"kind": "OBJECT",
- "name": "UpdateOrganizationMutation",
+ "name": "UpdateDataTemplateMutation",
"description": null,
"fields": [
{
@@ -31417,12 +23223,12 @@
"deprecationReason": null
},
{
- "name": "organization",
+ "name": "template",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "OrganizationType",
+ "name": "DataTemplateType",
"ofType": null
},
"isDeprecated": false,
@@ -31436,12 +23242,12 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "DeleteOrganizationMutationInput",
+ "name": "CreateAppMutationInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "id",
+ "name": "display_name",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -31455,7 +23261,7 @@
"defaultValue": null
},
{
- "name": "password",
+ "name": "developer_name",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -31467,91 +23273,55 @@
}
},
"defaultValue": null
- }
- ],
- "interfaces": null,
- "enumValues": null,
- "possibleTypes": null
- },
- {
- "kind": "OBJECT",
- "name": "DeleteOrganizationMutation",
- "description": null,
- "fields": [
+ },
{
- "name": "errors",
+ "name": "launch_url",
"description": null,
- "args": [],
"type": {
- "kind": "LIST",
+ "kind": "NON_NULL",
"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": "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": "is_embedded",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
- "name": "String",
+ "name": "Boolean",
"ofType": null
}
},
"defaultValue": null
},
{
- "name": "email",
+ "name": "features",
"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": "password",
+ "name": "redirect_uris",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -31563,6 +23333,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,
@@ -31571,7 +23361,7 @@
},
{
"kind": "OBJECT",
- "name": "ChangeOrganizationOwnerMutation",
+ "name": "CreateAppMutation",
"description": null,
"fields": [
{
@@ -31595,12 +23385,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,
@@ -31614,12 +23416,12 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "SetOrganizationUserRolesMutationInput",
+ "name": "UpdateAppMutationInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "org_id",
+ "name": "id",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -31633,40 +23435,92 @@
"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": "roles",
+ "name": "developer_name",
"description": null,
"type": {
- "kind": "NON_NULL",
+ "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": "features",
+ "description": null,
+ "type": {
+ "kind": "LIST",
"name": null,
"ofType": {
- "kind": "LIST",
+ "kind": "NON_NULL",
"name": null,
"ofType": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "ENUM",
- "name": "UserRole",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "String",
+ "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,
@@ -31675,7 +23529,7 @@
},
{
"kind": "OBJECT",
- "name": "SetOrganizationUserRolesMutation",
+ "name": "UpdateAppMutation",
"description": null,
"fields": [
{
@@ -31699,12 +23553,12 @@
"deprecationReason": null
},
{
- "name": "organization",
+ "name": "app",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "OrganizationType",
+ "name": "AppType",
"ofType": null
},
"isDeprecated": false,
@@ -31718,12 +23572,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",
@@ -31737,38 +23591,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
}
@@ -31779,7 +23607,7 @@
},
{
"kind": "OBJECT",
- "name": "SendOrganizationInvitesMutation",
+ "name": "InstallAppMutation",
"description": null,
"fields": [
{
@@ -31803,12 +23631,12 @@
"deprecationReason": null
},
{
- "name": "organization",
+ "name": "installation",
"description": null,
"args": [],
"type": {
"kind": "OBJECT",
- "name": "OrganizationType",
+ "name": "AppInstallationType",
"ofType": null
},
"isDeprecated": false,
@@ -31822,12 +23650,12 @@
},
{
"kind": "INPUT_OBJECT",
- "name": "AcceptOrganizationInvitationMutationInput",
+ "name": "UninstallAppMutationInput",
"description": null,
"fields": null,
"inputFields": [
{
- "name": "guid",
+ "name": "app_id",
"description": null,
"type": {
"kind": "NON_NULL",
@@ -31847,7 +23675,7 @@
},
{
"kind": "OBJECT",
- "name": "AcceptOrganizationInvitationMutation",
+ "name": "UninstallAppMutation",
"description": null,
"fields": [
{
@@ -31871,12 +23699,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 144ce10a91..7dc701fc82 100644
--- a/schemas/openapi.yml
+++ b/schemas/openapi.yml
@@ -11370,6 +11370,7 @@ tags:
| amazon_shipping | AmazonShipping |
| allied_express_local | Allied Express Local |
| allied_express | Allied Express |
+ | ninja_van | Ninja Van |
---
## Services
@@ -13001,6 +13002,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