Skip to content

Commit

Permalink
[nightly] generate types against bigcommerce/api-specs@9c331d2 (#34)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
matthewvolk and github-actions[bot] authored Sep 6, 2023
1 parent 890dfec commit 40275aa
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .changeset/lemon-donuts-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"bigrequest": patch
---

Adds `generated_tracking_link` to V2 Order Shipments API
20 changes: 11 additions & 9 deletions packages/bigrequest/src/generated/orders.v2.oas2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,11 @@ export interface paths {
*
* There are three methods for generating a tracking link for a shipment:
*
* 1. Use `shipping_provider` and `tracking_number`: This generates an automatic tracking link that you can click from the BigCommerce control panel and customer-facing emails. However, the `tracking_link` property in the API response will remain empty.
* 1. Use `shipping_provider` and `tracking_number`: This generates an automatic tracking link that you can click from the BigCommerce control panel and customer-facing emails. The `generated_tracking_link` property in the API response represents this tracking link. The `tracking_link` property in the API response will remain empty.
*
* 2. Use `tracking_carrier` and `tracking_number`: This also creates an automatic tracking link that you can click in both the BigCommerce control panel and customer-facing emails. Like the previous method, the `tracking_link` property in the API response will be empty.
* 2. Use `tracking_carrier` and `tracking_number`: This also creates an automatic tracking link that you can click in both the BigCommerce control panel and customer-facing emails. Like the previous method, the `generated_tracking_link` property in the API response represents this tracking link. The `tracking_link` property in the API response will remain empty.
*
* 3. Supply a custom `tracking_link`: By providing a value for the `tracking_link` property, you can use your own tracking link within the BigCommerce control panel and in customer-facing emails. The API response will return your supplied `tracking_link` as part of the response.
* 3. Supply a custom `tracking_link`: By providing a value for the `tracking_link` property, you can use your own tracking link within the BigCommerce control panel and in customer-facing emails. The API response will return your supplied tracking link as part of the `tracking_link` property in the response. In situations when there isn't a `generated_tracking_link`, the property in the API response will remain empty.
*
* Acceptable values for `shipping_provider` include an empty string (`""`), `auspost`, `carrier_{your_carrier_id}` (only used if the carrier is a [third-party Shipping Provider](/api-docs/providers/shipping)), `canadapost`, `endicia`, `usps`, `fedex`, `royalmail`, `ups`, `upsready`, `upsonline`, or `shipperhq`.
*
Expand Down Expand Up @@ -932,7 +932,7 @@ export interface components {
* Acceptable values for `tracking_carrier` include an empty string (`""`) or one of the valid [tracking-carrier values](https://github.com/bigcommerce/dev-docs/blob/master/assets/csv/tracking_carrier_values.csv).
*/
tracking_carrier?: string;
/** @description Returns a tracking link from the shipping service. */
/** @description The custom tracking link supplied on POST or PUT shipments. For the auto-generated tracking link see the `generated_tracking_link` property. */
tracking_link?: string;
/** @description Comments the shipper wishes to add. */
comments?: string;
Expand All @@ -947,6 +947,8 @@ export interface components {
/** @example 2 */
quantity?: number;
}[];
/** @description The tracking link that is generated using the combination of either the `tracking_number` and `shipping_provider` or `tracking_number` and `tracking_carrier`. This will be empty if the custom `tracking_link` value is provided. */
generated_tracking_link?: string;
};
/** orderConsignments_Resource */
readonly orderConsignments_Resource: {
Expand Down Expand Up @@ -1189,7 +1191,7 @@ export interface components {
*/
tracking_number?: string;
/**
* @description Tracking link that is associated with your shipment.
* @description The custom tracking link supplied on POST or PUT shipments. For the auto-generated tracking link see the `generated_tracking_link` property.
* @example https://www.mycustomtrackinglink.com/tracking
*/
tracking_link?: string;
Expand Down Expand Up @@ -1252,7 +1254,7 @@ export interface components {
*/
tracking_carrier?: string;
/**
* @description Tracking link that is associated with your shipment.
* @description The custom tracking link supplied on POST or PUT shipments. For the auto-generated tracking link see the `generated_tracking_link` property.
* @example https://www.mycustomtrackinglink.com/tracking
*/
tracking_link?: string;
Expand Down Expand Up @@ -3372,11 +3374,11 @@ export interface operations {
*
* There are three methods for generating a tracking link for a shipment:
*
* 1. Use `shipping_provider` and `tracking_number`: This generates an automatic tracking link that you can click from the BigCommerce control panel and customer-facing emails. However, the `tracking_link` property in the API response will remain empty.
* 1. Use `shipping_provider` and `tracking_number`: This generates an automatic tracking link that you can click from the BigCommerce control panel and customer-facing emails. The `generated_tracking_link` property in the API response represents this tracking link. The `tracking_link` property in the API response will remain empty.
*
* 2. Use `tracking_carrier` and `tracking_number`: This also creates an automatic tracking link that you can click in both the BigCommerce control panel and customer-facing emails. Like the previous method, the `tracking_link` property in the API response will be empty.
* 2. Use `tracking_carrier` and `tracking_number`: This also creates an automatic tracking link that you can click in both the BigCommerce control panel and customer-facing emails. Like the previous method, the `generated_tracking_link` property in the API response represents this tracking link. The `tracking_link` property in the API response will remain empty.
*
* 3. Supply a custom `tracking_link`: By providing a value for the `tracking_link` property, you can use your own tracking link within the BigCommerce control panel and in customer-facing emails. The API response will return your supplied `tracking_link` as part of the response.
* 3. Supply a custom `tracking_link`: By providing a value for the `tracking_link` property, you can use your own tracking link within the BigCommerce control panel and in customer-facing emails. The API response will return your supplied tracking link as part of the `tracking_link` property in the response. In situations when there isn't a `generated_tracking_link`, the property in the API response will remain empty.
*
* Acceptable values for `shipping_provider` include an empty string (`""`), `auspost`, `carrier_{your_carrier_id}` (only used if the carrier is a [third-party Shipping Provider](/api-docs/providers/shipping)), `canadapost`, `endicia`, `usps`, `fedex`, `royalmail`, `ups`, `upsready`, `upsonline`, or `shipperhq`.
*
Expand Down

0 comments on commit 40275aa

Please sign in to comment.