umwd-components 0.1.835 → 0.1.836

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.
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import { ShippingStatus } from "../../../types/e-commerce/parcelreference/types";
3
+ interface ShippingStatusIndicatorProps {
4
+ shipping_status: ShippingStatus;
5
+ provider_id?: string;
6
+ }
7
+ export declare const ShippingStatusIndicator: React.FC<ShippingStatusIndicatorProps>;
8
+ export {};
@@ -256,3 +256,4 @@ export { getAllMinioReferences as getAllMinioReferences } from "./data/loaders/c
256
256
  export { MinioItemList as MinioItemList } from "./components/common/media/minio/MinioItemList";
257
257
  export { MinioDisplay as MinioDisplay } from "./components/common/media/minio/MinioDisplay";
258
258
  export { contactFormAction as contactFormAction } from "./data/actions/e-commerce/lead/contactFormAction";
259
+ export { ShippingStatusIndicator as ShippingStatusIndicator } from "./components/e-commerce/opo/ShippingStatusIndicator";
@@ -6,6 +6,7 @@ import { StrapiImageProps } from "../../StrapiImageProps";
6
6
  import { CustomerLabel } from "../customer/types";
7
7
  import { Note } from "../../logistics/Note";
8
8
  import { Report, PreReport } from "../../logistics/Report";
9
+ import { Parcelreference } from "../parcelreference/types";
9
10
  export interface OpoItem {
10
11
  id: number;
11
12
  documentId: string;
@@ -39,6 +40,7 @@ export interface Opo {
39
40
  delivery_note: {
40
41
  name: string;
41
42
  };
43
+ parcel_reference?: Parcelreference;
42
44
  }
43
45
  export interface ManageOpoFormProps {
44
46
  opo: Opo;
@@ -0,0 +1,7 @@
1
+ export interface Parcelreference {
2
+ id: number;
3
+ uuid: string;
4
+ external_id: string;
5
+ parcel_status: ShippingStatus;
6
+ }
7
+ export type ShippingStatus = "open" | "pending" | "authorized" | "paid" | "canceled" | "expired" | "failed" | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umwd-components",
3
- "version": "0.1.835",
3
+ "version": "0.1.836",
4
4
  "description": "UMWD Component library",
5
5
  "main": "./dist/cjs/src/index.js",
6
6
  "module": "./dist/esm/src/index.js",