tango-api-schema 2.6.49 → 2.6.51
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
|
@@ -764,8 +764,45 @@ const checklistconfigSchema = new mongoose.Schema({
|
|
|
764
764
|
type:String,
|
|
765
765
|
enum: ['specificInfo', 'commonInfo'],
|
|
766
766
|
default: 'commonInfo'
|
|
767
|
-
|
|
768
|
-
|
|
767
|
+
},
|
|
768
|
+
trackCustomerExit:{
|
|
769
|
+
type:Boolean
|
|
770
|
+
},
|
|
771
|
+
emptySeat: {
|
|
772
|
+
enabled: {
|
|
773
|
+
type:Boolean
|
|
774
|
+
},
|
|
775
|
+
time: {
|
|
776
|
+
type:String
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
occupiedSeat: {
|
|
780
|
+
enabled: {
|
|
781
|
+
type:Boolean
|
|
782
|
+
},
|
|
783
|
+
time: {
|
|
784
|
+
type:String
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
countDetection: {
|
|
788
|
+
enabled: {
|
|
789
|
+
type:Boolean
|
|
790
|
+
},
|
|
791
|
+
objectType: {
|
|
792
|
+
type:String
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
countExceedAlert: {
|
|
796
|
+
enabled: {
|
|
797
|
+
type:Boolean
|
|
798
|
+
},
|
|
799
|
+
objectType: {
|
|
800
|
+
type:String
|
|
801
|
+
},
|
|
802
|
+
count: {
|
|
803
|
+
type:Number
|
|
804
|
+
}
|
|
805
|
+
},
|
|
769
806
|
}
|
|
770
807
|
|
|
771
808
|
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import mongoose from 'mongoose';
|
|
2
|
-
import { randomUUID } from 'crypto';
|
|
3
|
-
|
|
4
|
-
// schema
|
|
5
|
-
const collection = new mongoose.Schema({
|
|
6
|
-
apiKey: {
|
|
7
|
-
type: String,
|
|
8
|
-
required: true,
|
|
9
|
-
unique: true,
|
|
10
|
-
default: () => randomUUID()
|
|
11
|
-
},
|
|
12
|
-
countryName: {
|
|
13
|
-
type: String,
|
|
14
|
-
},
|
|
15
|
-
countryCode: {
|
|
16
|
-
type: String,
|
|
17
|
-
},
|
|
18
|
-
clientId: {
|
|
19
|
-
type: String,
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
timestamps: true,
|
|
24
|
-
strict: true,
|
|
25
|
-
versionKey: false,
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
collection.index({ apiKey: 1 });
|
|
30
|
-
|
|
31
|
-
export default mongoose.model('regionKey', collection, 'regionKey');
|
|
1
|
+
import mongoose from 'mongoose';
|
|
2
|
+
import { randomUUID } from 'crypto';
|
|
3
|
+
|
|
4
|
+
// schema
|
|
5
|
+
const collection = new mongoose.Schema({
|
|
6
|
+
apiKey: {
|
|
7
|
+
type: String,
|
|
8
|
+
required: true,
|
|
9
|
+
unique: true,
|
|
10
|
+
default: () => randomUUID()
|
|
11
|
+
},
|
|
12
|
+
countryName: {
|
|
13
|
+
type: String,
|
|
14
|
+
},
|
|
15
|
+
countryCode: {
|
|
16
|
+
type: String,
|
|
17
|
+
},
|
|
18
|
+
clientId: {
|
|
19
|
+
type: String,
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
timestamps: true,
|
|
24
|
+
strict: true,
|
|
25
|
+
versionKey: false,
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
collection.index({ apiKey: 1 });
|
|
30
|
+
|
|
31
|
+
export default mongoose.model('regionKey', collection, 'regionKey');
|
|
@@ -95,6 +95,11 @@ const storeLayoutSchema = new mongoose.Schema( {
|
|
|
95
95
|
type: Array,
|
|
96
96
|
default: [],
|
|
97
97
|
},
|
|
98
|
+
// KissFlow project item identifier (set via createCADPlanoKISSFLOW cadCreation step).
|
|
99
|
+
// Request field is `projectItemId`; stored here as `kissflowProjectItemId`.
|
|
100
|
+
kissflowProjectItemId:{
|
|
101
|
+
type: String,
|
|
102
|
+
},
|
|
98
103
|
},
|
|
99
104
|
{
|
|
100
105
|
strict: true,
|