@managesome/eposmatic-toolkit 0.2.472 → 0.2.473

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.
@@ -105,7 +105,6 @@ export declare function getChangeCourseStatusData(data: Partial<IOrder>, course_
105
105
  start_time: Date;
106
106
  reservation_time: Date;
107
107
  prep_minutes?: number | null;
108
- order_taker_details?: import("../../schemas").IStaffDetails | null;
109
108
  } | null;
110
109
  _id?: string | undefined;
111
110
  tenant_id?: string | undefined;
@@ -2478,12 +2478,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
2478
2478
  table_name: string;
2479
2479
  floor_id: import("mongoose").Types.ObjectId;
2480
2480
  reservation_time: NativeDate;
2481
- order_taker_details?: {
2482
- staff_id: string;
2483
- staff_name: string;
2484
- staff_mobile: string;
2485
- staff_email: string;
2486
- } | null | undefined;
2487
2481
  prep_minutes?: number | null | undefined;
2488
2482
  } | null | undefined;
2489
2483
  takeaway_details?: {
@@ -3746,12 +3740,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
3746
3740
  table_name: string;
3747
3741
  floor_id: import("mongoose").Types.ObjectId;
3748
3742
  reservation_time: NativeDate;
3749
- order_taker_details?: {
3750
- staff_id: string;
3751
- staff_name: string;
3752
- staff_mobile: string;
3753
- staff_email: string;
3754
- } | null | undefined;
3755
3743
  prep_minutes?: number | null | undefined;
3756
3744
  } | null | undefined;
3757
3745
  takeaway_details?: {
@@ -5014,12 +5002,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
5014
5002
  table_name: string;
5015
5003
  floor_id: import("mongoose").Types.ObjectId;
5016
5004
  reservation_time: NativeDate;
5017
- order_taker_details?: {
5018
- staff_id: string;
5019
- staff_name: string;
5020
- staff_mobile: string;
5021
- staff_email: string;
5022
- } | null | undefined;
5023
5005
  prep_minutes?: number | null | undefined;
5024
5006
  } | null | undefined;
5025
5007
  takeaway_details?: {
@@ -5155,12 +5137,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
5155
5137
  table_name: string;
5156
5138
  floor_id: import("mongoose").Types.ObjectId;
5157
5139
  reservation_time: NativeDate;
5158
- order_taker_details?: {
5159
- staff_id: string;
5160
- staff_name: string;
5161
- staff_mobile: string;
5162
- staff_email: string;
5163
- } | null | undefined;
5164
5140
  prep_minutes?: number | null | undefined;
5165
5141
  } | null | undefined;
5166
5142
  takeaway_details?: {
@@ -7593,12 +7569,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
7593
7569
  table_name: string;
7594
7570
  floor_id: import("mongoose").Types.ObjectId;
7595
7571
  reservation_time: NativeDate;
7596
- order_taker_details?: {
7597
- staff_id: string;
7598
- staff_name: string;
7599
- staff_mobile: string;
7600
- staff_email: string;
7601
- } | null | undefined;
7602
7572
  prep_minutes?: number | null | undefined;
7603
7573
  } | null | undefined;
7604
7574
  takeaway_details?: {
@@ -8861,12 +8831,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
8861
8831
  table_name: string;
8862
8832
  floor_id: import("mongoose").Types.ObjectId;
8863
8833
  reservation_time: NativeDate;
8864
- order_taker_details?: {
8865
- staff_id: string;
8866
- staff_name: string;
8867
- staff_mobile: string;
8868
- staff_email: string;
8869
- } | null | undefined;
8870
8834
  prep_minutes?: number | null | undefined;
8871
8835
  } | null | undefined;
8872
8836
  takeaway_details?: {
@@ -10129,12 +10093,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
10129
10093
  table_name: string;
10130
10094
  floor_id: import("mongoose").Types.ObjectId;
10131
10095
  reservation_time: NativeDate;
10132
- order_taker_details?: {
10133
- staff_id: string;
10134
- staff_name: string;
10135
- staff_mobile: string;
10136
- staff_email: string;
10137
- } | null | undefined;
10138
10096
  prep_minutes?: number | null | undefined;
10139
10097
  } | null | undefined;
10140
10098
  takeaway_details?: {
@@ -10270,12 +10228,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
10270
10228
  table_name: string;
10271
10229
  floor_id: import("mongoose").Types.ObjectId;
10272
10230
  reservation_time: NativeDate;
10273
- order_taker_details?: {
10274
- staff_id: string;
10275
- staff_name: string;
10276
- staff_mobile: string;
10277
- staff_email: string;
10278
- } | null | undefined;
10279
10231
  prep_minutes?: number | null | undefined;
10280
10232
  } | null | undefined;
10281
10233
  takeaway_details?: {
@@ -12708,12 +12660,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
12708
12660
  table_name: string;
12709
12661
  floor_id: import("mongoose").Types.ObjectId;
12710
12662
  reservation_time: NativeDate;
12711
- order_taker_details?: {
12712
- staff_id: string;
12713
- staff_name: string;
12714
- staff_mobile: string;
12715
- staff_email: string;
12716
- } | null | undefined;
12717
12663
  prep_minutes?: number | null | undefined;
12718
12664
  } | null | undefined;
12719
12665
  takeaway_details?: {
@@ -13976,12 +13922,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
13976
13922
  table_name: string;
13977
13923
  floor_id: import("mongoose").Types.ObjectId;
13978
13924
  reservation_time: NativeDate;
13979
- order_taker_details?: {
13980
- staff_id: string;
13981
- staff_name: string;
13982
- staff_mobile: string;
13983
- staff_email: string;
13984
- } | null | undefined;
13985
13925
  prep_minutes?: number | null | undefined;
13986
13926
  } | null | undefined;
13987
13927
  takeaway_details?: {
@@ -15244,12 +15184,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
15244
15184
  table_name: string;
15245
15185
  floor_id: import("mongoose").Types.ObjectId;
15246
15186
  reservation_time: NativeDate;
15247
- order_taker_details?: {
15248
- staff_id: string;
15249
- staff_name: string;
15250
- staff_mobile: string;
15251
- staff_email: string;
15252
- } | null | undefined;
15253
15187
  prep_minutes?: number | null | undefined;
15254
15188
  } | null | undefined;
15255
15189
  takeaway_details?: {
@@ -15385,12 +15319,6 @@ export declare const OrderSchema: Schema<any, import("mongoose").Model<any, any,
15385
15319
  table_name: string;
15386
15320
  floor_id: import("mongoose").Types.ObjectId;
15387
15321
  reservation_time: NativeDate;
15388
- order_taker_details?: {
15389
- staff_id: string;
15390
- staff_name: string;
15391
- staff_mobile: string;
15392
- staff_email: string;
15393
- } | null | undefined;
15394
15322
  prep_minutes?: number | null | undefined;
15395
15323
  } | null | undefined;
15396
15324
  takeaway_details?: {
@@ -96,11 +96,6 @@ const DineInDetailsSchema = new mongoose_1.Schema({
96
96
  type: Number,
97
97
  required: false,
98
98
  },
99
- /** @deprecated Use top-level order_taker_details instead. */
100
- order_taker_details: {
101
- type: StaffDetailsSchema,
102
- required: false,
103
- },
104
99
  courses: {
105
100
  type: [OrderCourseSchema],
106
101
  default: null,
@@ -114,8 +114,6 @@ export interface IOrderDineInDetails {
114
114
  start_time: Date;
115
115
  reservation_time: Date;
116
116
  prep_minutes?: number | null;
117
- /** @deprecated Use top-level order_taker_details instead. */
118
- order_taker_details?: IStaffDetails | null;
119
117
  courses: IOrderCourse[] | null;
120
118
  }
121
119
  export interface IOrderTakeawayDetails {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.472",
3
+ "version": "0.2.473",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",