@burdenoff/sdk-libs 2026.627.2 → 2026.627.3
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/modules/artistrybase/index.cjs +351 -0
- package/dist/modules/artistrybase/index.d.cts +469 -0
- package/dist/modules/artistrybase/index.d.ts +469 -0
- package/dist/modules/artistrybase/index.js +351 -0
- package/dist/modules/brainyrich/index.cjs +355 -0
- package/dist/modules/brainyrich/index.d.cts +483 -0
- package/dist/modules/brainyrich/index.d.ts +483 -0
- package/dist/modules/brainyrich/index.js +355 -0
- package/dist/modules/buildmyiq/index.cjs +259 -0
- package/dist/modules/buildmyiq/index.d.cts +384 -0
- package/dist/modules/buildmyiq/index.d.ts +384 -0
- package/dist/modules/buildmyiq/index.js +259 -0
- package/dist/modules/collabkin/index.cjs +238 -0
- package/dist/modules/collabkin/index.d.cts +340 -0
- package/dist/modules/collabkin/index.d.ts +340 -0
- package/dist/modules/collabkin/index.js +238 -0
- package/dist/modules/comradecircle/index.cjs +311 -0
- package/dist/modules/comradecircle/index.d.cts +390 -0
- package/dist/modules/comradecircle/index.d.ts +390 -0
- package/dist/modules/comradecircle/index.js +311 -0
- package/package.json +1 -1
|
@@ -0,0 +1,483 @@
|
|
|
1
|
+
import { J as Json, S as SdkModule } from '../../module-JDbvil5h.cjs';
|
|
2
|
+
import 'graphql-request';
|
|
3
|
+
|
|
4
|
+
type BraAccountStatus = 'ACTIVE' | 'ARCHIVED' | 'CLOSED';
|
|
5
|
+
type BraAccountType = 'ALTERNATIVE' | 'BANK' | 'BROKERAGE' | 'CASH' | 'CRYPTO' | 'LIABILITY' | 'REAL_ESTATE' | 'RETIREMENT';
|
|
6
|
+
type BraAssetClass = 'ALTERNATIVE' | 'CASH' | 'COMMODITY' | 'CRYPTO' | 'EQUITY' | 'FIXED_INCOME' | 'REAL_ESTATE';
|
|
7
|
+
type BraGoalProjection = 'AHEAD' | 'AT_RISK' | 'BEHIND' | 'ON_TRACK';
|
|
8
|
+
type BraGoalStatus = 'ABANDONED' | 'ACHIEVED' | 'ACTIVE' | 'ON_HOLD';
|
|
9
|
+
type BraGoalType = 'CUSTOM' | 'EDUCATION' | 'EMERGENCY_FUND' | 'HOME' | 'MAJOR_PURCHASE' | 'RETIREMENT' | 'WEALTH_GROWTH';
|
|
10
|
+
type BraHouseholdStatus = 'ACTIVE' | 'INACTIVE' | 'ONBOARDING' | 'PROSPECT';
|
|
11
|
+
type BraInsightSeverity = 'CRITICAL' | 'HIGH' | 'INFO' | 'LOW' | 'MEDIUM';
|
|
12
|
+
type BraInsightStatus = 'ACKNOWLEDGED' | 'DISMISSED' | 'OPEN' | 'RESOLVED';
|
|
13
|
+
type BraInsightType = 'CASH_DRAG' | 'CONCENTRATION_RISK' | 'DRIFT' | 'FEE_ANOMALY' | 'GOAL_AT_RISK' | 'REBALANCE_DUE' | 'TAX_OPPORTUNITY';
|
|
14
|
+
type BraPortfolioStatus = 'ACTIVE' | 'ARCHIVED' | 'DRAFT';
|
|
15
|
+
type BraRebalanceStatus = 'APPROVED' | 'CANCELLED' | 'DRAFT' | 'EXECUTED' | 'PROPOSED' | 'REJECTED';
|
|
16
|
+
type BraRiskProfile = 'AGGRESSIVE' | 'BALANCED' | 'CONSERVATIVE' | 'GROWTH' | 'MODERATE';
|
|
17
|
+
type BraTransactionType = 'BUY' | 'DEPOSIT' | 'DIVIDEND' | 'FEE' | 'INTEREST' | 'SELL' | 'TRANSFER' | 'WITHDRAWAL';
|
|
18
|
+
interface BraHousehold {
|
|
19
|
+
id: string;
|
|
20
|
+
advisorId: string;
|
|
21
|
+
aum: number;
|
|
22
|
+
currency: string;
|
|
23
|
+
name: string;
|
|
24
|
+
notes?: string | null;
|
|
25
|
+
primaryContactEmail?: string | null;
|
|
26
|
+
primaryContactName?: string | null;
|
|
27
|
+
riskProfile: BraRiskProfile;
|
|
28
|
+
status: BraHouseholdStatus;
|
|
29
|
+
tags: string[];
|
|
30
|
+
workspaceId: string;
|
|
31
|
+
createdAt: string;
|
|
32
|
+
updatedAt: string;
|
|
33
|
+
}
|
|
34
|
+
interface BraHolding {
|
|
35
|
+
id: string;
|
|
36
|
+
accountId: string;
|
|
37
|
+
asOf?: string | null;
|
|
38
|
+
assetClass: BraAssetClass;
|
|
39
|
+
costBasis: number;
|
|
40
|
+
currency: string;
|
|
41
|
+
lastPrice: number;
|
|
42
|
+
marketValue: number;
|
|
43
|
+
name?: string | null;
|
|
44
|
+
portfolioId?: string | null;
|
|
45
|
+
quantity: number;
|
|
46
|
+
symbol: string;
|
|
47
|
+
workspaceId: string;
|
|
48
|
+
createdAt: string;
|
|
49
|
+
updatedAt: string;
|
|
50
|
+
account?: BraAccount | null;
|
|
51
|
+
}
|
|
52
|
+
interface BraTransaction {
|
|
53
|
+
id: string;
|
|
54
|
+
accountId: string;
|
|
55
|
+
amount: number;
|
|
56
|
+
currency: string;
|
|
57
|
+
fee: number;
|
|
58
|
+
holdingId?: string | null;
|
|
59
|
+
notes?: string | null;
|
|
60
|
+
price: number;
|
|
61
|
+
quantity: number;
|
|
62
|
+
settleDate?: string | null;
|
|
63
|
+
symbol?: string | null;
|
|
64
|
+
tradeDate: string;
|
|
65
|
+
type: BraTransactionType;
|
|
66
|
+
workspaceId: string;
|
|
67
|
+
createdAt: string;
|
|
68
|
+
updatedAt: string;
|
|
69
|
+
}
|
|
70
|
+
interface BraAccount {
|
|
71
|
+
id: string;
|
|
72
|
+
accountMask?: string | null;
|
|
73
|
+
cashBalance: number;
|
|
74
|
+
currency: string;
|
|
75
|
+
householdId?: string | null;
|
|
76
|
+
institution?: string | null;
|
|
77
|
+
isManual: boolean;
|
|
78
|
+
name: string;
|
|
79
|
+
ownerId: string;
|
|
80
|
+
status: BraAccountStatus;
|
|
81
|
+
type: BraAccountType;
|
|
82
|
+
workspaceId: string;
|
|
83
|
+
createdAt: string;
|
|
84
|
+
updatedAt: string;
|
|
85
|
+
holdings?: BraHolding[];
|
|
86
|
+
transactions?: BraTransaction[];
|
|
87
|
+
}
|
|
88
|
+
interface BraModelAllocation {
|
|
89
|
+
id: string;
|
|
90
|
+
assetClass: BraAssetClass;
|
|
91
|
+
modelPortfolioId: string;
|
|
92
|
+
targetPct: number;
|
|
93
|
+
workspaceId: string;
|
|
94
|
+
createdAt: string;
|
|
95
|
+
updatedAt: string;
|
|
96
|
+
}
|
|
97
|
+
interface BraModelPortfolio {
|
|
98
|
+
id: string;
|
|
99
|
+
baseCurrency: string;
|
|
100
|
+
description?: string | null;
|
|
101
|
+
isActive: boolean;
|
|
102
|
+
name: string;
|
|
103
|
+
riskProfile: BraRiskProfile;
|
|
104
|
+
workspaceId: string;
|
|
105
|
+
createdAt: string;
|
|
106
|
+
updatedAt: string;
|
|
107
|
+
allocations?: BraModelAllocation[];
|
|
108
|
+
}
|
|
109
|
+
interface BraPortfolio {
|
|
110
|
+
id: string;
|
|
111
|
+
baseCurrency: string;
|
|
112
|
+
description?: string | null;
|
|
113
|
+
driftThresholdPct: number;
|
|
114
|
+
householdId?: string | null;
|
|
115
|
+
modelPortfolioId?: string | null;
|
|
116
|
+
name: string;
|
|
117
|
+
ownerId: string;
|
|
118
|
+
status: BraPortfolioStatus;
|
|
119
|
+
tags: string[];
|
|
120
|
+
targetAllocation?: Json | null;
|
|
121
|
+
workspaceId: string;
|
|
122
|
+
createdAt: string;
|
|
123
|
+
updatedAt: string;
|
|
124
|
+
holdings?: BraHolding[];
|
|
125
|
+
}
|
|
126
|
+
interface BraGoalFunding {
|
|
127
|
+
id: string;
|
|
128
|
+
accountId: string;
|
|
129
|
+
allocationPct: number;
|
|
130
|
+
fixedAmount?: number | null;
|
|
131
|
+
goalId: string;
|
|
132
|
+
workspaceId: string;
|
|
133
|
+
createdAt: string;
|
|
134
|
+
updatedAt: string;
|
|
135
|
+
}
|
|
136
|
+
interface BraGoal {
|
|
137
|
+
id: string;
|
|
138
|
+
currency: string;
|
|
139
|
+
householdId?: string | null;
|
|
140
|
+
monthlyContribution: number;
|
|
141
|
+
name: string;
|
|
142
|
+
notes?: string | null;
|
|
143
|
+
ownerId: string;
|
|
144
|
+
priority: number;
|
|
145
|
+
projection: BraGoalProjection;
|
|
146
|
+
status: BraGoalStatus;
|
|
147
|
+
tags: string[];
|
|
148
|
+
targetAmount: number;
|
|
149
|
+
targetDate: string;
|
|
150
|
+
type: BraGoalType;
|
|
151
|
+
workspaceId: string;
|
|
152
|
+
createdAt: string;
|
|
153
|
+
updatedAt: string;
|
|
154
|
+
fundings?: BraGoalFunding[];
|
|
155
|
+
}
|
|
156
|
+
interface BraInsight {
|
|
157
|
+
id: string;
|
|
158
|
+
acknowledgedById?: string | null;
|
|
159
|
+
detail?: string | null;
|
|
160
|
+
metrics?: Json | null;
|
|
161
|
+
ownerId: string;
|
|
162
|
+
resolvedAt?: string | null;
|
|
163
|
+
severity: BraInsightSeverity;
|
|
164
|
+
status: BraInsightStatus;
|
|
165
|
+
subjectId: string;
|
|
166
|
+
subjectType: string;
|
|
167
|
+
title: string;
|
|
168
|
+
type: BraInsightType;
|
|
169
|
+
workspaceId: string;
|
|
170
|
+
createdAt: string;
|
|
171
|
+
updatedAt: string;
|
|
172
|
+
}
|
|
173
|
+
interface BraRebalanceProposal {
|
|
174
|
+
id: string;
|
|
175
|
+
approvedById?: string | null;
|
|
176
|
+
driftPct: number;
|
|
177
|
+
executedAt?: string | null;
|
|
178
|
+
householdId?: string | null;
|
|
179
|
+
portfolioId: string;
|
|
180
|
+
proposedById?: string | null;
|
|
181
|
+
rationale?: string | null;
|
|
182
|
+
status: BraRebalanceStatus;
|
|
183
|
+
trades?: Json | null;
|
|
184
|
+
workspaceId: string;
|
|
185
|
+
createdAt: string;
|
|
186
|
+
updatedAt: string;
|
|
187
|
+
}
|
|
188
|
+
interface BraNetWorthByClass {
|
|
189
|
+
assetClass: BraAssetClass;
|
|
190
|
+
marketValue: number;
|
|
191
|
+
}
|
|
192
|
+
interface BraNetWorthSummary {
|
|
193
|
+
accountCount: number;
|
|
194
|
+
byAssetClass: BraNetWorthByClass[];
|
|
195
|
+
currency: string;
|
|
196
|
+
ownerId: string;
|
|
197
|
+
totalCash: number;
|
|
198
|
+
totalMarketValue: number;
|
|
199
|
+
totalNetWorth: number;
|
|
200
|
+
workspaceId: string;
|
|
201
|
+
}
|
|
202
|
+
interface BraPageInfo {
|
|
203
|
+
cursor?: string | null;
|
|
204
|
+
hasMore: boolean;
|
|
205
|
+
}
|
|
206
|
+
interface BraAccountConnection {
|
|
207
|
+
items: BraAccount[];
|
|
208
|
+
pageInfo: BraPageInfo;
|
|
209
|
+
}
|
|
210
|
+
interface BraGoalConnection {
|
|
211
|
+
items: BraGoal[];
|
|
212
|
+
pageInfo: BraPageInfo;
|
|
213
|
+
}
|
|
214
|
+
interface BraHouseholdConnection {
|
|
215
|
+
items: BraHousehold[];
|
|
216
|
+
pageInfo: BraPageInfo;
|
|
217
|
+
}
|
|
218
|
+
interface BraInsightConnection {
|
|
219
|
+
items: BraInsight[];
|
|
220
|
+
pageInfo: BraPageInfo;
|
|
221
|
+
}
|
|
222
|
+
interface BraPortfolioConnection {
|
|
223
|
+
items: BraPortfolio[];
|
|
224
|
+
pageInfo: BraPageInfo;
|
|
225
|
+
}
|
|
226
|
+
interface BraTransactionConnection {
|
|
227
|
+
items: BraTransaction[];
|
|
228
|
+
pageInfo: BraPageInfo;
|
|
229
|
+
}
|
|
230
|
+
interface BraPaginationInput {
|
|
231
|
+
cursor?: string;
|
|
232
|
+
limit?: number;
|
|
233
|
+
offset?: number;
|
|
234
|
+
}
|
|
235
|
+
interface BraCreateHouseholdInput {
|
|
236
|
+
name: string;
|
|
237
|
+
advisorId?: string;
|
|
238
|
+
currency?: string;
|
|
239
|
+
notes?: string;
|
|
240
|
+
primaryContactEmail?: string;
|
|
241
|
+
primaryContactName?: string;
|
|
242
|
+
riskProfile?: BraRiskProfile;
|
|
243
|
+
status?: BraHouseholdStatus;
|
|
244
|
+
tags?: string[];
|
|
245
|
+
}
|
|
246
|
+
interface BraUpdateHouseholdInput {
|
|
247
|
+
aum?: number;
|
|
248
|
+
currency?: string;
|
|
249
|
+
name?: string;
|
|
250
|
+
notes?: string;
|
|
251
|
+
primaryContactEmail?: string;
|
|
252
|
+
primaryContactName?: string;
|
|
253
|
+
riskProfile?: BraRiskProfile;
|
|
254
|
+
status?: BraHouseholdStatus;
|
|
255
|
+
tags?: string[];
|
|
256
|
+
}
|
|
257
|
+
interface BraCreateAccountInput {
|
|
258
|
+
name: string;
|
|
259
|
+
accountMask?: string;
|
|
260
|
+
cashBalance?: number;
|
|
261
|
+
currency?: string;
|
|
262
|
+
householdId?: string;
|
|
263
|
+
institution?: string;
|
|
264
|
+
isManual?: boolean;
|
|
265
|
+
ownerId?: string;
|
|
266
|
+
status?: BraAccountStatus;
|
|
267
|
+
type?: BraAccountType;
|
|
268
|
+
}
|
|
269
|
+
interface BraUpdateAccountInput {
|
|
270
|
+
accountMask?: string;
|
|
271
|
+
cashBalance?: number;
|
|
272
|
+
currency?: string;
|
|
273
|
+
householdId?: string;
|
|
274
|
+
institution?: string;
|
|
275
|
+
name?: string;
|
|
276
|
+
status?: BraAccountStatus;
|
|
277
|
+
type?: BraAccountType;
|
|
278
|
+
}
|
|
279
|
+
interface BraCreateHoldingInput {
|
|
280
|
+
accountId: string;
|
|
281
|
+
symbol: string;
|
|
282
|
+
asOf?: string;
|
|
283
|
+
assetClass?: BraAssetClass;
|
|
284
|
+
costBasis?: number;
|
|
285
|
+
currency?: string;
|
|
286
|
+
lastPrice?: number;
|
|
287
|
+
name?: string;
|
|
288
|
+
portfolioId?: string;
|
|
289
|
+
quantity?: number;
|
|
290
|
+
}
|
|
291
|
+
interface BraUpdateHoldingInput {
|
|
292
|
+
asOf?: string;
|
|
293
|
+
assetClass?: BraAssetClass;
|
|
294
|
+
costBasis?: number;
|
|
295
|
+
lastPrice?: number;
|
|
296
|
+
name?: string;
|
|
297
|
+
portfolioId?: string;
|
|
298
|
+
quantity?: number;
|
|
299
|
+
}
|
|
300
|
+
interface BraCreateTransactionInput {
|
|
301
|
+
accountId: string;
|
|
302
|
+
tradeDate: string;
|
|
303
|
+
type: BraTransactionType;
|
|
304
|
+
amount?: number;
|
|
305
|
+
currency?: string;
|
|
306
|
+
fee?: number;
|
|
307
|
+
holdingId?: string;
|
|
308
|
+
notes?: string;
|
|
309
|
+
price?: number;
|
|
310
|
+
quantity?: number;
|
|
311
|
+
settleDate?: string;
|
|
312
|
+
symbol?: string;
|
|
313
|
+
}
|
|
314
|
+
interface BraModelAllocationInput {
|
|
315
|
+
assetClass: BraAssetClass;
|
|
316
|
+
targetPct: number;
|
|
317
|
+
}
|
|
318
|
+
interface BraCreateModelPortfolioInput {
|
|
319
|
+
name: string;
|
|
320
|
+
allocations?: BraModelAllocationInput[];
|
|
321
|
+
baseCurrency?: string;
|
|
322
|
+
description?: string;
|
|
323
|
+
riskProfile?: BraRiskProfile;
|
|
324
|
+
}
|
|
325
|
+
interface BraCreatePortfolioInput {
|
|
326
|
+
name: string;
|
|
327
|
+
baseCurrency?: string;
|
|
328
|
+
description?: string;
|
|
329
|
+
driftThresholdPct?: number;
|
|
330
|
+
householdId?: string;
|
|
331
|
+
modelPortfolioId?: string;
|
|
332
|
+
ownerId?: string;
|
|
333
|
+
tags?: string[];
|
|
334
|
+
targetAllocation?: Json;
|
|
335
|
+
}
|
|
336
|
+
interface BraUpdatePortfolioInput {
|
|
337
|
+
baseCurrency?: string;
|
|
338
|
+
description?: string;
|
|
339
|
+
driftThresholdPct?: number;
|
|
340
|
+
modelPortfolioId?: string;
|
|
341
|
+
name?: string;
|
|
342
|
+
status?: BraPortfolioStatus;
|
|
343
|
+
tags?: string[];
|
|
344
|
+
targetAllocation?: Json;
|
|
345
|
+
}
|
|
346
|
+
interface BraCreateGoalInput {
|
|
347
|
+
name: string;
|
|
348
|
+
targetAmount: number;
|
|
349
|
+
targetDate: string;
|
|
350
|
+
currency?: string;
|
|
351
|
+
householdId?: string;
|
|
352
|
+
monthlyContribution?: number;
|
|
353
|
+
notes?: string;
|
|
354
|
+
ownerId?: string;
|
|
355
|
+
priority?: number;
|
|
356
|
+
tags?: string[];
|
|
357
|
+
type?: BraGoalType;
|
|
358
|
+
}
|
|
359
|
+
interface BraUpdateGoalInput {
|
|
360
|
+
currency?: string;
|
|
361
|
+
monthlyContribution?: number;
|
|
362
|
+
name?: string;
|
|
363
|
+
notes?: string;
|
|
364
|
+
priority?: number;
|
|
365
|
+
status?: BraGoalStatus;
|
|
366
|
+
tags?: string[];
|
|
367
|
+
targetAmount?: number;
|
|
368
|
+
targetDate?: string;
|
|
369
|
+
type?: BraGoalType;
|
|
370
|
+
}
|
|
371
|
+
interface BraLinkGoalFundingInput {
|
|
372
|
+
accountId: string;
|
|
373
|
+
goalId: string;
|
|
374
|
+
allocationPct?: number;
|
|
375
|
+
fixedAmount?: number;
|
|
376
|
+
}
|
|
377
|
+
interface BraCreateInsightInput {
|
|
378
|
+
subjectId: string;
|
|
379
|
+
subjectType: string;
|
|
380
|
+
title: string;
|
|
381
|
+
type: BraInsightType;
|
|
382
|
+
detail?: string;
|
|
383
|
+
metrics?: Json;
|
|
384
|
+
ownerId?: string;
|
|
385
|
+
severity?: BraInsightSeverity;
|
|
386
|
+
}
|
|
387
|
+
interface BraCreateRebalanceProposalInput {
|
|
388
|
+
portfolioId: string;
|
|
389
|
+
driftPct?: number;
|
|
390
|
+
householdId?: string;
|
|
391
|
+
rationale?: string;
|
|
392
|
+
trades?: Json;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
interface BrainyrichHouseholdsApi {
|
|
396
|
+
get(id: string): Promise<BraHousehold | null>;
|
|
397
|
+
list(pagination?: BraPaginationInput, status?: BraHouseholdStatus): Promise<BraHouseholdConnection>;
|
|
398
|
+
create(input: BraCreateHouseholdInput): Promise<BraHousehold>;
|
|
399
|
+
update(id: string, input: BraUpdateHouseholdInput): Promise<BraHousehold>;
|
|
400
|
+
archive(id: string): Promise<boolean>;
|
|
401
|
+
}
|
|
402
|
+
interface BrainyrichAccountsApi {
|
|
403
|
+
get(id: string): Promise<BraAccount | null>;
|
|
404
|
+
list(householdId?: string, pagination?: BraPaginationInput, status?: BraAccountStatus): Promise<BraAccountConnection>;
|
|
405
|
+
create(input: BraCreateAccountInput): Promise<BraAccount>;
|
|
406
|
+
update(id: string, input: BraUpdateAccountInput): Promise<BraAccount>;
|
|
407
|
+
archive(id: string): Promise<boolean>;
|
|
408
|
+
}
|
|
409
|
+
interface BrainyrichHoldingsApi {
|
|
410
|
+
list(accountId?: string, portfolioId?: string): Promise<BraHolding[]>;
|
|
411
|
+
create(input: BraCreateHoldingInput): Promise<BraHolding>;
|
|
412
|
+
update(id: string, input: BraUpdateHoldingInput): Promise<BraHolding>;
|
|
413
|
+
delete(id: string): Promise<boolean>;
|
|
414
|
+
}
|
|
415
|
+
interface BrainyrichTransactionsApi {
|
|
416
|
+
list(accountId?: string, pagination?: BraPaginationInput, type?: BraTransactionType): Promise<BraTransactionConnection>;
|
|
417
|
+
record(input: BraCreateTransactionInput): Promise<BraTransaction>;
|
|
418
|
+
}
|
|
419
|
+
interface BrainyrichPortfoliosApi {
|
|
420
|
+
get(id: string): Promise<BraPortfolio | null>;
|
|
421
|
+
list(householdId?: string, pagination?: BraPaginationInput, status?: BraPortfolioStatus): Promise<BraPortfolioConnection>;
|
|
422
|
+
create(input: BraCreatePortfolioInput): Promise<BraPortfolio>;
|
|
423
|
+
update(id: string, input: BraUpdatePortfolioInput): Promise<BraPortfolio>;
|
|
424
|
+
archive(id: string): Promise<boolean>;
|
|
425
|
+
}
|
|
426
|
+
interface BrainyrichModelPortfoliosApi {
|
|
427
|
+
get(id: string): Promise<BraModelPortfolio | null>;
|
|
428
|
+
list(): Promise<BraModelPortfolio[]>;
|
|
429
|
+
create(input: BraCreateModelPortfolioInput): Promise<BraModelPortfolio>;
|
|
430
|
+
}
|
|
431
|
+
interface BrainyrichGoalsApi {
|
|
432
|
+
get(id: string): Promise<BraGoal | null>;
|
|
433
|
+
list(householdId?: string, pagination?: BraPaginationInput, status?: BraGoalStatus): Promise<BraGoalConnection>;
|
|
434
|
+
create(input: BraCreateGoalInput): Promise<BraGoal>;
|
|
435
|
+
update(id: string, input: BraUpdateGoalInput): Promise<BraGoal>;
|
|
436
|
+
archive(id: string): Promise<boolean>;
|
|
437
|
+
recalcProjection(id: string, fundedAmount: number): Promise<BraGoal>;
|
|
438
|
+
listFundings(goalId: string): Promise<BraGoalFunding[]>;
|
|
439
|
+
linkFunding(input: BraLinkGoalFundingInput): Promise<BraGoalFunding>;
|
|
440
|
+
unlinkFunding(id: string): Promise<boolean>;
|
|
441
|
+
}
|
|
442
|
+
interface BrainyrichInsightsApi {
|
|
443
|
+
get(id: string): Promise<BraInsight | null>;
|
|
444
|
+
list(opts?: {
|
|
445
|
+
severity?: BraInsightSeverity;
|
|
446
|
+
status?: BraInsightStatus;
|
|
447
|
+
subjectId?: string;
|
|
448
|
+
subjectType?: string;
|
|
449
|
+
pagination?: BraPaginationInput;
|
|
450
|
+
}): Promise<BraInsightConnection>;
|
|
451
|
+
create(input: BraCreateInsightInput): Promise<BraInsight>;
|
|
452
|
+
acknowledge(id: string): Promise<BraInsight>;
|
|
453
|
+
dismiss(id: string): Promise<BraInsight>;
|
|
454
|
+
resolve(id: string): Promise<BraInsight>;
|
|
455
|
+
}
|
|
456
|
+
interface BrainyrichRebalancesApi {
|
|
457
|
+
list(householdId?: string, portfolioId?: string, status?: BraRebalanceStatus): Promise<BraRebalanceProposal[]>;
|
|
458
|
+
create(input: BraCreateRebalanceProposalInput): Promise<BraRebalanceProposal>;
|
|
459
|
+
transition(id: string, status: BraRebalanceStatus): Promise<BraRebalanceProposal>;
|
|
460
|
+
}
|
|
461
|
+
interface BrainyrichAnalyticsApi {
|
|
462
|
+
netWorthSummary(ownerId?: string): Promise<BraNetWorthSummary>;
|
|
463
|
+
}
|
|
464
|
+
interface BrainyrichSystemApi {
|
|
465
|
+
health(): Promise<string>;
|
|
466
|
+
}
|
|
467
|
+
interface BrainyrichApi {
|
|
468
|
+
households: BrainyrichHouseholdsApi;
|
|
469
|
+
accounts: BrainyrichAccountsApi;
|
|
470
|
+
holdings: BrainyrichHoldingsApi;
|
|
471
|
+
transactions: BrainyrichTransactionsApi;
|
|
472
|
+
portfolios: BrainyrichPortfoliosApi;
|
|
473
|
+
modelPortfolios: BrainyrichModelPortfoliosApi;
|
|
474
|
+
goals: BrainyrichGoalsApi;
|
|
475
|
+
insights: BrainyrichInsightsApi;
|
|
476
|
+
rebalances: BrainyrichRebalancesApi;
|
|
477
|
+
analytics: BrainyrichAnalyticsApi;
|
|
478
|
+
system: BrainyrichSystemApi;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
declare const brainyrichModule: SdkModule<BrainyrichApi>;
|
|
482
|
+
|
|
483
|
+
export { type BraAccount, type BraAccountConnection, type BraAccountStatus, type BraAccountType, type BraAssetClass, type BraCreateAccountInput, type BraCreateGoalInput, type BraCreateHoldingInput, type BraCreateHouseholdInput, type BraCreateInsightInput, type BraCreateModelPortfolioInput, type BraCreatePortfolioInput, type BraCreateRebalanceProposalInput, type BraCreateTransactionInput, type BraGoal, type BraGoalConnection, type BraGoalFunding, type BraGoalProjection, type BraGoalStatus, type BraGoalType, type BraHolding, type BraHousehold, type BraHouseholdConnection, type BraHouseholdStatus, type BraInsight, type BraInsightConnection, type BraInsightSeverity, type BraInsightStatus, type BraInsightType, type BraLinkGoalFundingInput, type BraModelAllocation, type BraModelAllocationInput, type BraModelPortfolio, type BraNetWorthByClass, type BraNetWorthSummary, type BraPageInfo, type BraPaginationInput, type BraPortfolio, type BraPortfolioConnection, type BraPortfolioStatus, type BraRebalanceProposal, type BraRebalanceStatus, type BraRiskProfile, type BraTransaction, type BraTransactionConnection, type BraTransactionType, type BraUpdateAccountInput, type BraUpdateGoalInput, type BraUpdateHoldingInput, type BraUpdateHouseholdInput, type BraUpdatePortfolioInput, type BrainyrichAccountsApi, type BrainyrichAnalyticsApi, type BrainyrichApi, type BrainyrichGoalsApi, type BrainyrichHoldingsApi, type BrainyrichHouseholdsApi, type BrainyrichInsightsApi, type BrainyrichModelPortfoliosApi, type BrainyrichPortfoliosApi, type BrainyrichRebalancesApi, type BrainyrichSystemApi, type BrainyrichTransactionsApi, brainyrichModule as default };
|