tango-api-schema 2.0.11 → 2.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.
package/index.js CHANGED
@@ -3,9 +3,15 @@ import otpModel from "./schema/otp.model.js";
3
3
  import storeModel from "./schema/store.model.js";
4
4
  import countryCodesModel from './schema/countryCodes.model.js';
5
5
  import clientModel from "./schema/client.model.js";
6
- import tangoTicketModel from "./schema/tangoTicket.model.js";
7
- import virtualModel from "./schema/virtualAccount.model.js";
8
- import basePricingModel from "./schema/basePricing.model.js";
6
+ import tangoTicketModel from "./schema/tangoTicket.model.js"
7
+ import virtualAccountModel from "./schema/virtualAccount.model.js";
8
+ import ipLogModel from "./schema/ipLogs.model.js";
9
+ import userModel from "./schema/user.model.js";
10
+ import edgeAppVersionModel from './schema/edgeAppVersion.model.js';
11
+ import applicationDefaultModel from "./schema/applicationDefault.model.js";
12
+ import cameraModel from "./schema/camera.model.js";
13
+ import reportModel from "./schema/report.model.js";
14
+
9
15
 
10
16
  export default {
11
17
  leadModel,
@@ -14,6 +20,11 @@ export default {
14
20
  countryCodesModel,
15
21
  clientModel,
16
22
  tangoTicketModel,
17
- virtualModel,
18
- basePricingModel,
23
+ virtualAccountModel,
24
+ ipLogModel,
25
+ userModel,
26
+ edgeAppVersionModel,
27
+ applicationDefaultModel,
28
+ cameraModel,
29
+ userModel
19
30
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-api-schema",
3
- "version": "2.0.11",
3
+ "version": "2.0.12",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -1,25 +0,0 @@
1
- import mongoose from 'mongoose'
2
- import mongooseUniqueValidator from 'mongoose-unique-validator'
3
-
4
- let pricingSchema = new mongoose.Schema(
5
- {
6
- product_name:{
7
- type:String,
8
- required:true
9
- },
10
- base_price: {
11
- type:Number,
12
- required: true
13
- },
14
- discout_percentage: {
15
- type:Number,
16
- required:true
17
- },
18
- camara_per_stores: {
19
- type:Array
20
- }
21
- }
22
- )
23
-
24
- pricingSchema.plugin(mongooseUniqueValidator);
25
- export default mongoose.model('basepricing', pricingSchema);
File without changes