@lssm/example.analytics-dashboard 0.0.0-canary-20251217063201 → 0.0.0-canary-20251217073102
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/dashboard/dashboard.contracts.d.ts +131 -131
- package/dist/dashboard/dashboard.contracts.js +5 -5
- package/dist/dashboard/dashboard.enum.d.ts +4 -4
- package/dist/dashboard/dashboard.enum.js +4 -4
- package/dist/dashboard/dashboard.schema.d.ts +79 -79
- package/dist/dashboard/dashboard.schema.js +43 -43
- package/dist/docs/analytics-dashboard.docblock.js +2 -2
- package/dist/events.d.ts +40 -40
- package/dist/events.js +25 -25
- package/dist/libs/contracts/dist/capabilities/openbanking.js +53 -49
- package/dist/libs/contracts/dist/client/index.js +1 -1
- package/dist/libs/contracts/dist/client/react/index.js +1 -1
- package/dist/libs/contracts/dist/contract-registry/index.js +1 -1
- package/dist/libs/contracts/dist/contract-registry/schemas.js +52 -49
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +11 -86
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +11 -360
- package/dist/libs/contracts/dist/docs/index.js +2 -2
- package/dist/libs/contracts/dist/docs/presentations.js +48 -44
- package/dist/libs/contracts/dist/docs/registry.js +27 -25
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +11 -393
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +11 -78
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +11 -150
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +11 -96
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +10 -10
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +15 -15
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +12 -12
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +11 -223
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +44 -44
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +30 -14
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +10 -10
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +13 -274
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +41 -15
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +15 -15
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +14 -14
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +16 -28
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +60 -15
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +13 -13
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +31 -48
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +40 -15
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +14 -14
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +22 -22
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +12 -12
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +22 -22
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +11 -11
- package/dist/libs/contracts/dist/events.js +4 -3
- package/dist/libs/contracts/dist/index.js +14 -14
- package/dist/libs/contracts/dist/integrations/contracts.js +205 -199
- package/dist/libs/contracts/dist/integrations/index.js +5 -5
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +133 -130
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +95 -93
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +3 -3
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +120 -118
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +122 -120
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +9 -20
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +25 -25
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +36 -36
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +40 -40
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +31 -31
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +31 -31
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +31 -31
- package/dist/libs/contracts/dist/integrations/providers/powens.js +51 -51
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +31 -31
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +35 -35
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +28 -28
- package/dist/libs/contracts/dist/jsonschema.js +1 -1
- package/dist/libs/contracts/dist/knowledge/contracts.js +170 -163
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +17 -17
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +17 -17
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +19 -19
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +17 -17
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +17 -17
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +17 -17
- package/dist/libs/contracts/dist/llm/exporters.js +13 -12
- package/dist/libs/contracts/dist/onboarding-base.js +116 -99
- package/dist/libs/contracts/dist/ownership.js +18 -33
- package/dist/libs/contracts/dist/presentations.js +1 -1
- package/dist/libs/contracts/dist/presentations.v2.js +6 -2
- package/dist/libs/contracts/dist/regenerator/service.js +5 -0
- package/dist/libs/contracts/dist/registry.js +1 -1
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +24 -14
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +180 -166
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +20 -9
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +1 -1
- package/dist/libs/contracts/dist/spec.js +22 -13
- package/dist/libs/schema/dist/EnumType.js +25 -9
- package/dist/libs/schema/dist/FieldType.js +24 -14
- package/dist/libs/schema/dist/ScalarTypeEnum.js +180 -166
- package/dist/libs/schema/dist/SchemaModel.js +25 -10
- package/dist/libs/schema/dist/index.js +4 -4
- package/dist/query/query.contracts.js +3 -3
- package/dist/query/query.enum.d.ts +2 -2
- package/dist/query/query.enum.js +2 -2
- package/dist/query/query.schema.d.ts +34 -34
- package/dist/query/query.schema.js +33 -33
- package/package.json +10 -10
|
@@ -1,371 +1,377 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { SchemaModel } from "../schema/dist/SchemaModel.js";
|
|
2
|
+
import { ScalarTypeEnum } from "../schema/dist/ScalarTypeEnum.js";
|
|
3
3
|
import "../schema/dist/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import { defineCommand, defineQuery } from "../spec.js";
|
|
5
5
|
|
|
6
6
|
//#region ../../libs/contracts/dist/integrations/contracts.js
|
|
7
|
-
const
|
|
8
|
-
name:
|
|
7
|
+
const IntegrationConnectionRecord = new SchemaModel({
|
|
8
|
+
name: "IntegrationConnectionRecord",
|
|
9
9
|
fields: {
|
|
10
10
|
id: {
|
|
11
|
-
type:
|
|
12
|
-
isOptional:
|
|
11
|
+
type: ScalarTypeEnum.ID(),
|
|
12
|
+
isOptional: false
|
|
13
13
|
},
|
|
14
14
|
tenantId: {
|
|
15
|
-
type:
|
|
16
|
-
isOptional:
|
|
15
|
+
type: ScalarTypeEnum.ID(),
|
|
16
|
+
isOptional: false
|
|
17
17
|
},
|
|
18
18
|
integrationKey: {
|
|
19
|
-
type:
|
|
20
|
-
isOptional:
|
|
19
|
+
type: ScalarTypeEnum.NonEmptyString(),
|
|
20
|
+
isOptional: false
|
|
21
21
|
},
|
|
22
22
|
integrationVersion: {
|
|
23
|
-
type:
|
|
24
|
-
isOptional:
|
|
23
|
+
type: ScalarTypeEnum.Int_unsecure(),
|
|
24
|
+
isOptional: false
|
|
25
25
|
},
|
|
26
26
|
label: {
|
|
27
|
-
type:
|
|
28
|
-
isOptional:
|
|
27
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
28
|
+
isOptional: false
|
|
29
29
|
},
|
|
30
30
|
ownershipMode: {
|
|
31
|
-
type:
|
|
32
|
-
isOptional:
|
|
31
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
32
|
+
isOptional: false
|
|
33
33
|
},
|
|
34
34
|
externalAccountId: {
|
|
35
|
-
type:
|
|
36
|
-
isOptional:
|
|
35
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
36
|
+
isOptional: true
|
|
37
37
|
},
|
|
38
38
|
secretProvider: {
|
|
39
|
-
type:
|
|
40
|
-
isOptional:
|
|
39
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
40
|
+
isOptional: false
|
|
41
41
|
},
|
|
42
42
|
secretRef: {
|
|
43
|
-
type:
|
|
44
|
-
isOptional:
|
|
43
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
44
|
+
isOptional: false
|
|
45
45
|
},
|
|
46
46
|
status: {
|
|
47
|
-
type:
|
|
48
|
-
isOptional:
|
|
47
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
48
|
+
isOptional: false
|
|
49
49
|
},
|
|
50
50
|
environment: {
|
|
51
|
-
type:
|
|
52
|
-
isOptional:
|
|
51
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
52
|
+
isOptional: true
|
|
53
53
|
},
|
|
54
54
|
healthStatus: {
|
|
55
|
-
type:
|
|
56
|
-
isOptional:
|
|
55
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
56
|
+
isOptional: true
|
|
57
57
|
},
|
|
58
58
|
healthCheckedAt: {
|
|
59
|
-
type:
|
|
60
|
-
isOptional:
|
|
59
|
+
type: ScalarTypeEnum.DateTime(),
|
|
60
|
+
isOptional: true
|
|
61
61
|
},
|
|
62
62
|
healthLatencyMs: {
|
|
63
|
-
type:
|
|
64
|
-
isOptional:
|
|
63
|
+
type: ScalarTypeEnum.Float_unsecure(),
|
|
64
|
+
isOptional: true
|
|
65
65
|
},
|
|
66
66
|
healthErrorCode: {
|
|
67
|
-
type:
|
|
68
|
-
isOptional:
|
|
67
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
68
|
+
isOptional: true
|
|
69
69
|
},
|
|
70
70
|
healthErrorMessage: {
|
|
71
|
-
type:
|
|
72
|
-
isOptional:
|
|
71
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
72
|
+
isOptional: true
|
|
73
73
|
},
|
|
74
74
|
usageRequestCount: {
|
|
75
|
-
type:
|
|
76
|
-
isOptional:
|
|
75
|
+
type: ScalarTypeEnum.Int_unsecure(),
|
|
76
|
+
isOptional: true
|
|
77
77
|
},
|
|
78
78
|
usageSuccessCount: {
|
|
79
|
-
type:
|
|
80
|
-
isOptional:
|
|
79
|
+
type: ScalarTypeEnum.Int_unsecure(),
|
|
80
|
+
isOptional: true
|
|
81
81
|
},
|
|
82
82
|
usageErrorCount: {
|
|
83
|
-
type:
|
|
84
|
-
isOptional:
|
|
83
|
+
type: ScalarTypeEnum.Int_unsecure(),
|
|
84
|
+
isOptional: true
|
|
85
85
|
},
|
|
86
86
|
usageLastUsedAt: {
|
|
87
|
-
type:
|
|
88
|
-
isOptional:
|
|
87
|
+
type: ScalarTypeEnum.DateTime(),
|
|
88
|
+
isOptional: true
|
|
89
89
|
},
|
|
90
90
|
usageLastErrorAt: {
|
|
91
|
-
type:
|
|
92
|
-
isOptional:
|
|
91
|
+
type: ScalarTypeEnum.DateTime(),
|
|
92
|
+
isOptional: true
|
|
93
93
|
},
|
|
94
94
|
usageLastErrorCode: {
|
|
95
|
-
type:
|
|
96
|
-
isOptional:
|
|
95
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
96
|
+
isOptional: true
|
|
97
97
|
},
|
|
98
98
|
createdAt: {
|
|
99
|
-
type:
|
|
100
|
-
isOptional:
|
|
99
|
+
type: ScalarTypeEnum.DateTime(),
|
|
100
|
+
isOptional: true
|
|
101
101
|
},
|
|
102
102
|
updatedAt: {
|
|
103
|
-
type:
|
|
104
|
-
isOptional:
|
|
103
|
+
type: ScalarTypeEnum.DateTime(),
|
|
104
|
+
isOptional: true
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
})
|
|
108
|
-
|
|
107
|
+
});
|
|
108
|
+
const CreateIntegrationConnectionInput = new SchemaModel({
|
|
109
|
+
name: "CreateIntegrationConnectionInput",
|
|
109
110
|
fields: {
|
|
110
111
|
tenantId: {
|
|
111
|
-
type:
|
|
112
|
-
isOptional:
|
|
112
|
+
type: ScalarTypeEnum.ID(),
|
|
113
|
+
isOptional: false
|
|
113
114
|
},
|
|
114
115
|
integrationKey: {
|
|
115
|
-
type:
|
|
116
|
-
isOptional:
|
|
116
|
+
type: ScalarTypeEnum.NonEmptyString(),
|
|
117
|
+
isOptional: false
|
|
117
118
|
},
|
|
118
119
|
integrationVersion: {
|
|
119
|
-
type:
|
|
120
|
-
isOptional:
|
|
120
|
+
type: ScalarTypeEnum.Int_unsecure(),
|
|
121
|
+
isOptional: false
|
|
121
122
|
},
|
|
122
123
|
label: {
|
|
123
|
-
type:
|
|
124
|
-
isOptional:
|
|
124
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
125
|
+
isOptional: false
|
|
125
126
|
},
|
|
126
127
|
ownershipMode: {
|
|
127
|
-
type:
|
|
128
|
-
isOptional:
|
|
128
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
129
|
+
isOptional: false
|
|
129
130
|
},
|
|
130
131
|
externalAccountId: {
|
|
131
|
-
type:
|
|
132
|
-
isOptional:
|
|
132
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
133
|
+
isOptional: true
|
|
133
134
|
},
|
|
134
135
|
secretProvider: {
|
|
135
|
-
type:
|
|
136
|
-
isOptional:
|
|
136
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
137
|
+
isOptional: false
|
|
137
138
|
},
|
|
138
139
|
secretRef: {
|
|
139
|
-
type:
|
|
140
|
-
isOptional:
|
|
140
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
141
|
+
isOptional: false
|
|
141
142
|
},
|
|
142
143
|
environment: {
|
|
143
|
-
type:
|
|
144
|
-
isOptional:
|
|
144
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
145
|
+
isOptional: true
|
|
145
146
|
},
|
|
146
147
|
config: {
|
|
147
|
-
type:
|
|
148
|
-
isOptional:
|
|
148
|
+
type: ScalarTypeEnum.JSONObject(),
|
|
149
|
+
isOptional: false
|
|
149
150
|
}
|
|
150
151
|
}
|
|
151
|
-
})
|
|
152
|
-
|
|
152
|
+
});
|
|
153
|
+
const UpdateIntegrationConnectionInput = new SchemaModel({
|
|
154
|
+
name: "UpdateIntegrationConnectionInput",
|
|
153
155
|
fields: {
|
|
154
156
|
connectionId: {
|
|
155
|
-
type:
|
|
156
|
-
isOptional:
|
|
157
|
+
type: ScalarTypeEnum.ID(),
|
|
158
|
+
isOptional: false
|
|
157
159
|
},
|
|
158
160
|
label: {
|
|
159
|
-
type:
|
|
160
|
-
isOptional:
|
|
161
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
162
|
+
isOptional: true
|
|
161
163
|
},
|
|
162
164
|
status: {
|
|
163
|
-
type:
|
|
164
|
-
isOptional:
|
|
165
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
166
|
+
isOptional: true
|
|
165
167
|
},
|
|
166
168
|
ownershipMode: {
|
|
167
|
-
type:
|
|
168
|
-
isOptional:
|
|
169
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
170
|
+
isOptional: true
|
|
169
171
|
},
|
|
170
172
|
externalAccountId: {
|
|
171
|
-
type:
|
|
172
|
-
isOptional:
|
|
173
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
174
|
+
isOptional: true
|
|
173
175
|
},
|
|
174
176
|
secretProvider: {
|
|
175
|
-
type:
|
|
176
|
-
isOptional:
|
|
177
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
178
|
+
isOptional: true
|
|
177
179
|
},
|
|
178
180
|
secretRef: {
|
|
179
|
-
type:
|
|
180
|
-
isOptional:
|
|
181
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
182
|
+
isOptional: true
|
|
181
183
|
},
|
|
182
184
|
config: {
|
|
183
|
-
type:
|
|
184
|
-
isOptional:
|
|
185
|
+
type: ScalarTypeEnum.JSONObject(),
|
|
186
|
+
isOptional: true
|
|
185
187
|
}
|
|
186
188
|
}
|
|
187
|
-
})
|
|
188
|
-
|
|
189
|
+
});
|
|
190
|
+
const DeleteIntegrationConnectionInput = new SchemaModel({
|
|
191
|
+
name: "DeleteIntegrationConnectionInput",
|
|
189
192
|
fields: { connectionId: {
|
|
190
|
-
type:
|
|
191
|
-
isOptional:
|
|
193
|
+
type: ScalarTypeEnum.ID(),
|
|
194
|
+
isOptional: false
|
|
192
195
|
} }
|
|
193
|
-
})
|
|
194
|
-
|
|
196
|
+
});
|
|
197
|
+
const ListIntegrationConnectionsInput = new SchemaModel({
|
|
198
|
+
name: "ListIntegrationConnectionsInput",
|
|
195
199
|
fields: {
|
|
196
200
|
tenantId: {
|
|
197
|
-
type:
|
|
198
|
-
isOptional:
|
|
201
|
+
type: ScalarTypeEnum.ID(),
|
|
202
|
+
isOptional: false
|
|
199
203
|
},
|
|
200
204
|
category: {
|
|
201
|
-
type:
|
|
202
|
-
isOptional:
|
|
205
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
206
|
+
isOptional: true
|
|
203
207
|
},
|
|
204
208
|
status: {
|
|
205
|
-
type:
|
|
206
|
-
isOptional:
|
|
209
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
210
|
+
isOptional: true
|
|
207
211
|
}
|
|
208
212
|
}
|
|
209
|
-
})
|
|
210
|
-
|
|
213
|
+
});
|
|
214
|
+
const ListIntegrationConnectionsOutput = new SchemaModel({
|
|
215
|
+
name: "ListIntegrationConnectionsOutput",
|
|
211
216
|
fields: { connections: {
|
|
212
|
-
type:
|
|
213
|
-
isOptional:
|
|
214
|
-
isArray:
|
|
217
|
+
type: IntegrationConnectionRecord,
|
|
218
|
+
isOptional: false,
|
|
219
|
+
isArray: true
|
|
215
220
|
} }
|
|
216
|
-
})
|
|
217
|
-
|
|
221
|
+
});
|
|
222
|
+
const TestIntegrationConnectionInput = new SchemaModel({
|
|
223
|
+
name: "TestIntegrationConnectionInput",
|
|
218
224
|
fields: { connectionId: {
|
|
219
|
-
type:
|
|
220
|
-
isOptional:
|
|
225
|
+
type: ScalarTypeEnum.ID(),
|
|
226
|
+
isOptional: false
|
|
221
227
|
} }
|
|
222
|
-
})
|
|
223
|
-
|
|
228
|
+
});
|
|
229
|
+
const TestIntegrationConnectionOutput = new SchemaModel({
|
|
230
|
+
name: "TestIntegrationConnectionOutput",
|
|
224
231
|
fields: {
|
|
225
232
|
success: {
|
|
226
|
-
type:
|
|
227
|
-
isOptional:
|
|
233
|
+
type: ScalarTypeEnum.Boolean(),
|
|
234
|
+
isOptional: false
|
|
228
235
|
},
|
|
229
236
|
status: {
|
|
230
|
-
type:
|
|
231
|
-
isOptional:
|
|
237
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
238
|
+
isOptional: true
|
|
232
239
|
},
|
|
233
240
|
latencyMs: {
|
|
234
|
-
type:
|
|
235
|
-
isOptional:
|
|
241
|
+
type: ScalarTypeEnum.Float_unsecure(),
|
|
242
|
+
isOptional: true
|
|
236
243
|
},
|
|
237
244
|
error: {
|
|
238
|
-
type:
|
|
239
|
-
isOptional:
|
|
245
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
246
|
+
isOptional: true
|
|
240
247
|
},
|
|
241
248
|
errorCode: {
|
|
242
|
-
type:
|
|
243
|
-
isOptional:
|
|
249
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
250
|
+
isOptional: true
|
|
244
251
|
}
|
|
245
252
|
}
|
|
246
|
-
})
|
|
247
|
-
|
|
253
|
+
});
|
|
254
|
+
const DeleteIntegrationConnectionOutput = new SchemaModel({
|
|
255
|
+
name: "DeleteIntegrationConnectionOutput",
|
|
248
256
|
fields: { success: {
|
|
249
|
-
type:
|
|
250
|
-
isOptional:
|
|
257
|
+
type: ScalarTypeEnum.Boolean(),
|
|
258
|
+
isOptional: false
|
|
251
259
|
} }
|
|
252
|
-
})
|
|
260
|
+
});
|
|
261
|
+
const CreateIntegrationConnection = defineCommand({
|
|
253
262
|
meta: {
|
|
254
|
-
name:
|
|
263
|
+
name: "integrations.connection.create",
|
|
255
264
|
version: 1,
|
|
256
|
-
description:
|
|
257
|
-
goal:
|
|
258
|
-
context:
|
|
259
|
-
owners: [
|
|
260
|
-
tags: [
|
|
261
|
-
stability:
|
|
265
|
+
description: "Create a new integration connection for a tenant.",
|
|
266
|
+
goal: "Provision a tenant-scoped connection to an external provider.",
|
|
267
|
+
context: "Used by Ops or the App Studio to configure external integrations such as Stripe or Qdrant.",
|
|
268
|
+
owners: ["platform.integrations"],
|
|
269
|
+
tags: ["integration", "connections"],
|
|
270
|
+
stability: "experimental"
|
|
262
271
|
},
|
|
263
272
|
io: {
|
|
264
|
-
input:
|
|
265
|
-
output:
|
|
273
|
+
input: CreateIntegrationConnectionInput,
|
|
274
|
+
output: IntegrationConnectionRecord
|
|
266
275
|
},
|
|
267
276
|
policy: {
|
|
268
|
-
auth:
|
|
277
|
+
auth: "admin",
|
|
269
278
|
policies: [{
|
|
270
|
-
name:
|
|
279
|
+
name: "platform.integration.manage",
|
|
271
280
|
version: 1
|
|
272
281
|
}]
|
|
273
282
|
}
|
|
274
|
-
})
|
|
283
|
+
});
|
|
284
|
+
const UpdateIntegrationConnection = defineCommand({
|
|
275
285
|
meta: {
|
|
276
|
-
name:
|
|
286
|
+
name: "integrations.connection.update",
|
|
277
287
|
version: 1,
|
|
278
|
-
description:
|
|
279
|
-
goal:
|
|
280
|
-
context:
|
|
281
|
-
owners: [
|
|
282
|
-
tags: [
|
|
283
|
-
stability:
|
|
288
|
+
description: "Update metadata or credentials for an integration connection.",
|
|
289
|
+
goal: "Allow secure rotation of credentials and metadata adjustments.",
|
|
290
|
+
context: "Supports rotating API keys, toggling status, or updating labels for tenant integrations.",
|
|
291
|
+
owners: ["platform.integrations"],
|
|
292
|
+
tags: ["integration", "connections"],
|
|
293
|
+
stability: "experimental"
|
|
284
294
|
},
|
|
285
295
|
io: {
|
|
286
|
-
input:
|
|
287
|
-
output:
|
|
296
|
+
input: UpdateIntegrationConnectionInput,
|
|
297
|
+
output: IntegrationConnectionRecord
|
|
288
298
|
},
|
|
289
299
|
policy: {
|
|
290
|
-
auth:
|
|
300
|
+
auth: "admin",
|
|
291
301
|
policies: [{
|
|
292
|
-
name:
|
|
302
|
+
name: "platform.integration.manage",
|
|
293
303
|
version: 1
|
|
294
304
|
}]
|
|
295
305
|
}
|
|
296
|
-
})
|
|
306
|
+
});
|
|
307
|
+
const DeleteIntegrationConnection = defineCommand({
|
|
297
308
|
meta: {
|
|
298
|
-
name:
|
|
309
|
+
name: "integrations.connection.delete",
|
|
299
310
|
version: 1,
|
|
300
|
-
description:
|
|
301
|
-
goal:
|
|
302
|
-
context:
|
|
303
|
-
owners: [
|
|
304
|
-
tags: [
|
|
305
|
-
stability:
|
|
311
|
+
description: "Delete an integration connection for a tenant.",
|
|
312
|
+
goal: "Safely remove credentials and disable connector usage.",
|
|
313
|
+
context: "Ensures connections are de-provisioned when no longer needed or breached.",
|
|
314
|
+
owners: ["platform.integrations"],
|
|
315
|
+
tags: ["integration", "connections"],
|
|
316
|
+
stability: "experimental"
|
|
306
317
|
},
|
|
307
318
|
io: {
|
|
308
|
-
input:
|
|
309
|
-
output:
|
|
319
|
+
input: DeleteIntegrationConnectionInput,
|
|
320
|
+
output: DeleteIntegrationConnectionOutput
|
|
310
321
|
},
|
|
311
322
|
policy: {
|
|
312
|
-
auth:
|
|
323
|
+
auth: "admin",
|
|
313
324
|
policies: [{
|
|
314
|
-
name:
|
|
325
|
+
name: "platform.integration.manage",
|
|
315
326
|
version: 1
|
|
316
327
|
}]
|
|
317
328
|
}
|
|
318
|
-
})
|
|
329
|
+
});
|
|
330
|
+
const ListIntegrationConnections = defineQuery({
|
|
319
331
|
meta: {
|
|
320
|
-
name:
|
|
332
|
+
name: "integrations.connection.list",
|
|
321
333
|
version: 1,
|
|
322
|
-
description:
|
|
323
|
-
goal:
|
|
324
|
-
context:
|
|
325
|
-
owners: [
|
|
326
|
-
tags: [
|
|
327
|
-
stability:
|
|
334
|
+
description: "List integration connections for a tenant.",
|
|
335
|
+
goal: "Provide visibility into configured integrations and their status.",
|
|
336
|
+
context: "Used by the App Studio and Ops flows to show bindings and health.",
|
|
337
|
+
owners: ["platform.integrations"],
|
|
338
|
+
tags: ["integration", "connections"],
|
|
339
|
+
stability: "experimental"
|
|
328
340
|
},
|
|
329
341
|
io: {
|
|
330
|
-
input:
|
|
331
|
-
output:
|
|
342
|
+
input: ListIntegrationConnectionsInput,
|
|
343
|
+
output: ListIntegrationConnectionsOutput
|
|
332
344
|
},
|
|
333
345
|
policy: {
|
|
334
|
-
auth:
|
|
346
|
+
auth: "admin",
|
|
335
347
|
policies: [{
|
|
336
|
-
name:
|
|
348
|
+
name: "platform.integration.read",
|
|
337
349
|
version: 1
|
|
338
350
|
}]
|
|
339
351
|
}
|
|
340
|
-
})
|
|
352
|
+
});
|
|
353
|
+
const TestIntegrationConnection = defineCommand({
|
|
341
354
|
meta: {
|
|
342
|
-
name:
|
|
355
|
+
name: "integrations.connection.test",
|
|
343
356
|
version: 1,
|
|
344
|
-
description:
|
|
345
|
-
goal:
|
|
346
|
-
context:
|
|
347
|
-
owners: [
|
|
348
|
-
tags: [
|
|
349
|
-
stability:
|
|
357
|
+
description: "Run a health check against a configured integration connection.",
|
|
358
|
+
goal: "Validate credentials and connectivity for external providers.",
|
|
359
|
+
context: "Triggered manually or by background monitors to confirm provider availability.",
|
|
360
|
+
owners: ["platform.integrations"],
|
|
361
|
+
tags: ["integration", "connections"],
|
|
362
|
+
stability: "experimental"
|
|
350
363
|
},
|
|
351
364
|
io: {
|
|
352
|
-
input:
|
|
353
|
-
output:
|
|
365
|
+
input: TestIntegrationConnectionInput,
|
|
366
|
+
output: TestIntegrationConnectionOutput
|
|
354
367
|
},
|
|
355
368
|
policy: {
|
|
356
|
-
auth:
|
|
369
|
+
auth: "admin",
|
|
357
370
|
policies: [{
|
|
358
|
-
name:
|
|
371
|
+
name: "platform.integration.manage",
|
|
359
372
|
version: 1
|
|
360
373
|
}]
|
|
361
374
|
}
|
|
362
|
-
})
|
|
363
|
-
CreateIntegrationConnection: p,
|
|
364
|
-
UpdateIntegrationConnection: m,
|
|
365
|
-
DeleteIntegrationConnection: h,
|
|
366
|
-
ListIntegrationConnections: g,
|
|
367
|
-
TestIntegrationConnection: _
|
|
368
|
-
};
|
|
375
|
+
});
|
|
369
376
|
|
|
370
|
-
//#endregion
|
|
371
|
-
export { _, g, h, m, p };
|
|
377
|
+
//#endregion
|
|
@@ -9,10 +9,10 @@ import "./providers/twilio-sms.js";
|
|
|
9
9
|
import "./providers/gcs-storage.js";
|
|
10
10
|
import "./providers/powens.js";
|
|
11
11
|
import "./providers/registry.js";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
12
|
+
import { AccountBalanceRecord, BankAccountRecord, BankTransactionRecord } from "./openbanking/models.js";
|
|
13
|
+
import { OPENBANKING_TELEMETRY_EVENTS } from "./openbanking/telemetry.js";
|
|
14
|
+
import "./openbanking/contracts/accounts.js";
|
|
15
|
+
import "./openbanking/contracts/transactions.js";
|
|
16
|
+
import "./openbanking/contracts/balances.js";
|
|
17
17
|
import "./openbanking/contracts/index.js";
|
|
18
18
|
import "./providers/index.js";
|