cv-contracts 1.0.26 → 1.0.28

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,10 @@
1
+ import { ResponseByLanguage } from './ResponseByLanguage';
2
+ export interface AIShareLinkPromptResponse {
3
+ id: string;
4
+ creator_id: string;
5
+ prompt_id: string;
6
+ created_at: string;
7
+ last_updated_at: string;
8
+ responses: ResponseByLanguage[];
9
+ share_link_ids: string[];
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AIShareLinkPromptResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AIShareLinkPromptResponse.js","sourceRoot":"","sources":["../../src/interfaces/AIShareLinkPromptResponse.ts"],"names":[],"mappings":""}
@@ -9,3 +9,4 @@ export * from './webhook';
9
9
  export * from './AIPromptResponse';
10
10
  export * from './GetMessageResponse';
11
11
  export * from './ResponseByLanguage';
12
+ export * from './AIShareLinkPromptResponse';
@@ -25,4 +25,5 @@ __exportStar(require("./webhook"), exports);
25
25
  __exportStar(require("./AIPromptResponse"), exports);
26
26
  __exportStar(require("./GetMessageResponse"), exports);
27
27
  __exportStar(require("./ResponseByLanguage"), exports);
28
+ __exportStar(require("./AIShareLinkPromptResponse"), exports);
28
29
  //# 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"}
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"}
@@ -0,0 +1,72 @@
1
+ export declare const AIShareLinkPromptResponseSchema: {
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
+ type: string;
21
+ items: {
22
+ $ref: string;
23
+ };
24
+ };
25
+ share_link_ids: {
26
+ type: string;
27
+ items: {
28
+ type: string;
29
+ };
30
+ };
31
+ };
32
+ additionalProperties: boolean;
33
+ required: string[];
34
+ definitions: {
35
+ ResponseByLanguage: {
36
+ type: string;
37
+ properties: {
38
+ language: {
39
+ type: string;
40
+ };
41
+ json: {
42
+ $ref: string;
43
+ };
44
+ text: {
45
+ type: string;
46
+ };
47
+ html: {
48
+ type: string;
49
+ };
50
+ markdown: {
51
+ type: string;
52
+ };
53
+ };
54
+ additionalProperties: boolean;
55
+ required: string[];
56
+ };
57
+ 'Record<string,unknown>': {
58
+ type: string;
59
+ additionalProperties: boolean;
60
+ };
61
+ };
62
+ $schema: string;
63
+ };
64
+ export declare enum AIShareLinkPromptResponseKeys {
65
+ id = "id",
66
+ creator_id = "creator_id",
67
+ prompt_id = "prompt_id",
68
+ created_at = "created_at",
69
+ last_updated_at = "last_updated_at",
70
+ responses = "responses",
71
+ share_link_ids = "share_link_ids"
72
+ }
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AIShareLinkPromptResponseKeys = exports.AIShareLinkPromptResponseSchema = void 0;
4
+ exports.AIShareLinkPromptResponseSchema = {
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
+ type: 'array',
24
+ items: {
25
+ $ref: '#/definitions/ResponseByLanguage',
26
+ },
27
+ },
28
+ share_link_ids: {
29
+ type: 'array',
30
+ items: {
31
+ type: 'string',
32
+ },
33
+ },
34
+ },
35
+ additionalProperties: false,
36
+ required: [
37
+ 'created_at',
38
+ 'creator_id',
39
+ 'id',
40
+ 'last_updated_at',
41
+ 'prompt_id',
42
+ 'responses',
43
+ 'share_link_ids',
44
+ ],
45
+ definitions: {
46
+ ResponseByLanguage: {
47
+ type: 'object',
48
+ properties: {
49
+ language: {
50
+ type: 'string',
51
+ },
52
+ json: {
53
+ $ref: '#/definitions/Record<string,unknown>',
54
+ },
55
+ text: {
56
+ type: 'string',
57
+ },
58
+ html: {
59
+ type: 'string',
60
+ },
61
+ markdown: {
62
+ type: 'string',
63
+ },
64
+ },
65
+ additionalProperties: false,
66
+ required: ['json', 'language'],
67
+ },
68
+ 'Record<string,unknown>': {
69
+ type: 'object',
70
+ additionalProperties: false,
71
+ },
72
+ },
73
+ $schema: 'http://json-schema.org/draft-07/schema#',
74
+ };
75
+ var AIShareLinkPromptResponseKeys;
76
+ (function (AIShareLinkPromptResponseKeys) {
77
+ AIShareLinkPromptResponseKeys["id"] = "id";
78
+ AIShareLinkPromptResponseKeys["creator_id"] = "creator_id";
79
+ AIShareLinkPromptResponseKeys["prompt_id"] = "prompt_id";
80
+ AIShareLinkPromptResponseKeys["created_at"] = "created_at";
81
+ AIShareLinkPromptResponseKeys["last_updated_at"] = "last_updated_at";
82
+ AIShareLinkPromptResponseKeys["responses"] = "responses";
83
+ AIShareLinkPromptResponseKeys["share_link_ids"] = "share_link_ids";
84
+ })(AIShareLinkPromptResponseKeys = exports.AIShareLinkPromptResponseKeys || (exports.AIShareLinkPromptResponseKeys = {}));
85
+ //# sourceMappingURL=AIShareLinkPromptResponseSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AIShareLinkPromptResponseSchema.js","sourceRoot":"","sources":["../../src/schemas/AIShareLinkPromptResponseSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,+BAA+B,GAAG;IAC7C,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,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,kCAAkC;aACzC;SACF;QACD,cAAc,EAAE;YACd,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;aACf;SACF;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE;QACR,YAAY;QACZ,YAAY;QACZ,IAAI;QACJ,iBAAiB;QACjB,WAAW;QACX,WAAW;QACX,gBAAgB;KACjB;IACD,WAAW,EAAE;QACX,kBAAkB,EAAE;YAClB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,QAAQ,EAAE;oBACR,IAAI,EAAE,QAAQ;iBACf;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,sCAAsC;iBAC7C;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;gBACD,QAAQ,EAAE;oBACR,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;SAC/B;QACD,wBAAwB,EAAE;YACxB,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;SAC5B;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,6BAQX;AARD,WAAY,6BAA6B;IACvC,0CAAS,CAAA;IACT,0DAAyB,CAAA;IACzB,wDAAuB,CAAA;IACvB,0DAAyB,CAAA;IACzB,oEAAmC,CAAA;IACnC,wDAAuB,CAAA;IACvB,kEAAiC,CAAA;AACnC,CAAC,EARW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAQxC"}
@@ -1,4 +1,5 @@
1
1
  export * from './AIPromptResponseSchema';
2
+ export * from './AIShareLinkPromptResponseSchema';
2
3
  export * from './AsyncMeetingStatsSchema';
3
4
  export * from './AttachmentSchema';
4
5
  export * from './ConversationSchema';
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AIPromptResponseSchema"), exports);
18
+ __exportStar(require("./AIShareLinkPromptResponseSchema"), exports);
18
19
  __exportStar(require("./AsyncMeetingStatsSchema"), exports);
19
20
  __exportStar(require("./AttachmentSchema"), exports);
20
21
  __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,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,4DAA0C;AAC1C,qDAAmC;AACnC,uDAAqC;AACrC,6DAA2C;AAC3C,gDAA8B;AAC9B,kDAAgC;AAChC,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.26",
3
+ "version": "1.0.28",
4
4
  "description": "Carbon Voice Contracts",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",