shipstation-client
Version:
ShipStation V2 SDK
114 lines (108 loc) • 3.08 kB
text/typescript
/* tslint:disable */
/* eslint-disable */
/**
* ShipStation API v2
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
// May contain unused imports in some cases
// @ts-ignore
import type { Dimensions } from './dimensions';
// May contain unused imports in some cases
// @ts-ignore
import type { LabelMessages } from './label-messages';
// May contain unused imports in some cases
// @ts-ignore
import type { MonetaryValue } from './monetary-value';
// May contain unused imports in some cases
// @ts-ignore
import type { Products } from './products';
// May contain unused imports in some cases
// @ts-ignore
import type { Weight } from './weight';
/**
* A package associated with a shipment
* @export
* @interface Package
*/
export interface Package {
[key: string]: any;
/**
* A string that uniquely identifies this shipment package
* @type {string}
* @memberof Package
*/
'shipment_package_id'?: string;
/**
* A string that uniquely identifies this [package type]
* @type {string}
* @memberof Package
*/
'package_id'?: string;
/**
* The [package type] such as `thick_envelope`, `small_flat_rate_box`, `large_package`, etc. The code `package` indicates a custom or unknown package type.
* @type {string}
* @memberof Package
*/
'package_code'?: string;
/**
* The name of the of the [package type]
* @type {string}
* @memberof Package
*/
'package_name'?: string;
/**
* The package weight
* @type {Weight}
* @memberof Package
*/
'weight': Weight;
/**
* The package dimensions
* @type {Dimensions}
* @memberof Package
*/
'dimensions'?: Dimensions;
/**
* The insured value of the package. Requires the `insurance_provider` field of the shipment to be set.
* @type {MonetaryValue}
* @memberof Package
*/
'insured_value'?: MonetaryValue;
/**
*
* @type {LabelMessages}
* @memberof Package
*/
'label_messages'?: LabelMessages;
/**
* An external package id.
* @type {string}
* @memberof Package
*/
'external_package_id'?: string;
/**
* The tracking number for the package. The format depends on the carrier.
* @type {string}
* @memberof Package
*/
'tracking_number'?: string;
/**
* A short description of the package content. Required for shipments moving to, from, and through Mexico.
* @type {string}
* @memberof Package
*/
'content_description'?: string | null;
/**
* Details about products inside packages (Information provided would be used on custom documentation)
* @type {Array<Products>}
* @memberof Package
*/
'products'?: Array<Products>;
}