@sipgate/integration-bridge 1.0.2 → 1.0.4
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/controllers/call-log.controller.js +1 -1
- package/dist/controllers/call-log.controller.js.map +1 -1
- package/dist/schemas/contacts.d.ts +67 -1
- package/dist/schemas/contacts.js +11 -3
- package/dist/schemas/contacts.js.map +1 -1
- package/dist/schemas/index.d.ts +0 -1
- package/dist/schemas/index.js +0 -1
- package/dist/schemas/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/schemas/calendar-events.d.ts +0 -2
- package/dist/schemas/calendar-events.js +0 -33
- package/dist/schemas/calendar-events.js.map +0 -1
- package/dist/schemas/schema.model.d.ts +0 -9
- package/dist/schemas/schema.model.js +0 -3
- package/dist/schemas/schema.model.js.map +0 -1
|
@@ -30,7 +30,7 @@ class CallLogController {
|
|
|
30
30
|
}
|
|
31
31
|
if ((0, call_event_util_1.shouldSkipCallEvent)(req.body)) {
|
|
32
32
|
(0, util_1.infoLogger)('createCallLogForPhoneNumber', `Skipping call log for call id ${req.body.id}`, providerConfig.apiKey);
|
|
33
|
-
res.status(200).send(
|
|
33
|
+
res.status(200).send(null);
|
|
34
34
|
return;
|
|
35
35
|
}
|
|
36
36
|
(0, util_1.infoLogger)('createCallLogForPhoneNumber', `Creating call Log for PhoneNumber…`, providerConfig.apiKey);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"call-log.controller.js","sourceRoot":"","sources":["../../src/controllers/call-log.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,sCAMmB;AACnB,kCAAkD;AAClD,6DAA8D;AAE9D,MAAa,iBAAiB;IAC5B,YAA6B,OAAgB;QAAhB,YAAO,GAAP,OAAO,CAAS;IAAG,CAAC;IAEpC,2BAA2B,CACtC,GAA6B,EAC7B,GAAa,EACb,IAAkB;;YAElB,MAAM,EAAE,cAAc,EAAE,GAAG,GAAG,CAAC;YAE/B,IAAI;gBACF,IAAA,iBAAU,EACR,6BAA6B,EAC7B,OAAO,EACP,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,MAAM,CACvB,CAAC;gBAEF,IAAI,CAAC,cAAc,EAAE;oBACnB,MAAM,IAAI,oBAAW,CAAC,GAAG,EAAE,2BAA2B,CAAC,CAAC;iBACzD;gBAED,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,2BAA2B,EAAE;oBAC7C,MAAM,IAAI,oBAAW,CACnB,GAAG,EACH,sDAAsD,CACvD,CAAC;iBACH;gBAED,IAAI,IAAA,qCAAmB,EAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACjC,IAAA,iBAAU,EACR,6BAA6B,EAC7B,iCAAiC,GAAG,CAAC,IAAI,CAAC,EAAE,EAAE,EAC9C,cAAc,CAAC,MAAM,CACtB,CAAC;oBACF,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"call-log.controller.js","sourceRoot":"","sources":["../../src/controllers/call-log.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,sCAMmB;AACnB,kCAAkD;AAClD,6DAA8D;AAE9D,MAAa,iBAAiB;IAC5B,YAA6B,OAAgB;QAAhB,YAAO,GAAP,OAAO,CAAS;IAAG,CAAC;IAEpC,2BAA2B,CACtC,GAA6B,EAC7B,GAAa,EACb,IAAkB;;YAElB,MAAM,EAAE,cAAc,EAAE,GAAG,GAAG,CAAC;YAE/B,IAAI;gBACF,IAAA,iBAAU,EACR,6BAA6B,EAC7B,OAAO,EACP,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,MAAM,CACvB,CAAC;gBAEF,IAAI,CAAC,cAAc,EAAE;oBACnB,MAAM,IAAI,oBAAW,CAAC,GAAG,EAAE,2BAA2B,CAAC,CAAC;iBACzD;gBAED,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,2BAA2B,EAAE;oBAC7C,MAAM,IAAI,oBAAW,CACnB,GAA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kBAAkB,EAAE;gBACpC,IAAI,CAAC,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC;gBAC1C,OAAO;aACR;YAED,IAAI;gBACF,IAAA,iBAAU,EAAC,oBAAoB,EAAE,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;gBACjE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,kBAAkB,CAAC,cAAc,CAAC,CAAC;gBAEvE,IAAA,iBAAU,EACR,oBAAoB,EACpB,SAAS,MAAA,QAAQ,CAAC,OAAO,0CAAE,MAAM,8BAA8B,EAC/D,cAAc,CAAC,MAAM,CACtB,CAAC;gBAEF,IAAA,iBAAU,EAAC,oBAAoB,EAAE,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;gBAC/D,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aACpB;YAAC,OAAO,GAAG,EAAE;gBACZ,IAAI,CAAC,GAAG,CAAC,CAAC;aACX;;KACF;CACF;AA/JD,8CA+JC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { IntegrationEntityType } from '../models';
|
|
2
|
+
import { IntegrationEntityType } from '../models/integration-entity.model';
|
|
3
3
|
export declare const contactSchema: z.ZodObject<{
|
|
4
4
|
id: z.ZodString;
|
|
5
5
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -21,6 +21,25 @@ export declare const contactSchema: z.ZodObject<{
|
|
|
21
21
|
phoneNumber: string;
|
|
22
22
|
}>, "many">;
|
|
23
23
|
type: z.ZodOptional<z.ZodNativeEnum<typeof IntegrationEntityType>>;
|
|
24
|
+
relatesTo: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25
|
+
id: z.ZodString;
|
|
26
|
+
type: z.ZodNativeEnum<typeof IntegrationEntityType>;
|
|
27
|
+
source: z.ZodString;
|
|
28
|
+
label: z.ZodOptional<z.ZodString>;
|
|
29
|
+
logId: z.ZodOptional<z.ZodString>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
id: string;
|
|
32
|
+
type: IntegrationEntityType;
|
|
33
|
+
source: string;
|
|
34
|
+
label?: string | undefined;
|
|
35
|
+
logId?: string | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
id: string;
|
|
38
|
+
type: IntegrationEntityType;
|
|
39
|
+
source: string;
|
|
40
|
+
label?: string | undefined;
|
|
41
|
+
logId?: string | undefined;
|
|
42
|
+
}>, "many">>;
|
|
24
43
|
}, "strip", z.ZodTypeAny, {
|
|
25
44
|
id: string;
|
|
26
45
|
name: string | null;
|
|
@@ -36,6 +55,13 @@ export declare const contactSchema: z.ZodObject<{
|
|
|
36
55
|
}[];
|
|
37
56
|
type?: IntegrationEntityType | undefined;
|
|
38
57
|
readonly?: boolean | undefined;
|
|
58
|
+
relatesTo?: {
|
|
59
|
+
id: string;
|
|
60
|
+
type: IntegrationEntityType;
|
|
61
|
+
source: string;
|
|
62
|
+
label?: string | undefined;
|
|
63
|
+
logId?: string | undefined;
|
|
64
|
+
}[] | undefined;
|
|
39
65
|
}, {
|
|
40
66
|
id: string;
|
|
41
67
|
name: string | null;
|
|
@@ -51,6 +77,13 @@ export declare const contactSchema: z.ZodObject<{
|
|
|
51
77
|
}[];
|
|
52
78
|
type?: IntegrationEntityType | undefined;
|
|
53
79
|
readonly?: boolean | undefined;
|
|
80
|
+
relatesTo?: {
|
|
81
|
+
id: string;
|
|
82
|
+
type: IntegrationEntityType;
|
|
83
|
+
source: string;
|
|
84
|
+
label?: string | undefined;
|
|
85
|
+
logId?: string | undefined;
|
|
86
|
+
}[] | undefined;
|
|
54
87
|
}>;
|
|
55
88
|
export declare const contactsGetSchema: z.ZodArray<z.ZodObject<{
|
|
56
89
|
id: z.ZodString;
|
|
@@ -73,6 +106,25 @@ export declare const contactsGetSchema: z.ZodArray<z.ZodObject<{
|
|
|
73
106
|
phoneNumber: string;
|
|
74
107
|
}>, "many">;
|
|
75
108
|
type: z.ZodOptional<z.ZodNativeEnum<typeof IntegrationEntityType>>;
|
|
109
|
+
relatesTo: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
110
|
+
id: z.ZodString;
|
|
111
|
+
type: z.ZodNativeEnum<typeof IntegrationEntityType>;
|
|
112
|
+
source: z.ZodString;
|
|
113
|
+
label: z.ZodOptional<z.ZodString>;
|
|
114
|
+
logId: z.ZodOptional<z.ZodString>;
|
|
115
|
+
}, "strip", z.ZodTypeAny, {
|
|
116
|
+
id: string;
|
|
117
|
+
type: IntegrationEntityType;
|
|
118
|
+
source: string;
|
|
119
|
+
label?: string | undefined;
|
|
120
|
+
logId?: string | undefined;
|
|
121
|
+
}, {
|
|
122
|
+
id: string;
|
|
123
|
+
type: IntegrationEntityType;
|
|
124
|
+
source: string;
|
|
125
|
+
label?: string | undefined;
|
|
126
|
+
logId?: string | undefined;
|
|
127
|
+
}>, "many">>;
|
|
76
128
|
}, "strip", z.ZodTypeAny, {
|
|
77
129
|
id: string;
|
|
78
130
|
name: string | null;
|
|
@@ -88,6 +140,13 @@ export declare const contactsGetSchema: z.ZodArray<z.ZodObject<{
|
|
|
88
140
|
}[];
|
|
89
141
|
type?: IntegrationEntityType | undefined;
|
|
90
142
|
readonly?: boolean | undefined;
|
|
143
|
+
relatesTo?: {
|
|
144
|
+
id: string;
|
|
145
|
+
type: IntegrationEntityType;
|
|
146
|
+
source: string;
|
|
147
|
+
label?: string | undefined;
|
|
148
|
+
logId?: string | undefined;
|
|
149
|
+
}[] | undefined;
|
|
91
150
|
}, {
|
|
92
151
|
id: string;
|
|
93
152
|
name: string | null;
|
|
@@ -103,6 +162,13 @@ export declare const contactsGetSchema: z.ZodArray<z.ZodObject<{
|
|
|
103
162
|
}[];
|
|
104
163
|
type?: IntegrationEntityType | undefined;
|
|
105
164
|
readonly?: boolean | undefined;
|
|
165
|
+
relatesTo?: {
|
|
166
|
+
id: string;
|
|
167
|
+
type: IntegrationEntityType;
|
|
168
|
+
source: string;
|
|
169
|
+
label?: string | undefined;
|
|
170
|
+
logId?: string | undefined;
|
|
171
|
+
}[] | undefined;
|
|
106
172
|
}>, "many">;
|
|
107
173
|
export declare const contactCreateSchema: z.ZodObject<{
|
|
108
174
|
name: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
package/dist/schemas/contacts.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.contactCreateSchema = exports.contactsGetSchema = exports.contactSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const
|
|
5
|
+
const integration_entity_model_1 = require("../models/integration-entity.model");
|
|
6
6
|
// export const contactsSchema: ValidationSchema = {
|
|
7
7
|
// title: 'Contacts',
|
|
8
8
|
// type: 'array',
|
|
@@ -67,6 +67,13 @@ const models_1 = require("../models");
|
|
|
67
67
|
// ],
|
|
68
68
|
// },
|
|
69
69
|
// };
|
|
70
|
+
const integrationEntitySchema = zod_1.z.object({
|
|
71
|
+
id: zod_1.z.string(),
|
|
72
|
+
type: zod_1.z.nativeEnum(integration_entity_model_1.IntegrationEntityType),
|
|
73
|
+
source: zod_1.z.string(),
|
|
74
|
+
label: zod_1.z.string().optional(),
|
|
75
|
+
logId: zod_1.z.string().optional(),
|
|
76
|
+
});
|
|
70
77
|
exports.contactSchema = zod_1.z.object({
|
|
71
78
|
id: zod_1.z.string(),
|
|
72
79
|
name: zod_1.z.string().nullable(),
|
|
@@ -81,7 +88,8 @@ exports.contactSchema = zod_1.z.object({
|
|
|
81
88
|
label: zod_1.z.string(),
|
|
82
89
|
phoneNumber: zod_1.z.string(),
|
|
83
90
|
})),
|
|
84
|
-
type: zod_1.z.nativeEnum(
|
|
91
|
+
type: zod_1.z.nativeEnum(integration_entity_model_1.IntegrationEntityType).optional(),
|
|
92
|
+
relatesTo: zod_1.z.array(integrationEntitySchema).optional(),
|
|
85
93
|
});
|
|
86
94
|
exports.contactsGetSchema = zod_1.z.array(exports.contactSchema);
|
|
87
95
|
exports.contactCreateSchema = zod_1.z.object({
|
|
@@ -96,6 +104,6 @@ exports.contactCreateSchema = zod_1.z.object({
|
|
|
96
104
|
label: zod_1.z.string(),
|
|
97
105
|
phoneNumber: zod_1.z.string(),
|
|
98
106
|
})),
|
|
99
|
-
type: zod_1.z.nativeEnum(
|
|
107
|
+
type: zod_1.z.nativeEnum(integration_entity_model_1.IntegrationEntityType).optional(),
|
|
100
108
|
});
|
|
101
109
|
//# sourceMappingURL=contacts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contacts.js","sourceRoot":"","sources":["../../src/schemas/contacts.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"contacts.js","sourceRoot":"","sources":["../../src/schemas/contacts.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iFAA2E;AAE3E,oDAAoD;AACpD,uBAAuB;AACvB,mBAAmB;AACnB,aAAa;AACb,sBAAsB;AACtB,oBAAoB;AACpB,4BAA4B;AAC5B,cAAc;AACd,0BAA0B;AAC1B,WAAW;AACX,iBAAiB;AACjB,oCAAoC;AACpC,WAAW;AACX,wBAAwB;AACxB,oCAAoC;AACpC,WAAW;AACX,sBAAsB;AACtB,oCAAoC;AACpC,WAAW;AACX,qBAAqB;AACrB,oCAAoC;AACpC,WAAW;AACX,gBAAgB;AAChB,oCAAoC;AACpC,WAAW;AACX,qBAAqB;AACrB,oCAAoC;AACpC,WAAW;AACX,oBAAoB;AACpB,oCAAoC;AACpC,WAAW;AACX,oBAAoB;AACpB,6BAA6B;AAC7B,WAAW;AACX,wBAAwB;AACxB,yBAAyB;AACzB,mBAAmB;AACnB,4BAA4B;AAC5B,0BAA0B;AAC1B,kCAAkC;AAClC,uBAAuB;AACvB,gCAAgC;AAChC,iBAAiB;AACjB,6BAA6B;AAC7B,gCAAgC;AAChC,iBAAiB;AACjB,eAAe;AACf,gDAAgD;AAChD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QACjB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;KACxB,CAAC,CACH;IACD,IAAI,EAAE,OAAC,CAAC,UAAU,CAAC,gDAAqB,CAAC,CAAC,QAAQ,EAAE;CACrD,CAAC,CAAC"}
|
package/dist/schemas/index.d.ts
CHANGED
package/dist/schemas/index.js
CHANGED
|
@@ -14,6 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./calendar-events"), exports);
|
|
18
17
|
__exportStar(require("./contacts"), exports);
|
|
19
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
|
package/package.json
CHANGED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.calendarEventsSchema = void 0;
|
|
4
|
-
exports.calendarEventsSchema = {
|
|
5
|
-
title: 'CalendarEvents',
|
|
6
|
-
type: 'array',
|
|
7
|
-
items: {
|
|
8
|
-
type: 'object',
|
|
9
|
-
properties: {
|
|
10
|
-
fillDefaults: true,
|
|
11
|
-
id: {
|
|
12
|
-
type: 'string',
|
|
13
|
-
},
|
|
14
|
-
title: {
|
|
15
|
-
type: ['string', 'null'],
|
|
16
|
-
},
|
|
17
|
-
description: {
|
|
18
|
-
type: ['string', 'null'],
|
|
19
|
-
},
|
|
20
|
-
eventUrl: {
|
|
21
|
-
type: ['string', 'null'],
|
|
22
|
-
},
|
|
23
|
-
start: {
|
|
24
|
-
type: ['number', 'null'],
|
|
25
|
-
},
|
|
26
|
-
end: {
|
|
27
|
-
type: ['number', 'null'],
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
required: ['id', 'title', 'description', 'eventUrl', 'start', 'end'],
|
|
31
|
-
},
|
|
32
|
-
};
|
|
33
|
-
//# sourceMappingURL=calendar-events.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-events.js","sourceRoot":"","sources":["../../src/schemas/calendar-events.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAqB;IACpD,KAAK,EAAE,gBAAgB;IACvB,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACL,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,YAAY,EAAE,IAAI;YAClB,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;aACf;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;aACzB;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;aACzB;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;aACzB;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;aACzB;YACD,GAAG,EAAE;gBACH,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;aACzB;SACF;QACD,QAAQ,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,CAAC;KACrE;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.model.js","sourceRoot":"","sources":["../../src/schemas/schema.model.ts"],"names":[],"mappings":""}
|