originalvoices 0.1.0 → 0.2.0
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/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/resources/topic.d.mts +18 -18
- package/resources/topic.d.mts.map +1 -1
- package/resources/topic.d.ts +18 -18
- package/resources/topic.d.ts.map +1 -1
- package/src/resources/topic.ts +18 -18
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.0 (2025-11-04)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0...v0.2.0](https://github.com/ovlabs/originalvoices-node/compare/v0.1.0...v0.2.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([fd9a7ed](https://github.com/ovlabs/originalvoices-node/commit/fd9a7edcf2c60ae31f08cd8a6a7b01bbf12a326c))
|
|
10
|
+
|
|
3
11
|
## 0.1.0 (2025-11-03)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.0.1...v0.1.0](https://github.com/ovlabs/originalvoices-node/compare/v0.0.1...v0.1.0)
|
package/package.json
CHANGED
package/resources/topic.d.mts
CHANGED
|
@@ -17,55 +17,55 @@ export declare class Topic extends APIResource {
|
|
|
17
17
|
generateInsights(body: TopicGenerateInsightsParams, options?: RequestOptions): APIPromise<TopicGenerateInsightsResponse>;
|
|
18
18
|
}
|
|
19
19
|
export interface TopicGenerateInsightsResponse {
|
|
20
|
-
questions
|
|
20
|
+
questions: Array<TopicGenerateInsightsResponse.Question>;
|
|
21
21
|
/**
|
|
22
22
|
* Overall summary of the topic insights
|
|
23
23
|
*/
|
|
24
|
-
summary
|
|
25
|
-
twins
|
|
24
|
+
summary: string;
|
|
25
|
+
twins: Array<TopicGenerateInsightsResponse.Twin>;
|
|
26
26
|
}
|
|
27
27
|
export declare namespace TopicGenerateInsightsResponse {
|
|
28
28
|
interface Question {
|
|
29
|
-
insights
|
|
29
|
+
insights: Array<Question.Insight>;
|
|
30
30
|
/**
|
|
31
31
|
* The question that was analyzed
|
|
32
32
|
*/
|
|
33
|
-
question
|
|
33
|
+
question: string;
|
|
34
34
|
/**
|
|
35
35
|
* The topic category
|
|
36
36
|
*/
|
|
37
|
-
topic
|
|
37
|
+
topic: string;
|
|
38
38
|
}
|
|
39
39
|
namespace Question {
|
|
40
40
|
interface Insight {
|
|
41
41
|
/**
|
|
42
42
|
* Actionable guidance
|
|
43
43
|
*/
|
|
44
|
-
guidance
|
|
44
|
+
guidance: string;
|
|
45
45
|
/**
|
|
46
46
|
* Percentage of responses mentioning this insight
|
|
47
47
|
*/
|
|
48
|
-
mentionedPercentage
|
|
49
|
-
selectAnswers
|
|
48
|
+
mentionedPercentage: number;
|
|
49
|
+
selectAnswers: Array<Insight.SelectAnswer>;
|
|
50
50
|
/**
|
|
51
51
|
* Insight summary
|
|
52
52
|
*/
|
|
53
|
-
summary
|
|
53
|
+
summary: string;
|
|
54
54
|
/**
|
|
55
55
|
* Insight title
|
|
56
56
|
*/
|
|
57
|
-
title
|
|
57
|
+
title: string;
|
|
58
58
|
}
|
|
59
59
|
namespace Insight {
|
|
60
60
|
interface SelectAnswer {
|
|
61
61
|
/**
|
|
62
62
|
* Example answer illustrating the insight
|
|
63
63
|
*/
|
|
64
|
-
answer
|
|
64
|
+
answer: string;
|
|
65
65
|
/**
|
|
66
66
|
* ID of the twin providing the answer
|
|
67
67
|
*/
|
|
68
|
-
twinId
|
|
68
|
+
twinId: string;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
}
|
|
@@ -73,23 +73,23 @@ export declare namespace TopicGenerateInsightsResponse {
|
|
|
73
73
|
/**
|
|
74
74
|
* Unique identifier for the twin
|
|
75
75
|
*/
|
|
76
|
-
id
|
|
77
|
-
demographics
|
|
76
|
+
id: string;
|
|
77
|
+
demographics: Twin.Demographics;
|
|
78
78
|
}
|
|
79
79
|
namespace Twin {
|
|
80
80
|
interface Demographics {
|
|
81
81
|
/**
|
|
82
82
|
* Age of the twin
|
|
83
83
|
*/
|
|
84
|
-
age
|
|
84
|
+
age: number;
|
|
85
85
|
/**
|
|
86
86
|
* Country code of the twin
|
|
87
87
|
*/
|
|
88
|
-
country
|
|
88
|
+
country: string;
|
|
89
89
|
/**
|
|
90
90
|
* Gender of the twin
|
|
91
91
|
*/
|
|
92
|
-
gender
|
|
92
|
+
gender: string;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topic.d.mts","sourceRoot":"","sources":["../src/resources/topic.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;OAWG;IACH,gBAAgB,CACd,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;CAG7C;AAED,MAAM,WAAW,6BAA6B;IAC5C,SAAS,
|
|
1
|
+
{"version":3,"file":"topic.d.mts","sourceRoot":"","sources":["../src/resources/topic.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;OAWG;IACH,gBAAgB,CACd,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;CAG7C;AAED,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,KAAK,CAAC,6BAA6B,CAAC,QAAQ,CAAC,CAAC;IAEzD;;OAEG;IACH,OAAO,EAAE,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KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
|
package/resources/topic.d.ts
CHANGED
|
@@ -17,55 +17,55 @@ export declare class Topic extends APIResource {
|
|
|
17
17
|
generateInsights(body: TopicGenerateInsightsParams, options?: RequestOptions): APIPromise<TopicGenerateInsightsResponse>;
|
|
18
18
|
}
|
|
19
19
|
export interface TopicGenerateInsightsResponse {
|
|
20
|
-
questions
|
|
20
|
+
questions: Array<TopicGenerateInsightsResponse.Question>;
|
|
21
21
|
/**
|
|
22
22
|
* Overall summary of the topic insights
|
|
23
23
|
*/
|
|
24
|
-
summary
|
|
25
|
-
twins
|
|
24
|
+
summary: string;
|
|
25
|
+
twins: Array<TopicGenerateInsightsResponse.Twin>;
|
|
26
26
|
}
|
|
27
27
|
export declare namespace TopicGenerateInsightsResponse {
|
|
28
28
|
interface Question {
|
|
29
|
-
insights
|
|
29
|
+
insights: Array<Question.Insight>;
|
|
30
30
|
/**
|
|
31
31
|
* The question that was analyzed
|
|
32
32
|
*/
|
|
33
|
-
question
|
|
33
|
+
question: string;
|
|
34
34
|
/**
|
|
35
35
|
* The topic category
|
|
36
36
|
*/
|
|
37
|
-
topic
|
|
37
|
+
topic: string;
|
|
38
38
|
}
|
|
39
39
|
namespace Question {
|
|
40
40
|
interface Insight {
|
|
41
41
|
/**
|
|
42
42
|
* Actionable guidance
|
|
43
43
|
*/
|
|
44
|
-
guidance
|
|
44
|
+
guidance: string;
|
|
45
45
|
/**
|
|
46
46
|
* Percentage of responses mentioning this insight
|
|
47
47
|
*/
|
|
48
|
-
mentionedPercentage
|
|
49
|
-
selectAnswers
|
|
48
|
+
mentionedPercentage: number;
|
|
49
|
+
selectAnswers: Array<Insight.SelectAnswer>;
|
|
50
50
|
/**
|
|
51
51
|
* Insight summary
|
|
52
52
|
*/
|
|
53
|
-
summary
|
|
53
|
+
summary: string;
|
|
54
54
|
/**
|
|
55
55
|
* Insight title
|
|
56
56
|
*/
|
|
57
|
-
title
|
|
57
|
+
title: string;
|
|
58
58
|
}
|
|
59
59
|
namespace Insight {
|
|
60
60
|
interface SelectAnswer {
|
|
61
61
|
/**
|
|
62
62
|
* Example answer illustrating the insight
|
|
63
63
|
*/
|
|
64
|
-
answer
|
|
64
|
+
answer: string;
|
|
65
65
|
/**
|
|
66
66
|
* ID of the twin providing the answer
|
|
67
67
|
*/
|
|
68
|
-
twinId
|
|
68
|
+
twinId: string;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
}
|
|
@@ -73,23 +73,23 @@ export declare namespace TopicGenerateInsightsResponse {
|
|
|
73
73
|
/**
|
|
74
74
|
* Unique identifier for the twin
|
|
75
75
|
*/
|
|
76
|
-
id
|
|
77
|
-
demographics
|
|
76
|
+
id: string;
|
|
77
|
+
demographics: Twin.Demographics;
|
|
78
78
|
}
|
|
79
79
|
namespace Twin {
|
|
80
80
|
interface Demographics {
|
|
81
81
|
/**
|
|
82
82
|
* Age of the twin
|
|
83
83
|
*/
|
|
84
|
-
age
|
|
84
|
+
age: number;
|
|
85
85
|
/**
|
|
86
86
|
* Country code of the twin
|
|
87
87
|
*/
|
|
88
|
-
country
|
|
88
|
+
country: string;
|
|
89
89
|
/**
|
|
90
90
|
* Gender of the twin
|
|
91
91
|
*/
|
|
92
|
-
gender
|
|
92
|
+
gender: string;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
}
|
package/resources/topic.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topic.d.ts","sourceRoot":"","sources":["../src/resources/topic.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;OAWG;IACH,gBAAgB,CACd,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;CAG7C;AAED,MAAM,WAAW,6BA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CAAC;QAEX,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;KACjC;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,YAAY;YAC3B;;eAEG;YACH,GAAG,EAAE,MAAM,CAAC;YAEZ;;eAEG;YACH,OAAO,EAAE,MAAM,CAAC;YAEhB;;eAEG;YACH,MAAM,EAAE,MAAM,CAAC;SAChB;KACF;CACF;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
|
package/src/resources/topic.ts
CHANGED
|
@@ -26,29 +26,29 @@ export class Topic extends APIResource {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
export interface TopicGenerateInsightsResponse {
|
|
29
|
-
questions
|
|
29
|
+
questions: Array<TopicGenerateInsightsResponse.Question>;
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* Overall summary of the topic insights
|
|
33
33
|
*/
|
|
34
|
-
summary
|
|
34
|
+
summary: string;
|
|
35
35
|
|
|
36
|
-
twins
|
|
36
|
+
twins: Array<TopicGenerateInsightsResponse.Twin>;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
export namespace TopicGenerateInsightsResponse {
|
|
40
40
|
export interface Question {
|
|
41
|
-
insights
|
|
41
|
+
insights: Array<Question.Insight>;
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
44
|
* The question that was analyzed
|
|
45
45
|
*/
|
|
46
|
-
question
|
|
46
|
+
question: string;
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* The topic category
|
|
50
50
|
*/
|
|
51
|
-
topic
|
|
51
|
+
topic: string;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
export namespace Question {
|
|
@@ -56,24 +56,24 @@ export namespace TopicGenerateInsightsResponse {
|
|
|
56
56
|
/**
|
|
57
57
|
* Actionable guidance
|
|
58
58
|
*/
|
|
59
|
-
guidance
|
|
59
|
+
guidance: string;
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
62
|
* Percentage of responses mentioning this insight
|
|
63
63
|
*/
|
|
64
|
-
mentionedPercentage
|
|
64
|
+
mentionedPercentage: number;
|
|
65
65
|
|
|
66
|
-
selectAnswers
|
|
66
|
+
selectAnswers: Array<Insight.SelectAnswer>;
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* Insight summary
|
|
70
70
|
*/
|
|
71
|
-
summary
|
|
71
|
+
summary: string;
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
74
|
* Insight title
|
|
75
75
|
*/
|
|
76
|
-
title
|
|
76
|
+
title: string;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
export namespace Insight {
|
|
@@ -81,12 +81,12 @@ export namespace TopicGenerateInsightsResponse {
|
|
|
81
81
|
/**
|
|
82
82
|
* Example answer illustrating the insight
|
|
83
83
|
*/
|
|
84
|
-
answer
|
|
84
|
+
answer: string;
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
87
|
* ID of the twin providing the answer
|
|
88
88
|
*/
|
|
89
|
-
twinId
|
|
89
|
+
twinId: string;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
}
|
|
@@ -95,9 +95,9 @@ export namespace TopicGenerateInsightsResponse {
|
|
|
95
95
|
/**
|
|
96
96
|
* Unique identifier for the twin
|
|
97
97
|
*/
|
|
98
|
-
id
|
|
98
|
+
id: string;
|
|
99
99
|
|
|
100
|
-
demographics
|
|
100
|
+
demographics: Twin.Demographics;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
export namespace Twin {
|
|
@@ -105,17 +105,17 @@ export namespace TopicGenerateInsightsResponse {
|
|
|
105
105
|
/**
|
|
106
106
|
* Age of the twin
|
|
107
107
|
*/
|
|
108
|
-
age
|
|
108
|
+
age: number;
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
111
|
* Country code of the twin
|
|
112
112
|
*/
|
|
113
|
-
country
|
|
113
|
+
country: string;
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
116
|
* Gender of the twin
|
|
117
117
|
*/
|
|
118
|
-
gender
|
|
118
|
+
gender: string;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.2.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.2.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.2.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.2.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|