cv-contracts 1.0.14 → 1.0.15

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.
Files changed (29) hide show
  1. package/dist/interfaces/index.d.ts +0 -1
  2. package/dist/interfaces/index.js +0 -1
  3. package/dist/interfaces/index.js.map +1 -1
  4. package/dist/interfaces/{AIPromptResponse.d.ts → webhook/WebhookAIPromptResponse.d.ts} +2 -2
  5. package/dist/interfaces/{AIPromptResponse.js → webhook/WebhookAIPromptResponse.js} +1 -1
  6. package/dist/interfaces/webhook/WebhookAIPromptResponse.js.map +1 -0
  7. package/dist/interfaces/webhook/WebhookWorkspaceLevelAIPromptResponse.d.ts +6 -0
  8. package/dist/interfaces/webhook/WebhookWorkspaceLevelAIPromptResponse.js +3 -0
  9. package/dist/interfaces/webhook/WebhookWorkspaceLevelAIPromptResponse.js.map +1 -0
  10. package/dist/interfaces/webhook/index.d.ts +2 -0
  11. package/dist/interfaces/webhook/index.js +2 -0
  12. package/dist/interfaces/webhook/index.js.map +1 -1
  13. package/dist/schemas/index.d.ts +0 -1
  14. package/dist/schemas/index.js +0 -1
  15. package/dist/schemas/index.js.map +1 -1
  16. package/dist/schemas/webhook/AIPromptResponseSchema.d.ts +194 -0
  17. package/dist/schemas/webhook/AIPromptResponseSchema.js +229 -0
  18. package/dist/schemas/webhook/AIPromptResponseSchema.js.map +1 -0
  19. package/dist/schemas/webhook/WebhookAIPromptResponseSchema.d.ts +63 -0
  20. package/dist/schemas/webhook/WebhookAIPromptResponseSchema.js +77 -0
  21. package/dist/schemas/webhook/WebhookAIPromptResponseSchema.js.map +1 -0
  22. package/dist/schemas/webhook/WebhookWorkspaceLevelAIPromptResponseSchema.d.ts +194 -0
  23. package/dist/schemas/webhook/WebhookWorkspaceLevelAIPromptResponseSchema.js +229 -0
  24. package/dist/schemas/webhook/WebhookWorkspaceLevelAIPromptResponseSchema.js.map +1 -0
  25. package/dist/schemas/webhook/index.d.ts +2 -0
  26. package/dist/schemas/webhook/index.js +2 -0
  27. package/dist/schemas/webhook/index.js.map +1 -1
  28. package/package.json +1 -1
  29. package/dist/interfaces/AIPromptResponse.js.map +0 -1
@@ -8,4 +8,3 @@ export * from './Label';
8
8
  export * from './Attachment';
9
9
  export * from './User';
10
10
  export * from './webhook';
11
- export * from './AIPromptResponse';
@@ -24,5 +24,4 @@ __exportStar(require("./Label"), exports);
24
24
  __exportStar(require("./Attachment"), exports);
25
25
  __exportStar(require("./User"), exports);
26
26
  __exportStar(require("./webhook"), exports);
27
- __exportStar(require("./AIPromptResponse"), exports);
28
27
  //# 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,mEAAiD;AACjD,8CAA4B;AAC5B,+DAA6C;AAC7C,0CAAwB;AACxB,+CAA6B;AAC7B,yCAAuB;AACvB,4CAA0B;AAC1B,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iDAA+B;AAC/B,4CAA0B;AAC1B,mEAAiD;AACjD,8CAA4B;AAC5B,+DAA6C;AAC7C,0CAAwB;AACxB,+CAA6B;AAC7B,yCAAuB;AACvB,4CAA0B"}
@@ -1,5 +1,5 @@
1
- import { AIResponseFormat } from '../enums';
2
- export interface AIPromptResponse {
1
+ import { AIResponseFormat } from '../../enums';
2
+ export interface WebhookAIPromptResponse {
3
3
  id: string;
4
4
  creator_id: string;
5
5
  prompt_id: string;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=AIPromptResponse.js.map
3
+ //# sourceMappingURL=WebhookAIPromptResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebhookAIPromptResponse.js","sourceRoot":"","sources":["../../../src/interfaces/webhook/WebhookAIPromptResponse.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { WebhookAIPromptResponse } from './WebhookAIPromptResponse';
2
+ import { WebhookMessage } from './WebhookMessage';
3
+ export interface WebhookWorkspaceLevelAIPromptResponse {
4
+ ai_response: WebhookAIPromptResponse;
5
+ messages: WebhookMessage[];
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=WebhookWorkspaceLevelAIPromptResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebhookWorkspaceLevelAIPromptResponse.js","sourceRoot":"","sources":["../../../src/interfaces/webhook/WebhookWorkspaceLevelAIPromptResponse.ts"],"names":[],"mappings":""}
@@ -15,3 +15,5 @@ export * from './WebhookWorkspaceUserRemoved';
15
15
  export * from './WorkspaceFindableChannelCreated';
16
16
  export * from './SubscribedUserSettings';
17
17
  export * from './SubscriptionFilter';
18
+ export * from './WebhookAIPromptResponse';
19
+ export * from './WebhookWorkspaceLevelAIPromptResponse';
@@ -31,4 +31,6 @@ __exportStar(require("./WebhookWorkspaceUserRemoved"), exports);
31
31
  __exportStar(require("./WorkspaceFindableChannelCreated"), exports);
32
32
  __exportStar(require("./SubscribedUserSettings"), exports);
33
33
  __exportStar(require("./SubscriptionFilter"), exports);
34
+ __exportStar(require("./WebhookAIPromptResponse"), exports);
35
+ __exportStar(require("./WebhookWorkspaceLevelAIPromptResponse"), exports);
34
36
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/webhook/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,qDAAmC;AACnC,mDAAiC;AACjC,6DAA2C;AAC3C,2DAAyC;AACzC,8DAA4C;AAC5C,6DAA2C;AAC3C,mDAAiC;AACjC,mDAAiC;AACjC,qDAAmC;AACnC,8DAA4C;AAC5C,+DAA6C;AAC7C,6DAA2C;AAC3C,gEAA8C;AAC9C,oEAAkD;AAClD,2DAAyC;AACzC,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/webhook/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,qDAAmC;AACnC,mDAAiC;AACjC,6DAA2C;AAC3C,2DAAyC;AACzC,8DAA4C;AAC5C,6DAA2C;AAC3C,mDAAiC;AACjC,mDAAiC;AACjC,qDAAmC;AACnC,8DAA4C;AAC5C,+DAA6C;AAC7C,6DAA2C;AAC3C,gEAA8C;AAC9C,oEAAkD;AAClD,2DAAyC;AACzC,uDAAqC;AACrC,4DAA0C;AAC1C,0EAAwD"}
@@ -1,4 +1,3 @@
1
- export * from './AIPromptResponseSchema';
2
1
  export * from './AsyncMeetingStatsSchema';
3
2
  export * from './AttachmentSchema';
4
3
  export * from './ConversationSchema';
@@ -14,7 +14,6 @@ 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("./AIPromptResponseSchema"), exports);
18
17
  __exportStar(require("./AsyncMeetingStatsSchema"), exports);
19
18
  __exportStar(require("./AttachmentSchema"), exports);
20
19
  __exportStar(require("./ConversationSchema"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,4DAA0C;AAC1C,qDAAmC;AACnC,uDAAqC;AACrC,gDAA8B;AAC9B,kDAAgC;AAChC,+CAA6B;AAC7B,oDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,qDAAmC;AACnC,uDAAqC;AACrC,gDAA8B;AAC9B,kDAAgC;AAChC,+CAA6B;AAC7B,oDAAkC"}
@@ -0,0 +1,194 @@
1
+ export declare const AIPromptResponseSchema: {
2
+ type: string;
3
+ properties: {
4
+ ai_response: {
5
+ $ref: string;
6
+ };
7
+ messages: {
8
+ type: string;
9
+ items: {
10
+ $ref: string;
11
+ };
12
+ };
13
+ };
14
+ additionalProperties: boolean;
15
+ required: string[];
16
+ definitions: {
17
+ WebhookAIPromptResponse: {
18
+ type: string;
19
+ properties: {
20
+ id: {
21
+ type: string;
22
+ };
23
+ creator_id: {
24
+ type: string;
25
+ };
26
+ prompt_id: {
27
+ type: string;
28
+ };
29
+ created_at: {
30
+ type: string;
31
+ };
32
+ last_updated_at: {
33
+ type: string;
34
+ };
35
+ responses: {
36
+ $ref: string;
37
+ };
38
+ response_format: {
39
+ $ref: string;
40
+ };
41
+ message_ids: {
42
+ type: string;
43
+ items: {
44
+ type: string;
45
+ };
46
+ };
47
+ workspace_id: {
48
+ type: string;
49
+ };
50
+ channel_id: {
51
+ type: string;
52
+ };
53
+ };
54
+ additionalProperties: boolean;
55
+ required: string[];
56
+ };
57
+ 'Record<string,string>': {
58
+ type: string;
59
+ additionalProperties: boolean;
60
+ };
61
+ AIResponseFormat: {
62
+ type: string;
63
+ enum: string[];
64
+ };
65
+ WebhookMessage: {
66
+ type: string;
67
+ properties: {
68
+ message_guid: {
69
+ type: string;
70
+ };
71
+ self_link: {
72
+ type: string;
73
+ };
74
+ creator_guid: {
75
+ type: string;
76
+ };
77
+ channel_guid: {
78
+ type: string[];
79
+ };
80
+ workspace_guid: {
81
+ type: string[];
82
+ };
83
+ created_at: {
84
+ type: string;
85
+ };
86
+ last_updated_at: {
87
+ type: string;
88
+ };
89
+ deleted_at: {
90
+ type: string[];
91
+ };
92
+ duration_ms: {
93
+ type: string;
94
+ };
95
+ message_url: {
96
+ type: string[];
97
+ };
98
+ audio_stream_url: {
99
+ type: string[];
100
+ };
101
+ transcript_txt: {
102
+ type: string[];
103
+ };
104
+ ai_summary_txt: {
105
+ type: string[];
106
+ };
107
+ has_ai_summary: {
108
+ type: string;
109
+ };
110
+ waveform_url: {
111
+ type: string[];
112
+ };
113
+ reply_count: {
114
+ type: string;
115
+ };
116
+ parent_message_guid: {
117
+ type: string[];
118
+ };
119
+ language: {
120
+ type: string[];
121
+ };
122
+ status: {
123
+ $ref: string;
124
+ };
125
+ attachments: {
126
+ type: string;
127
+ items: {
128
+ $ref: string;
129
+ };
130
+ };
131
+ type: {
132
+ $ref: string;
133
+ };
134
+ };
135
+ additionalProperties: boolean;
136
+ required: string[];
137
+ };
138
+ MessageStatus: {
139
+ type: string;
140
+ enum: string[];
141
+ };
142
+ Attachment: {
143
+ type: string;
144
+ properties: {
145
+ id: {
146
+ type: string;
147
+ };
148
+ creator_id: {
149
+ type: string;
150
+ };
151
+ created_at: {
152
+ type: string;
153
+ };
154
+ type: {
155
+ $ref: string;
156
+ };
157
+ link: {
158
+ type: string;
159
+ };
160
+ active_begin: {
161
+ type: string[];
162
+ };
163
+ active_end: {
164
+ type: string[];
165
+ };
166
+ filename: {
167
+ type: string[];
168
+ };
169
+ mime_type: {
170
+ type: string[];
171
+ };
172
+ length_in_bytes: {
173
+ type: string[];
174
+ };
175
+ location: {};
176
+ };
177
+ additionalProperties: boolean;
178
+ required: string[];
179
+ };
180
+ AttachmentType: {
181
+ type: string;
182
+ enum: string[];
183
+ };
184
+ MessageType: {
185
+ type: string;
186
+ enum: string[];
187
+ };
188
+ };
189
+ $schema: string;
190
+ };
191
+ export declare enum AIPromptResponseKeys {
192
+ ai_response = "ai_response",
193
+ messages = "messages"
194
+ }
@@ -0,0 +1,229 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AIPromptResponseKeys = exports.AIPromptResponseSchema = void 0;
4
+ exports.AIPromptResponseSchema = {
5
+ type: 'object',
6
+ properties: {
7
+ ai_response: {
8
+ $ref: '#/definitions/WebhookAIPromptResponse',
9
+ },
10
+ messages: {
11
+ type: 'array',
12
+ items: {
13
+ $ref: '#/definitions/WebhookMessage',
14
+ },
15
+ },
16
+ },
17
+ additionalProperties: false,
18
+ required: ['ai_response', 'messages'],
19
+ definitions: {
20
+ WebhookAIPromptResponse: {
21
+ type: 'object',
22
+ properties: {
23
+ id: {
24
+ type: 'string',
25
+ },
26
+ creator_id: {
27
+ type: 'string',
28
+ },
29
+ prompt_id: {
30
+ type: 'string',
31
+ },
32
+ created_at: {
33
+ type: 'string',
34
+ },
35
+ last_updated_at: {
36
+ type: 'string',
37
+ },
38
+ responses: {
39
+ $ref: '#/definitions/Record<string,string>',
40
+ },
41
+ response_format: {
42
+ $ref: '#/definitions/AIResponseFormat',
43
+ },
44
+ message_ids: {
45
+ type: 'array',
46
+ items: {
47
+ type: 'string',
48
+ },
49
+ },
50
+ workspace_id: {
51
+ type: 'string',
52
+ },
53
+ channel_id: {
54
+ type: 'string',
55
+ },
56
+ },
57
+ additionalProperties: false,
58
+ required: [
59
+ 'created_at',
60
+ 'creator_id',
61
+ 'id',
62
+ 'last_updated_at',
63
+ 'message_ids',
64
+ 'prompt_id',
65
+ 'response_format',
66
+ 'responses',
67
+ ],
68
+ },
69
+ 'Record<string,string>': {
70
+ type: 'object',
71
+ additionalProperties: false,
72
+ },
73
+ AIResponseFormat: {
74
+ type: 'string',
75
+ enum: ['text', 'json'],
76
+ },
77
+ WebhookMessage: {
78
+ type: 'object',
79
+ properties: {
80
+ message_guid: {
81
+ type: 'string',
82
+ },
83
+ self_link: {
84
+ type: 'string',
85
+ },
86
+ creator_guid: {
87
+ type: 'string',
88
+ },
89
+ channel_guid: {
90
+ type: ['null', 'string'],
91
+ },
92
+ workspace_guid: {
93
+ type: ['null', 'string'],
94
+ },
95
+ created_at: {
96
+ type: 'string',
97
+ },
98
+ last_updated_at: {
99
+ type: 'string',
100
+ },
101
+ deleted_at: {
102
+ type: ['null', 'string'],
103
+ },
104
+ duration_ms: {
105
+ type: 'number',
106
+ },
107
+ message_url: {
108
+ type: ['null', 'string'],
109
+ },
110
+ audio_stream_url: {
111
+ type: ['null', 'string'],
112
+ },
113
+ transcript_txt: {
114
+ type: ['null', 'string'],
115
+ },
116
+ ai_summary_txt: {
117
+ type: ['null', 'string'],
118
+ },
119
+ has_ai_summary: {
120
+ type: 'boolean',
121
+ },
122
+ waveform_url: {
123
+ type: ['null', 'string'],
124
+ },
125
+ reply_count: {
126
+ type: 'number',
127
+ },
128
+ parent_message_guid: {
129
+ type: ['null', 'string'],
130
+ },
131
+ language: {
132
+ type: ['null', 'string'],
133
+ },
134
+ status: {
135
+ $ref: '#/definitions/MessageStatus',
136
+ },
137
+ attachments: {
138
+ type: 'array',
139
+ items: {
140
+ $ref: '#/definitions/Attachment',
141
+ },
142
+ },
143
+ type: {
144
+ $ref: '#/definitions/MessageType',
145
+ },
146
+ },
147
+ additionalProperties: false,
148
+ required: [
149
+ 'created_at',
150
+ 'creator_guid',
151
+ 'duration_ms',
152
+ 'last_updated_at',
153
+ 'message_guid',
154
+ 'reply_count',
155
+ 'self_link',
156
+ 'status',
157
+ 'type',
158
+ ],
159
+ },
160
+ MessageStatus: {
161
+ type: 'string',
162
+ enum: [
163
+ 'offline',
164
+ 'paused',
165
+ 'processing',
166
+ 'scheduled',
167
+ 'active',
168
+ 'deleted',
169
+ 'account-deleted',
170
+ 'initializing',
171
+ 'inprogress',
172
+ 'canceled',
173
+ ],
174
+ },
175
+ Attachment: {
176
+ type: 'object',
177
+ properties: {
178
+ id: {
179
+ type: 'string',
180
+ },
181
+ creator_id: {
182
+ type: 'string',
183
+ },
184
+ created_at: {
185
+ type: 'string',
186
+ },
187
+ type: {
188
+ $ref: '#/definitions/AttachmentType',
189
+ },
190
+ link: {
191
+ type: 'string',
192
+ },
193
+ active_begin: {
194
+ type: ['null', 'string'],
195
+ },
196
+ active_end: {
197
+ type: ['null', 'string'],
198
+ },
199
+ filename: {
200
+ type: ['null', 'string'],
201
+ },
202
+ mime_type: {
203
+ type: ['null', 'string'],
204
+ },
205
+ length_in_bytes: {
206
+ type: ['null', 'number'],
207
+ },
208
+ location: {},
209
+ },
210
+ additionalProperties: false,
211
+ required: ['created_at', 'creator_id', 'id', 'link', 'type'],
212
+ },
213
+ AttachmentType: {
214
+ type: 'string',
215
+ enum: ['link', 'file', 'location'],
216
+ },
217
+ MessageType: {
218
+ type: 'string',
219
+ enum: ['channel', 'prerecorded', 'voicememo', 'stored', 'welcome'],
220
+ },
221
+ },
222
+ $schema: 'http://json-schema.org/draft-07/schema#',
223
+ };
224
+ var AIPromptResponseKeys;
225
+ (function (AIPromptResponseKeys) {
226
+ AIPromptResponseKeys["ai_response"] = "ai_response";
227
+ AIPromptResponseKeys["messages"] = "messages";
228
+ })(AIPromptResponseKeys = exports.AIPromptResponseKeys || (exports.AIPromptResponseKeys = {}));
229
+ //# sourceMappingURL=AIPromptResponseSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AIPromptResponseSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/AIPromptResponseSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,WAAW,EAAE;YACX,IAAI,EAAE,uCAAuC;SAC9C;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,8BAA8B;aACrC;SACF;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,aAAa,EAAE,UAAU,CAAC;IACrC,WAAW,EAAE;QACX,uBAAuB,EAAE;YACvB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,EAAE,EAAE;oBACF,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;iBACf;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2B,CAAA;IAC3B,6CAAqB,CAAA;AACvB,CAAC,EAHW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAG/B"}
@@ -0,0 +1,63 @@
1
+ export declare const WebhookAIPromptResponseSchema: {
2
+ type: string;
3
+ properties: {
4
+ id: {
5
+ type: string;
6
+ };
7
+ creator_id: {
8
+ type: string;
9
+ };
10
+ prompt_id: {
11
+ type: string;
12
+ };
13
+ created_at: {
14
+ type: string;
15
+ };
16
+ last_updated_at: {
17
+ type: string;
18
+ };
19
+ responses: {
20
+ $ref: string;
21
+ };
22
+ response_format: {
23
+ $ref: string;
24
+ };
25
+ message_ids: {
26
+ type: string;
27
+ items: {
28
+ type: string;
29
+ };
30
+ };
31
+ workspace_id: {
32
+ type: string;
33
+ };
34
+ channel_id: {
35
+ type: string;
36
+ };
37
+ };
38
+ additionalProperties: boolean;
39
+ required: string[];
40
+ definitions: {
41
+ 'Record<string,string>': {
42
+ type: string;
43
+ additionalProperties: boolean;
44
+ };
45
+ AIResponseFormat: {
46
+ type: string;
47
+ enum: string[];
48
+ };
49
+ };
50
+ $schema: string;
51
+ };
52
+ export declare enum WebhookAIPromptResponseKeys {
53
+ id = "id",
54
+ creator_id = "creator_id",
55
+ prompt_id = "prompt_id",
56
+ created_at = "created_at",
57
+ last_updated_at = "last_updated_at",
58
+ responses = "responses",
59
+ response_format = "response_format",
60
+ message_ids = "message_ids",
61
+ workspace_id = "workspace_id",
62
+ channel_id = "channel_id"
63
+ }
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WebhookAIPromptResponseKeys = exports.WebhookAIPromptResponseSchema = void 0;
4
+ exports.WebhookAIPromptResponseSchema = {
5
+ type: 'object',
6
+ properties: {
7
+ id: {
8
+ type: 'string',
9
+ },
10
+ creator_id: {
11
+ type: 'string',
12
+ },
13
+ prompt_id: {
14
+ type: 'string',
15
+ },
16
+ created_at: {
17
+ type: 'string',
18
+ },
19
+ last_updated_at: {
20
+ type: 'string',
21
+ },
22
+ responses: {
23
+ $ref: '#/definitions/Record<string,string>',
24
+ },
25
+ response_format: {
26
+ $ref: '#/definitions/AIResponseFormat',
27
+ },
28
+ message_ids: {
29
+ type: 'array',
30
+ items: {
31
+ type: 'string',
32
+ },
33
+ },
34
+ workspace_id: {
35
+ type: 'string',
36
+ },
37
+ channel_id: {
38
+ type: 'string',
39
+ },
40
+ },
41
+ additionalProperties: false,
42
+ required: [
43
+ 'created_at',
44
+ 'creator_id',
45
+ 'id',
46
+ 'last_updated_at',
47
+ 'message_ids',
48
+ 'prompt_id',
49
+ 'response_format',
50
+ 'responses',
51
+ ],
52
+ definitions: {
53
+ 'Record<string,string>': {
54
+ type: 'object',
55
+ additionalProperties: false,
56
+ },
57
+ AIResponseFormat: {
58
+ type: 'string',
59
+ enum: ['text', 'json'],
60
+ },
61
+ },
62
+ $schema: 'http://json-schema.org/draft-07/schema#',
63
+ };
64
+ var WebhookAIPromptResponseKeys;
65
+ (function (WebhookAIPromptResponseKeys) {
66
+ WebhookAIPromptResponseKeys["id"] = "id";
67
+ WebhookAIPromptResponseKeys["creator_id"] = "creator_id";
68
+ WebhookAIPromptResponseKeys["prompt_id"] = "prompt_id";
69
+ WebhookAIPromptResponseKeys["created_at"] = "created_at";
70
+ WebhookAIPromptResponseKeys["last_updated_at"] = "last_updated_at";
71
+ WebhookAIPromptResponseKeys["responses"] = "responses";
72
+ WebhookAIPromptResponseKeys["response_format"] = "response_format";
73
+ WebhookAIPromptResponseKeys["message_ids"] = "message_ids";
74
+ WebhookAIPromptResponseKeys["workspace_id"] = "workspace_id";
75
+ WebhookAIPromptResponseKeys["channel_id"] = "channel_id";
76
+ })(WebhookAIPromptResponseKeys = exports.WebhookAIPromptResponseKeys || (exports.WebhookAIPromptResponseKeys = {}));
77
+ //# sourceMappingURL=WebhookAIPromptResponseSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebhookAIPromptResponseSchema.js","sourceRoot":"","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3B,4DAA6B,CAAA;IAC7B,wDAAyB,CAAA;AAC3B,CAAC,EAXW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAWtC"}
@@ -0,0 +1,194 @@
1
+ export declare const WebhookWorkspaceLevelAIPromptResponseSchema: {
2
+ type: string;
3
+ properties: {
4
+ ai_response: {
5
+ $ref: string;
6
+ };
7
+ messages: {
8
+ type: string;
9
+ items: {
10
+ $ref: string;
11
+ };
12
+ };
13
+ };
14
+ additionalProperties: boolean;
15
+ required: string[];
16
+ definitions: {
17
+ WebhookAIPromptResponse: {
18
+ type: string;
19
+ properties: {
20
+ id: {
21
+ type: string;
22
+ };
23
+ creator_id: {
24
+ type: string;
25
+ };
26
+ prompt_id: {
27
+ type: string;
28
+ };
29
+ created_at: {
30
+ type: string;
31
+ };
32
+ last_updated_at: {
33
+ type: string;
34
+ };
35
+ responses: {
36
+ $ref: string;
37
+ };
38
+ response_format: {
39
+ $ref: string;
40
+ };
41
+ message_ids: {
42
+ type: string;
43
+ items: {
44
+ type: string;
45
+ };
46
+ };
47
+ workspace_id: {
48
+ type: string;
49
+ };
50
+ channel_id: {
51
+ type: string;
52
+ };
53
+ };
54
+ additionalProperties: boolean;
55
+ required: string[];
56
+ };
57
+ 'Record<string,string>': {
58
+ type: string;
59
+ additionalProperties: boolean;
60
+ };
61
+ AIResponseFormat: {
62
+ type: string;
63
+ enum: string[];
64
+ };
65
+ WebhookMessage: {
66
+ type: string;
67
+ properties: {
68
+ message_guid: {
69
+ type: string;
70
+ };
71
+ self_link: {
72
+ type: string;
73
+ };
74
+ creator_guid: {
75
+ type: string;
76
+ };
77
+ channel_guid: {
78
+ type: string[];
79
+ };
80
+ workspace_guid: {
81
+ type: string[];
82
+ };
83
+ created_at: {
84
+ type: string;
85
+ };
86
+ last_updated_at: {
87
+ type: string;
88
+ };
89
+ deleted_at: {
90
+ type: string[];
91
+ };
92
+ duration_ms: {
93
+ type: string;
94
+ };
95
+ message_url: {
96
+ type: string[];
97
+ };
98
+ audio_stream_url: {
99
+ type: string[];
100
+ };
101
+ transcript_txt: {
102
+ type: string[];
103
+ };
104
+ ai_summary_txt: {
105
+ type: string[];
106
+ };
107
+ has_ai_summary: {
108
+ type: string;
109
+ };
110
+ waveform_url: {
111
+ type: string[];
112
+ };
113
+ reply_count: {
114
+ type: string;
115
+ };
116
+ parent_message_guid: {
117
+ type: string[];
118
+ };
119
+ language: {
120
+ type: string[];
121
+ };
122
+ status: {
123
+ $ref: string;
124
+ };
125
+ attachments: {
126
+ type: string;
127
+ items: {
128
+ $ref: string;
129
+ };
130
+ };
131
+ type: {
132
+ $ref: string;
133
+ };
134
+ };
135
+ additionalProperties: boolean;
136
+ required: string[];
137
+ };
138
+ MessageStatus: {
139
+ type: string;
140
+ enum: string[];
141
+ };
142
+ Attachment: {
143
+ type: string;
144
+ properties: {
145
+ id: {
146
+ type: string;
147
+ };
148
+ creator_id: {
149
+ type: string;
150
+ };
151
+ created_at: {
152
+ type: string;
153
+ };
154
+ type: {
155
+ $ref: string;
156
+ };
157
+ link: {
158
+ type: string;
159
+ };
160
+ active_begin: {
161
+ type: string[];
162
+ };
163
+ active_end: {
164
+ type: string[];
165
+ };
166
+ filename: {
167
+ type: string[];
168
+ };
169
+ mime_type: {
170
+ type: string[];
171
+ };
172
+ length_in_bytes: {
173
+ type: string[];
174
+ };
175
+ location: {};
176
+ };
177
+ additionalProperties: boolean;
178
+ required: string[];
179
+ };
180
+ AttachmentType: {
181
+ type: string;
182
+ enum: string[];
183
+ };
184
+ MessageType: {
185
+ type: string;
186
+ enum: string[];
187
+ };
188
+ };
189
+ $schema: string;
190
+ };
191
+ export declare enum WebhookWorkspaceLevelAIPromptResponseKeys {
192
+ ai_response = "ai_response",
193
+ messages = "messages"
194
+ }
@@ -0,0 +1,229 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WebhookWorkspaceLevelAIPromptResponseKeys = exports.WebhookWorkspaceLevelAIPromptResponseSchema = void 0;
4
+ exports.WebhookWorkspaceLevelAIPromptResponseSchema = {
5
+ type: 'object',
6
+ properties: {
7
+ ai_response: {
8
+ $ref: '#/definitions/WebhookAIPromptResponse',
9
+ },
10
+ messages: {
11
+ type: 'array',
12
+ items: {
13
+ $ref: '#/definitions/WebhookMessage',
14
+ },
15
+ },
16
+ },
17
+ additionalProperties: false,
18
+ required: ['ai_response', 'messages'],
19
+ definitions: {
20
+ WebhookAIPromptResponse: {
21
+ type: 'object',
22
+ properties: {
23
+ id: {
24
+ type: 'string',
25
+ },
26
+ creator_id: {
27
+ type: 'string',
28
+ },
29
+ prompt_id: {
30
+ type: 'string',
31
+ },
32
+ created_at: {
33
+ type: 'string',
34
+ },
35
+ last_updated_at: {
36
+ type: 'string',
37
+ },
38
+ responses: {
39
+ $ref: '#/definitions/Record<string,string>',
40
+ },
41
+ response_format: {
42
+ $ref: '#/definitions/AIResponseFormat',
43
+ },
44
+ message_ids: {
45
+ type: 'array',
46
+ items: {
47
+ type: 'string',
48
+ },
49
+ },
50
+ workspace_id: {
51
+ type: 'string',
52
+ },
53
+ channel_id: {
54
+ type: 'string',
55
+ },
56
+ },
57
+ additionalProperties: false,
58
+ required: [
59
+ 'created_at',
60
+ 'creator_id',
61
+ 'id',
62
+ 'last_updated_at',
63
+ 'message_ids',
64
+ 'prompt_id',
65
+ 'response_format',
66
+ 'responses',
67
+ ],
68
+ },
69
+ 'Record<string,string>': {
70
+ type: 'object',
71
+ additionalProperties: false,
72
+ },
73
+ AIResponseFormat: {
74
+ type: 'string',
75
+ enum: ['text', 'json'],
76
+ },
77
+ WebhookMessage: {
78
+ type: 'object',
79
+ properties: {
80
+ message_guid: {
81
+ type: 'string',
82
+ },
83
+ self_link: {
84
+ type: 'string',
85
+ },
86
+ creator_guid: {
87
+ type: 'string',
88
+ },
89
+ channel_guid: {
90
+ type: ['null', 'string'],
91
+ },
92
+ workspace_guid: {
93
+ type: ['null', 'string'],
94
+ },
95
+ created_at: {
96
+ type: 'string',
97
+ },
98
+ last_updated_at: {
99
+ type: 'string',
100
+ },
101
+ deleted_at: {
102
+ type: ['null', 'string'],
103
+ },
104
+ duration_ms: {
105
+ type: 'number',
106
+ },
107
+ message_url: {
108
+ type: ['null', 'string'],
109
+ },
110
+ audio_stream_url: {
111
+ type: ['null', 'string'],
112
+ },
113
+ transcript_txt: {
114
+ type: ['null', 'string'],
115
+ },
116
+ ai_summary_txt: {
117
+ type: ['null', 'string'],
118
+ },
119
+ has_ai_summary: {
120
+ type: 'boolean',
121
+ },
122
+ waveform_url: {
123
+ type: ['null', 'string'],
124
+ },
125
+ reply_count: {
126
+ type: 'number',
127
+ },
128
+ parent_message_guid: {
129
+ type: ['null', 'string'],
130
+ },
131
+ language: {
132
+ type: ['null', 'string'],
133
+ },
134
+ status: {
135
+ $ref: '#/definitions/MessageStatus',
136
+ },
137
+ attachments: {
138
+ type: 'array',
139
+ items: {
140
+ $ref: '#/definitions/Attachment',
141
+ },
142
+ },
143
+ type: {
144
+ $ref: '#/definitions/MessageType',
145
+ },
146
+ },
147
+ additionalProperties: false,
148
+ required: [
149
+ 'created_at',
150
+ 'creator_guid',
151
+ 'duration_ms',
152
+ 'last_updated_at',
153
+ 'message_guid',
154
+ 'reply_count',
155
+ 'self_link',
156
+ 'status',
157
+ 'type',
158
+ ],
159
+ },
160
+ MessageStatus: {
161
+ type: 'string',
162
+ enum: [
163
+ 'offline',
164
+ 'paused',
165
+ 'processing',
166
+ 'scheduled',
167
+ 'active',
168
+ 'deleted',
169
+ 'account-deleted',
170
+ 'initializing',
171
+ 'inprogress',
172
+ 'canceled',
173
+ ],
174
+ },
175
+ Attachment: {
176
+ type: 'object',
177
+ properties: {
178
+ id: {
179
+ type: 'string',
180
+ },
181
+ creator_id: {
182
+ type: 'string',
183
+ },
184
+ created_at: {
185
+ type: 'string',
186
+ },
187
+ type: {
188
+ $ref: '#/definitions/AttachmentType',
189
+ },
190
+ link: {
191
+ type: 'string',
192
+ },
193
+ active_begin: {
194
+ type: ['null', 'string'],
195
+ },
196
+ active_end: {
197
+ type: ['null', 'string'],
198
+ },
199
+ filename: {
200
+ type: ['null', 'string'],
201
+ },
202
+ mime_type: {
203
+ type: ['null', 'string'],
204
+ },
205
+ length_in_bytes: {
206
+ type: ['null', 'number'],
207
+ },
208
+ location: {},
209
+ },
210
+ additionalProperties: false,
211
+ required: ['created_at', 'creator_id', 'id', 'link', 'type'],
212
+ },
213
+ AttachmentType: {
214
+ type: 'string',
215
+ enum: ['link', 'file', 'location'],
216
+ },
217
+ MessageType: {
218
+ type: 'string',
219
+ enum: ['channel', 'prerecorded', 'voicememo', 'stored', 'welcome'],
220
+ },
221
+ },
222
+ $schema: 'http://json-schema.org/draft-07/schema#',
223
+ };
224
+ var WebhookWorkspaceLevelAIPromptResponseKeys;
225
+ (function (WebhookWorkspaceLevelAIPromptResponseKeys) {
226
+ WebhookWorkspaceLevelAIPromptResponseKeys["ai_response"] = "ai_response";
227
+ WebhookWorkspaceLevelAIPromptResponseKeys["messages"] = "messages";
228
+ })(WebhookWorkspaceLevelAIPromptResponseKeys = exports.WebhookWorkspaceLevelAIPromptResponseKeys || (exports.WebhookWorkspaceLevelAIPromptResponseKeys = {}));
229
+ //# sourceMappingURL=WebhookWorkspaceLevelAIPromptResponseSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebhookWorkspaceLevelAIPromptResponseSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/WebhookWorkspaceLevelAIPromptResponseSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,2CAA2C,GAAG;IACzD,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,WAAW,EAAE;YACX,IAAI,EAAE,uCAAuC;SAC9C;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,8BAA8B;aACrC;SACF;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,aAAa,EAAE,UAAU,CAAC;I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;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,SAAS,EAAE,aAAa,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,CAAC;SACnE;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,yCAGX;AAHD,WAAY,yCAAyC;IACnD,wEAA2B,CAAA;IAC3B,kEAAqB,CAAA;AACvB,CAAC,EAHW,yCAAyC,GAAzC,iDAAyC,KAAzC,iDAAyC,QAGpD"}
@@ -1,5 +1,6 @@
1
1
  export * from './SubscribedUserSettingsSchema';
2
2
  export * from './SubscriptionFilterSchema';
3
+ export * from './WebhookAIPromptResponseSchema';
3
4
  export * from './WebhookAsyncMeetingStatsSchema';
4
5
  export * from './WebhookBasicUserSchema';
5
6
  export * from './WebhookChannelSchema';
@@ -10,6 +11,7 @@ export * from './WebhookChannelUsersAddedSchema';
10
11
  export * from './WebhookMessageSchema';
11
12
  export * from './WebhookPayloadSchema';
12
13
  export * from './WebhookWorkspaceSchema';
14
+ export * from './WebhookWorkspaceLevelAIPromptResponseSchema';
13
15
  export * from './WebhookWorkspaceUserAddedSchema';
14
16
  export * from './WebhookWorkspaceUserJoinedSchema';
15
17
  export * from './WebhookWorkspaceUserLeftSchema';
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./SubscribedUserSettingsSchema"), exports);
18
18
  __exportStar(require("./SubscriptionFilterSchema"), exports);
19
+ __exportStar(require("./WebhookAIPromptResponseSchema"), exports);
19
20
  __exportStar(require("./WebhookAsyncMeetingStatsSchema"), exports);
20
21
  __exportStar(require("./WebhookBasicUserSchema"), exports);
21
22
  __exportStar(require("./WebhookChannelSchema"), exports);
@@ -26,6 +27,7 @@ __exportStar(require("./WebhookChannelUsersAddedSchema"), exports);
26
27
  __exportStar(require("./WebhookMessageSchema"), exports);
27
28
  __exportStar(require("./WebhookPayloadSchema"), exports);
28
29
  __exportStar(require("./WebhookWorkspaceSchema"), exports);
30
+ __exportStar(require("./WebhookWorkspaceLevelAIPromptResponseSchema"), exports);
29
31
  __exportStar(require("./WebhookWorkspaceUserAddedSchema"), exports);
30
32
  __exportStar(require("./WebhookWorkspaceUserJoinedSchema"), exports);
31
33
  __exportStar(require("./WebhookWorkspaceUserLeftSchema"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/webhook/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAC/C,6DAA2C;AAC3C,mEAAiD;AACjD,2DAAyC;AACzC,yDAAuC;AACvC,mEAAiD;AACjD,iEAA+C;AAC/C,oEAAkD;AAClD,mEAAiD;AACjD,yDAAuC;AACvC,yDAAuC;AACvC,2DAAyC;AACzC,oEAAkD;AAClD,qEAAmD;AACnD,mEAAiD;AACjD,sEAAoD;AACpD,iFAA+D"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/webhook/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAC/C,6DAA2C;AAC3C,kEAAgD;AAChD,mEAAiD;AACjD,2DAAyC;AACzC,yDAAuC;AACvC,mEAAiD;AACjD,iEAA+C;AAC/C,oEAAkD;AAClD,mEAAiD;AACjD,yDAAuC;AACvC,yDAAuC;AACvC,2DAAyC;AACzC,gFAA8D;AAC9D,oEAAkD;AAClD,qEAAmD;AACnD,mEAAiD;AACjD,sEAAoD;AACpD,iFAA+D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cv-contracts",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "Carbon Voice Contracts",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1 +0,0 @@
1
- {"version":3,"file":"AIPromptResponse.js","sourceRoot":"","sources":["../../src/interfaces/AIPromptResponse.ts"],"names":[],"mappings":""}