@djaouad10/shared-types 1.0.27 → 1.0.29
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/index.d.ts +2 -1
- 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 OrderSubStatus = 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:
|
|
711
|
+
output: OrderSubStatus;
|
|
711
712
|
meta: object;
|
|
712
713
|
}>;
|
|
713
714
|
create: import("@trpc/server").TRPCMutationProcedure<{
|