Comparing version 7.0.3 to 7.0.4
@@ -40,3 +40,4 @@ import { Tracking } from '../model/tracking/tracking'; | ||
* tracking_update_params to include: smses, emails,title,customer_name,order_id, | ||
* order_id_path,custom_fields,note,language,order_promised_delivery_date,delivery_type,pickup_location,pickup_note | ||
* order_id_path,order_number,order_date,custom_fields,note,language, | ||
* order_promised_delivery_date,delivery_type,pickup_location,pickup_note | ||
* @param single_tracking_param The param to identify the single tracking. | ||
@@ -43,0 +44,0 @@ * @param tracking_update_params Tracking update params object |
@@ -41,3 +41,4 @@ import { ApiRequest } from '../lib/api_request'; | ||
* tracking_update_params to include: smses, emails,title,customer_name,order_id, | ||
* order_id_path,custom_fields,note,language,order_promised_delivery_date,delivery_type,pickup_location,pickup_note | ||
* order_id_path,order_number,order_date,custom_fields,note,language, | ||
* order_promised_delivery_date,delivery_type,pickup_location,pickup_note | ||
* @param single_tracking_param The param to identify the single tracking. | ||
@@ -44,0 +45,0 @@ * @param tracking_update_params Tracking update params object |
@@ -56,3 +56,4 @@ "use strict"; | ||
* tracking_update_params to include: smses, emails,title,customer_name,order_id, | ||
* order_id_path,custom_fields,note,language,order_promised_delivery_date,delivery_type,pickup_location,pickup_note | ||
* order_id_path,order_number,order_date,custom_fields,note,language, | ||
* order_promised_delivery_date,delivery_type,pickup_location,pickup_note | ||
* @param single_tracking_param The param to identify the single tracking. | ||
@@ -59,0 +60,0 @@ * @param tracking_update_params Tracking update params object |
@@ -20,2 +20,7 @@ import { DeliveryStatus } from './delivery_status'; | ||
/** | ||
* Tracking number of shipments. Use comma to separate multiple values | ||
* (Example: RA123456789US,LE123456789US) | ||
*/ | ||
tracking_numbers?: string; | ||
/** | ||
* Unique courier code Use comma for multiple values. (Example: dhl,ups,usps) | ||
@@ -55,2 +60,11 @@ */ | ||
/** | ||
* Start date and time of trackings updated. | ||
* (Example: 2013-04-15T16:41:56+08:00) | ||
*/ | ||
updated_at_min?: string; | ||
/** | ||
* End date and time of trackings updated. (Example: 2013-04-15T16:41:56+08:00) | ||
*/ | ||
updated_at_max?: string; | ||
/** | ||
* List of fields to include in the response. | ||
@@ -67,3 +81,19 @@ * Use comma for multiple values. Fields to include: title, order_id, tag, | ||
lang?: string; | ||
/** | ||
* Tracking last updated at | ||
* (Example: 2013-03-15T16:41:56+08:00) | ||
*/ | ||
last_updated_at?: string; | ||
/** | ||
* Select return to sender, the value should be true or false, | ||
* with optional comma separated. | ||
*/ | ||
return_to_sender?: string; | ||
/** | ||
* Destination country of trackings returned by courier. | ||
* Use ISO Alpha-3 (three letters). | ||
* Use comma for multiple values. (Example: USA,HKG) | ||
*/ | ||
courier_destination_country_iso3?: string; | ||
} | ||
//# sourceMappingURL=multi_trackings_query_params.d.ts.map |
@@ -108,2 +108,10 @@ import { DeliveryType } from './delivery_type'; | ||
/** | ||
* Text field for order number | ||
*/ | ||
order_number?: string; | ||
/** | ||
* Date and time of the order created | ||
*/ | ||
order_date?: string; | ||
/** | ||
* Custom fields that accept a hash with string, boolean or number fields | ||
@@ -110,0 +118,0 @@ */ |
@@ -37,2 +37,10 @@ import { DeliveryType } from './delivery_type'; | ||
/** | ||
* Text field for order number | ||
*/ | ||
order_number?: string; | ||
/** | ||
* Date and time of the order created | ||
*/ | ||
order_date?: string; | ||
/** | ||
* Custom fields that accept a hash with string, boolean or number fields | ||
@@ -39,0 +47,0 @@ */ |
import { Checkpoint } from '../checkpoint/checkpoint'; | ||
import { EstimatedDeliveryDate } from '../estimated_delivery_date/estimated_delivery_date'; | ||
import { DeliveryStatus } from './delivery_status'; | ||
@@ -13,2 +14,6 @@ import { DeliveryType } from './delivery_type'; | ||
/** | ||
* A unique identifier generated by AfterShip for the tracking. | ||
*/ | ||
id?: string; | ||
/** | ||
* Date and time of the tracking created. | ||
@@ -22,34 +27,6 @@ */ | ||
/** | ||
* A unique identifier generated by AfterShip for the tracking. | ||
* Date and time the tracking was last updated | ||
*/ | ||
id?: string; | ||
last_updated_at?: string; | ||
/** | ||
* The postal code of receiver's address. Required by some couriers, such asdeutsch-post | ||
*/ | ||
tracking_postal_code?: string; | ||
/** | ||
* Shipping date inYYYYMMDDformat. Required by some couriers, such asdeutsch-post | ||
*/ | ||
tracking_ship_date?: string; | ||
/** | ||
* Account number of the shipper for a specific courier. Required by some couriers, such asdynamic-logistics | ||
*/ | ||
tracking_account_number?: string; | ||
/** | ||
* Origin Country of the shipment for a specific courier. Required by some couriers, such asdhl | ||
*/ | ||
tracking_origin_country?: string; | ||
/** | ||
* Destination Country of the shipment for a specific courier. Required by some couriers, such aspostnl-3s | ||
*/ | ||
tracking_destination_country?: string; | ||
/** | ||
* Located state of the shipment for a specific courier. Required by some couriers, such asstar-track-courier | ||
*/ | ||
tracking_state?: string; | ||
/** | ||
* Key of the shipment for a specific courier. Required by some couriers, such assic-teliway | ||
*/ | ||
tracking_key?: string; | ||
/** | ||
* Tracking number. | ||
@@ -94,2 +71,6 @@ */ | ||
/** | ||
* Shipping address that the shipment is shipping to. | ||
*/ | ||
destination_raw_location?: string; | ||
/** | ||
* Destination country of the tracking detected from the courier. | ||
@@ -114,2 +95,6 @@ * ISO Alpha-3 (three letters). Value will be null if the courier doesn't provide the destination country. | ||
/** | ||
* Text field for the note. | ||
*/ | ||
note?: string; | ||
/** | ||
* Text field for order ID | ||
@@ -123,2 +108,6 @@ */ | ||
/** | ||
* Date and time of the order created | ||
*/ | ||
order_date?: string; | ||
/** | ||
* Origin country of the tracking. ISO Alpha-3 (three letters). | ||
@@ -128,7 +117,2 @@ */ | ||
/** | ||
* The token to generate the direct tracking link: | ||
* https://yourusername.aftership.com/unique_token or https://www.aftership.com/unique_token | ||
*/ | ||
unique_token?: string; | ||
/** | ||
* Number of packages under the tracking (if any). | ||
@@ -138,2 +122,10 @@ */ | ||
/** | ||
* Date and time the tracking was picked up | ||
*/ | ||
shipment_pickup_date?: string; | ||
/** | ||
* shipment_delivery_date | ||
*/ | ||
shipment_delivery_date?: string; | ||
/** | ||
* Shipment type provided by carrier (if any). | ||
@@ -151,22 +143,2 @@ */ | ||
/** | ||
* Date and time the tracking was last updated | ||
*/ | ||
last_updated_at?: string; | ||
/** | ||
* Date and time the tracking was picked up | ||
*/ | ||
shipment_pickup_date?: string; | ||
/** | ||
* shipment_delivery_date | ||
*/ | ||
shipment_delivery_date?: string; | ||
/** | ||
* Phone number(s) subscribed to receive sms notifications. Comma separated for multiple values | ||
*/ | ||
subscribed_smses?: [string]; | ||
/** | ||
* Email address(es) subscribed to receive email notifications. Comma separated for multiple values | ||
*/ | ||
subscribed_emails?: [string]; | ||
/** | ||
* Signed by information for delivered shipment (if any). | ||
@@ -218,2 +190,19 @@ */ | ||
/** | ||
* The token to generate the direct tracking link: | ||
* https://yourusername.aftership.com/unique_token or https://www.aftership.com/unique_token | ||
*/ | ||
unique_token?: string; | ||
/** | ||
* Array of Hash describes the checkpoint information. | ||
*/ | ||
checkpoints?: [Checkpoint]; | ||
/** | ||
* Phone number(s) subscribed to receive sms notifications. Comma separated for multiple values | ||
*/ | ||
subscribed_smses?: [string]; | ||
/** | ||
* Email address(es) subscribed to receive email notifications. Comma separated for multiple values | ||
*/ | ||
subscribed_emails?: [string]; | ||
/** | ||
* Whether or not the shipment is returned to sender. | ||
@@ -248,9 +237,57 @@ * Value istruewhen any of its checkpoints has subtagException_010(returning to sender) | ||
*/ | ||
first_attempted_at?: string | null; | ||
first_attempted_at?: string; | ||
/** | ||
* Array of Hash describes the checkpoint information. | ||
* Delivery instructions (delivery date or address) can be modified by visiting the link if supported by a carrier. | ||
*/ | ||
checkpoints?: [Checkpoint]; | ||
courier_redirect_link?: string; | ||
/** | ||
* Account number of the shipper for a specific courier. Required by some couriers, such asdynamic-logistics | ||
*/ | ||
tracking_account_number?: string; | ||
/** | ||
* Origin Country of the shipment for a specific courier. Required by some couriers, such asdhl | ||
*/ | ||
tracking_origin_country?: string; | ||
/** | ||
* Destination Country of the shipment for a specific courier. Required by some couriers, such aspostnl-3s | ||
*/ | ||
tracking_destination_country?: string; | ||
/** | ||
* Key of the shipment for a specific courier. Required by some couriers, such assic-teliway | ||
*/ | ||
tracking_key?: string; | ||
/** | ||
* The postal code of receiver's address. Required by some couriers, such asdeutsch-post | ||
*/ | ||
tracking_postal_code?: string; | ||
/** | ||
* Shipping date inYYYYMMDDformat. Required by some couriers, such asdeutsch-post | ||
*/ | ||
tracking_ship_date?: string; | ||
/** | ||
* Located state of the shipment for a specific courier. Required by some couriers, such asstar-track-courier | ||
*/ | ||
tracking_state?: string; | ||
/** | ||
* Whether the tracking is delivered on time or not. | ||
*/ | ||
on_time_status?: string; | ||
/** | ||
* The difference days of the on time. | ||
*/ | ||
on_time_difference?: number; | ||
/** | ||
* The tags of the order. | ||
*/ | ||
order_tags?: [string]; | ||
/** | ||
* Estimated delivery time of the shipment provided by AfterShip, indicate when the shipment should arrive. | ||
*/ | ||
aftership_estimated_delivery_date?: EstimatedDeliveryDate; | ||
/** | ||
* Text field for order number | ||
*/ | ||
order_number?: string; | ||
}; | ||
} | ||
//# sourceMappingURL=tracking.d.ts.map |
{ | ||
"name": "aftership", | ||
"description": "node.js SDK for AfterShip API", | ||
"version": "7.0.3", | ||
"version": "7.0.4", | ||
"homepage": "https://github.com/aftership/aftership-sdk-nodejs", | ||
@@ -6,0 +6,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
151984
155
2387