@djaouad10/shared-types 1.0.28 → 1.0.30
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 +3 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -132,7 +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
|
|
135
|
+
export type OrderSubStatus = DeliveredOrderSubStatus | ReturnedOrderSubStatus | "UNKNOWN";
|
|
136
136
|
export interface PublicRatingDTO {
|
|
137
137
|
rating: number;
|
|
138
138
|
userId: string;
|
|
@@ -708,7 +708,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
708
708
|
input: {
|
|
709
709
|
trackingNumber: string;
|
|
710
710
|
};
|
|
711
|
-
output:
|
|
711
|
+
output: OrderSubStatus;
|
|
712
712
|
meta: object;
|
|
713
713
|
}>;
|
|
714
714
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -890,7 +890,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
890
890
|
}>;
|
|
891
891
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
892
892
|
input: {
|
|
893
|
-
|
|
893
|
+
variationId: string;
|
|
894
894
|
data: {
|
|
895
895
|
totalQty?: number | undefined;
|
|
896
896
|
weightInGrams?: number | undefined;
|