@mathrunet/masamune_firebase_workflow_marketing 3.8.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.
Files changed (146) hide show
  1. package/CHANGELOG.md +361 -0
  2. package/LICENSE +21 -0
  3. package/README.md +70 -0
  4. package/assets/fonts/NotoSans-Bold.ttf +1439 -0
  5. package/assets/fonts/NotoSans-Regular.ttf +1439 -0
  6. package/assets/fonts/NotoSans.ttf +0 -0
  7. package/assets/fonts/NotoSansJP-Bold.ttf +0 -0
  8. package/assets/fonts/NotoSansJP-Regular.ttf +0 -0
  9. package/assets/fonts/NotoSansKR-Bold.ttf +1439 -0
  10. package/assets/fonts/NotoSansKR-Regular.ttf +1439 -0
  11. package/assets/fonts/NotoSansKR.ttf +0 -0
  12. package/assets/fonts/NotoSansSC-Bold.ttf +1439 -0
  13. package/assets/fonts/NotoSansSC-Regular.ttf +1439 -0
  14. package/assets/fonts/NotoSansSC.ttf +0 -0
  15. package/dist/clients/app_store_client.d.ts +54 -0
  16. package/dist/clients/app_store_client.js +280 -0
  17. package/dist/clients/app_store_client.js.map +1 -0
  18. package/dist/clients/firebase_analytics_client.d.ts +67 -0
  19. package/dist/clients/firebase_analytics_client.js +411 -0
  20. package/dist/clients/firebase_analytics_client.js.map +1 -0
  21. package/dist/clients/github_content_client.d.ts +83 -0
  22. package/dist/clients/github_content_client.js +443 -0
  23. package/dist/clients/github_content_client.js.map +1 -0
  24. package/dist/clients/google_play_client.d.ts +49 -0
  25. package/dist/clients/google_play_client.js +275 -0
  26. package/dist/clients/google_play_client.js.map +1 -0
  27. package/dist/functions/analyze_github_init.d.ts +37 -0
  28. package/dist/functions/analyze_github_init.js +299 -0
  29. package/dist/functions/analyze_github_init.js.map +1 -0
  30. package/dist/functions/analyze_github_process.d.ts +25 -0
  31. package/dist/functions/analyze_github_process.js +268 -0
  32. package/dist/functions/analyze_github_process.js.map +1 -0
  33. package/dist/functions/analyze_github_summary.d.ts +32 -0
  34. package/dist/functions/analyze_github_summary.js +270 -0
  35. package/dist/functions/analyze_github_summary.js.map +1 -0
  36. package/dist/functions/analyze_market_research.d.ts +40 -0
  37. package/dist/functions/analyze_market_research.js +346 -0
  38. package/dist/functions/analyze_market_research.js.map +1 -0
  39. package/dist/functions/analyze_marketing_data.d.ts +96 -0
  40. package/dist/functions/analyze_marketing_data.js +990 -0
  41. package/dist/functions/analyze_marketing_data.js.map +1 -0
  42. package/dist/functions/collect_from_app_store.d.ts +25 -0
  43. package/dist/functions/collect_from_app_store.js +148 -0
  44. package/dist/functions/collect_from_app_store.js.map +1 -0
  45. package/dist/functions/collect_from_firebase_analytics.d.ts +25 -0
  46. package/dist/functions/collect_from_firebase_analytics.js +142 -0
  47. package/dist/functions/collect_from_firebase_analytics.js.map +1 -0
  48. package/dist/functions/collect_from_google_play_console.d.ts +25 -0
  49. package/dist/functions/collect_from_google_play_console.js +142 -0
  50. package/dist/functions/collect_from_google_play_console.js.map +1 -0
  51. package/dist/functions/generate_marketing_markdown.d.ts +89 -0
  52. package/dist/functions/generate_marketing_markdown.js +653 -0
  53. package/dist/functions/generate_marketing_markdown.js.map +1 -0
  54. package/dist/functions/generate_marketing_pdf.d.ts +25 -0
  55. package/dist/functions/generate_marketing_pdf.js +175 -0
  56. package/dist/functions/generate_marketing_pdf.js.map +1 -0
  57. package/dist/functions/research_market.d.ts +56 -0
  58. package/dist/functions/research_market.js +434 -0
  59. package/dist/functions/research_market.js.map +1 -0
  60. package/dist/functions.d.ts +571 -0
  61. package/dist/functions.js +648 -0
  62. package/dist/functions.js.map +1 -0
  63. package/dist/index.d.ts +13 -0
  64. package/dist/index.js +30 -0
  65. package/dist/index.js.map +1 -0
  66. package/dist/locales/de_DE.d.ts +5 -0
  67. package/dist/locales/de_DE.js +111 -0
  68. package/dist/locales/de_DE.js.map +1 -0
  69. package/dist/locales/en.d.ts +5 -0
  70. package/dist/locales/en.js +111 -0
  71. package/dist/locales/en.js.map +1 -0
  72. package/dist/locales/es_ES.d.ts +5 -0
  73. package/dist/locales/es_ES.js +111 -0
  74. package/dist/locales/es_ES.js.map +1 -0
  75. package/dist/locales/fr_FR.d.ts +5 -0
  76. package/dist/locales/fr_FR.js +111 -0
  77. package/dist/locales/fr_FR.js.map +1 -0
  78. package/dist/locales/id_ID.d.ts +5 -0
  79. package/dist/locales/id_ID.js +111 -0
  80. package/dist/locales/id_ID.js.map +1 -0
  81. package/dist/locales/index.d.ts +59 -0
  82. package/dist/locales/index.js +155 -0
  83. package/dist/locales/index.js.map +1 -0
  84. package/dist/locales/ja.d.ts +5 -0
  85. package/dist/locales/ja.js +111 -0
  86. package/dist/locales/ja.js.map +1 -0
  87. package/dist/locales/ko_KR.d.ts +5 -0
  88. package/dist/locales/ko_KR.js +111 -0
  89. package/dist/locales/ko_KR.js.map +1 -0
  90. package/dist/locales/pt_PT.d.ts +5 -0
  91. package/dist/locales/pt_PT.js +111 -0
  92. package/dist/locales/pt_PT.js.map +1 -0
  93. package/dist/locales/ru_RU.d.ts +5 -0
  94. package/dist/locales/ru_RU.js +111 -0
  95. package/dist/locales/ru_RU.js.map +1 -0
  96. package/dist/locales/types.d.ts +105 -0
  97. package/dist/locales/types.js +8 -0
  98. package/dist/locales/types.js.map +1 -0
  99. package/dist/locales/zh_CN.d.ts +5 -0
  100. package/dist/locales/zh_CN.js +111 -0
  101. package/dist/locales/zh_CN.js.map +1 -0
  102. package/dist/models/app_store_data.d.ts +87 -0
  103. package/dist/models/app_store_data.js +8 -0
  104. package/dist/models/app_store_data.js.map +1 -0
  105. package/dist/models/chart_data.d.ts +104 -0
  106. package/dist/models/chart_data.js +8 -0
  107. package/dist/models/chart_data.js.map +1 -0
  108. package/dist/models/common.d.ts +42 -0
  109. package/dist/models/common.js +8 -0
  110. package/dist/models/common.js.map +1 -0
  111. package/dist/models/firebase_analytics_data.d.ts +134 -0
  112. package/dist/models/firebase_analytics_data.js +8 -0
  113. package/dist/models/firebase_analytics_data.js.map +1 -0
  114. package/dist/models/github_analysis_data.d.ts +266 -0
  115. package/dist/models/github_analysis_data.js +101 -0
  116. package/dist/models/github_analysis_data.js.map +1 -0
  117. package/dist/models/google_play_data.d.ts +115 -0
  118. package/dist/models/google_play_data.js +8 -0
  119. package/dist/models/google_play_data.js.map +1 -0
  120. package/dist/models/index.d.ts +14 -0
  121. package/dist/models/index.js +36 -0
  122. package/dist/models/index.js.map +1 -0
  123. package/dist/models/market_research_data.d.ts +259 -0
  124. package/dist/models/market_research_data.js +8 -0
  125. package/dist/models/market_research_data.js.map +1 -0
  126. package/dist/models/marketing_analysis_data.d.ts +200 -0
  127. package/dist/models/marketing_analysis_data.js +8 -0
  128. package/dist/models/marketing_analysis_data.js.map +1 -0
  129. package/dist/models/pdf_data.d.ts +112 -0
  130. package/dist/models/pdf_data.js +8 -0
  131. package/dist/models/pdf_data.js.map +1 -0
  132. package/dist/services/chart_service.d.ts +54 -0
  133. package/dist/services/chart_service.js +436 -0
  134. package/dist/services/chart_service.js.map +1 -0
  135. package/dist/services/github_analysis_service.d.ts +73 -0
  136. package/dist/services/github_analysis_service.js +488 -0
  137. package/dist/services/github_analysis_service.js.map +1 -0
  138. package/dist/services/pdf_service.d.ts +112 -0
  139. package/dist/services/pdf_service.js +1397 -0
  140. package/dist/services/pdf_service.js.map +1 -0
  141. package/dist/utils/github_analysis_storage.d.ts +88 -0
  142. package/dist/utils/github_analysis_storage.js +154 -0
  143. package/dist/utils/github_analysis_storage.js.map +1 -0
  144. package/package.json +64 -0
  145. package/scripts/cleanup_test_data.ts +304 -0
  146. package/scripts/list_test_data.ts +85 -0
@@ -0,0 +1,115 @@
1
+ /**
2
+ * Google Play data types.
3
+ *
4
+ * Google Playデータ型。
5
+ */
6
+ import { DateRange, RatingDistribution, Review } from "./common";
7
+ export { DateRange, RatingDistribution, Review };
8
+ /**
9
+ * Google Play metrics data.
10
+ * Google Playのメトリクスデータ。
11
+ */
12
+ export interface GooglePlayData {
13
+ packageName: string;
14
+ dateRange: DateRange;
15
+ totalInstalls?: number;
16
+ activeInstalls?: number;
17
+ newInstalls?: number;
18
+ uninstalls?: number;
19
+ updateInstalls?: number;
20
+ averageRating?: number;
21
+ totalRatings?: number;
22
+ ratingDistribution?: RatingDistribution;
23
+ recentReviews?: Review[];
24
+ totalRevenue?: number;
25
+ revenueCurrency?: string;
26
+ crashRate?: number;
27
+ anrRate?: number;
28
+ collectedAt: Date;
29
+ }
30
+ /**
31
+ * Configuration for Google Play Client.
32
+ */
33
+ export interface GooglePlayClientConfig {
34
+ /** Path to service account JSON file */
35
+ serviceAccountPath: string;
36
+ /** App package name (e.g., com.example.app) */
37
+ packageName: string;
38
+ }
39
+ /**
40
+ * App information from Google Play.
41
+ */
42
+ export interface GooglePlayAppInfo {
43
+ packageName: string;
44
+ title: string;
45
+ description?: string;
46
+ }
47
+ /**
48
+ * Install statistics from Google Play.
49
+ */
50
+ export interface GooglePlayInstallStats {
51
+ totalInstalls: number;
52
+ totalUninstalls: number;
53
+ activeInstalls: number;
54
+ dailyStats: Array<{
55
+ date: string;
56
+ installs: number;
57
+ uninstalls: number;
58
+ updates: number;
59
+ }>;
60
+ }
61
+ /**
62
+ * Ratings data from Google Play.
63
+ */
64
+ export interface GooglePlayRatings {
65
+ averageRating: number;
66
+ totalRatings: number;
67
+ ratingDistribution: {
68
+ 1: number;
69
+ 2: number;
70
+ 3: number;
71
+ 4: number;
72
+ 5: number;
73
+ };
74
+ }
75
+ /**
76
+ * Review data from Google Play.
77
+ */
78
+ export interface GooglePlayReview {
79
+ reviewId: string;
80
+ authorName: string;
81
+ rating: number;
82
+ text: string;
83
+ timestamp: Date;
84
+ language: string;
85
+ deviceName?: string;
86
+ appVersionCode?: number;
87
+ appVersionName?: string;
88
+ }
89
+ /**
90
+ * Reviews response from Google Play.
91
+ */
92
+ export interface GooglePlayReviewsResponse {
93
+ reviews: GooglePlayReview[];
94
+ nextPageToken?: string;
95
+ }
96
+ /**
97
+ * Revenue statistics from Google Play.
98
+ */
99
+ export interface GooglePlayRevenueStats {
100
+ totalRevenue: number;
101
+ currency: string;
102
+ dailyRevenue: Array<{
103
+ date: string;
104
+ revenue: number;
105
+ transactions: number;
106
+ }>;
107
+ }
108
+ /**
109
+ * Options for fetching reviews.
110
+ */
111
+ export interface GetReviewsOptions {
112
+ maxResults?: number;
113
+ pageToken?: string;
114
+ translationLanguage?: string;
115
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Google Play data types.
4
+ *
5
+ * Google Playデータ型。
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ //# sourceMappingURL=google_play_data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google_play_data.js","sourceRoot":"","sources":["../../src/models/google_play_data.ts"],"names":[],"mappings":";AAAA;;;;GAIG"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Model exports for masamune_workflow_marketing.
3
+ *
4
+ * masamune_workflow_marketingのモデルエクスポート。
5
+ */
6
+ export * from "./common";
7
+ export * from "./google_play_data";
8
+ export * from "./app_store_data";
9
+ export * from "./firebase_analytics_data";
10
+ export * from "./marketing_analysis_data";
11
+ export * from "./market_research_data";
12
+ export * from "./github_analysis_data";
13
+ export * from "./chart_data";
14
+ export * from "./pdf_data";
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ /**
3
+ * Model exports for masamune_workflow_marketing.
4
+ *
5
+ * masamune_workflow_marketingのモデルエクスポート。
6
+ */
7
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
8
+ if (k2 === undefined) k2 = k;
9
+ var desc = Object.getOwnPropertyDescriptor(m, k);
10
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
11
+ desc = { enumerable: true, get: function() { return m[k]; } };
12
+ }
13
+ Object.defineProperty(o, k2, desc);
14
+ }) : (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ o[k2] = m[k];
17
+ }));
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ // Common types
23
+ __exportStar(require("./common"), exports);
24
+ // Platform-specific data types
25
+ __exportStar(require("./google_play_data"), exports);
26
+ __exportStar(require("./app_store_data"), exports);
27
+ __exportStar(require("./firebase_analytics_data"), exports);
28
+ // Analysis data types
29
+ __exportStar(require("./marketing_analysis_data"), exports);
30
+ __exportStar(require("./market_research_data"), exports);
31
+ // GitHub analysis data types
32
+ __exportStar(require("./github_analysis_data"), exports);
33
+ // Output data types
34
+ __exportStar(require("./chart_data"), exports);
35
+ __exportStar(require("./pdf_data"), exports);
36
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;AAEH,eAAe;AACf,2CAAyB;AAEzB,+BAA+B;AAC/B,qDAAmC;AACnC,mDAAiC;AACjC,4DAA0C;AAE1C,sBAAsB;AACtB,4DAA0C;AAC1C,yDAAuC;AAEvC,6BAA6B;AAC7B,yDAAuC;AAEvC,oBAAoB;AACpB,+CAA6B;AAC7B,6CAA2B"}
@@ -0,0 +1,259 @@
1
+ /**
2
+ * Market research data types.
3
+ *
4
+ * 市場調査データ型。
5
+ */
6
+ /**
7
+ * Demand level indicator.
8
+ *
9
+ * 需要レベル指標。
10
+ */
11
+ export type DemandLevel = "very_high" | "high" | "medium" | "low" | "very_low";
12
+ /**
13
+ * Trend direction indicator.
14
+ *
15
+ * トレンド方向指標。
16
+ */
17
+ export type TrendDirection = "rapidly_growing" | "growing" | "stable" | "declining" | "rapidly_declining";
18
+ /**
19
+ * Confidence level for forecasts.
20
+ *
21
+ * 予測の信頼度。
22
+ */
23
+ export type ConfidenceLevel = "high" | "medium" | "low";
24
+ /**
25
+ * Strategy priority level.
26
+ *
27
+ * 施策の優先度。
28
+ */
29
+ export type StrategyPriority = "high" | "medium" | "low";
30
+ /**
31
+ * Business opportunity type.
32
+ *
33
+ * ビジネス機会の種類。
34
+ */
35
+ export type BusinessOpportunityType = "market_gap" | "emerging_trend" | "underserved_segment" | "technology_shift" | "regulatory_change" | "other";
36
+ /**
37
+ * Opportunity timeframe.
38
+ *
39
+ * 機会の時間枠。
40
+ */
41
+ export type OpportunityTimeframe = "immediate" | "short_term" | "medium_term" | "long_term";
42
+ /**
43
+ * Revenue strategy type.
44
+ *
45
+ * 収益施策の種類。
46
+ */
47
+ export type RevenueStrategyType = "pricing" | "monetization" | "expansion" | "partnership" | "product" | "marketing";
48
+ /**
49
+ * Traffic strategy channel.
50
+ *
51
+ * 流入施策のチャネル。
52
+ */
53
+ export type TrafficChannel = "organic_search" | "paid_ads" | "social_media" | "content_marketing" | "referral" | "email" | "partnerships" | "other";
54
+ /**
55
+ * Market potential analysis.
56
+ *
57
+ * 市場ポテンシャル分析。
58
+ */
59
+ export interface MarketPotential {
60
+ /** Overall market assessment summary */
61
+ summary: string;
62
+ /** Total addressable market (TAM) */
63
+ tam?: string;
64
+ /** Serviceable addressable market (SAM) */
65
+ sam?: string;
66
+ /** Serviceable obtainable market (SOM) */
67
+ som?: string;
68
+ /** Key market drivers */
69
+ marketDrivers: string[];
70
+ /** Market barriers */
71
+ marketBarriers: string[];
72
+ /** Target market segments */
73
+ targetSegments: string[];
74
+ }
75
+ /**
76
+ * Competitor information.
77
+ *
78
+ * 競合情報。
79
+ */
80
+ export interface Competitor {
81
+ /** Competitor name/service */
82
+ name: string;
83
+ /** Brief description */
84
+ description: string;
85
+ /** Estimated market share (if known) */
86
+ marketShare?: string;
87
+ /** Key strengths */
88
+ strengths: string[];
89
+ /** Key weaknesses */
90
+ weaknesses: string[];
91
+ /** Pricing model/range (if known) */
92
+ pricing?: string;
93
+ /** Target audience */
94
+ targetAudience?: string;
95
+ /** Source URL (from Google Search) */
96
+ sourceUrl?: string;
97
+ }
98
+ /**
99
+ * Competitor analysis results.
100
+ *
101
+ * 競合分析結果。
102
+ */
103
+ export interface CompetitorAnalysis {
104
+ /** List of identified competitors */
105
+ competitors: Competitor[];
106
+ /** Market landscape summary */
107
+ marketLandscape: string;
108
+ /** Competitive advantages for the project */
109
+ competitiveAdvantages: string[];
110
+ /** Differentiation opportunities */
111
+ differentiationOpportunities: string[];
112
+ /** Market gaps identified */
113
+ marketGaps: string[];
114
+ }
115
+ /**
116
+ * Business opportunity identified through research.
117
+ *
118
+ * 調査で特定されたビジネス機会。
119
+ */
120
+ export interface BusinessOpportunity {
121
+ /** Opportunity title */
122
+ title: string;
123
+ /** Detailed description */
124
+ description: string;
125
+ /** Opportunity type */
126
+ type: BusinessOpportunityType;
127
+ /** Potential impact */
128
+ potentialImpact: StrategyPriority;
129
+ /** Time to capitalize */
130
+ timeframe: OpportunityTimeframe;
131
+ /** Required resources/actions */
132
+ requirements: string[];
133
+ /** Associated risks */
134
+ risks: string[];
135
+ }
136
+ /**
137
+ * Market research data (Action 1 output).
138
+ *
139
+ * 市場調査データ(Action 1の出力)。
140
+ */
141
+ export interface MarketResearchData {
142
+ /** Market potential analysis */
143
+ marketPotential: MarketPotential;
144
+ /** Competitor analysis */
145
+ competitorAnalysis: CompetitorAnalysis;
146
+ /** Identified business opportunities */
147
+ businessOpportunities: BusinessOpportunity[];
148
+ /** Data sources used (from Google Search) */
149
+ dataSources: string[];
150
+ /** Generation timestamp */
151
+ generatedAt: string;
152
+ }
153
+ /**
154
+ * Demand forecast for a specific time period.
155
+ *
156
+ * 特定期間の需要予測。
157
+ */
158
+ export interface DemandForecastPeriod {
159
+ /** Time period label (e.g., "now", "3_months", "1_year") */
160
+ period: string;
161
+ /** Demand level assessment */
162
+ demandLevel: DemandLevel;
163
+ /** Estimated market size (if available) */
164
+ estimatedMarketSize?: string;
165
+ /** Growth rate percentage */
166
+ growthRate?: string;
167
+ /** Key factors affecting this forecast */
168
+ keyFactors: string[];
169
+ /** Confidence in this forecast */
170
+ confidence: ConfidenceLevel;
171
+ }
172
+ /**
173
+ * Complete demand forecast analysis.
174
+ *
175
+ * 完全な需要予測分析。
176
+ */
177
+ export interface DemandForecast {
178
+ /** Current market demand assessment */
179
+ currentDemand: DemandForecastPeriod;
180
+ /** 3-month forecast */
181
+ threeMonthForecast: DemandForecastPeriod;
182
+ /** 1-year forecast */
183
+ oneYearForecast: DemandForecastPeriod;
184
+ /** 3-year forecast */
185
+ threeYearForecast: DemandForecastPeriod;
186
+ /** 5-year forecast */
187
+ fiveYearForecast: DemandForecastPeriod;
188
+ /** Overall market trend */
189
+ overallTrend: TrendDirection;
190
+ /** Summary of demand analysis */
191
+ summary: string;
192
+ }
193
+ /**
194
+ * Revenue strategy recommendation.
195
+ *
196
+ * 収益施策の推奨。
197
+ */
198
+ export interface RevenueStrategy {
199
+ /** Strategy name */
200
+ name: string;
201
+ /** Detailed description */
202
+ description: string;
203
+ /** Strategy type */
204
+ type: RevenueStrategyType;
205
+ /** Priority level */
206
+ priority: StrategyPriority;
207
+ /** Expected revenue impact */
208
+ expectedImpact: string;
209
+ /** Implementation steps */
210
+ implementationSteps: string[];
211
+ /** Key metrics to track */
212
+ kpiMetrics: string[];
213
+ /** Timeline for implementation */
214
+ timeline: string;
215
+ }
216
+ /**
217
+ * Traffic growth strategy recommendation.
218
+ *
219
+ * 流入増加施策の推奨。
220
+ */
221
+ export interface TrafficStrategy {
222
+ /** Strategy name */
223
+ name: string;
224
+ /** Detailed description */
225
+ description: string;
226
+ /** Channel type */
227
+ channel: TrafficChannel;
228
+ /** Priority level */
229
+ priority: StrategyPriority;
230
+ /** Expected traffic increase */
231
+ expectedImpact: string;
232
+ /** Implementation steps */
233
+ implementationSteps: string[];
234
+ /** Estimated cost/resources */
235
+ estimatedCost?: string;
236
+ /** Timeline for results */
237
+ timeline: string;
238
+ }
239
+ /**
240
+ * Complete market research result (Action 2 output).
241
+ *
242
+ * 完全な市場調査結果(Action 2の出力)。
243
+ */
244
+ export interface MarketResearch {
245
+ /** Research summary */
246
+ summary: string;
247
+ /** Demand forecast across time periods */
248
+ demandForecast: DemandForecast;
249
+ /** Revenue growth strategies */
250
+ revenueStrategies: RevenueStrategy[];
251
+ /** Traffic growth strategies */
252
+ trafficStrategies: TrafficStrategy[];
253
+ /** Key insights and recommendations */
254
+ keyInsights: string[];
255
+ /** Research data reference (Action 1 results) */
256
+ researchData: MarketResearchData;
257
+ /** Generation timestamp */
258
+ generatedAt: string;
259
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Market research data types.
4
+ *
5
+ * 市場調査データ型。
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ //# sourceMappingURL=market_research_data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"market_research_data.js","sourceRoot":"","sources":["../../src/models/market_research_data.ts"],"names":[],"mappings":";AAAA;;;;GAIG"}
@@ -0,0 +1,200 @@
1
+ /**
2
+ * Marketing analysis data types (AI-generated).
3
+ *
4
+ * マーケティング分析データ型(AI生成)。
5
+ */
6
+ /**
7
+ * Key metric with trend indicator.
8
+ *
9
+ * トレンド指標付きの主要メトリクス。
10
+ */
11
+ export interface KeyMetric {
12
+ metric: string;
13
+ value: string;
14
+ trend: "up" | "down" | "stable";
15
+ }
16
+ /**
17
+ * Overall analysis summary.
18
+ *
19
+ * 全体分析のサマリー。
20
+ */
21
+ export interface OverallAnalysis {
22
+ summary: string;
23
+ highlights: string[];
24
+ concerns: string[];
25
+ keyMetrics: KeyMetric[];
26
+ }
27
+ /**
28
+ * Improvement suggestion from AI analysis.
29
+ *
30
+ * AI分析からの改善提案。
31
+ */
32
+ export interface ImprovementSuggestion {
33
+ title: string;
34
+ description: string;
35
+ priority: "high" | "medium" | "low";
36
+ category: "user_acquisition" | "retention" | "engagement" | "monetization" | "quality" | "development";
37
+ expectedImpact?: string;
38
+ }
39
+ /**
40
+ * Sentiment breakdown for reviews.
41
+ *
42
+ * レビューの感情分析内訳。
43
+ */
44
+ export interface SentimentBreakdown {
45
+ positive: number;
46
+ neutral: number;
47
+ negative: number;
48
+ }
49
+ /**
50
+ * Review analysis data.
51
+ *
52
+ * レビュー分析データ。
53
+ */
54
+ export interface ReviewAnalysis {
55
+ sentiment: SentimentBreakdown;
56
+ commonThemes: string[];
57
+ actionableInsights: string[];
58
+ }
59
+ /**
60
+ * Trend analysis data.
61
+ *
62
+ * トレンド分析データ。
63
+ */
64
+ export interface TrendAnalysis {
65
+ userGrowthTrend: string;
66
+ engagementTrend: string;
67
+ ratingTrend: string;
68
+ predictions: string[];
69
+ }
70
+ /**
71
+ * Complete marketing analytics data from AI analysis.
72
+ *
73
+ * AI分析からの完全なマーケティング分析データ。
74
+ */
75
+ export interface MarketingAnalyticsData {
76
+ overallAnalysis?: OverallAnalysis;
77
+ improvementSuggestions?: ImprovementSuggestion[];
78
+ trendAnalysis?: TrendAnalysis;
79
+ reviewAnalysis?: ReviewAnalysis;
80
+ /** Competitive positioning analysis (when market research data is available) */
81
+ competitivePositioning?: CompetitivePositioningAnalysis;
82
+ /** Market opportunity priority analysis (when market research data is available) */
83
+ marketOpportunityPriority?: MarketOpportunityPriorityAnalysis;
84
+ /** Whether market research data was integrated into the analysis */
85
+ marketDataIntegrated?: boolean;
86
+ generatedAt: string;
87
+ }
88
+ /**
89
+ * Code reference for a specific improvement.
90
+ *
91
+ * 特定の改善のためのコード参照。
92
+ */
93
+ export interface CodeReference {
94
+ /** File path in the repository */
95
+ filePath: string;
96
+ /** Current functionality description */
97
+ currentFunctionality: string;
98
+ /** Proposed change description */
99
+ proposedChange: string;
100
+ /** Type of modification needed */
101
+ modificationType: "add" | "modify" | "refactor" | "optimize";
102
+ }
103
+ /**
104
+ * GitHub-aware improvement suggestion with code references.
105
+ *
106
+ * コード参照付きのGitHub対応改善提案。
107
+ */
108
+ export interface GitHubImprovementSuggestion {
109
+ /** Brief title of the improvement */
110
+ title: string;
111
+ /** Detailed description of what to improve */
112
+ description: string;
113
+ /** Priority level */
114
+ priority: "high" | "medium" | "low";
115
+ /** Category of improvement */
116
+ category: "user_acquisition" | "retention" | "engagement" | "monetization" | "quality" | "development";
117
+ /** Expected impact if implemented */
118
+ expectedImpact: string;
119
+ /** Code-specific references */
120
+ codeReferences: CodeReference[];
121
+ /** Related feature from GitHub analysis */
122
+ relatedFeature?: string;
123
+ }
124
+ /**
125
+ * GitHub-based improvements analysis result.
126
+ *
127
+ * GitHubベースの改善分析結果。
128
+ */
129
+ export interface GitHubImprovementsAnalysis {
130
+ /** Repository analyzed */
131
+ repository: string;
132
+ /** Framework detected */
133
+ framework: string;
134
+ /** List of improvements with code references */
135
+ improvements: GitHubImprovementSuggestion[];
136
+ /** Summary of improvement areas */
137
+ improvementSummary: string;
138
+ /** When analysis was generated */
139
+ generatedAt: string;
140
+ }
141
+ /**
142
+ * Competitor comparison result.
143
+ *
144
+ * 競合比較結果。
145
+ */
146
+ export interface CompetitorComparison {
147
+ /** Competitor name */
148
+ competitor: string;
149
+ /** Our strengths against this competitor */
150
+ ourStrengths: string[];
151
+ /** Our weaknesses against this competitor */
152
+ ourWeaknesses: string[];
153
+ /** Recommended strategy to compete */
154
+ battleStrategy: string;
155
+ }
156
+ /**
157
+ * Competitive positioning analysis result.
158
+ *
159
+ * 競合ポジショニング分析結果。
160
+ */
161
+ export interface CompetitivePositioningAnalysis {
162
+ /** Current market position assessment */
163
+ marketPosition: string;
164
+ /** Comparison with each competitor */
165
+ competitorComparison: CompetitorComparison[];
166
+ /** Overall differentiation strategy */
167
+ differentiationStrategy: string;
168
+ /** Quick win opportunities */
169
+ quickWins: string[];
170
+ }
171
+ /**
172
+ * Prioritized opportunity result.
173
+ *
174
+ * 優先度付けされた機会の結果。
175
+ */
176
+ export interface PrioritizedOpportunity {
177
+ /** Opportunity name/title */
178
+ opportunity: string;
179
+ /** Fit score with current app */
180
+ fitScore: "excellent" | "good" | "moderate" | "poor";
181
+ /** Reason for the fit score */
182
+ fitReason: string;
183
+ /** Required changes to capitalize */
184
+ requiredChanges: string[];
185
+ /** Estimated implementation effort */
186
+ estimatedEffort: "low" | "medium" | "high";
187
+ /** Recommended action */
188
+ recommendedAction: string;
189
+ }
190
+ /**
191
+ * Market opportunity priority analysis result.
192
+ *
193
+ * 市場機会優先度分析結果。
194
+ */
195
+ export interface MarketOpportunityPriorityAnalysis {
196
+ /** List of prioritized opportunities */
197
+ prioritizedOpportunities: PrioritizedOpportunity[];
198
+ /** Strategic recommendation summary */
199
+ strategicRecommendation: string;
200
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Marketing analysis data types (AI-generated).
4
+ *
5
+ * マーケティング分析データ型(AI生成)。
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ //# sourceMappingURL=marketing_analysis_data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marketing_analysis_data.js","sourceRoot":"","sources":["../../src/models/marketing_analysis_data.ts"],"names":[],"mappings":";AAAA;;;;GAIG"}