-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathqix.d.ts
11850 lines (11840 loc) · 413 KB
/
qix.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import { H as HostConfig } from './auth-types-PkN9CAF_.js';
import './invoke-fetch-types-BXn-uSF5.js';
declare const QIX_SCHEMA_VERSION = "12.2351.0";
type AlfaNumString = {
/**
* Calculated value.
*/
qString?: string;
/**
* Is set to true if the value is a numeric.
*/
qIsNum?: boolean;
};
type AlternateStateData = {
/**
* Name of the alternate state.
* Default is current selections: $
*/
qStateName?: string;
/**
* List of the selections.
*/
qFieldItems?: BookmarkFieldItem[];
};
type AppEntry = {
/**
* Identifier of the app.
*/
qID?: string;
/**
* Title of the app.
*/
qTitle?: string;
/**
* Path of the app.
*/
qPath?: string;
/**
* Last reload time of the app.
*/
qLastReloadTime?: string;
/**
* Is set to true if the app is read-only.
*/
qReadOnly?: boolean;
/**
* Meta data.
*/
qMeta?: NxMeta;
/**
* App thumbnail.
*/
qThumbnail?: StaticContentUrl;
qFileSize?: number;
/**
* If true the app has section access configured.
*/
qHasSectionAccess?: boolean;
};
/**
* Lists the app objects. Is the layout for _AppObjectListDef_.
* <div class=note>An app object is a generic object created at app level.</div>
*/
type AppObjectList<QData> = {
/**
* Information about the list of dimensions.
*/
qItems?: NxContainerEntry<QData>[];
};
/**
* Defines the list of objects in an app.
* <div class=note>An app object is a generic object created at app level.</div>
*/
type AppObjectListDef = {
/**
* Type of the app list.
*/
qType?: string;
/**
* Data that you want to include in the app list definition.
* You need to enter the paths to the information you want to retrieve.
*/
qData?: Record<string, string>;
};
type AppScript = {
/**
* Script text.
*/
qScript?: string;
/**
* Information about publishing and permissions.
* This parameter is optional.
*/
qMeta?: NxMeta;
/**
* True if user is temporarily locked from modifying the script. Meta contains the ID of the last modifier. Only applicable to QCS.
*/
qIsLocked?: boolean;
};
type AppScriptMeta = {
/**
* Information about publishing and permissions.
* This parameter is optional.
*/
qMeta?: NxMeta;
/**
* True if user is temporarily locked from modifying the script. Meta contains the ID of the last modifier. Only applicable to QCS.
*/
qIsLocked?: boolean;
};
type ApplyGroupStateWarning = {
/**
* Group state that could not be applied.
*/
qState?: GroupState;
/**
* Nature of the warning.
*
* One of:
* * group_missing or GROUP_MISSING
* * group_not_applicable or GROUP_NOT_APPLICABLE
* * fielddef_missing or FIELDDEF_MISSING
*/
qType?: ApplyGroupStateWarningType;
};
type ApplyGroupStateWarningType = "group_missing" | "GROUP_MISSING" | "group_not_applicable" | "GROUP_NOT_APPLICABLE" | "fielddef_missing" | "FIELDDEF_MISSING";
/**
* Result of applying GroupState to multiple cyclic groups.
*
* Stability: *experimental*
*/
type ApplyGroupStatesResult = {
/**
* When true, the operation was successful.
*/
qApplySuccess?: boolean;
/**
* Lists which states failed to be applied and why.
*/
qWarnings?: ApplyGroupStateWarning[];
};
type ArrayOfNxValuePoint = NxPivotValuePoint[];
type AssociationScore = {
/**
* Pair of fields.
* _< FieldName1>_ / _< FieldName2>_
* Where:
* < _FieldName1_ > is a field in the table 1 (defined in _qTable1_ )
* < _FieldName2_ > is a field in the table 2 (defined in _qTable2_ )
* If the field is a synthetic key, the name of the field is preceded by _[Synthetic key]:_ .
*/
qFieldPairName?: string;
/**
* Flag used to interpret calculated scores.
* One of the following values or sum of values that apply:
* * 0: The cardinal ratio cannot be zero but the symbol score and the row score can be zero.
* * -1: The fields do not have the same type.
* * -2: The number of rows of the field _FieldName1_ is zero.
* * -4: The number of distinct values of the field _FieldName1_ is zero.
* * -8: The number of rows of the field _FieldName2_ is zero.
* * -16: The number of distinct values of the field _FieldName2_ is zero.
*
* Example:
* The number of rows of the field _FieldName1_ is zero, and the number of distinct values of the field _FieldName2_ is zero, then _qScoreSummary_ is -18.
*/
qScoreSummary?: number;
/**
* Association information about the field _FieldName1_ defined in _qFieldPairName_ .
*/
qField1Scores?: FieldScores;
/**
* Association information about the field _FieldName2_ defined in _qFieldPairName_ .
*/
qField2Scores?: FieldScores;
};
type BNFDef = {
/**
* Array of token references that all together build up the definition of the current token.
* Generally, if the array is not empty, the definition is a BNF rule (_qIsBnfRule_ is set to true). However, some BNF rules do have an empty array (_qIsBnfRule_ is set to true, but _qBnf_ is empty).
*/
qBnf?: number[];
/**
* Number of the current token definition.
*/
qNbr?: number;
/**
* Number of the parent rule definition.
*/
qPNbr?: number;
/**
* Reference identifier to a function described in the documentation. The identifier is stored in the definition of the token containing the function name.
* Is not used in Qlik Sense.
*/
qHelpId?: number;
/**
* Token name.
* One of:
* * A rule name
* * An identifier
* * A literal value
*/
qName?: string;
/**
* Literal string of the token.
* Examples: 'Round' and '('.
*/
qStr?: string;
/**
* If set to true, a list of related rule tokens is assigned to _qBnf_ .
* This parameter is optional. The default value is false.
*/
qIsBnfRule?: boolean;
/**
* If set to true, the definition specifies a script statement.
* This parameter is optional. The default value is false.
*/
qScriptStatement?: boolean;
/**
* If set to true, the definition specifies a control statement.
* This parameter is optional. The default value is false.
*/
qControlStatement?: boolean;
/**
* If set to true, the definition specifies a literal token.
* This parameter is optional. The default value is false.
*/
qBnfLiteral?: boolean;
/**
* If set to true, the definition is related to a Qlik Sense function. It cannot be an aggregation function.
* This parameter is optional. The default value is false.
*/
qQvFunc?: boolean;
/**
* If set to true, the definition is related to an aggregation function.
* This parameter is optional. The default value is false.
*/
qAggrFunc?: boolean;
/**
* Group of the function.
*
* One of:
* * ALL or FUNC_GROUP_ALL
* * U or FUNC_GROUP_UNKNOWN
* * NONE or FUNC_GROUP_NONE
* * AGGR or FUNC_GROUP_AGGR
* * NUM or FUNC_GROUP_NUMERIC
* * RNG or FUNC_GROUP_RANGE
* * EXP or FUNC_GROUP_EXPONENTIAL_AND_LOGARITHMIC
* * TRIG or FUNC_GROUP_TRIGONOMETRIC_AND_HYPERBOLIC
* * FIN or FUNC_GROUP_FINANCIAL
* * MATH or FUNC_GROUP_MATH_CONSTANT_AND_PARAM_FREE
* * COUNT or FUNC_GROUP_COUNTER
* * STR or FUNC_GROUP_STRING
* * MAPP or FUNC_GROUP_MAPPING
* * RCRD or FUNC_GROUP_INTER_RECORD
* * CND or FUNC_GROUP_CONDITIONAL
* * LOG or FUNC_GROUP_LOGICAL
* * NULL or FUNC_GROUP_NULL
* * SYS or FUNC_GROUP_SYSTEM
* * FILE or FUNC_GROUP_FILE
* * TBL or FUNC_GROUP_TABLE
* * DATE or FUNC_GROUP_DATE_AND_TIME
* * NUMI or FUNC_GROUP_NUMBER_INTERPRET
* * FRMT or FUNC_GROUP_FORMATTING
* * CLR or FUNC_GROUP_COLOR
* * RNK or FUNC_GROUP_RANKING
* * GEO or FUNC_GROUP_GEO
* * EXT or FUNC_GROUP_EXTERNAL
* * PROB or FUNC_GROUP_PROBABILITY
* * ARRAY or FUNC_GROUP_ARRAY
* * LEG or FUNC_GROUP_LEGACY
* * DB or FUNC_GROUP_DB_NATIVE
* * WINDOW or FUNC_GROUP_WINDOW
*/
qFG?: FunctionGroup;
/**
* If set to true, the definition is related to a field.
* This parameter is optional. The default value is false.
*/
qFieldFlag?: boolean;
/**
* Type of the data.
*
* One of:
* * N or NOT_META
* * D or META_DOC_NAME
* * R or META_RET_TYPE
* * V or META_DEFAULT_VALUE
*/
qMT?: BNFDefMetaType;
/**
* Indicates whether a script statement, a chart or a script function is deprecated (not recommended for use).
* If set to true, the script statement or the function is not recommended for use in Qlik Sense.
* This parameter is optional. The default value is false.
*/
qDepr?: boolean;
/**
* List of groups the function belongs to.
*/
qFGList?: FunctionGroup[];
};
type BNFDefMetaType = "N" | "NOT_META" | "D" | "META_DOC_NAME" | "R" | "META_RET_TYPE" | "V" | "META_DEFAULT_VALUE";
type BNFType = "S" | "SCRIPT_TEXT_SCRIPT" | "E" | "SCRIPT_TEXT_EXPRESSION";
type Blob = string;
type Bookmark = {
qId?: string;
qName?: string;
qUtcModifyTime?: number;
qUtcRecallTime?: number;
qRecallCount?: number;
qApplyAdditive?: boolean;
qFieldItems?: BookmarkFieldItem[];
qVariableItems?: BookmarkVariableItem[];
qSheetId?: string;
qObjects?: LayoutBookmarkData[];
qApplyLayoutState?: boolean;
qShowPopupInfo?: boolean;
qInfoText?: string;
qOwner?: string;
qGroups?: GroupBookmarkData[];
qShow?: CondDef;
qApplyInputFieldValues?: boolean;
qInputFieldItems?: InputFieldItem[];
qObjectsLayout?: ExtendedLayoutBookmarkData[];
qIncludeSelectionState?: boolean;
qIncludeScrollPosition?: boolean;
qAlternateStateData?: AlternateStateData[];
qForAnnotations?: boolean;
qIncludeAllVariables?: boolean;
};
type BookmarkApplyAndVerifyResult = {
/**
* Apply successfully or not *
*/
qApplySuccess?: boolean;
/**
* Field values verfication result *
*/
qWarnings?: BookmarkFieldVerifyWarning[];
/**
* Result of applying group states (if any).
*/
qGroupStateResult?: ApplyGroupStatesResult;
};
type BookmarkFieldItem = {
/**
* Name and type of the field.
*/
qDef?: FieldDefEx;
/**
* Indicates if the field is locked.
* Default is false.
*/
qLocked?: boolean;
/**
* Information on the selections criteria.
*/
qSelectInfo?: SelectInfo;
qValues?: FieldValue[];
/**
* List of excluded values.
* Either the list of selected values or the list of excluded values is displayed.
*/
qExcludedValues?: FieldValue[];
/**
* If set to true, selections within a list object are made in AND mode; If you have a list object that lists all customers, by selecting Customer 1 and Customer 2 while in and-mode, all records that are associated with Customer 1 **and** Customer 2 are selected.
* The default value is false; selections within a list object are made in OR mode. If you have a list object that lists all customers, by selecting Customer 1 and Customer 2 while in or-mode, all records that are associated with either Customer 1 **or** Customer 2 are selected.
* This parameter is not returned if set to false.
*/
qAndMode?: boolean;
/**
* If set to true, the field has always one selection (not 0 and not more than 1). If another value is selected, the previous one is unselected.
* The default value is false. This parameter is not returned if set to false.
*/
qOneAndOnlyOne?: boolean;
/**
* Count of selected values. Indicates if the Values field is loaded.
*/
qValuesCount?: number;
/**
* Count of excluded values. Indicates if the ExcludedValues field is loaded.
*/
qExcludedValuesCount?: number;
};
/**
* Defines the range of the bookmark fields that are returned.
*/
type BookmarkFieldPage = {
/**
* The start value of the range.
*/
qStartIndex?: number;
/**
* The end value of the range.
*/
qEndIndex?: number;
};
type BookmarkFieldPageEx = {
/**
* The name of the selected state.
*/
qStateName?: string;
/**
* The start value of the range.
*/
qStartIndex?: number;
/**
* The end value of the range.
*/
qEndIndex?: number;
};
type BookmarkFieldVerifyResultState = "NOT_VERIFIED" | "FIELD_VALUE_MATCH_ALL" | "FIELD_MISSING" | "FIELD_VALUE_MISSING" | "STATE_MISSING";
type BookmarkFieldVerifyWarning = {
/**
* Alternate State *
*/
qState?: string;
/**
* Field Name *
*/
qField?: string;
/**
* Field/values verfication result *
* Defines result of ApplyAndVerify.
* One of:
* * NOT_VERIFIED
* * FIELD_VALUE_MATCH_ALL
* * FIELD_MISSING
* * FIELD_VALUE_MISSING
* * STATE_MISSING
*/
qVerifyResult?: BookmarkFieldVerifyResultState;
qMissingValues?: string[];
};
/**
* Lists the bookmarks. Is the layout for _BookmarkListDef_.
*/
type BookmarkList<QData> = {
/**
* Information about the list of bookmarks.
*/
qItems?: NxContainerEntry<QData>[];
};
/**
* Defines the list of bookmarks.
*/
type BookmarkListDef = {
/**
* Type of the list.
*/
qType?: string;
/**
* Data
*/
qData?: Record<string, string>;
/**
* Include the bookmark patches. Patches can be very large and may make the list result unmanageable.
*/
qIncludePatches?: boolean;
};
type BookmarkStateFieldPages = {
/**
* Bookmark field pages for different states.
*/
qStatePages?: BookmarkFieldPageEx[];
};
type BookmarkVariableItem = {
/**
* Name of the variable.
*/
qName?: string;
/**
* Value of the variable.
*/
qValue?: FieldValue;
/**
* The Reporting mode definition of the variable.
*/
qDefinition?: string;
};
type CalendarStrings = {
/**
* List of short day names.
*/
qDayNames?: string[];
/**
* List of short month names.
*/
qMonthNames?: string[];
/**
* List of long day names.
*/
qLongDayNames?: string[];
/**
* List of long month names.
*/
qLongMonthNames?: string[];
};
type CharEncodingType = "Utf8" | "CHAR_ENCODING_UTF8" | "Utf16" | "CHAR_ENCODING_UTF16";
type CharRange = {
/**
* Position of the first search occurrence.
*/
qCharPos?: number;
/**
* Number of occurrences found.
*/
qCharCount?: number;
};
/**
* Lists the children of a generic object. Is the layout for _ChildListDef_.
* <div class=note>ChildList is used by the _GetLayout Method_ to list the children of a generic object. </div>
*/
type ChildList<QData> = {
/**
* Information about the items in the app object.
*/
qItems?: NxContainerEntry<QData>[];
};
/**
* Defines the list of children of a generic object.
* What is defined in _ChildListDef_ has an impact on what the _GetLayout_ method returns. See _Example_ for more information.
*/
type ChildListDef = {
/**
* Data that you want to include in the child list definition.
* You need to enter the paths to the information you want to retrieve.
*/
qData?: Record<string, string>;
};
type CodePage = {
/**
* Number of the code page.
*/
qNumber?: number;
/**
* Name of the code page.
*/
qName?: string;
/**
* Description of the code page.
*/
qDescription?: string;
};
type CondDef = {
qAlways?: boolean;
qExpression?: ValueExpr;
};
type Connection = {
/**
* Identifier of the connection.
* Is generated by the engine and is unique.
*/
qId?: string;
/**
* Name of the connection.
* This parameter is mandatory and must be set when creating or modifying a connection.
*/
qName?: string;
/**
* One of:
* * ODBC CONNECT TO [<provider name>]
* * OLEDB CONNECT TO [<provider name>]
* * CUSTOM CONNECT TO [<provider name>]
* * "<local absolute or relative path, UNC path>"
* * "<URL>"
*
* Connection string.
* This parameter is mandatory and must be set when creating or modifying a connection.
*/
qConnectionString?: string;
/**
* One of:
* * ODBC
* * OLEDB
* * <Name of the custom connection file>
* * folder
* * internet
*
* Type of the connection.
* This parameter is mandatory and must be set when creating or modifying a connection.
* For ODBC, OLEDB and custom connections, the engine checks that the connection type matches the connection string.
* The type is not case sensitive.
*/
qType?: string;
/**
* Name of the user who creates the connection.
* This parameter is optional; it is only used for OLEDB, ODBC and CUSTOM connections.
* A call to _GetConnection Method_ does not return the user name.
*/
qUserName?: string;
/**
* Password of the user who creates the connection.
* This parameter is optional; it is only used for OLEDB, ODBC and CUSTOM connections.
* A call to _GetConnection Method_ does not return the password.
*/
qPassword?: string;
/**
* Is generated by the engine.
* Creation date of the connection or last modification date of the connection.
*/
qModifiedDate?: string;
/**
* Information about the connection.
*/
qMeta?: NxMeta;
/**
* Select which user credentials to use to connect to the source.
* * LOG_ON_SERVICE_USER: Disables
* * LOG_ON_CURRENT_USER: Enables
*
* One of:
* * LOG_ON_SERVICE_USER
* * LOG_ON_CURRENT_USER
*/
qLogOn?: LogOnType;
};
type ContentLibraryList = {
/**
* Information about the content library.
*/
qItems?: ContentLibraryListItem[];
};
type ContentLibraryListItem = {
/**
* Name of the library.
*/
qName?: string;
/**
* Is set to true if the library is specific to the app (not a global content library).
*/
qAppSpecific?: boolean;
/**
* Information about publishing and permissions.
*/
qMeta?: NxMeta;
};
type CustomConnector = {
/**
* Name of the custom connector file.
*/
qProvider?: string;
/**
* Name of the parent folder that contains the custom connector file.
*/
qParent?: string;
/**
* Name of the custom connector as displayed in the Qlik interface.
*/
qDisplayName?: string;
/**
* Mode of the machine (64 or 32 bits).
*
* One of:
* * CONNECT_DEFAULT
* * CONNECT_64
* * CONNECT_32
*/
qMachineMode?: GenericConnectMachine;
qSupportFileStreaming?: boolean;
};
type CyclicGroupPosition = {
/**
* Target cyclic group.
*/
qInfo?: NxInfo;
/**
* Active field of the cyclic group, identified by a zero-based index.
*/
qActiveField?: number;
};
type DataField = {
/**
* Name of the field.
*/
qName?: string;
/**
* Is set to true if the field is a primary key.
*/
qIsKey?: boolean;
/**
* Is shown for fixed records.
* _qOriginalFieldName_ and _qName_ are identical if no field names are used in the file.
* _qOriginalFieldName_ differs from _qName_ if embedded file names are used in the file.
*/
qOriginalFieldName?: string;
};
type DataRecord = {
/**
* List of values inside the table.
* The first values (in _result/qPreview/0/qValues_ ) correspond to the field names in the table.
* The following values (from _result/qPreview/1/qValues_ ) are the values of the fields in the table.
*/
qValues?: string[];
};
type DataTable = {
/**
* Name of the table.
*/
qName?: string;
/**
* Type of the table.
* For example: Table or View.
*/
qType?: string;
};
type DataTableEx = {
/**
* Name of the table.
*/
qName?: string;
/**
* List of the fields in the table.
*/
qFields?: DataField[];
/**
* List of format specification items, within brackets.
* Examples of specification items:
* * file type
* * embedded labels, no labels
* * table is <table name>
*/
qFormatSpec?: string;
};
type Database = {
/**
* Name of the database.
*/
qName?: string;
/**
* Is set to true if the database is set by default.
*/
qIsDefault?: boolean;
};
type DatabaseInfo = {
/**
* Name of the product accessed by the provider.
*/
qDBMSName?: string;
/**
* If set to true, it means that the data source contains some databases.
*/
qDBUsage?: boolean;
/**
* If set to true, it means that the data source contains some owners.
*/
qOwnerUsage?: boolean;
/**
* Character string used after the database name.
* Example with separator " **.** ":
* FROM LinkedTablesData.dbo.Months
* Where:
* * **LinkedTablesData** is the database name
* * **dbo** is the owner name
* * **Months** is the table name
*/
qDBSeparator?: string;
/**
* Character string used after the owner name.
* Example with separator " **.** ":
* FROM LinkedTablesData.dbo.Months
* Where:
* * **LinkedTablesData** is the database name
* * **dbo** is the owner name
* * **Months** is the table name
*/
qOwnerSeparator?: string;
/**
* If set to true, it means that the database is displayed first, before the owners and tables.
*/
qDBFirst?: boolean;
/**
* Prefix used with field, database or owner names that contain special characters or keywords.
*/
qQuotePreffix?: string;
/**
* Suffix used with field, database or owner names that contain special characters or keywords.
*/
qQuoteSuffix?: string;
/**
* List of the special characters.
*/
qSpecialChars?: string;
/**
* Name of the default database.
*/
qDefaultDatabase?: string;
/**
* List of the script keywords.
*/
qKeywords?: string[];
};
type DatabaseOwner = {
/**
* Name of the owner.
*/
qName?: string;
};
type DelimiterInfo = {
/**
* Name of the delimiter.
* Example:
* "Tab_DELIMITER"
*/
qName?: string;
/**
* Representation of the delimiter value that is used in the script.
* Example:
* "'\t'"
*/
qScriptCode?: string;
/**
* Delimiter character number used by the engine to determine how to separate the values.
*/
qNumber?: number;
/**
* Is set to true if multiple spaces are used to separate the values.
*/
qIsMultiple?: boolean;
};
type DerivedFieldsInTableData = {
/**
* Name of the derived definition.
*/
qDefinitionName?: string;
/**
* List of tags.
*/
qTags?: string[];
/**
* Is set to true is the derived field is in use.
*/
qActive?: boolean;
};
/**
* Lists the dimensions. Is the layout for _DimensionListDef_.
*/
type DimensionList<QData> = {
/**
* Information about the list of dimensions.
*/
qItems?: NxContainerEntry<QData>[];
};
/**
* Defines the lists of dimensions.
*/
type DimensionListDef = {
/**
* Type of the list.
*/
qType?: string;
/**
* Data
*/
qData?: Record<string, string>;
};
/**
* The DimensionReference structure points to a GenericDimension.
*
* Stability: *experimental*
*/
type DimensionReference = {
/**
* Identifier of the associated dimension.
*/
qId?: string;
/**
* Text label.
*/
qLabel?: string;
};
/**
* Parameters for a reload.
*/
type DoReloadExParams = {
/**
* 0: for default mode.
* 1: for ABEND; the reload of the script ends if an error occurs.
* 2: for ignore; the reload of the script continues even if an error is detected in the script.
*/
qMode?: number;
/**
* Set to true for partial reload.
* The default value is false.
*/
qPartial?: boolean;
/**
* Set to true to debug reload.
* The default value is false.
*/
qDebug?: boolean;
/**
* Optional reload ID.
* ID will be automatically generated if not set.
*/
qReloadId?: string;
/**
* Set to true to skip Store statements.
* The default value is false.
*/
qSkipStore?: boolean;
/**
* If greater than or equal 0, defines max number of rows loaded from a data source.
*/
qRowLimit?: number;
};
/**
* The result and path to script log for a reload.
*/
type DoReloadExResult = {
/**
* The reload is successful if True.
*/
qSuccess?: boolean;
/**
* Path to the script log file.
*/
qScriptLogFile?: string;
/**
* true if memory limits were exhausted during reload.
*/
qEndedWithMemoryConstraint?: boolean;
};
type DocListEntry = {
/**
* Name of the app.
*/
qDocName?: string;
/**
* Not used.
*/
qConnectedUsers?: number;
/**
* Last modified time stamp of the app.
* This property is used only with Qlik Sense Desktop.
* It is set to 0 for Qlik Sense Enterprise.
*/
qFileTime?: number;
/**
* Size of remote app.
* This property is used only with Qlik Sense Desktop.
* It is set to 0 for Qlik Sense Enterprise.
*/
qFileSize?: number;
/**
* Identifier of the app.
* * In Qlik Sense Desktop, the identifier is the path and name of the app.
* * In Qlik Sense Enterprise, the identifier is the app's GUID.
*/
qDocId?: string;
/**
* Meta data related to the app.
*/
qMeta?: NxMeta;
/**
* Last reload time of the app.
*/
qLastReloadTime?: string;
/**
* If set to true, the app is read-only.
*/
qReadOnly?: boolean;
/**
* Title of the app.
*/
qTitle?: string;
/**
* Thumbnail of the app.
*/
qThumbnail?: StaticContentUrl;
/**
* If true the app has section access configured.
*/
qHasSectionAccess?: boolean;
/**
* Is the app a Direct Query app?
*/
qIsDirectQueryMode?: boolean;
/**
*
* One of:
* * ANALYTICS
* * DATA_PREPARATION
* * DATAFLOW_PREP
* * SINGLE_TABLE_PREP
*/
qUsage?: UsageEnum;
};
type DriveInfo = {
/**
* Value of the drive.
* Examples:
* C:\\\, E:\\\
*/
qDrive?: string;
/**
* Type of the drive.
* _Fixed_ means physical drive.
*/