@epilot/sdk 2.18.4 → 2.18.6
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/definitions/dashboard-runtime.json +1 -1
- package/definitions/dashboard.json +919 -48
- package/definitions/email-settings-runtime.json +1 -1
- package/definitions/email-settings.json +50 -10
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +8 -8
- package/dist/apis/dashboard.d.cts +2 -2
- package/dist/apis/dashboard.d.ts +2 -2
- package/dist/apis/dashboard.js +2 -2
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +8 -8
- package/dist/apis/email-settings.d.cts +2 -2
- package/dist/apis/email-settings.d.ts +2 -2
- package/dist/apis/email-settings.js +2 -2
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/{chunk-KHKNOPEX.js → chunk-7HQ3GMYQ.js} +1 -1
- package/dist/{chunk-YNJPE3SS.cjs → chunk-AWJHA3GG.cjs} +1 -1
- package/dist/{chunk-HUDTRI32.cjs → chunk-MIKSJIFK.cjs} +4 -4
- package/dist/{chunk-3FHDY3R5.js → chunk-TAQOJW6T.js} +4 -4
- package/dist/chunk-TIRWWTDP.js +14 -0
- package/dist/chunk-VMCF5R6R.cjs +14 -0
- package/dist/dashboard-7QJ46I7N.cjs +7 -0
- package/dist/dashboard-ILXUFFF2.js +7 -0
- package/dist/{dashboard-runtime-EXP2AM44.cjs → dashboard-runtime-2LOASQPB.cjs} +2 -2
- package/dist/{dashboard-runtime-PSKSGLCF.js → dashboard-runtime-YMFNQP3M.js} +1 -1
- package/dist/dashboard.d-BSevFHjf.d.cts +1405 -0
- package/dist/dashboard.d-BSevFHjf.d.ts +1405 -0
- package/dist/email-settings-U753HXGA.js +7 -0
- package/dist/email-settings-Z5EBAELW.cjs +7 -0
- package/dist/{email-settings-runtime-J7JLYDMU.cjs → email-settings-runtime-IW2AT2RB.cjs} +2 -2
- package/dist/{email-settings-runtime-4BT72ADN.js → email-settings-runtime-YJYEC5AH.js} +1 -1
- package/dist/{email-settings.d-CR4lORuR.d.cts → email-settings.d-DViLYaOl.d.cts} +56 -14
- package/dist/{email-settings.d-CR4lORuR.d.ts → email-settings.d-DViLYaOl.d.ts} +56 -14
- package/dist/index.cjs +12 -12
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/docs/dashboard.md +1044 -180
- package/docs/email-settings.md +17 -13
- package/package.json +1 -1
- package/dist/chunk-M2UDF7PY.cjs +0 -14
- package/dist/chunk-SZMCMLOQ.js +0 -14
- package/dist/dashboard-UHYR5RTY.cjs +0 -7
- package/dist/dashboard-UTPGXFW5.js +0 -7
- package/dist/dashboard.d-CsGcA74I.d.cts +0 -440
- package/dist/dashboard.d-CsGcA74I.d.ts +0 -440
- package/dist/email-settings-ECSU7KWC.js +0 -7
- package/dist/email-settings-RHMYC2KT.cjs +0 -7
|
@@ -0,0 +1,1405 @@
|
|
|
1
|
+
import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
|
|
2
|
+
|
|
3
|
+
/* Auto-copied from dashboard-client */
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
declare namespace Components {
|
|
7
|
+
namespace Parameters {
|
|
8
|
+
export type AccessibleTo = string;
|
|
9
|
+
export type CreatedAfter = string; // date-time
|
|
10
|
+
export type CreatedBefore = string; // date-time
|
|
11
|
+
export type CreatedBy = string;
|
|
12
|
+
export type Favorite = boolean;
|
|
13
|
+
export type FavoritesFirst = boolean;
|
|
14
|
+
export type Limit = number;
|
|
15
|
+
export type Offset = number;
|
|
16
|
+
export type Order = "asc" | "desc";
|
|
17
|
+
export type Owner = string[];
|
|
18
|
+
export type Search = string;
|
|
19
|
+
export type SharedWith = string[];
|
|
20
|
+
export type Sort = "created_at" | "updated_at" | "name" | "title";
|
|
21
|
+
export type TagsFilter = string[];
|
|
22
|
+
export type TagsMatch = "any" | "all";
|
|
23
|
+
export type UpdatedAfter = string; // date-time
|
|
24
|
+
export type UpdatedBefore = string; // date-time
|
|
25
|
+
export type VisualisationIdFilter = /**
|
|
26
|
+
* Unique identifier for a Visualisation
|
|
27
|
+
* example:
|
|
28
|
+
* timechart
|
|
29
|
+
*/
|
|
30
|
+
Schemas.VisualisationId[];
|
|
31
|
+
}
|
|
32
|
+
export interface QueryParameters {
|
|
33
|
+
Search?: Parameters.Search;
|
|
34
|
+
VisualisationIdFilter?: Parameters.VisualisationIdFilter;
|
|
35
|
+
TagsFilter?: Parameters.TagsFilter;
|
|
36
|
+
TagsMatch?: Parameters.TagsMatch;
|
|
37
|
+
CreatedBy?: Parameters.CreatedBy;
|
|
38
|
+
CreatedAfter?: Parameters.CreatedAfter /* date-time */;
|
|
39
|
+
CreatedBefore?: Parameters.CreatedBefore /* date-time */;
|
|
40
|
+
UpdatedAfter?: Parameters.UpdatedAfter /* date-time */;
|
|
41
|
+
UpdatedBefore?: Parameters.UpdatedBefore /* date-time */;
|
|
42
|
+
SharedWith?: Parameters.SharedWith;
|
|
43
|
+
Owner?: Parameters.Owner;
|
|
44
|
+
AccessibleTo?: Parameters.AccessibleTo;
|
|
45
|
+
Favorite?: Parameters.Favorite;
|
|
46
|
+
FavoritesFirst?: Parameters.FavoritesFirst;
|
|
47
|
+
Sort?: Parameters.Sort;
|
|
48
|
+
Order?: Parameters.Order;
|
|
49
|
+
Limit?: Parameters.Limit;
|
|
50
|
+
Offset?: Parameters.Offset;
|
|
51
|
+
}
|
|
52
|
+
namespace Schemas {
|
|
53
|
+
/**
|
|
54
|
+
* Ownership and sharing metadata common to dashboards and insights. `created_*`/`updated_*`
|
|
55
|
+
* fields are managed by the server. `owners`, `shared_with` and `org_access` describe who
|
|
56
|
+
* may access the resource. New resources are private to their creator until shared.
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
export interface AccessControl {
|
|
60
|
+
/**
|
|
61
|
+
* Id of the user who created the resource
|
|
62
|
+
* example:
|
|
63
|
+
* 10598
|
|
64
|
+
*/
|
|
65
|
+
created_by?: string;
|
|
66
|
+
created_at?: string; // date-time
|
|
67
|
+
/**
|
|
68
|
+
* Id of the user who last updated the resource
|
|
69
|
+
* example:
|
|
70
|
+
* 10598
|
|
71
|
+
*/
|
|
72
|
+
updated_by?: string;
|
|
73
|
+
updated_at?: string; // date-time
|
|
74
|
+
/**
|
|
75
|
+
* Id of the organisation that owns the resource. Set at creation time and immutable.
|
|
76
|
+
* example:
|
|
77
|
+
* 739224
|
|
78
|
+
*/
|
|
79
|
+
owner_org_id?: string;
|
|
80
|
+
/**
|
|
81
|
+
* User ids with full control over the resource (view, edit, delete and manage sharing).
|
|
82
|
+
* The creator is always an owner. There must always be at least one owner.
|
|
83
|
+
*
|
|
84
|
+
* example:
|
|
85
|
+
* [
|
|
86
|
+
* "10598"
|
|
87
|
+
* ]
|
|
88
|
+
*/
|
|
89
|
+
owners?: string[];
|
|
90
|
+
/**
|
|
91
|
+
* Per-user sharing grants
|
|
92
|
+
*/
|
|
93
|
+
shared_with?: /* Grants a single user a permission level on a resource */ ShareGrant[];
|
|
94
|
+
org_access?: /**
|
|
95
|
+
* Optional organization-wide grant. When set, every user in the resource's organization
|
|
96
|
+
* is granted this permission level. `null` (or omitted) means the resource is not shared
|
|
97
|
+
* org-wide.
|
|
98
|
+
*
|
|
99
|
+
* example:
|
|
100
|
+
* view
|
|
101
|
+
*/
|
|
102
|
+
OrgAccess;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Sharing fields that can be mutated via PATCH (owners only). `owners` and `shared_with` are
|
|
106
|
+
* full replacements of their arrays, not merges — omit a field to leave it unchanged.
|
|
107
|
+
*
|
|
108
|
+
*/
|
|
109
|
+
export interface AccessControlUpdate {
|
|
110
|
+
/**
|
|
111
|
+
* Replaces the entire list of owner user ids. Must keep at least one owner (else 400).
|
|
112
|
+
* Omit to leave owners unchanged.
|
|
113
|
+
*
|
|
114
|
+
*/
|
|
115
|
+
owners?: string[];
|
|
116
|
+
/**
|
|
117
|
+
* Replaces the entire list of per-user grants — any existing grant not included is removed.
|
|
118
|
+
* Omit to leave sharing unchanged; send an empty array to revoke all per-user grants.
|
|
119
|
+
*
|
|
120
|
+
*/
|
|
121
|
+
shared_with?: /* Grants a single user a permission level on a resource */ ShareGrant[];
|
|
122
|
+
org_access?: /**
|
|
123
|
+
* Optional organization-wide grant. When set, every user in the resource's organization
|
|
124
|
+
* is granted this permission level. `null` (or omitted) means the resource is not shared
|
|
125
|
+
* org-wide.
|
|
126
|
+
*
|
|
127
|
+
* example:
|
|
128
|
+
* view
|
|
129
|
+
*/
|
|
130
|
+
OrgAccess;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* A dashboard configuration. A dashboard is a canvas whose tiles arrange and
|
|
134
|
+
* position insights (saved charts). Tiles may reference an insight by `insight_id`
|
|
135
|
+
* or, for backwards compatibility, embed a visualisation inline.
|
|
136
|
+
*
|
|
137
|
+
*/
|
|
138
|
+
export interface Dashboard {
|
|
139
|
+
/**
|
|
140
|
+
* Id of the user who created the resource
|
|
141
|
+
* example:
|
|
142
|
+
* 10598
|
|
143
|
+
*/
|
|
144
|
+
created_by?: string;
|
|
145
|
+
created_at?: string; // date-time
|
|
146
|
+
/**
|
|
147
|
+
* Id of the user who last updated the resource
|
|
148
|
+
* example:
|
|
149
|
+
* 10598
|
|
150
|
+
*/
|
|
151
|
+
updated_by?: string;
|
|
152
|
+
updated_at?: string; // date-time
|
|
153
|
+
/**
|
|
154
|
+
* Id of the organisation that owns the resource. Set at creation time and immutable.
|
|
155
|
+
* example:
|
|
156
|
+
* 739224
|
|
157
|
+
*/
|
|
158
|
+
owner_org_id?: string;
|
|
159
|
+
/**
|
|
160
|
+
* User ids with full control over the resource (view, edit, delete and manage sharing).
|
|
161
|
+
* The creator is always an owner. There must always be at least one owner.
|
|
162
|
+
*
|
|
163
|
+
* example:
|
|
164
|
+
* [
|
|
165
|
+
* "10598"
|
|
166
|
+
* ]
|
|
167
|
+
*/
|
|
168
|
+
owners?: string[];
|
|
169
|
+
/**
|
|
170
|
+
* Per-user sharing grants
|
|
171
|
+
*/
|
|
172
|
+
shared_with?: /* Grants a single user a permission level on a resource */ ShareGrant[];
|
|
173
|
+
org_access?: /**
|
|
174
|
+
* Optional organization-wide grant. When set, every user in the resource's organization
|
|
175
|
+
* is granted this permission level. `null` (or omitted) means the resource is not shared
|
|
176
|
+
* org-wide.
|
|
177
|
+
*
|
|
178
|
+
* example:
|
|
179
|
+
* view
|
|
180
|
+
*/
|
|
181
|
+
OrgAccess;
|
|
182
|
+
id?: /**
|
|
183
|
+
* Unique identifier for dashboard
|
|
184
|
+
* example:
|
|
185
|
+
* 3fa85f64-5717-4562-b3fc-2c963f66afa6
|
|
186
|
+
*/
|
|
187
|
+
DashboardID /* uuid */;
|
|
188
|
+
/**
|
|
189
|
+
* example:
|
|
190
|
+
* Employee Dashboard
|
|
191
|
+
*/
|
|
192
|
+
title: string;
|
|
193
|
+
/**
|
|
194
|
+
* example:
|
|
195
|
+
* [
|
|
196
|
+
* {
|
|
197
|
+
* "id": "e4af1297-1fd6-440f-9846-f475f580d40f",
|
|
198
|
+
* "coordinates": {},
|
|
199
|
+
* "insight_id": "8d2e1c7a-3b4f-4a2e-9c1d-2f3a4b5c6d7e"
|
|
200
|
+
* }
|
|
201
|
+
* ]
|
|
202
|
+
*/
|
|
203
|
+
tiles: /**
|
|
204
|
+
* A positioned tile on a dashboard canvas. A tile references a saved insight via
|
|
205
|
+
* `insight_id`. Inline `visualisation_id`/`visualisation_config` remain supported for
|
|
206
|
+
* backwards compatibility (ad-hoc tiles that are not backed by a shared insight).
|
|
207
|
+
*
|
|
208
|
+
*/
|
|
209
|
+
DashboardTile[];
|
|
210
|
+
/**
|
|
211
|
+
* Whether the requesting user has favorited this dashboard.
|
|
212
|
+
* example:
|
|
213
|
+
* false
|
|
214
|
+
*/
|
|
215
|
+
favorited?: boolean;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Unique identifier for dashboard
|
|
219
|
+
* example:
|
|
220
|
+
* 3fa85f64-5717-4562-b3fc-2c963f66afa6
|
|
221
|
+
*/
|
|
222
|
+
export type DashboardID = string; // uuid
|
|
223
|
+
/**
|
|
224
|
+
* Fields that can be partially updated on a dashboard
|
|
225
|
+
*/
|
|
226
|
+
export interface DashboardPatch {
|
|
227
|
+
/**
|
|
228
|
+
* Replaces the entire list of owner user ids. Must keep at least one owner (else 400).
|
|
229
|
+
* Omit to leave owners unchanged.
|
|
230
|
+
*
|
|
231
|
+
*/
|
|
232
|
+
owners?: string[];
|
|
233
|
+
/**
|
|
234
|
+
* Replaces the entire list of per-user grants — any existing grant not included is removed.
|
|
235
|
+
* Omit to leave sharing unchanged; send an empty array to revoke all per-user grants.
|
|
236
|
+
*
|
|
237
|
+
*/
|
|
238
|
+
shared_with?: /* Grants a single user a permission level on a resource */ ShareGrant[];
|
|
239
|
+
org_access?: /**
|
|
240
|
+
* Optional organization-wide grant. When set, every user in the resource's organization
|
|
241
|
+
* is granted this permission level. `null` (or omitted) means the resource is not shared
|
|
242
|
+
* org-wide.
|
|
243
|
+
*
|
|
244
|
+
* example:
|
|
245
|
+
* view
|
|
246
|
+
*/
|
|
247
|
+
OrgAccess;
|
|
248
|
+
/**
|
|
249
|
+
* example:
|
|
250
|
+
* Employee Dashboard
|
|
251
|
+
*/
|
|
252
|
+
title?: string;
|
|
253
|
+
tiles?: /**
|
|
254
|
+
* A positioned tile on a dashboard canvas. A tile references a saved insight via
|
|
255
|
+
* `insight_id`. Inline `visualisation_id`/`visualisation_config` remain supported for
|
|
256
|
+
* backwards compatibility (ad-hoc tiles that are not backed by a shared insight).
|
|
257
|
+
*
|
|
258
|
+
*/
|
|
259
|
+
DashboardTile[];
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* A positioned tile on a dashboard canvas. A tile references a saved insight via
|
|
263
|
+
* `insight_id`. Inline `visualisation_id`/`visualisation_config` remain supported for
|
|
264
|
+
* backwards compatibility (ad-hoc tiles that are not backed by a shared insight).
|
|
265
|
+
*
|
|
266
|
+
*/
|
|
267
|
+
export interface DashboardTile {
|
|
268
|
+
id?: /**
|
|
269
|
+
* Unique identifier for a tile in a dashboard
|
|
270
|
+
* example:
|
|
271
|
+
* e4af1297-1fd6-440f-9846-f475f580d40f
|
|
272
|
+
*/
|
|
273
|
+
DashboardTileID /* uuid */;
|
|
274
|
+
coordinates?: {
|
|
275
|
+
[key: string]: any;
|
|
276
|
+
};
|
|
277
|
+
/**
|
|
278
|
+
* example:
|
|
279
|
+
* Number of opportunities created by journeys every month
|
|
280
|
+
*/
|
|
281
|
+
title?: string;
|
|
282
|
+
/**
|
|
283
|
+
* Reference to a saved insight rendered by this tile
|
|
284
|
+
*/
|
|
285
|
+
insight_id?: /**
|
|
286
|
+
* Unique identifier for an insight (a saved chart / visualisation)
|
|
287
|
+
* example:
|
|
288
|
+
* 8d2e1c7a-3b4f-4a2e-9c1d-2f3a4b5c6d7e
|
|
289
|
+
*/
|
|
290
|
+
InsightID /* uuid */;
|
|
291
|
+
visualisation_id?: /**
|
|
292
|
+
* Unique identifier for a Visualisation
|
|
293
|
+
* example:
|
|
294
|
+
* timechart
|
|
295
|
+
*/
|
|
296
|
+
VisualisationId;
|
|
297
|
+
visualisation_config?: VisualisationConfig;
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* Unique identifier for a tile in a dashboard
|
|
301
|
+
* example:
|
|
302
|
+
* e4af1297-1fd6-440f-9846-f475f580d40f
|
|
303
|
+
*/
|
|
304
|
+
export type DashboardTileID = string; // uuid
|
|
305
|
+
export interface DatalakeQuery {
|
|
306
|
+
[name: string]: any;
|
|
307
|
+
/**
|
|
308
|
+
* example:
|
|
309
|
+
* entity_operations
|
|
310
|
+
*/
|
|
311
|
+
dataset?: string;
|
|
312
|
+
/**
|
|
313
|
+
* example:
|
|
314
|
+
* count_operations
|
|
315
|
+
*/
|
|
316
|
+
measure?: string;
|
|
317
|
+
dimensions?: {
|
|
318
|
+
[name: string]: any;
|
|
319
|
+
}[];
|
|
320
|
+
filters?: {
|
|
321
|
+
[name: string]: any;
|
|
322
|
+
}[];
|
|
323
|
+
}
|
|
324
|
+
export interface Example {
|
|
325
|
+
id?: /**
|
|
326
|
+
* Unique identifier for a visualisation examples for tiles in a dashboard
|
|
327
|
+
* example:
|
|
328
|
+
* e4af1297-1fd6-440f-9846-f475f580d40f
|
|
329
|
+
*/
|
|
330
|
+
ExampleID /* uuid */;
|
|
331
|
+
/**
|
|
332
|
+
* example:
|
|
333
|
+
* Number of opportunities created by journeys every month
|
|
334
|
+
*/
|
|
335
|
+
title?: string;
|
|
336
|
+
visualisation?: /**
|
|
337
|
+
* Unique identifier for a Visualisation
|
|
338
|
+
* example:
|
|
339
|
+
* timechart
|
|
340
|
+
*/
|
|
341
|
+
VisualisationId;
|
|
342
|
+
query?: DatalakeQuery;
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* Unique identifier for a visualisation examples for tiles in a dashboard
|
|
346
|
+
* example:
|
|
347
|
+
* e4af1297-1fd6-440f-9846-f475f580d40f
|
|
348
|
+
*/
|
|
349
|
+
export type ExampleID = string; // uuid
|
|
350
|
+
/**
|
|
351
|
+
* An insight is a saved, reusable chart definition (a visualisation plus its query/options).
|
|
352
|
+
* Insights exist independently of dashboards: they can be created, shared and edited on their
|
|
353
|
+
* own, and referenced by one or more dashboard tiles via `insight_id`.
|
|
354
|
+
*
|
|
355
|
+
*/
|
|
356
|
+
export interface Insight {
|
|
357
|
+
/**
|
|
358
|
+
* Id of the user who created the resource
|
|
359
|
+
* example:
|
|
360
|
+
* 10598
|
|
361
|
+
*/
|
|
362
|
+
created_by?: string;
|
|
363
|
+
created_at?: string; // date-time
|
|
364
|
+
/**
|
|
365
|
+
* Id of the user who last updated the resource
|
|
366
|
+
* example:
|
|
367
|
+
* 10598
|
|
368
|
+
*/
|
|
369
|
+
updated_by?: string;
|
|
370
|
+
updated_at?: string; // date-time
|
|
371
|
+
/**
|
|
372
|
+
* Id of the organisation that owns the resource. Set at creation time and immutable.
|
|
373
|
+
* example:
|
|
374
|
+
* 739224
|
|
375
|
+
*/
|
|
376
|
+
owner_org_id?: string;
|
|
377
|
+
/**
|
|
378
|
+
* User ids with full control over the resource (view, edit, delete and manage sharing).
|
|
379
|
+
* The creator is always an owner. There must always be at least one owner.
|
|
380
|
+
*
|
|
381
|
+
* example:
|
|
382
|
+
* [
|
|
383
|
+
* "10598"
|
|
384
|
+
* ]
|
|
385
|
+
*/
|
|
386
|
+
owners?: string[];
|
|
387
|
+
/**
|
|
388
|
+
* Per-user sharing grants
|
|
389
|
+
*/
|
|
390
|
+
shared_with?: /* Grants a single user a permission level on a resource */ ShareGrant[];
|
|
391
|
+
org_access?: /**
|
|
392
|
+
* Optional organization-wide grant. When set, every user in the resource's organization
|
|
393
|
+
* is granted this permission level. `null` (or omitted) means the resource is not shared
|
|
394
|
+
* org-wide.
|
|
395
|
+
*
|
|
396
|
+
* example:
|
|
397
|
+
* view
|
|
398
|
+
*/
|
|
399
|
+
OrgAccess;
|
|
400
|
+
id?: /**
|
|
401
|
+
* Unique identifier for an insight (a saved chart / visualisation)
|
|
402
|
+
* example:
|
|
403
|
+
* 8d2e1c7a-3b4f-4a2e-9c1d-2f3a4b5c6d7e
|
|
404
|
+
*/
|
|
405
|
+
InsightID /* uuid */;
|
|
406
|
+
/**
|
|
407
|
+
* Human readable name of the insight
|
|
408
|
+
* example:
|
|
409
|
+
* Opportunities created by journeys every month
|
|
410
|
+
*/
|
|
411
|
+
name: string;
|
|
412
|
+
/**
|
|
413
|
+
* example:
|
|
414
|
+
* Monthly count of opportunities grouped by source journey
|
|
415
|
+
*/
|
|
416
|
+
description?: string;
|
|
417
|
+
visualisation_id: /**
|
|
418
|
+
* Unique identifier for a Visualisation
|
|
419
|
+
* example:
|
|
420
|
+
* timechart
|
|
421
|
+
*/
|
|
422
|
+
VisualisationId;
|
|
423
|
+
visualisation_config?: VisualisationConfig;
|
|
424
|
+
tags?: /**
|
|
425
|
+
* Free-form labels for grouping and filtering insights
|
|
426
|
+
* example:
|
|
427
|
+
* [
|
|
428
|
+
* "revenue",
|
|
429
|
+
* "marketing"
|
|
430
|
+
* ]
|
|
431
|
+
*/
|
|
432
|
+
Tags;
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* Unique identifier for an insight (a saved chart / visualisation)
|
|
436
|
+
* example:
|
|
437
|
+
* 8d2e1c7a-3b4f-4a2e-9c1d-2f3a4b5c6d7e
|
|
438
|
+
*/
|
|
439
|
+
export type InsightID = string; // uuid
|
|
440
|
+
/**
|
|
441
|
+
* Fields that can be partially updated on an insight
|
|
442
|
+
*/
|
|
443
|
+
export interface InsightPatch {
|
|
444
|
+
/**
|
|
445
|
+
* Replaces the entire list of owner user ids. Must keep at least one owner (else 400).
|
|
446
|
+
* Omit to leave owners unchanged.
|
|
447
|
+
*
|
|
448
|
+
*/
|
|
449
|
+
owners?: string[];
|
|
450
|
+
/**
|
|
451
|
+
* Replaces the entire list of per-user grants — any existing grant not included is removed.
|
|
452
|
+
* Omit to leave sharing unchanged; send an empty array to revoke all per-user grants.
|
|
453
|
+
*
|
|
454
|
+
*/
|
|
455
|
+
shared_with?: /* Grants a single user a permission level on a resource */ ShareGrant[];
|
|
456
|
+
org_access?: /**
|
|
457
|
+
* Optional organization-wide grant. When set, every user in the resource's organization
|
|
458
|
+
* is granted this permission level. `null` (or omitted) means the resource is not shared
|
|
459
|
+
* org-wide.
|
|
460
|
+
*
|
|
461
|
+
* example:
|
|
462
|
+
* view
|
|
463
|
+
*/
|
|
464
|
+
OrgAccess;
|
|
465
|
+
name?: string;
|
|
466
|
+
description?: string;
|
|
467
|
+
visualisation_id?: /**
|
|
468
|
+
* Unique identifier for a Visualisation
|
|
469
|
+
* example:
|
|
470
|
+
* timechart
|
|
471
|
+
*/
|
|
472
|
+
VisualisationId;
|
|
473
|
+
visualisation_config?: VisualisationConfig;
|
|
474
|
+
tags?: /**
|
|
475
|
+
* Free-form labels for grouping and filtering insights
|
|
476
|
+
* example:
|
|
477
|
+
* [
|
|
478
|
+
* "revenue",
|
|
479
|
+
* "marketing"
|
|
480
|
+
* ]
|
|
481
|
+
*/
|
|
482
|
+
Tags;
|
|
483
|
+
}
|
|
484
|
+
/**
|
|
485
|
+
* Optional organization-wide grant. When set, every user in the resource's organization
|
|
486
|
+
* is granted this permission level. `null` (or omitted) means the resource is not shared
|
|
487
|
+
* org-wide.
|
|
488
|
+
*
|
|
489
|
+
* example:
|
|
490
|
+
* view
|
|
491
|
+
*/
|
|
492
|
+
export type OrgAccess = /**
|
|
493
|
+
* Optional organization-wide grant. When set, every user in the resource's organization
|
|
494
|
+
* is granted this permission level. `null` (or omitted) means the resource is not shared
|
|
495
|
+
* org-wide.
|
|
496
|
+
*
|
|
497
|
+
* example:
|
|
498
|
+
* view
|
|
499
|
+
*/
|
|
500
|
+
("view" | "edit") | (null);
|
|
501
|
+
/**
|
|
502
|
+
* Offset-based pagination metadata for list responses
|
|
503
|
+
*/
|
|
504
|
+
export interface Pagination {
|
|
505
|
+
/**
|
|
506
|
+
* Total number of results matching the query (ignoring limit/offset)
|
|
507
|
+
*/
|
|
508
|
+
total: number;
|
|
509
|
+
/**
|
|
510
|
+
* Page size used for this response
|
|
511
|
+
*/
|
|
512
|
+
limit: number;
|
|
513
|
+
/**
|
|
514
|
+
* Number of results skipped before this page
|
|
515
|
+
*/
|
|
516
|
+
offset: number;
|
|
517
|
+
/**
|
|
518
|
+
* Whether more results exist beyond this page
|
|
519
|
+
*/
|
|
520
|
+
has_more: boolean;
|
|
521
|
+
}
|
|
522
|
+
/**
|
|
523
|
+
* Grants a single user a permission level on a resource
|
|
524
|
+
*/
|
|
525
|
+
export interface ShareGrant {
|
|
526
|
+
/**
|
|
527
|
+
* The id of the user the resource is shared with
|
|
528
|
+
* example:
|
|
529
|
+
* 10598
|
|
530
|
+
*/
|
|
531
|
+
user_id: string;
|
|
532
|
+
permission: /**
|
|
533
|
+
* Permission level granted to a user (or the whole organization) on a shared resource.
|
|
534
|
+
* `view` allows read-only access; `edit` additionally allows updating the content.
|
|
535
|
+
* Full control (delete and managing sharing) is reserved for owners.
|
|
536
|
+
*
|
|
537
|
+
* example:
|
|
538
|
+
* view
|
|
539
|
+
*/
|
|
540
|
+
SharePermission;
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
* Permission level granted to a user (or the whole organization) on a shared resource.
|
|
544
|
+
* `view` allows read-only access; `edit` additionally allows updating the content.
|
|
545
|
+
* Full control (delete and managing sharing) is reserved for owners.
|
|
546
|
+
*
|
|
547
|
+
* example:
|
|
548
|
+
* view
|
|
549
|
+
*/
|
|
550
|
+
export type SharePermission = "view" | "edit";
|
|
551
|
+
/**
|
|
552
|
+
* Free-form labels for grouping and filtering insights
|
|
553
|
+
* example:
|
|
554
|
+
* [
|
|
555
|
+
* "revenue",
|
|
556
|
+
* "marketing"
|
|
557
|
+
* ]
|
|
558
|
+
*/
|
|
559
|
+
export type Tags = string[];
|
|
560
|
+
export interface TimechartVisualisationConfig {
|
|
561
|
+
query?: DatalakeQuery;
|
|
562
|
+
/**
|
|
563
|
+
* example:
|
|
564
|
+
* {
|
|
565
|
+
* "type": "bar"
|
|
566
|
+
* }
|
|
567
|
+
*/
|
|
568
|
+
options?: {
|
|
569
|
+
[name: string]: any;
|
|
570
|
+
};
|
|
571
|
+
}
|
|
572
|
+
/**
|
|
573
|
+
* A Visualisation that can be used to configure tiles in dashboards
|
|
574
|
+
*/
|
|
575
|
+
export interface Visualisation {
|
|
576
|
+
visualisation?: /**
|
|
577
|
+
* Unique identifier for a Visualisation
|
|
578
|
+
* example:
|
|
579
|
+
* timechart
|
|
580
|
+
*/
|
|
581
|
+
VisualisationId;
|
|
582
|
+
/**
|
|
583
|
+
* example:
|
|
584
|
+
* Time Series Visualisation
|
|
585
|
+
*/
|
|
586
|
+
title?: string;
|
|
587
|
+
description?: string;
|
|
588
|
+
/**
|
|
589
|
+
* Package name of the Visualisation MFE bundle to import
|
|
590
|
+
* example:
|
|
591
|
+
* @epilot360/highcharts
|
|
592
|
+
*/
|
|
593
|
+
package_name?: string;
|
|
594
|
+
/**
|
|
595
|
+
* URL to Visualisation MFE bundle to import
|
|
596
|
+
* example:
|
|
597
|
+
* https://epilot-dashboard-visualisations.epilot.io/epilot360-datalake-visualisation/bundle.js?version=1650592827
|
|
598
|
+
*/
|
|
599
|
+
import_url?: string; // uri
|
|
600
|
+
}
|
|
601
|
+
export type VisualisationConfig = TimechartVisualisationConfig;
|
|
602
|
+
/**
|
|
603
|
+
* Unique identifier for a Visualisation
|
|
604
|
+
* example:
|
|
605
|
+
* timechart
|
|
606
|
+
*/
|
|
607
|
+
export type VisualisationId = "kpi" | "funnel" | "toplist" | "timechart" | "pie" | "bar" | "entity_list" | "markdown" | "news_feed" | "workflow";
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
declare namespace Paths {
|
|
611
|
+
namespace CreateDashboard {
|
|
612
|
+
export type RequestBody = /**
|
|
613
|
+
* A dashboard configuration. A dashboard is a canvas whose tiles arrange and
|
|
614
|
+
* position insights (saved charts). Tiles may reference an insight by `insight_id`
|
|
615
|
+
* or, for backwards compatibility, embed a visualisation inline.
|
|
616
|
+
*
|
|
617
|
+
*/
|
|
618
|
+
Components.Schemas.Dashboard;
|
|
619
|
+
namespace Responses {
|
|
620
|
+
export type $201 = /**
|
|
621
|
+
* A dashboard configuration. A dashboard is a canvas whose tiles arrange and
|
|
622
|
+
* position insights (saved charts). Tiles may reference an insight by `insight_id`
|
|
623
|
+
* or, for backwards compatibility, embed a visualisation inline.
|
|
624
|
+
*
|
|
625
|
+
*/
|
|
626
|
+
Components.Schemas.Dashboard;
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
namespace CreateInsight {
|
|
630
|
+
export type RequestBody = /**
|
|
631
|
+
* An insight is a saved, reusable chart definition (a visualisation plus its query/options).
|
|
632
|
+
* Insights exist independently of dashboards: they can be created, shared and edited on their
|
|
633
|
+
* own, and referenced by one or more dashboard tiles via `insight_id`.
|
|
634
|
+
*
|
|
635
|
+
*/
|
|
636
|
+
Components.Schemas.Insight;
|
|
637
|
+
namespace Responses {
|
|
638
|
+
export type $201 = /**
|
|
639
|
+
* An insight is a saved, reusable chart definition (a visualisation plus its query/options).
|
|
640
|
+
* Insights exist independently of dashboards: they can be created, shared and edited on their
|
|
641
|
+
* own, and referenced by one or more dashboard tiles via `insight_id`.
|
|
642
|
+
*
|
|
643
|
+
*/
|
|
644
|
+
Components.Schemas.Insight;
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
namespace DeleteDashboard {
|
|
648
|
+
namespace Responses {
|
|
649
|
+
export type $200 = /**
|
|
650
|
+
* A dashboard configuration. A dashboard is a canvas whose tiles arrange and
|
|
651
|
+
* position insights (saved charts). Tiles may reference an insight by `insight_id`
|
|
652
|
+
* or, for backwards compatibility, embed a visualisation inline.
|
|
653
|
+
*
|
|
654
|
+
*/
|
|
655
|
+
Components.Schemas.Dashboard;
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
namespace DeleteInsight {
|
|
659
|
+
namespace Responses {
|
|
660
|
+
export type $200 = /**
|
|
661
|
+
* An insight is a saved, reusable chart definition (a visualisation plus its query/options).
|
|
662
|
+
* Insights exist independently of dashboards: they can be created, shared and edited on their
|
|
663
|
+
* own, and referenced by one or more dashboard tiles via `insight_id`.
|
|
664
|
+
*
|
|
665
|
+
*/
|
|
666
|
+
Components.Schemas.Insight;
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
namespace FavoriteDashboard {
|
|
670
|
+
namespace Responses {
|
|
671
|
+
export interface $204 {
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
namespace GetDashboard {
|
|
676
|
+
namespace Responses {
|
|
677
|
+
export type $200 = /**
|
|
678
|
+
* A dashboard configuration. A dashboard is a canvas whose tiles arrange and
|
|
679
|
+
* position insights (saved charts). Tiles may reference an insight by `insight_id`
|
|
680
|
+
* or, for backwards compatibility, embed a visualisation inline.
|
|
681
|
+
*
|
|
682
|
+
*/
|
|
683
|
+
Components.Schemas.Dashboard;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
namespace GetInsight {
|
|
687
|
+
namespace Responses {
|
|
688
|
+
export type $200 = /**
|
|
689
|
+
* An insight is a saved, reusable chart definition (a visualisation plus its query/options).
|
|
690
|
+
* Insights exist independently of dashboards: they can be created, shared and edited on their
|
|
691
|
+
* own, and referenced by one or more dashboard tiles via `insight_id`.
|
|
692
|
+
*
|
|
693
|
+
*/
|
|
694
|
+
Components.Schemas.Insight;
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
namespace ListAvailableExamples {
|
|
698
|
+
namespace Responses {
|
|
699
|
+
export interface $200 {
|
|
700
|
+
results?: Components.Schemas.Example[];
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
namespace ListAvailableVisualisations {
|
|
705
|
+
namespace Responses {
|
|
706
|
+
export interface $200 {
|
|
707
|
+
/**
|
|
708
|
+
* example:
|
|
709
|
+
* [
|
|
710
|
+
* {
|
|
711
|
+
* "visualisation": "timechart",
|
|
712
|
+
* "title": "Time Series Visualisation",
|
|
713
|
+
* "description": "Visualise your metrics with respect to time series",
|
|
714
|
+
* "package_name": "@epilot360/highcharts"
|
|
715
|
+
* },
|
|
716
|
+
* {
|
|
717
|
+
* "visualisation": "kpi",
|
|
718
|
+
* "title": "KPI Visualisation",
|
|
719
|
+
* "description": "Visualise your key performance indicators",
|
|
720
|
+
* "package_name": "@epilot360/kpi"
|
|
721
|
+
* }
|
|
722
|
+
* ]
|
|
723
|
+
*/
|
|
724
|
+
results?: /* A Visualisation that can be used to configure tiles in dashboards */ Components.Schemas.Visualisation[];
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
namespace ListDashboards {
|
|
729
|
+
namespace Parameters {
|
|
730
|
+
export type AccessibleTo = string;
|
|
731
|
+
export type CreatedAfter = string; // date-time
|
|
732
|
+
export type CreatedBefore = string; // date-time
|
|
733
|
+
export type CreatedBy = string;
|
|
734
|
+
export type Favorite = boolean;
|
|
735
|
+
export type FavoritesFirst = boolean;
|
|
736
|
+
export type Limit = number;
|
|
737
|
+
export type Offset = number;
|
|
738
|
+
export type Order = "asc" | "desc";
|
|
739
|
+
export type Owner = string[];
|
|
740
|
+
export type Q = string;
|
|
741
|
+
export type SharedWith = string[];
|
|
742
|
+
export type Sort = "created_at" | "updated_at" | "name" | "title";
|
|
743
|
+
export type UpdatedAfter = string; // date-time
|
|
744
|
+
export type UpdatedBefore = string; // date-time
|
|
745
|
+
}
|
|
746
|
+
export interface QueryParameters {
|
|
747
|
+
q?: Parameters.Q;
|
|
748
|
+
created_by?: Parameters.CreatedBy;
|
|
749
|
+
created_after?: Parameters.CreatedAfter /* date-time */;
|
|
750
|
+
created_before?: Parameters.CreatedBefore /* date-time */;
|
|
751
|
+
updated_after?: Parameters.UpdatedAfter /* date-time */;
|
|
752
|
+
updated_before?: Parameters.UpdatedBefore /* date-time */;
|
|
753
|
+
shared_with?: Parameters.SharedWith;
|
|
754
|
+
owner?: Parameters.Owner;
|
|
755
|
+
accessible_to?: Parameters.AccessibleTo;
|
|
756
|
+
favorite?: Parameters.Favorite;
|
|
757
|
+
favorites_first?: Parameters.FavoritesFirst;
|
|
758
|
+
sort?: Parameters.Sort;
|
|
759
|
+
order?: Parameters.Order;
|
|
760
|
+
limit?: Parameters.Limit;
|
|
761
|
+
offset?: Parameters.Offset;
|
|
762
|
+
}
|
|
763
|
+
namespace Responses {
|
|
764
|
+
export interface $200 {
|
|
765
|
+
results: /**
|
|
766
|
+
* A dashboard configuration. A dashboard is a canvas whose tiles arrange and
|
|
767
|
+
* position insights (saved charts). Tiles may reference an insight by `insight_id`
|
|
768
|
+
* or, for backwards compatibility, embed a visualisation inline.
|
|
769
|
+
*
|
|
770
|
+
*/
|
|
771
|
+
Components.Schemas.Dashboard[];
|
|
772
|
+
pagination: /* Offset-based pagination metadata for list responses */ Components.Schemas.Pagination;
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
namespace ListFavoriteDashboardIds {
|
|
777
|
+
namespace Responses {
|
|
778
|
+
export interface $200 {
|
|
779
|
+
dashboard_ids: /**
|
|
780
|
+
* Unique identifier for dashboard
|
|
781
|
+
* example:
|
|
782
|
+
* 3fa85f64-5717-4562-b3fc-2c963f66afa6
|
|
783
|
+
*/
|
|
784
|
+
Components.Schemas.DashboardID /* uuid */[];
|
|
785
|
+
total: number;
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
namespace ListInsightTags {
|
|
790
|
+
namespace Responses {
|
|
791
|
+
export interface $200 {
|
|
792
|
+
results?: string[];
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
namespace ListInsights {
|
|
797
|
+
namespace Parameters {
|
|
798
|
+
export type AccessibleTo = string;
|
|
799
|
+
export type CreatedAfter = string; // date-time
|
|
800
|
+
export type CreatedBefore = string; // date-time
|
|
801
|
+
export type CreatedBy = string;
|
|
802
|
+
export type Limit = number;
|
|
803
|
+
export type Offset = number;
|
|
804
|
+
export type Order = "asc" | "desc";
|
|
805
|
+
export type Owner = string[];
|
|
806
|
+
export type Q = string;
|
|
807
|
+
export type SharedWith = string[];
|
|
808
|
+
export type Sort = "created_at" | "updated_at" | "name" | "title";
|
|
809
|
+
export type Tags = string[];
|
|
810
|
+
export type TagsMatch = "any" | "all";
|
|
811
|
+
export type UpdatedAfter = string; // date-time
|
|
812
|
+
export type UpdatedBefore = string; // date-time
|
|
813
|
+
export type VisualisationId = /**
|
|
814
|
+
* Unique identifier for a Visualisation
|
|
815
|
+
* example:
|
|
816
|
+
* timechart
|
|
817
|
+
*/
|
|
818
|
+
Components.Schemas.VisualisationId[];
|
|
819
|
+
}
|
|
820
|
+
export interface QueryParameters {
|
|
821
|
+
q?: Parameters.Q;
|
|
822
|
+
visualisation_id?: Parameters.VisualisationId;
|
|
823
|
+
tags?: Parameters.Tags;
|
|
824
|
+
tags_match?: Parameters.TagsMatch;
|
|
825
|
+
created_by?: Parameters.CreatedBy;
|
|
826
|
+
created_after?: Parameters.CreatedAfter /* date-time */;
|
|
827
|
+
created_before?: Parameters.CreatedBefore /* date-time */;
|
|
828
|
+
updated_after?: Parameters.UpdatedAfter /* date-time */;
|
|
829
|
+
updated_before?: Parameters.UpdatedBefore /* date-time */;
|
|
830
|
+
shared_with?: Parameters.SharedWith;
|
|
831
|
+
owner?: Parameters.Owner;
|
|
832
|
+
accessible_to?: Parameters.AccessibleTo;
|
|
833
|
+
sort?: Parameters.Sort;
|
|
834
|
+
order?: Parameters.Order;
|
|
835
|
+
limit?: Parameters.Limit;
|
|
836
|
+
offset?: Parameters.Offset;
|
|
837
|
+
}
|
|
838
|
+
namespace Responses {
|
|
839
|
+
export interface $200 {
|
|
840
|
+
results: /**
|
|
841
|
+
* An insight is a saved, reusable chart definition (a visualisation plus its query/options).
|
|
842
|
+
* Insights exist independently of dashboards: they can be created, shared and edited on their
|
|
843
|
+
* own, and referenced by one or more dashboard tiles via `insight_id`.
|
|
844
|
+
*
|
|
845
|
+
*/
|
|
846
|
+
Components.Schemas.Insight[];
|
|
847
|
+
pagination: /* Offset-based pagination metadata for list responses */ Components.Schemas.Pagination;
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
namespace PatchDashboard {
|
|
852
|
+
export type RequestBody = /* Fields that can be partially updated on a dashboard */ Components.Schemas.DashboardPatch;
|
|
853
|
+
namespace Responses {
|
|
854
|
+
export type $200 = /**
|
|
855
|
+
* A dashboard configuration. A dashboard is a canvas whose tiles arrange and
|
|
856
|
+
* position insights (saved charts). Tiles may reference an insight by `insight_id`
|
|
857
|
+
* or, for backwards compatibility, embed a visualisation inline.
|
|
858
|
+
*
|
|
859
|
+
*/
|
|
860
|
+
Components.Schemas.Dashboard;
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
namespace PatchInsight {
|
|
864
|
+
export type RequestBody = /* Fields that can be partially updated on an insight */ Components.Schemas.InsightPatch;
|
|
865
|
+
namespace Responses {
|
|
866
|
+
export type $200 = /**
|
|
867
|
+
* An insight is a saved, reusable chart definition (a visualisation plus its query/options).
|
|
868
|
+
* Insights exist independently of dashboards: they can be created, shared and edited on their
|
|
869
|
+
* own, and referenced by one or more dashboard tiles via `insight_id`.
|
|
870
|
+
*
|
|
871
|
+
*/
|
|
872
|
+
Components.Schemas.Insight;
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
namespace PutDashboard {
|
|
876
|
+
export type RequestBody = /**
|
|
877
|
+
* A dashboard configuration. A dashboard is a canvas whose tiles arrange and
|
|
878
|
+
* position insights (saved charts). Tiles may reference an insight by `insight_id`
|
|
879
|
+
* or, for backwards compatibility, embed a visualisation inline.
|
|
880
|
+
*
|
|
881
|
+
*/
|
|
882
|
+
Components.Schemas.Dashboard;
|
|
883
|
+
namespace Responses {
|
|
884
|
+
export type $200 = /**
|
|
885
|
+
* A dashboard configuration. A dashboard is a canvas whose tiles arrange and
|
|
886
|
+
* position insights (saved charts). Tiles may reference an insight by `insight_id`
|
|
887
|
+
* or, for backwards compatibility, embed a visualisation inline.
|
|
888
|
+
*
|
|
889
|
+
*/
|
|
890
|
+
Components.Schemas.Dashboard;
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
namespace PutInsight {
|
|
894
|
+
export type RequestBody = /**
|
|
895
|
+
* An insight is a saved, reusable chart definition (a visualisation plus its query/options).
|
|
896
|
+
* Insights exist independently of dashboards: they can be created, shared and edited on their
|
|
897
|
+
* own, and referenced by one or more dashboard tiles via `insight_id`.
|
|
898
|
+
*
|
|
899
|
+
*/
|
|
900
|
+
Components.Schemas.Insight;
|
|
901
|
+
namespace Responses {
|
|
902
|
+
export type $200 = /**
|
|
903
|
+
* An insight is a saved, reusable chart definition (a visualisation plus its query/options).
|
|
904
|
+
* Insights exist independently of dashboards: they can be created, shared and edited on their
|
|
905
|
+
* own, and referenced by one or more dashboard tiles via `insight_id`.
|
|
906
|
+
*
|
|
907
|
+
*/
|
|
908
|
+
Components.Schemas.Insight;
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
namespace UnfavoriteDashboard {
|
|
912
|
+
namespace Responses {
|
|
913
|
+
export interface $204 {
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
namespace V1DashboardDashboards$Id {
|
|
918
|
+
namespace Parameters {
|
|
919
|
+
export type Id = /**
|
|
920
|
+
* Unique identifier for dashboard
|
|
921
|
+
* example:
|
|
922
|
+
* 3fa85f64-5717-4562-b3fc-2c963f66afa6
|
|
923
|
+
*/
|
|
924
|
+
Components.Schemas.DashboardID /* uuid */;
|
|
925
|
+
}
|
|
926
|
+
export interface PathParameters {
|
|
927
|
+
id: Parameters.Id;
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
namespace V1DashboardDashboards$IdFavorite {
|
|
931
|
+
namespace Parameters {
|
|
932
|
+
export type Id = /**
|
|
933
|
+
* Unique identifier for dashboard
|
|
934
|
+
* example:
|
|
935
|
+
* 3fa85f64-5717-4562-b3fc-2c963f66afa6
|
|
936
|
+
*/
|
|
937
|
+
Components.Schemas.DashboardID /* uuid */;
|
|
938
|
+
}
|
|
939
|
+
export interface PathParameters {
|
|
940
|
+
id: Parameters.Id;
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
namespace V1DashboardInsights$Id {
|
|
944
|
+
namespace Parameters {
|
|
945
|
+
export type Id = /**
|
|
946
|
+
* Unique identifier for an insight (a saved chart / visualisation)
|
|
947
|
+
* example:
|
|
948
|
+
* 8d2e1c7a-3b4f-4a2e-9c1d-2f3a4b5c6d7e
|
|
949
|
+
*/
|
|
950
|
+
Components.Schemas.InsightID /* uuid */;
|
|
951
|
+
}
|
|
952
|
+
export interface PathParameters {
|
|
953
|
+
id: Parameters.Id;
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
interface OperationMethods {
|
|
960
|
+
/**
|
|
961
|
+
* listDashboards - listDashboards
|
|
962
|
+
*
|
|
963
|
+
* List dashboards available to the user
|
|
964
|
+
*/
|
|
965
|
+
'listDashboards'(
|
|
966
|
+
parameters?: Parameters<Paths.ListDashboards.QueryParameters> | null,
|
|
967
|
+
data?: any,
|
|
968
|
+
config?: AxiosRequestConfig
|
|
969
|
+
): OperationResponse<Paths.ListDashboards.Responses.$200>
|
|
970
|
+
/**
|
|
971
|
+
* createDashboard - createDashboard
|
|
972
|
+
*
|
|
973
|
+
* Create new dashboard
|
|
974
|
+
*/
|
|
975
|
+
'createDashboard'(
|
|
976
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
977
|
+
data?: Paths.CreateDashboard.RequestBody,
|
|
978
|
+
config?: AxiosRequestConfig
|
|
979
|
+
): OperationResponse<Paths.CreateDashboard.Responses.$201>
|
|
980
|
+
/**
|
|
981
|
+
* listFavoriteDashboardIds - listFavoriteDashboardIds
|
|
982
|
+
*
|
|
983
|
+
* Returns the current user's favorited dashboard ids, with no dashboard metadata. Lets a
|
|
984
|
+
* client decide whether to default to a favorites-only view without first fetching the full
|
|
985
|
+
* dashboards list.
|
|
986
|
+
*
|
|
987
|
+
*/
|
|
988
|
+
'listFavoriteDashboardIds'(
|
|
989
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
990
|
+
data?: any,
|
|
991
|
+
config?: AxiosRequestConfig
|
|
992
|
+
): OperationResponse<Paths.ListFavoriteDashboardIds.Responses.$200>
|
|
993
|
+
/**
|
|
994
|
+
* favoriteDashboard - favoriteDashboard
|
|
995
|
+
*
|
|
996
|
+
* Marks the dashboard as favorited by the current user. Idempotent — favoriting an
|
|
997
|
+
* already-favorited dashboard is not an error. Requires only view-level access to the
|
|
998
|
+
* dashboard (unlike the edit-level check on `PATCH .../dashboards/{id}`).
|
|
999
|
+
*
|
|
1000
|
+
*/
|
|
1001
|
+
'favoriteDashboard'(
|
|
1002
|
+
parameters?: Parameters<Paths.V1DashboardDashboards$IdFavorite.PathParameters> | null,
|
|
1003
|
+
data?: any,
|
|
1004
|
+
config?: AxiosRequestConfig
|
|
1005
|
+
): OperationResponse<Paths.FavoriteDashboard.Responses.$204>
|
|
1006
|
+
/**
|
|
1007
|
+
* unfavoriteDashboard - unfavoriteDashboard
|
|
1008
|
+
*
|
|
1009
|
+
* Removes the current user's favorite for the dashboard. Idempotent — unfavoriting a
|
|
1010
|
+
* dashboard that was not favorited is not an error, and neither is unfavoriting one that no
|
|
1011
|
+
* longer exists or is no longer shared with you. Requires no access to the dashboard, so that
|
|
1012
|
+
* a stale favorite always remains removable.
|
|
1013
|
+
*
|
|
1014
|
+
*/
|
|
1015
|
+
'unfavoriteDashboard'(
|
|
1016
|
+
parameters?: Parameters<Paths.V1DashboardDashboards$IdFavorite.PathParameters> | null,
|
|
1017
|
+
data?: any,
|
|
1018
|
+
config?: AxiosRequestConfig
|
|
1019
|
+
): OperationResponse<Paths.UnfavoriteDashboard.Responses.$204>
|
|
1020
|
+
/**
|
|
1021
|
+
* getDashboard - getDashboard
|
|
1022
|
+
*
|
|
1023
|
+
* Get dashboard by ID
|
|
1024
|
+
*/
|
|
1025
|
+
'getDashboard'(
|
|
1026
|
+
parameters?: Parameters<Paths.V1DashboardDashboards$Id.PathParameters> | null,
|
|
1027
|
+
data?: any,
|
|
1028
|
+
config?: AxiosRequestConfig
|
|
1029
|
+
): OperationResponse<Paths.GetDashboard.Responses.$200>
|
|
1030
|
+
/**
|
|
1031
|
+
* putDashboard - putDashboard
|
|
1032
|
+
*
|
|
1033
|
+
* Update a dashboard by ID
|
|
1034
|
+
*/
|
|
1035
|
+
'putDashboard'(
|
|
1036
|
+
parameters?: Parameters<Paths.V1DashboardDashboards$Id.PathParameters> | null,
|
|
1037
|
+
data?: Paths.PutDashboard.RequestBody,
|
|
1038
|
+
config?: AxiosRequestConfig
|
|
1039
|
+
): OperationResponse<Paths.PutDashboard.Responses.$200>
|
|
1040
|
+
/**
|
|
1041
|
+
* patchDashboard - patchDashboard
|
|
1042
|
+
*
|
|
1043
|
+
* Partially update a dashboard by ID. Update content (title/tiles) and/or manage sharing
|
|
1044
|
+
* (owners, shared_with, org_access) — only owners may change sharing.
|
|
1045
|
+
* `owners` and `shared_with` replace the whole array (send the complete list); omit them to leave
|
|
1046
|
+
* sharing unchanged, or send `shared_with: []` to revoke all per-user grants.
|
|
1047
|
+
*
|
|
1048
|
+
*/
|
|
1049
|
+
'patchDashboard'(
|
|
1050
|
+
parameters?: Parameters<Paths.V1DashboardDashboards$Id.PathParameters> | null,
|
|
1051
|
+
data?: Paths.PatchDashboard.RequestBody,
|
|
1052
|
+
config?: AxiosRequestConfig
|
|
1053
|
+
): OperationResponse<Paths.PatchDashboard.Responses.$200>
|
|
1054
|
+
/**
|
|
1055
|
+
* deleteDashboard - deleteDashboard
|
|
1056
|
+
*
|
|
1057
|
+
* Delete a dashboard by ID
|
|
1058
|
+
*/
|
|
1059
|
+
'deleteDashboard'(
|
|
1060
|
+
parameters?: Parameters<Paths.V1DashboardDashboards$Id.PathParameters> | null,
|
|
1061
|
+
data?: any,
|
|
1062
|
+
config?: AxiosRequestConfig
|
|
1063
|
+
): OperationResponse<Paths.DeleteDashboard.Responses.$200>
|
|
1064
|
+
/**
|
|
1065
|
+
* listInsights - listInsights
|
|
1066
|
+
*
|
|
1067
|
+
* List insights (saved charts) available to the user
|
|
1068
|
+
*/
|
|
1069
|
+
'listInsights'(
|
|
1070
|
+
parameters?: Parameters<Paths.ListInsights.QueryParameters> | null,
|
|
1071
|
+
data?: any,
|
|
1072
|
+
config?: AxiosRequestConfig
|
|
1073
|
+
): OperationResponse<Paths.ListInsights.Responses.$200>
|
|
1074
|
+
/**
|
|
1075
|
+
* createInsight - createInsight
|
|
1076
|
+
*
|
|
1077
|
+
* Create a new insight (saved chart). The caller becomes the owner.
|
|
1078
|
+
*/
|
|
1079
|
+
'createInsight'(
|
|
1080
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1081
|
+
data?: Paths.CreateInsight.RequestBody,
|
|
1082
|
+
config?: AxiosRequestConfig
|
|
1083
|
+
): OperationResponse<Paths.CreateInsight.Responses.$201>
|
|
1084
|
+
/**
|
|
1085
|
+
* listInsightTags - listInsightTags
|
|
1086
|
+
*
|
|
1087
|
+
* List the distinct tags used by insights in the organization (for filter facets)
|
|
1088
|
+
*/
|
|
1089
|
+
'listInsightTags'(
|
|
1090
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1091
|
+
data?: any,
|
|
1092
|
+
config?: AxiosRequestConfig
|
|
1093
|
+
): OperationResponse<Paths.ListInsightTags.Responses.$200>
|
|
1094
|
+
/**
|
|
1095
|
+
* getInsight - getInsight
|
|
1096
|
+
*
|
|
1097
|
+
* Get insight by ID
|
|
1098
|
+
*/
|
|
1099
|
+
'getInsight'(
|
|
1100
|
+
parameters?: Parameters<Paths.V1DashboardInsights$Id.PathParameters> | null,
|
|
1101
|
+
data?: any,
|
|
1102
|
+
config?: AxiosRequestConfig
|
|
1103
|
+
): OperationResponse<Paths.GetInsight.Responses.$200>
|
|
1104
|
+
/**
|
|
1105
|
+
* putInsight - putInsight
|
|
1106
|
+
*
|
|
1107
|
+
* Replace an insight's content by ID. Sharing is managed via patchInsight.
|
|
1108
|
+
*/
|
|
1109
|
+
'putInsight'(
|
|
1110
|
+
parameters?: Parameters<Paths.V1DashboardInsights$Id.PathParameters> | null,
|
|
1111
|
+
data?: Paths.PutInsight.RequestBody,
|
|
1112
|
+
config?: AxiosRequestConfig
|
|
1113
|
+
): OperationResponse<Paths.PutInsight.Responses.$200>
|
|
1114
|
+
/**
|
|
1115
|
+
* patchInsight - patchInsight
|
|
1116
|
+
*
|
|
1117
|
+
* Partially update an insight by ID. Update content (name/description/visualisation/tags) and/or
|
|
1118
|
+
* manage sharing (owners, shared_with, org_access) — only owners may change sharing.
|
|
1119
|
+
* `owners` and `shared_with` replace the whole array (send the complete list); omit them to leave
|
|
1120
|
+
* sharing unchanged, or send `shared_with: []` to revoke all per-user grants.
|
|
1121
|
+
*
|
|
1122
|
+
*/
|
|
1123
|
+
'patchInsight'(
|
|
1124
|
+
parameters?: Parameters<Paths.V1DashboardInsights$Id.PathParameters> | null,
|
|
1125
|
+
data?: Paths.PatchInsight.RequestBody,
|
|
1126
|
+
config?: AxiosRequestConfig
|
|
1127
|
+
): OperationResponse<Paths.PatchInsight.Responses.$200>
|
|
1128
|
+
/**
|
|
1129
|
+
* deleteInsight - deleteInsight
|
|
1130
|
+
*
|
|
1131
|
+
* Delete an insight by ID. Only owners may delete.
|
|
1132
|
+
*/
|
|
1133
|
+
'deleteInsight'(
|
|
1134
|
+
parameters?: Parameters<Paths.V1DashboardInsights$Id.PathParameters> | null,
|
|
1135
|
+
data?: any,
|
|
1136
|
+
config?: AxiosRequestConfig
|
|
1137
|
+
): OperationResponse<Paths.DeleteInsight.Responses.$200>
|
|
1138
|
+
/**
|
|
1139
|
+
* listAvailableVisualisations - listAvailableVisualisations
|
|
1140
|
+
*
|
|
1141
|
+
* Returns list of available Visualisations to configure new dashboard tiles
|
|
1142
|
+
*/
|
|
1143
|
+
'listAvailableVisualisations'(
|
|
1144
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1145
|
+
data?: any,
|
|
1146
|
+
config?: AxiosRequestConfig
|
|
1147
|
+
): OperationResponse<Paths.ListAvailableVisualisations.Responses.$200>
|
|
1148
|
+
/**
|
|
1149
|
+
* listAvailableExamples - listAvailableExamples
|
|
1150
|
+
*
|
|
1151
|
+
* Returns list of available exampless for visualisations to configure new dashboard tiles
|
|
1152
|
+
*/
|
|
1153
|
+
'listAvailableExamples'(
|
|
1154
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1155
|
+
data?: any,
|
|
1156
|
+
config?: AxiosRequestConfig
|
|
1157
|
+
): OperationResponse<Paths.ListAvailableExamples.Responses.$200>
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
interface PathsDictionary {
|
|
1161
|
+
['/v1/dashboard/dashboards']: {
|
|
1162
|
+
/**
|
|
1163
|
+
* listDashboards - listDashboards
|
|
1164
|
+
*
|
|
1165
|
+
* List dashboards available to the user
|
|
1166
|
+
*/
|
|
1167
|
+
'get'(
|
|
1168
|
+
parameters?: Parameters<Paths.ListDashboards.QueryParameters> | null,
|
|
1169
|
+
data?: any,
|
|
1170
|
+
config?: AxiosRequestConfig
|
|
1171
|
+
): OperationResponse<Paths.ListDashboards.Responses.$200>
|
|
1172
|
+
/**
|
|
1173
|
+
* createDashboard - createDashboard
|
|
1174
|
+
*
|
|
1175
|
+
* Create new dashboard
|
|
1176
|
+
*/
|
|
1177
|
+
'post'(
|
|
1178
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1179
|
+
data?: Paths.CreateDashboard.RequestBody,
|
|
1180
|
+
config?: AxiosRequestConfig
|
|
1181
|
+
): OperationResponse<Paths.CreateDashboard.Responses.$201>
|
|
1182
|
+
}
|
|
1183
|
+
['/v1/dashboard/dashboards/favorites']: {
|
|
1184
|
+
/**
|
|
1185
|
+
* listFavoriteDashboardIds - listFavoriteDashboardIds
|
|
1186
|
+
*
|
|
1187
|
+
* Returns the current user's favorited dashboard ids, with no dashboard metadata. Lets a
|
|
1188
|
+
* client decide whether to default to a favorites-only view without first fetching the full
|
|
1189
|
+
* dashboards list.
|
|
1190
|
+
*
|
|
1191
|
+
*/
|
|
1192
|
+
'get'(
|
|
1193
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1194
|
+
data?: any,
|
|
1195
|
+
config?: AxiosRequestConfig
|
|
1196
|
+
): OperationResponse<Paths.ListFavoriteDashboardIds.Responses.$200>
|
|
1197
|
+
}
|
|
1198
|
+
['/v1/dashboard/dashboards/{id}/favorite']: {
|
|
1199
|
+
/**
|
|
1200
|
+
* favoriteDashboard - favoriteDashboard
|
|
1201
|
+
*
|
|
1202
|
+
* Marks the dashboard as favorited by the current user. Idempotent — favoriting an
|
|
1203
|
+
* already-favorited dashboard is not an error. Requires only view-level access to the
|
|
1204
|
+
* dashboard (unlike the edit-level check on `PATCH .../dashboards/{id}`).
|
|
1205
|
+
*
|
|
1206
|
+
*/
|
|
1207
|
+
'put'(
|
|
1208
|
+
parameters?: Parameters<Paths.V1DashboardDashboards$IdFavorite.PathParameters> | null,
|
|
1209
|
+
data?: any,
|
|
1210
|
+
config?: AxiosRequestConfig
|
|
1211
|
+
): OperationResponse<Paths.FavoriteDashboard.Responses.$204>
|
|
1212
|
+
/**
|
|
1213
|
+
* unfavoriteDashboard - unfavoriteDashboard
|
|
1214
|
+
*
|
|
1215
|
+
* Removes the current user's favorite for the dashboard. Idempotent — unfavoriting a
|
|
1216
|
+
* dashboard that was not favorited is not an error, and neither is unfavoriting one that no
|
|
1217
|
+
* longer exists or is no longer shared with you. Requires no access to the dashboard, so that
|
|
1218
|
+
* a stale favorite always remains removable.
|
|
1219
|
+
*
|
|
1220
|
+
*/
|
|
1221
|
+
'delete'(
|
|
1222
|
+
parameters?: Parameters<Paths.V1DashboardDashboards$IdFavorite.PathParameters> | null,
|
|
1223
|
+
data?: any,
|
|
1224
|
+
config?: AxiosRequestConfig
|
|
1225
|
+
): OperationResponse<Paths.UnfavoriteDashboard.Responses.$204>
|
|
1226
|
+
}
|
|
1227
|
+
['/v1/dashboard/dashboards/{id}']: {
|
|
1228
|
+
/**
|
|
1229
|
+
* getDashboard - getDashboard
|
|
1230
|
+
*
|
|
1231
|
+
* Get dashboard by ID
|
|
1232
|
+
*/
|
|
1233
|
+
'get'(
|
|
1234
|
+
parameters?: Parameters<Paths.V1DashboardDashboards$Id.PathParameters> | null,
|
|
1235
|
+
data?: any,
|
|
1236
|
+
config?: AxiosRequestConfig
|
|
1237
|
+
): OperationResponse<Paths.GetDashboard.Responses.$200>
|
|
1238
|
+
/**
|
|
1239
|
+
* putDashboard - putDashboard
|
|
1240
|
+
*
|
|
1241
|
+
* Update a dashboard by ID
|
|
1242
|
+
*/
|
|
1243
|
+
'put'(
|
|
1244
|
+
parameters?: Parameters<Paths.V1DashboardDashboards$Id.PathParameters> | null,
|
|
1245
|
+
data?: Paths.PutDashboard.RequestBody,
|
|
1246
|
+
config?: AxiosRequestConfig
|
|
1247
|
+
): OperationResponse<Paths.PutDashboard.Responses.$200>
|
|
1248
|
+
/**
|
|
1249
|
+
* patchDashboard - patchDashboard
|
|
1250
|
+
*
|
|
1251
|
+
* Partially update a dashboard by ID. Update content (title/tiles) and/or manage sharing
|
|
1252
|
+
* (owners, shared_with, org_access) — only owners may change sharing.
|
|
1253
|
+
* `owners` and `shared_with` replace the whole array (send the complete list); omit them to leave
|
|
1254
|
+
* sharing unchanged, or send `shared_with: []` to revoke all per-user grants.
|
|
1255
|
+
*
|
|
1256
|
+
*/
|
|
1257
|
+
'patch'(
|
|
1258
|
+
parameters?: Parameters<Paths.V1DashboardDashboards$Id.PathParameters> | null,
|
|
1259
|
+
data?: Paths.PatchDashboard.RequestBody,
|
|
1260
|
+
config?: AxiosRequestConfig
|
|
1261
|
+
): OperationResponse<Paths.PatchDashboard.Responses.$200>
|
|
1262
|
+
/**
|
|
1263
|
+
* deleteDashboard - deleteDashboard
|
|
1264
|
+
*
|
|
1265
|
+
* Delete a dashboard by ID
|
|
1266
|
+
*/
|
|
1267
|
+
'delete'(
|
|
1268
|
+
parameters?: Parameters<Paths.V1DashboardDashboards$Id.PathParameters> | null,
|
|
1269
|
+
data?: any,
|
|
1270
|
+
config?: AxiosRequestConfig
|
|
1271
|
+
): OperationResponse<Paths.DeleteDashboard.Responses.$200>
|
|
1272
|
+
}
|
|
1273
|
+
['/v1/dashboard/insights']: {
|
|
1274
|
+
/**
|
|
1275
|
+
* listInsights - listInsights
|
|
1276
|
+
*
|
|
1277
|
+
* List insights (saved charts) available to the user
|
|
1278
|
+
*/
|
|
1279
|
+
'get'(
|
|
1280
|
+
parameters?: Parameters<Paths.ListInsights.QueryParameters> | null,
|
|
1281
|
+
data?: any,
|
|
1282
|
+
config?: AxiosRequestConfig
|
|
1283
|
+
): OperationResponse<Paths.ListInsights.Responses.$200>
|
|
1284
|
+
/**
|
|
1285
|
+
* createInsight - createInsight
|
|
1286
|
+
*
|
|
1287
|
+
* Create a new insight (saved chart). The caller becomes the owner.
|
|
1288
|
+
*/
|
|
1289
|
+
'post'(
|
|
1290
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1291
|
+
data?: Paths.CreateInsight.RequestBody,
|
|
1292
|
+
config?: AxiosRequestConfig
|
|
1293
|
+
): OperationResponse<Paths.CreateInsight.Responses.$201>
|
|
1294
|
+
}
|
|
1295
|
+
['/v1/dashboard/insights/tags']: {
|
|
1296
|
+
/**
|
|
1297
|
+
* listInsightTags - listInsightTags
|
|
1298
|
+
*
|
|
1299
|
+
* List the distinct tags used by insights in the organization (for filter facets)
|
|
1300
|
+
*/
|
|
1301
|
+
'get'(
|
|
1302
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1303
|
+
data?: any,
|
|
1304
|
+
config?: AxiosRequestConfig
|
|
1305
|
+
): OperationResponse<Paths.ListInsightTags.Responses.$200>
|
|
1306
|
+
}
|
|
1307
|
+
['/v1/dashboard/insights/{id}']: {
|
|
1308
|
+
/**
|
|
1309
|
+
* getInsight - getInsight
|
|
1310
|
+
*
|
|
1311
|
+
* Get insight by ID
|
|
1312
|
+
*/
|
|
1313
|
+
'get'(
|
|
1314
|
+
parameters?: Parameters<Paths.V1DashboardInsights$Id.PathParameters> | null,
|
|
1315
|
+
data?: any,
|
|
1316
|
+
config?: AxiosRequestConfig
|
|
1317
|
+
): OperationResponse<Paths.GetInsight.Responses.$200>
|
|
1318
|
+
/**
|
|
1319
|
+
* putInsight - putInsight
|
|
1320
|
+
*
|
|
1321
|
+
* Replace an insight's content by ID. Sharing is managed via patchInsight.
|
|
1322
|
+
*/
|
|
1323
|
+
'put'(
|
|
1324
|
+
parameters?: Parameters<Paths.V1DashboardInsights$Id.PathParameters> | null,
|
|
1325
|
+
data?: Paths.PutInsight.RequestBody,
|
|
1326
|
+
config?: AxiosRequestConfig
|
|
1327
|
+
): OperationResponse<Paths.PutInsight.Responses.$200>
|
|
1328
|
+
/**
|
|
1329
|
+
* patchInsight - patchInsight
|
|
1330
|
+
*
|
|
1331
|
+
* Partially update an insight by ID. Update content (name/description/visualisation/tags) and/or
|
|
1332
|
+
* manage sharing (owners, shared_with, org_access) — only owners may change sharing.
|
|
1333
|
+
* `owners` and `shared_with` replace the whole array (send the complete list); omit them to leave
|
|
1334
|
+
* sharing unchanged, or send `shared_with: []` to revoke all per-user grants.
|
|
1335
|
+
*
|
|
1336
|
+
*/
|
|
1337
|
+
'patch'(
|
|
1338
|
+
parameters?: Parameters<Paths.V1DashboardInsights$Id.PathParameters> | null,
|
|
1339
|
+
data?: Paths.PatchInsight.RequestBody,
|
|
1340
|
+
config?: AxiosRequestConfig
|
|
1341
|
+
): OperationResponse<Paths.PatchInsight.Responses.$200>
|
|
1342
|
+
/**
|
|
1343
|
+
* deleteInsight - deleteInsight
|
|
1344
|
+
*
|
|
1345
|
+
* Delete an insight by ID. Only owners may delete.
|
|
1346
|
+
*/
|
|
1347
|
+
'delete'(
|
|
1348
|
+
parameters?: Parameters<Paths.V1DashboardInsights$Id.PathParameters> | null,
|
|
1349
|
+
data?: any,
|
|
1350
|
+
config?: AxiosRequestConfig
|
|
1351
|
+
): OperationResponse<Paths.DeleteInsight.Responses.$200>
|
|
1352
|
+
}
|
|
1353
|
+
['/v1/dashboard/visualisations']: {
|
|
1354
|
+
/**
|
|
1355
|
+
* listAvailableVisualisations - listAvailableVisualisations
|
|
1356
|
+
*
|
|
1357
|
+
* Returns list of available Visualisations to configure new dashboard tiles
|
|
1358
|
+
*/
|
|
1359
|
+
'get'(
|
|
1360
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1361
|
+
data?: any,
|
|
1362
|
+
config?: AxiosRequestConfig
|
|
1363
|
+
): OperationResponse<Paths.ListAvailableVisualisations.Responses.$200>
|
|
1364
|
+
}
|
|
1365
|
+
['/v1/dashboard/examples']: {
|
|
1366
|
+
/**
|
|
1367
|
+
* listAvailableExamples - listAvailableExamples
|
|
1368
|
+
*
|
|
1369
|
+
* Returns list of available exampless for visualisations to configure new dashboard tiles
|
|
1370
|
+
*/
|
|
1371
|
+
'get'(
|
|
1372
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1373
|
+
data?: any,
|
|
1374
|
+
config?: AxiosRequestConfig
|
|
1375
|
+
): OperationResponse<Paths.ListAvailableExamples.Responses.$200>
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
1380
|
+
|
|
1381
|
+
|
|
1382
|
+
type AccessControl = Components.Schemas.AccessControl;
|
|
1383
|
+
type AccessControlUpdate = Components.Schemas.AccessControlUpdate;
|
|
1384
|
+
type Dashboard = Components.Schemas.Dashboard;
|
|
1385
|
+
type DashboardID = Components.Schemas.DashboardID;
|
|
1386
|
+
type DashboardPatch = Components.Schemas.DashboardPatch;
|
|
1387
|
+
type DashboardTile = Components.Schemas.DashboardTile;
|
|
1388
|
+
type DashboardTileID = Components.Schemas.DashboardTileID;
|
|
1389
|
+
type DatalakeQuery = Components.Schemas.DatalakeQuery;
|
|
1390
|
+
type Example = Components.Schemas.Example;
|
|
1391
|
+
type ExampleID = Components.Schemas.ExampleID;
|
|
1392
|
+
type Insight = Components.Schemas.Insight;
|
|
1393
|
+
type InsightID = Components.Schemas.InsightID;
|
|
1394
|
+
type InsightPatch = Components.Schemas.InsightPatch;
|
|
1395
|
+
type OrgAccess = Components.Schemas.OrgAccess;
|
|
1396
|
+
type Pagination = Components.Schemas.Pagination;
|
|
1397
|
+
type ShareGrant = Components.Schemas.ShareGrant;
|
|
1398
|
+
type SharePermission = Components.Schemas.SharePermission;
|
|
1399
|
+
type Tags = Components.Schemas.Tags;
|
|
1400
|
+
type timechartVisualisationConfig = Components.Schemas.TimechartVisualisationConfig;
|
|
1401
|
+
type Visualisation = Components.Schemas.Visualisation;
|
|
1402
|
+
type VisualisationConfig = Components.Schemas.VisualisationConfig;
|
|
1403
|
+
type VisualisationId = Components.Schemas.VisualisationId;
|
|
1404
|
+
|
|
1405
|
+
export { type AccessControl as A, type Client as C, type Dashboard as D, type Example as E, type Insight as I, type OperationMethods as O, Paths as P, type ShareGrant as S, type Tags as T, type Visualisation as V, Components as a, type PathsDictionary as b, type AccessControlUpdate as c, type DashboardID as d, type DashboardPatch as e, type DashboardTile as f, type DashboardTileID as g, type DatalakeQuery as h, type ExampleID as i, type InsightID as j, type InsightPatch as k, type OrgAccess as l, type Pagination as m, type SharePermission as n, type VisualisationConfig as o, type VisualisationId as p, type timechartVisualisationConfig as t };
|