@qrvey/cd-package-registry 1.0.0-beta
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/README.md +203 -0
- package/dist/cjs/index.js +5152 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/esm/index.mjs +5094 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/types/index.d.ts +1139 -0
- package/package.json +59 -0
|
@@ -0,0 +1,1139 @@
|
|
|
1
|
+
import { LoggerService } from '@qrvey/telemetry';
|
|
2
|
+
|
|
3
|
+
declare class ApplicationAssetDto {
|
|
4
|
+
userid: string;
|
|
5
|
+
appid: string;
|
|
6
|
+
appHash?: string;
|
|
7
|
+
authenticationInfo?: unknown;
|
|
8
|
+
baseUrl?: string;
|
|
9
|
+
builderConfigurationMigrate?: string;
|
|
10
|
+
CDstatus?: string;
|
|
11
|
+
contentDeploymentStatus?: string;
|
|
12
|
+
originalSourceId?: string;
|
|
13
|
+
createDate?: string;
|
|
14
|
+
modifyDate?: string;
|
|
15
|
+
currentChartThemeId?: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
endUserLink?: string;
|
|
18
|
+
name: string;
|
|
19
|
+
namelower?: string;
|
|
20
|
+
publicAppStatus?: string;
|
|
21
|
+
searchString?: string;
|
|
22
|
+
settings?: unknown;
|
|
23
|
+
status?: string;
|
|
24
|
+
userEmail?: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare const CONNECTOR_TYPES: {
|
|
28
|
+
readonly FILE_UPLOAD: "fileUpload";
|
|
29
|
+
readonly ELASTICSEARCH: "Elasticsearch";
|
|
30
|
+
readonly S3: "s3";
|
|
31
|
+
readonly AZURE_BLOB: "azureBlob";
|
|
32
|
+
};
|
|
33
|
+
declare class ConnectionAssetDto {
|
|
34
|
+
appid: string;
|
|
35
|
+
userid: string;
|
|
36
|
+
connectorid: string;
|
|
37
|
+
dependencies?: string[];
|
|
38
|
+
name?: string;
|
|
39
|
+
serviceName?: string;
|
|
40
|
+
port?: number;
|
|
41
|
+
host?: string;
|
|
42
|
+
user?: string;
|
|
43
|
+
password?: string;
|
|
44
|
+
standard?: string;
|
|
45
|
+
table?: string;
|
|
46
|
+
tableSchema?: string;
|
|
47
|
+
database?: string;
|
|
48
|
+
query?: string;
|
|
49
|
+
limit?: number;
|
|
50
|
+
connectString?: string;
|
|
51
|
+
tableKey?: string;
|
|
52
|
+
useSSL?: boolean;
|
|
53
|
+
connectionConfig?: object;
|
|
54
|
+
configType?: string;
|
|
55
|
+
enableDirtyRead?: boolean;
|
|
56
|
+
tableType?: string;
|
|
57
|
+
awsRegion?: string;
|
|
58
|
+
accessKey?: string;
|
|
59
|
+
secretKey?: string;
|
|
60
|
+
workGroup?: string;
|
|
61
|
+
outputLocation?: string;
|
|
62
|
+
catalogName?: string;
|
|
63
|
+
queryType?: string;
|
|
64
|
+
authRoleARN?: string;
|
|
65
|
+
collectionName?: string;
|
|
66
|
+
projection?: string;
|
|
67
|
+
aggPipeline?: object;
|
|
68
|
+
secretArn?: string;
|
|
69
|
+
qrveySecretId?: string;
|
|
70
|
+
dataAccessRoleArn?: string;
|
|
71
|
+
warehouse?: string;
|
|
72
|
+
schema?: string;
|
|
73
|
+
token?: string;
|
|
74
|
+
path?: string;
|
|
75
|
+
s3Url?: string;
|
|
76
|
+
s3Key?: string;
|
|
77
|
+
s3Path?: string;
|
|
78
|
+
storedName?: string;
|
|
79
|
+
s3Bucket?: string;
|
|
80
|
+
blobPath?: string;
|
|
81
|
+
blobKey?: string;
|
|
82
|
+
containerName?: string;
|
|
83
|
+
accountName?: string;
|
|
84
|
+
fileName?: string;
|
|
85
|
+
fileType?: string;
|
|
86
|
+
contentType?: string;
|
|
87
|
+
hasHeader?: boolean;
|
|
88
|
+
jsonCustomSchema?: object;
|
|
89
|
+
searchSubFolders?: boolean;
|
|
90
|
+
index?: string;
|
|
91
|
+
hostType?: string;
|
|
92
|
+
connectorType?: string;
|
|
93
|
+
owner?: string;
|
|
94
|
+
searchString?: string;
|
|
95
|
+
createDate?: string;
|
|
96
|
+
modifyDate?: string;
|
|
97
|
+
isDatabaseSelected?: boolean;
|
|
98
|
+
isPasswordEncrypt?: boolean;
|
|
99
|
+
scope?: string;
|
|
100
|
+
registeredDate?: string;
|
|
101
|
+
parent?: string;
|
|
102
|
+
publicParentId?: string;
|
|
103
|
+
publicParentConnectionId?: string;
|
|
104
|
+
connectionView?: boolean;
|
|
105
|
+
isCloneAsDatasources?: boolean;
|
|
106
|
+
version?: string;
|
|
107
|
+
usePagination?: boolean;
|
|
108
|
+
useExportToS3?: boolean;
|
|
109
|
+
exportToS3RoleArn?: string;
|
|
110
|
+
account?: string;
|
|
111
|
+
favorite?: boolean;
|
|
112
|
+
authenticationType?: string;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
declare class DatasetAssetDto {
|
|
116
|
+
__config?: object;
|
|
117
|
+
customAttributes?: Record<string, unknown>;
|
|
118
|
+
userId: string;
|
|
119
|
+
appId: string;
|
|
120
|
+
datasetId: string;
|
|
121
|
+
userEmail?: string;
|
|
122
|
+
datasetType?: string;
|
|
123
|
+
datasetTypeLabel?: string;
|
|
124
|
+
name?: string;
|
|
125
|
+
lowercaseName?: string;
|
|
126
|
+
description?: string;
|
|
127
|
+
search?: string;
|
|
128
|
+
favorite?: boolean;
|
|
129
|
+
isPublic?: boolean;
|
|
130
|
+
connectionId?: string;
|
|
131
|
+
metadataId?: string;
|
|
132
|
+
indexName?: string;
|
|
133
|
+
shards?: number;
|
|
134
|
+
definitionStatus?: string;
|
|
135
|
+
dataStatus?: string;
|
|
136
|
+
dataloadingStatus?: string;
|
|
137
|
+
lastStatusUpdateTime?: string;
|
|
138
|
+
confirmedLoadedStatusTime?: string;
|
|
139
|
+
lastStatusFailed?: boolean;
|
|
140
|
+
rowCount?: number;
|
|
141
|
+
lastDataUpdateTime?: string;
|
|
142
|
+
jobId?: string;
|
|
143
|
+
lastJobType?: string;
|
|
144
|
+
JobStatistics?: Record<string, unknown>;
|
|
145
|
+
jobTriggerTime?: string;
|
|
146
|
+
dataloadError?: string;
|
|
147
|
+
isSyncJob?: boolean;
|
|
148
|
+
applyChanges?: boolean;
|
|
149
|
+
reload?: boolean;
|
|
150
|
+
queuedLoadToken?: string;
|
|
151
|
+
clientId?: string;
|
|
152
|
+
originalSourceId?: string;
|
|
153
|
+
scope?: string;
|
|
154
|
+
disableView?: boolean;
|
|
155
|
+
sessionTime?: number;
|
|
156
|
+
api_version?: string;
|
|
157
|
+
createDate?: string;
|
|
158
|
+
modifyDate?: string;
|
|
159
|
+
lastUpdateTime?: string;
|
|
160
|
+
publicParentId?: string;
|
|
161
|
+
cascadeSync?: string;
|
|
162
|
+
connectionsCascadeSync?: unknown[];
|
|
163
|
+
lastRequiredReloadStatus?: boolean;
|
|
164
|
+
parentConnection?: object;
|
|
165
|
+
__reformatedSourceName?: string;
|
|
166
|
+
__DR?: object;
|
|
167
|
+
__UI?: object;
|
|
168
|
+
datasetParentId?: string;
|
|
169
|
+
datasetChildIds?: string[];
|
|
170
|
+
customs?: Record<string, unknown>;
|
|
171
|
+
datasources: {
|
|
172
|
+
connectionId: string;
|
|
173
|
+
[k: string]: unknown;
|
|
174
|
+
}[];
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
declare class FormAssetDto {
|
|
178
|
+
formId: string;
|
|
179
|
+
name: string;
|
|
180
|
+
description?: string;
|
|
181
|
+
appId?: string;
|
|
182
|
+
userId?: string;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
declare enum FormulaMode {
|
|
186
|
+
STANDARD = "STANDARD",
|
|
187
|
+
ADVANCED = "ADVANCED"
|
|
188
|
+
}
|
|
189
|
+
declare class FormulaAssetDto {
|
|
190
|
+
userId: string;
|
|
191
|
+
qrveyId: string;
|
|
192
|
+
appId: string;
|
|
193
|
+
formulaId: string;
|
|
194
|
+
name: string;
|
|
195
|
+
formula: string;
|
|
196
|
+
formulaType: string;
|
|
197
|
+
createDate?: string;
|
|
198
|
+
modifyDate?: string;
|
|
199
|
+
originalSourceId?: string;
|
|
200
|
+
formulaMode: FormulaMode;
|
|
201
|
+
formulaInputType?: string;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
declare enum ValidationTypes {
|
|
205
|
+
EQUAL = "EQUAL",
|
|
206
|
+
NOT_EQUAL = "NOT_EQUAL",
|
|
207
|
+
LESS_THAN = "LESS_THAN",
|
|
208
|
+
BETWEEN = "BETWEEN",
|
|
209
|
+
GREATER_THAN = "GREATER_THAN",
|
|
210
|
+
YEAR = "YEAR",
|
|
211
|
+
MONTH_YEAR = "MONTH_YEAR",
|
|
212
|
+
RANGE = "RANGE"
|
|
213
|
+
}
|
|
214
|
+
declare enum BucketType {
|
|
215
|
+
NUMERIC = "NUMERIC",
|
|
216
|
+
TEXT = "TEXT",
|
|
217
|
+
DATE = "DATE"
|
|
218
|
+
}
|
|
219
|
+
declare class BucketGroupDto {
|
|
220
|
+
name: string;
|
|
221
|
+
validationType?: ValidationTypes;
|
|
222
|
+
min?: number;
|
|
223
|
+
items?: any[];
|
|
224
|
+
max?: number;
|
|
225
|
+
minDate?: Date;
|
|
226
|
+
maxDate?: Date;
|
|
227
|
+
timeUnit?: string;
|
|
228
|
+
}
|
|
229
|
+
declare class BucketAssetDto {
|
|
230
|
+
bucketId: string;
|
|
231
|
+
userId?: string;
|
|
232
|
+
appId?: string;
|
|
233
|
+
qrveyId?: string;
|
|
234
|
+
columnId: string;
|
|
235
|
+
name: string;
|
|
236
|
+
columnType: string;
|
|
237
|
+
bucketType: BucketType;
|
|
238
|
+
formulaType?: string;
|
|
239
|
+
bucketQuantity?: number;
|
|
240
|
+
columnProperty?: string;
|
|
241
|
+
textTypes?: string;
|
|
242
|
+
min?: number;
|
|
243
|
+
max?: number;
|
|
244
|
+
groups?: BucketGroupDto[];
|
|
245
|
+
other?: boolean;
|
|
246
|
+
includeNulls?: boolean;
|
|
247
|
+
numericType?: string;
|
|
248
|
+
basicNumericValueType?: string;
|
|
249
|
+
createDate?: string;
|
|
250
|
+
modifyDate?: string;
|
|
251
|
+
timeUnit?: string;
|
|
252
|
+
originalSourceId?: string;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
declare enum AssetType {
|
|
256
|
+
APPLICATION = "APPLICATION",
|
|
257
|
+
CONNECTION = "CONNECTION",
|
|
258
|
+
DATASET = "DATASET",
|
|
259
|
+
FORM = "FORM",
|
|
260
|
+
FORMULA = "FORMULA",
|
|
261
|
+
BUCKET = "BUCKET",
|
|
262
|
+
CHART = "CHART",
|
|
263
|
+
METRIC = "METRIC",
|
|
264
|
+
GLOBAL_PREFERENCE = "GLOBAL_PREFERENCE",
|
|
265
|
+
CHART_THEME = "CHART_THEME",
|
|
266
|
+
WORKFLOW = "WORKFLOW",
|
|
267
|
+
REPORT = "REPORT",
|
|
268
|
+
REPORT_SECTION = "REPORT_SECTION",
|
|
269
|
+
DASHBOARD = "DASHBOARD",
|
|
270
|
+
DASHBOARD_CONTENT = "DASHBOARD_CONTENT",
|
|
271
|
+
DASHBOARD_CONTENT_ELEMENT = "DASHBOARD_CONTENT_ELEMENT",
|
|
272
|
+
PAGE = "PAGE",
|
|
273
|
+
PAGE_TAB = "PAGE_TAB",
|
|
274
|
+
PAGE_FLOW = "PAGE_FLOW",
|
|
275
|
+
PAGE_BUILDER_CONFIGURATION = "PAGE_BUILDER_CONFIGURATION",
|
|
276
|
+
TOKEN = "TOKEN"
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
declare enum ChartTypes {
|
|
280
|
+
SCATTER_CHART_MS = "SCATTER_CHART_MS",
|
|
281
|
+
SCATTER_CHART = "SCATTER_CHART",
|
|
282
|
+
COMBINED_CHART = "COMBINED_CHART",
|
|
283
|
+
PIE_CHART = "PIE_CHART",
|
|
284
|
+
RADAR_CHART = "RADAR_CHART",
|
|
285
|
+
WORD_CLOUD = "WORD_CLOUD",
|
|
286
|
+
LINE_CHART = "LINE_CHART",
|
|
287
|
+
GEO_CHART_BUBBLE = "GEO_CHART_BUBBLE",
|
|
288
|
+
HEATMAP_CHART = "HEATMAP_CHART",
|
|
289
|
+
LINE_CHART_MS = "LINE_CHART_MS",
|
|
290
|
+
COMBO_CHART = "COMBO_CHART",
|
|
291
|
+
AREA_CHART = "AREA_CHART",
|
|
292
|
+
GEO_CHART_DOT = "GEO_CHART_DOT",
|
|
293
|
+
TABLE_CHART = "TABLE_CHART",
|
|
294
|
+
SYMBOL_CHART_MS = "SYMBOL_CHART_MS",
|
|
295
|
+
AREA_CHART_MS = "AREA_CHART_MS",
|
|
296
|
+
BAR_CHART_MS = "BAR_CHART_MS",
|
|
297
|
+
FUNNEL_CHART = "FUNNEL_CHART",
|
|
298
|
+
MINMAX_CHART = "MINMAX_CHART",
|
|
299
|
+
BOXWHISKER_CHART = "BOXWHISKER_CHART",
|
|
300
|
+
SYMBOL_CHART = "SYMBOL_CHART",
|
|
301
|
+
GEO_CHART_CHOROPLETH = "GEO_CHART_CHOROPLETH",
|
|
302
|
+
CROSSTAB_CHART = "CROSSTAB_CHART",
|
|
303
|
+
EXPANDABLE_TABLE_CHART = "EXPANDABLE_TABLE_CHART",
|
|
304
|
+
BAR_CHART = "BAR_CHART"
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
declare class BaseDto {
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
declare class ChartAssetDto extends BaseDto {
|
|
311
|
+
chartid: string;
|
|
312
|
+
qrveyid: string;
|
|
313
|
+
createDate?: string;
|
|
314
|
+
chart?: Record<string, unknown>;
|
|
315
|
+
dateGroup?: Record<string, unknown>;
|
|
316
|
+
defaultFilters?: Record<string, unknown>;
|
|
317
|
+
globalSettings?: Record<string, unknown>;
|
|
318
|
+
is100?: boolean;
|
|
319
|
+
isChartOptions?: boolean;
|
|
320
|
+
isCombo?: boolean;
|
|
321
|
+
isComboCalc?: boolean;
|
|
322
|
+
isCombolayer?: boolean;
|
|
323
|
+
isMulti?: boolean;
|
|
324
|
+
isOldChart?: boolean;
|
|
325
|
+
isReference?: boolean;
|
|
326
|
+
isSmallMultiples?: boolean;
|
|
327
|
+
isSplit?: boolean;
|
|
328
|
+
isStakedBar?: boolean;
|
|
329
|
+
isTableChartGrouped?: boolean;
|
|
330
|
+
isTrend?: boolean;
|
|
331
|
+
layerList?: Record<string, unknown>[];
|
|
332
|
+
modifyDate?: string;
|
|
333
|
+
name?: string;
|
|
334
|
+
originalSourceId?: string;
|
|
335
|
+
position?: number;
|
|
336
|
+
title?: string;
|
|
337
|
+
type?: ChartTypes;
|
|
338
|
+
v2?: Record<string, unknown>;
|
|
339
|
+
customAttributes?: Record<string, unknown>;
|
|
340
|
+
dataset?: Record<string, unknown>;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
declare class MetricAssetDto extends BaseDto {
|
|
344
|
+
metricid: string;
|
|
345
|
+
qrveyid: string;
|
|
346
|
+
title?: string;
|
|
347
|
+
description?: string;
|
|
348
|
+
name?: string;
|
|
349
|
+
/** Arrays / Objects as raw JS structures */
|
|
350
|
+
thresholdsList?: unknown[];
|
|
351
|
+
globalSettings?: Record<string, unknown>;
|
|
352
|
+
v2?: Record<string, unknown>;
|
|
353
|
+
layerList?: unknown[];
|
|
354
|
+
conditions?: unknown[];
|
|
355
|
+
/** Schema-specific fields */
|
|
356
|
+
createDate?: string;
|
|
357
|
+
namelower?: string;
|
|
358
|
+
modifyDate?: string;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
declare enum ItemTypes {
|
|
362
|
+
BUTTON = "button",
|
|
363
|
+
TEXT = "text",
|
|
364
|
+
IMAGES = "image",
|
|
365
|
+
ANALYTICS = "analytics",
|
|
366
|
+
SUMMARY = "summary",
|
|
367
|
+
METRIC = "metric",
|
|
368
|
+
WEBFORM = "webform",
|
|
369
|
+
DATEPICKER = "datePicker",
|
|
370
|
+
VALUE_LIST = "value_list",
|
|
371
|
+
INPUT_BOX = "input_box"
|
|
372
|
+
}
|
|
373
|
+
declare enum INPUT_BOX_VALIDATORS {
|
|
374
|
+
EQUALS = "EQUALS",
|
|
375
|
+
LESS_THAN_EQUALS = "LESS_THAN_EQUAL",
|
|
376
|
+
LESS_THAN = "LESS_THAN",
|
|
377
|
+
GREATER_THAN_EQUALS = "GREATER_THAN_EQUAL",
|
|
378
|
+
GREATER_THAN = "GREATER_THAN",
|
|
379
|
+
BETWEEN = "BETWEEN",
|
|
380
|
+
NOT_EQUALS = "NOT_EQUAL",
|
|
381
|
+
CONTAINS = "CONTAINS",
|
|
382
|
+
NOT_CONTAINS = "NOT_CONTAIN",
|
|
383
|
+
STARTS_WITH = "STARTS_WITH",
|
|
384
|
+
ENDS_WITH = "ENDS_WITH",
|
|
385
|
+
NOT_START_WITH = "NOT_START_WITH",
|
|
386
|
+
NOT_END_WITH = "NOT_END_WITH"
|
|
387
|
+
}
|
|
388
|
+
declare enum ImageObjectFit {
|
|
389
|
+
CONTAIN = "contain",
|
|
390
|
+
COVER = "cover",
|
|
391
|
+
FILL = "fill"
|
|
392
|
+
}
|
|
393
|
+
declare const QUESTION_TYPES: readonly ["SINGLE_CHOICE", "MULTIPLE_CHOICE", "RATING", "TEXTFIELD", "LONGTEXT", "YES_NO", "RANKING", "DATE", "TIME", "SLIDEBAR", "IMAGEUPLOAD", "SIGNATURE", "DROPDOWN", "EXPRESSION", "NUMERIC", "NUMERIC-C", "NUMERIC-P", "NUMERIC-G", "IMAGE", "NAME", "EMAIL_FORM", "PHONE", "USADDRESS", "ADDRESS", "PASSWORD", "CHECKLIST", "NPS_SCORE", "NPS_FEEDBACK", "FILEUPLOAD", "TEXT_LABEL", "TEXT_CATEGORY", "LOOKUP", "HEADLINE", "SECTION", "FORMULA", "AGGREGATED_FORMULA", "BUCKET"];
|
|
394
|
+
type QuestionType = (typeof QUESTION_TYPES)[number];
|
|
395
|
+
declare class PropertyDto {
|
|
396
|
+
x?: number;
|
|
397
|
+
y?: number;
|
|
398
|
+
z?: number;
|
|
399
|
+
width?: number;
|
|
400
|
+
height?: number;
|
|
401
|
+
selection?: boolean | null;
|
|
402
|
+
}
|
|
403
|
+
declare class DesktopGridDto {
|
|
404
|
+
colStart?: number;
|
|
405
|
+
rowStart?: number;
|
|
406
|
+
rowSpan?: number;
|
|
407
|
+
colSpan?: number;
|
|
408
|
+
}
|
|
409
|
+
declare class BaseItemDto {
|
|
410
|
+
id?: string;
|
|
411
|
+
desktop: PropertyDto;
|
|
412
|
+
mobile?: PropertyDto;
|
|
413
|
+
type: ItemTypes;
|
|
414
|
+
tablet?: PropertyDto;
|
|
415
|
+
g_desktop?: DesktopGridDto;
|
|
416
|
+
description?: string;
|
|
417
|
+
}
|
|
418
|
+
declare class ButtonItemDto extends BaseItemDto {
|
|
419
|
+
label: string;
|
|
420
|
+
color: string;
|
|
421
|
+
background: string;
|
|
422
|
+
url?: string;
|
|
423
|
+
}
|
|
424
|
+
declare class TextItemDto extends BaseItemDto {
|
|
425
|
+
value?: string;
|
|
426
|
+
background?: string;
|
|
427
|
+
border?: Record<string, unknown>;
|
|
428
|
+
padding?: Record<string, unknown>;
|
|
429
|
+
defaultStyles?: Record<string, unknown>;
|
|
430
|
+
}
|
|
431
|
+
declare class ImageItemDto extends BaseItemDto {
|
|
432
|
+
objectFit?: ImageObjectFit;
|
|
433
|
+
image?: string;
|
|
434
|
+
label?: string;
|
|
435
|
+
loading?: boolean;
|
|
436
|
+
fromFile?: boolean;
|
|
437
|
+
linkUrl?: string;
|
|
438
|
+
fileName?: string;
|
|
439
|
+
}
|
|
440
|
+
declare class AnalyticsItemDto extends BaseItemDto {
|
|
441
|
+
elementName?: string;
|
|
442
|
+
autoLinkColumnId?: string | null;
|
|
443
|
+
linkColumn?: string | null;
|
|
444
|
+
hasAutoLinkColumns?: boolean | null;
|
|
445
|
+
chart_id: string;
|
|
446
|
+
user_id?: string;
|
|
447
|
+
datasetName?: string;
|
|
448
|
+
chartType: string;
|
|
449
|
+
label?: string;
|
|
450
|
+
title?: string;
|
|
451
|
+
app_id?: string;
|
|
452
|
+
qrvey_id: string;
|
|
453
|
+
}
|
|
454
|
+
declare class SummaryItemDto extends BaseItemDto {
|
|
455
|
+
elementName?: string;
|
|
456
|
+
autoLinkColumnId?: string | null;
|
|
457
|
+
linkColumn?: string | null;
|
|
458
|
+
hasAutoLinkColumns?: boolean | null;
|
|
459
|
+
qrveyid: string;
|
|
460
|
+
questionid: string;
|
|
461
|
+
question_type: QuestionType;
|
|
462
|
+
datasetName?: string;
|
|
463
|
+
app_id?: string;
|
|
464
|
+
userid?: string;
|
|
465
|
+
}
|
|
466
|
+
declare class MetricItemDto extends BaseItemDto {
|
|
467
|
+
elementName?: string;
|
|
468
|
+
autoLinkColumnId?: string | null;
|
|
469
|
+
linkColumn?: string | null;
|
|
470
|
+
hasAutoLinkColumns?: boolean | null;
|
|
471
|
+
qrveyid: string;
|
|
472
|
+
metricid: string;
|
|
473
|
+
app_id?: string;
|
|
474
|
+
userid?: string;
|
|
475
|
+
}
|
|
476
|
+
declare class WebFormItemDto extends BaseItemDto {
|
|
477
|
+
name?: string;
|
|
478
|
+
qrveyid: string;
|
|
479
|
+
}
|
|
480
|
+
declare class FilterConfigDto {
|
|
481
|
+
label: string;
|
|
482
|
+
style: {
|
|
483
|
+
fontType?: string;
|
|
484
|
+
fontColor?: string;
|
|
485
|
+
iconSelector?: string;
|
|
486
|
+
};
|
|
487
|
+
detail: Record<string, unknown>;
|
|
488
|
+
}
|
|
489
|
+
declare class DatePickerItemDto extends BaseItemDto {
|
|
490
|
+
config?: FilterConfigDto;
|
|
491
|
+
columns?: unknown[];
|
|
492
|
+
minWidth?: number | null;
|
|
493
|
+
minHeight?: number | null;
|
|
494
|
+
}
|
|
495
|
+
declare class ValueListItemDto extends BaseItemDto {
|
|
496
|
+
cascadeFilter?: boolean;
|
|
497
|
+
cascadingValueList?: string | null;
|
|
498
|
+
displayType: string;
|
|
499
|
+
fontType: string;
|
|
500
|
+
iconColor?: string;
|
|
501
|
+
label?: string;
|
|
502
|
+
fontColor?: string;
|
|
503
|
+
column?: unknown;
|
|
504
|
+
}
|
|
505
|
+
declare class InputBoxItemDto extends BaseItemDto {
|
|
506
|
+
columns?: unknown[];
|
|
507
|
+
defaultOperator: INPUT_BOX_VALIDATORS;
|
|
508
|
+
label?: string;
|
|
509
|
+
fontType?: string;
|
|
510
|
+
fontColor?: string;
|
|
511
|
+
iconColor?: string;
|
|
512
|
+
}
|
|
513
|
+
type ItemUnion = ButtonItemDto | TextItemDto | ImageItemDto | AnalyticsItemDto | SummaryItemDto | MetricItemDto | WebFormItemDto | DatePickerItemDto | ValueListItemDto | InputBoxItemDto;
|
|
514
|
+
|
|
515
|
+
declare class TabsSettingsDto {
|
|
516
|
+
font_color?: string;
|
|
517
|
+
background?: string;
|
|
518
|
+
selector?: string;
|
|
519
|
+
border?: string;
|
|
520
|
+
apply_size_to_all?: boolean;
|
|
521
|
+
}
|
|
522
|
+
declare class PageAssetDto {
|
|
523
|
+
pageid: string;
|
|
524
|
+
appid: string;
|
|
525
|
+
userid: string;
|
|
526
|
+
private?: boolean;
|
|
527
|
+
name: string;
|
|
528
|
+
published?: boolean;
|
|
529
|
+
active?: boolean;
|
|
530
|
+
editing?: boolean;
|
|
531
|
+
makerIndex?: number;
|
|
532
|
+
items?: ItemUnion[];
|
|
533
|
+
endUserNav?: boolean;
|
|
534
|
+
description?: string;
|
|
535
|
+
favorite?: boolean;
|
|
536
|
+
customAttributes?: Record<string, unknown>;
|
|
537
|
+
status?: string;
|
|
538
|
+
cssGrid?: Record<string, unknown>;
|
|
539
|
+
originalSourceId?: string;
|
|
540
|
+
tabsNavigation?: boolean;
|
|
541
|
+
tabs_settings?: TabsSettingsDto;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
declare enum FlowTypes {
|
|
545
|
+
AUTOMATION = "FLOW",
|
|
546
|
+
SUBSCRIPTION = "SUBSCRIPTION",
|
|
547
|
+
SCHEDULED_EXPORT = "SCHEDULED_EXPORT"
|
|
548
|
+
}
|
|
549
|
+
declare class TimezoneDto {
|
|
550
|
+
offset?: string;
|
|
551
|
+
}
|
|
552
|
+
declare class WorkflowAssetDto {
|
|
553
|
+
workflowid: string;
|
|
554
|
+
appid: string;
|
|
555
|
+
userid: string;
|
|
556
|
+
clientid?: string;
|
|
557
|
+
name?: string;
|
|
558
|
+
modifyDate?: string;
|
|
559
|
+
createDate?: string;
|
|
560
|
+
namelower?: string;
|
|
561
|
+
version?: string;
|
|
562
|
+
type?: FlowTypes;
|
|
563
|
+
status?: string;
|
|
564
|
+
favorite?: boolean;
|
|
565
|
+
cycle?: number;
|
|
566
|
+
invalid?: boolean;
|
|
567
|
+
loading?: boolean;
|
|
568
|
+
timezone?: TimezoneDto;
|
|
569
|
+
trigger?: Record<string, unknown>;
|
|
570
|
+
i18n?: Record<string, unknown>;
|
|
571
|
+
meta?: Record<string, unknown>;
|
|
572
|
+
parentExportTrackerId?: string;
|
|
573
|
+
accessKey?: string;
|
|
574
|
+
originalSourceId?: string;
|
|
575
|
+
datasets?: Record<string, unknown>;
|
|
576
|
+
customAttributes?: Record<string, unknown>;
|
|
577
|
+
unsubscribes?: Record<string, unknown>[];
|
|
578
|
+
unsuscribes?: Record<string, unknown>[];
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
declare class ReportAssetDto {
|
|
582
|
+
reportId: string;
|
|
583
|
+
appId?: string;
|
|
584
|
+
name?: string;
|
|
585
|
+
description?: string;
|
|
586
|
+
group?: unknown;
|
|
587
|
+
uiAttributes?: unknown;
|
|
588
|
+
datasetId?: string;
|
|
589
|
+
userId?: string;
|
|
590
|
+
favorite?: boolean;
|
|
591
|
+
createDate?: string;
|
|
592
|
+
modifyDate?: string;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
declare class ReportSectionAssetDto {
|
|
596
|
+
reportTabid: string;
|
|
597
|
+
reportid: string;
|
|
598
|
+
createDate?: string;
|
|
599
|
+
modifyDate?: string;
|
|
600
|
+
tabTitle?: string;
|
|
601
|
+
userid?: string;
|
|
602
|
+
sectionType?: string;
|
|
603
|
+
uiAttributes?: unknown;
|
|
604
|
+
items?: unknown[];
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
declare class DashboardAssetDto {
|
|
608
|
+
dashboardId: string;
|
|
609
|
+
/**
|
|
610
|
+
* System-defined ID of the Qrvey application.
|
|
611
|
+
*/
|
|
612
|
+
appId: string;
|
|
613
|
+
/**
|
|
614
|
+
* System-defined ID of the Qrvey user.
|
|
615
|
+
*/
|
|
616
|
+
userId: string;
|
|
617
|
+
/**
|
|
618
|
+
* Indicates if the dashboard is marked as favorite.
|
|
619
|
+
*/
|
|
620
|
+
favorite?: boolean;
|
|
621
|
+
/**
|
|
622
|
+
* User-defined labels used to categorize and filter dashboards <br>
|
|
623
|
+
* Example: ["marketing", "status:active", "team:analytics"]
|
|
624
|
+
* */
|
|
625
|
+
tags?: string[];
|
|
626
|
+
/**
|
|
627
|
+
* Dashboard filter.
|
|
628
|
+
*/
|
|
629
|
+
filter?: unknown;
|
|
630
|
+
/**
|
|
631
|
+
* Description of the dashboard.
|
|
632
|
+
*/
|
|
633
|
+
description?: string;
|
|
634
|
+
/**
|
|
635
|
+
* Name of the dashboard.
|
|
636
|
+
*/
|
|
637
|
+
name: string;
|
|
638
|
+
/** Breakpoint configuration for desktop, tablet and mobile. */
|
|
639
|
+
breakpoint?: unknown;
|
|
640
|
+
/** Grid config of the dashboard. */
|
|
641
|
+
grid?: unknown;
|
|
642
|
+
/** Represents an object containing custom attributes. */
|
|
643
|
+
customAttributes?: unknown;
|
|
644
|
+
/**
|
|
645
|
+
* Theme ID.
|
|
646
|
+
*/
|
|
647
|
+
themeId?: string;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
declare class PageTabAssetDto {
|
|
651
|
+
pagetabid: string;
|
|
652
|
+
pageid: string;
|
|
653
|
+
appid: string;
|
|
654
|
+
userid: string;
|
|
655
|
+
private?: boolean;
|
|
656
|
+
tabTitle: string;
|
|
657
|
+
items?: ItemUnion[];
|
|
658
|
+
description?: string;
|
|
659
|
+
editing?: boolean;
|
|
660
|
+
customAttributes?: Record<string, unknown>;
|
|
661
|
+
size: number;
|
|
662
|
+
forceTabSizeMin?: boolean;
|
|
663
|
+
cssGrid?: Record<string, unknown>;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
declare class TriggerSourceDto {
|
|
667
|
+
id?: string;
|
|
668
|
+
}
|
|
669
|
+
declare class TriggerDto {
|
|
670
|
+
id?: string;
|
|
671
|
+
source?: TriggerSourceDto;
|
|
672
|
+
}
|
|
673
|
+
declare class EventDto {
|
|
674
|
+
text?: string;
|
|
675
|
+
type?: string;
|
|
676
|
+
children?: unknown[];
|
|
677
|
+
dropables?: string[];
|
|
678
|
+
id?: string;
|
|
679
|
+
}
|
|
680
|
+
declare class PageFlowAssetDto {
|
|
681
|
+
versionid?: string;
|
|
682
|
+
pageflowid: string;
|
|
683
|
+
appid: string;
|
|
684
|
+
userid: string;
|
|
685
|
+
pageid: string;
|
|
686
|
+
name?: string;
|
|
687
|
+
elementid: string;
|
|
688
|
+
trigger?: TriggerDto;
|
|
689
|
+
status?: string;
|
|
690
|
+
event?: EventDto;
|
|
691
|
+
version?: string;
|
|
692
|
+
createDate?: string;
|
|
693
|
+
modifyDate?: string;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
declare class DashboardContentAssetDto {
|
|
697
|
+
/**
|
|
698
|
+
* System-defined ID for the content section. Can be obtained from Get All Contents endpoint.
|
|
699
|
+
*/
|
|
700
|
+
contentId: string;
|
|
701
|
+
/**
|
|
702
|
+
* System-defined ID of the parent dashboard.
|
|
703
|
+
* @example "dashboard-123"
|
|
704
|
+
*/
|
|
705
|
+
dashboardId: string;
|
|
706
|
+
/**
|
|
707
|
+
* User-defined name for the content section.
|
|
708
|
+
* @minLength 1
|
|
709
|
+
* @example "Revenue Analysis"
|
|
710
|
+
*/
|
|
711
|
+
name: string;
|
|
712
|
+
/**
|
|
713
|
+
* Content section category.
|
|
714
|
+
* @example "TAB"
|
|
715
|
+
*/
|
|
716
|
+
type: string;
|
|
717
|
+
/**
|
|
718
|
+
* Content filtering configuration.
|
|
719
|
+
*/
|
|
720
|
+
filter?: unknown;
|
|
721
|
+
/**
|
|
722
|
+
* Represents an object containing custom attributes.
|
|
723
|
+
* @example "{\"theme\":\"light\"}"
|
|
724
|
+
*/
|
|
725
|
+
customAttributes?: object;
|
|
726
|
+
/**
|
|
727
|
+
* Order within the dashboard.
|
|
728
|
+
* @example 1
|
|
729
|
+
*/
|
|
730
|
+
order?: number;
|
|
731
|
+
/**
|
|
732
|
+
* Visual styling configuration.
|
|
733
|
+
* Defines appearance and layout properties.
|
|
734
|
+
*/
|
|
735
|
+
style?: unknown;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
declare class DashboardContentElementAssetDto {
|
|
739
|
+
elementId: string;
|
|
740
|
+
/**
|
|
741
|
+
* System-defined ID for the content section.
|
|
742
|
+
* @example "content-123"
|
|
743
|
+
*/
|
|
744
|
+
contentId: string;
|
|
745
|
+
/**
|
|
746
|
+
* System-defined ID for the parent dashboard.
|
|
747
|
+
* @example "dashboard-456"
|
|
748
|
+
*/
|
|
749
|
+
dashboardId: string;
|
|
750
|
+
/** Creation date. */
|
|
751
|
+
createDate: string;
|
|
752
|
+
/** Date last modified. */
|
|
753
|
+
modifyDate: string;
|
|
754
|
+
/**
|
|
755
|
+
* Current state of content interactions.
|
|
756
|
+
* @example "ACTIVE"
|
|
757
|
+
*/
|
|
758
|
+
interactionStatus?: string;
|
|
759
|
+
/**
|
|
760
|
+
* Content category.
|
|
761
|
+
*/
|
|
762
|
+
type: string;
|
|
763
|
+
/**
|
|
764
|
+
* User-defined name of the content section.
|
|
765
|
+
*/
|
|
766
|
+
name?: string;
|
|
767
|
+
/**
|
|
768
|
+
* Content filtering configuration.
|
|
769
|
+
*/
|
|
770
|
+
filter?: unknown;
|
|
771
|
+
/**
|
|
772
|
+
* Order of the content block within the dashboard.
|
|
773
|
+
* Determines the sequence in which content blocks (such as tabs) appear.
|
|
774
|
+
* @example 1
|
|
775
|
+
*/
|
|
776
|
+
order: number;
|
|
777
|
+
/**
|
|
778
|
+
* Visual styling configuration.
|
|
779
|
+
*/
|
|
780
|
+
style?: unknown;
|
|
781
|
+
/** Grid config of the dashboard. */
|
|
782
|
+
grid?: unknown;
|
|
783
|
+
/**
|
|
784
|
+
* Indicates if this content was created through end-user personalization.
|
|
785
|
+
* @example true
|
|
786
|
+
*/
|
|
787
|
+
isEup: boolean;
|
|
788
|
+
itemData?: {
|
|
789
|
+
chartId?: string;
|
|
790
|
+
metricId?: string;
|
|
791
|
+
qrveyId: string;
|
|
792
|
+
chartType: string;
|
|
793
|
+
};
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
declare class BaseTokenAssetDto {
|
|
797
|
+
data: {
|
|
798
|
+
type?: string;
|
|
799
|
+
alias?: string;
|
|
800
|
+
label: string;
|
|
801
|
+
value: string;
|
|
802
|
+
tokenid: string;
|
|
803
|
+
description?: string;
|
|
804
|
+
};
|
|
805
|
+
type: string;
|
|
806
|
+
tokenid: string;
|
|
807
|
+
createDate?: string;
|
|
808
|
+
modifyDate?: string;
|
|
809
|
+
}
|
|
810
|
+
declare class TokenAssetDto {
|
|
811
|
+
userTokens: BaseTokenAssetDto[];
|
|
812
|
+
workflowTokens: BaseTokenAssetDto[];
|
|
813
|
+
appid: string;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
declare class PageBuilderConfigurationAssetDto {
|
|
817
|
+
/** The application status. */
|
|
818
|
+
publicAppStatus?: string;
|
|
819
|
+
/** User ID. */
|
|
820
|
+
userid: string;
|
|
821
|
+
/** Builder configuration ID. */
|
|
822
|
+
builderConfigurationid: string;
|
|
823
|
+
/** Enables navigation edition. */
|
|
824
|
+
enableNavEdition?: boolean;
|
|
825
|
+
/** Shows the app navigation. */
|
|
826
|
+
publicAppNavigation?: boolean;
|
|
827
|
+
/** Application ID. */
|
|
828
|
+
appid: string;
|
|
829
|
+
/** Application's name. */
|
|
830
|
+
name?: string;
|
|
831
|
+
/** User's email. */
|
|
832
|
+
userEmail?: string;
|
|
833
|
+
/** Search in database property. */
|
|
834
|
+
searchString?: string;
|
|
835
|
+
/** Filters configuration. */
|
|
836
|
+
page_builder?: Record<string, unknown>;
|
|
837
|
+
/** Page builder configuration that cannot be modified. */
|
|
838
|
+
lock_page_builder?: Record<string, unknown>;
|
|
839
|
+
/** Builder configuration status. */
|
|
840
|
+
status?: string;
|
|
841
|
+
/** Authentication information. */
|
|
842
|
+
authenticationInfo?: Record<string, unknown>;
|
|
843
|
+
/** List of processed pages. Only used during publication process. */
|
|
844
|
+
processedPagesIdList?: string[];
|
|
845
|
+
/** Number of processed pages. Only used during publication process. */
|
|
846
|
+
processedPages?: number;
|
|
847
|
+
/** Home page's ID. */
|
|
848
|
+
homepage?: string;
|
|
849
|
+
/** Number of pages. Only used during publication process. */
|
|
850
|
+
counterPages?: number;
|
|
851
|
+
/** Number of pages. */
|
|
852
|
+
totalPages?: number;
|
|
853
|
+
/** Date of creation. */
|
|
854
|
+
createDate?: string;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
declare class GlobalPreferenceAssetDto {
|
|
858
|
+
userid: string;
|
|
859
|
+
appid: string;
|
|
860
|
+
qrveyid: string;
|
|
861
|
+
preferenceid: string;
|
|
862
|
+
createDate?: string;
|
|
863
|
+
modifyDate?: string;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
declare class ChartThemeAssetDto {
|
|
867
|
+
chartThemeId: string;
|
|
868
|
+
name: string;
|
|
869
|
+
style: Record<string, any>;
|
|
870
|
+
userId: string;
|
|
871
|
+
createDate?: string;
|
|
872
|
+
modifyDate?: string;
|
|
873
|
+
isDefaultTheme?: boolean;
|
|
874
|
+
selected?: boolean;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
interface AssetPayload {
|
|
878
|
+
[key: string]: unknown;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
type ValidationError = {
|
|
882
|
+
field: string;
|
|
883
|
+
message: string;
|
|
884
|
+
value?: unknown;
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
type ValidationResult = {
|
|
888
|
+
valid: boolean;
|
|
889
|
+
errors: ValidationError[];
|
|
890
|
+
};
|
|
891
|
+
|
|
892
|
+
type Options = {
|
|
893
|
+
domain?: string;
|
|
894
|
+
apiKey?: string;
|
|
895
|
+
headers?: Record<string, string>;
|
|
896
|
+
queryParameters?: Record<string, string | string[]>;
|
|
897
|
+
};
|
|
898
|
+
|
|
899
|
+
type ValidateDependenciesResult = {
|
|
900
|
+
valid: boolean;
|
|
901
|
+
errors: ValidationError[];
|
|
902
|
+
};
|
|
903
|
+
|
|
904
|
+
type BatchValidationResult = {
|
|
905
|
+
total: number;
|
|
906
|
+
validCount: number;
|
|
907
|
+
invalidCount: number;
|
|
908
|
+
results: Array<ValidationResult>;
|
|
909
|
+
};
|
|
910
|
+
|
|
911
|
+
interface DependencyContext {
|
|
912
|
+
[key: string]: Map<string, any>;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
interface IAssetDependencyValidatorService<T> {
|
|
916
|
+
/**
|
|
917
|
+
* Extract dependency keys from ONE DTO
|
|
918
|
+
*/
|
|
919
|
+
getDependencyKeys(input: Partial<T>): {
|
|
920
|
+
keys: Record<string, any>[];
|
|
921
|
+
};
|
|
922
|
+
/**
|
|
923
|
+
* Fetch dependencies in batch (deduplicated)
|
|
924
|
+
*/
|
|
925
|
+
fetchDependencies(keys: Record<string, any>[]): Promise<DependencyContext>;
|
|
926
|
+
/**
|
|
927
|
+
* Validate ONE DTO using the fetched context
|
|
928
|
+
*/
|
|
929
|
+
validateWithContext(input: Partial<T>, context: DependencyContext): ValidationError[];
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
type DtoClass = new () => object;
|
|
933
|
+
declare function validateAsset(assetType: AssetType | DtoClass, payload: Record<string, unknown>): ValidationResult;
|
|
934
|
+
declare function getSupportedAssetTypes(): AssetType[];
|
|
935
|
+
|
|
936
|
+
type ClassConstructor<T> = new () => T;
|
|
937
|
+
declare function validateAssetPayload<T extends object>(dtoClass: ClassConstructor<T>, payload: Record<string, unknown>): ValidationResult;
|
|
938
|
+
|
|
939
|
+
declare abstract class BaseAssetService<T extends BaseDto> {
|
|
940
|
+
protected abstract getAssetType(): AssetType | (new () => object);
|
|
941
|
+
protected abstract get logger(): LoggerService;
|
|
942
|
+
protected abstract get idKey(): string;
|
|
943
|
+
private nullPayloadValidationResult;
|
|
944
|
+
validate(payload: T): Promise<ValidationResult> | ValidationResult;
|
|
945
|
+
batchValidate(payloads: T[]): Promise<BatchValidationResult> | BatchValidationResult;
|
|
946
|
+
protected buildBatchResult(results?: ValidationResult[]): BatchValidationResult;
|
|
947
|
+
private _validate;
|
|
948
|
+
private _batchValidate;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
declare abstract class BaseAssetWithDependenciesService<T extends BaseDto> extends BaseAssetService<T> {
|
|
952
|
+
protected abstract dependencyValidator: IAssetDependencyValidatorService<T>;
|
|
953
|
+
constructor();
|
|
954
|
+
validate(payload: T): Promise<ValidationResult>;
|
|
955
|
+
batchValidate(payloads: T[]): Promise<BatchValidationResult>;
|
|
956
|
+
private buildDependencyContext;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
declare class ChartValidatorService extends BaseAssetWithDependenciesService<ChartAssetDto> {
|
|
960
|
+
protected get idKey(): keyof ChartAssetDto;
|
|
961
|
+
protected dependencyValidator: IAssetDependencyValidatorService<ChartAssetDto>;
|
|
962
|
+
private static readonly _logger;
|
|
963
|
+
constructor(params: {
|
|
964
|
+
userId: string;
|
|
965
|
+
appId: string;
|
|
966
|
+
}, options?: Options);
|
|
967
|
+
protected get logger(): LoggerService;
|
|
968
|
+
protected getAssetType(): AssetType;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
declare class MetricValidatorService extends BaseAssetWithDependenciesService<MetricAssetDto> {
|
|
972
|
+
protected get idKey(): keyof MetricAssetDto;
|
|
973
|
+
protected dependencyValidator: IAssetDependencyValidatorService<MetricAssetDto>;
|
|
974
|
+
private static readonly _logger;
|
|
975
|
+
constructor(params: {
|
|
976
|
+
userId: string;
|
|
977
|
+
appId: string;
|
|
978
|
+
}, options?: Options);
|
|
979
|
+
protected getAssetType(): AssetType;
|
|
980
|
+
protected get logger(): LoggerService;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
declare class BucketValidatorService extends BaseAssetWithDependenciesService<BucketAssetDto> {
|
|
984
|
+
protected get idKey(): keyof BucketAssetDto;
|
|
985
|
+
protected readonly dependencyValidator: IAssetDependencyValidatorService<BucketAssetDto>;
|
|
986
|
+
private static readonly _logger;
|
|
987
|
+
constructor(params: {
|
|
988
|
+
userId: string;
|
|
989
|
+
appId: string;
|
|
990
|
+
}, options?: Options);
|
|
991
|
+
protected getAssetType(): AssetType;
|
|
992
|
+
protected get logger(): LoggerService;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
declare class FormulaValidatorService extends BaseAssetWithDependenciesService<FormulaAssetDto> {
|
|
996
|
+
protected get idKey(): keyof FormulaAssetDto;
|
|
997
|
+
private static readonly _logger;
|
|
998
|
+
protected readonly dependencyValidator: IAssetDependencyValidatorService<FormulaAssetDto>;
|
|
999
|
+
constructor(params: {
|
|
1000
|
+
userId: string;
|
|
1001
|
+
appId: string;
|
|
1002
|
+
}, options?: Options);
|
|
1003
|
+
protected getAssetType(): AssetType;
|
|
1004
|
+
protected get logger(): LoggerService;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
declare class ReportValidatorService extends BaseAssetWithDependenciesService<ReportAssetDto> {
|
|
1008
|
+
protected get idKey(): keyof ReportAssetDto;
|
|
1009
|
+
protected dependencyValidator: IAssetDependencyValidatorService<ReportAssetDto>;
|
|
1010
|
+
private static readonly _logger;
|
|
1011
|
+
constructor(params: {
|
|
1012
|
+
userId: string;
|
|
1013
|
+
appId: string;
|
|
1014
|
+
}, options?: Options);
|
|
1015
|
+
protected getAssetType(): AssetType;
|
|
1016
|
+
protected get logger(): LoggerService;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
declare class ReportSectionValidatorService extends BaseAssetService<ReportSectionAssetDto> {
|
|
1020
|
+
protected get idKey(): keyof ReportSectionAssetDto;
|
|
1021
|
+
private static readonly _logger;
|
|
1022
|
+
protected getAssetType(): AssetType;
|
|
1023
|
+
protected get logger(): LoggerService;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
declare class ApplicationValidatorService extends BaseAssetService<ApplicationAssetDto> {
|
|
1027
|
+
protected get idKey(): keyof ApplicationAssetDto;
|
|
1028
|
+
private static readonly _logger;
|
|
1029
|
+
protected getAssetType(): AssetType;
|
|
1030
|
+
protected get logger(): LoggerService;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
declare class DatasetValidatorService extends BaseAssetWithDependenciesService<DatasetAssetDto> {
|
|
1034
|
+
protected get idKey(): keyof DatasetAssetDto;
|
|
1035
|
+
constructor(params: {
|
|
1036
|
+
userId: string;
|
|
1037
|
+
appId: string;
|
|
1038
|
+
}, options?: any);
|
|
1039
|
+
private static readonly _logger;
|
|
1040
|
+
protected dependencyValidator: IAssetDependencyValidatorService<DatasetAssetDto>;
|
|
1041
|
+
protected getAssetType(): AssetType;
|
|
1042
|
+
protected get logger(): LoggerService;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
declare class ConnectionValidatorService extends BaseAssetWithDependenciesService<ConnectionAssetDto> {
|
|
1046
|
+
protected get idKey(): keyof ConnectionAssetDto;
|
|
1047
|
+
constructor(params: {
|
|
1048
|
+
userId: string;
|
|
1049
|
+
appId: string;
|
|
1050
|
+
}, options?: Options);
|
|
1051
|
+
private static readonly _logger;
|
|
1052
|
+
protected dependencyValidator: IAssetDependencyValidatorService<ConnectionAssetDto>;
|
|
1053
|
+
protected getAssetType(): AssetType;
|
|
1054
|
+
protected get logger(): LoggerService;
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
declare class PageValidatorService extends BaseAssetService<PageAssetDto> {
|
|
1058
|
+
protected get idKey(): keyof PageAssetDto;
|
|
1059
|
+
private static readonly _logger;
|
|
1060
|
+
protected getAssetType(): AssetType;
|
|
1061
|
+
protected get logger(): LoggerService;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
declare class PageTabValidatorService extends BaseAssetService<PageTabAssetDto> {
|
|
1065
|
+
protected get idKey(): keyof PageTabAssetDto;
|
|
1066
|
+
private static readonly _logger;
|
|
1067
|
+
protected getAssetType(): AssetType;
|
|
1068
|
+
protected get logger(): LoggerService;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
declare class PageFlowValidatorService extends BaseAssetService<PageFlowAssetDto> {
|
|
1072
|
+
protected get idKey(): keyof PageFlowAssetDto;
|
|
1073
|
+
private static readonly _logger;
|
|
1074
|
+
protected getAssetType(): AssetType;
|
|
1075
|
+
protected get logger(): LoggerService;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
declare class AutomationValidatorService extends BaseAssetService<WorkflowAssetDto> {
|
|
1079
|
+
protected get idKey(): keyof WorkflowAssetDto;
|
|
1080
|
+
private static readonly _logger;
|
|
1081
|
+
protected getAssetType(): AssetType;
|
|
1082
|
+
protected get logger(): LoggerService;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
declare class DashboardAssetValidatorService extends BaseAssetService<DashboardAssetDto> {
|
|
1086
|
+
protected get idKey(): keyof DashboardAssetDto;
|
|
1087
|
+
private static readonly _logger;
|
|
1088
|
+
protected getAssetType(): AssetType;
|
|
1089
|
+
protected get logger(): LoggerService;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
declare class DashboardContentValidatorService extends BaseAssetService<DashboardContentAssetDto> {
|
|
1093
|
+
protected get idKey(): keyof DashboardContentAssetDto;
|
|
1094
|
+
private static readonly _logger;
|
|
1095
|
+
protected getAssetType(): AssetType;
|
|
1096
|
+
protected get logger(): LoggerService;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
declare class DashboardContentElementValidatorService extends BaseAssetWithDependenciesService<DashboardContentElementAssetDto> {
|
|
1100
|
+
protected get idKey(): keyof DashboardContentElementAssetDto;
|
|
1101
|
+
constructor(params: {
|
|
1102
|
+
userId: string;
|
|
1103
|
+
appId: string;
|
|
1104
|
+
}, options: Options);
|
|
1105
|
+
protected dependencyValidator: IAssetDependencyValidatorService<DashboardContentElementAssetDto>;
|
|
1106
|
+
private static readonly _logger;
|
|
1107
|
+
protected getAssetType(): AssetType;
|
|
1108
|
+
protected get logger(): LoggerService;
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
declare class TokenValidatorService extends BaseAssetService<TokenAssetDto> {
|
|
1112
|
+
protected get idKey(): keyof TokenAssetDto;
|
|
1113
|
+
private static readonly _logger;
|
|
1114
|
+
protected getAssetType(): AssetType;
|
|
1115
|
+
protected get logger(): LoggerService;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
declare class PageBuilderConfigurationValidatorService extends BaseAssetService<PageBuilderConfigurationAssetDto> {
|
|
1119
|
+
protected get idKey(): keyof PageBuilderConfigurationAssetDto;
|
|
1120
|
+
private static readonly _logger;
|
|
1121
|
+
protected getAssetType(): AssetType;
|
|
1122
|
+
protected get logger(): LoggerService;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
declare class GlobalPreferenceValidatorService extends BaseAssetService<GlobalPreferenceAssetDto> {
|
|
1126
|
+
private static readonly _logger;
|
|
1127
|
+
protected getAssetType(): AssetType;
|
|
1128
|
+
protected get logger(): LoggerService;
|
|
1129
|
+
protected get idKey(): keyof GlobalPreferenceAssetDto;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
declare class ChartThemeValidatorService extends BaseAssetService<ChartThemeAssetDto> {
|
|
1133
|
+
private static readonly _logger;
|
|
1134
|
+
protected getAssetType(): AssetType;
|
|
1135
|
+
protected get logger(): LoggerService;
|
|
1136
|
+
protected get idKey(): keyof ChartThemeAssetDto;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
export { ApplicationAssetDto, ApplicationValidatorService, type AssetPayload, AssetType, AutomationValidatorService, BaseAssetService, BaseAssetWithDependenciesService, BaseDto, type BatchValidationResult, BucketAssetDto, BucketGroupDto, BucketValidatorService, CONNECTOR_TYPES, ChartAssetDto, ChartThemeAssetDto, ChartThemeValidatorService, ChartTypes, ChartValidatorService, ConnectionAssetDto, ConnectionValidatorService, DashboardAssetDto, DashboardAssetValidatorService, DashboardContentAssetDto, DashboardContentElementAssetDto, DashboardContentElementValidatorService, DashboardContentValidatorService, DatasetAssetDto, DatasetValidatorService, EventDto, FlowTypes, FormAssetDto, FormulaAssetDto, FormulaValidatorService, GlobalPreferenceAssetDto, GlobalPreferenceValidatorService, type IAssetDependencyValidatorService, MetricAssetDto, MetricValidatorService, type Options, PageAssetDto, PageBuilderConfigurationAssetDto, PageBuilderConfigurationValidatorService, PageFlowAssetDto, PageFlowValidatorService, PageTabAssetDto, PageTabValidatorService, PageValidatorService, ReportAssetDto, ReportSectionAssetDto, ReportSectionValidatorService, ReportValidatorService, TabsSettingsDto, TimezoneDto, TokenAssetDto, TokenValidatorService, TriggerDto, TriggerSourceDto, type ValidateDependenciesResult, type ValidationError, type ValidationResult, WorkflowAssetDto, getSupportedAssetTypes, validateAsset, validateAssetPayload };
|