@putiikkipalvelu/storefront-sdk 0.16.1 → 0.17.0
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.
- package/dist/index.d.cts +5 -10
- package/dist/index.d.ts +5 -10
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -817,12 +817,13 @@ interface ConfirmationOrderCustomerData {
|
|
|
817
817
|
/**
|
|
818
818
|
* Shipment method information attached to an order
|
|
819
819
|
* Includes tracking information when available
|
|
820
|
+
*
|
|
821
|
+
* Note: fulfilment internals (record id, orderId, serviceId, shipmentNumber
|
|
822
|
+
* and freightDoc) are intentionally NOT part of this payload — freight
|
|
823
|
+
* documents are unauthenticated label PDFs carrying the customer's address,
|
|
824
|
+
* so they stay inside the merchant dashboard.
|
|
820
825
|
*/
|
|
821
826
|
interface ConfirmationOrderShipmentMethod {
|
|
822
|
-
/** Shipment method record ID */
|
|
823
|
-
id: string;
|
|
824
|
-
/** Carrier service ID (for Shipit integration) */
|
|
825
|
-
serviceId: string | null;
|
|
826
827
|
/** Shipment method display name */
|
|
827
828
|
name: string;
|
|
828
829
|
/** Description of the shipment method */
|
|
@@ -831,18 +832,12 @@ interface ConfirmationOrderShipmentMethod {
|
|
|
831
832
|
logo: string | null;
|
|
832
833
|
/** Shipping price in cents */
|
|
833
834
|
price: number;
|
|
834
|
-
/** Parent order ID */
|
|
835
|
-
orderId: string;
|
|
836
835
|
/** VAT rate percentage */
|
|
837
836
|
vatRate: number | null;
|
|
838
837
|
/** Tracking number (when shipped) */
|
|
839
838
|
trackingNumber: string | null;
|
|
840
839
|
/** Array of tracking URLs */
|
|
841
840
|
trackingUrls: string[];
|
|
842
|
-
/** Shipit shipment number */
|
|
843
|
-
shipmentNumber: string | null;
|
|
844
|
-
/** Freight document URLs */
|
|
845
|
-
freightDoc: string[];
|
|
846
841
|
}
|
|
847
842
|
/**
|
|
848
843
|
* Order status values (matches Prisma OrderStatus enum)
|
package/dist/index.d.ts
CHANGED
|
@@ -817,12 +817,13 @@ interface ConfirmationOrderCustomerData {
|
|
|
817
817
|
/**
|
|
818
818
|
* Shipment method information attached to an order
|
|
819
819
|
* Includes tracking information when available
|
|
820
|
+
*
|
|
821
|
+
* Note: fulfilment internals (record id, orderId, serviceId, shipmentNumber
|
|
822
|
+
* and freightDoc) are intentionally NOT part of this payload — freight
|
|
823
|
+
* documents are unauthenticated label PDFs carrying the customer's address,
|
|
824
|
+
* so they stay inside the merchant dashboard.
|
|
820
825
|
*/
|
|
821
826
|
interface ConfirmationOrderShipmentMethod {
|
|
822
|
-
/** Shipment method record ID */
|
|
823
|
-
id: string;
|
|
824
|
-
/** Carrier service ID (for Shipit integration) */
|
|
825
|
-
serviceId: string | null;
|
|
826
827
|
/** Shipment method display name */
|
|
827
828
|
name: string;
|
|
828
829
|
/** Description of the shipment method */
|
|
@@ -831,18 +832,12 @@ interface ConfirmationOrderShipmentMethod {
|
|
|
831
832
|
logo: string | null;
|
|
832
833
|
/** Shipping price in cents */
|
|
833
834
|
price: number;
|
|
834
|
-
/** Parent order ID */
|
|
835
|
-
orderId: string;
|
|
836
835
|
/** VAT rate percentage */
|
|
837
836
|
vatRate: number | null;
|
|
838
837
|
/** Tracking number (when shipped) */
|
|
839
838
|
trackingNumber: string | null;
|
|
840
839
|
/** Array of tracking URLs */
|
|
841
840
|
trackingUrls: string[];
|
|
842
|
-
/** Shipit shipment number */
|
|
843
|
-
shipmentNumber: string | null;
|
|
844
|
-
/** Freight document URLs */
|
|
845
|
-
freightDoc: string[];
|
|
846
841
|
}
|
|
847
842
|
/**
|
|
848
843
|
* Order status values (matches Prisma OrderStatus enum)
|