@echortech/bot-widget 1.0.0 → 1.1.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/dist/native/core/api-client.d.ts +14 -40
- package/dist/native/core/api-client.d.ts.map +1 -1
- package/dist/native/core/api-client.js +86 -94
- package/dist/native/core/api-client.js.map +1 -1
- package/dist/native/core/index.d.ts +1 -1
- package/dist/native/core/index.d.ts.map +1 -1
- package/dist/native/core/index.js.map +1 -1
- package/dist/native/core/types.d.ts +127 -29
- package/dist/native/core/types.d.ts.map +1 -1
- package/dist/tsconfig.native.tsbuildinfo +1 -1
- package/dist/tsconfig.web.tsbuildinfo +1 -1
- package/dist/web/core/api-client.d.ts +14 -40
- package/dist/web/core/api-client.d.ts.map +1 -1
- package/dist/web/core/api-client.js +86 -94
- package/dist/web/core/api-client.js.map +1 -1
- package/dist/web/core/index.d.ts +1 -1
- package/dist/web/core/index.d.ts.map +1 -1
- package/dist/web/core/index.js.map +1 -1
- package/dist/web/core/types.d.ts +127 -29
- package/dist/web/core/types.d.ts.map +1 -1
- package/package.json +14 -6
|
@@ -1,56 +1,30 @@
|
|
|
1
|
-
import { ChatResponse, GreetingResponse,
|
|
1
|
+
import { ChatResponse, GreetingResponse, DocumentsNeededResponse, FormPathResponse, IntakeStartResponse, IntakeAnswerResponse, UserProfile, HealthCheckResponse, AnomalyResult, TaxSimulationResult, OptimizationResult, AuditChecklistResult, DocumentTrackingResult, FormProgressRequest, FormProgressResponse } from './types';
|
|
2
2
|
export declare class BotAPIClient {
|
|
3
3
|
private client;
|
|
4
|
-
private baseUrl;
|
|
5
4
|
private jwtToken;
|
|
6
5
|
private firmId;
|
|
7
6
|
constructor(baseUrl: string, jwtToken: string, firmId: string);
|
|
8
|
-
|
|
9
|
-
* Send a message to the bot and receive a response
|
|
10
|
-
*/
|
|
7
|
+
private get authHeaders();
|
|
11
8
|
sendMessage(message: string, chatId: number, context?: {
|
|
12
9
|
filing_id?: string;
|
|
13
10
|
tax_year?: number;
|
|
14
11
|
}): Promise<ChatResponse>;
|
|
15
|
-
/**
|
|
16
|
-
* Get a proactive greeting based on user's current state
|
|
17
|
-
*/
|
|
18
12
|
getGreeting(): Promise<GreetingResponse>;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
getDocumentsNeeded(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Record an answer and get the next question
|
|
33
|
-
*/
|
|
34
|
-
answerIntakeQuestion(sessionId: string, answer: string): Promise<IntakeQuestion>;
|
|
35
|
-
/**
|
|
36
|
-
* Get completed intake profile
|
|
37
|
-
*/
|
|
38
|
-
getProfile(chatId: number): Promise<UserProfile>;
|
|
39
|
-
/**
|
|
40
|
-
* Check bot service and dependencies health
|
|
41
|
-
*/
|
|
13
|
+
startIntake(): Promise<IntakeStartResponse>;
|
|
14
|
+
answerIntakeQuestion(questionId: string, answer: boolean): Promise<IntakeAnswerResponse>;
|
|
15
|
+
getProfile(): Promise<UserProfile>;
|
|
16
|
+
getDocumentsNeeded(): Promise<DocumentsNeededResponse>;
|
|
17
|
+
getFormPath(): Promise<FormPathResponse>;
|
|
18
|
+
checkAnomalies(formData: Record<string, unknown>): Promise<AnomalyResult>;
|
|
19
|
+
getTaxSimulation(): Promise<TaxSimulationResult>;
|
|
20
|
+
getOptimizationSuggestions(): Promise<OptimizationResult>;
|
|
21
|
+
getAuditChecklist(): Promise<AuditChecklistResult>;
|
|
22
|
+
getDocumentTracking(): Promise<DocumentTrackingResult>;
|
|
23
|
+
saveFormProgress(progress: FormProgressRequest): Promise<FormProgressResponse>;
|
|
24
|
+
getFormProgress(filingId: string): Promise<FormProgressResponse>;
|
|
42
25
|
healthCheck(): Promise<HealthCheckResponse>;
|
|
43
|
-
/**
|
|
44
|
-
* Update JWT token (for token refresh scenarios)
|
|
45
|
-
*/
|
|
46
26
|
setToken(token: string): void;
|
|
47
|
-
/**
|
|
48
|
-
* Update firm ID
|
|
49
|
-
*/
|
|
50
27
|
setFirmId(firmId: string): void;
|
|
51
|
-
/**
|
|
52
|
-
* Handle API errors
|
|
53
|
-
*/
|
|
54
28
|
private handleError;
|
|
55
29
|
}
|
|
56
30
|
export default BotAPIClient;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-client.d.ts","sourceRoot":"","sources":["../../../src/core/api-client.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,YAAY,EACZ,gBAAgB,EAChB,
|
|
1
|
+
{"version":3,"file":"api-client.d.ts","sourceRoot":"","sources":["../../../src/core/api-client.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,YAAY,EACZ,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,mBAAmB,EAEnB,oBAAoB,EACpB,WAAW,EACX,mBAAmB,EAEnB,aAAa,EACb,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,SAAS,CAAC;AAEjB,qBAAa,YAAY;IACvB,OAAO,CAAC,MAAM,CAAgB;IAC9B,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,MAAM,CAAS;gBAEX,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAa7D,OAAO,KAAK,WAAW,GAKtB;IAEK,WAAW,CACf,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,GAClD,OAAO,CAAC,YAAY,CAAC;IAYlB,WAAW,IAAI,OAAO,CAAC,gBAAgB,CAAC;IAaxC,WAAW,IAAI,OAAO,CAAC,mBAAmB,CAAC;IAa3C,oBAAoB,CACxB,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,OAAO,GACd,OAAO,CAAC,oBAAoB,CAAC;IAc1B,UAAU,IAAI,OAAO,CAAC,WAAW,CAAC;IAWlC,kBAAkB,IAAI,OAAO,CAAC,uBAAuB,CAAC;IAYtD,WAAW,IAAI,OAAO,CAAC,gBAAgB,CAAC;IAYxC,cAAc,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC;IAazE,gBAAgB,IAAI,OAAO,CAAC,mBAAmB,CAAC;IAYhD,0BAA0B,IAAI,OAAO,CAAC,kBAAkB,CAAC;IAYzD,iBAAiB,IAAI,OAAO,CAAC,oBAAoB,CAAC;IAYlD,mBAAmB,IAAI,OAAO,CAAC,sBAAsB,CAAC;IAYtD,gBAAgB,CAAC,QAAQ,EAAE,mBAAmB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAa9E,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAYhE,WAAW,IAAI,OAAO,CAAC,mBAAmB,CAAC;IASjD,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAI7B,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAI/B,OAAO,CAAC,WAAW;CAsBpB;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1,32 +1,27 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
export class BotAPIClient {
|
|
3
3
|
constructor(baseUrl, jwtToken, firmId) {
|
|
4
|
-
this.baseUrl = baseUrl;
|
|
5
4
|
this.jwtToken = jwtToken;
|
|
6
5
|
this.firmId = firmId;
|
|
7
6
|
this.client = axios.create({
|
|
8
7
|
baseURL: baseUrl,
|
|
9
|
-
timeout:
|
|
8
|
+
timeout: 30000,
|
|
10
9
|
headers: {
|
|
11
10
|
'Content-Type': 'application/json',
|
|
12
11
|
},
|
|
13
12
|
});
|
|
14
13
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
get authHeaders() {
|
|
15
|
+
return {
|
|
16
|
+
Authorization: `Bearer ${this.jwtToken}`,
|
|
17
|
+
'x-firm-id': this.firmId,
|
|
18
|
+
};
|
|
19
|
+
}
|
|
18
20
|
async sendMessage(message, chatId, context) {
|
|
19
21
|
try {
|
|
20
|
-
const request = {
|
|
21
|
-
message,
|
|
22
|
-
chatId,
|
|
23
|
-
context,
|
|
24
|
-
};
|
|
22
|
+
const request = { message, chatId, context };
|
|
25
23
|
const response = await this.client.post('/chat', request, {
|
|
26
|
-
headers:
|
|
27
|
-
Authorization: `Bearer ${this.jwtToken}`,
|
|
28
|
-
'x-firm-id': this.firmId,
|
|
29
|
-
},
|
|
24
|
+
headers: this.authHeaders,
|
|
30
25
|
});
|
|
31
26
|
return response.data;
|
|
32
27
|
}
|
|
@@ -34,67 +29,38 @@ export class BotAPIClient {
|
|
|
34
29
|
throw this.handleError(error);
|
|
35
30
|
}
|
|
36
31
|
}
|
|
37
|
-
/**
|
|
38
|
-
* Get a proactive greeting based on user's current state
|
|
39
|
-
*/
|
|
40
32
|
async getGreeting() {
|
|
41
33
|
try {
|
|
42
|
-
const response = await this.client.post('/greet', {}, {
|
|
43
|
-
headers: {
|
|
44
|
-
Authorization: `Bearer ${this.jwtToken}`,
|
|
45
|
-
'x-firm-id': this.firmId,
|
|
46
|
-
},
|
|
47
|
-
});
|
|
34
|
+
const response = await this.client.post('/greet', {}, { headers: this.authHeaders });
|
|
48
35
|
return response.data;
|
|
49
36
|
}
|
|
50
37
|
catch (error) {
|
|
51
38
|
throw this.handleError(error);
|
|
52
39
|
}
|
|
53
40
|
}
|
|
54
|
-
|
|
55
|
-
* Get list of documents user needs to upload
|
|
56
|
-
*/
|
|
57
|
-
async getDocumentsNeeded(chatId) {
|
|
41
|
+
async startIntake() {
|
|
58
42
|
try {
|
|
59
|
-
const response = await this.client.
|
|
60
|
-
headers: {
|
|
61
|
-
Authorization: `Bearer ${this.jwtToken}`,
|
|
62
|
-
'x-firm-id': this.firmId,
|
|
63
|
-
},
|
|
64
|
-
});
|
|
43
|
+
const response = await this.client.post('/filing/intake/start', {}, { headers: this.authHeaders });
|
|
65
44
|
return response.data;
|
|
66
45
|
}
|
|
67
46
|
catch (error) {
|
|
68
47
|
throw this.handleError(error);
|
|
69
48
|
}
|
|
70
49
|
}
|
|
71
|
-
|
|
72
|
-
* Get smart form routing based on user's profile
|
|
73
|
-
*/
|
|
74
|
-
async getFormPath(chatId) {
|
|
50
|
+
async answerIntakeQuestion(questionId, answer) {
|
|
75
51
|
try {
|
|
76
|
-
const
|
|
77
|
-
|
|
78
|
-
Authorization: `Bearer ${this.jwtToken}`,
|
|
79
|
-
'x-firm-id': this.firmId,
|
|
80
|
-
},
|
|
81
|
-
});
|
|
52
|
+
const request = { question_id: questionId, answer };
|
|
53
|
+
const response = await this.client.post('/filing/intake/answer', request, { headers: this.authHeaders });
|
|
82
54
|
return response.data;
|
|
83
55
|
}
|
|
84
56
|
catch (error) {
|
|
85
57
|
throw this.handleError(error);
|
|
86
58
|
}
|
|
87
59
|
}
|
|
88
|
-
|
|
89
|
-
* Start the 7-question intake questionnaire
|
|
90
|
-
*/
|
|
91
|
-
async startIntake() {
|
|
60
|
+
async getProfile() {
|
|
92
61
|
try {
|
|
93
|
-
const response = await this.client.
|
|
94
|
-
headers:
|
|
95
|
-
Authorization: `Bearer ${this.jwtToken}`,
|
|
96
|
-
'x-firm-id': this.firmId,
|
|
97
|
-
},
|
|
62
|
+
const response = await this.client.get('/filing/profile', {
|
|
63
|
+
headers: this.authHeaders,
|
|
98
64
|
});
|
|
99
65
|
return response.data;
|
|
100
66
|
}
|
|
@@ -102,76 +68,102 @@ export class BotAPIClient {
|
|
|
102
68
|
throw this.handleError(error);
|
|
103
69
|
}
|
|
104
70
|
}
|
|
105
|
-
|
|
106
|
-
* Record an answer and get the next question
|
|
107
|
-
*/
|
|
108
|
-
async answerIntakeQuestion(sessionId, answer) {
|
|
71
|
+
async getDocumentsNeeded() {
|
|
109
72
|
try {
|
|
110
|
-
const
|
|
111
|
-
session_id: sessionId,
|
|
112
|
-
answer,
|
|
113
|
-
};
|
|
114
|
-
const response = await this.client.post('/filing/intake/answer', request, {
|
|
115
|
-
headers: {
|
|
116
|
-
Authorization: `Bearer ${this.jwtToken}`,
|
|
117
|
-
'x-firm-id': this.firmId,
|
|
118
|
-
},
|
|
119
|
-
});
|
|
73
|
+
const response = await this.client.get('/filing/documents-needed', { headers: this.authHeaders });
|
|
120
74
|
return response.data;
|
|
121
75
|
}
|
|
122
76
|
catch (error) {
|
|
123
77
|
throw this.handleError(error);
|
|
124
78
|
}
|
|
125
79
|
}
|
|
126
|
-
|
|
127
|
-
* Get completed intake profile
|
|
128
|
-
*/
|
|
129
|
-
async getProfile(chatId) {
|
|
80
|
+
async getFormPath() {
|
|
130
81
|
try {
|
|
131
|
-
const response = await this.client.get(
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
82
|
+
const response = await this.client.get('/filing/form-path', { headers: this.authHeaders });
|
|
83
|
+
return response.data;
|
|
84
|
+
}
|
|
85
|
+
catch (error) {
|
|
86
|
+
throw this.handleError(error);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
async checkAnomalies(formData) {
|
|
90
|
+
try {
|
|
91
|
+
const response = await this.client.post('/filing/check-anomalies', formData, { headers: this.authHeaders });
|
|
92
|
+
return response.data;
|
|
93
|
+
}
|
|
94
|
+
catch (error) {
|
|
95
|
+
throw this.handleError(error);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
async getTaxSimulation() {
|
|
99
|
+
try {
|
|
100
|
+
const response = await this.client.get('/filing/tax-simulation', { headers: this.authHeaders });
|
|
101
|
+
return response.data;
|
|
102
|
+
}
|
|
103
|
+
catch (error) {
|
|
104
|
+
throw this.handleError(error);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
async getOptimizationSuggestions() {
|
|
108
|
+
try {
|
|
109
|
+
const response = await this.client.get('/filing/optimization-suggestions', { headers: this.authHeaders });
|
|
110
|
+
return response.data;
|
|
111
|
+
}
|
|
112
|
+
catch (error) {
|
|
113
|
+
throw this.handleError(error);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
async getAuditChecklist() {
|
|
117
|
+
try {
|
|
118
|
+
const response = await this.client.get('/filing/audit-checklist', { headers: this.authHeaders });
|
|
119
|
+
return response.data;
|
|
120
|
+
}
|
|
121
|
+
catch (error) {
|
|
122
|
+
throw this.handleError(error);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
async getDocumentTracking() {
|
|
126
|
+
try {
|
|
127
|
+
const response = await this.client.get('/filing/document-tracking', { headers: this.authHeaders });
|
|
128
|
+
return response.data;
|
|
129
|
+
}
|
|
130
|
+
catch (error) {
|
|
131
|
+
throw this.handleError(error);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
async saveFormProgress(progress) {
|
|
135
|
+
try {
|
|
136
|
+
const response = await this.client.post('/filing/save-form-progress', progress, { headers: this.authHeaders });
|
|
137
|
+
return response.data;
|
|
138
|
+
}
|
|
139
|
+
catch (error) {
|
|
140
|
+
throw this.handleError(error);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
async getFormProgress(filingId) {
|
|
144
|
+
try {
|
|
145
|
+
const response = await this.client.get(`/filing/form-progress?filing_id=${filingId}`, { headers: this.authHeaders });
|
|
137
146
|
return response.data;
|
|
138
147
|
}
|
|
139
148
|
catch (error) {
|
|
140
149
|
throw this.handleError(error);
|
|
141
150
|
}
|
|
142
151
|
}
|
|
143
|
-
/**
|
|
144
|
-
* Check bot service and dependencies health
|
|
145
|
-
*/
|
|
146
152
|
async healthCheck() {
|
|
147
153
|
try {
|
|
148
|
-
const response = await this.client.get('/health'
|
|
149
|
-
headers: {
|
|
150
|
-
Authorization: `Bearer ${this.jwtToken}`,
|
|
151
|
-
'x-firm-id': this.firmId,
|
|
152
|
-
},
|
|
153
|
-
});
|
|
154
|
+
const response = await this.client.get('/health');
|
|
154
155
|
return response.data;
|
|
155
156
|
}
|
|
156
157
|
catch (error) {
|
|
157
158
|
throw this.handleError(error);
|
|
158
159
|
}
|
|
159
160
|
}
|
|
160
|
-
/**
|
|
161
|
-
* Update JWT token (for token refresh scenarios)
|
|
162
|
-
*/
|
|
163
161
|
setToken(token) {
|
|
164
162
|
this.jwtToken = token;
|
|
165
163
|
}
|
|
166
|
-
/**
|
|
167
|
-
* Update firm ID
|
|
168
|
-
*/
|
|
169
164
|
setFirmId(firmId) {
|
|
170
165
|
this.firmId = firmId;
|
|
171
166
|
}
|
|
172
|
-
/**
|
|
173
|
-
* Handle API errors
|
|
174
|
-
*/
|
|
175
167
|
handleError(error) {
|
|
176
168
|
if (axios.isAxiosError(error)) {
|
|
177
169
|
const axiosError = error;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-client.js","sourceRoot":"","sources":["../../../src/core/api-client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"api-client.js","sourceRoot":"","sources":["../../../src/core/api-client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAsBzD,MAAM,OAAO,YAAY;IAKvB,YAAY,OAAe,EAAE,QAAgB,EAAE,MAAc;QAC3D,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QAErB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;YACzB,OAAO,EAAE,OAAO;YAChB,OAAO,EAAE,KAAK;YACd,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;SACF,CAAC,CAAC;IACL,CAAC;IAED,IAAY,WAAW;QACrB,OAAO;YACL,aAAa,EAAE,UAAU,IAAI,CAAC,QAAQ,EAAE;YACxC,WAAW,EAAE,IAAI,CAA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|
|
1
|
-
export type { ChatMessage, ChatRequest, ChatResponse, ChatContext, GreetingRequest, GreetingResponse, AlertAction,
|
|
1
|
+
export type { ChatMessage, ChatRequest, ChatResponse, ChatContext, GreetingRequest, GreetingResponse, AlertAction, IntakeQuestion, IntakeStartResponse, IntakeAnswerRequest, IntakeAnswerResponse, UserProfile, DocumentNeededItem, DocumentsNeededResponse, FormSectionItem, FormPathResponse, AnomalyResult, TaxSimulationResult, OptimizationResult, AuditChecklistResult, DocumentTrackingResult, FormProgressRequest, FormProgressResponse, HealthCheckResponse, BotAPIError, BotWidgetConfig, } from './types';
|
|
2
2
|
export { BotAPIClient, default } from './api-client';
|
|
3
3
|
export { formatTimestamp, isTokenExpired, getErrorMessage, debounce, throttle, isValidToken, getPriorityColor, getPriorityLabel, truncateText, isMessageTooLong, formatProgress, } from './utils';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":"AACA,YAAY,EACV,WAAW,EACX,WAAW,EACX,YAAY,EACZ,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":"AACA,YAAY,EACV,WAAW,EACX,WAAW,EACX,YAAY,EACZ,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,WAAW,EACX,kBAAkB,EAClB,uBAAuB,EACvB,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,WAAW,EACX,eAAe,GAChB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAGrD,OAAO,EACL,eAAe,EACf,cAAc,EACd,eAAe,EACf,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,EAChB,cAAc,GACf,MAAM,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":"AA8BA,oBAAoB;AACpB,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAErD,mBAAmB;AACnB,OAAO,EACL,eAAe,EACf,cAAc,EACd,eAAe,EACf,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,EAChB,cAAc,GACf,MAAM,SAAS,CAAC"}
|
|
@@ -37,46 +37,144 @@ export interface GreetingResponse {
|
|
|
37
37
|
tax_year: number;
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
export interface
|
|
40
|
+
export interface IntakeQuestion {
|
|
41
|
+
id: string;
|
|
42
|
+
question: string;
|
|
43
|
+
type: string;
|
|
44
|
+
category: string;
|
|
45
|
+
options: string[];
|
|
46
|
+
}
|
|
47
|
+
export interface IntakeStartResponse {
|
|
48
|
+
session_id: string;
|
|
49
|
+
question_number: number;
|
|
50
|
+
total_questions: number;
|
|
51
|
+
question: IntakeQuestion;
|
|
52
|
+
progress: number;
|
|
53
|
+
}
|
|
54
|
+
export interface IntakeAnswerRequest {
|
|
55
|
+
question_id: string;
|
|
56
|
+
answer: boolean;
|
|
57
|
+
}
|
|
58
|
+
export interface IntakeAnswerResponse {
|
|
59
|
+
completed: boolean;
|
|
60
|
+
session_id: string;
|
|
61
|
+
question_number: number | null;
|
|
62
|
+
total_questions: number;
|
|
63
|
+
question: IntakeQuestion | null;
|
|
64
|
+
progress: number;
|
|
65
|
+
}
|
|
66
|
+
export interface UserProfile {
|
|
67
|
+
user_id: string;
|
|
68
|
+
completed: boolean;
|
|
69
|
+
progress_percent: number;
|
|
70
|
+
income_sources: string[];
|
|
71
|
+
has_dependents: boolean;
|
|
72
|
+
has_home_office: boolean;
|
|
73
|
+
has_investments: boolean;
|
|
74
|
+
has_rental_property: boolean;
|
|
75
|
+
has_life_changes: boolean;
|
|
76
|
+
wants_optimization: boolean;
|
|
77
|
+
answers: Record<string, unknown>;
|
|
78
|
+
categories: Record<string, unknown>;
|
|
79
|
+
}
|
|
80
|
+
export interface DocumentNeededItem {
|
|
41
81
|
type: string;
|
|
42
|
-
|
|
43
|
-
|
|
82
|
+
name: string;
|
|
83
|
+
priority: string;
|
|
84
|
+
status: string;
|
|
44
85
|
description: string;
|
|
45
|
-
|
|
46
|
-
count_uploaded: number;
|
|
47
|
-
deadline: string;
|
|
86
|
+
estimated_time_min: number;
|
|
48
87
|
}
|
|
49
|
-
export interface
|
|
50
|
-
documents:
|
|
51
|
-
overall_progress:
|
|
88
|
+
export interface DocumentsNeededResponse {
|
|
89
|
+
documents: DocumentNeededItem[];
|
|
90
|
+
overall_progress: number;
|
|
91
|
+
total_documents: number;
|
|
92
|
+
estimated_total_time: number;
|
|
52
93
|
}
|
|
53
|
-
export interface
|
|
94
|
+
export interface FormSectionItem {
|
|
95
|
+
id: string;
|
|
54
96
|
name: string;
|
|
55
|
-
status:
|
|
97
|
+
status: string;
|
|
56
98
|
guidance: string;
|
|
57
|
-
|
|
99
|
+
fields: string[];
|
|
100
|
+
estimated_time_min: number;
|
|
101
|
+
required: boolean;
|
|
58
102
|
}
|
|
59
103
|
export interface FormPathResponse {
|
|
60
|
-
sections:
|
|
104
|
+
sections: FormSectionItem[];
|
|
105
|
+
total_sections: number;
|
|
106
|
+
estimated_total_time: number;
|
|
107
|
+
completion_percent: number;
|
|
108
|
+
next_section: FormSectionItem | null;
|
|
109
|
+
}
|
|
110
|
+
export interface AnomalyResult {
|
|
111
|
+
anomalies: Array<{
|
|
112
|
+
field: string;
|
|
113
|
+
severity: string;
|
|
114
|
+
message: string;
|
|
115
|
+
}>;
|
|
116
|
+
risk_level: string;
|
|
117
|
+
}
|
|
118
|
+
export interface TaxSimulationResult {
|
|
119
|
+
scenarios: Array<{
|
|
120
|
+
name: string;
|
|
121
|
+
description: string;
|
|
122
|
+
estimated_tax: number;
|
|
123
|
+
estimated_refund: number;
|
|
124
|
+
savings_vs_current: number;
|
|
125
|
+
}>;
|
|
126
|
+
current_estimate: {
|
|
127
|
+
federal_tax: number;
|
|
128
|
+
provincial_tax: number;
|
|
129
|
+
total_tax: number;
|
|
130
|
+
};
|
|
61
131
|
}
|
|
62
|
-
export interface
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
132
|
+
export interface OptimizationResult {
|
|
133
|
+
suggestions: Array<{
|
|
134
|
+
type: string;
|
|
135
|
+
description: string;
|
|
136
|
+
potential_savings: number;
|
|
137
|
+
priority: string;
|
|
138
|
+
}>;
|
|
139
|
+
total_potential_savings: number;
|
|
140
|
+
}
|
|
141
|
+
export interface AuditChecklistResult {
|
|
142
|
+
risk_level: string;
|
|
143
|
+
risk_score: number;
|
|
144
|
+
checklist: Array<{
|
|
145
|
+
claim_type: string;
|
|
146
|
+
documents_needed: string[];
|
|
147
|
+
retention_period: string;
|
|
148
|
+
}>;
|
|
149
|
+
}
|
|
150
|
+
export interface DocumentTrackingResult {
|
|
151
|
+
documents: Array<{
|
|
152
|
+
document_id: string;
|
|
153
|
+
status: string;
|
|
154
|
+
queued_at?: string;
|
|
155
|
+
processing_started_at?: string;
|
|
156
|
+
completed_at?: string;
|
|
157
|
+
}>;
|
|
158
|
+
summary: {
|
|
159
|
+
total: number;
|
|
160
|
+
queued: number;
|
|
161
|
+
processing: number;
|
|
162
|
+
completed: number;
|
|
163
|
+
failed: number;
|
|
164
|
+
};
|
|
67
165
|
}
|
|
68
|
-
export interface
|
|
69
|
-
|
|
70
|
-
|
|
166
|
+
export interface FormProgressRequest {
|
|
167
|
+
filing_id: string;
|
|
168
|
+
current_section: number;
|
|
169
|
+
completed_sections: Record<string, unknown>;
|
|
170
|
+
form_data: Record<string, unknown>;
|
|
71
171
|
}
|
|
72
|
-
export interface
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
capital_gains: boolean;
|
|
79
|
-
completed_at: string;
|
|
172
|
+
export interface FormProgressResponse {
|
|
173
|
+
status: string;
|
|
174
|
+
filing_id?: string;
|
|
175
|
+
current_section?: number;
|
|
176
|
+
completed_sections?: Record<string, unknown>;
|
|
177
|
+
form_data?: Record<string, unknown>;
|
|
80
178
|
}
|
|
81
179
|
export interface HealthCheckResponse {
|
|
82
180
|
status: 'healthy' | 'degraded' | 'unhealthy';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/types.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,QAAQ,CAAC;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,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