diff --git a/packages/types/rest/api.ts b/packages/types/rest/api.ts index fa3b482d7a..7daf55076c 100644 --- a/packages/types/rest/api.ts +++ b/packages/types/rest/api.ts @@ -18,7 +18,7 @@ import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; // Some imports not used depending on template conditions // @ts-ignore -import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common'; +import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from './common'; import type { RequestArgs } from './base'; // @ts-ignore import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base'; @@ -360,7 +360,7 @@ export const AddressCountryCodeEnum = { Im: 'IM', Bl: 'BL', Mf: 'MF', - Sx: 'SX' + Sx: 'SX', } as const; export type AddressCountryCodeEnum = typeof AddressCountryCodeEnum[keyof typeof AddressCountryCodeEnum]; @@ -676,7 +676,7 @@ export const AddressDataCountryCodeEnum = { Im: 'IM', Bl: 'BL', Mf: 'MF', - Sx: 'SX' + Sx: 'SX', } as const; export type AddressDataCountryCodeEnum = typeof AddressDataCountryCodeEnum[keyof typeof AddressDataCountryCodeEnum]; @@ -697,27 +697,12 @@ export interface AddressValidation { */ 'meta'?: { [key: string]: any; } | null; } -export interface Aramex { - 'username': string; - 'password': string; - 'account_pin': string; - 'account_entity': string; - 'account_number': string; - 'account_country_code': string; -} export interface Asendia { 'username': string; 'password': string; 'customer_id'?: string | null; 'account_country_code'?: string | null; } -export interface AsendiaUs { - 'username': string; - 'password': string; - 'api_key': string; - 'account_number'?: string | null; - 'account_country_code'?: string | null; -} export interface Australiapost { 'api_key': string; 'password': string; @@ -744,7 +729,7 @@ export const BatchObjectStatusEnum = { Running: 'running', Failed: 'failed', Completed: 'completed', - CompletedWithErrors: 'completed_with_errors' + CompletedWithErrors: 'completed_with_errors', } as const; export type BatchObjectStatusEnum = typeof BatchObjectStatusEnum[keyof typeof BatchObjectStatusEnum]; @@ -767,7 +752,7 @@ export const BatchOperationStatusEnum = { Running: 'running', Failed: 'failed', Completed: 'completed', - CompletedWithErrors: 'completed_with_errors' + CompletedWithErrors: 'completed_with_errors', } as const; export type BatchOperationStatusEnum = typeof BatchOperationStatusEnum[keyof typeof BatchOperationStatusEnum]; @@ -775,7 +760,8 @@ export const BatchOperationResourceTypeEnum = { Orders: 'orders', Shipments: 'shipments', Trackers: 'trackers', - Billing: 'billing' + Billing: 'billing', + RateSheet: 'rate_sheet', } as const; export type BatchOperationResourceTypeEnum = typeof BatchOperationResourceTypeEnum[keyof typeof BatchOperationResourceTypeEnum]; @@ -812,7 +798,7 @@ export interface BatchWebhookResendRequest { export const BatchWebhookResendRequestObjectTypeEnum = { Tracker: 'tracker', - Shipment: 'shipment' + Shipment: 'shipment', } as const; export type BatchWebhookResendRequestObjectTypeEnum = typeof BatchWebhookResendRequestObjectTypeEnum[keyof typeof BatchWebhookResendRequestObjectTypeEnum]; @@ -832,16 +818,11 @@ export interface BatchWebhookResource { export const BatchWebhookResourceStatusEnum = { Queued: 'queued', - Failed: 'failed' + Failed: 'failed', } as const; export type BatchWebhookResourceStatusEnum = typeof BatchWebhookResourceStatusEnum[keyof typeof BatchWebhookResourceStatusEnum]; -export interface Boxknight { - 'username': string; - 'password': string; - 'account_country_code'?: string | null; -} export interface Bpost { 'account_id': string; 'passphrase': string; @@ -861,28 +842,11 @@ export interface Canadapost { export const CanadapostLanguageEnum = { En: 'en', - Fr: 'fr' + Fr: 'fr', } as const; export type CanadapostLanguageEnum = typeof CanadapostLanguageEnum[keyof typeof CanadapostLanguageEnum]; -export interface Canpar { - 'username': string; - 'password': string; - /** - * Indicates a language string - */ - 'language'?: CanparLanguageEnum; - 'account_country_code'?: string | null; -} - -export const CanparLanguageEnum = { - En: 'en', - Fr: 'fr' -} as const; - -export type CanparLanguageEnum = typeof CanparLanguageEnum[keyof typeof CanparLanguageEnum]; - /** * Response serializer for carrier connections. Note: Credentials are write-only and never returned in API responses. Use CarrierConnectionData for create and CarrierConnectionUpdateData for update. */ @@ -934,57 +898,35 @@ export interface CarrierConnection { } export const CarrierConnectionCarrierNameEnum = { - Aramex: 'aramex', Asendia: 'asendia', - 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', DpdMeta: 'dpd_meta', - Dtdc: 'dtdc', - Easypost: 'easypost', - Easyship: 'easyship', - Eshipper: 'eshipper', Fedex: 'fedex', - Freightcom: 'freightcom', Generic: 'generic', - Geodis: 'geodis', Gls: 'gls', - HayPost: 'hay_post', Hermes: 'hermes', Landmark: 'landmark', Laposte: 'laposte', - Locate2u: 'locate2u', Mydhl: 'mydhl', - Nationex: 'nationex', Parcelone: 'parcelone', Postat: 'postat', Purolator: 'purolator', - Roadie: 'roadie', - Royalmail: 'royalmail', - Sapient: 'sapient', Seko: 'seko', Sendle: 'sendle', - Shipengine: 'shipengine', + Smartkargo: 'smartkargo', Spring: 'spring', Teleship: 'teleship', - Tge: 'tge', - Tnt: 'tnt', Ups: 'ups', Usps: 'usps', UspsInternational: 'usps_international', - Veho: 'veho', - Zoom2u: 'zoom2u' } as const; export type CarrierConnectionCarrierNameEnum = typeof CarrierConnectionCarrierNameEnum[keyof typeof CarrierConnectionCarrierNameEnum]; @@ -1021,57 +963,35 @@ export interface CarrierConnectionData { } export const CarrierConnectionDataCarrierNameEnum = { - Aramex: 'aramex', Asendia: 'asendia', - 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', DpdMeta: 'dpd_meta', - Dtdc: 'dtdc', - Easypost: 'easypost', - Easyship: 'easyship', - Eshipper: 'eshipper', Fedex: 'fedex', - Freightcom: 'freightcom', Generic: 'generic', - Geodis: 'geodis', Gls: 'gls', - HayPost: 'hay_post', Hermes: 'hermes', Landmark: 'landmark', Laposte: 'laposte', - Locate2u: 'locate2u', Mydhl: 'mydhl', - Nationex: 'nationex', Parcelone: 'parcelone', Postat: 'postat', Purolator: 'purolator', - Roadie: 'roadie', - Royalmail: 'royalmail', - Sapient: 'sapient', Seko: 'seko', Sendle: 'sendle', - Shipengine: 'shipengine', + Smartkargo: 'smartkargo', Spring: 'spring', Teleship: 'teleship', - Tge: 'tge', - Tnt: 'tnt', Ups: 'ups', Usps: 'usps', UspsInternational: 'usps_international', - Veho: 'veho', - Zoom2u: 'zoom2u' } as const; export type CarrierConnectionDataCarrierNameEnum = typeof CarrierConnectionDataCarrierNameEnum[keyof typeof CarrierConnectionDataCarrierNameEnum]; @@ -1118,64 +1038,42 @@ export interface CarrierDetails { } export const CarrierDetailsCarrierNameEnum = { - Aramex: 'aramex', Asendia: 'asendia', - 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', DpdMeta: 'dpd_meta', - Dtdc: 'dtdc', - Easypost: 'easypost', - Easyship: 'easyship', - Eshipper: 'eshipper', Fedex: 'fedex', - Freightcom: 'freightcom', Generic: 'generic', - Geodis: 'geodis', Gls: 'gls', - HayPost: 'hay_post', Hermes: 'hermes', Landmark: 'landmark', Laposte: 'laposte', - Locate2u: 'locate2u', Mydhl: 'mydhl', - Nationex: 'nationex', Parcelone: 'parcelone', Postat: 'postat', Purolator: 'purolator', - Roadie: 'roadie', - Royalmail: 'royalmail', - Sapient: 'sapient', Seko: 'seko', Sendle: 'sendle', - Shipengine: 'shipengine', + Smartkargo: 'smartkargo', Spring: 'spring', Teleship: 'teleship', - Tge: 'tge', - Tnt: 'tnt', Ups: 'ups', Usps: 'usps', UspsInternational: 'usps_international', - Veho: 'veho', - Zoom2u: 'zoom2u' } as const; export type CarrierDetailsCarrierNameEnum = typeof CarrierDetailsCarrierNameEnum[keyof typeof CarrierDetailsCarrierNameEnum]; export const CarrierDetailsIntegrationStatusEnum = { InDevelopment: 'in-development', Beta: 'beta', - ProductionReady: 'production-ready' + ProductionReady: 'production-ready', } as const; export type CarrierDetailsIntegrationStatusEnum = typeof CarrierDetailsIntegrationStatusEnum[keyof typeof CarrierDetailsIntegrationStatusEnum]; @@ -1211,17 +1109,11 @@ export interface Chronopost { export const ChronopostLanguageEnum = { EnGb: 'en_GB', - FrFr: 'fr_FR' + FrFr: 'fr_FR', } as const; export type ChronopostLanguageEnum = typeof ChronopostLanguageEnum[keyof typeof ChronopostLanguageEnum]; -export interface Colissimo { - 'password': string; - 'contract_number': string; - 'laposte_api_key'?: string | null; - 'account_country_code'?: string | null; -} export interface Commodity { /** * A unique identifier @@ -1305,7 +1197,7 @@ export const CommodityWeightUnitEnum = { Kg: 'KG', Lb: 'LB', Oz: 'OZ', - G: 'G' + G: 'G', } as const; export type CommodityWeightUnitEnum = typeof CommodityWeightUnitEnum[keyof typeof CommodityWeightUnitEnum]; @@ -1453,7 +1345,7 @@ export const CommodityValueCurrencyEnum = { Vuv: 'VUV', Wst: 'WST', Yer: 'YER', - Zar: 'ZAR' + Zar: 'ZAR', } as const; export type CommodityValueCurrencyEnum = typeof CommodityValueCurrencyEnum[keyof typeof CommodityValueCurrencyEnum]; @@ -1697,7 +1589,7 @@ export const CommodityOriginCountryEnum = { Im: 'IM', Bl: 'BL', Mf: 'MF', - Sx: 'SX' + Sx: 'SX', } as const; export type CommodityOriginCountryEnum = typeof CommodityOriginCountryEnum[keyof typeof CommodityOriginCountryEnum]; @@ -1777,7 +1669,7 @@ export const CommodityDataWeightUnitEnum = { Kg: 'KG', Lb: 'LB', Oz: 'OZ', - G: 'G' + G: 'G', } as const; export type CommodityDataWeightUnitEnum = typeof CommodityDataWeightUnitEnum[keyof typeof CommodityDataWeightUnitEnum]; @@ -1925,7 +1817,7 @@ export const CommodityDataValueCurrencyEnum = { Vuv: 'VUV', Wst: 'WST', Yer: 'YER', - Zar: 'ZAR' + Zar: 'ZAR', } as const; export type CommodityDataValueCurrencyEnum = typeof CommodityDataValueCurrencyEnum[keyof typeof CommodityDataValueCurrencyEnum]; @@ -2169,7 +2061,7 @@ export const CommodityDataOriginCountryEnum = { Im: 'IM', Bl: 'BL', Mf: 'MF', - Sx: 'SX' + Sx: 'SX', } as const; export type CommodityDataOriginCountryEnum = typeof CommodityDataOriginCountryEnum[keyof typeof CommodityDataOriginCountryEnum]; @@ -2177,7 +2069,7 @@ export type CommodityDataOriginCountryEnum = typeof CommodityDataOriginCountryEn /** * @type ConnectionCredentialsField */ -export type ConnectionCredentialsField = Aramex | Asendia | AsendiaUs | Australiapost | Boxknight | Bpost | Canadapost | Canpar | Chronopost | Colissimo | DhlExpress | DhlParcelDe | DhlPoland | DhlUniversal | Dicom | Dpd | DpdMeta | Dtdc | Easypost | Easyship | Eshipper | Fedex | Freightcom | Generic | Geodis | Gls | HayPost | Hermes | Landmark | Laposte | Locate2u | Mydhl | Nationex | Parcelone | Postat | Purolator | Roadie | Royalmail | Sapient | Seko | Sendle | Shipengine | Spring | Teleship | Tge | Tnt | Ups | Usps | UspsInternational | Veho | Zoom2u; +export type ConnectionCredentialsField = Asendia | Australiapost | Bpost | Canadapost | Chronopost | DhlExpress | DhlParcelDe | DhlPoland | DhlUniversal | Dpd | DpdMeta | Fedex | Generic | Gls | Hermes | Landmark | Laposte | Mydhl | Parcelone | Postat | Purolator | Seko | Sendle | Smartkargo | Spring | Teleship | Ups | Usps | UspsInternational; export interface CustomsData { /** @@ -2228,7 +2120,7 @@ export const CustomsDataContentTypeEnum = { Merchandise: 'merchandise', ReturnMerchandise: 'return_merchandise', Other: 'other', - Empty: '' + Empty: '', } as const; export type CustomsDataContentTypeEnum = typeof CustomsDataContentTypeEnum[keyof typeof CustomsDataContentTypeEnum]; @@ -2246,7 +2138,7 @@ export const CustomsDataIncotermEnum = { Exw: 'EXW', Fas: 'FAS', Fca: 'FCA', - Fob: 'FOB' + Fob: 'FOB', } as const; export type CustomsDataIncotermEnum = typeof CustomsDataIncotermEnum[keyof typeof CustomsDataIncotermEnum]; @@ -2282,17 +2174,11 @@ export interface DhlUniversal { export const DhlUniversalLanguageEnum = { En: 'en', - De: 'de' + De: 'de', } as const; export type DhlUniversalLanguageEnum = typeof DhlUniversalLanguageEnum[keyof typeof DhlUniversalLanguageEnum]; -export interface Dicom { - 'username': string; - 'password': string; - 'billing_account'?: string | null; - 'account_country_code'?: string | null; -} export interface DocumentData { /** * The template name. **Required if template is not provided.** @@ -2397,7 +2283,7 @@ export interface DocumentTemplate { export const DocumentTemplateRelatedObjectEnum = { Shipment: 'shipment', Order: 'order', - Other: 'other' + Other: 'other', } as const; export type DocumentTemplateRelatedObjectEnum = typeof DocumentTemplateRelatedObjectEnum[keyof typeof DocumentTemplateRelatedObjectEnum]; @@ -2440,7 +2326,7 @@ export interface DocumentTemplateData { export const DocumentTemplateDataRelatedObjectEnum = { Shipment: 'shipment', Order: 'order', - Other: 'other' + Other: 'other', } as const; export type DocumentTemplateDataRelatedObjectEnum = typeof DocumentTemplateDataRelatedObjectEnum[keyof typeof DocumentTemplateDataRelatedObjectEnum]; @@ -2533,13 +2419,6 @@ export interface DpdMeta { 'customer_sub_account_number'?: string | null; 'account_country_code'?: string | null; } -export interface Dtdc { - 'api_key': string; - 'customer_code': string; - 'username'?: string | null; - 'password'?: string | null; - 'account_country_code'?: string | null; -} export interface Duty { /** * The duty payer @@ -2563,7 +2442,7 @@ export const DutyPaidByEnum = { Sender: 'sender', Recipient: 'recipient', ThirdParty: 'third_party', - Empty: '' + Empty: '', } as const; export type DutyPaidByEnum = typeof DutyPaidByEnum[keyof typeof DutyPaidByEnum]; @@ -2712,19 +2591,11 @@ export const DutyCurrencyEnum = { Wst: 'WST', Yer: 'YER', Zar: 'ZAR', - Empty: '' + Empty: '', } as const; export type DutyCurrencyEnum = typeof DutyCurrencyEnum[keyof typeof DutyCurrencyEnum]; -export interface Easypost { - 'api_key': string; - 'account_country_code'?: string | null; -} -export interface Easyship { - 'access_token': string; - 'account_country_code'?: string | null; -} export interface ErrorMessages { /** * The list of error messages @@ -2737,11 +2608,6 @@ export interface ErrorResponse { */ 'errors'?: Array; } -export interface Eshipper { - 'principal': string; - 'credential': string; - 'account_country_code'?: string | null; -} export interface Fedex { 'api_key'?: string | null; 'secret_key'?: string | null; @@ -2750,11 +2616,6 @@ export interface Fedex { 'track_secret_key'?: string | null; 'account_country_code'?: string | null; } -export interface Freightcom { - 'username': string; - 'password': string; - 'account_country_code'?: string | null; -} export interface GeneratedDocument { /** * The template name @@ -2779,37 +2640,12 @@ export interface Generic { 'account_country_code'?: string | null; 'account_number'?: string | null; } -export interface Geodis { - 'api_key': string; - 'identifier': string; - 'code_client'?: string | null; - /** - * Indicates a language string - */ - 'language'?: GeodisLanguageEnum; - 'account_country_code'?: string | null; -} - -export const GeodisLanguageEnum = { - Fr: 'fr', - En: 'en' -} as const; - -export type GeodisLanguageEnum = typeof GeodisLanguageEnum[keyof typeof GeodisLanguageEnum]; - export interface Gls { 'client_id': string; 'client_secret': string; 'contact_id'?: string | null; 'account_country_code'?: string | null; } -export interface HayPost { - 'username': string; - 'password': string; - 'customer_id': string; - 'customer_type': string; - 'account_country_code'?: string | null; -} export interface Hermes { 'username': string; 'password': string; @@ -2846,7 +2682,7 @@ export interface Laposte { export const LaposteLangEnum = { FrFr: 'fr_FR', - EnUs: 'en_US' + EnUs: 'en_US', } as const; export type LaposteLangEnum = typeof LaposteLangEnum[keyof typeof LaposteLangEnum]; @@ -2935,7 +2771,7 @@ export const LineItemWeightUnitEnum = { Kg: 'KG', Lb: 'LB', Oz: 'OZ', - G: 'G' + G: 'G', } as const; export type LineItemWeightUnitEnum = typeof LineItemWeightUnitEnum[keyof typeof LineItemWeightUnitEnum]; @@ -3083,7 +2919,7 @@ export const LineItemValueCurrencyEnum = { Vuv: 'VUV', Wst: 'WST', Yer: 'YER', - Zar: 'ZAR' + Zar: 'ZAR', } as const; export type LineItemValueCurrencyEnum = typeof LineItemValueCurrencyEnum[keyof typeof LineItemValueCurrencyEnum]; @@ -3327,16 +3163,11 @@ export const LineItemOriginCountryEnum = { Im: 'IM', Bl: 'BL', Mf: 'MF', - Sx: 'SX' + Sx: 'SX', } as const; export type LineItemOriginCountryEnum = typeof LineItemOriginCountryEnum[keyof typeof LineItemOriginCountryEnum]; -export interface Locate2u { - 'client_id'?: string | null; - 'client_secret'?: string | null; - 'account_country_code'?: string | null; -} export interface Manifest { /** * A unique manifest identifier @@ -3519,24 +3350,6 @@ export interface Mydhl { 'account_number'?: string | null; 'account_country_code'?: string | null; } -export interface Nationex { - 'api_key': string; - 'customer_id': string; - 'billing_account'?: string | null; - /** - * Indicates a language string - */ - 'language'?: NationexLanguageEnum; - 'account_country_code'?: string | null; -} - -export const NationexLanguageEnum = { - En: 'en', - Fr: 'fr' -} as const; - -export type NationexLanguageEnum = typeof NationexLanguageEnum[keyof typeof NationexLanguageEnum]; - export interface Operation { /** * Operation performed @@ -3584,6 +3397,14 @@ export interface Order { * Specifies the object type */ 'object_type'?: string; + /** + * Indicates whether this order is archived. + */ + 'is_archived'?: boolean; + /** + * Timestamp when the order was archived. + */ + 'archived_at'?: string | null; /** * The source\' order id. */ @@ -3647,7 +3468,7 @@ export const OrderStatusEnum = { Cancelled: 'cancelled', Fulfilled: 'fulfilled', Delivered: 'delivered', - Partial: 'partial' + Partial: 'partial', } as const; export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum]; @@ -3785,13 +3606,13 @@ export const ParcelWeightUnitEnum = { Kg: 'KG', Lb: 'LB', Oz: 'OZ', - G: 'G' + G: 'G', } as const; export type ParcelWeightUnitEnum = typeof ParcelWeightUnitEnum[keyof typeof ParcelWeightUnitEnum]; export const ParcelDimensionUnitEnum = { Cm: 'CM', - In: 'IN' + In: 'IN', } as const; export type ParcelDimensionUnitEnum = typeof ParcelDimensionUnitEnum[keyof typeof ParcelDimensionUnitEnum]; @@ -3867,13 +3688,13 @@ export const ParcelDataWeightUnitEnum = { Kg: 'KG', Lb: 'LB', Oz: 'OZ', - G: 'G' + G: 'G', } as const; export type ParcelDataWeightUnitEnum = typeof ParcelDataWeightUnitEnum[keyof typeof ParcelDataWeightUnitEnum]; export const ParcelDataDimensionUnitEnum = { Cm: 'CM', - In: 'IN' + In: 'IN', } as const; export type ParcelDataDimensionUnitEnum = typeof ParcelDataDimensionUnitEnum[keyof typeof ParcelDataDimensionUnitEnum]; @@ -4202,7 +4023,7 @@ export const PatchedAddressDataCountryCodeEnum = { Im: 'IM', Bl: 'BL', Mf: 'MF', - Sx: 'SX' + Sx: 'SX', } as const; export type PatchedAddressDataCountryCodeEnum = typeof PatchedAddressDataCountryCodeEnum[keyof typeof PatchedAddressDataCountryCodeEnum]; @@ -4239,57 +4060,35 @@ export interface PatchedCarrierConnectionData { } export const PatchedCarrierConnectionDataCarrierNameEnum = { - Aramex: 'aramex', Asendia: 'asendia', - 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', DpdMeta: 'dpd_meta', - Dtdc: 'dtdc', - Easypost: 'easypost', - Easyship: 'easyship', - Eshipper: 'eshipper', Fedex: 'fedex', - Freightcom: 'freightcom', Generic: 'generic', - Geodis: 'geodis', Gls: 'gls', - HayPost: 'hay_post', Hermes: 'hermes', Landmark: 'landmark', Laposte: 'laposte', - Locate2u: 'locate2u', Mydhl: 'mydhl', - Nationex: 'nationex', Parcelone: 'parcelone', Postat: 'postat', Purolator: 'purolator', - Roadie: 'roadie', - Royalmail: 'royalmail', - Sapient: 'sapient', Seko: 'seko', Sendle: 'sendle', - Shipengine: 'shipengine', + Smartkargo: 'smartkargo', Spring: 'spring', Teleship: 'teleship', - Tge: 'tge', - Tnt: 'tnt', Ups: 'ups', Usps: 'usps', UspsInternational: 'usps_international', - Veho: 'veho', - Zoom2u: 'zoom2u' } as const; export type PatchedCarrierConnectionDataCarrierNameEnum = typeof PatchedCarrierConnectionDataCarrierNameEnum[keyof typeof PatchedCarrierConnectionDataCarrierNameEnum]; @@ -4369,7 +4168,7 @@ export const PatchedCommodityDataWeightUnitEnum = { Kg: 'KG', Lb: 'LB', Oz: 'OZ', - G: 'G' + G: 'G', } as const; export type PatchedCommodityDataWeightUnitEnum = typeof PatchedCommodityDataWeightUnitEnum[keyof typeof PatchedCommodityDataWeightUnitEnum]; @@ -4517,7 +4316,7 @@ export const PatchedCommodityDataValueCurrencyEnum = { Vuv: 'VUV', Wst: 'WST', Yer: 'YER', - Zar: 'ZAR' + Zar: 'ZAR', } as const; export type PatchedCommodityDataValueCurrencyEnum = typeof PatchedCommodityDataValueCurrencyEnum[keyof typeof PatchedCommodityDataValueCurrencyEnum]; @@ -4761,7 +4560,7 @@ export const PatchedCommodityDataOriginCountryEnum = { Im: 'IM', Bl: 'BL', Mf: 'MF', - Sx: 'SX' + Sx: 'SX', } as const; export type PatchedCommodityDataOriginCountryEnum = typeof PatchedCommodityDataOriginCountryEnum[keyof typeof PatchedCommodityDataOriginCountryEnum]; @@ -4804,7 +4603,7 @@ export interface PatchedDocumentTemplateData { export const PatchedDocumentTemplateDataRelatedObjectEnum = { Shipment: 'shipment', Order: 'order', - Other: 'other' + Other: 'other', } as const; export type PatchedDocumentTemplateDataRelatedObjectEnum = typeof PatchedDocumentTemplateDataRelatedObjectEnum[keyof typeof PatchedDocumentTemplateDataRelatedObjectEnum]; @@ -4880,13 +4679,13 @@ export const PatchedParcelDataWeightUnitEnum = { Kg: 'KG', Lb: 'LB', Oz: 'OZ', - G: 'G' + G: 'G', } as const; export type PatchedParcelDataWeightUnitEnum = typeof PatchedParcelDataWeightUnitEnum[keyof typeof PatchedParcelDataWeightUnitEnum]; export const PatchedParcelDataDimensionUnitEnum = { Cm: 'CM', - In: 'IN' + In: 'IN', } as const; export type PatchedParcelDataDimensionUnitEnum = typeof PatchedParcelDataDimensionUnitEnum[keyof typeof PatchedParcelDataDimensionUnitEnum]; @@ -4931,7 +4730,7 @@ export const PatchedWebhookDataEnabledEventsEnum = { BatchQueued: 'batch_queued', BatchFailed: 'batch_failed', BatchRunning: 'batch_running', - BatchCompleted: 'batch_completed' + BatchCompleted: 'batch_completed', } as const; export type PatchedWebhookDataEnabledEventsEnum = typeof PatchedWebhookDataEnabledEventsEnum[keyof typeof PatchedWebhookDataEnabledEventsEnum]; @@ -4954,7 +4753,7 @@ export interface Payment { export const PaymentPaidByEnum = { Sender: 'sender', Recipient: 'recipient', - ThirdParty: 'third_party' + ThirdParty: 'third_party', } as const; export type PaymentPaidByEnum = typeof PaymentPaidByEnum[keyof typeof PaymentPaidByEnum]; @@ -5103,7 +4902,7 @@ export const PaymentCurrencyEnum = { Wst: 'WST', Yer: 'YER', Zar: 'ZAR', - Empty: '' + Empty: '', } as const; export type PaymentCurrencyEnum = typeof PaymentCurrencyEnum[keyof typeof PaymentCurrencyEnum]; @@ -5117,6 +4916,14 @@ export interface Pickup { * Specifies the object type */ 'object_type'?: string; + /** + * Indicates whether this pickup is archived. + */ + 'is_archived'?: boolean; + /** + * Timestamp when the pickup was archived. + */ + 'archived_at'?: string | null; /** * The pickup carrier */ @@ -5203,14 +5010,14 @@ export const PickupStatusEnum = { Scheduled: 'scheduled', PickedUp: 'picked_up', Cancelled: 'cancelled', - Closed: 'closed' + Closed: 'closed', } as const; export type PickupStatusEnum = typeof PickupStatusEnum[keyof typeof PickupStatusEnum]; export const PickupPickupTypeEnum = { OneTime: 'one_time', Daily: 'daily', - Recurring: 'recurring' + Recurring: 'recurring', } as const; export type PickupPickupTypeEnum = typeof PickupPickupTypeEnum[keyof typeof PickupPickupTypeEnum]; @@ -5297,7 +5104,7 @@ export interface PickupData { export const PickupDataPickupTypeEnum = { OneTime: 'one_time', Daily: 'daily', - Recurring: 'recurring' + Recurring: 'recurring', } as const; export type PickupDataPickupTypeEnum = typeof PickupDataPickupTypeEnum[keyof typeof PickupDataPickupTypeEnum]; @@ -5362,7 +5169,7 @@ export interface PickupRequest { export const PickupRequestPickupTypeEnum = { OneTime: 'one_time', Daily: 'daily', - Recurring: 'recurring' + Recurring: 'recurring', } as const; export type PickupRequestPickupTypeEnum = typeof PickupRequestPickupTypeEnum[keyof typeof PickupRequestPickupTypeEnum]; @@ -5439,7 +5246,7 @@ export interface PickupUpdateData { export const PickupUpdateDataPickupTypeEnum = { OneTime: 'one_time', Daily: 'daily', - Recurring: 'recurring' + Recurring: 'recurring', } as const; export type PickupUpdateDataPickupTypeEnum = typeof PickupUpdateDataPickupTypeEnum[keyof typeof PickupUpdateDataPickupTypeEnum]; @@ -5494,7 +5301,7 @@ export interface PickupUpdateRequest { export const PickupUpdateRequestPickupTypeEnum = { OneTime: 'one_time', Daily: 'daily', - Recurring: 'recurring' + Recurring: 'recurring', } as const; export type PickupUpdateRequestPickupTypeEnum = typeof PickupUpdateRequestPickupTypeEnum[keyof typeof PickupUpdateRequestPickupTypeEnum]; @@ -5525,7 +5332,7 @@ export interface Purolator { export const PurolatorLanguageEnum = { En: 'en', - Fr: 'fr' + Fr: 'fr', } as const; export type PurolatorLanguageEnum = typeof PurolatorLanguageEnum[keyof typeof PurolatorLanguageEnum]; @@ -5621,6 +5428,10 @@ export interface RateRequest { * The billing address for this shipment. */ 'billing_address'?: AddressData | null; + /** + * Indicates whether this is a return shipment rate request. + */ + 'is_return'?: boolean; /** * The list of configured carriers you wish to get rates from. */ @@ -5664,7 +5475,7 @@ export const ResourceTokenRequestResourceTypeEnum = { Manifest: 'manifest', Order: 'order', Template: 'template', - Document: 'document' + Document: 'document', } as const; export type ResourceTokenRequestResourceTypeEnum = typeof ResourceTokenRequestResourceTypeEnum[keyof typeof ResourceTokenRequestResourceTypeEnum]; @@ -5675,7 +5486,7 @@ export const ResourceTokenRequestAccessEnum = { Render: 'render', BatchLabels: 'batch_labels', BatchInvoices: 'batch_invoices', - BatchManifests: 'batch_manifests' + BatchManifests: 'batch_manifests', } as const; export type ResourceTokenRequestAccessEnum = typeof ResourceTokenRequestAccessEnum[keyof typeof ResourceTokenRequestAccessEnum]; @@ -5683,7 +5494,7 @@ export const ResourceTokenRequestFormatEnum = { Pdf: 'pdf', Png: 'png', Zpl: 'zpl', - Gif: 'gif' + Gif: 'gif', } as const; export type ResourceTokenRequestFormatEnum = typeof ResourceTokenRequestFormatEnum[keyof typeof ResourceTokenRequestFormatEnum]; @@ -5702,36 +5513,6 @@ export interface ResourceTokenResponse { */ 'resource_urls': { [key: string]: string; }; } -export interface Roadie { - 'api_key': string; - 'account_country_code'?: string | null; -} -export interface Royalmail { - 'client_id': string; - 'client_secret': string; - 'account_country_code'?: string | null; -} -export interface Sapient { - 'client_id': string; - 'client_secret': string; - 'shipping_account_id': string; - /** - * Indicates a sapient_carrier_code string - */ - 'sapient_carrier_code'?: SapientSapientCarrierCodeEnum; - 'account_country_code'?: string | null; -} - -export const SapientSapientCarrierCodeEnum = { - Dx: 'DX', - Evri: 'EVRI', - Rm: 'RM', - Ups: 'UPS', - Yodel: 'YODEL' -} as const; - -export type SapientSapientCarrierCodeEnum = typeof SapientSapientCarrierCodeEnum[keyof typeof SapientSapientCarrierCodeEnum]; - export interface Seko { 'access_key': string; 'account_country_code'?: string | null; @@ -5741,12 +5522,6 @@ export interface Sendle { 'api_key': string; 'account_country_code'?: string | null; } -export interface Shipengine { - 'api_key': string; - 'carrier_ids'?: string | null; - 'account_number'?: string | null; - 'account_country_code'?: string | null; -} export interface Shipment { /** * A unique identifier @@ -5832,6 +5607,14 @@ export interface Shipment { * The list of note or warning messages */ 'messages'?: Array; + /** + * Indicates whether this shipment is archived. + */ + 'is_archived'?: boolean; + /** + * Timestamp when the shipment was archived. + */ + 'archived_at'?: string | null; /** * The current Shipment status */ @@ -5898,7 +5681,7 @@ export const ShipmentLabelTypeEnum = { Pdf: 'PDF', Zpl: 'ZPL', Png: 'PNG', - Empty: '' + Empty: '', } as const; export type ShipmentLabelTypeEnum = typeof ShipmentLabelTypeEnum[keyof typeof ShipmentLabelTypeEnum]; @@ -5911,7 +5694,7 @@ export const ShipmentStatusEnum = { Delivered: 'delivered', NeedsAttention: 'needs_attention', OutForDelivery: 'out_for_delivery', - DeliveryFailed: 'delivery_failed' + DeliveryFailed: 'delivery_failed', } as const; export type ShipmentStatusEnum = typeof ShipmentStatusEnum[keyof typeof ShipmentStatusEnum]; @@ -6004,7 +5787,7 @@ export interface ShipmentData { export const ShipmentDataLabelTypeEnum = { Pdf: 'PDF', Zpl: 'ZPL', - Png: 'PNG' + Png: 'PNG', } as const; export type ShipmentDataLabelTypeEnum = typeof ShipmentDataLabelTypeEnum[keyof typeof ShipmentDataLabelTypeEnum]; @@ -6083,7 +5866,7 @@ export interface ShipmentDataReference { export const ShipmentDataReferenceLabelTypeEnum = { Pdf: 'PDF', Zpl: 'ZPL', - Png: 'PNG' + Png: 'PNG', } as const; export type ShipmentDataReferenceLabelTypeEnum = typeof ShipmentDataReferenceLabelTypeEnum[keyof typeof ShipmentDataReferenceLabelTypeEnum]; @@ -6118,7 +5901,7 @@ export interface ShipmentPurchaseData { export const ShipmentPurchaseDataLabelTypeEnum = { Pdf: 'PDF', Zpl: 'ZPL', - Png: 'PNG' + Png: 'PNG', } as const; export type ShipmentPurchaseDataLabelTypeEnum = typeof ShipmentPurchaseDataLabelTypeEnum[keyof typeof ShipmentPurchaseDataLabelTypeEnum]; @@ -6175,7 +5958,7 @@ export interface ShipmentUpdateData { export const ShipmentUpdateDataLabelTypeEnum = { Pdf: 'PDF', Zpl: 'ZPL', - Png: 'PNG' + Png: 'PNG', } as const; export type ShipmentUpdateDataLabelTypeEnum = typeof ShipmentUpdateDataLabelTypeEnum[keyof typeof ShipmentUpdateDataLabelTypeEnum]; @@ -6267,7 +6050,7 @@ export interface ShippingRequest { export const ShippingRequestLabelTypeEnum = { Pdf: 'PDF', Zpl: 'ZPL', - Png: 'PNG' + Png: 'PNG', } as const; export type ShippingRequestLabelTypeEnum = typeof ShippingRequestLabelTypeEnum[keyof typeof ShippingRequestLabelTypeEnum]; @@ -6357,6 +6140,14 @@ export interface ShippingResponse { * The list of note or warning messages */ 'messages'?: Array; + /** + * Indicates whether this shipment is archived. + */ + 'is_archived'?: boolean; + /** + * Timestamp when the shipment was archived. + */ + 'archived_at'?: string | null; /** * The current Shipment status */ @@ -6415,7 +6206,7 @@ export const ShippingResponseLabelTypeEnum = { Pdf: 'PDF', Zpl: 'ZPL', Png: 'PNG', - Empty: '' + Empty: '', } as const; export type ShippingResponseLabelTypeEnum = typeof ShippingResponseLabelTypeEnum[keyof typeof ShippingResponseLabelTypeEnum]; @@ -6428,11 +6219,16 @@ export const ShippingResponseStatusEnum = { Delivered: 'delivered', NeedsAttention: 'needs_attention', OutForDelivery: 'out_for_delivery', - DeliveryFailed: 'delivery_failed' + DeliveryFailed: 'delivery_failed', } as const; export type ShippingResponseStatusEnum = typeof ShippingResponseStatusEnum[keyof typeof ShippingResponseStatusEnum]; +export interface Smartkargo { + 'api_key': string; + 'account_number': string; + 'account_country_code'?: string | null; +} export interface Spring { 'api_key': string; 'account_country_code'?: string | null; @@ -6442,25 +6238,6 @@ export interface Teleship { 'client_secret': string; 'account_country_code'?: string | null; } -export interface Tge { - 'username': string; - 'password': string; - 'api_key': string; - 'toll_username': string; - 'toll_password': string; - 'my_toll_token': string; - 'my_toll_identity': string; - 'account_code'?: string | null; - 'sscc_count'?: number; - 'shipment_count'?: number; - 'account_country_code'?: string | null; -} -export interface Tnt { - 'username': string; - 'password': string; - 'account_number'?: string | null; - 'account_country_code'?: string | null; -} export interface TokenObtainPair { 'email': string; 'password': string; @@ -6529,6 +6306,14 @@ export interface TrackerDetails { * Specifies the object type */ 'object_type'?: string; + /** + * Indicates whether this tracker is archived. + */ + 'is_archived'?: boolean; + /** + * Timestamp when the tracker was archived. + */ + 'archived_at'?: string | null; /** * User metadata for the tracker */ @@ -6551,7 +6336,7 @@ export const TrackerDetailsStatusEnum = { OutForDelivery: 'out_for_delivery', ReadyForPickup: 'ready_for_pickup', DeliveryFailed: 'delivery_failed', - ReturnToSender: 'return_to_sender' + ReturnToSender: 'return_to_sender', } as const; export type TrackerDetailsStatusEnum = typeof TrackerDetailsStatusEnum[keyof typeof TrackerDetailsStatusEnum]; @@ -6590,7 +6375,7 @@ export const TrackerEventInjectRequestStatusEnum = { OutForDelivery: 'out_for_delivery', ReadyForPickup: 'ready_for_pickup', DeliveryFailed: 'delivery_failed', - ReturnToSender: 'return_to_sender' + ReturnToSender: 'return_to_sender', } as const; export type TrackerEventInjectRequestStatusEnum = typeof TrackerEventInjectRequestStatusEnum[keyof typeof TrackerEventInjectRequestStatusEnum]; @@ -6639,50 +6424,34 @@ export interface TrackingData { } export const TrackingDataCarrierNameEnum = { - Aramex: 'aramex', Asendia: 'asendia', - 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', DpdMeta: 'dpd_meta', - Dtdc: 'dtdc', Fedex: 'fedex', Generic: 'generic', - Geodis: 'geodis', Gls: 'gls', - HayPost: 'hay_post', Hermes: 'hermes', Landmark: 'landmark', Laposte: 'laposte', - Locate2u: 'locate2u', Mydhl: 'mydhl', - Nationex: 'nationex', Postat: 'postat', Purolator: 'purolator', - Roadie: 'roadie', - Royalmail: 'royalmail', Seko: 'seko', Sendle: 'sendle', + Smartkargo: 'smartkargo', Spring: 'spring', Teleship: 'teleship', - Tge: 'tge', - Tnt: 'tnt', Ups: 'ups', Usps: 'usps', UspsInternational: 'usps_international', - Veho: 'veho', - Zoom2u: 'zoom2u' } as const; export type TrackingDataCarrierNameEnum = typeof TrackingDataCarrierNameEnum[keyof typeof TrackingDataCarrierNameEnum]; @@ -6715,7 +6484,7 @@ export interface TrackingEvent { /** * The tracking event\'s description */ - 'description'?: string; + 'description'?: string | null; /** * The tracking event\'s location */ @@ -6743,7 +6512,7 @@ export const TrackingEventStatusEnum = { ReadyForPickup: 'ready_for_pickup', DeliveryFailed: 'delivery_failed', ReturnToSender: 'return_to_sender', - Empty: '' + Empty: '', } as const; export type TrackingEventStatusEnum = typeof TrackingEventStatusEnum[keyof typeof TrackingEventStatusEnum]; @@ -6783,7 +6552,7 @@ export const TrackingEventReasonEnum = { SecurityIssue: 'security_issue', RegulatoryHold: 'regulatory_hold', Unknown: 'unknown', - Empty: '' + Empty: '', } as const; export type TrackingEventReasonEnum = typeof TrackingEventReasonEnum[keyof typeof TrackingEventReasonEnum]; @@ -6925,6 +6694,14 @@ export interface TrackingStatus { * Specifies the object type */ 'object_type'?: string; + /** + * Indicates whether this tracker is archived. + */ + 'is_archived'?: boolean; + /** + * Timestamp when the tracker was archived. + */ + 'archived_at'?: string | null; /** * User metadata for the tracker */ @@ -6955,7 +6732,7 @@ export const TrackingStatusStatusEnum = { OutForDelivery: 'out_for_delivery', ReadyForPickup: 'ready_for_pickup', DeliveryFailed: 'delivery_failed', - ReturnToSender: 'return_to_sender' + ReturnToSender: 'return_to_sender', } as const; export type TrackingStatusStatusEnum = typeof TrackingStatusStatusEnum[keyof typeof TrackingStatusStatusEnum]; @@ -6983,7 +6760,7 @@ export interface Usps { export const UspsAccountTypeEnum = { Eps: 'EPS', Permit: 'PERMIT', - Meter: 'METER' + Meter: 'METER', } as const; export type UspsAccountTypeEnum = typeof UspsAccountTypeEnum[keyof typeof UspsAccountTypeEnum]; @@ -7005,16 +6782,11 @@ export interface UspsInternational { export const UspsInternationalAccountTypeEnum = { Eps: 'EPS', Permit: 'PERMIT', - Meter: 'METER' + Meter: 'METER', } as const; export type UspsInternationalAccountTypeEnum = typeof UspsInternationalAccountTypeEnum[keyof typeof UspsInternationalAccountTypeEnum]; -export interface Veho { - 'api_key': string; - 'account_number'?: string | null; - 'account_country_code'?: string | null; -} export interface VerifiedTokenObtainPair { 'refresh': string; 'access': string; @@ -7083,7 +6855,7 @@ export const WebhookEnabledEventsEnum = { BatchQueued: 'batch_queued', BatchFailed: 'batch_failed', BatchRunning: 'batch_running', - BatchCompleted: 'batch_completed' + BatchCompleted: 'batch_completed', } as const; export type WebhookEnabledEventsEnum = typeof WebhookEnabledEventsEnum[keyof typeof WebhookEnabledEventsEnum]; @@ -7128,7 +6900,7 @@ export const WebhookDataEnabledEventsEnum = { BatchQueued: 'batch_queued', BatchFailed: 'batch_failed', BatchRunning: 'batch_running', - BatchCompleted: 'batch_completed' + BatchCompleted: 'batch_completed', } as const; export type WebhookDataEnabledEventsEnum = typeof WebhookDataEnabledEventsEnum[keyof typeof WebhookDataEnabledEventsEnum]; @@ -7143,10 +6915,6 @@ export interface WebhookTestRequest { 'payload'?: { [key: string]: any; }; 'event_id'?: string; } -export interface Zoom2u { - 'api_key': string; - 'account_country_code'?: string | null; -} /** * APIApi - axios parameter creator @@ -7172,8 +6940,8 @@ export const APIApiAxiosParamCreator = function (configuration?: Configuration) const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7202,8 +6970,8 @@ export const APIApiAxiosParamCreator = function (configuration?: Configuration) const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7344,9 +7112,8 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -7369,7 +7136,7 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura // verify required parameter 'id' is not null or undefined assertParamExists('discard', 'id', id) const localVarPath = `/v1/addresses/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -7395,8 +7162,8 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7439,8 +7206,8 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7461,7 +7228,7 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura // verify required parameter 'id' is not null or undefined assertParamExists('retrieve', 'id', id) const localVarPath = `/v1/addresses/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -7487,8 +7254,8 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -7510,7 +7277,7 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura // verify required parameter 'id' is not null or undefined assertParamExists('update', 'id', id) const localVarPath = `/v1/addresses/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -7536,9 +7303,8 @@ export const AddressesApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -7803,9 +7569,8 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration) const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -7853,9 +7618,8 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration) // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -7889,9 +7653,8 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration) const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -7925,9 +7688,8 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration) const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -7961,9 +7723,8 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration) const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -7997,9 +7758,8 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration) const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -8326,9 +8086,8 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -8376,9 +8135,8 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -8426,9 +8184,8 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -8455,8 +8212,8 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati // verify required parameter 'resourceType' is not null or undefined assertParamExists('exportFile', 'resourceType', resourceType) const localVarPath = `/v1/batches/data/export/{resource_type}.{export_format}` - .replace(`{${"export_format"}}`, encodeURIComponent(String(exportFormat))) - .replace(`{${"resource_type"}}`, encodeURIComponent(String(resourceType))); + .replace('{export_format}', encodeURIComponent(String(exportFormat))) + .replace('{resource_type}', encodeURIComponent(String(resourceType))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -8486,8 +8243,8 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['data_template'] = dataTemplate; } + localVarHeaderParameter['Accept'] = 'application/octet-stream,application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8498,18 +8255,19 @@ 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.** + * Import csv, xls and xlsx data files for: `Beta`
- trackers data - orders data - shipments data - rate_sheet data (Excel/CSV)

**For rate_sheet imports, pass dry_run=true to validate and preview a diff without writing. For other resource types, a BatchOperation is returned.** * @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 {ImportFileResourceTypeEnum} [resourceType] The type of the resource to import * @param {string} [resourceType2] * @param {string} [dataTemplate2] + * @param {boolean} [dryRun] * @param {File} [dataFile2] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - importFile: async (dataFile?: File, dataTemplate?: string, resourceType?: ImportFileResourceTypeEnum, resourceType2?: string, dataTemplate2?: string, dataFile2?: File, options: AxiosRequestConfig = {}): Promise => { + importFile: async (dataFile?: File, dataTemplate?: string, resourceType?: ImportFileResourceTypeEnum, resourceType2?: string, dataTemplate2?: string, dryRun?: boolean, dataFile2?: File, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/v1/batches/data/import`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -8553,18 +8311,21 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati if (resourceType2 !== undefined) { localVarFormParams.append('resource_type', resourceType2 as any); } - + if (dataTemplate2 !== undefined) { localVarFormParams.append('data_template', dataTemplate2 as any); } - + + if (dryRun !== undefined) { + localVarFormParams.append('dry_run', String(dryRun) as any); + } + if (dataFile2 !== undefined) { localVarFormParams.append('data_file', dataFile2 as any); } - - localVarHeaderParameter['Content-Type'] = 'multipart/form-data'; - + localVarHeaderParameter['Accept'] = 'application/json'; + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8608,8 +8369,8 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8655,9 +8416,8 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -8680,7 +8440,7 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati // verify required parameter 'id' is not null or undefined assertParamExists('retrieve', 'id', id) const localVarPath = `/v1/batches/operations/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -8706,8 +8466,8 @@ export const BatchesApiAxiosParamCreator = function (configuration?: Configurati // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -8781,19 +8541,20 @@ export const BatchesApiFp = function(configuration?: Configuration) { return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, /** - * 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.** + * Import csv, xls and xlsx data files for: `Beta`
- trackers data - orders data - shipments data - rate_sheet data (Excel/CSV)

**For rate_sheet imports, pass dry_run=true to validate and preview a diff without writing. For other resource types, a BatchOperation is returned.** * @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 {ImportFileResourceTypeEnum} [resourceType] The type of the resource to import * @param {string} [resourceType2] * @param {string} [dataTemplate2] + * @param {boolean} [dryRun] * @param {File} [dataFile2] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async importFile(dataFile?: File, dataTemplate?: string, resourceType?: ImportFileResourceTypeEnum, resourceType2?: string, dataTemplate2?: string, dataFile2?: File, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.importFile(dataFile, dataTemplate, resourceType, resourceType2, dataTemplate2, dataFile2, options); + async importFile(dataFile?: File, dataTemplate?: string, resourceType?: ImportFileResourceTypeEnum, resourceType2?: string, dataTemplate2?: string, dryRun?: boolean, dataFile2?: File, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> { + const localVarAxiosArgs = await localVarAxiosParamCreator.importFile(dataFile, dataTemplate, resourceType, resourceType2, dataTemplate2, dryRun, dataFile2, options); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['BatchesApi.importFile']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); @@ -8886,14 +8647,14 @@ export const BatchesApiFactory = function (configuration?: Configuration, basePa return localVarFp.exportFile(requestParameters.exportFormat, requestParameters.resourceType, requestParameters.dataTemplate, options).then((request) => request(axios, basePath)); }, /** - * 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.** + * Import csv, xls and xlsx data files for: `Beta`
- trackers data - orders data - shipments data - rate_sheet data (Excel/CSV)

**For rate_sheet imports, pass dry_run=true to validate and preview a diff without writing. For other resource types, a BatchOperation is returned.** * @summary Import data files * @param {BatchesApiImportFileRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - importFile(requestParameters: BatchesApiImportFileRequest = {}, options?: AxiosRequestConfig): AxiosPromise { - return localVarFp.importFile(requestParameters.dataFile, requestParameters.dataTemplate, requestParameters.resourceType, requestParameters.resourceType2, requestParameters.dataTemplate2, requestParameters.dataFile2, options).then((request) => request(axios, basePath)); + importFile(requestParameters: BatchesApiImportFileRequest = {}, options?: AxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> { + return localVarFp.importFile(requestParameters.dataFile, requestParameters.dataTemplate, requestParameters.resourceType, requestParameters.resourceType2, requestParameters.dataTemplate2, requestParameters.dryRun, requestParameters.dataFile2, options).then((request) => request(axios, basePath)); }, /** * Retrieve all batch operations. `Beta` @@ -8982,6 +8743,8 @@ export interface BatchesApiImportFileRequest { readonly dataTemplate2?: string + readonly dryRun?: boolean + readonly dataFile2?: File } @@ -9048,14 +8811,14 @@ export class BatchesApi extends BaseAPI { } /** - * 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.** + * Import csv, xls and xlsx data files for: `Beta`
- trackers data - orders data - shipments data - rate_sheet data (Excel/CSV)

**For rate_sheet imports, pass dry_run=true to validate and preview a diff without writing. For other resource types, a BatchOperation is returned.** * @summary Import data files * @param {BatchesApiImportFileRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ public importFile(requestParameters: BatchesApiImportFileRequest = {}, options?: AxiosRequestConfig) { - return BatchesApiFp(this.configuration).importFile(requestParameters.dataFile, requestParameters.dataTemplate, requestParameters.resourceType, requestParameters.resourceType2, requestParameters.dataTemplate2, requestParameters.dataFile2, options).then((request) => request(this.axios, this.basePath)); + return BatchesApiFp(this.configuration).importFile(requestParameters.dataFile, requestParameters.dataTemplate, requestParameters.resourceType, requestParameters.resourceType2, requestParameters.dataTemplate2, requestParameters.dryRun, requestParameters.dataFile2, options).then((request) => request(this.axios, this.basePath)); } /** @@ -9094,22 +8857,25 @@ export class BatchesApi extends BaseAPI { export const ExportFileExportFormatEnum = { Billing: 'billing', Order: 'order', + RateSheet: 'rate_sheet', Shipment: 'shipment', - Trackers: 'trackers' + Trackers: 'trackers', } as const; export type ExportFileExportFormatEnum = typeof ExportFileExportFormatEnum[keyof typeof ExportFileExportFormatEnum]; export const ExportFileResourceTypeEnum = { Billing: 'billing', Order: 'order', + RateSheet: 'rate_sheet', Shipment: 'shipment', - Trackers: 'trackers' + Trackers: 'trackers', } as const; export type ExportFileResourceTypeEnum = typeof ExportFileResourceTypeEnum[keyof typeof ExportFileResourceTypeEnum]; export const ImportFileResourceTypeEnum = { Billing: 'billing', Order: 'order', + RateSheet: 'rate_sheet', Shipment: 'shipment', - Trackers: 'trackers' + Trackers: 'trackers', } as const; export type ImportFileResourceTypeEnum = typeof ImportFileResourceTypeEnum[keyof typeof ImportFileResourceTypeEnum]; @@ -9122,7 +8888,7 @@ export const CarriersApiAxiosParamCreator = function (configuration?: Configurat /** * Retrieve a carrier\'s details * @summary Get carrier details - * @param {string} carrierName The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * @param {string} carrierName The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9130,7 +8896,7 @@ export const CarriersApiAxiosParamCreator = function (configuration?: Configurat // verify required parameter 'carrierName' is not null or undefined assertParamExists('getDetails', 'carrierName', carrierName) const localVarPath = `/v1/carriers/{carrier_name}` - .replace(`{${"carrier_name"}}`, encodeURIComponent(String(carrierName))); + .replace('{carrier_name}', encodeURIComponent(String(carrierName))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -9142,8 +8908,8 @@ export const CarriersApiAxiosParamCreator = function (configuration?: Configurat const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -9156,7 +8922,7 @@ export const CarriersApiAxiosParamCreator = function (configuration?: Configurat /** * Retrieve a carrier\'s options * @summary Get carrier options - * @param {string} carrierName The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * @param {string} carrierName The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9164,7 +8930,7 @@ export const CarriersApiAxiosParamCreator = function (configuration?: Configurat // verify required parameter 'carrierName' is not null or undefined assertParamExists('getOptions', 'carrierName', carrierName) const localVarPath = `/v1/carriers/{carrier_name}/options` - .replace(`{${"carrier_name"}}`, encodeURIComponent(String(carrierName))); + .replace('{carrier_name}', encodeURIComponent(String(carrierName))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -9176,8 +8942,8 @@ export const CarriersApiAxiosParamCreator = function (configuration?: Configurat const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -9190,7 +8956,7 @@ export const CarriersApiAxiosParamCreator = function (configuration?: Configurat /** * Retrieve a carrier\'s services * @summary Get carrier services - * @param {string} carrierName The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * @param {string} carrierName The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9198,7 +8964,7 @@ export const CarriersApiAxiosParamCreator = function (configuration?: Configurat // verify required parameter 'carrierName' is not null or undefined assertParamExists('getServices', 'carrierName', carrierName) const localVarPath = `/v1/carriers/{carrier_name}/services` - .replace(`{${"carrier_name"}}`, encodeURIComponent(String(carrierName))); + .replace('{carrier_name}', encodeURIComponent(String(carrierName))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -9210,8 +8976,8 @@ export const CarriersApiAxiosParamCreator = function (configuration?: Configurat const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -9224,10 +8990,11 @@ export const CarriersApiAxiosParamCreator = function (configuration?: Configurat /** * Returns the list of configured carriers * @summary List all carriers + * @param {string} [lang] Language code for translated labels (e.g., \'de\', \'en\'). * @param {*} [options] Override http request option. * @throws {RequiredError} */ - list: async (options: AxiosRequestConfig = {}): Promise => { + list: async (lang?: string, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/v1/carriers`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -9240,8 +9007,12 @@ export const CarriersApiAxiosParamCreator = function (configuration?: Configurat const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + if (lang !== undefined) { + localVarQueryParameter['lang'] = lang; + } + + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -9263,7 +9034,7 @@ export const CarriersApiFp = function(configuration?: Configuration) { /** * Retrieve a carrier\'s details * @summary Get carrier details - * @param {string} carrierName The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * @param {string} carrierName The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9276,7 +9047,7 @@ export const CarriersApiFp = function(configuration?: Configuration) { /** * Retrieve a carrier\'s options * @summary Get carrier options - * @param {string} carrierName The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * @param {string} carrierName The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9289,7 +9060,7 @@ export const CarriersApiFp = function(configuration?: Configuration) { /** * Retrieve a carrier\'s services * @summary Get carrier services - * @param {string} carrierName The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * @param {string} carrierName The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -9302,11 +9073,12 @@ export const CarriersApiFp = function(configuration?: Configuration) { /** * Returns the list of configured carriers * @summary List all carriers + * @param {string} [lang] Language code for translated labels (e.g., \'de\', \'en\'). * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async list(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { - const localVarAxiosArgs = await localVarAxiosParamCreator.list(options); + async list(lang?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await localVarAxiosParamCreator.list(lang, options); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['CarriersApi.list']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); @@ -9353,11 +9125,12 @@ export const CarriersApiFactory = function (configuration?: Configuration, baseP /** * Returns the list of configured carriers * @summary List all carriers + * @param {CarriersApiListRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - list(options?: AxiosRequestConfig): AxiosPromise> { - return localVarFp.list(options).then((request) => request(axios, basePath)); + list(requestParameters: CarriersApiListRequest = {}, options?: AxiosRequestConfig): AxiosPromise> { + return localVarFp.list(requestParameters.lang, options).then((request) => request(axios, basePath)); }, }; }; @@ -9367,7 +9140,7 @@ export const CarriersApiFactory = function (configuration?: Configuration, baseP */ export interface CarriersApiGetDetailsRequest { /** - * The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` */ readonly carrierName: string } @@ -9377,7 +9150,7 @@ export interface CarriersApiGetDetailsRequest { */ export interface CarriersApiGetOptionsRequest { /** - * The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` */ readonly carrierName: string } @@ -9387,11 +9160,21 @@ export interface CarriersApiGetOptionsRequest { */ export interface CarriersApiGetServicesRequest { /** - * The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` */ readonly carrierName: string } +/** + * Request parameters for list operation in CarriersApi. + */ +export interface CarriersApiListRequest { + /** + * Language code for translated labels (e.g., \'de\', \'en\'). + */ + readonly lang?: string +} + /** * CarriersApi - object-oriented interface */ @@ -9432,11 +9215,12 @@ export class CarriersApi extends BaseAPI { /** * Returns the list of configured carriers * @summary List all carriers + * @param {CarriersApiListRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - public list(options?: AxiosRequestConfig) { - return CarriersApiFp(this.configuration).list(options).then((request) => request(this.axios, this.basePath)); + public list(requestParameters: CarriersApiListRequest = {}, options?: AxiosRequestConfig) { + return CarriersApiFp(this.configuration).list(requestParameters.lang, options).then((request) => request(this.axios, this.basePath)); } } @@ -9483,9 +9267,8 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -9501,7 +9284,7 @@ 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: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * @param {string} [carrierName] The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` * @param {string} [metadataKey] * @param {string} [metadataValue] * @param {boolean} [systemOnly] @@ -9555,8 +9338,8 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu localVarQueryParameter['system_only'] = systemOnly; } + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -9577,7 +9360,7 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu // verify required parameter 'id' is not null or undefined assertParamExists('remove', 'id', id) const localVarPath = `/v1/connections/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -9603,8 +9386,8 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -9625,7 +9408,7 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu // verify required parameter 'id' is not null or undefined assertParamExists('retrieve', 'id', id) const localVarPath = `/v1/connections/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -9651,8 +9434,8 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -9674,7 +9457,7 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu // verify required parameter 'id' is not null or undefined assertParamExists('update', 'id', id) const localVarPath = `/v1/connections/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -9700,9 +9483,8 @@ export const ConnectionsApiAxiosParamCreator = function (configuration?: Configu // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -9740,7 +9522,7 @@ export const ConnectionsApiFp = function(configuration?: Configuration) { * Retrieve all carrier connections * @summary List carrier connections * @param {boolean} [active] - * @param {string} [carrierName] The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * @param {string} [carrierName] The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` * @param {string} [metadataKey] * @param {string} [metadataValue] * @param {boolean} [systemOnly] @@ -9869,7 +9651,7 @@ export interface ConnectionsApiListRequest { readonly active?: boolean /** - * The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` */ readonly carrierName?: string @@ -10006,9 +9788,8 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -10031,7 +9812,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura // verify required parameter 'id' is not null or undefined assertParamExists('discard', 'id', id) const localVarPath = `/v1/documents/templates/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -10057,8 +9838,8 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10102,9 +9883,8 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -10149,8 +9929,8 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10171,7 +9951,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura // verify required parameter 'id' is not null or undefined assertParamExists('retrieve', 'id', id) const localVarPath = `/v1/documents/templates/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -10197,8 +9977,8 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10219,7 +9999,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura // verify required parameter 'id' is not null or undefined assertParamExists('retrieveUpload', 'id', id) const localVarPath = `/v1/documents/uploads/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -10245,8 +10025,8 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10268,7 +10048,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura // verify required parameter 'id' is not null or undefined assertParamExists('update', 'id', id) const localVarPath = `/v1/documents/templates/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -10294,9 +10074,8 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -10344,9 +10123,8 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -10410,8 +10188,8 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura localVarQueryParameter['shipment_id'] = shipmentId; } + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10858,9 +10636,8 @@ export const ManifestsApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -10883,7 +10660,7 @@ export const ManifestsApiAxiosParamCreator = function (configuration?: Configura // verify required parameter 'id' is not null or undefined assertParamExists('document', 'id', id) const localVarPath = `/v1/manifests/{id}/document` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -10909,8 +10686,8 @@ export const ManifestsApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10923,7 +10700,7 @@ export const ManifestsApiAxiosParamCreator = function (configuration?: Configura /** * Retrieve all manifests. * @summary List manifests - * @param {string} [carrierName] The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * @param {string} [carrierName] The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` * @param {string} [createdAfter] * @param {string} [createdBefore] * @param {*} [options] Override http request option. @@ -10972,8 +10749,8 @@ export const ManifestsApiAxiosParamCreator = function (configuration?: Configura createdBefore; } + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -10994,7 +10771,7 @@ export const ManifestsApiAxiosParamCreator = function (configuration?: Configura // verify required parameter 'id' is not null or undefined assertParamExists('retrieve', 'id', id) const localVarPath = `/v1/manifests/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -11020,8 +10797,8 @@ export const ManifestsApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11069,7 +10846,7 @@ export const ManifestsApiFp = function(configuration?: Configuration) { /** * Retrieve all manifests. * @summary List manifests - * @param {string} [carrierName] The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * @param {string} [carrierName] The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` * @param {string} [createdAfter] * @param {string} [createdBefore] * @param {*} [options] Override http request option. @@ -11165,7 +10942,7 @@ export interface ManifestsApiDocumentRequest { */ export interface ManifestsApiListRequest { /** - * The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` */ readonly carrierName?: string @@ -11238,7 +11015,7 @@ export class ManifestsApi extends BaseAPI { export const OrdersApiAxiosParamCreator = function (configuration?: Configuration) { return { /** - * Cancel an order. + * Cancel an order. ``pk`` can be either the karrio order ID or a ``request_id`` stored in ``order.meta[\"request_id\"]``. * @summary Cancel an order * @param {string} id * @param {*} [options] Override http request option. @@ -11248,7 +11025,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio // verify required parameter 'id' is not null or undefined assertParamExists('cancel', 'id', id) const localVarPath = `/v1/orders/{id}/cancel` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -11274,8 +11051,8 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11321,9 +11098,8 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -11347,7 +11123,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio // verify required parameter 'id' is not null or undefined assertParamExists('dismiss', 'id', id) const localVarPath = `/v1/orders/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -11373,8 +11149,8 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11417,8 +11193,8 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11439,7 +11215,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio // verify required parameter 'id' is not null or undefined assertParamExists('retrieve', 'id', id) const localVarPath = `/v1/orders/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -11465,8 +11241,8 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11488,7 +11264,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio // verify required parameter 'id' is not null or undefined assertParamExists('update', 'id', id) const localVarPath = `/v1/orders/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -11514,9 +11290,8 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -11538,7 +11313,7 @@ export const OrdersApiFp = function(configuration?: Configuration) { const localVarAxiosParamCreator = OrdersApiAxiosParamCreator(configuration) return { /** - * Cancel an order. + * Cancel an order. ``pk`` can be either the karrio order ID or a ``request_id`` stored in ``order.meta[\"request_id\"]``. * @summary Cancel an order * @param {string} id * @param {*} [options] Override http request option. @@ -11626,7 +11401,7 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat const localVarFp = OrdersApiFp(configuration) return { /** - * Cancel an order. + * Cancel an order. ``pk`` can be either the karrio order ID or a ``request_id`` stored in ``order.meta[\"request_id\"]``. * @summary Cancel an order * @param {OrdersApiCancelRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. @@ -11730,7 +11505,7 @@ export interface OrdersApiUpdateRequest { */ export class OrdersApi extends BaseAPI { /** - * Cancel an order. + * Cancel an order. ``pk`` can be either the karrio order ID or a ``request_id`` stored in ``order.meta[\"request_id\"]``. * @summary Cancel an order * @param {OrdersApiCancelRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. @@ -11839,9 +11614,8 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -11864,7 +11638,7 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati // verify required parameter 'id' is not null or undefined assertParamExists('discard', 'id', id) const localVarPath = `/v1/parcels/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -11890,8 +11664,8 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11934,8 +11708,8 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -11956,7 +11730,7 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati // verify required parameter 'id' is not null or undefined assertParamExists('retrieve', 'id', id) const localVarPath = `/v1/parcels/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -11982,8 +11756,8 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -12005,7 +11779,7 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati // verify required parameter 'id' is not null or undefined assertParamExists('update', 'id', id) const localVarPath = `/v1/parcels/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -12031,9 +11805,8 @@ export const ParcelsApiAxiosParamCreator = function (configuration?: Configurati // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -12277,7 +12050,7 @@ export class ParcelsApi extends BaseAPI { export const PickupsApiAxiosParamCreator = function (configuration?: Configuration) { return { /** - * Cancel a pickup of one or more shipments. + * Cancel a pickup of one or more shipments. ``pk`` can be either the karrio pickup ID (``pck_…``) or a ``request_id`` stored in ``pickup.meta[\"request_id\"]``. * @summary Cancel a pickup * @param {string} id * @param {PickupCancelData} [pickupCancelData] @@ -12288,7 +12061,7 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati // verify required parameter 'id' is not null or undefined assertParamExists('cancel', 'id', id) const localVarPath = `/v1/pickups/{id}/cancel` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -12314,9 +12087,8 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -12364,9 +12136,8 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -12382,10 +12153,11 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati * Retrieve all scheduled pickups. * @summary List shipment pickups * @param {string} [address] - * @param {string} [carrierName] The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * @param {string} [carrierName] The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` * @param {string} [confirmationNumber] * @param {string} [createdAfter] * @param {string} [createdBefore] + * @param {boolean} [isArchived] * @param {string} [keyword] * @param {string} [pickupDateAfter] * @param {string} [pickupDateBefore] @@ -12394,7 +12166,7 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati * @param {*} [options] Override http request option. * @throws {RequiredError} */ - list: async (address?: string, carrierName?: string, confirmationNumber?: string, createdAfter?: string, createdBefore?: string, keyword?: string, pickupDateAfter?: string, pickupDateBefore?: string, requestId?: string, status?: string, options: AxiosRequestConfig = {}): Promise => { + list: async (address?: string, carrierName?: string, confirmationNumber?: string, createdAfter?: string, createdBefore?: string, isArchived?: boolean, keyword?: string, pickupDateAfter?: string, pickupDateBefore?: string, requestId?: string, status?: string, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/v1/pickups`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -12445,6 +12217,10 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati createdBefore; } + if (isArchived !== undefined) { + localVarQueryParameter['is_archived'] = isArchived; + } + if (keyword !== undefined) { localVarQueryParameter['keyword'] = keyword; } @@ -12469,8 +12245,8 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['status'] = status; } + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -12491,7 +12267,7 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati // verify required parameter 'id' is not null or undefined assertParamExists('retrieve', 'id', id) const localVarPath = `/v1/pickups/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -12517,8 +12293,8 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -12543,7 +12319,7 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati // verify required parameter 'pickupData' is not null or undefined assertParamExists('schedule', 'pickupData', pickupData) const localVarPath = `/v1/pickups/{carrier_name}/schedule` - .replace(`{${"carrier_name"}}`, encodeURIComponent(String(carrierName))); + .replace('{carrier_name}', encodeURIComponent(String(carrierName))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -12569,9 +12345,8 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -12597,7 +12372,7 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati // verify required parameter 'pickupUpdateData' is not null or undefined assertParamExists('update', 'pickupUpdateData', pickupUpdateData) const localVarPath = `/v1/pickups/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -12623,9 +12398,8 @@ export const PickupsApiAxiosParamCreator = function (configuration?: Configurati // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -12647,7 +12421,7 @@ export const PickupsApiFp = function(configuration?: Configuration) { const localVarAxiosParamCreator = PickupsApiAxiosParamCreator(configuration) return { /** - * Cancel a pickup of one or more shipments. + * Cancel a pickup of one or more shipments. ``pk`` can be either the karrio pickup ID (``pck_…``) or a ``request_id`` stored in ``pickup.meta[\"request_id\"]``. * @summary Cancel a pickup * @param {string} id * @param {PickupCancelData} [pickupCancelData] @@ -12677,10 +12451,11 @@ export const PickupsApiFp = function(configuration?: Configuration) { * Retrieve all scheduled pickups. * @summary List shipment pickups * @param {string} [address] - * @param {string} [carrierName] The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * @param {string} [carrierName] The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` * @param {string} [confirmationNumber] * @param {string} [createdAfter] * @param {string} [createdBefore] + * @param {boolean} [isArchived] * @param {string} [keyword] * @param {string} [pickupDateAfter] * @param {string} [pickupDateBefore] @@ -12689,8 +12464,8 @@ export const PickupsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async list(address?: string, carrierName?: string, confirmationNumber?: string, createdAfter?: string, createdBefore?: string, keyword?: string, pickupDateAfter?: string, pickupDateBefore?: string, requestId?: string, status?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.list(address, carrierName, confirmationNumber, createdAfter, createdBefore, keyword, pickupDateAfter, pickupDateBefore, requestId, status, options); + async list(address?: string, carrierName?: string, confirmationNumber?: string, createdAfter?: string, createdBefore?: string, isArchived?: boolean, keyword?: string, pickupDateAfter?: string, pickupDateBefore?: string, requestId?: string, status?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.list(address, carrierName, confirmationNumber, createdAfter, createdBefore, isArchived, keyword, pickupDateAfter, pickupDateBefore, requestId, status, options); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['PickupsApi.list']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); @@ -12747,7 +12522,7 @@ export const PickupsApiFactory = function (configuration?: Configuration, basePa const localVarFp = PickupsApiFp(configuration) return { /** - * Cancel a pickup of one or more shipments. + * Cancel a pickup of one or more shipments. ``pk`` can be either the karrio pickup ID (``pck_…``) or a ``request_id`` stored in ``pickup.meta[\"request_id\"]``. * @summary Cancel a pickup * @param {PickupsApiCancelRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. @@ -12774,7 +12549,7 @@ export const PickupsApiFactory = function (configuration?: Configuration, basePa * @throws {RequiredError} */ list(requestParameters: PickupsApiListRequest = {}, options?: AxiosRequestConfig): AxiosPromise { - return localVarFp.list(requestParameters.address, requestParameters.carrierName, requestParameters.confirmationNumber, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.keyword, requestParameters.pickupDateAfter, requestParameters.pickupDateBefore, requestParameters.requestId, requestParameters.status, options).then((request) => request(axios, basePath)); + return localVarFp.list(requestParameters.address, requestParameters.carrierName, requestParameters.confirmationNumber, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.isArchived, requestParameters.keyword, requestParameters.pickupDateAfter, requestParameters.pickupDateBefore, requestParameters.requestId, requestParameters.status, options).then((request) => request(axios, basePath)); }, /** * Retrieve a scheduled pickup. @@ -12833,7 +12608,7 @@ export interface PickupsApiListRequest { readonly address?: string /** - * The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` */ readonly carrierName?: string @@ -12843,6 +12618,8 @@ export interface PickupsApiListRequest { readonly createdBefore?: string + readonly isArchived?: boolean + readonly keyword?: string readonly pickupDateAfter?: string @@ -12887,7 +12664,7 @@ export interface PickupsApiUpdateRequest { */ export class PickupsApi extends BaseAPI { /** - * Cancel a pickup of one or more shipments. + * Cancel a pickup of one or more shipments. ``pk`` can be either the karrio pickup ID (``pck_…``) or a ``request_id`` stored in ``pickup.meta[\"request_id\"]``. * @summary Cancel a pickup * @param {PickupsApiCancelRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. @@ -12916,7 +12693,7 @@ export class PickupsApi extends BaseAPI { * @throws {RequiredError} */ public list(requestParameters: PickupsApiListRequest = {}, options?: AxiosRequestConfig) { - return PickupsApiFp(this.configuration).list(requestParameters.address, requestParameters.carrierName, requestParameters.confirmationNumber, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.keyword, requestParameters.pickupDateAfter, requestParameters.pickupDateBefore, requestParameters.requestId, requestParameters.status, options).then((request) => request(this.axios, this.basePath)); + return PickupsApiFp(this.configuration).list(requestParameters.address, requestParameters.carrierName, requestParameters.confirmationNumber, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.isArchived, requestParameters.keyword, requestParameters.pickupDateAfter, requestParameters.pickupDateBefore, requestParameters.requestId, requestParameters.status, options).then((request) => request(this.axios, this.basePath)); } /** @@ -12997,9 +12774,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -13022,7 +12798,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat // verify required parameter 'id' is not null or undefined assertParamExists('discard', 'id', id) const localVarPath = `/v1/products/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -13048,8 +12824,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -13092,8 +12868,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -13114,7 +12890,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat // verify required parameter 'id' is not null or undefined assertParamExists('retrieve', 'id', id) const localVarPath = `/v1/products/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -13140,8 +12916,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -13163,7 +12939,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat // verify required parameter 'id' is not null or undefined assertParamExists('update', 'id', id) const localVarPath = `/v1/products/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -13189,9 +12965,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -13470,9 +13245,8 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -13498,7 +13272,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration // verify required parameter 'pickupCancelRequest' is not null or undefined assertParamExists('cancelPickup', 'pickupCancelRequest', pickupCancelRequest) const localVarPath = `/v1/proxy/pickups/{carrier_name}/cancel` - .replace(`{${"carrier_name"}}`, encodeURIComponent(String(carrierName))); + .replace('{carrier_name}', encodeURIComponent(String(carrierName))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -13524,9 +13298,8 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -13574,9 +13347,8 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -13624,9 +13396,8 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -13679,9 +13450,8 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['hub'] = hub; } - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -13707,7 +13477,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration // verify required parameter 'pickupRequest' is not null or undefined assertParamExists('schedulePickup', 'pickupRequest', pickupRequest) const localVarPath = `/v1/proxy/pickups/{carrier_name}` - .replace(`{${"carrier_name"}}`, encodeURIComponent(String(carrierName))); + .replace('{carrier_name}', encodeURIComponent(String(carrierName))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -13733,9 +13503,8 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -13763,8 +13532,8 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration // verify required parameter 'trackingNumber' is not null or undefined assertParamExists('trackShipment', 'trackingNumber', trackingNumber) const localVarPath = `/v1/proxy/tracking/{carrier_name}/{tracking_number}` - .replace(`{${"carrier_name"}}`, encodeURIComponent(String(carrierName))) - .replace(`{${"tracking_number"}}`, encodeURIComponent(String(trackingNumber))); + .replace('{carrier_name}', encodeURIComponent(String(carrierName))) + .replace('{tracking_number}', encodeURIComponent(String(trackingNumber))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -13794,8 +13563,8 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['hub'] = hub; } + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -13819,7 +13588,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration // verify required parameter 'pickupUpdateRequest' is not null or undefined assertParamExists('updatePickup', 'pickupUpdateRequest', pickupUpdateRequest) const localVarPath = `/v1/proxy/pickups/{carrier_name}/update` - .replace(`{${"carrier_name"}}`, encodeURIComponent(String(carrierName))); + .replace('{carrier_name}', encodeURIComponent(String(carrierName))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -13845,9 +13614,8 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -13873,7 +13641,7 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration // verify required parameter 'shipmentCancelRequest' is not null or undefined assertParamExists('voidLabel', 'shipmentCancelRequest', shipmentCancelRequest) const localVarPath = `/v1/proxy/shipping/{carrier_name}/cancel` - .replace(`{${"carrier_name"}}`, encodeURIComponent(String(carrierName))); + .replace('{carrier_name}', encodeURIComponent(String(carrierName))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -13899,9 +13667,8 @@ export const ProxyApiAxiosParamCreator = function (configuration?: Configuration // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -14333,266 +14100,162 @@ export class ProxyApi extends BaseAPI { } export const CancelPickupCarrierNameEnum = { - Aramex: 'aramex', Asendia: 'asendia', - 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', DpdMeta: 'dpd_meta', - Dtdc: 'dtdc', - Easypost: 'easypost', - Easyship: 'easyship', - Eshipper: 'eshipper', Fedex: 'fedex', - Freightcom: 'freightcom', Generic: 'generic', - Geodis: 'geodis', Gls: 'gls', - HayPost: 'hay_post', Hermes: 'hermes', Landmark: 'landmark', Laposte: 'laposte', - Locate2u: 'locate2u', Mydhl: 'mydhl', - Nationex: 'nationex', Parcelone: 'parcelone', Postat: 'postat', Purolator: 'purolator', - Roadie: 'roadie', - Royalmail: 'royalmail', - Sapient: 'sapient', Seko: 'seko', Sendle: 'sendle', - Shipengine: 'shipengine', + Smartkargo: 'smartkargo', Spring: 'spring', Teleship: 'teleship', - Tge: 'tge', - Tnt: 'tnt', Ups: 'ups', Usps: 'usps', UspsInternational: 'usps_international', - Veho: 'veho', - Zoom2u: 'zoom2u' } as const; export type CancelPickupCarrierNameEnum = typeof CancelPickupCarrierNameEnum[keyof typeof CancelPickupCarrierNameEnum]; export const SchedulePickupCarrierNameEnum = { - Aramex: 'aramex', Asendia: 'asendia', - 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', DpdMeta: 'dpd_meta', - Dtdc: 'dtdc', - Easypost: 'easypost', - Easyship: 'easyship', - Eshipper: 'eshipper', Fedex: 'fedex', - Freightcom: 'freightcom', Generic: 'generic', - Geodis: 'geodis', Gls: 'gls', - HayPost: 'hay_post', Hermes: 'hermes', Landmark: 'landmark', Laposte: 'laposte', - Locate2u: 'locate2u', Mydhl: 'mydhl', - Nationex: 'nationex', Parcelone: 'parcelone', Postat: 'postat', Purolator: 'purolator', - Roadie: 'roadie', - Royalmail: 'royalmail', - Sapient: 'sapient', Seko: 'seko', Sendle: 'sendle', - Shipengine: 'shipengine', + Smartkargo: 'smartkargo', Spring: 'spring', Teleship: 'teleship', - Tge: 'tge', - Tnt: 'tnt', Ups: 'ups', Usps: 'usps', UspsInternational: 'usps_international', - Veho: 'veho', - Zoom2u: 'zoom2u' } as const; export type SchedulePickupCarrierNameEnum = typeof SchedulePickupCarrierNameEnum[keyof typeof SchedulePickupCarrierNameEnum]; export const TrackShipmentCarrierNameEnum = { - Aramex: 'aramex', Asendia: 'asendia', - 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', DpdMeta: 'dpd_meta', - Dtdc: 'dtdc', Fedex: 'fedex', Generic: 'generic', - Geodis: 'geodis', Gls: 'gls', - HayPost: 'hay_post', Hermes: 'hermes', Landmark: 'landmark', Laposte: 'laposte', - Locate2u: 'locate2u', Mydhl: 'mydhl', - Nationex: 'nationex', Postat: 'postat', Purolator: 'purolator', - Roadie: 'roadie', - Royalmail: 'royalmail', Seko: 'seko', Sendle: 'sendle', + Smartkargo: 'smartkargo', Spring: 'spring', Teleship: 'teleship', - Tge: 'tge', - Tnt: 'tnt', Ups: 'ups', Usps: 'usps', UspsInternational: 'usps_international', - Veho: 'veho', - Zoom2u: 'zoom2u' } as const; export type TrackShipmentCarrierNameEnum = typeof TrackShipmentCarrierNameEnum[keyof typeof TrackShipmentCarrierNameEnum]; export const UpdatePickupCarrierNameEnum = { - Aramex: 'aramex', Asendia: 'asendia', - 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', DpdMeta: 'dpd_meta', - Dtdc: 'dtdc', - Easypost: 'easypost', - Easyship: 'easyship', - Eshipper: 'eshipper', Fedex: 'fedex', - Freightcom: 'freightcom', Generic: 'generic', - Geodis: 'geodis', Gls: 'gls', - HayPost: 'hay_post', Hermes: 'hermes', Landmark: 'landmark', Laposte: 'laposte', - Locate2u: 'locate2u', Mydhl: 'mydhl', - Nationex: 'nationex', Parcelone: 'parcelone', Postat: 'postat', Purolator: 'purolator', - Roadie: 'roadie', - Royalmail: 'royalmail', - Sapient: 'sapient', Seko: 'seko', Sendle: 'sendle', - Shipengine: 'shipengine', + Smartkargo: 'smartkargo', Spring: 'spring', Teleship: 'teleship', - Tge: 'tge', - Tnt: 'tnt', Ups: 'ups', Usps: 'usps', UspsInternational: 'usps_international', - Veho: 'veho', - Zoom2u: 'zoom2u' } as const; export type UpdatePickupCarrierNameEnum = typeof UpdatePickupCarrierNameEnum[keyof typeof UpdatePickupCarrierNameEnum]; export const VoidLabelCarrierNameEnum = { - Aramex: 'aramex', Asendia: 'asendia', - 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', DpdMeta: 'dpd_meta', - Dtdc: 'dtdc', - Easypost: 'easypost', - Easyship: 'easyship', - Eshipper: 'eshipper', Fedex: 'fedex', - Freightcom: 'freightcom', Generic: 'generic', - Geodis: 'geodis', Gls: 'gls', - HayPost: 'hay_post', Hermes: 'hermes', Landmark: 'landmark', Laposte: 'laposte', - Locate2u: 'locate2u', Mydhl: 'mydhl', - Nationex: 'nationex', Parcelone: 'parcelone', Postat: 'postat', Purolator: 'purolator', - Roadie: 'roadie', - Royalmail: 'royalmail', - Sapient: 'sapient', Seko: 'seko', Sendle: 'sendle', - Shipengine: 'shipengine', + Smartkargo: 'smartkargo', Spring: 'spring', Teleship: 'teleship', - Tge: 'tge', - Tnt: 'tnt', Ups: 'ups', Usps: 'usps', UspsInternational: 'usps_international', - Veho: 'veho', - Zoom2u: 'zoom2u' } as const; export type VoidLabelCarrierNameEnum = typeof VoidLabelCarrierNameEnum[keyof typeof VoidLabelCarrierNameEnum]; @@ -14603,7 +14266,7 @@ export type VoidLabelCarrierNameEnum = typeof VoidLabelCarrierNameEnum[keyof typ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configuration) { return { /** - * Void a shipment with the associated label. + * Void a shipment with the associated label. ``pk`` can be either the karrio shipment ID (``shp_…``) or a ``request_id`` stored in ``shipment.meta[\"request_id\"]``. When multiple records share the same ``request_id`` the most recently created one is used. * @summary Cancel a shipment * @param {string} id * @param {*} [options] Override http request option. @@ -14613,7 +14276,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura // verify required parameter 'id' is not null or undefined assertParamExists('cancel', 'id', id) const localVarPath = `/v1/shipments/{id}/cancel` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -14639,8 +14302,8 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -14686,9 +14349,8 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -14714,8 +14376,8 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura // verify required parameter 'id' is not null or undefined assertParamExists('document', 'id', id) const localVarPath = `/v1/shipments/{id}/documents/{doc}` - .replace(`{${"doc"}}`, encodeURIComponent(String(doc))) - .replace(`{${"id"}}`, encodeURIComponent(String(id))); + .replace('{doc}', encodeURIComponent(String(doc))) + .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; @@ -14741,8 +14403,8 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -14756,12 +14418,13 @@ 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: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * @param {string} [carrierName] The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` * @param {string} [createdAfter] * @param {string} [createdBefore] * @param {boolean} [hasManifest] * @param {boolean} [hasTracker] * @param {string} [id] + * @param {boolean} [isArchived] * @param {boolean} [isReturn] * @param {string} [keyword] * @param {string} [metaKey] @@ -14779,7 +14442,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura * @param {*} [options] Override http request option. * @throws {RequiredError} */ - list: async (address?: string, carrierName?: string, createdAfter?: string, createdBefore?: string, hasManifest?: boolean, hasTracker?: boolean, id?: string, isReturn?: boolean, keyword?: string, metaKey?: string, metaValue?: string, metadataKey?: string, metadataValue?: string, optionKey?: string, optionValue?: string, orderId?: string, reference?: string, requestId?: string, service?: string, status?: string, trackingNumber?: string, options: AxiosRequestConfig = {}): Promise => { + list: async (address?: string, carrierName?: string, createdAfter?: string, createdBefore?: string, hasManifest?: boolean, hasTracker?: boolean, id?: string, isArchived?: boolean, isReturn?: boolean, keyword?: string, metaKey?: string, metaValue?: string, metadataKey?: string, metadataValue?: string, optionKey?: string, optionValue?: string, orderId?: string, reference?: string, requestId?: string, service?: string, status?: string, trackingNumber?: string, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/v1/shipments`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -14838,6 +14501,10 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura localVarQueryParameter['id'] = id; } + if (isArchived !== undefined) { + localVarQueryParameter['is_archived'] = isArchived; + } + if (isReturn !== undefined) { localVarQueryParameter['is_return'] = isReturn; } @@ -14894,8 +14561,8 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura localVarQueryParameter['tracking_number'] = trackingNumber; } + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -14917,7 +14584,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura // verify required parameter 'id' is not null or undefined assertParamExists('purchase', 'id', id) const localVarPath = `/v1/shipments/{id}/purchase` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -14943,9 +14610,8 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -14969,7 +14635,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura // verify required parameter 'id' is not null or undefined assertParamExists('rates', 'id', id) const localVarPath = `/v1/shipments/{id}/rates` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -14995,9 +14661,8 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -15020,7 +14685,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura // verify required parameter 'id' is not null or undefined assertParamExists('retrieve', 'id', id) const localVarPath = `/v1/shipments/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -15046,8 +14711,8 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -15069,7 +14734,7 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura // verify required parameter 'id' is not null or undefined assertParamExists('update', 'id', id) const localVarPath = `/v1/shipments/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -15095,9 +14760,8 @@ export const ShipmentsApiAxiosParamCreator = function (configuration?: Configura // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -15119,7 +14783,7 @@ export const ShipmentsApiFp = function(configuration?: Configuration) { const localVarAxiosParamCreator = ShipmentsApiAxiosParamCreator(configuration) return { /** - * Void a shipment with the associated label. + * Void a shipment with the associated label. ``pk`` can be either the karrio shipment ID (``shp_…``) or a ``request_id`` stored in ``shipment.meta[\"request_id\"]``. When multiple records share the same ``request_id`` the most recently created one is used. * @summary Cancel a shipment * @param {string} id * @param {*} [options] Override http request option. @@ -15162,12 +14826,13 @@ 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: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * @param {string} [carrierName] The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` * @param {string} [createdAfter] * @param {string} [createdBefore] * @param {boolean} [hasManifest] * @param {boolean} [hasTracker] * @param {string} [id] + * @param {boolean} [isArchived] * @param {boolean} [isReturn] * @param {string} [keyword] * @param {string} [metaKey] @@ -15185,8 +14850,8 @@ export const ShipmentsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async list(address?: string, carrierName?: string, createdAfter?: string, createdBefore?: string, hasManifest?: boolean, hasTracker?: boolean, id?: string, isReturn?: boolean, keyword?: string, metaKey?: string, metaValue?: string, metadataKey?: string, metadataValue?: string, optionKey?: string, optionValue?: string, orderId?: string, reference?: string, requestId?: string, service?: string, status?: string, trackingNumber?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.list(address, carrierName, createdAfter, createdBefore, hasManifest, hasTracker, id, isReturn, keyword, metaKey, metaValue, metadataKey, metadataValue, optionKey, optionValue, orderId, reference, requestId, service, status, trackingNumber, options); + async list(address?: string, carrierName?: string, createdAfter?: string, createdBefore?: string, hasManifest?: boolean, hasTracker?: boolean, id?: string, isArchived?: boolean, isReturn?: boolean, keyword?: string, metaKey?: string, metaValue?: string, metadataKey?: string, metadataValue?: string, optionKey?: string, optionValue?: string, orderId?: string, reference?: string, requestId?: string, service?: string, status?: string, trackingNumber?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.list(address, carrierName, createdAfter, createdBefore, hasManifest, hasTracker, id, isArchived, isReturn, keyword, metaKey, metaValue, metadataKey, metadataValue, optionKey, optionValue, orderId, reference, requestId, service, status, trackingNumber, options); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['ShipmentsApi.list']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); @@ -15256,7 +14921,7 @@ export const ShipmentsApiFactory = function (configuration?: Configuration, base const localVarFp = ShipmentsApiFp(configuration) return { /** - * Void a shipment with the associated label. + * Void a shipment with the associated label. ``pk`` can be either the karrio shipment ID (``shp_…``) or a ``request_id`` stored in ``shipment.meta[\"request_id\"]``. When multiple records share the same ``request_id`` the most recently created one is used. * @summary Cancel a shipment * @param {ShipmentsApiCancelRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. @@ -15293,7 +14958,7 @@ export const ShipmentsApiFactory = function (configuration?: Configuration, base * @throws {RequiredError} */ list(requestParameters: ShipmentsApiListRequest = {}, options?: AxiosRequestConfig): AxiosPromise { - return localVarFp.list(requestParameters.address, requestParameters.carrierName, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.hasManifest, requestParameters.hasTracker, requestParameters.id, requestParameters.isReturn, requestParameters.keyword, requestParameters.metaKey, requestParameters.metaValue, requestParameters.metadataKey, requestParameters.metadataValue, requestParameters.optionKey, requestParameters.optionValue, requestParameters.orderId, requestParameters.reference, requestParameters.requestId, requestParameters.service, requestParameters.status, requestParameters.trackingNumber, options).then((request) => request(axios, basePath)); + return localVarFp.list(requestParameters.address, requestParameters.carrierName, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.hasManifest, requestParameters.hasTracker, requestParameters.id, requestParameters.isArchived, requestParameters.isReturn, requestParameters.keyword, requestParameters.metaKey, requestParameters.metaValue, requestParameters.metadataKey, requestParameters.metadataValue, requestParameters.optionKey, requestParameters.optionValue, requestParameters.orderId, requestParameters.reference, requestParameters.requestId, requestParameters.service, requestParameters.status, requestParameters.trackingNumber, options).then((request) => request(axios, basePath)); }, /** * Select your preferred rates to buy a shipment label. @@ -15368,7 +15033,7 @@ export interface ShipmentsApiListRequest { readonly address?: string /** - * The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` */ readonly carrierName?: string @@ -15382,6 +15047,8 @@ export interface ShipmentsApiListRequest { readonly id?: string + readonly isArchived?: boolean + readonly isReturn?: boolean readonly keyword?: string @@ -15453,7 +15120,7 @@ export interface ShipmentsApiUpdateRequest { */ export class ShipmentsApi extends BaseAPI { /** - * Void a shipment with the associated label. + * Void a shipment with the associated label. ``pk`` can be either the karrio shipment ID (``shp_…``) or a ``request_id`` stored in ``shipment.meta[\"request_id\"]``. When multiple records share the same ``request_id`` the most recently created one is used. * @summary Cancel a shipment * @param {ShipmentsApiCancelRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. @@ -15493,7 +15160,7 @@ export class ShipmentsApi extends BaseAPI { * @throws {RequiredError} */ public list(requestParameters: ShipmentsApiListRequest = {}, options?: AxiosRequestConfig) { - return ShipmentsApiFp(this.configuration).list(requestParameters.address, requestParameters.carrierName, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.hasManifest, requestParameters.hasTracker, requestParameters.id, requestParameters.isReturn, requestParameters.keyword, requestParameters.metaKey, requestParameters.metaValue, requestParameters.metadataKey, requestParameters.metadataValue, requestParameters.optionKey, requestParameters.optionValue, requestParameters.orderId, requestParameters.reference, requestParameters.requestId, requestParameters.service, requestParameters.status, requestParameters.trackingNumber, options).then((request) => request(this.axios, this.basePath)); + return ShipmentsApiFp(this.configuration).list(requestParameters.address, requestParameters.carrierName, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.hasManifest, requestParameters.hasTracker, requestParameters.id, requestParameters.isArchived, requestParameters.isReturn, requestParameters.keyword, requestParameters.metaKey, requestParameters.metaValue, requestParameters.metadataKey, requestParameters.metadataValue, requestParameters.optionKey, requestParameters.optionValue, requestParameters.orderId, requestParameters.reference, requestParameters.requestId, requestParameters.service, requestParameters.status, requestParameters.trackingNumber, options).then((request) => request(this.axios, this.basePath)); } /** @@ -15594,9 +15261,8 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat localVarQueryParameter['pending_pickup'] = pendingPickup; } - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -15627,8 +15293,8 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat // verify required parameter 'trackingNumber' is not null or undefined assertParamExists('create', 'trackingNumber', trackingNumber) const localVarPath = `/v1/trackers/{carrier_name}/{tracking_number}` - .replace(`{${"carrier_name"}}`, encodeURIComponent(String(carrierName))) - .replace(`{${"tracking_number"}}`, encodeURIComponent(String(trackingNumber))); + .replace('{carrier_name}', encodeURIComponent(String(carrierName))) + .replace('{tracking_number}', encodeURIComponent(String(trackingNumber))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -15662,8 +15328,8 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat localVarQueryParameter['hub'] = hub; } + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -15687,7 +15353,7 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat // verify required parameter 'trackerEventInjectRequest' is not null or undefined assertParamExists('inject', 'trackerEventInjectRequest', trackerEventInjectRequest) const localVarPath = `/v1/trackers/{tracker_id}/inject-events` - .replace(`{${"tracker_id"}}`, encodeURIComponent(String(trackerId))); + .replace('{tracker_id}', encodeURIComponent(String(trackerId))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -15713,9 +15379,8 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -15730,9 +15395,10 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat /** * Retrieve all shipment trackers. * @summary List all package trackers - * @param {string} [carrierName] The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * @param {string} [carrierName] The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` * @param {string} [createdAfter] * @param {string} [createdBefore] + * @param {boolean} [isArchived] * @param {string} [keyword] * @param {string} [requestId] * @param {string} [status] Valid tracker status. <br/>Values: `pending`, `picked_up`, `unknown`, `on_hold`, `cancelled`, `delivered`, `in_transit`, `delivery_delayed`, `out_for_delivery`, `ready_for_pickup`, `delivery_failed`, `return_to_sender` @@ -15740,7 +15406,7 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - list: async (carrierName?: string, createdAfter?: string, createdBefore?: string, keyword?: string, requestId?: string, status?: string, trackingNumber?: string, options: AxiosRequestConfig = {}): Promise => { + list: async (carrierName?: string, createdAfter?: string, createdBefore?: string, isArchived?: boolean, keyword?: string, requestId?: string, status?: string, trackingNumber?: string, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/v1/trackers`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -15783,6 +15449,10 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat createdBefore; } + if (isArchived !== undefined) { + localVarQueryParameter['is_archived'] = isArchived; + } + if (keyword !== undefined) { localVarQueryParameter['keyword'] = keyword; } @@ -15799,8 +15469,8 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat localVarQueryParameter['tracking_number'] = trackingNumber; } + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -15811,17 +15481,17 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat }; }, /** - * Discard a package tracker. + * Remove a package tracker by ID, tracking number, or request_id. The lookup tries the karrio tracker ID first, then tracking number, then falls back to request_id (most recent match). * @summary Discard a package tracker - * @param {string} idOrTrackingNumber + * @param {string} identifier Tracker ID (trk_...), tracking number, or request_id * @param {*} [options] Override http request option. * @throws {RequiredError} */ - remove: async (idOrTrackingNumber: string, options: AxiosRequestConfig = {}): Promise => { - // verify required parameter 'idOrTrackingNumber' is not null or undefined - assertParamExists('remove', 'idOrTrackingNumber', idOrTrackingNumber) - const localVarPath = `/v1/trackers/{id_or_tracking_number}` - .replace(`{${"id_or_tracking_number"}}`, encodeURIComponent(String(idOrTrackingNumber))); + remove: async (identifier: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'identifier' is not null or undefined + assertParamExists('remove', 'identifier', identifier) + const localVarPath = `/v1/trackers/{identifier}` + .replace('{identifier}', encodeURIComponent(String(identifier))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -15847,8 +15517,8 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -15859,17 +15529,17 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat }; }, /** - * Retrieve a package tracker + * Retrieve a package tracker by ID or tracking number. * @summary Retrieves a package tracker - * @param {string} idOrTrackingNumber + * @param {string} identifier Tracker ID (trk_...) or tracking number * @param {*} [options] Override http request option. * @throws {RequiredError} */ - retrieve: async (idOrTrackingNumber: string, options: AxiosRequestConfig = {}): Promise => { - // verify required parameter 'idOrTrackingNumber' is not null or undefined - assertParamExists('retrieve', 'idOrTrackingNumber', idOrTrackingNumber) - const localVarPath = `/v1/trackers/{id_or_tracking_number}` - .replace(`{${"id_or_tracking_number"}}`, encodeURIComponent(String(idOrTrackingNumber))); + retrieve: async (identifier: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'identifier' is not null or undefined + assertParamExists('retrieve', 'identifier', identifier) + const localVarPath = `/v1/trackers/{identifier}` + .replace('{identifier}', encodeURIComponent(String(identifier))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -15895,8 +15565,8 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -15907,18 +15577,18 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat }; }, /** - * Mixin to log requests + * Update a package tracker by ID. * @summary Update tracker data - * @param {string} idOrTrackingNumber + * @param {string} identifier Tracker ID (trk_...) * @param {TrackerUpdateData} [trackerUpdateData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - update: async (idOrTrackingNumber: string, trackerUpdateData?: TrackerUpdateData, options: AxiosRequestConfig = {}): Promise => { - // verify required parameter 'idOrTrackingNumber' is not null or undefined - assertParamExists('update', 'idOrTrackingNumber', idOrTrackingNumber) - const localVarPath = `/v1/trackers/{id_or_tracking_number}` - .replace(`{${"id_or_tracking_number"}}`, encodeURIComponent(String(idOrTrackingNumber))); + update: async (identifier: string, trackerUpdateData?: TrackerUpdateData, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'identifier' is not null or undefined + assertParamExists('update', 'identifier', identifier) + const localVarPath = `/v1/trackers/{identifier}` + .replace('{identifier}', encodeURIComponent(String(identifier))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -15944,9 +15614,8 @@ export const TrackersApiAxiosParamCreator = function (configuration?: Configurat // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -16016,9 +15685,10 @@ export const TrackersApiFp = function(configuration?: Configuration) { /** * Retrieve all shipment trackers. * @summary List all package trackers - * @param {string} [carrierName] The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * @param {string} [carrierName] The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` * @param {string} [createdAfter] * @param {string} [createdBefore] + * @param {boolean} [isArchived] * @param {string} [keyword] * @param {string} [requestId] * @param {string} [status] Valid tracker status. <br/>Values: `pending`, `picked_up`, `unknown`, `on_hold`, `cancelled`, `delivered`, `in_transit`, `delivery_delayed`, `out_for_delivery`, `ready_for_pickup`, `delivery_failed`, `return_to_sender` @@ -16026,48 +15696,48 @@ export const TrackersApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async list(carrierName?: string, createdAfter?: string, createdBefore?: string, keyword?: string, requestId?: string, status?: string, trackingNumber?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.list(carrierName, createdAfter, createdBefore, keyword, requestId, status, trackingNumber, options); + async list(carrierName?: string, createdAfter?: string, createdBefore?: string, isArchived?: boolean, keyword?: string, requestId?: string, status?: string, trackingNumber?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.list(carrierName, createdAfter, createdBefore, isArchived, keyword, requestId, status, trackingNumber, options); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['TrackersApi.list']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, /** - * Discard a package tracker. + * Remove a package tracker by ID, tracking number, or request_id. The lookup tries the karrio tracker ID first, then tracking number, then falls back to request_id (most recent match). * @summary Discard a package tracker - * @param {string} idOrTrackingNumber + * @param {string} identifier Tracker ID (trk_...), tracking number, or request_id * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async remove(idOrTrackingNumber: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.remove(idOrTrackingNumber, options); + async remove(identifier: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.remove(identifier, options); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['TrackersApi.remove']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, /** - * Retrieve a package tracker + * Retrieve a package tracker by ID or tracking number. * @summary Retrieves a package tracker - * @param {string} idOrTrackingNumber + * @param {string} identifier Tracker ID (trk_...) or tracking number * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async retrieve(idOrTrackingNumber: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.retrieve(idOrTrackingNumber, options); + async retrieve(identifier: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.retrieve(identifier, options); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['TrackersApi.retrieve']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }, /** - * Mixin to log requests + * Update a package tracker by ID. * @summary Update tracker data - * @param {string} idOrTrackingNumber + * @param {string} identifier Tracker ID (trk_...) * @param {TrackerUpdateData} [trackerUpdateData] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async update(idOrTrackingNumber: string, trackerUpdateData?: TrackerUpdateData, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.update(idOrTrackingNumber, trackerUpdateData, options); + async update(identifier: string, trackerUpdateData?: TrackerUpdateData, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.update(identifier, trackerUpdateData, options); const localVarOperationServerIndex = configuration?.serverIndex ?? 0; const localVarOperationServerBasePath = operationServerMap['TrackersApi.update']?.[localVarOperationServerIndex]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); @@ -16120,37 +15790,37 @@ export const TrackersApiFactory = function (configuration?: Configuration, baseP * @throws {RequiredError} */ list(requestParameters: TrackersApiListRequest = {}, options?: AxiosRequestConfig): AxiosPromise { - return localVarFp.list(requestParameters.carrierName, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.keyword, requestParameters.requestId, requestParameters.status, requestParameters.trackingNumber, options).then((request) => request(axios, basePath)); + return localVarFp.list(requestParameters.carrierName, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.isArchived, requestParameters.keyword, requestParameters.requestId, requestParameters.status, requestParameters.trackingNumber, options).then((request) => request(axios, basePath)); }, /** - * Discard a package tracker. + * Remove a package tracker by ID, tracking number, or request_id. The lookup tries the karrio tracker ID first, then tracking number, then falls back to request_id (most recent match). * @summary Discard a package tracker * @param {TrackersApiRemoveRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ remove(requestParameters: TrackersApiRemoveRequest, options?: AxiosRequestConfig): AxiosPromise { - return localVarFp.remove(requestParameters.idOrTrackingNumber, options).then((request) => request(axios, basePath)); + return localVarFp.remove(requestParameters.identifier, options).then((request) => request(axios, basePath)); }, /** - * Retrieve a package tracker + * Retrieve a package tracker by ID or tracking number. * @summary Retrieves a package tracker * @param {TrackersApiRetrieveRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ retrieve(requestParameters: TrackersApiRetrieveRequest, options?: AxiosRequestConfig): AxiosPromise { - return localVarFp.retrieve(requestParameters.idOrTrackingNumber, options).then((request) => request(axios, basePath)); + return localVarFp.retrieve(requestParameters.identifier, options).then((request) => request(axios, basePath)); }, /** - * Mixin to log requests + * Update a package tracker by ID. * @summary Update tracker data * @param {TrackersApiUpdateRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ update(requestParameters: TrackersApiUpdateRequest, options?: AxiosRequestConfig): AxiosPromise { - return localVarFp.update(requestParameters.idOrTrackingNumber, requestParameters.trackerUpdateData, options).then((request) => request(axios, basePath)); + return localVarFp.update(requestParameters.identifier, requestParameters.trackerUpdateData, options).then((request) => request(axios, basePath)); }, }; }; @@ -16196,7 +15866,7 @@ export interface TrackersApiInjectRequest { */ export interface TrackersApiListRequest { /** - * The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` + * The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` */ readonly carrierName?: string @@ -16204,6 +15874,8 @@ export interface TrackersApiListRequest { readonly createdBefore?: string + readonly isArchived?: boolean + readonly keyword?: string readonly requestId?: string @@ -16220,21 +15892,30 @@ export interface TrackersApiListRequest { * Request parameters for remove operation in TrackersApi. */ export interface TrackersApiRemoveRequest { - readonly idOrTrackingNumber: string + /** + * Tracker ID (trk_...), tracking number, or request_id + */ + readonly identifier: string } /** * Request parameters for retrieve operation in TrackersApi. */ export interface TrackersApiRetrieveRequest { - readonly idOrTrackingNumber: string + /** + * Tracker ID (trk_...) or tracking number + */ + readonly identifier: string } /** * Request parameters for update operation in TrackersApi. */ export interface TrackersApiUpdateRequest { - readonly idOrTrackingNumber: string + /** + * Tracker ID (trk_...) + */ + readonly identifier: string readonly trackerUpdateData?: TrackerUpdateData } @@ -16285,88 +15966,72 @@ export class TrackersApi extends BaseAPI { * @throws {RequiredError} */ public list(requestParameters: TrackersApiListRequest = {}, options?: AxiosRequestConfig) { - return TrackersApiFp(this.configuration).list(requestParameters.carrierName, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.keyword, requestParameters.requestId, requestParameters.status, requestParameters.trackingNumber, options).then((request) => request(this.axios, this.basePath)); + return TrackersApiFp(this.configuration).list(requestParameters.carrierName, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.isArchived, requestParameters.keyword, requestParameters.requestId, requestParameters.status, requestParameters.trackingNumber, options).then((request) => request(this.axios, this.basePath)); } /** - * Discard a package tracker. + * Remove a package tracker by ID, tracking number, or request_id. The lookup tries the karrio tracker ID first, then tracking number, then falls back to request_id (most recent match). * @summary Discard a package tracker * @param {TrackersApiRemoveRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ public remove(requestParameters: TrackersApiRemoveRequest, options?: AxiosRequestConfig) { - return TrackersApiFp(this.configuration).remove(requestParameters.idOrTrackingNumber, options).then((request) => request(this.axios, this.basePath)); + return TrackersApiFp(this.configuration).remove(requestParameters.identifier, options).then((request) => request(this.axios, this.basePath)); } /** - * Retrieve a package tracker + * Retrieve a package tracker by ID or tracking number. * @summary Retrieves a package tracker * @param {TrackersApiRetrieveRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ public retrieve(requestParameters: TrackersApiRetrieveRequest, options?: AxiosRequestConfig) { - return TrackersApiFp(this.configuration).retrieve(requestParameters.idOrTrackingNumber, options).then((request) => request(this.axios, this.basePath)); + return TrackersApiFp(this.configuration).retrieve(requestParameters.identifier, options).then((request) => request(this.axios, this.basePath)); } /** - * Mixin to log requests + * Update a package tracker by ID. * @summary Update tracker data * @param {TrackersApiUpdateRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ public update(requestParameters: TrackersApiUpdateRequest, options?: AxiosRequestConfig) { - return TrackersApiFp(this.configuration).update(requestParameters.idOrTrackingNumber, requestParameters.trackerUpdateData, options).then((request) => request(this.axios, this.basePath)); + return TrackersApiFp(this.configuration).update(requestParameters.identifier, requestParameters.trackerUpdateData, options).then((request) => request(this.axios, this.basePath)); } } export const CreateCarrierNameEnum = { - Aramex: 'aramex', Asendia: 'asendia', - 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', DpdMeta: 'dpd_meta', - Dtdc: 'dtdc', Fedex: 'fedex', Generic: 'generic', - Geodis: 'geodis', Gls: 'gls', - HayPost: 'hay_post', Hermes: 'hermes', Landmark: 'landmark', Laposte: 'laposte', - Locate2u: 'locate2u', Mydhl: 'mydhl', - Nationex: 'nationex', Postat: 'postat', Purolator: 'purolator', - Roadie: 'roadie', - Royalmail: 'royalmail', Seko: 'seko', Sendle: 'sendle', + Smartkargo: 'smartkargo', Spring: 'spring', Teleship: 'teleship', - Tge: 'tge', - Tnt: 'tnt', Ups: 'ups', Usps: 'usps', UspsInternational: 'usps_international', - Veho: 'veho', - Zoom2u: 'zoom2u' } as const; export type CreateCarrierNameEnum = typeof CreateCarrierNameEnum[keyof typeof CreateCarrierNameEnum]; @@ -16412,9 +16077,8 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -16459,8 +16123,8 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -16481,7 +16145,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat // verify required parameter 'id' is not null or undefined assertParamExists('remove', 'id', id) const localVarPath = `/v1/webhooks/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -16507,8 +16171,8 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -16529,7 +16193,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat // verify required parameter 'id' is not null or undefined assertParamExists('retrieve', 'id', id) const localVarPath = `/v1/webhooks/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -16555,8 +16219,8 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + localVarHeaderParameter['Accept'] = 'application/json'; - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -16578,7 +16242,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat // verify required parameter 'id' is not null or undefined assertParamExists('test', 'id', id) const localVarPath = `/v1/webhooks/{id}/test` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -16604,9 +16268,8 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -16630,7 +16293,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat // verify required parameter 'id' is not null or undefined assertParamExists('update', 'id', id) const localVarPath = `/v1/webhooks/{id}` - .replace(`{${"id"}}`, encodeURIComponent(String(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; @@ -16656,9 +16319,8 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat // authentication Token required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - - localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarHeaderParameter['Accept'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; diff --git a/packages/types/rest/base.ts b/packages/types/rest/base.ts index e953f9b1c4..ba6329910a 100644 --- a/packages/types/rest/base.ts +++ b/packages/types/rest/base.ts @@ -2,9 +2,9 @@ /* 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 `2026.1.19`. 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 `2026.1.31`. 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: 2026.1.19 + * The version of the OpenAPI document: 2026.1.31 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/types/rest/common.ts b/packages/types/rest/common.ts index b2986fff01..eae15c3745 100644 --- a/packages/types/rest/common.ts +++ b/packages/types/rest/common.ts @@ -2,9 +2,9 @@ /* 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 `2026.1.19`. 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 `2026.1.31`. 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: 2026.1.19 + * The version of the OpenAPI document: 2026.1.31 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from "./configuration"; import type { RequestArgs } from "./base"; import type { AxiosInstance, AxiosResponse } from 'axios'; @@ -63,10 +62,11 @@ export const setOAuthToObject = async function (object: any, name: string, scope } } + function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = ""): void { if (parameter == null) return; if (typeof parameter === "object") { - if (Array.isArray(parameter)) { + if (Array.isArray(parameter) || parameter instanceof Set) { (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key)); } else { @@ -91,13 +91,27 @@ export const setSearchParams = function (url: URL, ...objects: any[]) { url.search = searchParams.toString(); } +/** + * JSON serialization helper function which replaces instances of unserializable types with serializable ones. + * This function will run for every key-value pair encountered by JSON.stringify while traversing an object. + * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required. + */ +// @ts-ignore +export const replaceWithSerializableTypeIfNeeded = function(key: string, value: any) { + if (value instanceof Set) { + return Array.from(value); + } else { + return value; + } +} + export const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) { const nonString = typeof value !== 'string'; const needsSerialization = nonString && configuration && configuration.isJsonMime ? configuration.isJsonMime(requestOptions.headers['Content-Type']) : nonString; return needsSerialization - ? JSON.stringify(value !== undefined ? value : {}) + ? JSON.stringify(value !== undefined ? value : {}, replaceWithSerializableTypeIfNeeded) : (value || ""); } diff --git a/packages/types/rest/configuration.ts b/packages/types/rest/configuration.ts index dcc91d5171..6f380c37e5 100644 --- a/packages/types/rest/configuration.ts +++ b/packages/types/rest/configuration.ts @@ -1,10 +1,9 @@ /* tslint:disable */ -/* 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 `2026.1.19`. 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 `2026.1.31`. 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: 2026.1.19 + * The version of the OpenAPI document: 2026.1.31 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -12,12 +11,24 @@ * Do not edit the class manually. */ +interface AWSv4Configuration { + options?: { + region?: string + service?: string + } + credentials?: { + accessKeyId?: string + secretAccessKey?: string, + sessionToken?: string + } +} export interface ConfigurationParameters { apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); username?: string; password?: string; accessToken?: string | Promise | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise); + awsv4?: AWSv4Configuration; basePath?: string; serverIndex?: number; baseOptions?: any; @@ -44,6 +55,17 @@ export class Configuration { * @param scopes oauth2 scope */ accessToken?: string | Promise | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise); + /** + * parameter for aws4 signature security + * @param {Object} AWS4Signature - AWS4 Signature security + * @param {string} options.region - aws region + * @param {string} options.service - name of the service. + * @param {string} credentials.accessKeyId - aws access key id + * @param {string} credentials.secretAccessKey - aws access key + * @param {string} credentials.sessionToken - aws session token + * @memberof Configuration + */ + awsv4?: AWSv4Configuration; /** * override base path */ @@ -70,6 +92,7 @@ export class Configuration { this.username = param.username; this.password = param.password; this.accessToken = param.accessToken; + this.awsv4 = param.awsv4; this.basePath = param.basePath; this.serverIndex = param.serverIndex; this.baseOptions = { @@ -92,7 +115,7 @@ export class Configuration { * @return True if the given MIME is JSON, false otherwise. */ public isJsonMime(mime: string): boolean { - const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i'); - return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json'); + const jsonMime: RegExp = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i; + return mime !== null && jsonMime.test(mime); } } diff --git a/packages/types/rest/docs/BatchesApi.md b/packages/types/rest/docs/BatchesApi.md index 5ca9f6b274..021528e7e6 100644 --- a/packages/types/rest/docs/BatchesApi.md +++ b/packages/types/rest/docs/BatchesApi.md @@ -190,8 +190,8 @@ import { const configuration = new Configuration(); const apiInstance = new BatchesApi(configuration); -let exportFormat: 'billing' | 'order' | 'shipment' | 'trackers'; // (default to undefined) -let resourceType: 'billing' | 'order' | 'shipment' | 'trackers'; // (default to undefined) +let exportFormat: 'billing' | 'order' | 'rate_sheet' | 'shipment' | 'trackers'; // (default to undefined) +let resourceType: 'billing' | 'order' | 'rate_sheet' | 'shipment' | 'trackers'; // (default to undefined) let dataTemplate: string; //A data template slug to use for the import.
**When nothing is specified, the system default headers are expected.** (optional) (default to undefined) const { status, data } = await apiInstance.exportFile( @@ -205,8 +205,8 @@ const { status, data } = await apiInstance.exportFile( |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| -| **exportFormat** | [**'billing' | 'order' | 'shipment' | 'trackers'**]**Array<'billing' | 'order' | 'shipment' | 'trackers'>** | | defaults to undefined| -| **resourceType** | [**'billing' | 'order' | 'shipment' | 'trackers'**]**Array<'billing' | 'order' | 'shipment' | 'trackers'>** | | defaults to undefined| +| **exportFormat** | [**'billing' | 'order' | 'rate_sheet' | 'shipment' | 'trackers'**]**Array<'billing' | 'order' | 'rate_sheet' | 'shipment' | 'trackers'>** | | defaults to undefined| +| **resourceType** | [**'billing' | 'order' | 'rate_sheet' | 'shipment' | 'trackers'**]**Array<'billing' | 'order' | 'rate_sheet' | 'shipment' | 'trackers'>** | | defaults to undefined| | **dataTemplate** | [**string**] | A data template slug to use for the import.<br/> **When nothing is specified, the system default headers are expected.** | (optional) defaults to undefined| @@ -234,9 +234,9 @@ const { status, data } = await apiInstance.exportFile( [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **importFile** -> BatchOperation importFile() +> { [key: string]: any; } importFile() -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.** +Import csv, xls and xlsx data files for: `Beta`
- trackers data - orders data - shipments data - rate_sheet data (Excel/CSV)

**For rate_sheet imports, pass dry_run=true to validate and preview a diff without writing. For other resource types, a BatchOperation is returned.** ### Example @@ -251,9 +251,10 @@ const apiInstance = new BatchesApi(configuration); let dataFile: File; // (optional) (default to undefined) let dataTemplate: string; //A data template slug to use for the import.
**When nothing is specified, the system default headers are expected.** (optional) (default to undefined) -let resourceType: 'billing' | 'order' | 'shipment' | 'trackers'; //The type of the resource to import (optional) (default to undefined) +let resourceType: 'billing' | 'order' | 'rate_sheet' | 'shipment' | 'trackers'; //The type of the resource to import (optional) (default to undefined) let resourceType2: string; // (optional) (default to undefined) let dataTemplate2: string; // (optional) (default to undefined) +let dryRun: boolean; // (optional) (default to undefined) let dataFile2: File; // (optional) (default to undefined) const { status, data } = await apiInstance.importFile( @@ -262,6 +263,7 @@ const { status, data } = await apiInstance.importFile( resourceType, resourceType2, dataTemplate2, + dryRun, dataFile2 ); ``` @@ -272,15 +274,16 @@ const { status, data } = await apiInstance.importFile( |------------- | ------------- | ------------- | -------------| | **dataFile** | [**File**] | | (optional) defaults to undefined| | **dataTemplate** | [**string**] | A data template slug to use for the import.<br/> **When nothing is specified, the system default headers are expected.** | (optional) defaults to undefined| -| **resourceType** | [**'billing' | 'order' | 'shipment' | 'trackers'**]**Array<'billing' | 'order' | 'shipment' | 'trackers'>** | The type of the resource to import | (optional) defaults to undefined| +| **resourceType** | [**'billing' | 'order' | 'rate_sheet' | 'shipment' | 'trackers'**]**Array<'billing' | 'order' | 'rate_sheet' | 'shipment' | 'trackers'>** | The type of the resource to import | (optional) defaults to undefined| | **resourceType2** | [**string**] | | (optional) defaults to undefined| | **dataTemplate2** | [**string**] | | (optional) defaults to undefined| +| **dryRun** | [**boolean**] | | (optional) defaults to undefined| | **dataFile2** | [**File**] | | (optional) defaults to undefined| ### Return type -**BatchOperation** +**{ [key: string]: any; }** ### Authorization @@ -295,6 +298,7 @@ const { status, data } = await apiInstance.importFile( ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| +|**200** | | - | |**202** | | - | |**400** | | - | |**500** | | - | diff --git a/packages/types/rest/docs/CarriersApi.md b/packages/types/rest/docs/CarriersApi.md index 012db03a02..8da0039f0c 100644 --- a/packages/types/rest/docs/CarriersApi.md +++ b/packages/types/rest/docs/CarriersApi.md @@ -25,7 +25,7 @@ import { const configuration = new Configuration(); const apiInstance = new CarriersApi(configuration); -let carrierName: string; //The unique carrier slug.
Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` (default to undefined) +let carrierName: string; //The unique carrier slug.
Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` (default to undefined) const { status, data } = await apiInstance.getDetails( carrierName @@ -36,7 +36,7 @@ const { status, data } = await apiInstance.getDetails( |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| -| **carrierName** | [**string**] | The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` | defaults to undefined| +| **carrierName** | [**string**] | The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` | defaults to undefined| ### Return type @@ -78,7 +78,7 @@ import { const configuration = new Configuration(); const apiInstance = new CarriersApi(configuration); -let carrierName: string; //The unique carrier slug.
Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` (default to undefined) +let carrierName: string; //The unique carrier slug.
Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` (default to undefined) const { status, data } = await apiInstance.getOptions( carrierName @@ -89,7 +89,7 @@ const { status, data } = await apiInstance.getOptions( |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| -| **carrierName** | [**string**] | The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` | defaults to undefined| +| **carrierName** | [**string**] | The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` | defaults to undefined| ### Return type @@ -131,7 +131,7 @@ import { const configuration = new Configuration(); const apiInstance = new CarriersApi(configuration); -let carrierName: string; //The unique carrier slug.
Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` (default to undefined) +let carrierName: string; //The unique carrier slug.
Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` (default to undefined) const { status, data } = await apiInstance.getServices( carrierName @@ -142,7 +142,7 @@ const { status, data } = await apiInstance.getServices( |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| -| **carrierName** | [**string**] | The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` | defaults to undefined| +| **carrierName** | [**string**] | The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` | defaults to undefined| ### Return type @@ -184,11 +184,18 @@ import { const configuration = new Configuration(); const apiInstance = new CarriersApi(configuration); -const { status, data } = await apiInstance.list(); +let lang: string; //Language code for translated labels (e.g., \'de\', \'en\'). (optional) (default to undefined) + +const { status, data } = await apiInstance.list( + lang +); ``` ### Parameters -This endpoint does not have any parameters. + +|Name | Type | Description | Notes| +|------------- | ------------- | ------------- | -------------| +| **lang** | [**string**] | Language code for translated labels (e.g., \'de\', \'en\'). | (optional) defaults to undefined| ### Return type @@ -209,6 +216,7 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| |**200** | | - | +|**400** | | - | |**500** | | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/packages/types/rest/docs/ConnectionCredentialsField.md b/packages/types/rest/docs/ConnectionCredentialsField.md index a403b089aa..a2b70b7a17 100644 --- a/packages/types/rest/docs/ConnectionCredentialsField.md +++ b/packages/types/rest/docs/ConnectionCredentialsField.md @@ -7,26 +7,21 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **username** | **string** | | [default to undefined] **password** | **string** | | [default to undefined] -**account_pin** | **string** | | [default to undefined] -**account_entity** | **string** | | [default to undefined] -**account_number** | **string** | | [default to undefined] -**account_country_code** | **string** | | [default to 'AU'] -**customer_id** | **string** | | [default to undefined] +**customer_id** | **string** | | [optional] [default to undefined] +**account_country_code** | **string** | | [optional] [default to 'US'] **api_key** | **string** | | [default to undefined] +**account_number** | **string** | | [default to undefined] **account_id** | **string** | | [default to undefined] **passphrase** | **string** | | [default to undefined] **customer_number** | **string** | | [optional] [default to undefined] **contract_id** | **string** | | [optional] [default to undefined] **language** | **string** | Indicates a language string | [optional] [default to undefined] **id_emit** | **string** | | [optional] [default to 'CHRFR'] -**contract_number** | **string** | | [default to undefined] -**laposte_api_key** | **string** | | [optional] [default to undefined] **site_id** | **string** | | [default to undefined] **client_id** | **string** | | [default to undefined] **client_secret** | **string** | | [default to undefined] **consumer_key** | **string** | | [default to undefined] **consumer_secret** | **string** | | [default to undefined] -**billing_account** | **string** | | [optional] [default to undefined] **delis_id** | **string** | | [default to undefined] **depot** | **string** | | [optional] [default to undefined] **message_language** | **string** | | [optional] [default to 'en_EN'] @@ -37,19 +32,12 @@ Name | Type | Description | Notes **dpd_bucode** | **string** | | [optional] [default to undefined] **customer_account_number** | **string** | | [optional] [default to undefined] **customer_sub_account_number** | **string** | | [optional] [default to undefined] -**customer_code** | **string** | | [default to undefined] -**access_token** | **string** | | [default to undefined] -**principal** | **string** | | [default to undefined] -**credential** | **string** | | [default to undefined] **secret_key** | **string** | | [optional] [default to undefined] **track_api_key** | **string** | | [optional] [default to undefined] **track_secret_key** | **string** | | [optional] [default to undefined] **display_name** | **string** | | [default to undefined] **custom_carrier_name** | **string** | | [default to undefined] -**identifier** | **string** | | [default to undefined] -**code_client** | **string** | | [optional] [default to undefined] **contact_id** | **string** | | [optional] [default to undefined] -**customer_type** | **string** | | [default to undefined] **region** | **string** | | [optional] [default to 'Landmark CMH'] **lang** | **string** | Indicates a lang string | [optional] [default to undefined] **mandator_id** | **string** | | [default to undefined] @@ -57,18 +45,8 @@ Name | Type | Description | Notes **org_unit_id** | **string** | | [default to undefined] **org_unit_guid** | **string** | | [default to undefined] **user_token** | **string** | | [optional] [default to undefined] -**shipping_account_id** | **string** | | [default to undefined] -**sapient_carrier_code** | **string** | Indicates a sapient_carrier_code string | [optional] [default to undefined] **access_key** | **string** | | [default to undefined] **sendle_id** | **string** | | [default to undefined] -**carrier_ids** | **string** | | [optional] [default to undefined] -**toll_username** | **string** | | [default to undefined] -**toll_password** | **string** | | [default to undefined] -**my_toll_token** | **string** | | [default to undefined] -**my_toll_identity** | **string** | | [default to undefined] -**account_code** | **string** | | [optional] [default to undefined] -**sscc_count** | **number** | | [optional] [default to undefined] -**shipment_count** | **number** | | [optional] [default to undefined] **account_type** | **string** | Indicates a account_type string | [optional] [default to undefined] **manifest_mid** | **string** | | [optional] [default to undefined] **crid** | **string** | | [optional] [default to undefined] @@ -82,26 +60,21 @@ import { ConnectionCredentialsField } from './api'; const instance: ConnectionCredentialsField = { username, password, - account_pin, - account_entity, - account_number, - account_country_code, customer_id, + account_country_code, api_key, + account_number, account_id, passphrase, customer_number, contract_id, language, id_emit, - contract_number, - laposte_api_key, site_id, client_id, client_secret, consumer_key, consumer_secret, - billing_account, delis_id, depot, message_language, @@ -112,19 +85,12 @@ const instance: ConnectionCredentialsField = { dpd_bucode, customer_account_number, customer_sub_account_number, - customer_code, - access_token, - principal, - credential, secret_key, track_api_key, track_secret_key, display_name, custom_carrier_name, - identifier, - code_client, contact_id, - customer_type, region, lang, mandator_id, @@ -132,18 +98,8 @@ const instance: ConnectionCredentialsField = { org_unit_id, org_unit_guid, user_token, - shipping_account_id, - sapient_carrier_code, access_key, sendle_id, - carrier_ids, - toll_username, - toll_password, - my_toll_token, - my_toll_identity, - account_code, - sscc_count, - shipment_count, account_type, manifest_mid, crid, diff --git a/packages/types/rest/docs/ConnectionsApi.md b/packages/types/rest/docs/ConnectionsApi.md index 4d598cbc79..b55321c612 100644 --- a/packages/types/rest/docs/ConnectionsApi.md +++ b/packages/types/rest/docs/ConnectionsApi.md @@ -82,7 +82,7 @@ const configuration = new Configuration(); const apiInstance = new ConnectionsApi(configuration); let active: boolean; // (optional) (default to undefined) -let carrierName: string; //The unique carrier slug.
Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` (optional) (default to undefined) +let carrierName: string; //The unique carrier slug.
Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` (optional) (default to undefined) let metadataKey: string; // (optional) (default to undefined) let metadataValue: string; // (optional) (default to undefined) let systemOnly: boolean; // (optional) (default to undefined) @@ -101,7 +101,7 @@ const { status, data } = await apiInstance.list( |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| | **active** | [**boolean**] | | (optional) defaults to undefined| -| **carrierName** | [**string**] | The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` | (optional) defaults to undefined| +| **carrierName** | [**string**] | The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` | (optional) defaults to undefined| | **metadataKey** | [**string**] | | (optional) defaults to undefined| | **metadataValue** | [**string**] | | (optional) defaults to undefined| | **systemOnly** | [**boolean**] | | (optional) defaults to undefined| diff --git a/packages/types/rest/docs/ManifestsApi.md b/packages/types/rest/docs/ManifestsApi.md index 6545a406e4..3b8eabedef 100644 --- a/packages/types/rest/docs/ManifestsApi.md +++ b/packages/types/rest/docs/ManifestsApi.md @@ -133,7 +133,7 @@ import { const configuration = new Configuration(); const apiInstance = new ManifestsApi(configuration); -let carrierName: string; //The unique carrier slug.
Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` (optional) (default to undefined) +let carrierName: string; //The unique carrier slug.
Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` (optional) (default to undefined) let createdAfter: string; // (optional) (default to undefined) let createdBefore: string; // (optional) (default to undefined) @@ -148,7 +148,7 @@ const { status, data } = await apiInstance.list( |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| -| **carrierName** | [**string**] | The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` | (optional) defaults to undefined| +| **carrierName** | [**string**] | The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` | (optional) defaults to undefined| | **createdAfter** | [**string**] | | (optional) defaults to undefined| | **createdBefore** | [**string**] | | (optional) defaults to undefined| diff --git a/packages/types/rest/docs/Order.md b/packages/types/rest/docs/Order.md index 908e2e2be4..d50f34fae9 100644 --- a/packages/types/rest/docs/Order.md +++ b/packages/types/rest/docs/Order.md @@ -7,6 +7,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **string** | A unique identifier | [optional] [default to undefined] **object_type** | **string** | Specifies the object type | [optional] [default to 'order'] +**is_archived** | **boolean** | Indicates whether this order is archived. | [optional] [default to false] +**archived_at** | **string** | Timestamp when the order was archived. | [optional] [default to undefined] **order_id** | **string** | The source\' order id. | [default to undefined] **order_date** | **string** | The order date. format: `YYYY-MM-DD` | [optional] [default to undefined] **source** | **string** | The order\'s source. | [optional] [default to undefined] @@ -30,6 +32,8 @@ import { Order } from './api'; const instance: Order = { id, object_type, + is_archived, + archived_at, order_id, order_date, source, diff --git a/packages/types/rest/docs/OrdersApi.md b/packages/types/rest/docs/OrdersApi.md index abc6e13f0d..cf620cd58d 100644 --- a/packages/types/rest/docs/OrdersApi.md +++ b/packages/types/rest/docs/OrdersApi.md @@ -14,7 +14,7 @@ All URIs are relative to *http://localhost* # **cancel** > Order cancel() -Cancel an order. +Cancel an order. ``pk`` can be either the karrio order ID or a ``request_id`` stored in ``order.meta[\"request_id\"]``. ### Example diff --git a/packages/types/rest/docs/Pickup.md b/packages/types/rest/docs/Pickup.md index 5e041d43ad..bef16a7f00 100644 --- a/packages/types/rest/docs/Pickup.md +++ b/packages/types/rest/docs/Pickup.md @@ -7,6 +7,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **string** | A unique pickup identifier | [optional] [default to undefined] **object_type** | **string** | Specifies the object type | [optional] [default to 'pickup'] +**is_archived** | **boolean** | Indicates whether this pickup is archived. | [optional] [default to false] +**archived_at** | **string** | Timestamp when the pickup was archived. | [optional] [default to undefined] **carrier_name** | **string** | The pickup carrier | [default to undefined] **carrier_id** | **string** | The pickup carrier configured name | [default to undefined] **confirmation_number** | **string** | The pickup confirmation identifier | [default to undefined] @@ -36,6 +38,8 @@ import { Pickup } from './api'; const instance: Pickup = { id, object_type, + is_archived, + archived_at, carrier_name, carrier_id, confirmation_number, diff --git a/packages/types/rest/docs/PickupsApi.md b/packages/types/rest/docs/PickupsApi.md index 9b711f3af8..0816e17e6c 100644 --- a/packages/types/rest/docs/PickupsApi.md +++ b/packages/types/rest/docs/PickupsApi.md @@ -14,7 +14,7 @@ All URIs are relative to *http://localhost* # **cancel** > Pickup cancel() -Cancel a pickup of one or more shipments. +Cancel a pickup of one or more shipments. ``pk`` can be either the karrio pickup ID (``pck_…``) or a ``request_id`` stored in ``pickup.meta[\"request_id\"]``. ### Example @@ -142,10 +142,11 @@ const configuration = new Configuration(); const apiInstance = new PickupsApi(configuration); let address: string; // (optional) (default to undefined) -let carrierName: string; //The unique carrier slug.
Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` (optional) (default to undefined) +let carrierName: string; //The unique carrier slug.
Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` (optional) (default to undefined) let confirmationNumber: string; // (optional) (default to undefined) let createdAfter: string; // (optional) (default to undefined) let createdBefore: string; // (optional) (default to undefined) +let isArchived: boolean; // (optional) (default to undefined) let keyword: string; // (optional) (default to undefined) let pickupDateAfter: string; // (optional) (default to undefined) let pickupDateBefore: string; // (optional) (default to undefined) @@ -158,6 +159,7 @@ const { status, data } = await apiInstance.list( confirmationNumber, createdAfter, createdBefore, + isArchived, keyword, pickupDateAfter, pickupDateBefore, @@ -171,10 +173,11 @@ const { status, data } = await apiInstance.list( |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| | **address** | [**string**] | | (optional) defaults to undefined| -| **carrierName** | [**string**] | The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` | (optional) defaults to undefined| +| **carrierName** | [**string**] | The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` | (optional) defaults to undefined| | **confirmationNumber** | [**string**] | | (optional) defaults to undefined| | **createdAfter** | [**string**] | | (optional) defaults to undefined| | **createdBefore** | [**string**] | | (optional) defaults to undefined| +| **isArchived** | [**boolean**] | | (optional) defaults to undefined| | **keyword** | [**string**] | | (optional) defaults to undefined| | **pickupDateAfter** | [**string**] | | (optional) defaults to undefined| | **pickupDateBefore** | [**string**] | | (optional) defaults to undefined| diff --git a/packages/types/rest/docs/ProxyApi.md b/packages/types/rest/docs/ProxyApi.md index e7c14f9f59..923ab20b18 100644 --- a/packages/types/rest/docs/ProxyApi.md +++ b/packages/types/rest/docs/ProxyApi.md @@ -86,7 +86,7 @@ import { const configuration = new Configuration(); const apiInstance = new ProxyApi(configuration); -let carrierName: 'aramex' | 'asendia' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpd_meta' | 'dtdc' | 'easypost' | 'easyship' | 'eshipper' | 'fedex' | 'freightcom' | 'generic' | 'geodis' | 'gls' | 'hay_post' | 'hermes' | 'landmark' | 'laposte' | 'locate2u' | 'mydhl' | 'nationex' | 'parcelone' | 'postat' | 'purolator' | 'roadie' | 'royalmail' | 'sapient' | 'seko' | 'sendle' | 'shipengine' | 'spring' | 'teleship' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'veho' | 'zoom2u'; // (default to undefined) +let carrierName: 'asendia' | 'australiapost' | 'bpost' | 'canadapost' | 'chronopost' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dpd' | 'dpd_meta' | 'fedex' | 'generic' | 'gls' | 'hermes' | 'landmark' | 'laposte' | 'mydhl' | 'parcelone' | 'postat' | 'purolator' | 'seko' | 'sendle' | 'smartkargo' | 'spring' | 'teleship' | 'ups' | 'usps' | 'usps_international'; // (default to undefined) let pickupCancelRequest: PickupCancelRequest; // const { status, data } = await apiInstance.cancelPickup( @@ -100,7 +100,7 @@ const { status, data } = await apiInstance.cancelPickup( |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| | **pickupCancelRequest** | **PickupCancelRequest**| | | -| **carrierName** | [**'aramex' | 'asendia' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpd_meta' | 'dtdc' | 'easypost' | 'easyship' | 'eshipper' | 'fedex' | 'freightcom' | 'generic' | 'geodis' | 'gls' | 'hay_post' | 'hermes' | 'landmark' | 'laposte' | 'locate2u' | 'mydhl' | 'nationex' | 'parcelone' | 'postat' | 'purolator' | 'roadie' | 'royalmail' | 'sapient' | 'seko' | 'sendle' | 'shipengine' | 'spring' | 'teleship' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'veho' | 'zoom2u'**]**Array<'aramex' | 'asendia' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpd_meta' | 'dtdc' | 'easypost' | 'easyship' | 'eshipper' | 'fedex' | 'freightcom' | 'generic' | 'geodis' | 'gls' | 'hay_post' | 'hermes' | 'landmark' | 'laposte' | 'locate2u' | 'mydhl' | 'nationex' | 'parcelone' | 'postat' | 'purolator' | 'roadie' | 'royalmail' | 'sapient' | 'seko' | 'sendle' | 'shipengine' | 'spring' | 'teleship' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'veho' | 'zoom2u'>** | | defaults to undefined| +| **carrierName** | [**'asendia' | 'australiapost' | 'bpost' | 'canadapost' | 'chronopost' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dpd' | 'dpd_meta' | 'fedex' | 'generic' | 'gls' | 'hermes' | 'landmark' | 'laposte' | 'mydhl' | 'parcelone' | 'postat' | 'purolator' | 'seko' | 'sendle' | 'smartkargo' | 'spring' | 'teleship' | 'ups' | 'usps' | 'usps_international'**]**Array<'asendia' | 'australiapost' | 'bpost' | 'canadapost' | 'chronopost' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dpd' | 'dpd_meta' | 'fedex' | 'generic' | 'gls' | 'hermes' | 'landmark' | 'laposte' | 'mydhl' | 'parcelone' | 'postat' | 'purolator' | 'seko' | 'sendle' | 'smartkargo' | 'spring' | 'teleship' | 'ups' | 'usps' | 'usps_international'>** | | defaults to undefined| ### Return type @@ -312,7 +312,7 @@ import { const configuration = new Configuration(); const apiInstance = new ProxyApi(configuration); -let carrierName: 'aramex' | 'asendia' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpd_meta' | 'dtdc' | 'easypost' | 'easyship' | 'eshipper' | 'fedex' | 'freightcom' | 'generic' | 'geodis' | 'gls' | 'hay_post' | 'hermes' | 'landmark' | 'laposte' | 'locate2u' | 'mydhl' | 'nationex' | 'parcelone' | 'postat' | 'purolator' | 'roadie' | 'royalmail' | 'sapient' | 'seko' | 'sendle' | 'shipengine' | 'spring' | 'teleship' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'veho' | 'zoom2u'; // (default to undefined) +let carrierName: 'asendia' | 'australiapost' | 'bpost' | 'canadapost' | 'chronopost' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dpd' | 'dpd_meta' | 'fedex' | 'generic' | 'gls' | 'hermes' | 'landmark' | 'laposte' | 'mydhl' | 'parcelone' | 'postat' | 'purolator' | 'seko' | 'sendle' | 'smartkargo' | 'spring' | 'teleship' | 'ups' | 'usps' | 'usps_international'; // (default to undefined) let pickupRequest: PickupRequest; // const { status, data } = await apiInstance.schedulePickup( @@ -326,7 +326,7 @@ const { status, data } = await apiInstance.schedulePickup( |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| | **pickupRequest** | **PickupRequest**| | | -| **carrierName** | [**'aramex' | 'asendia' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpd_meta' | 'dtdc' | 'easypost' | 'easyship' | 'eshipper' | 'fedex' | 'freightcom' | 'generic' | 'geodis' | 'gls' | 'hay_post' | 'hermes' | 'landmark' | 'laposte' | 'locate2u' | 'mydhl' | 'nationex' | 'parcelone' | 'postat' | 'purolator' | 'roadie' | 'royalmail' | 'sapient' | 'seko' | 'sendle' | 'shipengine' | 'spring' | 'teleship' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'veho' | 'zoom2u'**]**Array<'aramex' | 'asendia' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpd_meta' | 'dtdc' | 'easypost' | 'easyship' | 'eshipper' | 'fedex' | 'freightcom' | 'generic' | 'geodis' | 'gls' | 'hay_post' | 'hermes' | 'landmark' | 'laposte' | 'locate2u' | 'mydhl' | 'nationex' | 'parcelone' | 'postat' | 'purolator' | 'roadie' | 'royalmail' | 'sapient' | 'seko' | 'sendle' | 'shipengine' | 'spring' | 'teleship' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'veho' | 'zoom2u'>** | | defaults to undefined| +| **carrierName** | [**'asendia' | 'australiapost' | 'bpost' | 'canadapost' | 'chronopost' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dpd' | 'dpd_meta' | 'fedex' | 'generic' | 'gls' | 'hermes' | 'landmark' | 'laposte' | 'mydhl' | 'parcelone' | 'postat' | 'purolator' | 'seko' | 'sendle' | 'smartkargo' | 'spring' | 'teleship' | 'ups' | 'usps' | 'usps_international'**]**Array<'asendia' | 'australiapost' | 'bpost' | 'canadapost' | 'chronopost' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dpd' | 'dpd_meta' | 'fedex' | 'generic' | 'gls' | 'hermes' | 'landmark' | 'laposte' | 'mydhl' | 'parcelone' | 'postat' | 'purolator' | 'seko' | 'sendle' | 'smartkargo' | 'spring' | 'teleship' | 'ups' | 'usps' | 'usps_international'>** | | defaults to undefined| ### Return type @@ -369,7 +369,7 @@ import { const configuration = new Configuration(); const apiInstance = new ProxyApi(configuration); -let carrierName: 'aramex' | 'asendia' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpd_meta' | 'dtdc' | 'fedex' | 'generic' | 'geodis' | 'gls' | 'hay_post' | 'hermes' | 'landmark' | 'laposte' | 'locate2u' | 'mydhl' | 'nationex' | 'postat' | 'purolator' | 'roadie' | 'royalmail' | 'seko' | 'sendle' | 'spring' | 'teleship' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'veho' | 'zoom2u'; // (default to undefined) +let carrierName: 'asendia' | 'australiapost' | 'bpost' | 'canadapost' | 'chronopost' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dpd' | 'dpd_meta' | 'fedex' | 'generic' | 'gls' | 'hermes' | 'landmark' | 'laposte' | 'mydhl' | 'postat' | 'purolator' | 'seko' | 'sendle' | 'smartkargo' | 'spring' | 'teleship' | 'ups' | 'usps' | 'usps_international'; // (default to undefined) let trackingNumber: string; // (default to undefined) let hub: string; // (optional) (default to undefined) @@ -384,7 +384,7 @@ const { status, data } = await apiInstance.trackShipment( |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| -| **carrierName** | [**'aramex' | 'asendia' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpd_meta' | 'dtdc' | 'fedex' | 'generic' | 'geodis' | 'gls' | 'hay_post' | 'hermes' | 'landmark' | 'laposte' | 'locate2u' | 'mydhl' | 'nationex' | 'postat' | 'purolator' | 'roadie' | 'royalmail' | 'seko' | 'sendle' | 'spring' | 'teleship' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'veho' | 'zoom2u'**]**Array<'aramex' | 'asendia' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpd_meta' | 'dtdc' | 'fedex' | 'generic' | 'geodis' | 'gls' | 'hay_post' | 'hermes' | 'landmark' | 'laposte' | 'locate2u' | 'mydhl' | 'nationex' | 'postat' | 'purolator' | 'roadie' | 'royalmail' | 'seko' | 'sendle' | 'spring' | 'teleship' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'veho' | 'zoom2u'>** | | defaults to undefined| +| **carrierName** | [**'asendia' | 'australiapost' | 'bpost' | 'canadapost' | 'chronopost' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dpd' | 'dpd_meta' | 'fedex' | 'generic' | 'gls' | 'hermes' | 'landmark' | 'laposte' | 'mydhl' | 'postat' | 'purolator' | 'seko' | 'sendle' | 'smartkargo' | 'spring' | 'teleship' | 'ups' | 'usps' | 'usps_international'**]**Array<'asendia' | 'australiapost' | 'bpost' | 'canadapost' | 'chronopost' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dpd' | 'dpd_meta' | 'fedex' | 'generic' | 'gls' | 'hermes' | 'landmark' | 'laposte' | 'mydhl' | 'postat' | 'purolator' | 'seko' | 'sendle' | 'smartkargo' | 'spring' | 'teleship' | 'ups' | 'usps' | 'usps_international'>** | | defaults to undefined| | **trackingNumber** | [**string**] | | defaults to undefined| | **hub** | [**string**] | | (optional) defaults to undefined| @@ -430,7 +430,7 @@ import { const configuration = new Configuration(); const apiInstance = new ProxyApi(configuration); -let carrierName: 'aramex' | 'asendia' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpd_meta' | 'dtdc' | 'easypost' | 'easyship' | 'eshipper' | 'fedex' | 'freightcom' | 'generic' | 'geodis' | 'gls' | 'hay_post' | 'hermes' | 'landmark' | 'laposte' | 'locate2u' | 'mydhl' | 'nationex' | 'parcelone' | 'postat' | 'purolator' | 'roadie' | 'royalmail' | 'sapient' | 'seko' | 'sendle' | 'shipengine' | 'spring' | 'teleship' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'veho' | 'zoom2u'; // (default to undefined) +let carrierName: 'asendia' | 'australiapost' | 'bpost' | 'canadapost' | 'chronopost' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dpd' | 'dpd_meta' | 'fedex' | 'generic' | 'gls' | 'hermes' | 'landmark' | 'laposte' | 'mydhl' | 'parcelone' | 'postat' | 'purolator' | 'seko' | 'sendle' | 'smartkargo' | 'spring' | 'teleship' | 'ups' | 'usps' | 'usps_international'; // (default to undefined) let pickupUpdateRequest: PickupUpdateRequest; // const { status, data } = await apiInstance.updatePickup( @@ -444,7 +444,7 @@ const { status, data } = await apiInstance.updatePickup( |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| | **pickupUpdateRequest** | **PickupUpdateRequest**| | | -| **carrierName** | [**'aramex' | 'asendia' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpd_meta' | 'dtdc' | 'easypost' | 'easyship' | 'eshipper' | 'fedex' | 'freightcom' | 'generic' | 'geodis' | 'gls' | 'hay_post' | 'hermes' | 'landmark' | 'laposte' | 'locate2u' | 'mydhl' | 'nationex' | 'parcelone' | 'postat' | 'purolator' | 'roadie' | 'royalmail' | 'sapient' | 'seko' | 'sendle' | 'shipengine' | 'spring' | 'teleship' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'veho' | 'zoom2u'**]**Array<'aramex' | 'asendia' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpd_meta' | 'dtdc' | 'easypost' | 'easyship' | 'eshipper' | 'fedex' | 'freightcom' | 'generic' | 'geodis' | 'gls' | 'hay_post' | 'hermes' | 'landmark' | 'laposte' | 'locate2u' | 'mydhl' | 'nationex' | 'parcelone' | 'postat' | 'purolator' | 'roadie' | 'royalmail' | 'sapient' | 'seko' | 'sendle' | 'shipengine' | 'spring' | 'teleship' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'veho' | 'zoom2u'>** | | defaults to undefined| +| **carrierName** | [**'asendia' | 'australiapost' | 'bpost' | 'canadapost' | 'chronopost' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dpd' | 'dpd_meta' | 'fedex' | 'generic' | 'gls' | 'hermes' | 'landmark' | 'laposte' | 'mydhl' | 'parcelone' | 'postat' | 'purolator' | 'seko' | 'sendle' | 'smartkargo' | 'spring' | 'teleship' | 'ups' | 'usps' | 'usps_international'**]**Array<'asendia' | 'australiapost' | 'bpost' | 'canadapost' | 'chronopost' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dpd' | 'dpd_meta' | 'fedex' | 'generic' | 'gls' | 'hermes' | 'landmark' | 'laposte' | 'mydhl' | 'parcelone' | 'postat' | 'purolator' | 'seko' | 'sendle' | 'smartkargo' | 'spring' | 'teleship' | 'ups' | 'usps' | 'usps_international'>** | | defaults to undefined| ### Return type @@ -488,7 +488,7 @@ import { const configuration = new Configuration(); const apiInstance = new ProxyApi(configuration); -let carrierName: 'aramex' | 'asendia' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpd_meta' | 'dtdc' | 'easypost' | 'easyship' | 'eshipper' | 'fedex' | 'freightcom' | 'generic' | 'geodis' | 'gls' | 'hay_post' | 'hermes' | 'landmark' | 'laposte' | 'locate2u' | 'mydhl' | 'nationex' | 'parcelone' | 'postat' | 'purolator' | 'roadie' | 'royalmail' | 'sapient' | 'seko' | 'sendle' | 'shipengine' | 'spring' | 'teleship' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'veho' | 'zoom2u'; // (default to undefined) +let carrierName: 'asendia' | 'australiapost' | 'bpost' | 'canadapost' | 'chronopost' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dpd' | 'dpd_meta' | 'fedex' | 'generic' | 'gls' | 'hermes' | 'landmark' | 'laposte' | 'mydhl' | 'parcelone' | 'postat' | 'purolator' | 'seko' | 'sendle' | 'smartkargo' | 'spring' | 'teleship' | 'ups' | 'usps' | 'usps_international'; // (default to undefined) let shipmentCancelRequest: ShipmentCancelRequest; // const { status, data } = await apiInstance.voidLabel( @@ -502,7 +502,7 @@ const { status, data } = await apiInstance.voidLabel( |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| | **shipmentCancelRequest** | **ShipmentCancelRequest**| | | -| **carrierName** | [**'aramex' | 'asendia' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpd_meta' | 'dtdc' | 'easypost' | 'easyship' | 'eshipper' | 'fedex' | 'freightcom' | 'generic' | 'geodis' | 'gls' | 'hay_post' | 'hermes' | 'landmark' | 'laposte' | 'locate2u' | 'mydhl' | 'nationex' | 'parcelone' | 'postat' | 'purolator' | 'roadie' | 'royalmail' | 'sapient' | 'seko' | 'sendle' | 'shipengine' | 'spring' | 'teleship' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'veho' | 'zoom2u'**]**Array<'aramex' | 'asendia' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpd_meta' | 'dtdc' | 'easypost' | 'easyship' | 'eshipper' | 'fedex' | 'freightcom' | 'generic' | 'geodis' | 'gls' | 'hay_post' | 'hermes' | 'landmark' | 'laposte' | 'locate2u' | 'mydhl' | 'nationex' | 'parcelone' | 'postat' | 'purolator' | 'roadie' | 'royalmail' | 'sapient' | 'seko' | 'sendle' | 'shipengine' | 'spring' | 'teleship' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'veho' | 'zoom2u'>** | | defaults to undefined| +| **carrierName** | [**'asendia' | 'australiapost' | 'bpost' | 'canadapost' | 'chronopost' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dpd' | 'dpd_meta' | 'fedex' | 'generic' | 'gls' | 'hermes' | 'landmark' | 'laposte' | 'mydhl' | 'parcelone' | 'postat' | 'purolator' | 'seko' | 'sendle' | 'smartkargo' | 'spring' | 'teleship' | 'ups' | 'usps' | 'usps_international'**]**Array<'asendia' | 'australiapost' | 'bpost' | 'canadapost' | 'chronopost' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dpd' | 'dpd_meta' | 'fedex' | 'generic' | 'gls' | 'hermes' | 'landmark' | 'laposte' | 'mydhl' | 'parcelone' | 'postat' | 'purolator' | 'seko' | 'sendle' | 'smartkargo' | 'spring' | 'teleship' | 'ups' | 'usps' | 'usps_international'>** | | defaults to undefined| ### Return type diff --git a/packages/types/rest/docs/RateRequest.md b/packages/types/rest/docs/RateRequest.md index d68477ab28..8ec0fa5077 100644 --- a/packages/types/rest/docs/RateRequest.md +++ b/packages/types/rest/docs/RateRequest.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **customs** | [**CustomsData**](CustomsData.md) | The customs details.<br/> **Note that this is required for international shipments.** | [optional] [default to undefined] **return_address** | [**AddressData**](AddressData.md) | The return address for this shipment. Defaults to the shipper address. | [optional] [default to undefined] **billing_address** | [**AddressData**](AddressData.md) | The billing address for this shipment. | [optional] [default to undefined] +**is_return** | **boolean** | Indicates whether this is a return shipment rate request. | [optional] [default to false] **carrier_ids** | **Array<string>** | The list of configured carriers you wish to get rates from. | [optional] [default to undefined] ## Example @@ -33,6 +34,7 @@ const instance: RateRequest = { customs, return_address, billing_address, + is_return, carrier_ids, }; ``` diff --git a/packages/types/rest/docs/Shipment.md b/packages/types/rest/docs/Shipment.md index 09fdb36a52..f818822729 100644 --- a/packages/types/rest/docs/Shipment.md +++ b/packages/types/rest/docs/Shipment.md @@ -26,6 +26,8 @@ Name | Type | Description | Notes **created_at** | **string** | The shipment creation datetime.<br/> Date Format: `YYYY-MM-DD HH:MM:SS.mmmmmmz` | [default to undefined] **metadata** | **{ [key: string]: any; }** | User metadata for the shipment | [optional] [default to undefined] **messages** | [**Array<Message>**](Message.md) | The list of note or warning messages | [optional] [default to undefined] +**is_archived** | **boolean** | Indicates whether this shipment is archived. | [optional] [default to false] +**archived_at** | **string** | Timestamp when the shipment was archived. | [optional] [default to undefined] **status** | **string** | The current Shipment status | [optional] [default to StatusEnum_Draft] **carrier_name** | **string** | The shipment carrier | [optional] [default to undefined] **carrier_id** | **string** | The shipment carrier configured identifier | [optional] [default to undefined] @@ -69,6 +71,8 @@ const instance: Shipment = { created_at, metadata, messages, + is_archived, + archived_at, status, carrier_name, carrier_id, diff --git a/packages/types/rest/docs/ShipmentsApi.md b/packages/types/rest/docs/ShipmentsApi.md index 16d190c6c7..d62f97287a 100644 --- a/packages/types/rest/docs/ShipmentsApi.md +++ b/packages/types/rest/docs/ShipmentsApi.md @@ -16,7 +16,7 @@ All URIs are relative to *http://localhost* # **cancel** > Shipment cancel() -Void a shipment with the associated label. +Void a shipment with the associated label. ``pk`` can be either the karrio shipment ID (``shp_…``) or a ``request_id`` stored in ``shipment.meta[\"request_id\"]``. When multiple records share the same ``request_id`` the most recently created one is used. ### Example @@ -198,12 +198,13 @@ const configuration = new Configuration(); const apiInstance = new ShipmentsApi(configuration); let address: string; // (optional) (default to undefined) -let carrierName: string; //The unique carrier slug.
Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` (optional) (default to undefined) +let carrierName: string; //The unique carrier slug.
Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` (optional) (default to undefined) let createdAfter: string; // (optional) (default to undefined) let createdBefore: string; // (optional) (default to undefined) let hasManifest: boolean; // (optional) (default to undefined) let hasTracker: boolean; // (optional) (default to undefined) let id: string; // (optional) (default to undefined) +let isArchived: boolean; // (optional) (default to undefined) let isReturn: boolean; // (optional) (default to undefined) let keyword: string; // (optional) (default to undefined) let metaKey: string; // (optional) (default to undefined) @@ -227,6 +228,7 @@ const { status, data } = await apiInstance.list( hasManifest, hasTracker, id, + isArchived, isReturn, keyword, metaKey, @@ -249,12 +251,13 @@ const { status, data } = await apiInstance.list( |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| | **address** | [**string**] | | (optional) defaults to undefined| -| **carrierName** | [**string**] | The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` | (optional) defaults to undefined| +| **carrierName** | [**string**] | The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` | (optional) defaults to undefined| | **createdAfter** | [**string**] | | (optional) defaults to undefined| | **createdBefore** | [**string**] | | (optional) defaults to undefined| | **hasManifest** | [**boolean**] | | (optional) defaults to undefined| | **hasTracker** | [**boolean**] | | (optional) defaults to undefined| | **id** | [**string**] | | (optional) defaults to undefined| +| **isArchived** | [**boolean**] | | (optional) defaults to undefined| | **isReturn** | [**boolean**] | | (optional) defaults to undefined| | **keyword** | [**string**] | | (optional) defaults to undefined| | **metaKey** | [**string**] | | (optional) defaults to undefined| diff --git a/packages/types/rest/docs/ShippingResponse.md b/packages/types/rest/docs/ShippingResponse.md index 3cfdbf8f64..89cfbea98f 100644 --- a/packages/types/rest/docs/ShippingResponse.md +++ b/packages/types/rest/docs/ShippingResponse.md @@ -26,6 +26,8 @@ Name | Type | Description | Notes **created_at** | **string** | The shipment creation datetime.<br/> Date Format: `YYYY-MM-DD HH:MM:SS.mmmmmmz` | [default to undefined] **metadata** | **{ [key: string]: any; }** | User metadata for the shipment | [optional] [default to undefined] **messages** | [**Array<Message>**](Message.md) | The list of note or warning messages | [optional] [default to undefined] +**is_archived** | **boolean** | Indicates whether this shipment is archived. | [optional] [default to false] +**archived_at** | **string** | Timestamp when the shipment was archived. | [optional] [default to undefined] **status** | **string** | The current Shipment status | [optional] [default to StatusEnum_Draft] **carrier_name** | **string** | The shipment carrier | [optional] [default to undefined] **carrier_id** | **string** | The shipment carrier configured identifier | [optional] [default to undefined] @@ -67,6 +69,8 @@ const instance: ShippingResponse = { created_at, metadata, messages, + is_archived, + archived_at, status, carrier_name, carrier_id, diff --git a/packages/types/rest/docs/TrackerDetails.md b/packages/types/rest/docs/TrackerDetails.md index 80041c0c18..55a2c2bca6 100644 --- a/packages/types/rest/docs/TrackerDetails.md +++ b/packages/types/rest/docs/TrackerDetails.md @@ -18,6 +18,8 @@ Name | Type | Description | Notes **meta** | **{ [key: string]: any; }** | provider specific metadata | [optional] [default to undefined] **images** | [**Images**](Images.md) | The tracker documents | [optional] [default to undefined] **object_type** | **string** | Specifies the object type | [optional] [default to 'tracker'] +**is_archived** | **boolean** | Indicates whether this tracker is archived. | [optional] [default to false] +**archived_at** | **string** | Timestamp when the tracker was archived. | [optional] [default to undefined] **metadata** | **{ [key: string]: any; }** | User metadata for the tracker | [optional] [default to undefined] **messages** | [**Array<Message>**](Message.md) | The list of note or warning messages | [optional] [default to undefined] @@ -40,6 +42,8 @@ const instance: TrackerDetails = { meta, images, object_type, + is_archived, + archived_at, metadata, messages, }; diff --git a/packages/types/rest/docs/TrackersApi.md b/packages/types/rest/docs/TrackersApi.md index c2aa072789..ce193b3e9a 100644 --- a/packages/types/rest/docs/TrackersApi.md +++ b/packages/types/rest/docs/TrackersApi.md @@ -8,9 +8,9 @@ All URIs are relative to *http://localhost* |[**create**](#create) | **GET** /v1/trackers/{carrier_name}/{tracking_number} | Create a package tracker| |[**inject**](#inject) | **POST** /v1/trackers/{tracker_id}/inject-events | Inject tracking events| |[**list**](#list) | **GET** /v1/trackers | List all package trackers| -|[**remove**](#remove) | **DELETE** /v1/trackers/{id_or_tracking_number} | Discard a package tracker| -|[**retrieve**](#retrieve) | **GET** /v1/trackers/{id_or_tracking_number} | Retrieves a package tracker| -|[**update**](#update) | **PUT** /v1/trackers/{id_or_tracking_number} | Update tracker data| +|[**remove**](#remove) | **DELETE** /v1/trackers/{identifier} | Discard a package tracker| +|[**retrieve**](#retrieve) | **GET** /v1/trackers/{identifier} | Retrieves a package tracker| +|[**update**](#update) | **PUT** /v1/trackers/{identifier} | Update tracker data| # **add** > TrackingStatus add(trackingData) @@ -90,7 +90,7 @@ const configuration = new Configuration(); const apiInstance = new TrackersApi(configuration); let carrierName: string; // (default to undefined) -let carrierName2: 'aramex' | 'asendia' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpd_meta' | 'dtdc' | 'fedex' | 'generic' | 'geodis' | 'gls' | 'hay_post' | 'hermes' | 'landmark' | 'laposte' | 'locate2u' | 'mydhl' | 'nationex' | 'postat' | 'purolator' | 'roadie' | 'royalmail' | 'seko' | 'sendle' | 'spring' | 'teleship' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'veho' | 'zoom2u'; // (default to undefined) +let carrierName2: 'asendia' | 'australiapost' | 'bpost' | 'canadapost' | 'chronopost' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dpd' | 'dpd_meta' | 'fedex' | 'generic' | 'gls' | 'hermes' | 'landmark' | 'laposte' | 'mydhl' | 'postat' | 'purolator' | 'seko' | 'sendle' | 'smartkargo' | 'spring' | 'teleship' | 'ups' | 'usps' | 'usps_international'; // (default to undefined) let trackingNumber: string; // (default to undefined) let hub: string; // (optional) (default to undefined) @@ -107,7 +107,7 @@ const { status, data } = await apiInstance.create( |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| | **carrierName** | [**string**] | | defaults to undefined| -| **carrierName2** | [**'aramex' | 'asendia' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpd_meta' | 'dtdc' | 'fedex' | 'generic' | 'geodis' | 'gls' | 'hay_post' | 'hermes' | 'landmark' | 'laposte' | 'locate2u' | 'mydhl' | 'nationex' | 'postat' | 'purolator' | 'roadie' | 'royalmail' | 'seko' | 'sendle' | 'spring' | 'teleship' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'veho' | 'zoom2u'**]**Array<'aramex' | 'asendia' | 'asendia_us' | 'australiapost' | 'boxknight' | 'bpost' | 'canadapost' | 'canpar' | 'chronopost' | 'colissimo' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dicom' | 'dpd' | 'dpd_meta' | 'dtdc' | 'fedex' | 'generic' | 'geodis' | 'gls' | 'hay_post' | 'hermes' | 'landmark' | 'laposte' | 'locate2u' | 'mydhl' | 'nationex' | 'postat' | 'purolator' | 'roadie' | 'royalmail' | 'seko' | 'sendle' | 'spring' | 'teleship' | 'tge' | 'tnt' | 'ups' | 'usps' | 'usps_international' | 'veho' | 'zoom2u'>** | | defaults to undefined| +| **carrierName2** | [**'asendia' | 'australiapost' | 'bpost' | 'canadapost' | 'chronopost' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dpd' | 'dpd_meta' | 'fedex' | 'generic' | 'gls' | 'hermes' | 'landmark' | 'laposte' | 'mydhl' | 'postat' | 'purolator' | 'seko' | 'sendle' | 'smartkargo' | 'spring' | 'teleship' | 'ups' | 'usps' | 'usps_international'**]**Array<'asendia' | 'australiapost' | 'bpost' | 'canadapost' | 'chronopost' | 'dhl_express' | 'dhl_parcel_de' | 'dhl_poland' | 'dhl_universal' | 'dpd' | 'dpd_meta' | 'fedex' | 'generic' | 'gls' | 'hermes' | 'landmark' | 'laposte' | 'mydhl' | 'postat' | 'purolator' | 'seko' | 'sendle' | 'smartkargo' | 'spring' | 'teleship' | 'ups' | 'usps' | 'usps_international'>** | | defaults to undefined| | **trackingNumber** | [**string**] | | defaults to undefined| | **hub** | [**string**] | | (optional) defaults to undefined| @@ -210,9 +210,10 @@ import { const configuration = new Configuration(); const apiInstance = new TrackersApi(configuration); -let carrierName: string; //The unique carrier slug.
Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` (optional) (default to undefined) +let carrierName: string; //The unique carrier slug.
Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` (optional) (default to undefined) let createdAfter: string; // (optional) (default to undefined) let createdBefore: string; // (optional) (default to undefined) +let isArchived: boolean; // (optional) (default to undefined) let keyword: string; // (optional) (default to undefined) let requestId: string; // (optional) (default to undefined) let status: string; //Valid tracker status.
Values: `pending`, `picked_up`, `unknown`, `on_hold`, `cancelled`, `delivered`, `in_transit`, `delivery_delayed`, `out_for_delivery`, `ready_for_pickup`, `delivery_failed`, `return_to_sender` (optional) (default to undefined) @@ -222,6 +223,7 @@ const { status, data } = await apiInstance.list( carrierName, createdAfter, createdBefore, + isArchived, keyword, requestId, status, @@ -233,9 +235,10 @@ const { status, data } = await apiInstance.list( |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| -| **carrierName** | [**string**] | The unique carrier slug. <br/>Values: `aramex`, `asendia`, `asendia_us`, `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, `veho`, `zoom2u` | (optional) defaults to undefined| +| **carrierName** | [**string**] | The unique carrier slug. <br/>Values: `asendia`, `australiapost`, `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international` | (optional) defaults to undefined| | **createdAfter** | [**string**] | | (optional) defaults to undefined| | **createdBefore** | [**string**] | | (optional) defaults to undefined| +| **isArchived** | [**boolean**] | | (optional) defaults to undefined| | **keyword** | [**string**] | | (optional) defaults to undefined| | **requestId** | [**string**] | | (optional) defaults to undefined| | **status** | [**string**] | Valid tracker status. <br/>Values: `pending`, `picked_up`, `unknown`, `on_hold`, `cancelled`, `delivered`, `in_transit`, `delivery_delayed`, `out_for_delivery`, `ready_for_pickup`, `delivery_failed`, `return_to_sender` | (optional) defaults to undefined| @@ -268,7 +271,7 @@ const { status, data } = await apiInstance.list( # **remove** > TrackingStatus remove() -Discard a package tracker. +Remove a package tracker by ID, tracking number, or request_id. The lookup tries the karrio tracker ID first, then tracking number, then falls back to request_id (most recent match). ### Example @@ -281,10 +284,10 @@ import { const configuration = new Configuration(); const apiInstance = new TrackersApi(configuration); -let idOrTrackingNumber: string; // (default to undefined) +let identifier: string; //Tracker ID (trk_...), tracking number, or request_id (default to undefined) const { status, data } = await apiInstance.remove( - idOrTrackingNumber + identifier ); ``` @@ -292,7 +295,7 @@ const { status, data } = await apiInstance.remove( |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| -| **idOrTrackingNumber** | [**string**] | | defaults to undefined| +| **identifier** | [**string**] | Tracker ID (trk_...), tracking number, or request_id | defaults to undefined| ### Return type @@ -321,7 +324,7 @@ const { status, data } = await apiInstance.remove( # **retrieve** > TrackingStatus retrieve() -Retrieve a package tracker +Retrieve a package tracker by ID or tracking number. ### Example @@ -334,10 +337,10 @@ import { const configuration = new Configuration(); const apiInstance = new TrackersApi(configuration); -let idOrTrackingNumber: string; // (default to undefined) +let identifier: string; //Tracker ID (trk_...) or tracking number (default to undefined) const { status, data } = await apiInstance.retrieve( - idOrTrackingNumber + identifier ); ``` @@ -345,7 +348,7 @@ const { status, data } = await apiInstance.retrieve( |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| -| **idOrTrackingNumber** | [**string**] | | defaults to undefined| +| **identifier** | [**string**] | Tracker ID (trk_...) or tracking number | defaults to undefined| ### Return type @@ -374,7 +377,7 @@ const { status, data } = await apiInstance.retrieve( # **update** > TrackingStatus update() -Mixin to log requests +Update a package tracker by ID. ### Example @@ -388,11 +391,11 @@ import { const configuration = new Configuration(); const apiInstance = new TrackersApi(configuration); -let idOrTrackingNumber: string; // (default to undefined) +let identifier: string; //Tracker ID (trk_...) (default to undefined) let trackerUpdateData: TrackerUpdateData; // (optional) const { status, data } = await apiInstance.update( - idOrTrackingNumber, + identifier, trackerUpdateData ); ``` @@ -402,7 +405,7 @@ const { status, data } = await apiInstance.update( |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| | **trackerUpdateData** | **TrackerUpdateData**| | | -| **idOrTrackingNumber** | [**string**] | | defaults to undefined| +| **identifier** | [**string**] | Tracker ID (trk_...) | defaults to undefined| ### Return type diff --git a/packages/types/rest/docs/TrackingStatus.md b/packages/types/rest/docs/TrackingStatus.md index 5418064746..00aab0135c 100644 --- a/packages/types/rest/docs/TrackingStatus.md +++ b/packages/types/rest/docs/TrackingStatus.md @@ -17,6 +17,8 @@ Name | Type | Description | Notes **estimated_delivery** | **string** | The delivery estimated date | [optional] [default to undefined] **meta** | **{ [key: string]: any; }** | provider specific metadata | [optional] [default to undefined] **object_type** | **string** | Specifies the object type | [optional] [default to 'tracker'] +**is_archived** | **boolean** | Indicates whether this tracker is archived. | [optional] [default to false] +**archived_at** | **string** | Timestamp when the tracker was archived. | [optional] [default to undefined] **metadata** | **{ [key: string]: any; }** | User metadata for the tracker | [optional] [default to undefined] **messages** | [**Array<Message>**](Message.md) | The list of note or warning messages | [optional] [default to undefined] **delivery_image_url** | **string** | The shipment invoice URL | [optional] [default to undefined] @@ -40,6 +42,8 @@ const instance: TrackingStatus = { estimated_delivery, meta, object_type, + is_archived, + archived_at, metadata, messages, delivery_image_url, diff --git a/packages/types/rest/index.ts b/packages/types/rest/index.ts index 0521168a7c..8df3b8df36 100644 --- a/packages/types/rest/index.ts +++ b/packages/types/rest/index.ts @@ -2,9 +2,9 @@ /* 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 `2026.1.19`. 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 `2026.1.31`. 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: 2026.1.19 + * The version of the OpenAPI document: 2026.1.31 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/schemas/openapi.yml b/schemas/openapi.yml index 4747b08cc1..16bcd536f3 100644 --- a/schemas/openapi.yml +++ b/schemas/openapi.yml @@ -501,6 +501,7 @@ paths: enum: - billing - order + - rate_sheet - shipment - trackers required: true @@ -511,6 +512,7 @@ paths: enum: - billing - order + - rate_sheet - shipment - trackers required: true @@ -549,9 +551,9 @@ paths: - 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.** + - rate_sheet data (Excel/CSV)

+ **For rate_sheet imports, pass dry_run=true to validate and preview a diff + without writing. For other resource types, a BatchOperation is returned.** summary: Import data files parameters: - in: query @@ -572,6 +574,7 @@ paths: enum: - billing - order + - rate_sheet - shipment - trackers description: The type of the resource to import @@ -587,6 +590,8 @@ paths: type: string data_template: type: string + dry_run: + type: boolean data_file: type: string format: binary @@ -596,6 +601,13 @@ paths: - OAuth2: [] - JWT: [] responses: + '200': + content: + application/json: + schema: + type: object + additionalProperties: {} + description: '' '202': content: application/json: @@ -838,6 +850,12 @@ paths: operationId: '&&list' description: Returns the list of configured carriers summary: List all carriers + parameters: + - in: query + name: lang + schema: + type: string + description: Language code for translated labels (e.g., 'de', 'en'). tags: - Carriers responses: @@ -1084,6 +1102,12 @@ paths: type: boolean summary: Carrier List description: '' + '400': + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + description: '' '500': content: application/json: @@ -1101,15 +1125,11 @@ paths: name: carrier_name schema: type: string - description: 'The unique carrier slug.
Values: `aramex`, `asendia`, `asendia_us`, - `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, - `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, - `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, - `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, - `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, - `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, - `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, - `veho`, `zoom2u`' + description: 'The unique carrier slug.
Values: `asendia`, `australiapost`, + `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, + `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, + `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, + `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international`' required: true tags: - Carriers @@ -1143,15 +1163,11 @@ paths: name: carrier_name schema: type: string - description: 'The unique carrier slug.
Values: `aramex`, `asendia`, `asendia_us`, - `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, - `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, - `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, - `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, - `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, - `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, - `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, - `veho`, `zoom2u`' + description: 'The unique carrier slug.
Values: `asendia`, `australiapost`, + `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, + `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, + `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, + `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international`' required: true tags: - Carriers @@ -1196,15 +1212,11 @@ paths: name: carrier_name schema: type: string - description: 'The unique carrier slug.
Values: `aramex`, `asendia`, `asendia_us`, - `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, - `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, - `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, - `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, - `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, - `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, - `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, - `veho`, `zoom2u`' + description: 'The unique carrier slug.
Values: `asendia`, `australiapost`, + `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, + `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, + `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, + `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international`' required: true tags: - Carriers @@ -1270,15 +1282,11 @@ paths: name: carrier_name schema: type: string - description: 'The unique carrier slug.
Values: `aramex`, `asendia`, `asendia_us`, - `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, - `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, - `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, - `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, - `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, - `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, - `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, - `veho`, `zoom2u`' + description: 'The unique carrier slug.
Values: `asendia`, `australiapost`, + `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, + `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, + `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, + `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international`' - in: query name: metadata_key schema: @@ -1862,15 +1870,11 @@ paths: name: carrier_name schema: type: string - description: 'The unique carrier slug.
Values: `aramex`, `asendia`, `asendia_us`, - `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, - `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, - `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, - `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, - `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, - `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, - `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, - `veho`, `zoom2u`' + description: 'The unique carrier slug.
Values: `asendia`, `australiapost`, + `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, + `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, + `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, + `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international`' - in: query name: created_after schema: @@ -2238,7 +2242,11 @@ paths: /v1/orders/{id}/cancel: post: operationId: '&&&&cancel' - description: Cancel an order. + description: |- + Cancel an order. + + ``pk`` can be either the karrio order ID or a ``request_id`` + stored in ``order.meta["request_id"]``. summary: Cancel an order parameters: - in: path @@ -2500,15 +2508,11 @@ paths: name: carrier_name schema: type: string - description: 'The unique carrier slug.
Values: `aramex`, `asendia`, `asendia_us`, - `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, - `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, - `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, - `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, - `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, - `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, - `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, - `veho`, `zoom2u`' + description: 'The unique carrier slug.
Values: `asendia`, `australiapost`, + `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, + `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, + `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, + `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international`' - in: query name: confirmation_number schema: @@ -2523,6 +2527,10 @@ paths: schema: type: string format: date-time + - in: query + name: is_archived + schema: + type: boolean - in: query name: keyword schema: @@ -2771,7 +2779,11 @@ paths: /v1/pickups/{id}/cancel: post: operationId: $$$$cancel - description: Cancel a pickup of one or more shipments. + description: |- + Cancel a pickup of one or more shipments. + + ``pk`` can be either the karrio pickup ID (``pck_…``) or a + ``request_id`` stored in ``pickup.meta["request_id"]``. summary: Cancel a pickup parameters: - in: path @@ -3091,57 +3103,35 @@ paths: schema: type: string enum: - - aramex - asendia - - asendia_us - australiapost - - boxknight - bpost - canadapost - - canpar - chronopost - - colissimo - dhl_express - dhl_parcel_de - dhl_poland - dhl_universal - - dicom - dpd - dpd_meta - - dtdc - - easypost - - easyship - - eshipper - fedex - - freightcom - generic - - geodis - gls - - hay_post - hermes - landmark - laposte - - locate2u - mydhl - - nationex - parcelone - postat - purolator - - roadie - - royalmail - - sapient - seko - sendle - - shipengine + - smartkargo - spring - teleship - - tge - - tnt - ups - usps - usps_international - - veho - - zoom2u required: true tags: - Proxy @@ -3193,57 +3183,35 @@ paths: schema: type: string enum: - - aramex - asendia - - asendia_us - australiapost - - boxknight - bpost - canadapost - - canpar - chronopost - - colissimo - dhl_express - dhl_parcel_de - dhl_poland - dhl_universal - - dicom - dpd - dpd_meta - - dtdc - - easypost - - easyship - - eshipper - fedex - - freightcom - generic - - geodis - gls - - hay_post - hermes - landmark - laposte - - locate2u - mydhl - - nationex - parcelone - postat - purolator - - roadie - - royalmail - - sapient - seko - sendle - - shipengine + - smartkargo - spring - teleship - - tge - - tnt - ups - usps - usps_international - - veho - - zoom2u required: true tags: - Proxy @@ -3295,57 +3263,35 @@ paths: schema: type: string enum: - - aramex - asendia - - asendia_us - australiapost - - boxknight - bpost - canadapost - - canpar - chronopost - - colissimo - dhl_express - dhl_parcel_de - dhl_poland - dhl_universal - - dicom - dpd - dpd_meta - - dtdc - - easypost - - easyship - - eshipper - fedex - - freightcom - generic - - geodis - gls - - hay_post - hermes - landmark - laposte - - locate2u - mydhl - - nationex - parcelone - postat - purolator - - roadie - - royalmail - - sapient - seko - sendle - - shipengine + - smartkargo - spring - teleship - - tge - - tnt - ups - usps - usps_international - - veho - - zoom2u required: true tags: - Proxy @@ -3490,57 +3436,35 @@ paths: schema: type: string enum: - - aramex - asendia - - asendia_us - australiapost - - boxknight - bpost - canadapost - - canpar - chronopost - - colissimo - dhl_express - dhl_parcel_de - dhl_poland - dhl_universal - - dicom - dpd - dpd_meta - - dtdc - - easypost - - easyship - - eshipper - fedex - - freightcom - generic - - geodis - gls - - hay_post - hermes - landmark - laposte - - locate2u - mydhl - - nationex - parcelone - postat - purolator - - roadie - - royalmail - - sapient - seko - sendle - - shipengine + - smartkargo - spring - teleship - - tge - - tnt - ups - usps - usps_international - - veho - - zoom2u required: true tags: - Proxy @@ -3637,50 +3561,34 @@ paths: schema: type: string enum: - - aramex - asendia - - asendia_us - australiapost - - boxknight - bpost - canadapost - - canpar - chronopost - - colissimo - dhl_express - dhl_parcel_de - dhl_poland - dhl_universal - - dicom - dpd - dpd_meta - - dtdc - fedex - generic - - geodis - gls - - hay_post - hermes - landmark - laposte - - locate2u - mydhl - - nationex - postat - purolator - - roadie - - royalmail - seko - sendle + - smartkargo - spring - teleship - - tge - - tnt - ups - usps - usps_international - - veho - - zoom2u required: true - in: query name: hub @@ -3796,15 +3704,11 @@ paths: name: carrier_name schema: type: string - description: 'The unique carrier slug.
Values: `aramex`, `asendia`, `asendia_us`, - `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, - `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, - `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, - `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, - `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, - `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, - `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, - `veho`, `zoom2u`' + description: 'The unique carrier slug.
Values: `asendia`, `australiapost`, + `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, + `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, + `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, + `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international`' - in: query name: created_after schema: @@ -3827,6 +3731,10 @@ paths: name: id schema: type: string + - in: query + name: is_archived + schema: + type: boolean - in: query name: is_return schema: @@ -4059,7 +3967,13 @@ paths: /v1/shipments/{id}/cancel: post: operationId: $$$$$cancel - description: Void a shipment with the associated label. + description: |- + Void a shipment with the associated label. + + ``pk`` can be either the karrio shipment ID (``shp_…``) or a + ``request_id`` stored in ``shipment.meta["request_id"]``. + When multiple records share the same ``request_id`` the most + recently created one is used. summary: Cancel a shipment parameters: - in: path @@ -4292,15 +4206,11 @@ paths: name: carrier_name schema: type: string - description: 'The unique carrier slug.
Values: `aramex`, `asendia`, `asendia_us`, - `australiapost`, `boxknight`, `bpost`, `canadapost`, `canpar`, `chronopost`, - `colissimo`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, `dhl_universal`, - `dicom`, `dpd`, `dpd_meta`, `dtdc`, `easypost`, `easyship`, `eshipper`, - `fedex`, `freightcom`, `generic`, `geodis`, `gls`, `hay_post`, `hermes`, - `landmark`, `laposte`, `locate2u`, `mydhl`, `nationex`, `parcelone`, `postat`, - `purolator`, `roadie`, `royalmail`, `sapient`, `seko`, `sendle`, `shipengine`, - `spring`, `teleship`, `tge`, `tnt`, `ups`, `usps`, `usps_international`, - `veho`, `zoom2u`' + description: 'The unique carrier slug.
Values: `asendia`, `australiapost`, + `bpost`, `canadapost`, `chronopost`, `dhl_express`, `dhl_parcel_de`, `dhl_poland`, + `dhl_universal`, `dpd`, `dpd_meta`, `fedex`, `generic`, `gls`, `hermes`, + `landmark`, `laposte`, `mydhl`, `parcelone`, `postat`, `purolator`, `seko`, + `sendle`, `smartkargo`, `spring`, `teleship`, `ups`, `usps`, `usps_international`' - in: query name: created_after schema: @@ -4311,6 +4221,10 @@ paths: schema: type: string format: date-time + - in: query + name: is_archived + schema: + type: boolean - in: query name: keyword schema: @@ -4432,50 +4346,34 @@ paths: schema: type: string enum: - - aramex - asendia - - asendia_us - australiapost - - boxknight - bpost - canadapost - - canpar - chronopost - - colissimo - dhl_express - dhl_parcel_de - dhl_poland - dhl_universal - - dicom - dpd - dpd_meta - - dtdc - fedex - generic - - geodis - gls - - hay_post - hermes - landmark - laposte - - locate2u - mydhl - - nationex - postat - purolator - - roadie - - royalmail - seko - sendle + - smartkargo - spring - teleship - - tge - - tnt - ups - usps - usps_international - - veho - - zoom2u required: true - in: query name: hub @@ -4520,16 +4418,17 @@ paths: $ref: '#/components/schemas/ErrorResponse' description: '' x-operationId: createTracker - /v1/trackers/{id_or_tracking_number}: + /v1/trackers/{identifier}: get: operationId: $$$$$$retrieve - description: Retrieve a package tracker + description: Retrieve a package tracker by ID or tracking number. summary: Retrieves a package tracker parameters: - in: path - name: id_or_tracking_number + name: identifier schema: type: string + description: Tracker ID (trk_...) or tracking number required: true tags: - Trackers @@ -4561,13 +4460,14 @@ paths: x-operationId: retrieveTracker put: operationId: $$$$$$update - description: Mixin to log requests + description: Update a package tracker by ID. summary: Update tracker data parameters: - in: path - name: id_or_tracking_number + name: identifier schema: type: string + description: Tracker ID (trk_...) required: true tags: - Trackers @@ -4615,13 +4515,16 @@ paths: x-operationId: updateTracker delete: operationId: $$$$$$remove - description: Discard a package tracker. + description: Remove a package tracker by ID, tracking number, or request_id. + The lookup tries the karrio tracker ID first, then tracking number, then falls + back to request_id (most recent match). summary: Discard a package tracker parameters: - in: path - name: id_or_tracking_number + name: identifier schema: type: string + description: Tracker ID (trk_...), tracking number, or request_id required: true tags: - Trackers @@ -5707,8 +5610,9 @@ components: - shipments - trackers - billing + - rate_sheet type: string - x-spec-enum-id: ab2ec94900a0feec + x-spec-enum-id: caabd60234799675 resources: type: array items: @@ -5852,59 +5756,37 @@ components: description: Specifies the object type carrier_name: enum: - - aramex - asendia - - asendia_us - australiapost - - boxknight - bpost - canadapost - - canpar - chronopost - - colissimo - dhl_express - dhl_parcel_de - dhl_poland - dhl_universal - - dicom - dpd - dpd_meta - - dtdc - - easypost - - easyship - - eshipper - fedex - - freightcom - generic - - geodis - gls - - hay_post - hermes - landmark - laposte - - locate2u - mydhl - - nationex - parcelone - postat - purolator - - roadie - - royalmail - - sapient - seko - sendle - - shipengine + - smartkargo - spring - teleship - - tge - - tnt - ups - usps - usps_international - - veho - - zoom2u type: string - x-spec-enum-id: fba052f05fc9e3a2 + x-spec-enum-id: 45ac83c5f87316a9 description: A carrier connection type. display_name: type: string @@ -5953,59 +5835,37 @@ components: properties: carrier_name: enum: - - aramex - asendia - - asendia_us - australiapost - - boxknight - bpost - canadapost - - canpar - chronopost - - colissimo - dhl_express - dhl_parcel_de - dhl_poland - dhl_universal - - dicom - dpd - dpd_meta - - dtdc - - easypost - - easyship - - eshipper - fedex - - freightcom - generic - - geodis - gls - - hay_post - hermes - landmark - laposte - - locate2u - mydhl - - nationex - parcelone - postat - purolator - - roadie - - royalmail - - sapient - seko - sendle - - shipengine + - smartkargo - spring - teleship - - tge - - tnt - ups - usps - usps_international - - veho - - zoom2u type: string - x-spec-enum-id: fba052f05fc9e3a2 + x-spec-enum-id: 45ac83c5f87316a9 description: A carrier connection type. carrier_id: type: string @@ -6064,59 +5924,37 @@ components: properties: carrier_name: enum: - - aramex - asendia - - asendia_us - australiapost - - boxknight - bpost - canadapost - - canpar - chronopost - - colissimo - dhl_express - dhl_parcel_de - dhl_poland - dhl_universal - - dicom - dpd - dpd_meta - - dtdc - - easypost - - easyship - - eshipper - fedex - - freightcom - generic - - geodis - gls - - hay_post - hermes - landmark - laposte - - locate2u - mydhl - - nationex - parcelone - postat - purolator - - roadie - - royalmail - - sapient - seko - sendle - - shipengine + - smartkargo - spring - teleship - - tge - - tnt - ups - usps - usps_international - - veho - - zoom2u type: string - x-spec-enum-id: fba052f05fc9e3a2 + x-spec-enum-id: 45ac83c5f87316a9 description: Indicates a carrier (type) display_name: type: string @@ -7148,57 +6986,35 @@ components: - weight_unit ConnectionCredentialsField: oneOf: - - $ref: '#/components/schemas/aramex' - $ref: '#/components/schemas/asendia' - - $ref: '#/components/schemas/asendia_us' - $ref: '#/components/schemas/australiapost' - - $ref: '#/components/schemas/boxknight' - $ref: '#/components/schemas/bpost' - $ref: '#/components/schemas/canadapost' - - $ref: '#/components/schemas/canpar' - $ref: '#/components/schemas/chronopost' - - $ref: '#/components/schemas/colissimo' - $ref: '#/components/schemas/dhl_express' - $ref: '#/components/schemas/dhl_parcel_de' - $ref: '#/components/schemas/dhl_poland' - $ref: '#/components/schemas/dhl_universal' - - $ref: '#/components/schemas/dicom' - $ref: '#/components/schemas/dpd' - $ref: '#/components/schemas/dpd_meta' - - $ref: '#/components/schemas/dtdc' - - $ref: '#/components/schemas/easypost' - - $ref: '#/components/schemas/easyship' - - $ref: '#/components/schemas/eshipper' - $ref: '#/components/schemas/fedex' - - $ref: '#/components/schemas/freightcom' - $ref: '#/components/schemas/generic' - - $ref: '#/components/schemas/geodis' - $ref: '#/components/schemas/gls' - - $ref: '#/components/schemas/hay_post' - $ref: '#/components/schemas/hermes' - $ref: '#/components/schemas/landmark' - $ref: '#/components/schemas/laposte' - - $ref: '#/components/schemas/locate2u' - $ref: '#/components/schemas/mydhl' - - $ref: '#/components/schemas/nationex' - $ref: '#/components/schemas/parcelone' - $ref: '#/components/schemas/postat' - $ref: '#/components/schemas/purolator' - - $ref: '#/components/schemas/roadie' - - $ref: '#/components/schemas/royalmail' - - $ref: '#/components/schemas/sapient' - $ref: '#/components/schemas/seko' - $ref: '#/components/schemas/sendle' - - $ref: '#/components/schemas/shipengine' + - $ref: '#/components/schemas/smartkargo' - $ref: '#/components/schemas/spring' - $ref: '#/components/schemas/teleship' - - $ref: '#/components/schemas/tge' - - $ref: '#/components/schemas/tnt' - $ref: '#/components/schemas/ups' - $ref: '#/components/schemas/usps' - $ref: '#/components/schemas/usps_international' - - $ref: '#/components/schemas/veho' - - $ref: '#/components/schemas/zoom2u' CustomsData: type: object properties: @@ -8553,6 +8369,14 @@ components: type: string default: order description: Specifies the object type + is_archived: + type: boolean + default: false + description: Indicates whether this order is archived. + archived_at: + type: string + nullable: true + description: Timestamp when the order was archived. order_id: type: string description: The source' order id. @@ -9295,59 +9119,37 @@ components: properties: carrier_name: enum: - - aramex - asendia - - asendia_us - australiapost - - boxknight - bpost - canadapost - - canpar - chronopost - - colissimo - dhl_express - dhl_parcel_de - dhl_poland - dhl_universal - - dicom - dpd - dpd_meta - - dtdc - - easypost - - easyship - - eshipper - fedex - - freightcom - generic - - geodis - gls - - hay_post - hermes - landmark - laposte - - locate2u - mydhl - - nationex - parcelone - postat - purolator - - roadie - - royalmail - - sapient - seko - sendle - - shipengine + - smartkargo - spring - teleship - - tge - - tnt - ups - usps - usps_international - - veho - - zoom2u type: string - x-spec-enum-id: fba052f05fc9e3a2 + x-spec-enum-id: 45ac83c5f87316a9 description: A carrier connection type. carrier_id: type: string @@ -10213,6 +10015,14 @@ components: type: string default: pickup description: Specifies the object type + is_archived: + type: boolean + default: false + description: Indicates whether this pickup is archived. + archived_at: + type: string + nullable: true + description: Timestamp when the pickup was archived. carrier_name: type: string description: The pickup carrier @@ -10844,6 +10654,10 @@ components: - $ref: '#/components/schemas/AddressData' nullable: true description: The billing address for this shipment. + is_return: + type: boolean + default: false + description: Indicates whether this is a return shipment rate request. carrier_ids: type: array items: @@ -11087,6 +10901,14 @@ components: $ref: '#/components/schemas/Message' default: [] description: The list of note or warning messages + is_archived: + type: boolean + default: false + description: Indicates whether this shipment is archived. + archived_at: + type: string + nullable: true + description: Timestamp when the shipment was archived. status: enum: - draft @@ -11852,6 +11674,14 @@ components: $ref: '#/components/schemas/Message' default: [] description: The list of note or warning messages + is_archived: + type: boolean + default: false + description: Indicates whether this shipment is archived. + archived_at: + type: string + nullable: true + description: Timestamp when the shipment was archived. status: enum: - draft @@ -12054,6 +11884,14 @@ components: type: string default: tracker description: Specifies the object type + is_archived: + type: boolean + default: false + description: Indicates whether this tracker is archived. + archived_at: + type: string + nullable: true + description: Timestamp when the tracker was archived. metadata: type: object additionalProperties: {} @@ -12149,52 +11987,36 @@ components: description: The package tracking number carrier_name: enum: - - aramex - asendia - - asendia_us - australiapost - - boxknight - bpost - canadapost - - canpar - chronopost - - colissimo - dhl_express - dhl_parcel_de - dhl_poland - dhl_universal - - dicom - dpd - dpd_meta - - dtdc - fedex - generic - - geodis - gls - - hay_post - hermes - landmark - laposte - - locate2u - mydhl - - nationex - postat - purolator - - roadie - - royalmail - seko - sendle + - smartkargo - spring - teleship - - tge - - tnt - ups - usps - usps_international - - veho - - zoom2u type: string - x-spec-enum-id: aab0f690054e0465 + x-spec-enum-id: ee2570d368fc7948 description: The tracking carrier account_number: type: string @@ -12301,6 +12123,7 @@ components: description: The normalized incident reason (for exception events only) description: type: string + nullable: true description: The tracking event's description location: type: string @@ -12489,6 +12312,14 @@ components: type: string default: tracker description: Specifies the object type + is_archived: + type: boolean + default: false + description: Indicates whether this tracker is archived. + archived_at: + type: string + nullable: true + description: Timestamp when the tracker was archived. metadata: type: object additionalProperties: {} @@ -12671,28 +12502,6 @@ components: additionalProperties: {} event_id: type: string - aramex: - type: object - properties: - username: - type: string - password: - type: string - account_pin: - type: string - account_entity: - type: string - account_number: - type: string - account_country_code: - type: string - required: - - account_country_code - - account_entity - - account_number - - account_pin - - password - - username asendia: type: object properties: @@ -12709,26 +12518,6 @@ components: required: - password - username - asendia_us: - type: object - properties: - username: - type: string - password: - type: string - api_key: - type: string - account_number: - type: string - nullable: true - account_country_code: - type: string - nullable: true - default: US - required: - - api_key - - password - - username australiapost: type: object properties: @@ -12746,20 +12535,6 @@ components: - account_number - api_key - password - boxknight: - type: object - properties: - username: - type: string - password: - type: string - account_country_code: - type: string - nullable: true - default: CA - required: - - password - - username bpost: type: object properties: @@ -12801,27 +12576,6 @@ components: required: - password - username - canpar: - type: object - properties: - username: - type: string - password: - type: string - language: - enum: - - en - - fr - type: string - x-spec-enum-id: e4be23cf445bc4cb - description: Indicates a language string - account_country_code: - type: string - nullable: true - default: CA - required: - - password - - username chronopost: type: object properties: @@ -12847,23 +12601,6 @@ components: required: - account_number - password - colissimo: - type: object - properties: - password: - type: string - contract_number: - type: string - laposte_api_key: - type: string - nullable: true - account_country_code: - type: string - nullable: true - default: FR - required: - - contract_number - - password dhl_express: type: object properties: @@ -12937,22 +12674,6 @@ components: required: - consumer_key - consumer_secret - dicom: - type: object - properties: - username: - type: string - password: - type: string - billing_account: - type: string - nullable: true - account_country_code: - type: string - nullable: true - required: - - password - - username dpd: type: object properties: @@ -13004,59 +12725,6 @@ components: account_country_code: type: string nullable: true - dtdc: - type: object - properties: - api_key: - type: string - customer_code: - type: string - username: - type: string - nullable: true - password: - type: string - nullable: true - account_country_code: - type: string - nullable: true - default: IN - required: - - api_key - - customer_code - easypost: - type: object - properties: - api_key: - type: string - account_country_code: - type: string - nullable: true - required: - - api_key - easyship: - type: object - properties: - access_token: - type: string - account_country_code: - type: string - nullable: true - required: - - access_token - eshipper: - type: object - properties: - principal: - type: string - credential: - type: string - account_country_code: - type: string - nullable: true - required: - - credential - - principal fedex: type: object properties: @@ -13078,19 +12746,6 @@ components: account_country_code: type: string nullable: true - freightcom: - type: object - properties: - username: - type: string - password: - type: string - account_country_code: - type: string - nullable: true - required: - - password - - username generic: type: object properties: @@ -13107,30 +12762,6 @@ components: required: - custom_carrier_name - display_name - geodis: - type: object - properties: - api_key: - type: string - identifier: - type: string - code_client: - type: string - nullable: true - language: - enum: - - fr - - en - type: string - x-spec-enum-id: e4be23cf445bc4cb - description: Indicates a language string - account_country_code: - type: string - nullable: true - default: FR - required: - - api_key - - identifier gls: type: object properties: @@ -13148,25 +12779,6 @@ components: required: - client_id - client_secret - hay_post: - type: object - properties: - username: - type: string - password: - type: string - customer_id: - type: string - customer_type: - type: string - account_country_code: - type: string - nullable: true - required: - - customer_id - - customer_type - - password - - username hermes: type: object properties: @@ -13228,19 +12840,6 @@ components: default: FR required: - api_key - locate2u: - type: object - properties: - client_id: - type: string - nullable: true - client_secret: - type: string - nullable: true - account_country_code: - type: string - nullable: true - default: AU mydhl: type: object properties: @@ -13257,30 +12856,6 @@ components: required: - password - username - nationex: - type: object - properties: - api_key: - type: string - customer_id: - type: string - billing_account: - type: string - nullable: true - language: - enum: - - en - - fr - type: string - x-spec-enum-id: e4be23cf445bc4cb - description: Indicates a language string - account_country_code: - type: string - nullable: true - default: CA - required: - - api_key - - customer_id parcelone: type: object properties: @@ -13345,58 +12920,6 @@ components: - account_number - password - username - roadie: - type: object - properties: - api_key: - type: string - account_country_code: - type: string - nullable: true - default: US - required: - - api_key - royalmail: - type: object - properties: - client_id: - type: string - client_secret: - type: string - account_country_code: - type: string - nullable: true - default: UK - required: - - client_id - - client_secret - sapient: - type: object - properties: - client_id: - type: string - client_secret: - type: string - shipping_account_id: - type: string - sapient_carrier_code: - enum: - - DX - - EVRI - - RM - - UPS - - YODEL - type: string - x-spec-enum-id: 24b797aea0df4a45 - description: Indicates a sapient_carrier_code string - account_country_code: - type: string - nullable: true - default: GB - required: - - client_id - - client_secret - - shipping_account_id seko: type: object properties: @@ -13420,21 +12943,18 @@ components: required: - api_key - sendle_id - shipengine: + smartkargo: type: object properties: api_key: type: string - carrier_ids: - type: string - nullable: true account_number: type: string - nullable: true account_country_code: type: string nullable: true required: + - account_number - api_key spring: type: object @@ -13459,58 +12979,6 @@ components: required: - client_id - client_secret - tge: - type: object - properties: - username: - type: string - password: - type: string - api_key: - type: string - toll_username: - type: string - toll_password: - type: string - my_toll_token: - type: string - my_toll_identity: - type: string - account_code: - type: string - nullable: true - sscc_count: - type: integer - shipment_count: - type: integer - account_country_code: - type: string - nullable: true - default: AU - required: - - api_key - - my_toll_identity - - my_toll_token - - password - - toll_password - - toll_username - - username - tnt: - type: object - properties: - username: - type: string - password: - type: string - account_number: - type: string - nullable: true - account_country_code: - type: string - nullable: true - required: - - password - - username ups: type: object properties: @@ -13595,30 +13063,6 @@ components: required: - client_id - client_secret - veho: - type: object - properties: - api_key: - type: string - account_number: - type: string - nullable: true - account_country_code: - type: string - nullable: true - required: - - api_key - zoom2u: - type: object - properties: - api_key: - type: string - account_country_code: - type: string - nullable: true - default: AU - required: - - api_key securitySchemes: JWT: in: header @@ -13725,56 +13169,34 @@ tags: ## Carriers | Carrier Name | Display Name | | ------------ | ------------ | - | aramex | Aramex | | asendia | Asendia | - | asendia_us | Asendia US | | australiapost | Australia Post | - | boxknight | BoxKnight | | bpost | Belgian Post | | canadapost | Canada Post | - | canpar | Canpar | | chronopost | Chronopost | - | colissimo | Colissimo | | dhl_express | DHL Express | | dhl_parcel_de | DHL Germany | | dhl_poland | DHL Parcel Poland | | dhl_universal | DHL Universal | - | dicom | Dicom | | dpd | DPD | | dpd_meta | DPD Global | - | dtdc | DTDC | - | easypost | EasyPost | - | easyship | Easyship | - | eshipper | eShipper | | fedex | FedEx | - | freightcom | Freightcom | - | geodis | GEODIS | | gls | GLS Group | - | hay_post | HayPost | | hermes | Hermes | | landmark | Landmark Global | | laposte | La Poste | - | locate2u | Locate2u | | mydhl | MyDHL Express | - | nationex | Nationex | | parcelone | ParcelOne | | postat | Austrian Post | | purolator | Purolator | - | roadie | Roadie | - | royalmail | Royal Mail | - | sapient | SAPIENT | | seko | SEKO Logistics | | sendle | Sendle | - | shipengine | ShipEngine | + | smartkargo | SmartKargo | | spring | Spring | | teleship | Teleship | - | tge | TGE | - | tnt | TNT | | ups | UPS | | usps | USPS | | usps_international | USPS International | - | veho | Veho | - | zoom2u | Zoom2u | --- ## Services @@ -13798,13 +13220,6 @@ tags: | asendia_priority | PRIORITY | | asendia_priority_tracked | PRIORITYTRK | - ### Asendia US - | Code | Service Name | - | ------------ | ------------ | - | asendia_us_e_com_tracked_ddp | 19 | - | asendia_us_fully_tracked | 65 | - | asendia_us_country_tracked | 66 | - ### Australia Post | Code | Service Name | | ------------ | ------------ | @@ -13819,13 +13234,6 @@ tags: | australiapost_eparcel_post_returns | PR | | australiapost_express_eparcel_post_returns | XPR | - ### BoxKnight - | Code | Service Name | - | ------------ | ------------ | - | boxknight_sameday | SAMEDAY | - | boxknight_nextday | NEXTDAY | - | boxknight_scheduled | SCHEDULED | - ### Belgian Post | Code | Service Name | | ------------ | ------------ | @@ -13883,24 +13291,6 @@ tags: | chronopost_premium_international | 37 | | chronopost_classic_international | 44 | - ### Colissimo - | Code | Service Name | - | ------------ | ------------ | - | colissimo_home_without_signature | DOM | - | colissimo_home_with_signature | DOS | - | colissimo_eco_france | CECO | - | colissimo_return_france | CORE | - | colissimo_flash_without_signature | COLR | - | colissimo_flash_with_signature | J+1 | - | colissimo_oversea_home_without_signature | COM | - | colissimo_oversea_home_with_signature | CDS | - | colissimo_eco_om_without_signature | ECO | - | colissimo_eco_om_with_signature | ECOS | - | colissimo_retour_om | CORI | - | colissimo_return_international_from_france | CORF | - | colissimo_economical_big_export_offer | ACCI | - | colissimo_out_of_home_national_international | HD | - ### DHL Express | Code | Service Name | | ------------ | ------------ | @@ -13983,1017 +13373,6 @@ tags: | dpd_meta_mail | MAIL | | dpd_meta_max | MAX | - ### DTDC - | Code | Service Name | - | ------------ | ------------ | - | dtdc_b2c_priority | B2C PRIORITY | - | dtdc_b2c_economy | B2C SMART EXPRESS | - | dtdc_b2c_express | B2C PREMIUM | - | dtdc_b2c_ground | B2C GROUND ECONOMY | - | dtdc_priority | PRIORITY | - | dtdc_ground_express | GROUND EXPRESS | - | dtdc_premium | PREMIUM | - | dtdc_economy_ground | GEC | - | dtdc_standard_express | STD EXP-A | - - ### EasyPost - | Code | Service Name | - | ------------ | ------------ | - | easypost_amazonmws_ups_rates | UPS Rates | - | easypost_amazonmws_usps_rates | USPS Rates | - | easypost_amazonmws_fedex_rates | FedEx Rates | - | easypost_amazonmws_ups_labels | UPS Labels | - | easypost_amazonmws_usps_labels | USPS Labels | - | easypost_amazonmws_fedex_labels | FedEx Labels | - | easypost_amazonmws_ups_tracking | UPS Tracking | - | easypost_amazonmws_usps_tracking | USPS Tracking | - | easypost_amazonmws_fedex_tracking | FedEx Tracking | - | easypost_apc_parcel_connect_book_service | parcelConnectBookService | - | easypost_apc_parcel_connect_expedited_ddp | parcelConnectExpeditedDDP | - | easypost_apc_parcel_connect_expedited_ddu | parcelConnectExpeditedDDU | - | easypost_apc_parcel_connect_priority_ddp | parcelConnectPriorityDDP | - | easypost_apc_parcel_connect_priority_ddp_delcon | parcelConnectPriorityDDPDelcon | - | easypost_apc_parcel_connect_priority_ddu | parcelConnectPriorityDDU | - | easypost_apc_parcel_connect_priority_ddu_delcon | parcelConnectPriorityDDUDelcon | - | easypost_apc_parcel_connect_priority_ddupqw | parcelConnectPriorityDDUPQW | - | easypost_apc_parcel_connect_standard_ddu | parcelConnectStandardDDU | - | easypost_apc_parcel_connect_standard_ddupqw | parcelConnectStandardDDUPQW | - | easypost_apc_parcel_connect_packet_ddu | parcelConnectPacketDDU | - | easypost_asendia_pmi | PMI | - | easypost_asendia_e_packet | ePacket | - | easypost_asendia_ipa | IPA | - | easypost_asendia_isal | ISAL | - | easypost_asendia_us_ads | ADS | - | easypost_asendia_us_air_freight_inbound | AirFreightInbound | - | easypost_asendia_us_air_freight_outbound | AirFreightOutbound | - | easypost_asendia_us_domestic_bound_printer_matter_expedited | AsendiaDomesticBoundPrinterMatterExpedited | - | easypost_asendia_us_domestic_bound_printer_matter_ground | AsendiaDomesticBoundPrinterMatterGround | - | easypost_asendia_us_domestic_flats_expedited | AsendiaDomesticFlatsExpedited | - | easypost_asendia_us_domestic_flats_ground | AsendiaDomesticFlatsGround | - | easypost_asendia_us_domestic_parcel_ground_over1lb | AsendiaDomesticParcelGroundOver1lb | - | easypost_asendia_us_domestic_parcel_ground_under1lb | AsendiaDomesticParcelGroundUnder1lb | - | easypost_asendia_us_domestic_parcel_max_over1lb | AsendiaDomesticParcelMAXOver1lb | - | easypost_asendia_us_domestic_parcel_max_under1lb | AsendiaDomesticParcelMAXUnder1lb | - | easypost_asendia_us_domestic_parcel_over1lb_expedited | AsendiaDomesticParcelOver1lbExpedited | - | easypost_asendia_us_domestic_parcel_under1lb_expedited | AsendiaDomesticParcelUnder1lbExpedited | - | easypost_asendia_us_domestic_promo_parcel_expedited | AsendiaDomesticPromoParcelExpedited | - | easypost_asendia_us_domestic_promo_parcel_ground | AsendiaDomesticPromoParcelGround | - | easypost_asendia_us_bulk_freight | BulkFreight | - | easypost_asendia_us_business_mail_canada_lettermail | BusinessMailCanadaLettermail | - | easypost_asendia_us_business_mail_canada_lettermail_machineable | BusinessMailCanadaLettermailMachineable | - | easypost_asendia_us_business_mail_economy | BusinessMailEconomy | - | easypost_asendia_us_business_mail_economy_lp_wholesale | BusinessMailEconomyLPWholesale | - | easypost_asendia_us_business_mail_economy_sp_wholesale | BusinessMailEconomySPWholesale | - | easypost_asendia_us_business_mail_ipa | BusinessMailIPA | - | easypost_asendia_us_business_mail_isal | BusinessMailISAL | - | easypost_asendia_us_business_mail_priority | BusinessMailPriority | - | easypost_asendia_us_business_mail_priority_lp_wholesale | BusinessMailPriorityLPWholesale | - | easypost_asendia_us_business_mail_priority_sp_wholesale | BusinessMailPrioritySPWholesale | - | easypost_asendia_us_marketing_mail_canada_personalized_lcp | MarketingMailCanadaPersonalizedLCP | - | easypost_asendia_us_marketing_mail_canada_personalized_machineable | MarketingMailCanadaPersonalizedMachineable | - | easypost_asendia_us_marketing_mail_canada_personalized_ndg | MarketingMailCanadaPersonalizedNDG | - | easypost_asendia_us_marketing_mail_economy | MarketingMailEconomy | - | easypost_asendia_us_marketing_mail_ipa | MarketingMailIPA | - | easypost_asendia_us_marketing_mail_isal | MarketingMailISAL | - | easypost_asendia_us_marketing_mail_priority | MarketingMailPriority | - | easypost_asendia_us_publications_canada_lcp | PublicationsCanadaLCP | - | easypost_asendia_us_publications_canada_ndg | PublicationsCanadaNDG | - | easypost_asendia_us_publications_economy | PublicationsEconomy | - | easypost_asendia_us_publications_ipa | PublicationsIPA | - | easypost_asendia_us_publications_isal | PublicationsISAL | - | easypost_asendia_us_publications_priority | PublicationsPriority | - | easypost_asendia_us_epaq_elite | ePAQElite | - | easypost_asendia_us_epaq_elite_custom | ePAQEliteCustom | - | easypost_asendia_us_epaq_elite_dap | ePAQEliteDAP | - | easypost_asendia_us_epaq_elite_ddp | ePAQEliteDDP | - | easypost_asendia_us_epaq_elite_ddp_oversized | ePAQEliteDDPOversized | - | easypost_asendia_us_epaq_elite_dpd | ePAQEliteDPD | - | easypost_asendia_us_epaq_elite_direct_access_canada_ddp | ePAQEliteDirectAccessCanadaDDP | - | easypost_asendia_us_epaq_elite_oversized | ePAQEliteOversized | - | easypost_asendia_us_epaq_plus | ePAQPlus | - | easypost_asendia_us_epaq_plus_custom | ePAQPlusCustom | - | easypost_asendia_us_epaq_plus_customs_prepaid | ePAQPlusCustomsPrepaid | - | easypost_asendia_us_epaq_plus_dap | ePAQPlusDAP | - | easypost_asendia_us_epaq_plus_ddp | ePAQPlusDDP | - | easypost_asendia_us_epaq_plus_economy | ePAQPlusEconomy | - | easypost_asendia_us_epaq_plus_wholesale | ePAQPlusWholesale | - | easypost_asendia_us_epaq_pluse_packet | ePAQPlusePacket | - | easypost_asendia_us_epaq_pluse_packet_canada_customs_pre_paid | ePAQPlusePacketCanadaCustomsPrePaid | - | easypost_asendia_us_epaq_pluse_packet_canada_ddp | ePAQPlusePacketCanadaDDP | - | easypost_asendia_us_epaq_returns_domestic | ePAQReturnsDomestic | - | easypost_asendia_us_epaq_returns_international | ePAQReturnsInternational | - | easypost_asendia_us_epaq_select | ePAQSelect | - | easypost_asendia_us_epaq_select_custom | ePAQSelectCustom | - | easypost_asendia_us_epaq_select_customs_prepaid_by_shopper | ePAQSelectCustomsPrepaidByShopper | - | easypost_asendia_us_epaq_select_dap | ePAQSelectDAP | - | easypost_asendia_us_epaq_select_ddp | ePAQSelectDDP | - | easypost_asendia_us_epaq_select_ddp_direct_access | ePAQSelectDDPDirectAccess | - | easypost_asendia_us_epaq_select_direct_access | ePAQSelectDirectAccess | - | easypost_asendia_us_epaq_select_direct_access_canada_ddp | ePAQSelectDirectAccessCanadaDDP | - | easypost_asendia_us_epaq_select_economy | ePAQSelectEconomy | - | easypost_asendia_us_epaq_select_oversized | ePAQSelectOversized | - | easypost_asendia_us_epaq_select_oversized_ddp | ePAQSelectOversizedDDP | - | easypost_asendia_us_epaq_select_pmei | ePAQSelectPMEI | - | easypost_asendia_us_epaq_select_pmei_canada_customs_pre_paid | ePAQSelectPMEICanadaCustomsPrePaid | - | easypost_asendia_us_epaq_select_pmeipc_postage | ePAQSelectPMEIPCPostage | - | easypost_asendia_us_epaq_select_pmi | ePAQSelectPMI | - | easypost_asendia_us_epaq_select_pmi_canada_customs_prepaid | ePAQSelectPMICanadaCustomsPrepaid | - | easypost_asendia_us_epaq_select_pmi_canada_ddp | ePAQSelectPMICanadaDDP | - | easypost_asendia_us_epaq_select_pmi_non_presort | ePAQSelectPMINonPresort | - | easypost_asendia_us_epaq_select_pmipc_postage | ePAQSelectPMIPCPostage | - | easypost_asendia_us_epaq_standard | ePAQStandard | - | easypost_asendia_us_epaq_standard_custom | ePAQStandardCustom | - | easypost_asendia_us_epaq_standard_economy | ePAQStandardEconomy | - | easypost_asendia_us_epaq_standard_ipa | ePAQStandardIPA | - | easypost_asendia_us_epaq_standard_isal | ePAQStandardISAL | - | easypost_asendia_us_epaq_select_pmei_non_presort | ePaqSelectPMEINonPresort | - | easypost_australiapost_express_post | ExpressPost | - | easypost_australiapost_express_post_signature | ExpressPostSignature | - | easypost_australiapost_parcel_post | ParcelPost | - | easypost_australiapost_parcel_post_signature | ParcelPostSignature | - | easypost_australiapost_parcel_post_extra | ParcelPostExtra | - | easypost_australiapost_parcel_post_wine_plus_signature | ParcelPostWinePlusSignature | - | easypost_axlehire_delivery | AxleHireDelivery | - | easypost_better_trucks_next_day | NEXT_DAY | - | easypost_bond_standard | Standard | - | easypost_canadapost_regular_parcel | RegularParcel | - | easypost_canadapost_expedited_parcel | ExpeditedParcel | - | easypost_canadapost_xpresspost | Xpresspost | - | easypost_canadapost_xpresspost_certified | XpresspostCertified | - | easypost_canadapost_priority | Priority | - | easypost_canadapost_library_books | LibraryBooks | - | easypost_canadapost_expedited_parcel_usa | ExpeditedParcelUSA | - | easypost_canadapost_priority_worldwide_envelope_usa | PriorityWorldwideEnvelopeUSA | - | easypost_canadapost_priority_worldwide_pak_usa | PriorityWorldwidePakUSA | - | easypost_canadapost_priority_worldwide_parcel_usa | PriorityWorldwideParcelUSA | - | easypost_canadapost_small_packet_usa_air | SmallPacketUSAAir | - | easypost_canadapost_tracked_packet_usa | TrackedPacketUSA | - | easypost_canadapost_tracked_packet_usalvm | TrackedPacketUSALVM | - | easypost_canadapost_xpresspost_usa | XpresspostUSA | - | easypost_canadapost_xpresspost_international | XpresspostInternational | - | easypost_canadapost_international_parcel_air | InternationalParcelAir | - | easypost_canadapost_international_parcel_surface | InternationalParcelSurface | - | easypost_canadapost_priority_worldwide_envelope_intl | PriorityWorldwideEnvelopeIntl | - | easypost_canadapost_priority_worldwide_pak_intl | PriorityWorldwidePakIntl | - | easypost_canadapost_priority_worldwide_parcel_intl | PriorityWorldwideParcelIntl | - | easypost_canadapost_small_packet_international_air | SmallPacketInternationalAir | - | easypost_canadapost_small_packet_international_surface | SmallPacketInternationalSurface | - | easypost_canadapost_tracked_packet_international | TrackedPacketInternational | - | easypost_canpar_ground | Ground | - | easypost_canpar_select_letter | SelectLetter | - | easypost_canpar_select_pak | SelectPak | - | easypost_canpar_select | Select | - | easypost_canpar_overnight_letter | OvernightLetter | - | easypost_canpar_overnight_pak | OvernightPak | - | easypost_canpar_overnight | Overnight | - | easypost_canpar_select_usa | SelectUSA | - | easypost_canpar_usa_pak | USAPak | - | easypost_canpar_usa_letter | USALetter | - | easypost_canpar_usa | USA | - | easypost_canpar_international | International | - | easypost_cdl_distribution | DISTRIBUTION | - | easypost_cdl_same_day | Same Day | - | easypost_courier_express_basic_parcel | BASIC_PARCEL | - | easypost_couriersplease_domestic_priority_signature | DomesticPrioritySignature | - | easypost_couriersplease_domestic_priority | DomesticPriority | - | easypost_couriersplease_domestic_off_peak_signature | DomesticOffPeakSignature | - | easypost_couriersplease_domestic_off_peak | DomesticOffPeak | - | easypost_couriersplease_gold_domestic_signature | GoldDomesticSignature | - | easypost_couriersplease_gold_domestic | GoldDomestic | - | easypost_couriersplease_australian_city_express_signature | AustralianCityExpressSignature | - | easypost_couriersplease_australian_city_express | AustralianCityExpress | - | easypost_couriersplease_domestic_saver_signature | DomesticSaverSignature | - | easypost_couriersplease_domestic_saver | DomesticSaver | - | easypost_couriersplease_road_express | RoadExpress | - | easypost_couriersplease_5_kg_satchel | 5KgSatchel | - | easypost_couriersplease_3_kg_satchel | 3KgSatchel | - | easypost_couriersplease_1_kg_satchel | 1KgSatchel | - | easypost_couriersplease_5_kg_satchel_atl | 5KgSatchelATL | - | easypost_couriersplease_3_kg_satchel_atl | 3KgSatchelATL | - | easypost_couriersplease_1_kg_satchel_atl | 1KgSatchelATL | - | easypost_couriersplease_500_gram_satchel | 500GramSatchel | - | easypost_couriersplease_500_gram_satchel_atl | 500GramSatchelATL | - | easypost_couriersplease_25_kg_parcel | 25KgParcel | - | easypost_couriersplease_10_kg_parcel | 10KgParcel | - | easypost_couriersplease_5_kg_parcel | 5KgParcel | - | easypost_couriersplease_3_kg_parcel | 3KgParcel | - | easypost_couriersplease_1_kg_parcel | 1KgParcel | - | easypost_couriersplease_500_gram_parcel | 500GramParcel | - | easypost_couriersplease_500_gram_parcel_atl | 500GramParcelATL | - | easypost_couriersplease_express_international_priority | ExpressInternationalPriority | - | easypost_couriersplease_international_saver | InternationalSaver | - | easypost_couriersplease_international_express_import | InternationalExpressImport | - | easypost_couriersplease_domestic_tracked | DomesticTracked | - | easypost_couriersplease_international_economy | InternationalEconomy | - | easypost_couriersplease_international_standard | InternationalStandard | - | easypost_couriersplease_international_express | InternationalExpress | - | easypost_deutschepost_packet_plus | PacketPlus | - | easypost_deutschepost_uk_priority_packet_plus | PriorityPacketPlus | - | easypost_deutschepost_uk_priority_packet | PriorityPacket | - | easypost_deutschepost_uk_priority_packet_tracked | PriorityPacketTracked | - | easypost_deutschepost_uk_business_mail_registered | BusinessMailRegistered | - | easypost_deutschepost_uk_standard_packet | StandardPacket | - | easypost_deutschepost_uk_business_mail_standard | BusinessMailStandard | - | easypost_dhl_ecom_asia_packet | Packet | - | easypost_dhl_ecom_asia_parcel_direct | ParcelDirect | - | easypost_dhl_ecom_asia_parcel_direct_expedited | ParcelDirectExpedited | - | easypost_dhl_ecom_parcel_expedited | DHLParcelExpedited | - | easypost_dhl_ecom_parcel_expedited_max | DHLParcelExpeditedMax | - | easypost_dhl_ecom_parcel_ground | DHLParcelGround | - | easypost_dhl_ecom_bpm_expedited | DHLBPMExpedited | - | easypost_dhl_ecom_bpm_ground | DHLBPMGround | - | easypost_dhl_ecom_parcel_international_direct | DHLParcelInternationalDirect | - | easypost_dhl_ecom_parcel_international_standard | DHLParcelInternationalStandard | - | easypost_dhl_ecom_packet_international | DHLPacketInternational | - | easypost_dhl_ecom_parcel_international_direct_priority | DHLParcelInternationalDirectPriority | - | easypost_dhl_ecom_parcel_international_direct_standard | DHLParcelInternationalDirectStandard | - | easypost_dhl_express_break_bulk_economy | BreakBulkEconomy | - | easypost_dhl_express_break_bulk_express | BreakBulkExpress | - | easypost_dhl_express_domestic_economy_select | DomesticEconomySelect | - | easypost_dhl_express_domestic_express | DomesticExpress | - | easypost_dhl_express_domestic_express1030 | DomesticExpress1030 | - | easypost_dhl_express_domestic_express1200 | DomesticExpress1200 | - | easypost_dhl_express_economy_select | EconomySelect | - | easypost_dhl_express_economy_select_non_doc | EconomySelectNonDoc | - | easypost_dhl_express_euro_pack | EuroPack | - | easypost_dhl_express_europack_non_doc | EuropackNonDoc | - | easypost_dhl_express_express1030 | Express1030 | - | easypost_dhl_express_express1030_non_doc | Express1030NonDoc | - | easypost_dhl_express_express1200_non_doc | Express1200NonDoc | - | easypost_dhl_express_express1200 | Express1200 | - | easypost_dhl_express_express900 | Express900 | - | easypost_dhl_express_express900_non_doc | Express900NonDoc | - | easypost_dhl_express_express_easy | ExpressEasy | - | easypost_dhl_express_express_easy_non_doc | ExpressEasyNonDoc | - | easypost_dhl_express_express_envelope | ExpressEnvelope | - | easypost_dhl_express_express_worldwide | ExpressWorldwide | - | easypost_dhl_express_express_worldwide_b2_c | ExpressWorldwideB2C | - | easypost_dhl_express_express_worldwide_b2_c_non_doc | ExpressWorldwideB2CNonDoc | - | easypost_dhl_express_express_worldwide_ecx | ExpressWorldwideECX | - | easypost_dhl_express_express_worldwide_non_doc | ExpressWorldwideNonDoc | - | easypost_dhl_express_freight_worldwide | FreightWorldwide | - | easypost_dhl_express_globalmail_business | GlobalmailBusiness | - | easypost_dhl_express_jet_line | JetLine | - | easypost_dhl_express_jumbo_box | JumboBox | - | easypost_dhl_express_logistics_services | LogisticsServices | - | easypost_dhl_express_same_day | SameDay | - | easypost_dhl_express_secure_line | SecureLine | - | easypost_dhl_express_sprint_line | SprintLine | - | easypost_dpd_classic | DPDCLASSIC | - | easypost_dpd_8_30 | DPD8:30 | - | easypost_dpd_10_00 | DPD10:00 | - | easypost_dpd_12_00 | DPD12:00 | - | easypost_dpd_18_00 | DPD18:00 | - | easypost_dpd_express | DPDEXPRESS | - | easypost_dpd_parcelletter | DPDPARCELLETTER | - | easypost_dpd_parcelletterplus | DPDPARCELLETTERPLUS | - | easypost_dpd_internationalmail | DPDINTERNATIONALMAIL | - | easypost_dpd_uk_air_express_international_air | AirExpressInternationalAir | - | easypost_dpd_uk_air_classic_international_air | AirClassicInternationalAir | - | easypost_dpd_uk_parcel_sunday | ParcelSunday | - | easypost_dpd_uk_freight_parcel_sunday | FreightParcelSunday | - | easypost_dpd_uk_pallet_sunday | PalletSunday | - | easypost_dpd_uk_pallet_dpd_classic | PalletDpdClassic | - | easypost_dpd_uk_expresspak_dpd_classic | ExpresspakDpdClassic | - | easypost_dpd_uk_expresspak_sunday | ExpresspakSunday | - | easypost_dpd_uk_parcel_dpd_classic | ParcelDpdClassic | - | easypost_dpd_uk_parcel_dpd_two_day | ParcelDpdTwoDay | - | easypost_dpd_uk_parcel_dpd_next_day | ParcelDpdNextDay | - | easypost_dpd_uk_parcel_dpd12 | ParcelDpd12 | - | easypost_dpd_uk_parcel_dpd10 | ParcelDpd10 | - | easypost_dpd_uk_parcel_return_to_shop | ParcelReturnToShop | - | easypost_dpd_uk_parcel_saturday | ParcelSaturday | - | easypost_dpd_uk_parcel_saturday12 | ParcelSaturday12 | - | easypost_dpd_uk_parcel_saturday10 | ParcelSaturday10 | - | easypost_dpd_uk_parcel_sunday12 | ParcelSunday12 | - | easypost_dpd_uk_freight_parcel_dpd_classic | FreightParcelDpdClassic | - | easypost_dpd_uk_freight_parcel_sunday12 | FreightParcelSunday12 | - | easypost_dpd_uk_expresspak_dpd_next_day | ExpresspakDpdNextDay | - | easypost_dpd_uk_expresspak_dpd12 | ExpresspakDpd12 | - | easypost_dpd_uk_expresspak_dpd10 | ExpresspakDpd10 | - | easypost_dpd_uk_expresspak_saturday | ExpresspakSaturday | - | easypost_dpd_uk_expresspak_saturday12 | ExpresspakSaturday12 | - | easypost_dpd_uk_expresspak_saturday10 | ExpresspakSaturday10 | - | easypost_dpd_uk_expresspak_sunday12 | ExpresspakSunday12 | - | easypost_dpd_uk_pallet_sunday12 | PalletSunday12 | - | easypost_dpd_uk_pallet_dpd_two_day | PalletDpdTwoDay | - | easypost_dpd_uk_pallet_dpd_next_day | PalletDpdNextDay | - | easypost_dpd_uk_pallet_dpd12 | PalletDpd12 | - | easypost_dpd_uk_pallet_dpd10 | PalletDpd10 | - | easypost_dpd_uk_pallet_saturday | PalletSaturday | - | easypost_dpd_uk_pallet_saturday12 | PalletSaturday12 | - | easypost_dpd_uk_pallet_saturday10 | PalletSaturday10 | - | easypost_dpd_uk_freight_parcel_dpd_two_day | FreightParcelDpdTwoDay | - | easypost_dpd_uk_freight_parcel_dpd_next_day | FreightParcelDpdNextDay | - | easypost_dpd_uk_freight_parcel_dpd12 | FreightParcelDpd12 | - | easypost_dpd_uk_freight_parcel_dpd10 | FreightParcelDpd10 | - | easypost_dpd_uk_freight_parcel_saturday | FreightParcelSaturday | - | easypost_dpd_uk_freight_parcel_saturday12 | FreightParcelSaturday12 | - | easypost_dpd_uk_freight_parcel_saturday10 | FreightParcelSaturday10 | - | easypost_epost_courier_service_ddp | CourierServiceDDP | - | easypost_epost_courier_service_ddu | CourierServiceDDU | - | easypost_epost_domestic_economy_parcel | DomesticEconomyParcel | - | easypost_epost_domestic_parcel_bpm | DomesticParcelBPM | - | easypost_epost_domestic_priority_parcel | DomesticPriorityParcel | - | easypost_epost_domestic_priority_parcel_bpm | DomesticPriorityParcelBPM | - | easypost_epost_emi_service | EMIService | - | easypost_epost_economy_parcel_service | EconomyParcelService | - | easypost_epost_ipa_service | IPAService | - | easypost_epost_isal_service | ISALService | - | easypost_epost_pmi_service | PMIService | - | easypost_epost_priority_parcel_ddp | PriorityParcelDDP | - | easypost_epost_priority_parcel_ddu | PriorityParcelDDU | - | easypost_epost_priority_parcel_delivery_confirmation_ddp | PriorityParcelDeliveryConfirmationDDP | - | easypost_epost_priority_parcel_delivery_confirmation_ddu | PriorityParcelDeliveryConfirmationDDU | - | easypost_epost_epacket_service | ePacketService | - | easypost_estafeta_next_day_by930 | NextDayBy930 | - | easypost_estafeta_next_day_by1130 | NextDayBy1130 | - | easypost_estafeta_next_day | NextDay | - | easypost_estafeta_two_day | TwoDay | - | easypost_estafeta_ltl | LTL | - | easypost_fastway_parcel | Parcel | - | easypost_fastway_satchel | Satchel | - | easypost_fedex_ground | FEDEX_GROUND | - | easypost_fedex_2_day | FEDEX_2_DAY | - | easypost_fedex_2_day_am | FEDEX_2_DAY_AM | - | easypost_fedex_express_saver | FEDEX_EXPRESS_SAVER | - | easypost_fedex_standard_overnight | STANDARD_OVERNIGHT | - | easypost_fedex_first_overnight | FIRST_OVERNIGHT | - | easypost_fedex_priority_overnight | PRIORITY_OVERNIGHT | - | easypost_fedex_international_economy | INTERNATIONAL_ECONOMY | - | easypost_fedex_international_first | INTERNATIONAL_FIRST | - | easypost_fedex_international_priority | INTERNATIONAL_PRIORITY | - | easypost_fedex_ground_home_delivery | GROUND_HOME_DELIVERY | - | easypost_fedex_crossborder_cbec | CBEC | - | easypost_fedex_crossborder_cbecl | CBECL | - | easypost_fedex_crossborder_cbecp | CBECP | - | easypost_fedex_sameday_city_economy_service | EconomyService | - | easypost_fedex_sameday_city_standard_service | StandardService | - | easypost_fedex_sameday_city_priority_service | PriorityService | - | easypost_fedex_sameday_city_last_mile | LastMile | - | easypost_fedex_smart_post | SMART_POST | - | easypost_globegistics_pmei | PMEI | - | easypost_globegistics_ecom_domestic | eComDomestic | - | easypost_globegistics_ecom_europe | eComEurope | - | easypost_globegistics_ecom_express | eComExpress | - | easypost_globegistics_ecom_extra | eComExtra | - | easypost_globegistics_ecom_ipa | eComIPA | - | easypost_globegistics_ecom_isal | eComISAL | - | easypost_globegistics_ecom_pmei_duty_paid | eComPMEIDutyPaid | - | easypost_globegistics_ecom_pmi_duty_paid | eComPMIDutyPaid | - | easypost_globegistics_ecom_packet | eComPacket | - | easypost_globegistics_ecom_packet_ddp | eComPacketDDP | - | easypost_globegistics_ecom_priority | eComPriority | - | easypost_globegistics_ecom_standard | eComStandard | - | easypost_globegistics_ecom_tracked_ddp | eComTrackedDDP | - | easypost_globegistics_ecom_tracked_ddu | eComTrackedDDU | - | easypost_gso_early_priority_overnight | EarlyPriorityOvernight | - | easypost_gso_priority_overnight | PriorityOvernight | - | easypost_gso_california_parcel_service | CaliforniaParcelService | - | easypost_gso_saturday_delivery_service | SaturdayDeliveryService | - | easypost_gso_early_saturday_service | EarlySaturdayService | - | easypost_hermes_domestic_delivery | DomesticDelivery | - | easypost_hermes_domestic_delivery_signed | DomesticDeliverySigned | - | easypost_hermes_international_delivery | InternationalDelivery | - | easypost_hermes_international_delivery_signed | InternationalDeliverySigned | - | easypost_interlink_air_classic_international_air | InterlinkAirClassicInternationalAir | - | easypost_interlink_air_express_international_air | InterlinkAirExpressInternationalAir | - | easypost_interlink_expresspak1_by10_30 | InterlinkExpresspak1By10:30 | - | easypost_interlink_expresspak1_by12 | InterlinkExpresspak1By12 | - | easypost_interlink_expresspak1_next_day | InterlinkExpresspak1NextDay | - | easypost_interlink_expresspak1_saturday | InterlinkExpresspak1Saturday | - | easypost_interlink_expresspak1_saturday_by10_30 | InterlinkExpresspak1SaturdayBy10:30 | - | easypost_interlink_expresspak1_saturday_by12 | InterlinkExpresspak1SaturdayBy12 | - | easypost_interlink_expresspak1_sunday | InterlinkExpresspak1Sunday | - | easypost_interlink_expresspak1_sunday_by12 | InterlinkExpresspak1SundayBy12 | - | easypost_interlink_expresspak5_by10 | InterlinkExpresspak5By10 | - | easypost_interlink_expresspak5_by10_30 | InterlinkExpresspak5By10:30 | - | easypost_interlink_expresspak5_by12 | InterlinkExpresspak5By12 | - | easypost_interlink_expresspak5_next_day | InterlinkExpresspak5NextDay | - | easypost_interlink_expresspak5_saturday | InterlinkExpresspak5Saturday | - | easypost_interlink_expresspak5_saturday_by10 | InterlinkExpresspak5SaturdayBy10 | - | easypost_interlink_expresspak5_saturday_by10_30 | InterlinkExpresspak5SaturdayBy10:30 | - | easypost_interlink_expresspak5_saturday_by12 | InterlinkExpresspak5SaturdayBy12 | - | easypost_interlink_expresspak5_sunday | InterlinkExpresspak5Sunday | - | easypost_interlink_expresspak5_sunday_by12 | InterlinkExpresspak5SundayBy12 | - | easypost_interlink_freight_by10 | InterlinkFreightBy10 | - | easypost_interlink_freight_by12 | InterlinkFreightBy12 | - | easypost_interlink_freight_next_day | InterlinkFreightNextDay | - | easypost_interlink_freight_saturday | InterlinkFreightSaturday | - | easypost_interlink_freight_saturday_by10 | InterlinkFreightSaturdayBy10 | - | easypost_interlink_freight_saturday_by12 | InterlinkFreightSaturdayBy12 | - | easypost_interlink_freight_sunday | InterlinkFreightSunday | - | easypost_interlink_freight_sunday_by12 | InterlinkFreightSundayBy12 | - | easypost_interlink_parcel_by10 | InterlinkParcelBy10 | - | easypost_interlink_parcel_by10_30 | InterlinkParcelBy10:30 | - | easypost_interlink_parcel_by12 | InterlinkParcelBy12 | - | easypost_interlink_parcel_dpd_europe_by_road | InterlinkParcelDpdEuropeByRoad | - | easypost_interlink_parcel_next_day | InterlinkParcelNextDay | - | easypost_interlink_parcel_return | InterlinkParcelReturn | - | easypost_interlink_parcel_return_to_shop | InterlinkParcelReturnToShop | - | easypost_interlink_parcel_saturday | InterlinkParcelSaturday | - | easypost_interlink_parcel_saturday_by10 | InterlinkParcelSaturdayBy10 | - | easypost_interlink_parcel_saturday_by10_30 | InterlinkParcelSaturdayBy10:30 | - | easypost_interlink_parcel_saturday_by12 | InterlinkParcelSaturdayBy12 | - | easypost_interlink_parcel_ship_to_shop | InterlinkParcelShipToShop | - | easypost_interlink_parcel_sunday | InterlinkParcelSunday | - | easypost_interlink_parcel_sunday_by12 | InterlinkParcelSundayBy12 | - | easypost_interlink_parcel_two_day | InterlinkParcelTwoDay | - | easypost_interlink_pickup_parcel_dpd_europe_by_road | InterlinkPickupParcelDpdEuropeByRoad | - | easypost_lasership_weekend | Weekend | - | easypost_loomis_ground | LoomisGround | - | easypost_loomis_express1800 | LoomisExpress1800 | - | easypost_loomis_express1200 | LoomisExpress1200 | - | easypost_loomis_express900 | LoomisExpress900 | - | easypost_lso_ground_early | GroundEarly | - | easypost_lso_ground_basic | GroundBasic | - | easypost_lso_priority_basic | PriorityBasic | - | easypost_lso_priority_early | PriorityEarly | - | easypost_lso_priority_saturday | PrioritySaturday | - | easypost_lso_priority2nd_day | Priority2ndDay | - | easypost_newgistics_parcel_select | ParcelSelect | - | easypost_newgistics_parcel_select_lightweight | ParcelSelectLightweight | - | easypost_newgistics_express | Express | - | easypost_newgistics_first_class_mail | FirstClassMail | - | easypost_newgistics_priority_mail | PriorityMail | - | easypost_newgistics_bound_printed_matter | BoundPrintedMatter | - | easypost_ontrac_sunrise | Sunrise | - | easypost_ontrac_gold | Gold | - | easypost_ontrac_on_trac_ground | OnTracGround | - | easypost_ontrac_palletized_freight | PalletizedFreight | - | easypost_osm_first | First | - | easypost_osm_expedited | Expedited | - | easypost_osm_bpm | BPM | - | easypost_osm_media_mail | MediaMail | - | easypost_osm_marketing_parcel | MarketingParcel | - | easypost_osm_marketing_parcel_tracked | MarketingParcelTracked | - | easypost_parcll_economy_west | Economy West | - | easypost_parcll_economy_east | Economy East | - | easypost_parcll_economy_central | Economy Central | - | easypost_parcll_economy_northeast | Economy Northeast | - | easypost_parcll_economy_south | Economy South | - | easypost_parcll_expedited_west | Expedited West | - | easypost_parcll_expedited_northeast | Expedited Northeast | - | easypost_parcll_regional_west | Regional West | - | easypost_parcll_regional_east | Regional East | - | easypost_parcll_regional_central | Regional Central | - | easypost_parcll_regional_northeast | Regional Northeast | - | easypost_parcll_regional_south | Regional South | - | easypost_parcll_us_to_canada_economy_west | US to Canada Economy West | - | easypost_parcll_us_to_canada_economy_central | US to Canada Economy Central | - | easypost_parcll_us_to_canada_economy_northeast | US to Canada Economy Northeast | - | easypost_parcll_us_to_europe_economy_west | US to Europe Economy West | - | easypost_parcll_us_to_europe_economy_northeast | US to Europe Economy Northeast | - | easypost_purolator_express | PurolatorExpress | - | easypost_purolator_express12_pm | PurolatorExpress12PM | - | easypost_purolator_express_pack12_pm | PurolatorExpressPack12PM | - | easypost_purolator_express_box12_pm | PurolatorExpressBox12PM | - | easypost_purolator_express_envelope12_pm | PurolatorExpressEnvelope12PM | - | easypost_purolator_express1030_am | PurolatorExpress1030AM | - | easypost_purolator_express9_am | PurolatorExpress9AM | - | easypost_purolator_express_box | PurolatorExpressBox | - | easypost_purolator_express_box1030_am | PurolatorExpressBox1030AM | - | easypost_purolator_express_box9_am | PurolatorExpressBox9AM | - | easypost_purolator_express_box_evening | PurolatorExpressBoxEvening | - | easypost_purolator_express_box_international | PurolatorExpressBoxInternational | - | easypost_purolator_express_box_international1030_am | PurolatorExpressBoxInternational1030AM | - | easypost_purolator_express_box_international1200 | PurolatorExpressBoxInternational1200 | - | easypost_purolator_express_box_international9_am | PurolatorExpressBoxInternational9AM | - | easypost_purolator_express_box_us | PurolatorExpressBoxUS | - | easypost_purolator_express_box_us1030_am | PurolatorExpressBoxUS1030AM | - | easypost_purolator_express_box_us1200 | PurolatorExpressBoxUS1200 | - | easypost_purolator_express_box_us9_am | PurolatorExpressBoxUS9AM | - | easypost_purolator_express_envelope | PurolatorExpressEnvelope | - | easypost_purolator_express_envelope1030_am | PurolatorExpressEnvelope1030AM | - | easypost_purolator_express_envelope9_am | PurolatorExpressEnvelope9AM | - | easypost_purolator_express_envelope_evening | PurolatorExpressEnvelopeEvening | - | easypost_purolator_express_envelope_international | PurolatorExpressEnvelopeInternational | - | easypost_purolator_express_envelope_international1030_am | PurolatorExpressEnvelopeInternational1030AM | - | easypost_purolator_express_envelope_international1200 | PurolatorExpressEnvelopeInternational1200 | - | easypost_purolator_express_envelope_international9_am | PurolatorExpressEnvelopeInternational9AM | - | easypost_purolator_express_envelope_us | PurolatorExpressEnvelopeUS | - | easypost_purolator_express_envelope_us1030_am | PurolatorExpressEnvelopeUS1030AM | - | easypost_purolator_express_envelope_us1200 | PurolatorExpressEnvelopeUS1200 | - | easypost_purolator_express_envelope_us9_am | PurolatorExpressEnvelopeUS9AM | - | easypost_purolator_express_evening | PurolatorExpressEvening | - | easypost_purolator_express_international | PurolatorExpressInternational | - | easypost_purolator_express_international1030_am | PurolatorExpressInternational1030AM | - | easypost_purolator_express_international1200 | PurolatorExpressInternational1200 | - | easypost_purolator_express_international9_am | PurolatorExpressInternational9AM | - | easypost_purolator_express_pack | PurolatorExpressPack | - | easypost_purolator_express_pack1030_am | PurolatorExpressPack1030AM | - | easypost_purolator_express_pack9_am | PurolatorExpressPack9AM | - | easypost_purolator_express_pack_evening | PurolatorExpressPackEvening | - | easypost_purolator_express_pack_international | PurolatorExpressPackInternational | - | easypost_purolator_express_pack_international1030_am | PurolatorExpressPackInternational1030AM | - | easypost_purolator_express_pack_international1200 | PurolatorExpressPackInternational1200 | - | easypost_purolator_express_pack_international9_am | PurolatorExpressPackInternational9AM | - | easypost_purolator_express_pack_us | PurolatorExpressPackUS | - | easypost_purolator_express_pack_us1030_am | PurolatorExpressPackUS1030AM | - | easypost_purolator_express_pack_us1200 | PurolatorExpressPackUS1200 | - | easypost_purolator_express_pack_us9_am | PurolatorExpressPackUS9AM | - | easypost_purolator_express_us | PurolatorExpressUS | - | easypost_purolator_express_us1030_am | PurolatorExpressUS1030AM | - | easypost_purolator_express_us1200 | PurolatorExpressUS1200 | - | easypost_purolator_express_us9_am | PurolatorExpressUS9AM | - | easypost_purolator_ground | PurolatorGround | - | easypost_purolator_ground1030_am | PurolatorGround1030AM | - | easypost_purolator_ground9_am | PurolatorGround9AM | - | easypost_purolator_ground_distribution | PurolatorGroundDistribution | - | easypost_purolator_ground_evening | PurolatorGroundEvening | - | easypost_purolator_ground_regional | PurolatorGroundRegional | - | easypost_purolator_ground_us | PurolatorGroundUS | - | easypost_royalmail_international_signed | InternationalSigned | - | easypost_royalmail_international_tracked | InternationalTracked | - | easypost_royalmail_international_tracked_and_signed | InternationalTrackedAndSigned | - | easypost_royalmail_1st_class | 1stClass | - | easypost_royalmail_1st_class_signed_for | 1stClassSignedFor | - | easypost_royalmail_2nd_class | 2ndClass | - | easypost_royalmail_2nd_class_signed_for | 2ndClassSignedFor | - | easypost_royalmail_royal_mail24 | RoyalMail24 | - | easypost_royalmail_royal_mail24_signed_for | RoyalMail24SignedFor | - | easypost_royalmail_royal_mail48 | RoyalMail48 | - | easypost_royalmail_royal_mail48_signed_for | RoyalMail48SignedFor | - | easypost_royalmail_special_delivery_guaranteed1pm | SpecialDeliveryGuaranteed1pm | - | easypost_royalmail_special_delivery_guaranteed9am | SpecialDeliveryGuaranteed9am | - | easypost_royalmail_standard_letter1st_class | StandardLetter1stClass | - | easypost_royalmail_standard_letter1st_class_signed_for | StandardLetter1stClassSignedFor | - | easypost_royalmail_standard_letter2nd_class | StandardLetter2ndClass | - | easypost_royalmail_standard_letter2nd_class_signed_for | StandardLetter2ndClassSignedFor | - | easypost_royalmail_tracked24 | Tracked24 | - | easypost_royalmail_tracked24_high_volume | Tracked24HighVolume | - | easypost_royalmail_tracked24_high_volume_signature | Tracked24HighVolumeSignature | - | easypost_royalmail_tracked24_signature | Tracked24Signature | - | easypost_royalmail_tracked48 | Tracked48 | - | easypost_royalmail_tracked48_high_volume | Tracked48HighVolume | - | easypost_royalmail_tracked48_high_volume_signature | Tracked48HighVolumeSignature | - | easypost_royalmail_tracked48_signature | Tracked48Signature | - | easypost_seko_ecommerce_standard_tracked | eCommerce Standard Tracked | - | easypost_seko_ecommerce_express_tracked | eCommerce Express Tracked | - | easypost_seko_domestic_express | Domestic Express | - | easypost_seko_domestic_standard | Domestic Standard | - | easypost_sendle_easy | Easy | - | easypost_sendle_pro | Pro | - | easypost_sendle_plus | Plus | - | easypost_sfexpress_international_standard_express_doc | International Standard Express - Doc | - | easypost_sfexpress_international_standard_express_parcel | International Standard Express - Parcel | - | easypost_sfexpress_international_economy_express_pilot | International Economy Express - Pilot | - | easypost_sfexpress_international_economy_express_doc | International Economy Express - Doc | - | easypost_speedee_delivery | SpeeDeeDelivery | - | easypost_startrack_express | StartrackExpress | - | easypost_startrack_premium | StartrackPremium | - | easypost_startrack_fixed_price_premium | StartrackFixedPricePremium | - | easypost_tforce_same_day_white_glove | SameDayWhiteGlove | - | easypost_tforce_next_day_white_glove | NextDayWhiteGlove | - | easypost_uds_delivery_service | DeliveryService | - | easypost_ups_standard | UPSStandard | - | easypost_ups_saver | UPSSaver | - | easypost_ups_express_plus | ExpressPlus | - | easypost_ups_next_day_air | NextDayAir | - | easypost_ups_next_day_air_saver | NextDayAirSaver | - | easypost_ups_next_day_air_early_am | NextDayAirEarlyAM | - | easypost_ups_2nd_day_air | 2ndDayAir | - | easypost_ups_2nd_day_air_am | 2ndDayAirAM | - | easypost_ups_3_day_select | 3DaySelect | - | easypost_ups_mail_expedited_mail_innovations | ExpeditedMailInnovations | - | easypost_ups_mail_priority_mail_innovations | PriorityMailInnovations | - | easypost_ups_mail_economy_mail_innovations | EconomyMailInnovations | - | easypost_usps_library_mail | LibraryMail | - | easypost_usps_first_class_mail_international | FirstClassMailInternational | - | easypost_usps_first_class_package_international_service | FirstClassPackageInternationalService | - | easypost_usps_priority_mail_international | PriorityMailInternational | - | easypost_usps_express_mail_international | ExpressMailInternational | - | easypost_veho_next_day | nextDay | - | easypost_veho_same_day | sameDay | - - ### Easyship - | Code | Service Name | - | ------------ | ------------ | - | easyship_aramex_parcel | Parcel | - | easyship_sfexpress_domestic | Domestic | - | easyship_hkpost_speedpost | Speedpost | - | easyship_hkpost_air_mail_tracking | Air Mail Tracking | - | easyship_hkpost_eexpress | EExpress | - | easyship_hkpost_air_parcel | Air Parcel | - | easyship_sfexpress_mail | Mail | - | easyship_hkpost_local_parcel | Local Parcel | - | easyship_ups_saver_net_battery | SaverNet Battery | - | easyship_ups_worldwide_saver | Worldwide Saver® | - | easyship_hkpost_air_parcel_xp | Air Parcel XP | - | easyship_singpost_airmail | Airmail | - | easyship_simplypost_express | Express | - | easyship_singpost_e_pack | ePack | - | easyship_usps_priority_mail_express | Priority Mail Express | - | easyship_usps_first_class_international | First Class International | - | easyship_usps_priority_mail_international_express | Priority Mail International Express | - | easyship_usps_priority_mail_international | Priority Mail International | - | easyship_fedex_international_priority | InternationalPriority | - | easyship_usps_ground_advantage | GroundAdvantage | - | easyship_usps_priority_mail | PriorityMail | - | easyship_ups_worldwide_express | Worldwide Express® | - | easyship_ups_ground | Ground | - | easyship_ups_worldwide_expedited | Worldwide Expedited® | - | easyship_fedex_international_economy | International Economy® | - | easyship_fedex_priority_overnight | Priority Overnight® | - | easyship_fedex_standard_overnight | Standard Overnight® | - | easyship_fedex_2_day_a_m | 2Day® A.M. | - | easyship_fedex_2_day | 2Day® | - | easyship_fedex_express_saver | Express Saver® | - | easyship_ups_next_day_air | Next Day Air® | - | easyship_ups_2nd_day_air | 2nd Day Air® | - | easyship_ups_3_day_select | 3DaySelect | - | easyship_ups_standard | Standard | - | easyship_usps_media | Media | - | easyship_sfexpress_standard_express | Standard Express | - | easyship_sfexpress_economy_express | Economy Express | - | easyship_global_post_global_post_economy | GlobalPost Economy | - | easyship_global_post_global_post_priority | GlobalPost Priority | - | easyship_singpost_speed_post_priority | SpeedPost Priority | - | easyship_skypostal_standard_private_delivery | Standard Private Delivery | - | easyship_tnt_1000_express | 1000Express | - | easyship_toll_express_parcel | Express Parcel | - | easyship_sendle_premium_international | Premium International | - | easyship_sendle_premium_domestic | PremiumDomestic | - | easyship_sendle_pro_domestic | Pro Domestic | - | easyship_quantium_e_pac | ePac | - | easyship_usps_pm_flat_rate | PM Flat Rate | - | easyship_usps_pmi_flat_rate | PMI Flat Rate | - | easyship_quantium_mail | Mail | - | easyship_quantium_international_mail | International Mail | - | easyship_apc_parcel_connect_expedited | ParcelConnect Expedited | - | easyship_aramex_epx | EPX | - | easyship_tnt_road_express | Road Express | - | easyship_tnt_overnight | Overnight | - | easyship_usps_pme_flat_rate | PME Flat Rate | - | easyship_usps_pmei_flat_rate | PMEI Flat Rate | - | easyship_easyship_cdek_russia | CDEK Russia | - | easyship_usps_pmei_flat_rate_padded_envelope | PMEI Flat Rate Padded Envelope | - | easyship_easyship_mate_bike_shipping_services | Mate Bike Shipping Services | - | easyship_dhl_express_documents | Documents | - | easyship_evri_uk_home_delivery | UK_HomeDelivery | - | easyship_evri_home_delivery | HomeDelivery | - | easyship_dpd_next_day | NextDay | - | easyship_dpd_classic_parcel | ClassicParcel | - | easyship_dpd_classic_expresspak | ClassicExpresspak | - | easyship_dpd_air_classic | AirClassic | - | easyship_singpost_speed_post_express | SpeedPostExpress | - | easyship_ups_expedited | Expedited | - | easyship_tnt_0900_express | 0900Express | - | easyship_tnt_1200_express | 1200Express | - | easyship_canadapost_domestic_regular_parcel | Domestic Regular Parcel | - | easyship_canadapost_domestic_expedited_parcel | Domestic Expedited Parcel | - | easyship_canadapost_domestic_xpresspost_domestic | Domestic Xpresspost Domestic | - | easyship_canadapost_domestic_priority | Domestic Priority | - | easyship_canadapost_usa_small_packet_air | USA Small Packet Air | - | easyship_canadapost_usa_expedited_parcel | USA Expedited Parcel | - | easyship_canadapost_usa_tracked_parcel | USA Tracked Parcel | - | easyship_canadapost_usa_xpresspost | USA Xpresspost | - | easyship_canadapost_international_xpresspost | International Xpresspost | - | easyship_canadapost_international_small_packet_air | International Small Packet Air | - | easyship_canadapost_international_tracked_packet | International Tracked Packet | - | easyship_canadapost_international_small_packet_surface | International Small Packet Surface | - | easyship_canadapost_international_parcel_surface | International Parcel Surface | - | easyship_canadapost_international_parcel_air | International Parcel Air | - | easyship_couriersplease_atl | ATL | - | easyship_couriersplease_signature | Signature | - | easyship_canpar_international | International | - | easyship_canpar_usa | USA | - | easyship_canpar_select_usa | Select USA | - | easyship_canpar_usa_pak | USA Pak | - | easyship_canpar_overnight_pak | Overnight Pak | - | easyship_canpar_select_pak | Select Pak | - | easyship_canpar_select | Select | - | easyship_ups_express_saver | ExpressSaver | - | easyship_ebay_send_sf_express_economy_express | SF Express Economy Express | - | easyship_ups_worldwide_express_plus | Worldwide Express Plus® | - | easyship_quantium_intl_priority | IntlPriority | - | easyship_ups_next_day_air_early | Next Day Air® Early | - | easyship_ups_next_day_air_saver | Next Day Air Saver® | - | easyship_ups_2nd_day_air_a_m | 2nd Day Air® A.M. | - | easyship_fedex_home_delivery | Home Delivery® | - | easyship_asendia_country_tracked | CountryTracked | - | easyship_asendia_fully_tracked | FullyTracked | - | easyship_dhl_express_express_dg | ExpressDG | - | easyship_fedex_international_priority_dg | InternationalPriorityDG | - | easyship_colissimo_expert | Expert | - | easyship_colissimo_access | Access | - | easyship_mondialrelay_international_home_delivery | InternationalHomeDelivery | - | easyship_fedex_economy | Economy | - | easyship_dhl_express_express1200 | Express1200 | - | easyship_dhl_express_express0900 | Express0900 | - | easyship_dhl_express_express1800 | Express1800 | - | easyship_dhl_express_express_worldwide | ExpressWorldwide | - | easyship_dhl_express_economy_select | EconomySelect | - | easyship_dhl_express_express1030_international | Express1030International | - | easyship_dhl_express_domestic_express0900 | DomesticExpress0900 | - | easyship_dhl_express_domestic_express1200 | DomesticExpress1200 | - | easyship_evri_lightand_large | LightandLarge | - | easyship_ninjavan_standard_deliveries | Standard Deliveries | - | easyship_couriersplease_parcel_tier2 | ParcelTier2 | - | easyship_skypostal_postal_packet_standard | Postal Packet Standard | - | easyship_easyshipdemo_basic | Basic | - | easyship_easyshipdemo_tracked | Tracked | - | easyship_easyshipdemo_battery | Battery | - | easyship_dhl_express_domestic_express | DomesticExpress | - | easyship_fedex_smart_post | SmartPost | - | easyship_fedex_international_connect_plus | InternationalConnectPlus | - | easyship_ups_saver_net | SaverNet | - | easyship_chronopost_chrono_classic | ChronoClassic | - | easyship_chronopost_chrono_express | ChronoExpress | - | easyship_chronopost_chrono10 | Chrono10 | - | easyship_chronopost_chrono13 | Chrono13 | - | easyship_chronopost_chrono18 | Chrono18 | - | easyship_omniparcel_parcel_expedited | Parcel Expedited | - | easyship_omniparcel_parcel_expedited_plus | Parcel Expedited Plus | - | easyship_evri_home_delivery_domestic | HomeDeliveryDomestic | - | easyship_evri_home_domestic_postable | HomeDomesticPostable | - | easyship_skypostal_packet_express | PacketExpress | - | easyship_parcelforce_express48_large | Express48Large | - | easyship_parcelforce_express24 | Express24 | - | easyship_parcelforce_express1000 | Express1000 | - | easyship_parcelforce_express_am | ExpressAM | - | easyship_parcelforce_express48 | Express48 | - | easyship_parcelforce_euro_economy | EuroEconomy | - | easyship_parcelforce_global_priority | GlobalPriority | - | easyship_fedex_cross_border_trakpak_worldwide_hermes | TrakpakWorldwideHermes | - | easyship_fedex_cross_border_trakpak_worldwide | TrakpakWorldwide | - | easyship_evri_home_domestic_postable_next_day | HomeDomesticPostableNextDay | - | easyship_dpd_express_pak_next_day | ExpressPakNextDay | - | easyship_dpd_classic_express_pak | ClassicExpressPak | - | easyship_evri_light_and_large | LightAndLarge | - | easyship_evri_home_delivery_domestic_next_day | Home Delivery Domestic NextDay | - | easyship_evri_home_delivery_eu | HomeDeliveryEU | - | easyship_asendia_epaq_plus | EpaqPlus | - | easyship_asendia_epaq_select | EpaqSelect | - | easyship_usps_lightweight_standard | LightweightStandard | - | easyship_usps_lightweight_economy | LightweightEconomy | - | easyship_ups_domestic_express_saver | DomesticExpressSaver | - | easyship_apg_e_packet | ePacket | - | easyship_apg_e_packet_plus | ePacketPlus | - | easyship_couriersplease_ecom_base_kilo | EComBaseKilo | - | easyship_couriersplease_stdatlbase_kilo | STDATLBaseKilo | - | easyship_nz_post_international_courier | InternationalCourier | - | easyship_nz_post_air_small_parcel | AirSmallParcel | - | easyship_nz_post_tracked_air_satchel | TrackedAirSatchel | - | easyship_nz_post_economy_parcel | Economy Parcel | - | easyship_nz_post_parcel_local | ParcelLocal | - | easyship_dhl_express_express_domestic | ExpressDomestic | - | easyship_alliedexpress_roadexpress | Roadexpress | - | easyship_flatexportrate_asendiae_paqselect | AsendiaePAQSelect | - | easyship_flatexportrate_asendia_country_tracked | AsendiaCountryTracked | - | easyship_singpost_nsaver | NSaver | - | easyship_colisprive_home | Home | - | easyship_osm_domestic_parcel | Domestic Parcel | - | easyship_malca_amit_door_to_door | Door To Door | - | easyship_ninjavan_next_day_deliveries | Next Day Deliveries | - | easyship_asendia_e_paqselect | ePAQSelect | - | easyship_dpd_classic | Classic | - | easyship_usps_priority_mail_signature | PriorityMailSignature | - | easyship_bringer_packet_standard | PacketStandard | - | easyship_bringer_prime | Prime | - | easyship_orangeds_expedited_ddp | ExpeditedDDP | - | easyship_orangeds_expedited_ddu | ExpeditedDDU | - | easyship_sendle_preferred | Preferred | - | easyship_ups_ground_saver | GroundSaver | - | easyship_ups_upsground_saver_us | UPSGroundSaverUS | - | easyship_passport_priority_delcon_dduewr | PriorityDelconDDUEWR | - | easyship_passport_priority_delcon_ddpewr | PriorityDelconDDPEWR | - | easyship_bringer_tracked_parcel | TrackedParcel | - | easyship_ups_express_early | ExpressEarly | - | easyship_ups_wolrdwide_express | WolrdwideExpress | - - ### eShipper - | Code | Service Name | - | ------------ | ------------ | - | eshipper_aramex_economy_document_express | eshipper_aramex_economy_document_express | - | eshipper_aramex_economy_parcel_express | eshipper_aramex_economy_parcel_express | - | eshipper_aramex_priority_letter_express | eshipper_aramex_priority_letter_express | - | eshipper_aramex_priority_parcel_express | eshipper_aramex_priority_parcel_express | - | eshipper_canadapost_air_parcel_intl | eshipper_canadapost_air_parcel_intl | - | eshipper_canadapost_expedited | eshipper_canadapost_expedited | - | eshipper_canadapost_expedited_parcel_usa | eshipper_canadapost_expedited_parcel_usa | - | eshipper_canadapost_priority_courier | eshipper_canadapost_priority_courier | - | eshipper_canadapost_regular | eshipper_canadapost_regular | - | eshipper_canadapost_small_packet | eshipper_canadapost_small_packet | - | eshipper_canadapost_small_packet_international_air | eshipper_canadapost_small_packet_international_air | - | eshipper_canadapost_small_packet_international_surface | eshipper_canadapost_small_packet_international_surface | - | eshipper_canadapost_surface_parcel_intl | eshipper_canadapost_surface_parcel_intl | - | eshipper_canadapost_xpress_post | eshipper_canadapost_xpress_post | - | eshipper_canadapost_xpress_post_intl | eshipper_canadapost_xpress_post_intl | - | eshipper_canadapost_xpress_post_usa | eshipper_canadapost_xpress_post_usa | - | eshipper_canpar_express_letter | eshipper_canpar_express_letter | - | eshipper_canpar_express_pak | eshipper_canpar_express_pak | - | eshipper_canpar_express_parcel | eshipper_canpar_express_parcel | - | eshipper_canpar_ground | eshipper_canpar_ground | - | eshipper_canpar_international | eshipper_canpar_international | - | eshipper_canpar_select_letter | eshipper_canpar_select_letter | - | eshipper_canpar_select_pak | eshipper_canpar_select_pak | - | eshipper_canpar_select_parcel | eshipper_canpar_select_parcel | - | eshipper_canpar_usa | eshipper_canpar_usa | - | eshipper_canpar_usa_select_letter | eshipper_canpar_usa_select_letter | - | eshipper_canpar_usa_select_pak | eshipper_canpar_usa_select_pak | - | eshipper_canpar_usa_select_parcel | eshipper_canpar_usa_select_parcel | - | eshipper_cpx_canada_post | eshipper_cpx_canada_post | - | eshipper_day_ross_ltl | eshipper_day_ross_ltl | - | eshipper_dhl_ground | eshipper_dhl_ground | - | eshipper_dhl_economy_select | eshipper_dhl_economy_select | - | eshipper_dhl_esi_export | eshipper_dhl_esi_export | - | eshipper_dhl_express_1030am | eshipper_dhl_express_1030am | - | eshipper_dhl_express_12pm | eshipper_dhl_express_12pm | - | eshipper_dhl_express_9am | eshipper_dhl_express_9am | - | eshipper_dhl_express_envelope | eshipper_dhl_express_envelope | - | eshipper_dhl_express_worldwide | eshipper_dhl_express_worldwide | - | eshipper_dhl_import_express | eshipper_dhl_import_express | - | eshipper_dhl_import_express_12pm | eshipper_dhl_import_express_12pm | - | eshipper_dhl_import_express_9am | eshipper_dhl_import_express_9am | - | eshipper_apex_v | eshipper_apex_v | - | eshipper_apex_trucking | eshipper_apex_trucking | - | eshipper_apex_trucking_v | eshipper_apex_trucking_v | - | eshipper_fastfrate_rail | eshipper_fastfrate_rail | - | eshipper_kindersley_expedited | eshipper_kindersley_expedited | - | eshipper_kindersley_rail | eshipper_kindersley_rail | - | eshipper_kindersley_regular | eshipper_kindersley_regular | - | eshipper_kindersley_road | eshipper_kindersley_road | - | eshipper_kingsway_road | eshipper_kingsway_road | - | eshipper_m_o_eastbound | eshipper_m_o_eastbound | - | eshipper_mo_rail | eshipper_mo_rail | - | eshipper_national_fastfreight_rail | eshipper_national_fastfreight_rail | - | eshipper_national_fastfreight_road | eshipper_national_fastfreight_road | - | eshipper_vitran_rail | eshipper_vitran_rail | - | eshipper_vitran_road | eshipper_vitran_road | - | eshipper_western_canada_rail | eshipper_western_canada_rail | - | eshipper_fedex_2day_freight | eshipper_fedex_2day_freight | - | eshipper_fedex_3day_freight | eshipper_fedex_3day_freight | - | eshipper_fedex_2nd_day | eshipper_fedex_2nd_day | - | eshipper_fedex_economy | eshipper_fedex_economy | - | eshipper_fedex_first_overnight | eshipper_fedex_first_overnight | - | eshipper_fedex_ground | eshipper_fedex_ground | - | eshipper_fedex_ground_us | eshipper_fedex_ground_us | - | eshipper_fedex_international_priority | eshipper_fedex_international_priority | - | eshipper_fedex_international_priority_express | eshipper_fedex_international_priority_express | - | eshipper_fedex_intl_economy | eshipper_fedex_intl_economy | - | eshipper_fedex_intl_economy_freight | eshipper_fedex_intl_economy_freight | - | eshipper_fedex_intl_priority | eshipper_fedex_intl_priority | - | eshipper_fedex_intl_priority_express | eshipper_fedex_intl_priority_express | - | eshipper_fedex_intl_priority_freight | eshipper_fedex_intl_priority_freight | - | eshipper_fedex_priority | eshipper_fedex_priority | - | eshipper_fedex_standard_overnight | eshipper_fedex_standard_overnight | - | eshipper_flash_bird_ground | eshipper_flash_bird_ground | - | eshipper_fleet_optics_ground | eshipper_fleet_optics_ground | - | eshipper_project44_a_duie_pyle | eshipper_project44_a_duie_pyle | - | eshipper_project44_aaa_cooper_transportation | eshipper_project44_aaa_cooper_transportation | - | eshipper_project44_aberdeen_express | eshipper_project44_aberdeen_express | - | eshipper_project44_abfs | eshipper_project44_abfs | - | eshipper_project44_averitt_express | eshipper_project44_averitt_express | - | eshipper_project44_brown_transfer_company | eshipper_project44_brown_transfer_company | - | eshipper_project44_central_freight_lines | eshipper_project44_central_freight_lines | - | eshipper_project44_central_transport | eshipper_project44_central_transport | - | eshipper_project44_chicago_suburban_express | eshipper_project44_chicago_suburban_express | - | eshipper_project44_clear_lane_freight | eshipper_project44_clear_lane_freight | - | eshipper_project44_con_way_freight | eshipper_project44_con_way_freight | - | eshipper_project44_crosscountry_courier | eshipper_project44_crosscountry_courier | - | eshipper_project44_day_ross | eshipper_project44_day_ross | - | eshipper_project44_day_ross_v | eshipper_project44_day_ross_v | - | eshipper_project44_dayton_freight_lines | eshipper_project44_dayton_freight_lines | - | eshipper_project44_dependable_highway_express | eshipper_project44_dependable_highway_express | - | eshipper_project44_dohrn_transfer_company | eshipper_project44_dohrn_transfer_company | - | eshipper_project44_dugan_truck_line | eshipper_project44_dugan_truck_line | - | eshipper_project44_estes_express_lines | eshipper_project44_estes_express_lines | - | eshipper_project44_expedited_freight_systems | eshipper_project44_expedited_freight_systems | - | eshipper_project44_fedex_freight_canada | eshipper_project44_fedex_freight_canada | - | eshipper_project44_fedex_freight_east | eshipper_project44_fedex_freight_east | - | eshipper_project44_fedex_freight_national_canada | eshipper_project44_fedex_freight_national_canada | - | eshipper_project44_fedex_freight_national_usa | eshipper_project44_fedex_freight_national_usa | - | eshipper_project44_fedex_freight_usa | eshipper_project44_fedex_freight_usa | - | eshipper_project44_fedex_national | eshipper_project44_fedex_national | - | eshipper_project44_forwardair | eshipper_project44_forwardair | - | eshipper_project44_frontline_freight | eshipper_project44_frontline_freight | - | eshipper_project44_holland_motor_express | eshipper_project44_holland_motor_express | - | eshipper_project44_lakeville_motor_express | eshipper_project44_lakeville_motor_express | - | eshipper_project44_manitoulin_tlx_inc | eshipper_project44_manitoulin_tlx_inc | - | eshipper_project44_midwest_motor_express | eshipper_project44_midwest_motor_express | - | eshipper_project44_monroe_transportation_services | eshipper_project44_monroe_transportation_services | - | eshipper_project44_n_m_transfer | eshipper_project44_n_m_transfer | - | eshipper_project44_new_england_motor_freight | eshipper_project44_new_england_motor_freight | - | eshipper_project44_new_penn_motor_express | eshipper_project44_new_penn_motor_express | - | eshipper_project44_pitt_ohio | eshipper_project44_pitt_ohio | - | eshipper_project44_polaris | eshipper_project44_polaris | - | eshipper_project44_purolator_freight | eshipper_project44_purolator_freight | - | eshipper_project44_r_l_carriers | eshipper_project44_r_l_carriers | - | eshipper_project44_roadrunner_transportation_services | eshipper_project44_roadrunner_transportation_services | - | eshipper_project44_saia_motor_freight | eshipper_project44_saia_motor_freight | - | eshipper_project44_southeastern_freight_lines | eshipper_project44_southeastern_freight_lines | - | eshipper_project44_southwestern_motor_transport | eshipper_project44_southwestern_motor_transport | - | eshipper_project44_standard_forwarding | eshipper_project44_standard_forwarding | - | eshipper_project44_total_transportation_distribution | eshipper_project44_total_transportation_distribution | - | eshipper_project44_tst_overland_express | eshipper_project44_tst_overland_express | - | eshipper_project44_ups | eshipper_project44_ups | - | eshipper_project44_usf_reddaway | eshipper_project44_usf_reddaway | - | eshipper_project44_valley_cartage | eshipper_project44_valley_cartage | - | eshipper_project44_vision_express_ltl | eshipper_project44_vision_express_ltl | - | eshipper_project44_ward_trucking | eshipper_project44_ward_trucking | - | eshipper_project44_xpo_logistics | eshipper_project44_xpo_logistics | - | eshipper_project44_xpress_global_systems | eshipper_project44_xpress_global_systems | - | eshipper_project44_yrc | eshipper_project44_yrc | - | eshipper_purolator_express | eshipper_purolator_express | - | eshipper_purolator_express_1030 | eshipper_purolator_express_1030 | - | eshipper_purolator_express_9am | eshipper_purolator_express_9am | - | eshipper_purolator_expresscheque | eshipper_purolator_expresscheque | - | eshipper_purolator_ground | eshipper_purolator_ground | - | eshipper_purolator_ground_1030 | eshipper_purolator_ground_1030 | - | eshipper_purolator_ground_9am | eshipper_purolator_ground_9am | - | eshipper_purolator | eshipper_purolator | - | eshipper_purolator_10_30 | eshipper_purolator_10_30 | - | eshipper_purolator_9am | eshipper_purolator_9am | - | eshipper_purolator_puropak | eshipper_purolator_puropak | - | eshipper_purolator_puropak_10_30 | eshipper_purolator_puropak_10_30 | - | eshipper_purolator_puropak_9am | eshipper_purolator_puropak_9am | - | eshipper_pyk_ground_advantage | eshipper_pyk_ground_advantage | - | eshipper_pyk_priority_mail | eshipper_pyk_priority_mail | - | eshipper_sameday_9_am_guaranteed | eshipper_sameday_9_am_guaranteed | - | eshipper_sameday_am_service | eshipper_sameday_am_service | - | eshipper_sameday_ground_service | eshipper_sameday_ground_service | - | eshipper_sameday_h1_deliver_to_curbside | eshipper_sameday_h1_deliver_to_curbside | - | eshipper_sameday_h4_delivery_to_curbside | eshipper_sameday_h4_delivery_to_curbside | - | eshipper_sameday_h5_delivery_to_room_of_choice_2_man | eshipper_sameday_h5_delivery_to_room_of_choice_2_man | - | eshipper_sameday_h6_delivery_packaging_removal_2_man | eshipper_sameday_h6_delivery_packaging_removal_2_man | - | eshipper_sameday_ltl_service | eshipper_sameday_ltl_service | - | eshipper_sameday_pm_service | eshipper_sameday_pm_service | - | eshipper_sameday_urgent_letter | eshipper_sameday_urgent_letter | - | eshipper_sameday_urgent_pac | eshipper_sameday_urgent_pac | - | eshipper_skip | eshipper_skip | - | eshipper_smarte_post_intl_dhl_parcel_international_direct_ngr | eshipper_smarte_post_intl_dhl_parcel_international_direct_ngr | - | eshipper_smarte_post_intl_global_mail_business_priority | eshipper_smarte_post_intl_global_mail_business_priority | - | eshipper_smarte_post_intl_global_mail_business_standard | eshipper_smarte_post_intl_global_mail_business_standard | - | eshipper_smarte_post_intl_global_mail_packet_plus_priority | eshipper_smarte_post_intl_global_mail_packet_plus_priority | - | eshipper_smarte_post_intl_global_mail_packet_priority | eshipper_smarte_post_intl_global_mail_packet_priority | - | eshipper_smarte_post_intl_global_mail_packet_standard | eshipper_smarte_post_intl_global_mail_packet_standard | - | eshipper_smarte_post_intl_global_mail_parcel_direct_priority_yyz | eshipper_smarte_post_intl_global_mail_parcel_direct_priority_yyz | - | eshipper_smarte_post_intl_global_mail_parcel_direct_standard_yyz | eshipper_smarte_post_intl_global_mail_parcel_direct_standard_yyz | - | eshipper_smarte_post_intl_global_mail_parcel_priority | eshipper_smarte_post_intl_global_mail_parcel_priority | - | eshipper_smarte_post_intl_global_mail_parcel_standard | eshipper_smarte_post_intl_global_mail_parcel_standard | - | eshipper_ups_expedited | eshipper_ups_expedited | - | eshipper_ups_express | eshipper_ups_express | - | eshipper_ups_express_early_am | eshipper_ups_express_early_am | - | eshipper_ups_ground | eshipper_ups_ground | - | eshipper_ups_second_day_air_a_m | eshipper_ups_second_day_air_a_m | - | eshipper_ups_standard | eshipper_ups_standard | - | eshipper_ups_three_day_select | eshipper_ups_three_day_select | - | eshipper_ups_saver | eshipper_ups_saver | - | eshipper_ups_worldwide_expedited | eshipper_ups_worldwide_expedited | - | eshipper_ups_worldwide_express | eshipper_ups_worldwide_express | - | eshipper_ups_worldwide_express_plus | eshipper_ups_worldwide_express_plus | - | eshipper_usps_first_class_package_return_service | eshipper_usps_first_class_package_return_service | - | eshipper_usps_library_mail | eshipper_usps_library_mail | - | eshipper_usps_media_mail | eshipper_usps_media_mail | - | eshipper_usps_parcel_select | eshipper_usps_parcel_select | - | eshipper_usps_pbx | eshipper_usps_pbx | - | eshipper_usps_pbx_lightweight | eshipper_usps_pbx_lightweight | - | eshipper_usps_priority_mail | eshipper_usps_priority_mail | - | eshipper_usps_priority_mail_express | eshipper_usps_priority_mail_express | - | eshipper_usps_priority_mail_open_and_distribute | eshipper_usps_priority_mail_open_and_distribute | - | eshipper_usps_priority_mail_return_service | eshipper_usps_priority_mail_return_service | - | eshipper_usps_retail_ground_formerly_standard_post | eshipper_usps_retail_ground_formerly_standard_post | - | eshipper_project44_abf_freight | eshipper_project44_abf_freight | - | eshipper_canada_worldwide_next_flight_out | eshipper_canada_worldwide_next_flight_out | - | eshipper_project44_conway_freight | eshipper_project44_conway_freight | - | eshipper_day_and_ross | eshipper_day_and_ross | - | eshipper_day_ross_r_and_l | eshipper_day_ross_r_and_l | - | eshipper_project44_daylight_transport | eshipper_project44_daylight_transport | - | eshipper_smarte_post_int_l_dhl_packet_international | eshipper_smarte_post_int_l_dhl_packet_international | - | eshipper_smarte_post_int_l_dhl_parcel_international_direct | eshipper_smarte_post_int_l_dhl_parcel_international_direct | - | eshipper_smarte_post_int_l_dhl_parcel_international_standard | eshipper_smarte_post_int_l_dhl_parcel_international_standard | - | eshipper_envoi_same_day_delivery | eshipper_envoi_same_day_delivery | - | eshipper_smarte_post_dom_expedited | eshipper_smarte_post_dom_expedited | - | eshipper_fedex_freight_economy | eshipper_fedex_freight_economy | - | eshipper_fedex_freight_priority | eshipper_fedex_freight_priority | - | eshipper_fedex_international_connect_plus | eshipper_fedex_international_connect_plus | - | eshipper_project44_forward_air | eshipper_project44_forward_air | - | eshipper_sameday_h3_delivery_packaging_removal | eshipper_sameday_h3_delivery_packaging_removal | - | eshipper_project44_jp_express | eshipper_project44_jp_express | - | eshipper_mainliner_road | eshipper_mainliner_road | - | eshipper_project44_mountain_valley_express | eshipper_project44_mountain_valley_express | - | eshipper_project44_oak_harbor_freight | eshipper_project44_oak_harbor_freight | - | eshipper_project44_old_dominion_freight | eshipper_project44_old_dominion_freight | - | eshipper_purolator_puroletter | eshipper_purolator_puroletter | - | eshipper_purolator_puroletter_10_30 | eshipper_purolator_puroletter_10_30 | - | eshipper_purolator_puroletter_9am | eshipper_purolator_puroletter_9am | - | eshipper_project44_rl_carriers | eshipper_project44_rl_carriers | - | eshipper_project44_saia_ltl_freight | eshipper_project44_saia_ltl_freight | - | eshipper_speedy | eshipper_speedy | - | eshipper_tforce_freight_ltl | eshipper_tforce_freight_ltl | - | eshipper_tforce_freight_ltl_guaranteed | eshipper_tforce_freight_ltl_guaranteed | - | eshipper_tforce_freight_ltl_guaranteed_a_m | eshipper_tforce_freight_ltl_guaranteed_a_m | - | eshipper_tforce_standard_ltl | eshipper_tforce_standard_ltl | - | eshipper_ups | eshipper_ups | - | eshipper_ups_freight | eshipper_ups_freight | - | eshipper_ups_freight_canada | eshipper_ups_freight_canada | - | eshipper_ods_usps_light_weight_parcel_budget | eshipper_ods_usps_light_weight_parcel_budget | - | eshipper_ods_usps_light_weight_parcel_expedited | eshipper_ods_usps_light_weight_parcel_expedited | - | eshipper_ods_usps_parcel_select_budget | eshipper_ods_usps_parcel_select_budget | - | eshipper_ods_usps_parcel_select_expedited | eshipper_ods_usps_parcel_select_expedited | - | eshipper_smarte_post_dom_xpresspost | eshipper_smarte_post_dom_xpresspost | - ### FedEx | Code | Service Name | | ------------ | ------------ | @@ -15036,63 +13415,6 @@ tags: | fedex_next_day_end_of_day | FEDEX_NEXT_DAY_END_OF_DAY | | fedex_distance_deferred | FEDEX_DISTANCE_DEFERRED | - ### Freightcom - | Code | Service Name | - | ------------ | ------------ | - | freightcom_all | 0 | - | freightcom_usf_holland | 1911 | - | freightcom_central_transport | 2029 | - | freightcom_estes | 2107 | - | freightcom_canpar_ground | 3400 | - | freightcom_canpar_select | 3404 | - | freightcom_canpar_overnight | 3407 | - | freightcom_dicom_ground | 3700 | - | freightcom_purolator_ground | 4000 | - | freightcom_purolator_express | 4003 | - | freightcom_purolator_express_9_am | 4004 | - | freightcom_purolator_express_10_30_am | 4005 | - | freightcom_purolator_ground_us | 4016 | - | freightcom_purolator_express_us | 4015 | - | freightcom_purolator_express_us_9_am | 4013 | - | freightcom_purolator_express_us_10_30_am | 4014 | - | freightcom_fedex_express_saver | 4100 | - | freightcom_fedex_ground | 4101 | - | freightcom_fedex_2day | 4102 | - | freightcom_fedex_priority_overnight | 4104 | - | freightcom_fedex_standard_overnight | 4105 | - | freightcom_fedex_first_overnight | 4106 | - | freightcom_fedex_international_priority | 4108 | - | freightcom_fedex_international_economy | 4109 | - | freightcom_ups_standard | 4600 | - | freightcom_ups_expedited | 4601 | - | freightcom_ups_express_saver | 4602 | - | freightcom_ups_express | 4603 | - | freightcom_ups_express_early | 4604 | - | freightcom_ups_3day_select | 4605 | - | freightcom_ups_worldwide_expedited | 4606 | - | freightcom_ups_worldwide_express | 4607 | - | freightcom_ups_worldwide_express_plus | 4608 | - | freightcom_ups_worldwide_express_saver | 4609 | - | freightcom_dhl_express_easy | 5202 | - | freightcom_dhl_express_10_30 | 5208 | - | freightcom_dhl_express_worldwide | 5211 | - | freightcom_dhl_express_12_00 | 5215 | - | freightcom_dhl_economy_select | 5216 | - | freightcom_dhl_ecommerce_am_service | 5706 | - | freightcom_dhl_ecommerce_ground_service | 5707 | - | freightcom_canadapost_regular_parcel | 6301 | - | freightcom_canadapost_expedited_parcel | 6300 | - | freightcom_canadapost_xpresspost | 6303 | - | freightcom_canadapost_priority | 6302 | - - ### GEODIS - | Code | Service Name | - | ------------ | ------------ | - | geodis_EXP | EXP | - | geodis_MES | MES | - | geodis_express_france | NTX | - | geodis_retour_trans_fr_messagerie_plus | ENL | - ### GLS Group | Code | Service Name | | ------------ | ------------ | @@ -15102,23 +13424,6 @@ tags: | gls_business_parcel | BUSINESSPARCEL | | gls_euro_business_parcel | EUROBUSINESSPARCEL | - ### HayPost - | Code | Service Name | - | ------------ | ------------ | - | letter_ordered | 88 | - | letter_simple | 79 | - | letter_valued | 89 | - | package_ordered | 93 | - | package_simple | 92 | - | package_valued | 100 | - | parcel_simple | 94 | - | parcel_valued | 95 | - | postcard_ordered | 91 | - | postcard_simple | 90 | - | sekogram_simple | 96 | - | sprint_simple | 97 | - | yes_ordered_value | 99 | - ### Hermes | Code | Service Name | | ------------ | ------------ | @@ -15148,11 +13453,6 @@ tags: | ------------ | ------------ | | laposte_standard_service | La Poste Standard Service | - ### Locate2u - | Code | Service Name | - | ------------ | ------------ | - | locate2u_local_delivery | Locate2u Local Delivery | - ### MyDHL Express | Code | Service Name | | ------------ | ------------ | @@ -15269,210 +13569,6 @@ tags: | purolator_express_international_box_10_30_am | PurolatorExpressInternationalBox10:30AM | | purolator_express_international_box_12_00 | PurolatorExpressInternationalBox12:00 | - ### Roadie - | Code | Service Name | - | ------------ | ------------ | - | roadie_local_delivery | Roadie Local Delivery | - - ### SAPIENT - | Code | Service Name | - | ------------ | ------------ | - | sapient_royal_mail_hm_forces_mail | BF1 | - | sapient_royal_mail_hm_forces_signed_for | BF2 | - | sapient_royal_mail_hm_forces_special_delivery_500 | BF7 | - | sapient_royal_mail_hm_forces_special_delivery_1000 | BF8 | - | sapient_royal_mail_hm_forces_special_delivery_2500 | BF9 | - | sapient_royal_mail_international_business_personal_correspondence_max_sort_residue_ll | BG1 | - | sapient_royal_mail_international_business_mail_ll_max_sort_residue_standard | BG2 | - | sapient_royal_mail_international_business_personal_correspondence_max_sort_residue_l | BP1 | - | sapient_royal_mail_international_business_mail_l_max_sort_residue_standard | BP2 | - | sapient_royal_mail_international_business_printed_matter_packet | BPI | - | sapient_royal_mail_1st_class | BPL1 | - | sapient_royal_mail_2nd_class | BPL2 | - | sapient_royal_mail_1st_class_signed_for | BPR1 | - | sapient_royal_mail_2nd_class_signed_for | BPR2 | - | sapient_royal_mail_international_business_parcel_priority_country_priced_boxable | BXB | - | sapient_royal_mail_international_business_parcel_tracked_country_priced_boxable_extra_comp | BXC | - | sapient_royal_mail_international_business_parcel_priority_country_priced_boxable_ddp | BXD | - | sapient_royal_mail_international_business_parcel_tracked_country_priced_boxable_ddp | BXE | - | sapient_royal_mail_international_business_parcel_tracked_country_priced_boxable | BXF | - | sapient_royal_mail_24_standard_signed_for_parcel_daily_rate_service | CRL1 | - | sapient_royal_mail_48_standard_signed_for_parcel_daily_rate_service | CRL2 | - | sapient_royal_mail_international_business_parcels_zero_sort_priority | DE4 | - | sapient_royal_mail_international_business_parcels_zero_sort_priority_DE | DE6 | - | sapient_royal_mail_de_import_standard_24_parcel | DEA | - | sapient_royal_mail_de_import_standard_24_parcel_DE | DEB | - | sapient_royal_mail_de_import_standard_24_ll | DEC | - | sapient_royal_mail_de_import_standard_48_ll | DED | - | sapient_royal_mail_de_import_to_eu_tracked_signed_ll | DEE | - | sapient_royal_mail_de_import_to_eu_max_sort_ll | DEG | - | sapient_royal_mail_de_import_to_eu_tracked_parcel | DEI | - | sapient_royal_mail_de_import_to_eu_tracked_signed_parcel | DEJ | - | sapient_royal_mail_de_import_to_eu_tracked_high_vol_ll | DEK | - | sapient_royal_mail_de_import_to_eu_max_sort_parcel | DEM | - | sapient_royal_mail_international_business_mail_ll_country_priced_priority | DG4 | - | sapient_royal_mail_international_business_personal_correspondence_l_priority_untracked | DP3 | - | sapient_royal_mail_international_business_mail_ll_country_sort_priority | DP6 | - | sapient_royal_mail_international_business_parcels | DW1 | - | sapient_royal_mail_international_business_parcels_tracked_country_priced_extra_territorial_office_of_exchange | ETA | - | sapient_royal_mail_international_business_parcels_tracked_signed_country_priced_extra_territorial_office_of_exchange | ETB | - | sapient_royal_mail_international_business_parcels_zero_sort_priority_extra_territorial_office_of_exchange | ETC | - | sapient_royal_mail_international_business_mail_tracked_ll_country_priced_extra_territorial_office_of_exchange | ETD | - | sapient_royal_mail_international_business_mail_tracked_signed_ll_country_priced_extra_territorial_office_of_exchange | ETE | - | sapient_royal_mail_international_business_mail_ll_country_priced_priority_extra_territorial_office_of_exchange | ETF | - | sapient_royal_mail_international_tracked_parcels_0_30kg_extra_territorial_office_of_exchange_e | ETG | - | sapient_royal_mail_international_tracked_parcels_0_30kg_extra_comp_extra_territorial_office_of_exchange_e | ETH | - | sapient_royal_mail_international_tracked_parcels_0_30kg_extra_territorial_office_of_exchange_c | ETI | - | sapient_royal_mail_international_tracked_parcels_0_30kg_extra_comp_extra_territorial_office_of_exchange_c | ETJ | - | sapient_royal_mail_international_business_personal_correspondence_l_priority_untracked_extra_territorial_office_of_exchange | ETK | - | sapient_royal_mail_international_business_personal_correspondence_l_tracked_high_vol_country_priced_extra_territorial_office_of_exchange | ETL | - | sapient_royal_mail_international_business_personal_correspondence_l_tracked_signed_high_vol_country_priced_extra_territorial_office_of_exchange | ETM | - | sapient_royal_mail_international_business_personal_correspondence_signed_l_high_vol_country_priced_extra_territorial_office_of_exchange | ETN | - | sapient_royal_mail_international_business_personal_correspondence_ll_country_sort_priority_extra_territorial_office_of_exchange | ETO | - | sapient_royal_mail_international_business_personal_correspondence_tracked_ll_high_vol_extra_comp_country_priced_extra_territorial_office_of_exchange | ETP | - | sapient_royal_mail_international_business_personal_correspondence_tracked_signed_ll_high_vol_extra_comp_country_priced_extra_territorial_office_of_exchange | ETQ | - | sapient_royal_mail_international_business_personal_correspondence_signed_ll_extra_compensation_country_priced_extra_territorial_office_of_exchange | ETR | - | sapient_royal_mail_24_standard_signed_for_large_letter_flat_rate_service | FS1 | - | sapient_royal_mail_48_standard_signed_for_large_letter_flat_rate_service | FS2 | - | sapient_royal_mail_24_presorted_ll | FS7 | - | sapient_royal_mail_48_presorted_ll | FS8 | - | sapient_royal_mail_international_tracked_parcels_0_30kg | HVB | - | sapient_royal_mail_international_business_tracked_express_npc | HVD | - | sapient_royal_mail_international_tracked_parcels_0_30kg_extra_comp | HVE | - | sapient_royal_mail_international_tracked_parcels_0_30kg_c_prio | HVK | - | sapient_royal_mail_international_tracked_parcels_0_30kg_xcomp_c_prio | HVL | - | sapient_royal_mail_international_business_parcels_zone_sort_priority_service | IE1 | - | sapient_royal_mail_international_business_mail_large_letter_zone_sort_priority | IG1 | - | sapient_royal_mail_international_business_mail_large_letter_zone_sort_priority_machine | IG4 | - | sapient_royal_mail_international_business_mail_letters_zone_sort_priority | IP1 | - | sapient_royal_mail_import_de_tracked_returns_24 | ITA | - | sapient_royal_mail_import_de_tracked_returns_48 | ITB | - | sapient_royal_mail_import_de_tracked_24_letter_boxable_high_volume | ITC | - | sapient_royal_mail_import_de_tracked_48_letter_boxable_high_volume | ITD | - | sapient_royal_mail_import_de_tracked_48_letter_boxable | ITE | - | sapient_royal_mail_import_de_tracked_24_letter_boxable | ITF | - | sapient_royal_mail_import_de_tracked_48_high_volume | ITL | - | sapient_royal_mail_import_de_tracked_24_high_volume | ITM | - | sapient_royal_mail_import_de_tracked_24 | ITN | - | sapient_royal_mail_de_import_to_eu_signed_parcel | ITR | - | sapient_royal_mail_import_de_tracked_48 | ITS | - | sapient_royal_mail_international_business_parcels_print_direct_priority | MB1 | - | sapient_royal_mail_international_business_parcels_print_direct_standard | MB2 | - | sapient_royal_mail_international_business_parcels_signed_extra_compensation_country_priced | MP0 | - | sapient_royal_mail_international_business_parcels_tracked_zone_sort | MP1 | - | sapient_royal_mail_international_business_parcels_tracked_extra_comp_zone_sort | MP4 | - | sapient_royal_mail_international_business_parcels_signed_zone_sort | MP5 | - | sapient_royal_mail_international_business_parcels_signed_extra_compensation_zone_sort | MP6 | - | sapient_royal_mail_international_business_parcels_tracked_country_priced | MP7 | - | sapient_royal_mail_international_business_parcels_tracked_extra_comp_country_priced | MP8 | - | sapient_royal_mail_international_business_parcels_signed_country_priced | MP9 | - | sapient_royal_mail_international_business_mail_tracked_high_vol_country_priced | MPL | - | sapient_royal_mail_international_business_mail_tracked_signed_high_vol_country_priced | MPM | - | sapient_royal_mail_international_business_mail_signed_high_vol_country_priced | MPN | - | sapient_royal_mail_international_business_mail_tracked_high_vol_extra_comp_country_priced | MPO | - | sapient_royal_mail_international_business_mail_tracked_signed_high_vol_extra_comp_country_priced | MPP | - | sapient_royal_mail_international_business_parcel_tracked_boxable_country_priced | MPR | - | sapient_royal_mail_international_business_parcels_tracked_signed_zone_sort | MTA | - | sapient_royal_mail_international_business_parcels_tracked_signed_extra_compensation_zone_sort | MTB | - | sapient_royal_mail_international_business_mail_tracked_signed_zone_sort | MTC | - | sapient_royal_mail_international_business_parcels_tracked_signed_country_priced | MTE | - | sapient_royal_mail_international_business_parcels_tracked_signed_extra_compensation_country_priced | MTF | - | sapient_royal_mail_international_business_mail_tracked_signed_country_priced | MTG | - | sapient_royal_mail_international_business_mail_tracked_zone_sort | MTI | - | sapient_royal_mail_international_business_mail_tracked_country_priced | MTK | - | sapient_royal_mail_international_business_mail_signed_zone_sort | MTM | - | sapient_royal_mail_international_business_mail_signed_country_priced | MTO | - | sapient_royal_mail_international_business_mail_signed_extra_compensation_country_priced | MTP | - | sapient_royal_mail_international_business_parcels_tracked_direct_ireland_country | MTS | - | sapient_royal_mail_international_business_parcels_tracked_signed_ddp | MTV | - | sapient_royal_mail_international_standard_on_account | OLA | - | sapient_royal_mail_international_economy_on_account | OLS | - | sapient_royal_mail_international_signed_on_account | OSA | - | sapient_royal_mail_international_signed_on_account_extra_comp | OSB | - | sapient_royal_mail_international_tracked_on_account | OTA | - | sapient_royal_mail_international_tracked_on_account_extra_comp | OTB | - | sapient_royal_mail_international_tracked_signed_on_account | OTC | - | sapient_royal_mail_international_tracked_signed_on_account_extra_comp | OTD | - | sapient_royal_mail_48_ll_flat_rate | PK0 | - | sapient_royal_mail_24_standard_signed_for_parcel_sort8_flat_rate_service | PK1 | - | sapient_royal_mail_48_standard_signed_for_parcel_sort8_flat_rate_service | PK2 | - | sapient_royal_mail_24_standard_signed_for_parcel_sort8_daily_rate_service | PK3 | - | sapient_royal_mail_48_standard_signed_for_parcel_sort8_daily_rate_service | PK4 | - | sapient_royal_mail_24_presorted_p | PK7 | - | sapient_royal_mail_48_presorted_p | PK8 | - | sapient_royal_mail_24_ll_flat_rate | PK9 | - | sapient_royal_mail_rm24_presorted_p_annual_flat_rate | PKB | - | sapient_royal_mail_rm48_presorted_p_annual_flat_rate | PKD | - | sapient_royal_mail_rm48_presorted_ll_annual_flat_rate | PKK | - | sapient_royal_mail_rm24_presorted_ll_annual_flat_rate | PKM | - | sapient_royal_mail_24_standard_signed_for_packetpost_flat_rate_service | PPF1 | - | sapient_royal_mail_48_standard_signed_for_packetpost_flat_rate_service | PPF2 | - | sapient_royal_mail_parcelpost_flat_rate_annual | PPJ1 | - | sapient_royal_mail_parcelpost_flat_rate_annual_PPJ | PPJ2 | - | sapient_royal_mail_rm24_ll_annual_flat_rate | PPS | - | sapient_royal_mail_rm48_ll_annual_flat_rate | PPT | - | sapient_royal_mail_international_business_personal_correspondence_max_sort_l | PS5 | - | sapient_royal_mail_international_business_mail_large_letter_max_sort_priority_service | PS7 | - | sapient_royal_mail_international_business_mail_letters_max_sort_standard | PSA | - | sapient_royal_mail_international_business_mail_large_letter_max_sort_standard_service | PSB | - | sapient_royal_mail_48_sort8p_annual_flat_rate | RM0 | - | sapient_royal_mail_24_ll_daily_rate | RM1 | - | sapient_royal_mail_24_p_daily_rate | RM2 | - | sapient_royal_mail_48_ll_daily_rate | RM3 | - | sapient_royal_mail_48_p_daily_rate | RM4 | - | sapient_royal_mail_24_p_flat_rate | RM5 | - | sapient_royal_mail_48_p_flat_rate | RM6 | - | sapient_royal_mail_24_sort8_ll_annual_flat_rate | RM7 | - | sapient_royal_mail_24_sort8_p_annual_flat_rate | RM8 | - | sapient_royal_mail_48_sort8_ll_annual_flat_rate | RM9 | - | sapient_royal_mail_special_delivery_guaranteed_by_1pm_750 | SD1 | - | sapient_royal_mail_special_delivery_guaranteed_by_1pm_1000 | SD2 | - | sapient_royal_mail_special_delivery_guaranteed_by_1pm_2500 | SD3 | - | sapient_royal_mail_special_delivery_guaranteed_by_9am_750 | SD4 | - | sapient_royal_mail_special_delivery_guaranteed_by_9am_1000 | SD5 | - | sapient_royal_mail_special_delivery_guaranteed_by_9am_2500 | SD6 | - | sapient_royal_mail_special_delivery_guaranteed_by_1pm_id_750 | SDA | - | sapient_royal_mail_special_delivery_guaranteed_by_1pm_id_1000 | SDB | - | sapient_royal_mail_special_delivery_guaranteed_by_1pm_id_2500 | SDC | - | sapient_royal_mail_special_delivery_guaranteed_by_9am_id_750 | SDE | - | sapient_royal_mail_special_delivery_guaranteed_by_9am_id_1000 | SDF | - | sapient_royal_mail_special_delivery_guaranteed_by_9am_id_2500 | SDG | - | sapient_royal_mail_special_delivery_guaranteed_by_1pm_age_750 | SDH | - | sapient_royal_mail_special_delivery_guaranteed_by_1pm_age_1000 | SDJ | - | sapient_royal_mail_special_delivery_guaranteed_by_1pm_age_2500 | SDK | - | sapient_royal_mail_special_delivery_guaranteed_by_9am_age_750 | SDM | - | sapient_royal_mail_special_delivery_guaranteed_by_9am_age_1000 | SDN | - | sapient_royal_mail_special_delivery_guaranteed_by_9am_age_2500 | SDQ | - | sapient_royal_mail_special_delivery_guaranteed_age_750 | SDV | - | sapient_royal_mail_special_delivery_guaranteed_age_1000 | SDW | - | sapient_royal_mail_special_delivery_guaranteed_age_2500 | SDX | - | sapient_royal_mail_special_delivery_guaranteed_id_750 | SDY | - | sapient_royal_mail_special_delivery_guaranteed_id_1000 | SDZ | - | sapient_royal_mail_special_delivery_guaranteed_id_2500 | SEA | - | sapient_royal_mail_special_delivery_guaranteed_750 | SEB | - | sapient_royal_mail_special_delivery_guaranteed_1000 | SEC | - | sapient_royal_mail_special_delivery_guaranteed_2500 | SED | - | sapient_royal_mail_1st_class_standard_signed_for_letters_daily_rate_service | STL1 | - | sapient_royal_mail_2nd_class_standard_signed_for_letters_daily_rate_service | STL2 | - | sapient_royal_mail_tracked_24_high_volume_signature_age | TPA | - | sapient_royal_mail_tracked_48_high_volume_signature_age | TPB | - | sapient_royal_mail_tracked_24_signature_age | TPC | - | sapient_royal_mail_tracked_48_signature_age | TPD | - | sapient_royal_mail_tracked_48_high_volume_signature_no_signature | TPL | - | sapient_royal_mail_tracked_24_high_volume_signature_no_signature | TPM | - | sapient_royal_mail_tracked_24_signature_no_signature | TPN | - | sapient_royal_mail_tracked_48_signature_no_signature | TPS | - | sapient_royal_mail_tracked_letter_boxable_48_high_volume_signature_no_signature | TRL | - | sapient_royal_mail_tracked_letter_boxable_24_high_volume_signature_no_signature | TRM | - | sapient_royal_mail_tracked_letter_boxable_24_signature_no_signature | TRN | - | sapient_royal_mail_tracked_letter_boxable_48_signature_no_signature | TRS | - | sapient_royal_mail_tracked_returns_24 | TSN | - | sapient_royal_mail_tracked_returns_48 | TSS | - | sapient_royal_mail_international_business_parcels_zero_sort_priority_WE | WE1 | - | sapient_royal_mail_international_business_mail_large_letter_zero_sort_priority | WG1 | - | sapient_royal_mail_international_business_mail_large_letter_zero_sort_priority_machine | WG4 | - | sapient_royal_mail_international_business_mail_letters_zero_sort_priority | WP1 | - ### SEKO Logistics | Code | Service Name | | ------------ | ------------ | @@ -15489,21 +13585,13 @@ tags: | sendle_standard_dropoff | STANDARD-DROPOFF | | sendle_express_pickup | EXPRESS-PICKUP | - ### ShipEngine + ### SmartKargo | Code | Service Name | | ------------ | ------------ | - | shipengine_auto | ShipEngine Auto-Select | - | usps_ground_advantage | USPS Ground Advantage | - | usps_priority_mail | USPS Priority Mail | - | usps_priority_mail_express | USPS Priority Mail Express | - | fedex_ground | FedEx Ground | - | fedex_2day | FedEx 2Day | - | fedex_standard_overnight | FedEx Standard Overnight | - | ups_ground | UPS Ground | - | ups_3_day_select | UPS 3 Day Select | - | ups_2nd_day_air | UPS 2nd Day Air | - | ups_next_day_air | UPS Next Day Air | - | shipengine_ups_ups_ground | UPS Ground via ShipEngine | + | smartkargo_express | EXP | + | smartkargo_priority | EPR | + | smartkargo_standard | EST | + | smartkargo_economy | ECL | ### Spring | Code | Service Name | @@ -15578,22 +13666,6 @@ tags: | teleship_postal_dropoff | TELESHIP-POSTAL-DROPOFF | | teleship_postal_pickup | TELESHIP-POSTAL-PICKUP | - ### TGE - | Code | Service Name | - | ------------ | ------------ | - | tge_freight_service | X | - - ### TNT - | Code | Service Name | - | ------------ | ------------ | - | tnt_special_express | 1N | - | tnt_9_00_express | 09N | - | tnt_10_00_express | 10N | - | tnt_12_00_express | 12N | - | tnt_express | EX | - | tnt_economy_express | 48N | - | tnt_global_express | 15N | - ### UPS | Code | Service Name | | ------------ | ------------ | @@ -15685,13 +13757,6 @@ tags: | usps_global_express_guaranteed | GLOBAL_EXPRESS_GUARANTEED | | usps_all | ALL | - ### Zoom2u - | Code | Service Name | - | ------------ | ------------ | - | zoom2u_VIP | VIP | - | zoom2u_3_hour | 3 hour | - | zoom2u_same_day | Same day | - --- ## Parcel Templates @@ -15736,19 +13801,6 @@ tags: | purolator_express_pack | 12.5 x 16 x 1.0 in | | purolator_express_box | 18 x 12 x 3.5 in | - ### TNT - | Code | Dimensions | - | ------------ | ------------ | - | tnt_envelope_doc | 35.0 x 1.0 x 27.5 cm | - | tnt_satchel_bag1 | 40.0 x 1.0 x 30.0 cm | - | tnt_satchel_bag2 | 47.5 x 1.0 x 38.0 cm | - | tnt_box_B | 29.5 x 19.0 x 40.0 cm | - | tnt_box_C | 29.5 x 29.0 x 40.0 cm | - | tnt_box_D | 39.5 x 29.0 x 50.0 cm | - | tnt_box_E | 39.5 x 49.5 x 44.0 cm | - | tnt_medpack_ambient | 18.0 x 12.0 x 23.0 cm | - | tnt_medpack_fronzen_10 | 37.0 x 35.5 x 40.0 cm | - ### UPS | Code | Dimensions | | ------------ | ------------ |