@djaouad10/shared-types 1.0.27 → 1.0.28

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/index.d.ts +2 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -132,6 +132,7 @@ export type ExtendedOrderDTO = PublicOrderDTO & {
132
132
  };
133
133
  export type DeliveredOrderSubStatus = "DRIVER_COLLECTED_CASH" | "STATION_COLLECTED_CASH" | "CASH_READY_FOR_COLLECTION_BY_SHIPPER" | "CASH_COLLECTED_BY_SHIPPER";
134
134
  export type ReturnedOrderSubStatus = "RETURN_REQUEST_RECEIVED" | "RETURN_BEING_PROCESSED" | "RETURN_WITH_DRIVER" | "WILL_BE_RETURNED_TO_WAREHOUSE" | "RETURN_IN_TRANSIT" | "RETURNED_TO_WAREHOUSE" | "RETURN_DONE";
135
+ export type OrderSubStatusReturn = DeliveredOrderSubStatus | ReturnedOrderSubStatus | "UNKNOWN";
135
136
  export interface PublicRatingDTO {
136
137
  rating: number;
137
138
  userId: string;
@@ -707,7 +708,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
707
708
  input: {
708
709
  trackingNumber: string;
709
710
  };
710
- output: DeliveredOrderSubStatus | ReturnedOrderSubStatus;
711
+ output: OrderSubStatusReturn;
711
712
  meta: object;
712
713
  }>;
713
714
  create: import("@trpc/server").TRPCMutationProcedure<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djaouad10/shared-types",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "types": "./index.d.ts",
5
5
  "publishConfig": {
6
6
  "access": "public"