cv-contracts 1.0.13 → 1.0.14
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/enums/AIResponseFormat.d.ts +4 -0
- package/dist/enums/AIResponseFormat.js +9 -0
- package/dist/enums/AIResponseFormat.js.map +1 -0
- package/dist/enums/index.d.ts +1 -0
- package/dist/enums/index.js +1 -0
- package/dist/enums/index.js.map +1 -1
- package/dist/interfaces/AIPromptResponse.d.ts +13 -0
- package/dist/interfaces/AIPromptResponse.js +3 -0
- package/dist/interfaces/AIPromptResponse.js.map +1 -0
- package/dist/interfaces/index.d.ts +1 -0
- package/dist/interfaces/index.js +1 -0
- package/dist/interfaces/index.js.map +1 -1
- package/dist/schemas/AIPromptResponseSchema.d.ts +63 -0
- package/dist/schemas/AIPromptResponseSchema.js +77 -0
- package/dist/schemas/AIPromptResponseSchema.js.map +1 -0
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AIResponseFormat = void 0;
|
|
4
|
+
var AIResponseFormat;
|
|
5
|
+
(function (AIResponseFormat) {
|
|
6
|
+
AIResponseFormat["TEXT"] = "text";
|
|
7
|
+
AIResponseFormat["JSON"] = "json";
|
|
8
|
+
})(AIResponseFormat = exports.AIResponseFormat || (exports.AIResponseFormat = {}));
|
|
9
|
+
//# sourceMappingURL=AIResponseFormat.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AIResponseFormat.js","sourceRoot":"","sources":["../../src/enums/AIResponseFormat.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,iCAAa,CAAA;IACb,iCAAa,CAAA;AACf,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B"}
|
package/dist/enums/index.d.ts
CHANGED
package/dist/enums/index.js
CHANGED
|
@@ -24,4 +24,5 @@ __exportStar(require("./AttachmentType"), exports);
|
|
|
24
24
|
__exportStar(require("./ElevenLabsSupportedLanguages"), exports);
|
|
25
25
|
__exportStar(require("./webhook"), exports);
|
|
26
26
|
__exportStar(require("./CreateConversationFromType"), exports);
|
|
27
|
+
__exportStar(require("./AIResponseFormat"), exports);
|
|
27
28
|
//# sourceMappingURL=index.js.map
|
package/dist/enums/index.js.map
CHANGED
|
@@ -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"}
|
|
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"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AIResponseFormat } from '../enums';
|
|
2
|
+
export interface AIPromptResponse {
|
|
3
|
+
id: string;
|
|
4
|
+
creator_id: string;
|
|
5
|
+
prompt_id: string;
|
|
6
|
+
created_at: string;
|
|
7
|
+
last_updated_at: string;
|
|
8
|
+
responses: Record<string, string>;
|
|
9
|
+
response_format: AIResponseFormat;
|
|
10
|
+
message_ids: string[];
|
|
11
|
+
workspace_id?: string;
|
|
12
|
+
channel_id?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AIPromptResponse.js","sourceRoot":"","sources":["../../src/interfaces/AIPromptResponse.ts"],"names":[],"mappings":""}
|
package/dist/interfaces/index.js
CHANGED
|
@@ -24,4 +24,5 @@ __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);
|
|
27
28
|
//# 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"}
|
|
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"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export declare const AIPromptResponseSchema: {
|
|
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 AIPromptResponseKeys {
|
|
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.AIPromptResponseKeys = exports.AIPromptResponseSchema = void 0;
|
|
4
|
+
exports.AIPromptResponseSchema = {
|
|
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 AIPromptResponseKeys;
|
|
65
|
+
(function (AIPromptResponseKeys) {
|
|
66
|
+
AIPromptResponseKeys["id"] = "id";
|
|
67
|
+
AIPromptResponseKeys["creator_id"] = "creator_id";
|
|
68
|
+
AIPromptResponseKeys["prompt_id"] = "prompt_id";
|
|
69
|
+
AIPromptResponseKeys["created_at"] = "created_at";
|
|
70
|
+
AIPromptResponseKeys["last_updated_at"] = "last_updated_at";
|
|
71
|
+
AIPromptResponseKeys["responses"] = "responses";
|
|
72
|
+
AIPromptResponseKeys["response_format"] = "response_format";
|
|
73
|
+
AIPromptResponseKeys["message_ids"] = "message_ids";
|
|
74
|
+
AIPromptResponseKeys["workspace_id"] = "workspace_id";
|
|
75
|
+
AIPromptResponseKeys["channel_id"] = "channel_id";
|
|
76
|
+
})(AIPromptResponseKeys = exports.AIPromptResponseKeys || (exports.AIPromptResponseKeys = {}));
|
|
77
|
+
//# sourceMappingURL=AIPromptResponseSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AIPromptResponseSchema.js","sourceRoot":"","sources":["../../src/schemas/AIPromptResponseSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,EAAE,EAAE;YACF,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;SACf;QACD,SAAS,EAAE;YACT,IAAI,EAAE,qCAAqC;SAC5C;QACD,eAAe,EAAE;YACf,IAAI,EAAE,gCAAgC;SACvC;QACD,WAAW,EAAE;YACX,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;aACf;SACF;QACD,YAAY,EAAE;YACZ,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE;QACR,YAAY;QACZ,YAAY;QACZ,IAAI;QACJ,iBAAiB;QACjB,aAAa;QACb,WAAW;QACX,iBAAiB;QACjB,WAAW;KACZ;IACD,WAAW,EAAE;QACX,uBAAuB,EAAE;YACvB,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;SAC5B;QACD,gBAAgB,EAAE;YAChB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;SACvB;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,oBAWX;AAXD,WAAY,oBAAoB;IAC9B,iCAAS,CAAA;IACT,iDAAyB,CAAA;IACzB,+CAAuB,CAAA;IACvB,iDAAyB,CAAA;IACzB,2DAAmC,CAAA;IACnC,+CAAuB,CAAA;IACvB,2DAAmC,CAAA;IACnC,mDAA2B,CAAA;IAC3B,qDAA6B,CAAA;IAC7B,iDAAyB,CAAA;AAC3B,CAAC,EAXW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAW/B"}
|
package/dist/schemas/index.d.ts
CHANGED
package/dist/schemas/index.js
CHANGED
|
@@ -14,6 +14,7 @@ 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);
|
|
17
18
|
__exportStar(require("./AsyncMeetingStatsSchema"), exports);
|
|
18
19
|
__exportStar(require("./AttachmentSchema"), exports);
|
|
19
20
|
__exportStar(require("./ConversationSchema"), exports);
|
|
@@ -1 +1 @@
|
|
|
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"}
|
|
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"}
|