cv-contracts 1.0.39 → 1.0.41

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.
@@ -0,0 +1,15 @@
1
+ export declare enum AccessType {
2
+ Public = "public",
3
+ Forward = "forward",
4
+ Specified = "specified"
5
+ }
6
+ export declare enum ShareType {
7
+ Link = "link",
8
+ Forward = "forward"
9
+ }
10
+ export declare enum SpecifiedAccessType {
11
+ User = "user",
12
+ Channel = "channel",
13
+ Workspace = "workspace",
14
+ WorkspaceGroup = "workspace_group"
15
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpecifiedAccessType = exports.ShareType = exports.AccessType = void 0;
4
+ var AccessType;
5
+ (function (AccessType) {
6
+ AccessType["Public"] = "public";
7
+ AccessType["Forward"] = "forward";
8
+ AccessType["Specified"] = "specified";
9
+ })(AccessType = exports.AccessType || (exports.AccessType = {}));
10
+ var ShareType;
11
+ (function (ShareType) {
12
+ ShareType["Link"] = "link";
13
+ ShareType["Forward"] = "forward";
14
+ })(ShareType = exports.ShareType || (exports.ShareType = {}));
15
+ var SpecifiedAccessType;
16
+ (function (SpecifiedAccessType) {
17
+ SpecifiedAccessType["User"] = "user";
18
+ SpecifiedAccessType["Channel"] = "channel";
19
+ SpecifiedAccessType["Workspace"] = "workspace";
20
+ SpecifiedAccessType["WorkspaceGroup"] = "workspace_group";
21
+ })(SpecifiedAccessType = exports.SpecifiedAccessType || (exports.SpecifiedAccessType = {}));
22
+ //# sourceMappingURL=MessageShareLink.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageShareLink.js","sourceRoot":"","sources":["../../src/enums/MessageShareLink.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,+BAAiB,CAAA;IACjB,iCAAmB,CAAA;IACnB,qCAAuB,CAAA;AACzB,CAAC,EAJW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAIrB;AAED,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,0BAAa,CAAA;IACb,gCAAmB,CAAA;AACrB,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AAED,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,oCAAa,CAAA;IACb,0CAAmB,CAAA;IACnB,8CAAuB,CAAA;IACvB,yDAAkC,CAAA;AACpC,CAAC,EALW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK9B"}
@@ -14,3 +14,4 @@ export * from './FolderType';
14
14
  export * from './ActionItemStatus';
15
15
  export * from './ActionItemContainerType';
16
16
  export * from './Role';
17
+ export * from './MessageShareLink';
@@ -30,4 +30,5 @@ __exportStar(require("./FolderType"), exports);
30
30
  __exportStar(require("./ActionItemStatus"), exports);
31
31
  __exportStar(require("./ActionItemContainerType"), exports);
32
32
  __exportStar(require("./Role"), exports);
33
+ __exportStar(require("./MessageShareLink"), exports);
33
34
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,2DAAyC;AACzC,kDAAgC;AAChC,gDAA8B;AAC9B,kDAAgC;AAChC,8CAA4B;AAC5B,mDAAiC;AACjC,iEAA+C;AAC/C,4CAA0B;AAC1B,+DAA6C;AAC7C,qDAAmC;AACnC,sDAAoC;AACpC,+CAA6B;AAC7B,qDAAmC;AACnC,4DAA0C;AAC1C,yCAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,2DAAyC;AACzC,kDAAgC;AAChC,gDAA8B;AAC9B,kDAAgC;AAChC,8CAA4B;AAC5B,mDAAiC;AACjC,iEAA+C;AAC/C,4CAA0B;AAC1B,+DAA6C;AAC7C,qDAAmC;AACnC,sDAAoC;AACpC,+CAA6B;AAC7B,qDAAmC;AACnC,4DAA0C;AAC1C,yCAAuB;AACvB,qDAAmC"}
@@ -0,0 +1,22 @@
1
+ import { Message } from './Message';
2
+ import { AccessType, ShareType, SpecifiedAccessType } from '../enums';
3
+ export interface SpecifiedAccess {
4
+ type: SpecifiedAccessType;
5
+ ids: string[];
6
+ }
7
+ export interface MessageShareLink {
8
+ id: string;
9
+ link: string;
10
+ created_by: string;
11
+ message_id?: string | null;
12
+ conversation_id?: string | null;
13
+ created_at: string;
14
+ last_updated_at: string;
15
+ end_access_at?: string | null;
16
+ revoked_at?: string | null;
17
+ revoked_by?: string | null;
18
+ share_type: ShareType;
19
+ access_type: AccessType;
20
+ specified_access?: SpecifiedAccess[] | null;
21
+ shared_message: Message;
22
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=MessageShareLink.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageShareLink.js","sourceRoot":"","sources":["../../src/interfaces/MessageShareLink.ts"],"names":[],"mappings":""}
@@ -11,3 +11,4 @@ export * from './GetMessageResponse';
11
11
  export * from './ResponseByLanguage';
12
12
  export * from './AIShareLinkPromptResponse';
13
13
  export * from './ActionItem';
14
+ export * from './MessageShareLink';
@@ -27,4 +27,5 @@ __exportStar(require("./GetMessageResponse"), exports);
27
27
  __exportStar(require("./ResponseByLanguage"), exports);
28
28
  __exportStar(require("./AIShareLinkPromptResponse"), exports);
29
29
  __exportStar(require("./ActionItem"), exports);
30
+ __exportStar(require("./MessageShareLink"), exports);
30
31
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iDAA+B;AAC/B,4CAA0B;AAC1B,8CAA4B;AAC5B,0CAAwB;AACxB,+CAA6B;AAC7B,yCAAuB;AACvB,4CAA0B;AAC1B,qDAAmC;AACnC,uDAAqC;AACrC,uDAAqC;AACrC,8DAA4C;AAC5C,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iDAA+B;AAC/B,4CAA0B;AAC1B,8CAA4B;AAC5B,0CAAwB;AACxB,+CAA6B;AAC7B,yCAAuB;AACvB,4CAA0B;AAC1B,qDAAmC;AACnC,uDAAqC;AACrC,uDAAqC;AACrC,8DAA4C;AAC5C,+CAA6B;AAC7B,qDAAmC"}
@@ -0,0 +1,233 @@
1
+ export declare const MessageShareLinkSchema: {
2
+ type: string;
3
+ properties: {
4
+ id: {
5
+ type: string;
6
+ };
7
+ link: {
8
+ type: string;
9
+ };
10
+ created_by: {
11
+ type: string;
12
+ };
13
+ message_id: {
14
+ type: string[];
15
+ };
16
+ conversation_id: {
17
+ type: string[];
18
+ };
19
+ created_at: {
20
+ type: string;
21
+ };
22
+ last_updated_at: {
23
+ type: string;
24
+ };
25
+ end_access_at: {
26
+ type: string[];
27
+ };
28
+ revoked_at: {
29
+ type: string[];
30
+ };
31
+ revoked_by: {
32
+ type: string[];
33
+ };
34
+ share_type: {
35
+ $ref: string;
36
+ };
37
+ access_type: {
38
+ $ref: string;
39
+ };
40
+ specified_access: {
41
+ anyOf: ({
42
+ type: string;
43
+ items: {
44
+ $ref: string;
45
+ };
46
+ } | {
47
+ type: string;
48
+ items?: undefined;
49
+ })[];
50
+ };
51
+ shared_message: {
52
+ $ref: string;
53
+ };
54
+ };
55
+ additionalProperties: boolean;
56
+ required: string[];
57
+ definitions: {
58
+ ShareType: {
59
+ type: string;
60
+ enum: string[];
61
+ };
62
+ AccessType: {
63
+ type: string;
64
+ enum: string[];
65
+ };
66
+ SpecifiedAccess: {
67
+ type: string;
68
+ properties: {
69
+ type: {
70
+ $ref: string;
71
+ };
72
+ ids: {
73
+ type: string;
74
+ items: {
75
+ type: string;
76
+ };
77
+ };
78
+ };
79
+ additionalProperties: boolean;
80
+ required: string[];
81
+ };
82
+ SpecifiedAccessType: {
83
+ type: string;
84
+ enum: string[];
85
+ };
86
+ Message: {
87
+ type: string;
88
+ properties: {
89
+ id: {
90
+ type: string;
91
+ };
92
+ name: {
93
+ type: string[];
94
+ };
95
+ link: {
96
+ type: string;
97
+ };
98
+ creator_id: {
99
+ type: string;
100
+ };
101
+ conversation_id: {
102
+ type: string[];
103
+ };
104
+ workspace_id: {
105
+ type: string[];
106
+ };
107
+ created_at: {
108
+ type: string;
109
+ };
110
+ last_updated_at: {
111
+ type: string;
112
+ };
113
+ deleted_at: {
114
+ type: string[];
115
+ };
116
+ duration_ms: {
117
+ type: string;
118
+ };
119
+ audio_url: {
120
+ type: string[];
121
+ };
122
+ audio_stream_url: {
123
+ type: string[];
124
+ };
125
+ transcript: {
126
+ type: string[];
127
+ };
128
+ ai_summary: {
129
+ type: string[];
130
+ };
131
+ has_ai_summary: {
132
+ type: string;
133
+ };
134
+ waveform_url: {
135
+ type: string[];
136
+ };
137
+ reply_count: {
138
+ type: string;
139
+ };
140
+ parent_message_id: {
141
+ type: string[];
142
+ };
143
+ language: {
144
+ type: string[];
145
+ };
146
+ status: {
147
+ $ref: string;
148
+ };
149
+ attachments: {
150
+ type: string;
151
+ items: {
152
+ $ref: string;
153
+ };
154
+ };
155
+ type: {
156
+ $ref: string;
157
+ };
158
+ share_link_id: {
159
+ type: string;
160
+ };
161
+ };
162
+ additionalProperties: boolean;
163
+ required: string[];
164
+ };
165
+ MessageStatus: {
166
+ type: string;
167
+ enum: string[];
168
+ };
169
+ Attachment: {
170
+ type: string;
171
+ properties: {
172
+ id: {
173
+ type: string;
174
+ };
175
+ creator_id: {
176
+ type: string;
177
+ };
178
+ created_at: {
179
+ type: string;
180
+ };
181
+ type: {
182
+ $ref: string;
183
+ };
184
+ link: {
185
+ type: string;
186
+ };
187
+ active_begin: {
188
+ type: string[];
189
+ };
190
+ active_end: {
191
+ type: string[];
192
+ };
193
+ filename: {
194
+ type: string[];
195
+ };
196
+ mime_type: {
197
+ type: string[];
198
+ };
199
+ length_in_bytes: {
200
+ type: string[];
201
+ };
202
+ location: {};
203
+ };
204
+ additionalProperties: boolean;
205
+ required: string[];
206
+ };
207
+ AttachmentType: {
208
+ type: string;
209
+ enum: string[];
210
+ };
211
+ MessageType: {
212
+ type: string;
213
+ enum: string[];
214
+ };
215
+ };
216
+ $schema: string;
217
+ };
218
+ export declare enum MessageShareLinkKeys {
219
+ id = "id",
220
+ link = "link",
221
+ created_by = "created_by",
222
+ message_id = "message_id",
223
+ conversation_id = "conversation_id",
224
+ created_at = "created_at",
225
+ last_updated_at = "last_updated_at",
226
+ end_access_at = "end_access_at",
227
+ revoked_at = "revoked_at",
228
+ revoked_by = "revoked_by",
229
+ share_type = "share_type",
230
+ access_type = "access_type",
231
+ specified_access = "specified_access",
232
+ shared_message = "shared_message"
233
+ }
@@ -0,0 +1,278 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MessageShareLinkKeys = exports.MessageShareLinkSchema = void 0;
4
+ exports.MessageShareLinkSchema = {
5
+ type: 'object',
6
+ properties: {
7
+ id: {
8
+ type: 'string',
9
+ },
10
+ link: {
11
+ type: 'string',
12
+ },
13
+ created_by: {
14
+ type: 'string',
15
+ },
16
+ message_id: {
17
+ type: ['null', 'string'],
18
+ },
19
+ conversation_id: {
20
+ type: ['null', 'string'],
21
+ },
22
+ created_at: {
23
+ type: 'string',
24
+ },
25
+ last_updated_at: {
26
+ type: 'string',
27
+ },
28
+ end_access_at: {
29
+ type: ['null', 'string'],
30
+ },
31
+ revoked_at: {
32
+ type: ['null', 'string'],
33
+ },
34
+ revoked_by: {
35
+ type: ['null', 'string'],
36
+ },
37
+ share_type: {
38
+ $ref: '#/definitions/ShareType',
39
+ },
40
+ access_type: {
41
+ $ref: '#/definitions/AccessType',
42
+ },
43
+ specified_access: {
44
+ anyOf: [
45
+ {
46
+ type: 'array',
47
+ items: {
48
+ $ref: '#/definitions/SpecifiedAccess',
49
+ },
50
+ },
51
+ {
52
+ type: 'null',
53
+ },
54
+ ],
55
+ },
56
+ shared_message: {
57
+ $ref: '#/definitions/Message',
58
+ },
59
+ },
60
+ additionalProperties: false,
61
+ required: [
62
+ 'access_type',
63
+ 'created_at',
64
+ 'created_by',
65
+ 'id',
66
+ 'last_updated_at',
67
+ 'link',
68
+ 'share_type',
69
+ 'shared_message',
70
+ ],
71
+ definitions: {
72
+ ShareType: {
73
+ type: 'string',
74
+ enum: ['link', 'forward'],
75
+ },
76
+ AccessType: {
77
+ type: 'string',
78
+ enum: ['public', 'forward', 'specified'],
79
+ },
80
+ SpecifiedAccess: {
81
+ type: 'object',
82
+ properties: {
83
+ type: {
84
+ $ref: '#/definitions/SpecifiedAccessType',
85
+ },
86
+ ids: {
87
+ type: 'array',
88
+ items: {
89
+ type: 'string',
90
+ },
91
+ },
92
+ },
93
+ additionalProperties: false,
94
+ required: ['ids', 'type'],
95
+ },
96
+ SpecifiedAccessType: {
97
+ type: 'string',
98
+ enum: ['user', 'channel', 'workspace', 'workspace_group'],
99
+ },
100
+ Message: {
101
+ type: 'object',
102
+ properties: {
103
+ id: {
104
+ type: 'string',
105
+ },
106
+ name: {
107
+ type: ['null', 'string'],
108
+ },
109
+ link: {
110
+ type: 'string',
111
+ },
112
+ creator_id: {
113
+ type: 'string',
114
+ },
115
+ conversation_id: {
116
+ type: ['null', 'string'],
117
+ },
118
+ workspace_id: {
119
+ type: ['null', 'string'],
120
+ },
121
+ created_at: {
122
+ type: 'string',
123
+ },
124
+ last_updated_at: {
125
+ type: 'string',
126
+ },
127
+ deleted_at: {
128
+ type: ['null', 'string'],
129
+ },
130
+ duration_ms: {
131
+ type: 'number',
132
+ },
133
+ audio_url: {
134
+ type: ['null', 'string'],
135
+ },
136
+ audio_stream_url: {
137
+ type: ['null', 'string'],
138
+ },
139
+ transcript: {
140
+ type: ['null', 'string'],
141
+ },
142
+ ai_summary: {
143
+ type: ['null', 'string'],
144
+ },
145
+ has_ai_summary: {
146
+ type: 'boolean',
147
+ },
148
+ waveform_url: {
149
+ type: ['null', 'string'],
150
+ },
151
+ reply_count: {
152
+ type: 'number',
153
+ },
154
+ parent_message_id: {
155
+ type: ['null', 'string'],
156
+ },
157
+ language: {
158
+ type: ['null', 'string'],
159
+ },
160
+ status: {
161
+ $ref: '#/definitions/MessageStatus',
162
+ },
163
+ attachments: {
164
+ type: 'array',
165
+ items: {
166
+ $ref: '#/definitions/Attachment',
167
+ },
168
+ },
169
+ type: {
170
+ $ref: '#/definitions/MessageType',
171
+ },
172
+ share_link_id: {
173
+ type: 'string',
174
+ },
175
+ },
176
+ additionalProperties: false,
177
+ required: [
178
+ 'created_at',
179
+ 'creator_id',
180
+ 'duration_ms',
181
+ 'id',
182
+ 'last_updated_at',
183
+ 'link',
184
+ 'reply_count',
185
+ 'status',
186
+ 'type',
187
+ ],
188
+ },
189
+ MessageStatus: {
190
+ type: 'string',
191
+ enum: [
192
+ 'offline',
193
+ 'paused',
194
+ 'processing',
195
+ 'scheduled',
196
+ 'active',
197
+ 'deleted',
198
+ 'account-deleted',
199
+ 'initializing',
200
+ 'inprogress',
201
+ 'canceled',
202
+ 'failed',
203
+ ],
204
+ },
205
+ Attachment: {
206
+ type: 'object',
207
+ properties: {
208
+ id: {
209
+ type: 'string',
210
+ },
211
+ creator_id: {
212
+ type: 'string',
213
+ },
214
+ created_at: {
215
+ type: 'string',
216
+ },
217
+ type: {
218
+ $ref: '#/definitions/AttachmentType',
219
+ },
220
+ link: {
221
+ type: 'string',
222
+ },
223
+ active_begin: {
224
+ type: ['null', 'string'],
225
+ },
226
+ active_end: {
227
+ type: ['null', 'string'],
228
+ },
229
+ filename: {
230
+ type: ['null', 'string'],
231
+ },
232
+ mime_type: {
233
+ type: ['null', 'string'],
234
+ },
235
+ length_in_bytes: {
236
+ type: ['null', 'number'],
237
+ },
238
+ location: {},
239
+ },
240
+ additionalProperties: false,
241
+ required: ['created_at', 'creator_id', 'id', 'link', 'type'],
242
+ },
243
+ AttachmentType: {
244
+ type: 'string',
245
+ enum: [
246
+ 'link',
247
+ 'file',
248
+ 'location',
249
+ 'ai-response-id',
250
+ 'ai-prompt-id',
251
+ 'action-item-id',
252
+ ],
253
+ },
254
+ MessageType: {
255
+ type: 'string',
256
+ enum: ['channel', 'prerecorded', 'voicememo', 'stored', 'welcome'],
257
+ },
258
+ },
259
+ $schema: 'http://json-schema.org/draft-07/schema#',
260
+ };
261
+ var MessageShareLinkKeys;
262
+ (function (MessageShareLinkKeys) {
263
+ MessageShareLinkKeys["id"] = "id";
264
+ MessageShareLinkKeys["link"] = "link";
265
+ MessageShareLinkKeys["created_by"] = "created_by";
266
+ MessageShareLinkKeys["message_id"] = "message_id";
267
+ MessageShareLinkKeys["conversation_id"] = "conversation_id";
268
+ MessageShareLinkKeys["created_at"] = "created_at";
269
+ MessageShareLinkKeys["last_updated_at"] = "last_updated_at";
270
+ MessageShareLinkKeys["end_access_at"] = "end_access_at";
271
+ MessageShareLinkKeys["revoked_at"] = "revoked_at";
272
+ MessageShareLinkKeys["revoked_by"] = "revoked_by";
273
+ MessageShareLinkKeys["share_type"] = "share_type";
274
+ MessageShareLinkKeys["access_type"] = "access_type";
275
+ MessageShareLinkKeys["specified_access"] = "specified_access";
276
+ MessageShareLinkKeys["shared_message"] = "shared_message";
277
+ })(MessageShareLinkKeys = exports.MessageShareLinkKeys || (exports.MessageShareLinkKeys = {}));
278
+ //# sourceMappingURL=MessageShareLinkSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessageShareLinkSchema.js","sourceRoot":"","sources":["../../src/schemas/MessageShareLinkSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,EAAE,EAAE;YACF,IAAI,EAAE,QAAQ;SACf;QACD,IAAI,EAAE;YACJ,IAAI,EAA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iDAAyB,CAAA;IACzB,iDAAyB,CAAA;IACzB,mDAA2B,CAAA;IAC3B,6DAAqC,CAAA;IACrC,yDAAiC,CAAA;AACnC,CAAC,EAfW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAe/B"}
@@ -0,0 +1,27 @@
1
+ export declare const SpecifiedAccessSchema: {
2
+ type: string;
3
+ properties: {
4
+ type: {
5
+ $ref: string;
6
+ };
7
+ ids: {
8
+ type: string;
9
+ items: {
10
+ type: string;
11
+ };
12
+ };
13
+ };
14
+ additionalProperties: boolean;
15
+ required: string[];
16
+ definitions: {
17
+ SpecifiedAccessType: {
18
+ type: string;
19
+ enum: string[];
20
+ };
21
+ };
22
+ $schema: string;
23
+ };
24
+ export declare enum SpecifiedAccessKeys {
25
+ type = "type",
26
+ ids = "ids"
27
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpecifiedAccessKeys = exports.SpecifiedAccessSchema = void 0;
4
+ exports.SpecifiedAccessSchema = {
5
+ type: 'object',
6
+ properties: {
7
+ type: {
8
+ $ref: '#/definitions/SpecifiedAccessType',
9
+ },
10
+ ids: {
11
+ type: 'array',
12
+ items: {
13
+ type: 'string',
14
+ },
15
+ },
16
+ },
17
+ additionalProperties: false,
18
+ required: ['ids', 'type'],
19
+ definitions: {
20
+ SpecifiedAccessType: {
21
+ type: 'string',
22
+ enum: ['user', 'channel', 'workspace', 'workspace_group'],
23
+ },
24
+ },
25
+ $schema: 'http://json-schema.org/draft-07/schema#',
26
+ };
27
+ var SpecifiedAccessKeys;
28
+ (function (SpecifiedAccessKeys) {
29
+ SpecifiedAccessKeys["type"] = "type";
30
+ SpecifiedAccessKeys["ids"] = "ids";
31
+ })(SpecifiedAccessKeys = exports.SpecifiedAccessKeys || (exports.SpecifiedAccessKeys = {}));
32
+ //# sourceMappingURL=SpecifiedAccessSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpecifiedAccessSchema.js","sourceRoot":"","sources":["../../src/schemas/SpecifiedAccessSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,qBAAqB,GAAG;IACnC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,mCAAmC;SAC1C;QACD,GAAG,EAAE;YACH,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;aACf;SACF;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE;QACX,mBAAmB,EAAE;YACnB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,iBAAiB,CAAC;SAC1D;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,oCAAa,CAAA;IACb,kCAAW,CAAA;AACb,CAAC,EAHW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAG9B"}
@@ -7,6 +7,8 @@ export * from './ConversationSchema';
7
7
  export * from './GetMessageResponseSchema';
8
8
  export * from './LabelSchema';
9
9
  export * from './MessageSchema';
10
+ export * from './SpecifiedAccessSchema';
11
+ export * from './MessageShareLinkSchema';
10
12
  export * from './ResponseByLanguageSchema';
11
13
  export * from './UserSchema';
12
14
  export * from './WorkspaceSchema';
@@ -23,6 +23,8 @@ __exportStar(require("./ConversationSchema"), exports);
23
23
  __exportStar(require("./GetMessageResponseSchema"), exports);
24
24
  __exportStar(require("./LabelSchema"), exports);
25
25
  __exportStar(require("./MessageSchema"), exports);
26
+ __exportStar(require("./SpecifiedAccessSchema"), exports);
27
+ __exportStar(require("./MessageShareLinkSchema"), exports);
26
28
  __exportStar(require("./ResponseByLanguageSchema"), exports);
27
29
  __exportStar(require("./UserSchema"), exports);
28
30
  __exportStar(require("./WorkspaceSchema"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,oEAAkD;AAClD,qDAAmC;AACnC,4DAA0C;AAC1C,qDAAmC;AACnC,uDAAqC;AACrC,6DAA2C;AAC3C,gDAA8B;AAC9B,kDAAgC;AAChC,6DAA2C;AAC3C,+CAA6B;AAC7B,oDAAkC;AAClC,4CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,oEAAkD;AAClD,qDAAmC;AACnC,4DAA0C;AAC1C,qDAAmC;AACnC,uDAAqC;AACrC,6DAA2C;AAC3C,gDAA8B;AAC9B,kDAAgC;AAChC,0DAAwC;AACxC,2DAAyC;AACzC,6DAA2C;AAC3C,+CAA6B;AAC7B,oDAAkC;AAClC,4CAA0B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cv-contracts",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "description": "Carbon Voice Contracts",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",