tango-api-schema 2.0.129 → 2.0.130

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-api-schema",
3
- "version": "2.0.129",
3
+ "version": "2.0.130",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -258,51 +258,64 @@ const client = new mongoose.Schema(
258
258
  infraAlert: {
259
259
  condition: {
260
260
  type: String,
261
+ default:"<"
261
262
  },
262
263
  value: {
263
264
  type: Number,
265
+ default:"1"
264
266
  },
265
267
  },
266
268
  bouncedLimit: {
267
269
  condition: {
268
270
  type: String,
271
+ default:'<='
269
272
  },
270
273
  value: {
271
274
  type: Number,
275
+ default: "1"
272
276
  },
273
277
  },
274
278
  missedOpportunityFrom: {
275
279
  condition: {
276
280
  type: String,
281
+ default: '>'
277
282
  },
278
283
  value: {
279
284
  type: Number,
285
+ default:'1'
280
286
  },
281
287
  },
282
288
  missedOpportunityTo: {
283
289
  condition: {
284
290
  type: String,
291
+ default:"<="
285
292
  },
286
293
  value: {
287
294
  type: Number,
295
+ default:"5"
288
296
  },
289
297
  },
290
298
  conversion: {
291
299
  condition: {
292
300
  type: String,
301
+ default:">"
293
302
  },
294
303
  value: {
295
304
  type: Number,
305
+ default:'5'
296
306
  },
297
307
  },
298
308
  billableCalculation: {
299
309
  type: String,
310
+ default:"engagers-count"
300
311
  },
301
312
  missedOpportunityCalculation: {
302
313
  type: String,
314
+ default:"engagers-conversion"
303
315
  },
304
316
  conversionCalculation: {
305
317
  type: String,
318
+ default:"engagers-count"
306
319
  },
307
320
  isNormalized: {
308
321
  type: Boolean,