shipbob-node-sdk 0.0.16 → 0.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/types.d.ts +3 -3
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -577,7 +577,7 @@ export type Order = {
577
577
  * probably good idea to use what is generated from the OpenAPI and reference here - the generated has lots of TS errors.
578
578
  */
579
579
  shipments: OrderShipment[];
580
- gift_message: string;
580
+ gift_message?: string;
581
581
  shipping_terms: {
582
582
  /**
583
583
  * ie: "Parcel"
@@ -592,7 +592,7 @@ export type PlaceOrderRequest = {
592
592
  /**
593
593
  * Desired Fulfillment Center Location ID. If not specified, ShipBob will determine the location that fulfills this order.
594
594
  */
595
- location_id: null | number;
595
+ location_id?: null | number;
596
596
  /**
597
597
  * User friendly orderId or store order number that will be shown on the Orders Page. If not provided, referenceId will be used (<= 400 characters)
598
598
  */
@@ -686,7 +686,7 @@ export type PlaceOrderRequest = {
686
686
  * Gift message associated with the order
687
687
  * Maximum string length: 500
688
688
  */
689
- gift_message: string | null;
689
+ gift_message?: string | null;
690
690
  };
691
691
  export type ShippingMethod = {
692
692
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shipbob-node-sdk",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "ShipBob API node SDK",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",