@mcdylanproperenterprise/nodejs-proper-sunsoontaat-types 0.0.10 → 0.0.12

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/package.json +1 -1
  2. package/types.d.ts +15 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcdylanproperenterprise/nodejs-proper-sunsoontaat-types",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "description": "",
5
5
  "main": "",
6
6
  "types": "index.d.ts",
package/types.d.ts CHANGED
@@ -151,11 +151,23 @@ export type TPostCustomerUpdateResponse = {
151
151
  id: string;
152
152
  };
153
153
 
154
+ export type TProduct = {
155
+ productType: EProductType;
156
+ width: number;
157
+ height: number;
158
+ feet: number;
159
+ isFeetUp: boolean;
160
+ thickness: number;
161
+ unitOfMeasurement: EProductUnitOfMeasurement;
162
+ quantity: number;
163
+ };
164
+
154
165
  export type TOrder = {
155
166
  _id: string;
156
167
  purchaseOrderNo: string;
157
168
  customerId: string;
158
- products: string[];
169
+ adminId: string;
170
+ products: TProduct[];
159
171
  addOn: string | null;
160
172
  isOwnCollect: boolean;
161
173
  deliveryAddress: string | null;
@@ -164,17 +176,8 @@ export type TOrder = {
164
176
  purchaseOrderAt: Date | null;
165
177
  updatedAt: Date | null;
166
178
  createdAt: Date;
167
- };
168
-
169
- export type TProduct = {
170
- productType: EProductType;
171
- width: number;
172
- height: number;
173
- feet: number;
174
- isFeetUp: boolean;
175
- thickness: number;
176
- unitOfMeasurement: EProductUnitOfMeasurement;
177
- quantity: number;
179
+ admin: TAdmin;
180
+ customer: TCustomer;
178
181
  };
179
182
 
180
183
  export type TGetOrderQuery = {