cv-contracts 2.0.4 → 2.0.5
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/dist/interfaces/v5/StatisticsV5.d.ts +15 -0
- package/dist/interfaces/v5/StatisticsV5.js +3 -0
- package/dist/interfaces/v5/StatisticsV5.js.map +1 -0
- package/dist/interfaces/v5/index.d.ts +1 -0
- package/dist/interfaces/v5/index.js +1 -0
- package/dist/interfaces/v5/index.js.map +1 -1
- package/dist/schemas/v5/LabelStatisticSchema.d.ts +26 -0
- package/dist/schemas/v5/LabelStatisticSchema.js +36 -0
- package/dist/schemas/v5/LabelStatisticSchema.js.map +1 -0
- package/dist/schemas/v5/MessageStatisticSchema.d.ts +40 -0
- package/dist/schemas/v5/MessageStatisticSchema.js +52 -0
- package/dist/schemas/v5/MessageStatisticSchema.js.map +1 -0
- package/dist/schemas/v5/NotifiedMessageStatisticSchema.d.ts +22 -0
- package/dist/schemas/v5/NotifiedMessageStatisticSchema.js +27 -0
- package/dist/schemas/v5/NotifiedMessageStatisticSchema.js.map +1 -0
- package/dist/schemas/v5/StatisticsSchema.d.ts +61 -0
- package/dist/schemas/v5/StatisticsSchema.js +75 -0
- package/dist/schemas/v5/StatisticsSchema.js.map +1 -0
- package/dist/schemas/v5/index.d.ts +3 -0
- package/dist/schemas/v5/index.js +3 -0
- package/dist/schemas/v5/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface NotifiedMessageStatistic {
|
|
2
|
+
channel_id: string;
|
|
3
|
+
notified_messages: number;
|
|
4
|
+
oldest_notified_message_id: string | null;
|
|
5
|
+
}
|
|
6
|
+
export interface LabelStatistic {
|
|
7
|
+
label_id: string;
|
|
8
|
+
notified_messages: number;
|
|
9
|
+
total_messages: number;
|
|
10
|
+
oldest_notified_message_id: string | null;
|
|
11
|
+
}
|
|
12
|
+
export interface Statistics {
|
|
13
|
+
notified_messages: NotifiedMessageStatistic[];
|
|
14
|
+
label_statistics: LabelStatistic[];
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatisticsV5.js","sourceRoot":"","sources":["../../../src/interfaces/v5/StatisticsV5.ts"],"names":[],"mappings":""}
|
|
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./MessageV5"), exports);
|
|
18
18
|
__exportStar(require("./AttachmentV5"), exports);
|
|
19
19
|
__exportStar(require("./GetMessageResponseV5"), exports);
|
|
20
|
+
__exportStar(require("./StatisticsV5"), exports);
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/v5/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,iDAA+B;AAC/B,yDAAuC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/v5/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,iDAA+B;AAC/B,yDAAuC;AACvC,iDAA+B"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const LabelStatisticSchema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
label_id: {
|
|
5
|
+
type: string;
|
|
6
|
+
};
|
|
7
|
+
notified_messages: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
total_messages: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
oldest_notified_message_id: {
|
|
14
|
+
type: string[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
additionalProperties: boolean;
|
|
18
|
+
required: string[];
|
|
19
|
+
$schema: string;
|
|
20
|
+
};
|
|
21
|
+
export declare enum LabelStatisticKeys {
|
|
22
|
+
label_id = "label_id",
|
|
23
|
+
notified_messages = "notified_messages",
|
|
24
|
+
total_messages = "total_messages",
|
|
25
|
+
oldest_notified_message_id = "oldest_notified_message_id"
|
|
26
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LabelStatisticKeys = exports.LabelStatisticSchema = void 0;
|
|
4
|
+
exports.LabelStatisticSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
label_id: {
|
|
8
|
+
type: 'string',
|
|
9
|
+
},
|
|
10
|
+
notified_messages: {
|
|
11
|
+
type: 'number',
|
|
12
|
+
},
|
|
13
|
+
total_messages: {
|
|
14
|
+
type: 'number',
|
|
15
|
+
},
|
|
16
|
+
oldest_notified_message_id: {
|
|
17
|
+
type: ['null', 'string'],
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
additionalProperties: false,
|
|
21
|
+
required: [
|
|
22
|
+
'label_id',
|
|
23
|
+
'notified_messages',
|
|
24
|
+
'oldest_notified_message_id',
|
|
25
|
+
'total_messages',
|
|
26
|
+
],
|
|
27
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
28
|
+
};
|
|
29
|
+
var LabelStatisticKeys;
|
|
30
|
+
(function (LabelStatisticKeys) {
|
|
31
|
+
LabelStatisticKeys["label_id"] = "label_id";
|
|
32
|
+
LabelStatisticKeys["notified_messages"] = "notified_messages";
|
|
33
|
+
LabelStatisticKeys["total_messages"] = "total_messages";
|
|
34
|
+
LabelStatisticKeys["oldest_notified_message_id"] = "oldest_notified_message_id";
|
|
35
|
+
})(LabelStatisticKeys = exports.LabelStatisticKeys || (exports.LabelStatisticKeys = {}));
|
|
36
|
+
//# sourceMappingURL=LabelStatisticSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LabelStatisticSchema.js","sourceRoot":"","sources":["../../../src/schemas/v5/LabelStatisticSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG;IAClC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;SACf;QACD,iBAAiB,EAAE;YACjB,IAAI,EAAE,QAAQ;SACf;QACD,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;SACf;QACD,0BAA0B,EAAE;YAC1B,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE;QACR,UAAU;QACV,mBAAmB;QACnB,4BAA4B;QAC5B,gBAAgB;KACjB;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,2CAAqB,CAAA;IACrB,6DAAuC,CAAA;IACvC,uDAAiC,CAAA;IACjC,+EAAyD,CAAA;AAC3D,CAAC,EALW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAK7B"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const MessageStatisticSchema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
group_id: {
|
|
5
|
+
type: string;
|
|
6
|
+
};
|
|
7
|
+
group_type: {
|
|
8
|
+
$ref: string;
|
|
9
|
+
};
|
|
10
|
+
total: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
notified: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
oldest_notified_message_id: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
oldest_message_id: {
|
|
20
|
+
type: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
additionalProperties: boolean;
|
|
24
|
+
required: string[];
|
|
25
|
+
definitions: {
|
|
26
|
+
GroupType: {
|
|
27
|
+
enum: string[];
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
$schema: string;
|
|
32
|
+
};
|
|
33
|
+
export declare enum MessageStatisticKeys {
|
|
34
|
+
group_id = "group_id",
|
|
35
|
+
group_type = "group_type",
|
|
36
|
+
total = "total",
|
|
37
|
+
notified = "notified",
|
|
38
|
+
oldest_notified_message_id = "oldest_notified_message_id",
|
|
39
|
+
oldest_message_id = "oldest_message_id"
|
|
40
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageStatisticKeys = exports.MessageStatisticSchema = void 0;
|
|
4
|
+
exports.MessageStatisticSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
group_id: {
|
|
8
|
+
type: 'string',
|
|
9
|
+
},
|
|
10
|
+
group_type: {
|
|
11
|
+
$ref: '#/definitions/GroupType',
|
|
12
|
+
},
|
|
13
|
+
total: {
|
|
14
|
+
type: 'number',
|
|
15
|
+
},
|
|
16
|
+
notified: {
|
|
17
|
+
type: 'number',
|
|
18
|
+
},
|
|
19
|
+
oldest_notified_message_id: {
|
|
20
|
+
type: 'string',
|
|
21
|
+
},
|
|
22
|
+
oldest_message_id: {
|
|
23
|
+
type: 'string',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
additionalProperties: false,
|
|
27
|
+
required: [
|
|
28
|
+
'group_id',
|
|
29
|
+
'group_type',
|
|
30
|
+
'notified',
|
|
31
|
+
'oldest_message_id',
|
|
32
|
+
'oldest_notified_message_id',
|
|
33
|
+
'total',
|
|
34
|
+
],
|
|
35
|
+
definitions: {
|
|
36
|
+
GroupType: {
|
|
37
|
+
enum: ['conversation_id', 'label_id'],
|
|
38
|
+
type: 'string',
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
42
|
+
};
|
|
43
|
+
var MessageStatisticKeys;
|
|
44
|
+
(function (MessageStatisticKeys) {
|
|
45
|
+
MessageStatisticKeys["group_id"] = "group_id";
|
|
46
|
+
MessageStatisticKeys["group_type"] = "group_type";
|
|
47
|
+
MessageStatisticKeys["total"] = "total";
|
|
48
|
+
MessageStatisticKeys["notified"] = "notified";
|
|
49
|
+
MessageStatisticKeys["oldest_notified_message_id"] = "oldest_notified_message_id";
|
|
50
|
+
MessageStatisticKeys["oldest_message_id"] = "oldest_message_id";
|
|
51
|
+
})(MessageStatisticKeys = exports.MessageStatisticKeys || (exports.MessageStatisticKeys = {}));
|
|
52
|
+
//# sourceMappingURL=MessageStatisticSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageStatisticSchema.js","sourceRoot":"","sources":["../../../src/schemas/v5/MessageStatisticSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,yBAAyB;SAChC;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;SACf;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;SACf;QACD,0BAA0B,EAAE;YAC1B,IAAI,EAAE,QAAQ;SACf;QACD,iBAAiB,EAAE;YACjB,IAAI,EAAE,QAAQ;SACf;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE;QACR,UAAU;QACV,YAAY;QACZ,UAAU;QACV,mBAAmB;QACnB,4BAA4B;QAC5B,OAAO;KACR;IACD,WAAW,EAAE;QACX,SAAS,EAAE;YACT,IAAI,EAAE,CAAC,iBAAiB,EAAE,UAAU,CAAC;YACrC,IAAI,EAAE,QAAQ;SACf;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,6CAAqB,CAAA;IACrB,iDAAyB,CAAA;IACzB,uCAAe,CAAA;IACf,6CAAqB,CAAA;IACrB,iFAAyD,CAAA;IACzD,+DAAuC,CAAA;AACzC,CAAC,EAPW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAO/B"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const NotifiedMessageStatisticSchema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
channel_id: {
|
|
5
|
+
type: string;
|
|
6
|
+
};
|
|
7
|
+
notified_messages: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
oldest_notified_message_id: {
|
|
11
|
+
type: string[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
additionalProperties: boolean;
|
|
15
|
+
required: string[];
|
|
16
|
+
$schema: string;
|
|
17
|
+
};
|
|
18
|
+
export declare enum NotifiedMessageStatisticKeys {
|
|
19
|
+
channel_id = "channel_id",
|
|
20
|
+
notified_messages = "notified_messages",
|
|
21
|
+
oldest_notified_message_id = "oldest_notified_message_id"
|
|
22
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotifiedMessageStatisticKeys = exports.NotifiedMessageStatisticSchema = void 0;
|
|
4
|
+
exports.NotifiedMessageStatisticSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
channel_id: {
|
|
8
|
+
type: 'string',
|
|
9
|
+
},
|
|
10
|
+
notified_messages: {
|
|
11
|
+
type: 'number',
|
|
12
|
+
},
|
|
13
|
+
oldest_notified_message_id: {
|
|
14
|
+
type: ['null', 'string'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
additionalProperties: false,
|
|
18
|
+
required: ['channel_id', 'notified_messages', 'oldest_notified_message_id'],
|
|
19
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
20
|
+
};
|
|
21
|
+
var NotifiedMessageStatisticKeys;
|
|
22
|
+
(function (NotifiedMessageStatisticKeys) {
|
|
23
|
+
NotifiedMessageStatisticKeys["channel_id"] = "channel_id";
|
|
24
|
+
NotifiedMessageStatisticKeys["notified_messages"] = "notified_messages";
|
|
25
|
+
NotifiedMessageStatisticKeys["oldest_notified_message_id"] = "oldest_notified_message_id";
|
|
26
|
+
})(NotifiedMessageStatisticKeys = exports.NotifiedMessageStatisticKeys || (exports.NotifiedMessageStatisticKeys = {}));
|
|
27
|
+
//# sourceMappingURL=NotifiedMessageStatisticSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotifiedMessageStatisticSchema.js","sourceRoot":"","sources":["../../../src/schemas/v5/NotifiedMessageStatisticSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,8BAA8B,GAAG;IAC5C,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,iBAAiB,EAAE;YACjB,IAAI,EAAE,QAAQ;SACf;QACD,0BAA0B,EAAE;YAC1B,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,YAAY,EAAE,mBAAmB,EAAE,4BAA4B,CAAC;IAC3E,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,4BAIX;AAJD,WAAY,4BAA4B;IACtC,yDAAyB,CAAA;IACzB,uEAAuC,CAAA;IACvC,yFAAyD,CAAA;AAC3D,CAAC,EAJW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAIvC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export declare const StatisticsSchema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
notified_messages: {
|
|
5
|
+
type: string;
|
|
6
|
+
items: {
|
|
7
|
+
$ref: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
label_statistics: {
|
|
11
|
+
type: string;
|
|
12
|
+
items: {
|
|
13
|
+
$ref: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
additionalProperties: boolean;
|
|
18
|
+
required: string[];
|
|
19
|
+
definitions: {
|
|
20
|
+
NotifiedMessageStatistic: {
|
|
21
|
+
type: string;
|
|
22
|
+
properties: {
|
|
23
|
+
channel_id: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
notified_messages: {
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
oldest_notified_message_id: {
|
|
30
|
+
type: string[];
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
additionalProperties: boolean;
|
|
34
|
+
required: string[];
|
|
35
|
+
};
|
|
36
|
+
LabelStatistic: {
|
|
37
|
+
type: string;
|
|
38
|
+
properties: {
|
|
39
|
+
label_id: {
|
|
40
|
+
type: string;
|
|
41
|
+
};
|
|
42
|
+
notified_messages: {
|
|
43
|
+
type: string;
|
|
44
|
+
};
|
|
45
|
+
total_messages: {
|
|
46
|
+
type: string;
|
|
47
|
+
};
|
|
48
|
+
oldest_notified_message_id: {
|
|
49
|
+
type: string[];
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
additionalProperties: boolean;
|
|
53
|
+
required: string[];
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
$schema: string;
|
|
57
|
+
};
|
|
58
|
+
export declare enum StatisticsKeys {
|
|
59
|
+
notified_messages = "notified_messages",
|
|
60
|
+
label_statistics = "label_statistics"
|
|
61
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StatisticsKeys = exports.StatisticsSchema = void 0;
|
|
4
|
+
exports.StatisticsSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
notified_messages: {
|
|
8
|
+
type: 'array',
|
|
9
|
+
items: {
|
|
10
|
+
$ref: '#/definitions/NotifiedMessageStatistic',
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
label_statistics: {
|
|
14
|
+
type: 'array',
|
|
15
|
+
items: {
|
|
16
|
+
$ref: '#/definitions/LabelStatistic',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
additionalProperties: false,
|
|
21
|
+
required: ['label_statistics', 'notified_messages'],
|
|
22
|
+
definitions: {
|
|
23
|
+
NotifiedMessageStatistic: {
|
|
24
|
+
type: 'object',
|
|
25
|
+
properties: {
|
|
26
|
+
channel_id: {
|
|
27
|
+
type: 'string',
|
|
28
|
+
},
|
|
29
|
+
notified_messages: {
|
|
30
|
+
type: 'number',
|
|
31
|
+
},
|
|
32
|
+
oldest_notified_message_id: {
|
|
33
|
+
type: ['null', 'string'],
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
additionalProperties: false,
|
|
37
|
+
required: [
|
|
38
|
+
'channel_id',
|
|
39
|
+
'notified_messages',
|
|
40
|
+
'oldest_notified_message_id',
|
|
41
|
+
],
|
|
42
|
+
},
|
|
43
|
+
LabelStatistic: {
|
|
44
|
+
type: 'object',
|
|
45
|
+
properties: {
|
|
46
|
+
label_id: {
|
|
47
|
+
type: 'string',
|
|
48
|
+
},
|
|
49
|
+
notified_messages: {
|
|
50
|
+
type: 'number',
|
|
51
|
+
},
|
|
52
|
+
total_messages: {
|
|
53
|
+
type: 'number',
|
|
54
|
+
},
|
|
55
|
+
oldest_notified_message_id: {
|
|
56
|
+
type: ['null', 'string'],
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
additionalProperties: false,
|
|
60
|
+
required: [
|
|
61
|
+
'label_id',
|
|
62
|
+
'notified_messages',
|
|
63
|
+
'oldest_notified_message_id',
|
|
64
|
+
'total_messages',
|
|
65
|
+
],
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
69
|
+
};
|
|
70
|
+
var StatisticsKeys;
|
|
71
|
+
(function (StatisticsKeys) {
|
|
72
|
+
StatisticsKeys["notified_messages"] = "notified_messages";
|
|
73
|
+
StatisticsKeys["label_statistics"] = "label_statistics";
|
|
74
|
+
})(StatisticsKeys = exports.StatisticsKeys || (exports.StatisticsKeys = {}));
|
|
75
|
+
//# sourceMappingURL=StatisticsSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatisticsSchema.js","sourceRoot":"","sources":["../../../src/schemas/v5/StatisticsSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,iBAAiB,EAAE;YACjB,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,wCAAwC;aAC/C;SACF;QACD,gBAAgB,EAAE;YAChB,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,8BAA8B;aACrC;SACF;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,kBAAkB,EAAE,mBAAmB,CAAC;IACnD,WAAW,EAAE;QACX,wBAAwB,EAAE;YACxB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,iBAAiB,EAAE;oBACjB,IAAI,EAAE,QAAQ;iBACf;gBACD,0BAA0B,EAAE;oBAC1B,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE;gBACR,YAAY;gBACZ,mBAAmB;gBACnB,4BAA4B;aAC7B;SACF;QACD,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,QAAQ,EAAE;oBACR,IAAI,EAAE,QAAQ;iBACf;gBACD,iBAAiB,EAAE;oBACjB,IAAI,EAAE,QAAQ;iBACf;gBACD,cAAc,EAAE;oBACd,IAAI,EAAE,QAAQ;iBACf;gBACD,0BAA0B,EAAE;oBAC1B,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE;gBACR,UAAU;gBACV,mBAAmB;gBACnB,4BAA4B;gBAC5B,gBAAgB;aACjB;SACF;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,yDAAuC,CAAA;IACvC,uDAAqC,CAAA;AACvC,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB"}
|
|
@@ -9,3 +9,6 @@ export * from './ReactionSummarySchema';
|
|
|
9
9
|
export * from './UserNotAllowedReceiveNotificationsSchema';
|
|
10
10
|
export * from './AudioInfoSchema';
|
|
11
11
|
export * from './MessageV5Schema';
|
|
12
|
+
export * from './NotifiedMessageStatisticSchema';
|
|
13
|
+
export * from './LabelStatisticSchema';
|
|
14
|
+
export * from './StatisticsSchema';
|
package/dist/schemas/v5/index.js
CHANGED
|
@@ -25,4 +25,7 @@ __exportStar(require("./ReactionSummarySchema"), exports);
|
|
|
25
25
|
__exportStar(require("./UserNotAllowedReceiveNotificationsSchema"), exports);
|
|
26
26
|
__exportStar(require("./AudioInfoSchema"), exports);
|
|
27
27
|
__exportStar(require("./MessageV5Schema"), exports);
|
|
28
|
+
__exportStar(require("./NotifiedMessageStatisticSchema"), exports);
|
|
29
|
+
__exportStar(require("./LabelStatisticSchema"), exports);
|
|
30
|
+
__exportStar(require("./StatisticsSchema"), exports);
|
|
28
31
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/v5/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,+DAA6C;AAC7C,4DAA0C;AAC1C,0DAAwC;AACxC,kDAAgC;AAChC,uDAAqC;AACrC,yDAAuC;AACvC,0DAAwC;AACxC,6EAA2D;AAC3D,oDAAkC;AAClC,oDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/v5/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,+DAA6C;AAC7C,4DAA0C;AAC1C,0DAAwC;AACxC,kDAAgC;AAChC,uDAAqC;AACrC,yDAAuC;AACvC,0DAAwC;AACxC,6EAA2D;AAC3D,oDAAkC;AAClC,oDAAkC;AAClC,mEAAiD;AACjD,yDAAuC;AACvC,qDAAmC"}
|