@sipgate/integration-bridge 1.0.8 → 1.0.9
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.
|
@@ -25,20 +25,20 @@ export declare const contactSchema: z.ZodObject<{
|
|
|
25
25
|
id: z.ZodString;
|
|
26
26
|
type: z.ZodNativeEnum<typeof IntegrationEntityType>;
|
|
27
27
|
source: z.ZodString;
|
|
28
|
-
label: z.ZodOptional<z.ZodString
|
|
29
|
-
logId: z.ZodOptional<z.ZodString
|
|
28
|
+
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
29
|
+
logId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
31
|
id: string;
|
|
32
32
|
type: IntegrationEntityType;
|
|
33
33
|
source: string;
|
|
34
|
-
label?: string | undefined;
|
|
35
|
-
logId?: string | undefined;
|
|
34
|
+
label?: string | null | undefined;
|
|
35
|
+
logId?: string | null | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
id: string;
|
|
38
38
|
type: IntegrationEntityType;
|
|
39
39
|
source: string;
|
|
40
|
-
label?: string | undefined;
|
|
41
|
-
logId?: string | undefined;
|
|
40
|
+
label?: string | null | undefined;
|
|
41
|
+
logId?: string | null | undefined;
|
|
42
42
|
}>, "many">>;
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
44
|
id: string;
|
|
@@ -59,8 +59,8 @@ export declare const contactSchema: z.ZodObject<{
|
|
|
59
59
|
id: string;
|
|
60
60
|
type: IntegrationEntityType;
|
|
61
61
|
source: string;
|
|
62
|
-
label?: string | undefined;
|
|
63
|
-
logId?: string | undefined;
|
|
62
|
+
label?: string | null | undefined;
|
|
63
|
+
logId?: string | null | undefined;
|
|
64
64
|
}[] | undefined;
|
|
65
65
|
}, {
|
|
66
66
|
id: string;
|
|
@@ -81,8 +81,8 @@ export declare const contactSchema: z.ZodObject<{
|
|
|
81
81
|
id: string;
|
|
82
82
|
type: IntegrationEntityType;
|
|
83
83
|
source: string;
|
|
84
|
-
label?: string | undefined;
|
|
85
|
-
logId?: string | undefined;
|
|
84
|
+
label?: string | null | undefined;
|
|
85
|
+
logId?: string | null | undefined;
|
|
86
86
|
}[] | undefined;
|
|
87
87
|
}>;
|
|
88
88
|
export declare const contactsGetSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -110,20 +110,20 @@ export declare const contactsGetSchema: z.ZodArray<z.ZodObject<{
|
|
|
110
110
|
id: z.ZodString;
|
|
111
111
|
type: z.ZodNativeEnum<typeof IntegrationEntityType>;
|
|
112
112
|
source: z.ZodString;
|
|
113
|
-
label: z.ZodOptional<z.ZodString
|
|
114
|
-
logId: z.ZodOptional<z.ZodString
|
|
113
|
+
label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
114
|
+
logId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
115
115
|
}, "strip", z.ZodTypeAny, {
|
|
116
116
|
id: string;
|
|
117
117
|
type: IntegrationEntityType;
|
|
118
118
|
source: string;
|
|
119
|
-
label?: string | undefined;
|
|
120
|
-
logId?: string | undefined;
|
|
119
|
+
label?: string | null | undefined;
|
|
120
|
+
logId?: string | null | undefined;
|
|
121
121
|
}, {
|
|
122
122
|
id: string;
|
|
123
123
|
type: IntegrationEntityType;
|
|
124
124
|
source: string;
|
|
125
|
-
label?: string | undefined;
|
|
126
|
-
logId?: string | undefined;
|
|
125
|
+
label?: string | null | undefined;
|
|
126
|
+
logId?: string | null | undefined;
|
|
127
127
|
}>, "many">>;
|
|
128
128
|
}, "strip", z.ZodTypeAny, {
|
|
129
129
|
id: string;
|
|
@@ -144,8 +144,8 @@ export declare const contactsGetSchema: z.ZodArray<z.ZodObject<{
|
|
|
144
144
|
id: string;
|
|
145
145
|
type: IntegrationEntityType;
|
|
146
146
|
source: string;
|
|
147
|
-
label?: string | undefined;
|
|
148
|
-
logId?: string | undefined;
|
|
147
|
+
label?: string | null | undefined;
|
|
148
|
+
logId?: string | null | undefined;
|
|
149
149
|
}[] | undefined;
|
|
150
150
|
}, {
|
|
151
151
|
id: string;
|
|
@@ -166,8 +166,8 @@ export declare const contactsGetSchema: z.ZodArray<z.ZodObject<{
|
|
|
166
166
|
id: string;
|
|
167
167
|
type: IntegrationEntityType;
|
|
168
168
|
source: string;
|
|
169
|
-
label?: string | undefined;
|
|
170
|
-
logId?: string | undefined;
|
|
169
|
+
label?: string | null | undefined;
|
|
170
|
+
logId?: string | null | undefined;
|
|
171
171
|
}[] | undefined;
|
|
172
172
|
}>, "many">;
|
|
173
173
|
export declare const contactCreateSchema: z.ZodObject<{
|
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 integration_entity_model_1 = require("../models/integration-entity.model");
|
|
5
|
+
const integration_entity_model_1 = require("../models/integration-entity.model"); // export const contactsSchema: ValidationSchema = {
|
|
6
6
|
// export const contactsSchema: ValidationSchema = {
|
|
7
7
|
// title: 'Contacts',
|
|
8
8
|
// type: 'array',
|
|
@@ -71,8 +71,8 @@ const integrationEntitySchema = zod_1.z.object({
|
|
|
71
71
|
id: zod_1.z.string(),
|
|
72
72
|
type: zod_1.z.nativeEnum(integration_entity_model_1.IntegrationEntityType),
|
|
73
73
|
source: zod_1.z.string(),
|
|
74
|
-
label: zod_1.z.string().optional(),
|
|
75
|
-
logId: zod_1.z.string().optional(),
|
|
74
|
+
label: zod_1.z.string().optional().nullable(),
|
|
75
|
+
logId: zod_1.z.string().optional().nullable(),
|
|
76
76
|
});
|
|
77
77
|
exports.contactSchema = zod_1.z.object({
|
|
78
78
|
id: zod_1.z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contacts.js","sourceRoot":"","sources":["../../src/schemas/contacts.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iFAA2E;
|
|
1
|
+
{"version":3,"file":"contacts.js","sourceRoot":"","sources":["../../src/schemas/contacts.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iFAA2E,CAAC,oDAAoD;AAEhI,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,aAAa;AACb,WAAW;AACX,SAAS;AACT,kBAAkB;AAClB,cAAc;AACd,gBAAgB;AAChB,qBAAqB;AACrB,oBAAoB;AACpB,iBAAiB;AACjB,wBAAwB;AACxB,sBAAsB;AACtB,qBAAqB;AACrB,wBAAwB;AACxB,SAAS;AACT,OAAO;AACP,KAAK;AAEL,MAAM,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,OAAC,CAAC,UAAU,CAAC,gDAAqB,CAAC;IACzC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB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