@managesome/eposmatic-toolkit 0.2.294 → 0.2.296

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.
@@ -104,6 +104,7 @@ export interface ISettingsForWeb {
104
104
  instagram_link: ITenant['instagram_link'];
105
105
  twitter_link: ITenant['twitter_link'];
106
106
  tiktok_link: ITenant['tiktok_link'];
107
+ app_version: ITenant['app_version'];
107
108
  }
108
109
  export declare function getSettingsForWeb(settings: ITenant): ISettingsForWeb;
109
110
  export interface ISettingsForPOS {
@@ -200,6 +200,7 @@ function getSettingsForWeb(settings) {
200
200
  instagram_link: settings.instagram_link,
201
201
  twitter_link: settings.twitter_link,
202
202
  tiktok_link: settings.tiktok_link,
203
+ app_version: settings.app_version,
203
204
  };
204
205
  }
205
206
  function getSettingsForPOS(settings) {
@@ -173,6 +173,7 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
173
173
  specials_name?: string | null | undefined;
174
174
  receipt_qr_type?: import("../../constants").RECEIPT_QR_CODE_TYPE_ENUM | null | undefined;
175
175
  menu_source?: string | null | undefined;
176
+ app_version?: string | null | undefined;
176
177
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
177
178
  createdAt: NativeDate;
178
179
  updatedAt: NativeDate;
@@ -342,6 +343,7 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
342
343
  specials_name?: string | null | undefined;
343
344
  receipt_qr_type?: import("../../constants").RECEIPT_QR_CODE_TYPE_ENUM | null | undefined;
344
345
  menu_source?: string | null | undefined;
346
+ app_version?: string | null | undefined;
345
347
  }>> & import("mongoose").FlatRecord<{
346
348
  createdAt: NativeDate;
347
349
  updatedAt: NativeDate;
@@ -511,6 +513,7 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
511
513
  specials_name?: string | null | undefined;
512
514
  receipt_qr_type?: import("../../constants").RECEIPT_QR_CODE_TYPE_ENUM | null | undefined;
513
515
  menu_source?: string | null | undefined;
516
+ app_version?: string | null | undefined;
514
517
  }> & Required<{
515
518
  _id: string;
516
519
  }> & {
@@ -723,6 +723,10 @@ exports.TenantSchema = new mongoose_1.Schema({
723
723
  type: String,
724
724
  required: false,
725
725
  },
726
+ app_version: {
727
+ type: String,
728
+ required: false,
729
+ },
726
730
  // ====><====
727
731
  createdAt: {
728
732
  type: mongoose_1.Schema.Types.Date,
@@ -165,6 +165,7 @@ export interface ITenant {
165
165
  tiktok_link?: string | null;
166
166
  receipt_qr_type?: RECEIPT_QR_CODE_TYPE_ENUM | null;
167
167
  menu_source?: string | null;
168
+ app_version?: string | null;
168
169
  createdAt: Date;
169
170
  updatedAt: Date;
170
171
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.294",
3
+ "version": "0.2.296",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",