@managesome/eposmatic-toolkit 0.2.502 → 0.2.503

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.
@@ -101,6 +101,12 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
101
101
  card_gst: number;
102
102
  cash_gst: number;
103
103
  default_gst_type: GST_TYPE_ENUM;
104
+ im_card_gst: number;
105
+ im_cash_gst: number;
106
+ default_im_gst_type: GST_TYPE_ENUM;
107
+ po_card_gst: number;
108
+ po_cash_gst: number;
109
+ default_po_gst_type: GST_TYPE_ENUM;
104
110
  web_cover_image: string;
105
111
  web_favicon: string;
106
112
  web_design_type: ONLINE_ORDERING_DESIGN_TYPE_ENUM;
@@ -118,6 +124,8 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
118
124
  auto_accept_order_for_platforms: PLATFORMS_ENUM[];
119
125
  custom_payment_types: string[];
120
126
  expense_payment_types: string[];
127
+ im_custom_payment_types: string[];
128
+ po_custom_payment_types: string[];
121
129
  reservation_enabled: boolean;
122
130
  integrations: string[];
123
131
  exempt_gst_for_platforms: PLATFORMS_ENUM[];
@@ -273,6 +281,12 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
273
281
  card_gst: number;
274
282
  cash_gst: number;
275
283
  default_gst_type: GST_TYPE_ENUM;
284
+ im_card_gst: number;
285
+ im_cash_gst: number;
286
+ default_im_gst_type: GST_TYPE_ENUM;
287
+ po_card_gst: number;
288
+ po_cash_gst: number;
289
+ default_po_gst_type: GST_TYPE_ENUM;
276
290
  web_cover_image: string;
277
291
  web_favicon: string;
278
292
  web_design_type: ONLINE_ORDERING_DESIGN_TYPE_ENUM;
@@ -290,6 +304,8 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
290
304
  auto_accept_order_for_platforms: PLATFORMS_ENUM[];
291
305
  custom_payment_types: string[];
292
306
  expense_payment_types: string[];
307
+ im_custom_payment_types: string[];
308
+ po_custom_payment_types: string[];
293
309
  reservation_enabled: boolean;
294
310
  integrations: string[];
295
311
  exempt_gst_for_platforms: PLATFORMS_ENUM[];
@@ -445,6 +461,12 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
445
461
  card_gst: number;
446
462
  cash_gst: number;
447
463
  default_gst_type: GST_TYPE_ENUM;
464
+ im_card_gst: number;
465
+ im_cash_gst: number;
466
+ default_im_gst_type: GST_TYPE_ENUM;
467
+ po_card_gst: number;
468
+ po_cash_gst: number;
469
+ default_po_gst_type: GST_TYPE_ENUM;
448
470
  web_cover_image: string;
449
471
  web_favicon: string;
450
472
  web_design_type: ONLINE_ORDERING_DESIGN_TYPE_ENUM;
@@ -462,6 +484,8 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
462
484
  auto_accept_order_for_platforms: PLATFORMS_ENUM[];
463
485
  custom_payment_types: string[];
464
486
  expense_payment_types: string[];
487
+ im_custom_payment_types: string[];
488
+ po_custom_payment_types: string[];
465
489
  reservation_enabled: boolean;
466
490
  integrations: string[];
467
491
  exempt_gst_for_platforms: PLATFORMS_ENUM[];
@@ -446,6 +446,32 @@ exports.TenantSchema = new mongoose_1.Schema({
446
446
  enum: constants_1.ALL_GST_TYPES,
447
447
  default: constants_1.GST_TYPE_ENUM.CARD,
448
448
  },
449
+ im_card_gst: {
450
+ type: Number,
451
+ default: 10,
452
+ },
453
+ im_cash_gst: {
454
+ type: Number,
455
+ default: 5,
456
+ },
457
+ default_im_gst_type: {
458
+ type: String,
459
+ enum: constants_1.ALL_GST_TYPES,
460
+ default: constants_1.GST_TYPE_ENUM.CARD,
461
+ },
462
+ po_card_gst: {
463
+ type: Number,
464
+ default: 10,
465
+ },
466
+ po_cash_gst: {
467
+ type: Number,
468
+ default: 5,
469
+ },
470
+ default_po_gst_type: {
471
+ type: String,
472
+ enum: constants_1.ALL_GST_TYPES,
473
+ default: constants_1.GST_TYPE_ENUM.CARD,
474
+ },
449
475
  web_design_type: {
450
476
  type: String,
451
477
  enum: constants_1.ALL_ONLINE_ORDERING_DESIGN_TYPES,
@@ -565,6 +591,14 @@ exports.TenantSchema = new mongoose_1.Schema({
565
591
  type: [String],
566
592
  default: [],
567
593
  },
594
+ im_custom_payment_types: {
595
+ type: [String],
596
+ default: [],
597
+ },
598
+ po_custom_payment_types: {
599
+ type: [String],
600
+ default: [],
601
+ },
568
602
  takeaway_is_pickup: {
569
603
  type: Boolean,
570
604
  required: false,
@@ -29,29 +29,29 @@ export declare const WarehouseSchema: Schema<any, import("mongoose").Model<any,
29
29
  coordinates: number[];
30
30
  brand_color: string;
31
31
  public_business_name: string;
32
+ im_card_gst: number;
33
+ im_cash_gst: number;
34
+ default_im_gst_type: GST_TYPE_ENUM;
35
+ po_card_gst: number;
36
+ po_cash_gst: number;
37
+ default_po_gst_type: GST_TYPE_ENUM;
32
38
  operational_time_zone_offset_gmt: number;
33
39
  operational_start_time: number;
34
40
  operational_end_time: number;
35
41
  alert_phone_numbers: string[];
36
42
  alert_email_addresses: string[];
37
43
  alert_when: string[];
44
+ im_custom_payment_types: string[];
45
+ po_custom_payment_types: string[];
38
46
  warehouse_address: string;
39
- po_card_gst: number;
40
- po_cash_gst: number;
41
47
  invoice_card_gst: number;
42
48
  invoice_cash_gst: number;
43
- default_po_gst_type: GST_TYPE_ENUM;
44
49
  default_invoice_gst_type: GST_TYPE_ENUM;
45
- im_card_gst: number;
46
- im_cash_gst: number;
47
- default_im_gst_type: GST_TYPE_ENUM;
48
50
  track_purchase_order_number_by: TRACK_ORDER_NUMBER_ENUM;
49
51
  track_invoice_number_by: TRACK_ORDER_NUMBER_ENUM;
50
52
  enable_lot_serial_tracking: boolean;
51
53
  default_removal_strategy: WAREHOUSE_REMOVAL_STRATEGY_ENUM;
52
- po_custom_payment_types: string[];
53
54
  invoice_custom_payment_types: string[];
54
- im_custom_payment_types: string[];
55
55
  tax_invoice_provider?: import("../../constants").TAX_INVOICE_PROVIDER_ENUM | null | undefined;
56
56
  is_gst_inclusive?: boolean | null | undefined;
57
57
  exclude_discount_from_gst?: boolean | null | undefined;
@@ -83,29 +83,29 @@ export declare const WarehouseSchema: Schema<any, import("mongoose").Model<any,
83
83
  coordinates: number[];
84
84
  brand_color: string;
85
85
  public_business_name: string;
86
+ im_card_gst: number;
87
+ im_cash_gst: number;
88
+ default_im_gst_type: GST_TYPE_ENUM;
89
+ po_card_gst: number;
90
+ po_cash_gst: number;
91
+ default_po_gst_type: GST_TYPE_ENUM;
86
92
  operational_time_zone_offset_gmt: number;
87
93
  operational_start_time: number;
88
94
  operational_end_time: number;
89
95
  alert_phone_numbers: string[];
90
96
  alert_email_addresses: string[];
91
97
  alert_when: string[];
98
+ im_custom_payment_types: string[];
99
+ po_custom_payment_types: string[];
92
100
  warehouse_address: string;
93
- po_card_gst: number;
94
- po_cash_gst: number;
95
101
  invoice_card_gst: number;
96
102
  invoice_cash_gst: number;
97
- default_po_gst_type: GST_TYPE_ENUM;
98
103
  default_invoice_gst_type: GST_TYPE_ENUM;
99
- im_card_gst: number;
100
- im_cash_gst: number;
101
- default_im_gst_type: GST_TYPE_ENUM;
102
104
  track_purchase_order_number_by: TRACK_ORDER_NUMBER_ENUM;
103
105
  track_invoice_number_by: TRACK_ORDER_NUMBER_ENUM;
104
106
  enable_lot_serial_tracking: boolean;
105
107
  default_removal_strategy: WAREHOUSE_REMOVAL_STRATEGY_ENUM;
106
- po_custom_payment_types: string[];
107
108
  invoice_custom_payment_types: string[];
108
- im_custom_payment_types: string[];
109
109
  tax_invoice_provider?: import("../../constants").TAX_INVOICE_PROVIDER_ENUM | null | undefined;
110
110
  is_gst_inclusive?: boolean | null | undefined;
111
111
  exclude_discount_from_gst?: boolean | null | undefined;
@@ -137,29 +137,29 @@ export declare const WarehouseSchema: Schema<any, import("mongoose").Model<any,
137
137
  coordinates: number[];
138
138
  brand_color: string;
139
139
  public_business_name: string;
140
+ im_card_gst: number;
141
+ im_cash_gst: number;
142
+ default_im_gst_type: GST_TYPE_ENUM;
143
+ po_card_gst: number;
144
+ po_cash_gst: number;
145
+ default_po_gst_type: GST_TYPE_ENUM;
140
146
  operational_time_zone_offset_gmt: number;
141
147
  operational_start_time: number;
142
148
  operational_end_time: number;
143
149
  alert_phone_numbers: string[];
144
150
  alert_email_addresses: string[];
145
151
  alert_when: string[];
152
+ im_custom_payment_types: string[];
153
+ po_custom_payment_types: string[];
146
154
  warehouse_address: string;
147
- po_card_gst: number;
148
- po_cash_gst: number;
149
155
  invoice_card_gst: number;
150
156
  invoice_cash_gst: number;
151
- default_po_gst_type: GST_TYPE_ENUM;
152
157
  default_invoice_gst_type: GST_TYPE_ENUM;
153
- im_card_gst: number;
154
- im_cash_gst: number;
155
- default_im_gst_type: GST_TYPE_ENUM;
156
158
  track_purchase_order_number_by: TRACK_ORDER_NUMBER_ENUM;
157
159
  track_invoice_number_by: TRACK_ORDER_NUMBER_ENUM;
158
160
  enable_lot_serial_tracking: boolean;
159
161
  default_removal_strategy: WAREHOUSE_REMOVAL_STRATEGY_ENUM;
160
- po_custom_payment_types: string[];
161
162
  invoice_custom_payment_types: string[];
162
- im_custom_payment_types: string[];
163
163
  tax_invoice_provider?: import("../../constants").TAX_INVOICE_PROVIDER_ENUM | null | undefined;
164
164
  is_gst_inclusive?: boolean | null | undefined;
165
165
  exclude_discount_from_gst?: boolean | null | undefined;
@@ -104,6 +104,12 @@ export interface ITenant {
104
104
  card_gst: number;
105
105
  cash_gst: number;
106
106
  default_gst_type: GST_TYPE_ENUM;
107
+ im_card_gst: number;
108
+ im_cash_gst: number;
109
+ default_im_gst_type: GST_TYPE_ENUM;
110
+ po_card_gst: number;
111
+ po_cash_gst: number;
112
+ default_po_gst_type: GST_TYPE_ENUM;
107
113
  web_cover_image: string;
108
114
  web_favicon: string;
109
115
  web_design_type: ONLINE_ORDERING_DESIGN_TYPE_ENUM;
@@ -128,6 +134,8 @@ export interface ITenant {
128
134
  auto_accept_order_for_platforms: PLATFORMS_ENUM[];
129
135
  custom_payment_types: string[];
130
136
  expense_payment_types: string[];
137
+ im_custom_payment_types: string[];
138
+ po_custom_payment_types: string[];
131
139
  takeaway_is_pickup?: boolean;
132
140
  reservation_enabled: boolean;
133
141
  ms_clarity_id?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.502",
3
+ "version": "0.2.503",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",