@burdenoff/sdk-libs 2026.627.1 → 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/assethandler/index.cjs +286 -0
- package/dist/modules/assethandler/index.d.cts +548 -0
- package/dist/modules/assethandler/index.d.ts +548 -0
- package/dist/modules/assethandler/index.js +286 -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/dist/modules/eventfullymanaged/index.cjs +666 -0
- package/dist/modules/eventfullymanaged/index.d.cts +650 -0
- package/dist/modules/eventfullymanaged/index.d.ts +650 -0
- package/dist/modules/eventfullymanaged/index.js +666 -0
- package/dist/modules/headshotmarketing/index.cjs +1205 -0
- package/dist/modules/headshotmarketing/index.d.cts +1922 -0
- package/dist/modules/headshotmarketing/index.d.ts +1922 -0
- package/dist/modules/headshotmarketing/index.js +1205 -0
- package/dist/modules/movethewheels/index.cjs +591 -0
- package/dist/modules/movethewheels/index.d.cts +1052 -0
- package/dist/modules/movethewheels/index.d.ts +1052 -0
- package/dist/modules/movethewheels/index.js +591 -0
- package/dist/modules/planmagnet/index.cjs +898 -0
- package/dist/modules/planmagnet/index.d.cts +1656 -0
- package/dist/modules/planmagnet/index.d.ts +1656 -0
- package/dist/modules/planmagnet/index.js +898 -0
- package/dist/modules/proserviceworld/index.cjs +233 -0
- package/dist/modules/proserviceworld/index.d.cts +400 -0
- package/dist/modules/proserviceworld/index.d.ts +400 -0
- package/dist/modules/proserviceworld/index.js +233 -0
- package/dist/modules/timecampus/index.cjs +519 -0
- package/dist/modules/timecampus/index.d.cts +992 -0
- package/dist/modules/timecampus/index.d.ts +992 -0
- package/dist/modules/timecampus/index.js +519 -0
- package/package.json +1 -1
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
var a=`
|
|
2
|
+
fragment AssetFields on Asset {
|
|
3
|
+
id assetNumber name description category condition status
|
|
4
|
+
serialNumber assignedTo locationName tags customAttributes
|
|
5
|
+
workspaceId createdAt updatedAt
|
|
6
|
+
}
|
|
7
|
+
`,o=`
|
|
8
|
+
fragment AiPredictionFields on AIPrediction {
|
|
9
|
+
id assetId predictionType recommendation confidence score status
|
|
10
|
+
modelVersion features generatedAt workspaceId createdAt
|
|
11
|
+
}
|
|
12
|
+
`,se=`
|
|
13
|
+
fragment BudgetFields on AssetBudget {
|
|
14
|
+
id name category department period allocated spent remaining status
|
|
15
|
+
workspaceId createdAt updatedAt
|
|
16
|
+
}
|
|
17
|
+
`,ne=`
|
|
18
|
+
fragment SecurityPolicyFields on AssetSecurityPolicy {
|
|
19
|
+
id name description category version owner status applicableTo
|
|
20
|
+
effectiveDate reviewDate workspaceId createdAt updatedAt
|
|
21
|
+
}
|
|
22
|
+
`,ae=`
|
|
23
|
+
fragment ChangeRequestFields on ChangeRequest {
|
|
24
|
+
id title description type risk status requestedBy assignedTo
|
|
25
|
+
affectedAssets approvals scheduledStart scheduledEnd
|
|
26
|
+
workspaceId createdAt updatedAt
|
|
27
|
+
}
|
|
28
|
+
`,re=`
|
|
29
|
+
fragment ComplianceFrameworkFields on ComplianceFramework {
|
|
30
|
+
id name version status score totalControls passedControls failedControls
|
|
31
|
+
lastAssessment nextAssessment workspaceId createdAt updatedAt
|
|
32
|
+
}
|
|
33
|
+
`,d=`
|
|
34
|
+
fragment ConfigurationItemFields on ConfigurationItem {
|
|
35
|
+
id ciNumber name ciType status environment owner attributes
|
|
36
|
+
workspaceId createdAt updatedAt
|
|
37
|
+
}
|
|
38
|
+
`,c=`
|
|
39
|
+
fragment DigitalTwinFields on DigitalTwin {
|
|
40
|
+
id assetId fidelityLevel modelRef geometryRef properties
|
|
41
|
+
workspaceId createdAt updatedAt
|
|
42
|
+
}
|
|
43
|
+
`,A=`
|
|
44
|
+
fragment DiscoveryJobFields on DiscoveryJob {
|
|
45
|
+
id name source status assetsDiscovered errorSummary createdBy
|
|
46
|
+
startedAt completedAt workspaceId createdAt updatedAt
|
|
47
|
+
}
|
|
48
|
+
`,l=`
|
|
49
|
+
fragment EsgMetricFields on EsgMetric {
|
|
50
|
+
id category metricKey metricName unit value target trend
|
|
51
|
+
periodStart periodEnd updatedBy workspaceId createdAt updatedAt
|
|
52
|
+
}
|
|
53
|
+
`,p=`
|
|
54
|
+
fragment IncidentFields on Incident {
|
|
55
|
+
id title description category priority status assignedTo
|
|
56
|
+
reportedBy reportedAt resolvedAt slaBreached workspaceId
|
|
57
|
+
}
|
|
58
|
+
`,ie=`
|
|
59
|
+
fragment InvoiceFields on Invoice {
|
|
60
|
+
id number vendor amount currency status items relatedPO
|
|
61
|
+
issueDate dueDate workspaceId createdAt updatedAt
|
|
62
|
+
}
|
|
63
|
+
`,u=`
|
|
64
|
+
fragment IotDeviceFields on IoTDevice {
|
|
65
|
+
id deviceId name type protocol status assetId metadata
|
|
66
|
+
workspaceId createdAt updatedAt
|
|
67
|
+
}
|
|
68
|
+
`,I=`
|
|
69
|
+
fragment KnowledgeArticleFields on KnowledgeArticle {
|
|
70
|
+
id title slug summary content status tags relatedAssetId relatedIncidentId
|
|
71
|
+
views createdBy updatedBy publishedAt workspaceId createdAt updatedAt
|
|
72
|
+
}
|
|
73
|
+
`,oe=`
|
|
74
|
+
fragment MaintenanceRecordFields on MaintenanceRecord {
|
|
75
|
+
id assetId title description type status priority checklist
|
|
76
|
+
estimatedCost actualCost scheduledAt completedAt
|
|
77
|
+
workspaceId createdAt updatedAt
|
|
78
|
+
}
|
|
79
|
+
`,de=`
|
|
80
|
+
fragment ProblemFields on Problem {
|
|
81
|
+
id title description category priority status assignedTo
|
|
82
|
+
rootCause workaround relatedIncidents workspaceId createdAt updatedAt
|
|
83
|
+
}
|
|
84
|
+
`,g=`
|
|
85
|
+
fragment ProvenanceRecordFields on ProvenanceRecord {
|
|
86
|
+
id assetId chainNetwork hash txHash blockNumber attestedBy attestedAt
|
|
87
|
+
metadata workspaceId createdAt
|
|
88
|
+
}
|
|
89
|
+
`,ce=`
|
|
90
|
+
fragment SecurityEventFields on SecurityEvent {
|
|
91
|
+
id title description eventType severity source userId ipAddress
|
|
92
|
+
resolved occurredAt workspaceId createdAt
|
|
93
|
+
}
|
|
94
|
+
`,H=`
|
|
95
|
+
fragment SoftwareAssetFields on SoftwareAsset {
|
|
96
|
+
id name vendor version licenseType seatsPurchased seatsUsed
|
|
97
|
+
compliancePercent workspaceId createdAt updatedAt
|
|
98
|
+
}
|
|
99
|
+
`,S=`
|
|
100
|
+
fragment TransactionFields on Transaction {
|
|
101
|
+
id type status amount currency category description vendor department
|
|
102
|
+
occurredAt workspaceId
|
|
103
|
+
}
|
|
104
|
+
`,T=`
|
|
105
|
+
fragment WorkOrderFields on WorkOrder {
|
|
106
|
+
id title description type status priority assetId assignedTo
|
|
107
|
+
workspaceId createdAt updatedAt
|
|
108
|
+
}
|
|
109
|
+
`,E=`
|
|
110
|
+
${a}
|
|
111
|
+
query GetAsset($id: ID!) { asset(id: $id) { ...AssetFields } }
|
|
112
|
+
`,m=`
|
|
113
|
+
${a}
|
|
114
|
+
query ListAssets($pagination: AssetHandlerPaginationInput) {
|
|
115
|
+
assets(pagination: $pagination) { ...AssetFields }
|
|
116
|
+
}
|
|
117
|
+
`,y=`
|
|
118
|
+
${a}
|
|
119
|
+
mutation CreateAsset($input: CreateAssetInput!) {
|
|
120
|
+
createAsset(input: $input) { ...AssetFields }
|
|
121
|
+
}
|
|
122
|
+
`,P=`
|
|
123
|
+
${T}
|
|
124
|
+
query ListWorkOrders($pagination: AssetHandlerPaginationInput) {
|
|
125
|
+
workOrders(pagination: $pagination) { ...WorkOrderFields }
|
|
126
|
+
}
|
|
127
|
+
`,w=`
|
|
128
|
+
${T}
|
|
129
|
+
mutation CreateWorkOrder($input: CreateWorkOrderInput!) {
|
|
130
|
+
createWorkOrder(input: $input) { ...WorkOrderFields }
|
|
131
|
+
}
|
|
132
|
+
`,C=`
|
|
133
|
+
${oe}
|
|
134
|
+
query ListMaintenanceRecords($pagination: AssetHandlerPaginationInput) {
|
|
135
|
+
maintenanceRecords(pagination: $pagination) { ...MaintenanceRecordFields }
|
|
136
|
+
}
|
|
137
|
+
`,R=`
|
|
138
|
+
${p}
|
|
139
|
+
query ListIncidents($pagination: AssetHandlerPaginationInput) {
|
|
140
|
+
incidents(pagination: $pagination) { ...IncidentFields }
|
|
141
|
+
}
|
|
142
|
+
`,D=`
|
|
143
|
+
${p}
|
|
144
|
+
mutation CreateIncident($input: CreateIncidentInput!) {
|
|
145
|
+
createIncident(input: $input) { ...IncidentFields }
|
|
146
|
+
}
|
|
147
|
+
`,_=`
|
|
148
|
+
${de}
|
|
149
|
+
query ListProblems($pagination: AssetHandlerPaginationInput) {
|
|
150
|
+
problems(pagination: $pagination) { ...ProblemFields }
|
|
151
|
+
}
|
|
152
|
+
`,v=`
|
|
153
|
+
${ae}
|
|
154
|
+
query ListChangeRequests($pagination: AssetHandlerPaginationInput) {
|
|
155
|
+
changeRequests(pagination: $pagination) { ...ChangeRequestFields }
|
|
156
|
+
}
|
|
157
|
+
`,O=`
|
|
158
|
+
${d}
|
|
159
|
+
query ListConfigurationItems($pagination: AssetHandlerPaginationInput) {
|
|
160
|
+
configurationItems(pagination: $pagination) { ...ConfigurationItemFields }
|
|
161
|
+
}
|
|
162
|
+
`,f=`
|
|
163
|
+
${d}
|
|
164
|
+
mutation UpsertConfigurationItem($input: UpsertConfigurationItemInput!) {
|
|
165
|
+
upsertConfigurationItem(input: $input) { ...ConfigurationItemFields }
|
|
166
|
+
}
|
|
167
|
+
`,L=`
|
|
168
|
+
${A}
|
|
169
|
+
query ListDiscoveryJobs($pagination: AssetHandlerPaginationInput) {
|
|
170
|
+
discoveryJobs(pagination: $pagination) { ...DiscoveryJobFields }
|
|
171
|
+
}
|
|
172
|
+
`,F=`
|
|
173
|
+
${A}
|
|
174
|
+
mutation StartDiscoveryJob($input: StartDiscoveryJobInput!) {
|
|
175
|
+
startDiscoveryJob(input: $input) { ...DiscoveryJobFields }
|
|
176
|
+
}
|
|
177
|
+
`,$=`
|
|
178
|
+
${H}
|
|
179
|
+
query ListSoftwareAssets($pagination: AssetHandlerPaginationInput) {
|
|
180
|
+
softwareAssets(pagination: $pagination) { ...SoftwareAssetFields }
|
|
181
|
+
}
|
|
182
|
+
`,k=`
|
|
183
|
+
${H}
|
|
184
|
+
mutation UpsertSoftwareAsset($input: UpsertSoftwareAssetInput!) {
|
|
185
|
+
upsertSoftwareAsset(input: $input) { ...SoftwareAssetFields }
|
|
186
|
+
}
|
|
187
|
+
`,N=`
|
|
188
|
+
${u}
|
|
189
|
+
query ListIoTDevices($pagination: AssetHandlerPaginationInput) {
|
|
190
|
+
iotDevices(pagination: $pagination) { ...IotDeviceFields }
|
|
191
|
+
}
|
|
192
|
+
`,q=`
|
|
193
|
+
${u}
|
|
194
|
+
mutation RegisterIoTDevice($input: RegisterIoTDeviceInput!) {
|
|
195
|
+
registerIoTDevice(input: $input) { ...IotDeviceFields }
|
|
196
|
+
}
|
|
197
|
+
`,b=`
|
|
198
|
+
${c}
|
|
199
|
+
query ListDigitalTwins($pagination: AssetHandlerPaginationInput) {
|
|
200
|
+
digitalTwins(pagination: $pagination) { ...DigitalTwinFields }
|
|
201
|
+
}
|
|
202
|
+
`,x=`
|
|
203
|
+
${c}
|
|
204
|
+
mutation CreateDigitalTwin($input: CreateDigitalTwinInput!) {
|
|
205
|
+
createDigitalTwin(input: $input) { ...DigitalTwinFields }
|
|
206
|
+
}
|
|
207
|
+
`,M=`
|
|
208
|
+
${g}
|
|
209
|
+
query ListProvenanceRecords($pagination: AssetHandlerPaginationInput) {
|
|
210
|
+
provenanceRecords(pagination: $pagination) { ...ProvenanceRecordFields }
|
|
211
|
+
}
|
|
212
|
+
`,h=`
|
|
213
|
+
${g}
|
|
214
|
+
mutation RecordProvenance($input: RecordProvenanceInput!) {
|
|
215
|
+
recordProvenance(input: $input) { ...ProvenanceRecordFields }
|
|
216
|
+
}
|
|
217
|
+
`,W=`
|
|
218
|
+
${o}
|
|
219
|
+
query ListAIPredictions($pagination: AssetHandlerPaginationInput) {
|
|
220
|
+
aiPredictions(pagination: $pagination) { ...AiPredictionFields }
|
|
221
|
+
}
|
|
222
|
+
`,U=`
|
|
223
|
+
${o}
|
|
224
|
+
mutation RequestAIPrediction($input: RequestAIPredictionInput!) {
|
|
225
|
+
requestAIPrediction(input: $input) { ...AiPredictionFields }
|
|
226
|
+
}
|
|
227
|
+
`,K=`
|
|
228
|
+
${l}
|
|
229
|
+
query ListEsgMetrics($pagination: AssetHandlerPaginationInput) {
|
|
230
|
+
esgMetrics(pagination: $pagination) { ...EsgMetricFields }
|
|
231
|
+
}
|
|
232
|
+
`,G=`
|
|
233
|
+
${l}
|
|
234
|
+
mutation UpsertEsgMetric($input: UpsertEsgMetricInput!) {
|
|
235
|
+
upsertEsgMetric(input: $input) { ...EsgMetricFields }
|
|
236
|
+
}
|
|
237
|
+
`,B=`
|
|
238
|
+
${I}
|
|
239
|
+
query ListKnowledgeArticles($pagination: AssetHandlerPaginationInput) {
|
|
240
|
+
knowledgeArticles(pagination: $pagination) { ...KnowledgeArticleFields }
|
|
241
|
+
}
|
|
242
|
+
`,J=`
|
|
243
|
+
${I}
|
|
244
|
+
mutation CreateKnowledgeArticle($input: CreateKnowledgeArticleInput!) {
|
|
245
|
+
createKnowledgeArticle(input: $input) { ...KnowledgeArticleFields }
|
|
246
|
+
}
|
|
247
|
+
`,V=`
|
|
248
|
+
${S}
|
|
249
|
+
query ListTransactions($pagination: AssetHandlerPaginationInput) {
|
|
250
|
+
transactions(pagination: $pagination) { ...TransactionFields }
|
|
251
|
+
}
|
|
252
|
+
`,Y=`
|
|
253
|
+
${S}
|
|
254
|
+
mutation CreateTransaction($input: CreateTransactionInput!) {
|
|
255
|
+
createTransaction(input: $input) { ...TransactionFields }
|
|
256
|
+
}
|
|
257
|
+
`,Q=`
|
|
258
|
+
${ie}
|
|
259
|
+
query ListInvoices($pagination: AssetHandlerPaginationInput) {
|
|
260
|
+
invoices(pagination: $pagination) { ...InvoiceFields }
|
|
261
|
+
}
|
|
262
|
+
`,j=`
|
|
263
|
+
${se}
|
|
264
|
+
query ListBudgets($pagination: AssetHandlerPaginationInput) {
|
|
265
|
+
budgets(pagination: $pagination) { ...BudgetFields }
|
|
266
|
+
}
|
|
267
|
+
`,z=`
|
|
268
|
+
${re}
|
|
269
|
+
query ListComplianceFrameworks($pagination: AssetHandlerPaginationInput) {
|
|
270
|
+
complianceFrameworks(pagination: $pagination) { ...ComplianceFrameworkFields }
|
|
271
|
+
}
|
|
272
|
+
`,X=`
|
|
273
|
+
${ce}
|
|
274
|
+
query ListSecurityEvents($pagination: AssetHandlerPaginationInput) {
|
|
275
|
+
securityEvents(pagination: $pagination) { ...SecurityEventFields }
|
|
276
|
+
}
|
|
277
|
+
`,Z=`
|
|
278
|
+
${ne}
|
|
279
|
+
query ListAssetSecurityPolicies($pagination: AssetHandlerPaginationInput) {
|
|
280
|
+
assetSecurityPolicies(pagination: $pagination) { ...SecurityPolicyFields }
|
|
281
|
+
}
|
|
282
|
+
`,ee=`
|
|
283
|
+
query DashboardOverview {
|
|
284
|
+
dashboardOverview { openIncidents openWorkOrders totalAssets totalTransactions }
|
|
285
|
+
}
|
|
286
|
+
`;function te(n){let{workspace:t}=n.gql;return {assets:{async get(e){return (await t.request(E,{id:e})).asset},async list(e){return (await t.request(m,{pagination:e})).assets},async create(e){return (await t.request(y,{input:e})).createAsset}},workOrders:{async list(e){return (await t.request(P,{pagination:e})).workOrders},async create(e){return (await t.request(w,{input:e})).createWorkOrder}},maintenance:{async list(e){return (await t.request(C,{pagination:e})).maintenanceRecords}},incidents:{async list(e){return (await t.request(R,{pagination:e})).incidents},async create(e){return (await t.request(D,{input:e})).createIncident}},problems:{async list(e){return (await t.request(_,{pagination:e})).problems}},changes:{async list(e){return (await t.request(v,{pagination:e})).changeRequests}},configuration:{async list(e){return (await t.request(O,{pagination:e})).configurationItems},async upsert(e){return (await t.request(f,{input:e})).upsertConfigurationItem}},discovery:{async list(e){return (await t.request(L,{pagination:e})).discoveryJobs},async start(e){return (await t.request(F,{input:e})).startDiscoveryJob}},software:{async list(e){return (await t.request($,{pagination:e})).softwareAssets},async upsert(e){return (await t.request(k,{input:e})).upsertSoftwareAsset}},iot:{async list(e){return (await t.request(N,{pagination:e})).iotDevices},async register(e){return (await t.request(q,{input:e})).registerIoTDevice}},digitalTwins:{async list(e){return (await t.request(b,{pagination:e})).digitalTwins},async create(e){return (await t.request(x,{input:e})).createDigitalTwin}},provenance:{async list(e){return (await t.request(M,{pagination:e})).provenanceRecords},async record(e){return (await t.request(h,{input:e})).recordProvenance}},predictions:{async list(e){return (await t.request(W,{pagination:e})).aiPredictions},async request(e){return (await t.request(U,{input:e})).requestAIPrediction}},esg:{async list(e){return (await t.request(K,{pagination:e})).esgMetrics},async upsert(e){return (await t.request(G,{input:e})).upsertEsgMetric}},knowledge:{async list(e){return (await t.request(B,{pagination:e})).knowledgeArticles},async create(e){return (await t.request(J,{input:e})).createKnowledgeArticle}},finance:{async transactions(e){return (await t.request(V,{pagination:e})).transactions},async createTransaction(e){return (await t.request(Y,{input:e})).createTransaction},async invoices(e){return (await t.request(Q,{pagination:e})).invoices},async budgets(e){return (await t.request(j,{pagination:e})).budgets}},compliance:{async frameworks(e){return (await t.request(z,{pagination:e})).complianceFrameworks}},security:{async events(e){return (await t.request(X,{pagination:e})).securityEvents},async policies(e){return (await t.request(Z,{pagination:e})).assetSecurityPolicies}},dashboard:{async overview(){return (await t.request(ee)).dashboardOverview}}}}var Ae={id:"assethandler",version:"1.0.0",displayName:"AssetHandler",dependsOn:["auth"],attach(n){return te(n)}},qe=Ae;export{qe as default};
|
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
'use strict';var l=`
|
|
2
|
+
fragment HouseholdFields on BraHousehold {
|
|
3
|
+
id advisorId aum currency name notes
|
|
4
|
+
primaryContactEmail primaryContactName riskProfile status tags
|
|
5
|
+
workspaceId createdAt updatedAt
|
|
6
|
+
}
|
|
7
|
+
`,p=`
|
|
8
|
+
fragment HoldingScalars on BraHolding {
|
|
9
|
+
id accountId asOf assetClass costBasis currency
|
|
10
|
+
lastPrice marketValue name portfolioId quantity symbol
|
|
11
|
+
workspaceId createdAt updatedAt
|
|
12
|
+
}
|
|
13
|
+
`,I=`
|
|
14
|
+
fragment TransactionFields on BraTransaction {
|
|
15
|
+
id accountId amount currency fee holdingId notes
|
|
16
|
+
price quantity settleDate symbol tradeDate type
|
|
17
|
+
workspaceId createdAt updatedAt
|
|
18
|
+
}
|
|
19
|
+
`,y=`
|
|
20
|
+
fragment AccountScalars on BraAccount {
|
|
21
|
+
id accountMask cashBalance currency householdId institution
|
|
22
|
+
isManual name ownerId status type
|
|
23
|
+
workspaceId createdAt updatedAt
|
|
24
|
+
}
|
|
25
|
+
`,da=`
|
|
26
|
+
fragment ModelAllocationFields on BraModelAllocation {
|
|
27
|
+
id assetClass modelPortfolioId targetPct workspaceId createdAt updatedAt
|
|
28
|
+
}
|
|
29
|
+
`,pa=`
|
|
30
|
+
fragment PortfolioScalars on BraPortfolio {
|
|
31
|
+
id baseCurrency description driftThresholdPct householdId modelPortfolioId
|
|
32
|
+
name ownerId status tags targetAllocation
|
|
33
|
+
workspaceId createdAt updatedAt
|
|
34
|
+
}
|
|
35
|
+
`,B=`
|
|
36
|
+
fragment GoalFundingFields on BraGoalFunding {
|
|
37
|
+
id accountId allocationPct fixedAmount goalId workspaceId createdAt updatedAt
|
|
38
|
+
}
|
|
39
|
+
`,Ia=`
|
|
40
|
+
fragment GoalScalars on BraGoal {
|
|
41
|
+
id currency householdId monthlyContribution name notes ownerId priority
|
|
42
|
+
projection status tags targetAmount targetDate type
|
|
43
|
+
workspaceId createdAt updatedAt
|
|
44
|
+
}
|
|
45
|
+
`,n=`
|
|
46
|
+
fragment InsightFields on BraInsight {
|
|
47
|
+
id acknowledgedById detail metrics ownerId resolvedAt
|
|
48
|
+
severity status subjectId subjectType title type
|
|
49
|
+
workspaceId createdAt updatedAt
|
|
50
|
+
}
|
|
51
|
+
`,A=`
|
|
52
|
+
fragment RebalanceFields on BraRebalanceProposal {
|
|
53
|
+
id approvedById driftPct executedAt householdId portfolioId
|
|
54
|
+
proposedById rationale status trades workspaceId createdAt updatedAt
|
|
55
|
+
}
|
|
56
|
+
`,h=`
|
|
57
|
+
${da}
|
|
58
|
+
fragment ModelPortfolioFull on BraModelPortfolio {
|
|
59
|
+
id baseCurrency description isActive name riskProfile
|
|
60
|
+
workspaceId createdAt updatedAt
|
|
61
|
+
allocations { ...ModelAllocationFields }
|
|
62
|
+
}
|
|
63
|
+
`,c=`
|
|
64
|
+
${y}
|
|
65
|
+
${p}
|
|
66
|
+
${I}
|
|
67
|
+
fragment AccountFull on BraAccount {
|
|
68
|
+
...AccountScalars
|
|
69
|
+
holdings { ...HoldingScalars }
|
|
70
|
+
transactions { ...TransactionFields }
|
|
71
|
+
}
|
|
72
|
+
`,g=`
|
|
73
|
+
${p}
|
|
74
|
+
${y}
|
|
75
|
+
fragment HoldingFull on BraHolding {
|
|
76
|
+
...HoldingScalars
|
|
77
|
+
account { ...AccountScalars }
|
|
78
|
+
}
|
|
79
|
+
`,u=`
|
|
80
|
+
${pa}
|
|
81
|
+
${p}
|
|
82
|
+
fragment PortfolioFull on BraPortfolio {
|
|
83
|
+
...PortfolioScalars
|
|
84
|
+
holdings { ...HoldingScalars }
|
|
85
|
+
}
|
|
86
|
+
`,e=`
|
|
87
|
+
${Ia}
|
|
88
|
+
${B}
|
|
89
|
+
fragment GoalFull on BraGoal {
|
|
90
|
+
...GoalScalars
|
|
91
|
+
fundings { ...GoalFundingFields }
|
|
92
|
+
}
|
|
93
|
+
`,i="pageInfo { cursor hasMore }",b=`
|
|
94
|
+
${l}
|
|
95
|
+
query BraHousehold($id: ID!) {
|
|
96
|
+
braHousehold(id: $id) { ...HouseholdFields }
|
|
97
|
+
}
|
|
98
|
+
`,L=`
|
|
99
|
+
${l}
|
|
100
|
+
query BraListHouseholds($pagination: PaginationInput, $status: BraHouseholdStatus) {
|
|
101
|
+
braListHouseholds(pagination: $pagination, status: $status) {
|
|
102
|
+
items { ...HouseholdFields }
|
|
103
|
+
${i}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
`,C=`
|
|
107
|
+
${l}
|
|
108
|
+
mutation BraCreateHousehold($input: BraCreateHouseholdInput!) {
|
|
109
|
+
braCreateHousehold(input: $input) { ...HouseholdFields }
|
|
110
|
+
}
|
|
111
|
+
`,$=`
|
|
112
|
+
${l}
|
|
113
|
+
mutation BraUpdateHousehold($id: ID!, $input: BraUpdateHouseholdInput!) {
|
|
114
|
+
braUpdateHousehold(id: $id, input: $input) { ...HouseholdFields }
|
|
115
|
+
}
|
|
116
|
+
`,T=`
|
|
117
|
+
mutation BraArchiveHousehold($id: ID!) {
|
|
118
|
+
braArchiveHousehold(id: $id)
|
|
119
|
+
}
|
|
120
|
+
`,m=`
|
|
121
|
+
${c}
|
|
122
|
+
query BraAccount($id: ID!) {
|
|
123
|
+
braAccount(id: $id) { ...AccountFull }
|
|
124
|
+
}
|
|
125
|
+
`,O=`
|
|
126
|
+
${c}
|
|
127
|
+
query BraListAccounts(
|
|
128
|
+
$householdId: ID
|
|
129
|
+
$pagination: PaginationInput
|
|
130
|
+
$status: BraAccountStatus
|
|
131
|
+
) {
|
|
132
|
+
braListAccounts(householdId: $householdId, pagination: $pagination, status: $status) {
|
|
133
|
+
items { ...AccountFull }
|
|
134
|
+
${i}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
`,H=`
|
|
138
|
+
${c}
|
|
139
|
+
mutation BraCreateAccount($input: BraCreateAccountInput!) {
|
|
140
|
+
braCreateAccount(input: $input) { ...AccountFull }
|
|
141
|
+
}
|
|
142
|
+
`,S=`
|
|
143
|
+
${c}
|
|
144
|
+
mutation BraUpdateAccount($id: ID!, $input: BraUpdateAccountInput!) {
|
|
145
|
+
braUpdateAccount(id: $id, input: $input) { ...AccountFull }
|
|
146
|
+
}
|
|
147
|
+
`,f=`
|
|
148
|
+
mutation BraArchiveAccount($id: ID!) {
|
|
149
|
+
braArchiveAccount(id: $id)
|
|
150
|
+
}
|
|
151
|
+
`,G=`
|
|
152
|
+
${g}
|
|
153
|
+
query BraListHoldings($accountId: ID, $portfolioId: ID) {
|
|
154
|
+
braListHoldings(accountId: $accountId, portfolioId: $portfolioId) { ...HoldingFull }
|
|
155
|
+
}
|
|
156
|
+
`,R=`
|
|
157
|
+
${g}
|
|
158
|
+
mutation BraCreateHolding($input: BraCreateHoldingInput!) {
|
|
159
|
+
braCreateHolding(input: $input) { ...HoldingFull }
|
|
160
|
+
}
|
|
161
|
+
`,_=`
|
|
162
|
+
${g}
|
|
163
|
+
mutation BraUpdateHolding($id: ID!, $input: BraUpdateHoldingInput!) {
|
|
164
|
+
braUpdateHolding(id: $id, input: $input) { ...HoldingFull }
|
|
165
|
+
}
|
|
166
|
+
`,E=`
|
|
167
|
+
mutation BraDeleteHolding($id: ID!) {
|
|
168
|
+
braDeleteHolding(id: $id)
|
|
169
|
+
}
|
|
170
|
+
`,F=`
|
|
171
|
+
${I}
|
|
172
|
+
query BraListTransactions(
|
|
173
|
+
$accountId: ID
|
|
174
|
+
$pagination: PaginationInput
|
|
175
|
+
$type: BraTransactionType
|
|
176
|
+
) {
|
|
177
|
+
braListTransactions(accountId: $accountId, pagination: $pagination, type: $type) {
|
|
178
|
+
items { ...TransactionFields }
|
|
179
|
+
${i}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
`,D=`
|
|
183
|
+
${I}
|
|
184
|
+
mutation BraRecordTransaction($input: BraCreateTransactionInput!) {
|
|
185
|
+
braRecordTransaction(input: $input) { ...TransactionFields }
|
|
186
|
+
}
|
|
187
|
+
`,N=`
|
|
188
|
+
${u}
|
|
189
|
+
query BraPortfolio($id: ID!) {
|
|
190
|
+
braPortfolio(id: $id) { ...PortfolioFull }
|
|
191
|
+
}
|
|
192
|
+
`,U=`
|
|
193
|
+
${u}
|
|
194
|
+
query BraListPortfolios(
|
|
195
|
+
$householdId: ID
|
|
196
|
+
$pagination: PaginationInput
|
|
197
|
+
$status: BraPortfolioStatus
|
|
198
|
+
) {
|
|
199
|
+
braListPortfolios(householdId: $householdId, pagination: $pagination, status: $status) {
|
|
200
|
+
items { ...PortfolioFull }
|
|
201
|
+
${i}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
`,w=`
|
|
205
|
+
${u}
|
|
206
|
+
mutation BraCreatePortfolio($input: BraCreatePortfolioInput!) {
|
|
207
|
+
braCreatePortfolio(input: $input) { ...PortfolioFull }
|
|
208
|
+
}
|
|
209
|
+
`,q=`
|
|
210
|
+
${u}
|
|
211
|
+
mutation BraUpdatePortfolio($id: ID!, $input: BraUpdatePortfolioInput!) {
|
|
212
|
+
braUpdatePortfolio(id: $id, input: $input) { ...PortfolioFull }
|
|
213
|
+
}
|
|
214
|
+
`,x=`
|
|
215
|
+
mutation BraArchivePortfolio($id: ID!) {
|
|
216
|
+
braArchivePortfolio(id: $id)
|
|
217
|
+
}
|
|
218
|
+
`,M=`
|
|
219
|
+
${h}
|
|
220
|
+
query BraModelPortfolio($id: ID!) {
|
|
221
|
+
braModelPortfolio(id: $id) { ...ModelPortfolioFull }
|
|
222
|
+
}
|
|
223
|
+
`,k=`
|
|
224
|
+
${h}
|
|
225
|
+
query BraListModelPortfolios {
|
|
226
|
+
braListModelPortfolios { ...ModelPortfolioFull }
|
|
227
|
+
}
|
|
228
|
+
`,v=`
|
|
229
|
+
${h}
|
|
230
|
+
mutation BraCreateModelPortfolio($input: BraCreateModelPortfolioInput!) {
|
|
231
|
+
braCreateModelPortfolio(input: $input) { ...ModelPortfolioFull }
|
|
232
|
+
}
|
|
233
|
+
`,j=`
|
|
234
|
+
${e}
|
|
235
|
+
query BraGoal($id: ID!) {
|
|
236
|
+
braGoal(id: $id) { ...GoalFull }
|
|
237
|
+
}
|
|
238
|
+
`,W=`
|
|
239
|
+
${e}
|
|
240
|
+
query BraListGoals($householdId: ID, $pagination: PaginationInput, $status: BraGoalStatus) {
|
|
241
|
+
braListGoals(householdId: $householdId, pagination: $pagination, status: $status) {
|
|
242
|
+
items { ...GoalFull }
|
|
243
|
+
${i}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
`,V=`
|
|
247
|
+
${e}
|
|
248
|
+
mutation BraCreateGoal($input: BraCreateGoalInput!) {
|
|
249
|
+
braCreateGoal(input: $input) { ...GoalFull }
|
|
250
|
+
}
|
|
251
|
+
`,K=`
|
|
252
|
+
${e}
|
|
253
|
+
mutation BraUpdateGoal($id: ID!, $input: BraUpdateGoalInput!) {
|
|
254
|
+
braUpdateGoal(id: $id, input: $input) { ...GoalFull }
|
|
255
|
+
}
|
|
256
|
+
`,J=`
|
|
257
|
+
mutation BraArchiveGoal($id: ID!) {
|
|
258
|
+
braArchiveGoal(id: $id)
|
|
259
|
+
}
|
|
260
|
+
`,Y=`
|
|
261
|
+
${e}
|
|
262
|
+
mutation BraRecalcGoalProjection($id: ID!, $fundedAmount: Float!) {
|
|
263
|
+
braRecalcGoalProjection(id: $id, fundedAmount: $fundedAmount) { ...GoalFull }
|
|
264
|
+
}
|
|
265
|
+
`,z=`
|
|
266
|
+
${B}
|
|
267
|
+
query BraListGoalFundings($goalId: ID!) {
|
|
268
|
+
braListGoalFundings(goalId: $goalId) { ...GoalFundingFields }
|
|
269
|
+
}
|
|
270
|
+
`,Q=`
|
|
271
|
+
${B}
|
|
272
|
+
mutation BraLinkGoalFunding($input: BraLinkGoalFundingInput!) {
|
|
273
|
+
braLinkGoalFunding(input: $input) { ...GoalFundingFields }
|
|
274
|
+
}
|
|
275
|
+
`,X=`
|
|
276
|
+
mutation BraUnlinkGoalFunding($id: ID!) {
|
|
277
|
+
braUnlinkGoalFunding(id: $id)
|
|
278
|
+
}
|
|
279
|
+
`,Z=`
|
|
280
|
+
${n}
|
|
281
|
+
query BraInsight($id: ID!) {
|
|
282
|
+
braInsight(id: $id) { ...InsightFields }
|
|
283
|
+
}
|
|
284
|
+
`,aa=`
|
|
285
|
+
${n}
|
|
286
|
+
query BraListInsights(
|
|
287
|
+
$pagination: PaginationInput
|
|
288
|
+
$severity: BraInsightSeverity
|
|
289
|
+
$status: BraInsightStatus
|
|
290
|
+
$subjectId: ID
|
|
291
|
+
$subjectType: String
|
|
292
|
+
) {
|
|
293
|
+
braListInsights(
|
|
294
|
+
pagination: $pagination
|
|
295
|
+
severity: $severity
|
|
296
|
+
status: $status
|
|
297
|
+
subjectId: $subjectId
|
|
298
|
+
subjectType: $subjectType
|
|
299
|
+
) {
|
|
300
|
+
items { ...InsightFields }
|
|
301
|
+
${i}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
`,ta=`
|
|
305
|
+
${n}
|
|
306
|
+
mutation BraCreateInsight($input: BraCreateInsightInput!) {
|
|
307
|
+
braCreateInsight(input: $input) { ...InsightFields }
|
|
308
|
+
}
|
|
309
|
+
`,oa=`
|
|
310
|
+
${n}
|
|
311
|
+
mutation BraAcknowledgeInsight($id: ID!) {
|
|
312
|
+
braAcknowledgeInsight(id: $id) { ...InsightFields }
|
|
313
|
+
}
|
|
314
|
+
`,ra=`
|
|
315
|
+
${n}
|
|
316
|
+
mutation BraDismissInsight($id: ID!) {
|
|
317
|
+
braDismissInsight(id: $id) { ...InsightFields }
|
|
318
|
+
}
|
|
319
|
+
`,na=`
|
|
320
|
+
${n}
|
|
321
|
+
mutation BraResolveInsight($id: ID!) {
|
|
322
|
+
braResolveInsight(id: $id) { ...InsightFields }
|
|
323
|
+
}
|
|
324
|
+
`,ia=`
|
|
325
|
+
${A}
|
|
326
|
+
query BraListRebalanceProposals(
|
|
327
|
+
$householdId: ID
|
|
328
|
+
$portfolioId: ID
|
|
329
|
+
$status: BraRebalanceStatus
|
|
330
|
+
) {
|
|
331
|
+
braListRebalanceProposals(
|
|
332
|
+
householdId: $householdId
|
|
333
|
+
portfolioId: $portfolioId
|
|
334
|
+
status: $status
|
|
335
|
+
) { ...RebalanceFields }
|
|
336
|
+
}
|
|
337
|
+
`,ea=`
|
|
338
|
+
${A}
|
|
339
|
+
mutation BraCreateRebalanceProposal($input: BraCreateRebalanceProposalInput!) {
|
|
340
|
+
braCreateRebalanceProposal(input: $input) { ...RebalanceFields }
|
|
341
|
+
}
|
|
342
|
+
`,sa=`
|
|
343
|
+
${A}
|
|
344
|
+
mutation BraTransitionRebalanceProposal($id: ID!, $status: BraRebalanceStatus!) {
|
|
345
|
+
braTransitionRebalanceProposal(id: $id, status: $status) { ...RebalanceFields }
|
|
346
|
+
}
|
|
347
|
+
`,la=`
|
|
348
|
+
query BraNetWorthSummary($ownerId: ID) {
|
|
349
|
+
braNetWorthSummary(ownerId: $ownerId) {
|
|
350
|
+
accountCount
|
|
351
|
+
byAssetClass { assetClass marketValue }
|
|
352
|
+
currency ownerId totalCash totalMarketValue totalNetWorth workspaceId
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
`,ca="query BraHealth { braHealth }";function ua(d){let{workspace:o}=d.gql;return {households:{async get(a){return (await o.request(b,{id:a})).braHousehold},async list(a,t){return (await o.request(L,{pagination:a,status:t})).braListHouseholds},async create(a){return (await o.request(C,{input:a})).braCreateHousehold},async update(a,t){return (await o.request($,{id:a,input:t})).braUpdateHousehold},async archive(a){return (await o.request(T,{id:a})).braArchiveHousehold}},accounts:{async get(a){return (await o.request(m,{id:a})).braAccount},async list(a,t,r){return (await o.request(O,{householdId:a,pagination:t,status:r})).braListAccounts},async create(a){return (await o.request(H,{input:a})).braCreateAccount},async update(a,t){return (await o.request(S,{id:a,input:t})).braUpdateAccount},async archive(a){return (await o.request(f,{id:a})).braArchiveAccount}},holdings:{async list(a,t){return (await o.request(G,{accountId:a,portfolioId:t})).braListHoldings},async create(a){return (await o.request(R,{input:a})).braCreateHolding},async update(a,t){return (await o.request(_,{id:a,input:t})).braUpdateHolding},async delete(a){return (await o.request(E,{id:a})).braDeleteHolding}},transactions:{async list(a,t,r){return (await o.request(F,{accountId:a,pagination:t,type:r})).braListTransactions},async record(a){return (await o.request(D,{input:a})).braRecordTransaction}},portfolios:{async get(a){return (await o.request(N,{id:a})).braPortfolio},async list(a,t,r){return (await o.request(U,{householdId:a,pagination:t,status:r})).braListPortfolios},async create(a){return (await o.request(w,{input:a})).braCreatePortfolio},async update(a,t){return (await o.request(q,{id:a,input:t})).braUpdatePortfolio},async archive(a){return (await o.request(x,{id:a})).braArchivePortfolio}},modelPortfolios:{async get(a){return (await o.request(M,{id:a})).braModelPortfolio},async list(){return (await o.request(k)).braListModelPortfolios},async create(a){return (await o.request(v,{input:a})).braCreateModelPortfolio}},goals:{async get(a){return (await o.request(j,{id:a})).braGoal},async list(a,t,r){return (await o.request(W,{householdId:a,pagination:t,status:r})).braListGoals},async create(a){return (await o.request(V,{input:a})).braCreateGoal},async update(a,t){return (await o.request(K,{id:a,input:t})).braUpdateGoal},async archive(a){return (await o.request(J,{id:a})).braArchiveGoal},async recalcProjection(a,t){return (await o.request(Y,{id:a,fundedAmount:t})).braRecalcGoalProjection},async listFundings(a){return (await o.request(z,{goalId:a})).braListGoalFundings},async linkFunding(a){return (await o.request(Q,{input:a})).braLinkGoalFunding},async unlinkFunding(a){return (await o.request(X,{id:a})).braUnlinkGoalFunding}},insights:{async get(a){return (await o.request(Z,{id:a})).braInsight},async list(a){return (await o.request(aa,{pagination:a?.pagination,severity:a?.severity,status:a?.status,subjectId:a?.subjectId,subjectType:a?.subjectType})).braListInsights},async create(a){return (await o.request(ta,{input:a})).braCreateInsight},async acknowledge(a){return (await o.request(oa,{id:a})).braAcknowledgeInsight},async dismiss(a){return (await o.request(ra,{id:a})).braDismissInsight},async resolve(a){return (await o.request(na,{id:a})).braResolveInsight}},rebalances:{async list(a,t,r){return (await o.request(ia,{householdId:a,portfolioId:t,status:r})).braListRebalanceProposals},async create(a){return (await o.request(ea,{input:a})).braCreateRebalanceProposal},async transition(a,t){return (await o.request(sa,{id:a,status:t})).braTransitionRebalanceProposal}},analytics:{async netWorthSummary(a){return (await o.request(la,{ownerId:a})).braNetWorthSummary}},system:{async health(){return (await o.request(ca)).braHealth}}}}var Ba={id:"brainyrich",version:"1.0.0",displayName:"BrainyRich",dependsOn:["auth"],attach(d){return ua(d)}},_a=Ba;module.exports=_a;
|