@sassoftware/vi-api 1.44.0 → 1.46.0

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.
@@ -1,6 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- // Generated using typescript-generator version 2.15.527 on 2024-10-31 19:39:54.
3
+ // Generated using typescript-generator version 2.15.527 on 2025-02-05 14:39:22.
4
4
 
5
5
  export interface ActionRequestRep {
6
6
  version?: number;
@@ -115,11 +115,6 @@ export interface AlertRep extends BaseRep {
115
115
  autoActivateScore?: number;
116
116
  strategyRangeLow?: number;
117
117
  strategyRangeHigh?: number;
118
- alertVersionTimestamp?: string;
119
- statusTimestamp?: string;
120
- dispositionTimestamp?: string;
121
- suppressionEndTimestamp?: string;
122
- holdEndTimestamp?: string;
123
118
  queueEntryTimestamp?: string;
124
119
  assignmentTimestamp?: string;
125
120
  checkoutTimestamp?: string;
@@ -127,6 +122,11 @@ export interface AlertRep extends BaseRep {
127
122
  systemServiceTimestamp?: string;
128
123
  autoCloseTimestamp?: string;
129
124
  autoActivateTimestamp?: string;
125
+ alertVersionTimestamp?: string;
126
+ statusTimestamp?: string;
127
+ dispositionTimestamp?: string;
128
+ suppressionEndTimestamp?: string;
129
+ holdEndTimestamp?: string;
130
130
  }
131
131
 
132
132
  export interface AlertVersionSummaryRep {
@@ -139,8 +139,8 @@ export interface AlertVersionSummaryRep {
139
139
  versionDispositionResolutionCode?: string;
140
140
  versionScore?: number;
141
141
  versionLastUpdateTimeStamp?: string;
142
- versionLastUpdateTimestamp?: string;
143
142
  versionCreationTimestamp?: string;
143
+ versionLastUpdateTimestamp?: string;
144
144
  }
145
145
 
146
146
  export interface AlertWorkflowRep {
@@ -640,8 +640,8 @@ export interface Link extends Serializable, Comparable<Link> {
640
640
  }
641
641
 
642
642
  export interface TypedPayload {
643
- eventType?: string;
644
643
  payloadType?: string;
644
+ eventType?: string;
645
645
  }
646
646
 
647
647
  export interface TrackedResource extends Serializable, ETaggable, TimeTrackedResource, ETagAndLastModifiedProvider {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@types/alert-reps",
3
- "version": "19.5.5",
3
+ "version": "20.2.2",
4
4
  "types": "index.d.ts"
5
5
  }
@@ -1,10 +1,11 @@
1
1
  import { PageDataChange, PageModeChange } from "../control/events";
2
2
  import { Relationship } from "../svi-datahub";
3
3
  import { QueryMode } from "../svi-sand";
4
- import { ControlContainer } from "../object/object-api";
4
+ import { ControlContainer, VIObject } from "../object/object-api";
5
5
  import { PageModel, PageModelObjectData } from "../page-model/page-model-api";
6
6
  import { SearchObject, SearchQuery } from "../search/client/client-search-api";
7
7
  import { HandleType, MinMaxDates, TimeSliderContextMenuHideOptions, TimeSliderEventDates, TimeSliderRange, TimeSliderRangeChangedEvent } from "../time-slider";
8
+ import { PageModeEvent } from "../control";
8
9
  export interface SearchAndSelectWithPreviewInputBindings {
9
10
  initialQuery?: string;
10
11
  additionalModes?: QueryMode[];
@@ -19,7 +20,113 @@ export interface PageViewerApi {
19
20
  isDirty: () => boolean;
20
21
  isValid: () => Promise<boolean>;
21
22
  }
23
+ export type PageViewerBindings = CreateObjectPageBindings | EditObjectPageBindings | ViewObjectPageBindings | StaticDataPageBindings | PageBindings;
24
+ export declare enum PageViewerBindingsType {
25
+ CreateObject = "CREATE",
26
+ EditObject = "EDIT",
27
+ ViewObject = "VIEW",
28
+ StaticData = "STATIC"
29
+ }
30
+ /**
31
+ * Component bindings to configure a page viewer for creating a new object.
32
+ */
33
+ export interface CreateObjectPageBindings extends CommonPageViewerBindings {
34
+ bindingsType: PageViewerBindingsType.CreateObject;
35
+ /** Page context to use. */
36
+ eventName: PageModeEvent.CREATE;
37
+ /** Entity type of the object. */
38
+ docType: string;
39
+ /** Temporary ID to use for the unsaved object. */
40
+ tempCreateId?: string;
41
+ /** Initial values to populate the pageModel data. */
42
+ initialCreateData?: Record<string, any>;
43
+ /**
44
+ * Optionally provide a pageModel using window.sas.vi.pageModel.createFromObject.
45
+ * The pageModel type must match docType.
46
+ * The pageModel data will be populated with initialCreateData.
47
+ * The pageModel can be used to inspect current data and validity
48
+ * but the reference to this model will be broken if a new template is to be loaded due to a mode transition or other condition.
49
+ * Prefer using setApi and onChange to interact with the page.
50
+ */
51
+ pageModel?: PageModel;
52
+ }
53
+ /**
54
+ * Component bindings to configure a page viewer for editing an existing object.
55
+ */
56
+ export interface EditObjectPageBindings extends CommonPageViewerBindings {
57
+ bindingsType: PageViewerBindingsType.EditObject;
58
+ /** Page context to use. */
59
+ eventName: PageModeEvent.EDIT;
60
+ /** Entity type of the object. */
61
+ docType: string;
62
+ /** Object ID */
63
+ docId: string;
64
+ /** Use the given page template by UUID regardless of page context. */
65
+ templateUuid?: string;
66
+ /**
67
+ * Optionally provide a pageModel using window.sas.vi.pageModel.createFromObject.
68
+ * The pageModel type must match docType.
69
+ * The pageModel data will be populated using the loaded object response from the given docType and docId.
70
+ * The pageModel can be used to inspect current data and validity
71
+ * but the reference to this model will be broken if a new template is to be loaded due to a mode transition or other condition.
72
+ * Prefer using setApi and onChange to interact with the page.
73
+ */
74
+ pageModel?: PageModel;
75
+ }
76
+ /**
77
+ * Component bindings to configure a page viewer for a read-only view of an existing object.
78
+ */
79
+ export interface ViewObjectPageBindings extends CommonPageViewerBindings {
80
+ bindingsType: PageViewerBindingsType.ViewObject;
81
+ /** Page context to use. */
82
+ eventName: PageModeEvent.OPEN | PageModeEvent.INSPECT | PageModeEvent.SUMMARY;
83
+ /** Entity type of the object. */
84
+ docType: string;
85
+ /** Object ID */
86
+ docId: string;
87
+ /** Use the given page template by UUID regardless of page context. */
88
+ templateUuid?: string;
89
+ }
90
+ /**
91
+ * Component bindings to configure a page viewer for a read-only view of static object data.
92
+ */
93
+ export interface StaticDataPageBindings extends CommonPageViewerBindings {
94
+ bindingsType: PageViewerBindingsType.StaticData;
95
+ /** Object data to create the page response. */
96
+ staticDocumentData: VIObject;
97
+ }
98
+ export interface CommonPageViewerBindings {
99
+ /** Show the page toolbar. This contains the toolbar actions associated with the object's Entity type. */
100
+ showToolbar?: boolean;
101
+ /**
102
+ * Assign the given CSS classes to the page viewer's container.
103
+ * This is the element which encompasses the main document view and the toolbar.
104
+ */
105
+ containerClass?: string;
106
+ /** If true, the page viewer will fill its parent element's height. */
107
+ fitToContainerHeight?: boolean;
108
+ /**
109
+ * Assign the given CSS classes to the page viewer's main section.
110
+ * This is the element which displays the main document, excluding toolbar.
111
+ */
112
+ pageClass?: string;
113
+ /**
114
+ * Enable workspace and insight tabs to be rendered.
115
+ */
116
+ enableSheets?: boolean;
117
+ /**
118
+ * A callback which is called when the page viewer is initialized.
119
+ * It provides an API which can be used to check the page viewer state and save the document.
120
+ */
121
+ setApi?: (api: PageViewerApi) => void;
122
+ /** A callback which is called when the page viewer dirty state changes. */
123
+ onDirty?: (isDirty: boolean) => void;
124
+ /** A callback which is called when the pageModel's mode or data changes. */
125
+ onChange?: (change: PageDataChange | PageModeChange) => void;
126
+ }
127
+ /** @deprecated use {@link PageViewerBindings} */
22
128
  export interface PageBindings {
129
+ bindingsType?: never;
23
130
  docId?: string;
24
131
  docType?: string;
25
132
  eventName?: string;
@@ -138,4 +245,4 @@ export interface TimeSliderBindings extends TimeSliderInputBindings {
138
245
  onLoad?: () => void;
139
246
  close?: () => void;
140
247
  }
141
- export type SviComponentBindings = ControlCollectionBindings | RelationshipDetailsBindings | SearchInputBindings | PageBindings | SearchAndSelectWithPreviewBindings | TimeSliderBindings;
248
+ export type SviComponentBindings = ControlCollectionBindings | RelationshipDetailsBindings | SearchInputBindings | PageViewerBindings | PagePreviewBindings | SearchAndSelectWithPreviewBindings | TimeSliderBindings;
@@ -1 +1,7 @@
1
- export {};
1
+ export var PageViewerBindingsType;
2
+ (function (PageViewerBindingsType) {
3
+ PageViewerBindingsType["CreateObject"] = "CREATE";
4
+ PageViewerBindingsType["EditObject"] = "EDIT";
5
+ PageViewerBindingsType["ViewObject"] = "VIEW";
6
+ PageViewerBindingsType["StaticData"] = "STATIC";
7
+ })(PageViewerBindingsType || (PageViewerBindingsType = {}));
@@ -1,4 +1,4 @@
1
- import { ControlCollectionBindings, PageBindings, PagePreviewBindings, RelationshipDetailsBindings, SearchAndSelectWithPreviewBindings, SearchInputBindings, SviComponentBindings, TimeSliderBindings } from "./bindings";
1
+ import { ControlCollectionBindings, PagePreviewBindings, PageViewerBindings, RelationshipDetailsBindings, SearchAndSelectWithPreviewBindings, SearchInputBindings, SviComponentBindings, TimeSliderBindings } from "./bindings";
2
2
  export declare enum SviComponent {
3
3
  ControlCollection = "svi-control-collection",
4
4
  RelationshipDetails = "svi-relationship-details",
@@ -24,7 +24,7 @@ export interface ComponentCreationResult<T> {
24
24
  */
25
25
  export interface ComponentApi {
26
26
  create(component: SviComponent.ControlCollection, target: HTMLElement, bindings?: ControlCollectionBindings): Promise<ComponentCreationResult<ControlCollectionBindings>>;
27
- create(component: SviComponent.Page, target: HTMLElement, bindings?: PageBindings): Promise<ComponentCreationResult<PageBindings>>;
27
+ create(component: SviComponent.Page, target: HTMLElement, bindings?: PageViewerBindings): Promise<ComponentCreationResult<PageViewerBindings>>;
28
28
  create(component: SviComponent.PagePreview, target: HTMLElement, bindings?: PagePreviewBindings): Promise<ComponentCreationResult<PagePreviewBindings>>;
29
29
  create(component: SviComponent.RelationshipDetails, target: HTMLElement, bindings?: RelationshipDetailsBindings): Promise<ComponentCreationResult<RelationshipDetailsBindings>>;
30
30
  create(component: SviComponent.SearchInput, target: HTMLElement, bindings?: SearchInputBindings): Promise<ComponentCreationResult<SearchInputBindings>>;
@@ -1,5 +1,6 @@
1
- import { ControlMetadata, ResourcedString } from "../svi-datahub";
1
+ import { ControlMetadata } from "../svi-datahub";
2
2
  import { ControlStates } from "../control/page";
3
+ import { ControlAttributeMap, IBaseControlAttribute, IGenericControlAttribute } from "./control-attribute-types";
3
4
  export declare enum ControlType {
4
5
  AngularJS = "angularjs",
5
6
  Angular = "angular",
@@ -40,19 +41,7 @@ export interface SolutionExtensionConfigTypeAttributes {
40
41
  metadata?: SolutionExtensionMetadata;
41
42
  attributes?: Record<string, SolutionExtensionAttribute>;
42
43
  }
43
- export interface SolutionExtensionAttribute {
44
- type: string;
45
- displayName: ResourcedString;
46
- order?: number;
47
- required?: boolean | string;
48
- localizable?: boolean | string;
49
- allowMultiple?: boolean | string;
50
- states?: Record<string, boolean>;
51
- defaultValue?: any;
52
- disabledExpression?: string;
53
- picklistName?: string;
54
- ignoreRestrictions?: boolean;
55
- }
44
+ export type SolutionExtensionAttribute = ControlAttributeMap[keyof ControlAttributeMap] | IBaseControlAttribute | IGenericControlAttribute;
56
45
  export interface SolutionExtensionMetadata {
57
46
  iconClass?: string;
58
47
  useDragHandle?: boolean;
@@ -0,0 +1,168 @@
1
+ import { StandardPropertyTypes } from "./standardPropertyTypes";
2
+ import { ResourcedString } from "../svi-datahub";
3
+ import { Status } from "./status";
4
+ export interface ControlAttributeMap<T = any> {
5
+ [StandardPropertyTypes.DataSource]: IControlAttributeDataSource;
6
+ [StandardPropertyTypes.RadioChooser]: ISpbRadioChooserAttribute<T>;
7
+ [StandardPropertyTypes.Picklist]: IControlAttributePicklist;
8
+ [StandardPropertyTypes.RadioSwitch]: IControlAttributeRadioSwitch;
9
+ [StandardPropertyTypes.StatusThresholdPicker]: IControlAttributeStatusThresholdPicker;
10
+ [StandardPropertyTypes.FileCategoryDataSource]: IControlAttributeFileCategoryDataSource;
11
+ [StandardPropertyTypes.MultiEditor]: IControlAttributeMultiEditor;
12
+ [StandardPropertyTypes.LinkedPage]: IControlAttributeLinkedPage;
13
+ [StandardPropertyTypes.InterpolatedTextInput]: IControlAttributeInterpolatedTextInput;
14
+ [StandardPropertyTypes.NumericRange]: IControlAttributeNumericRange;
15
+ [StandardPropertyTypes.ChartDataSource]: IControlAttributeChartDataSource;
16
+ [StandardPropertyTypes.HeightEditor]: IControlAttributeHeightEditor;
17
+ [StandardPropertyTypes.Checkbox]: IControlAttributeCheckbox;
18
+ [StandardPropertyTypes.RelationshipSummary]: IControlAttributeRelationshipSummary;
19
+ [StandardPropertyTypes.TextInput]: IControlAttributeTextInput;
20
+ [StandardPropertyTypes.TileProviderChooser]: IControlAttributeTileProviderChooser;
21
+ [StandardPropertyTypes.SeparatorStart]: IControlAttributeSeparatorStart;
22
+ [StandardPropertyTypes.Separator]: IControlAttributeSeparator;
23
+ [StandardPropertyTypes.ColumnDataType]: IControlAttributeColumnDataType;
24
+ }
25
+ export type UnmappedStandardPropertyTypes = Exclude<StandardPropertyTypes, keyof ControlAttributeMap>;
26
+ export interface IBaseControlAttribute {
27
+ type: UnmappedStandardPropertyTypes | `${UnmappedStandardPropertyTypes}`;
28
+ displayName: ResourcedString;
29
+ order?: number;
30
+ required?: boolean | string;
31
+ description?: ResourcedString;
32
+ localizable?: boolean | string;
33
+ defaultValue?: any;
34
+ migrationValue?: never;
35
+ disabledExpression?: string;
36
+ hiddenExpression?: string;
37
+ hideOnDisable?: boolean;
38
+ cssClass?: string;
39
+ triggerResizeOnChange?: boolean;
40
+ }
41
+ type BaseControlAttribute = Omit<IBaseControlAttribute, "type">;
42
+ export interface IGenericControlAttribute extends BaseControlAttribute {
43
+ type: string;
44
+ [key: string]: any;
45
+ }
46
+ export interface ISpbRadioChooserOption<T = any> {
47
+ value: T;
48
+ resourceKey: string;
49
+ }
50
+ export interface ISpbRadioChooserAttribute<T = any> extends Omit<BaseControlAttribute, "migrationValue"> {
51
+ type: StandardPropertyTypes.RadioChooser | `${StandardPropertyTypes.RadioChooser}`;
52
+ migrationValue?: T;
53
+ defaultValue?: T;
54
+ radioConfig: {
55
+ inline?: boolean;
56
+ options: Array<ISpbRadioChooserOption<T>>;
57
+ };
58
+ }
59
+ export interface IControlAttributeCheckbox extends Omit<BaseControlAttribute, "migrationValue"> {
60
+ type: StandardPropertyTypes.Checkbox | `${StandardPropertyTypes.Checkbox}`;
61
+ migrationValue?: boolean;
62
+ defaultValue?: boolean;
63
+ }
64
+ export interface IControlAttributePicklist extends BaseControlAttribute {
65
+ type: StandardPropertyTypes.Picklist | `${StandardPropertyTypes.Picklist}`;
66
+ picklistName: string;
67
+ noSelectionText?: ResourcedString;
68
+ relatedDataSource?: string;
69
+ }
70
+ export interface IControlAttributeDataSource extends BaseControlAttribute {
71
+ type: StandardPropertyTypes.DataSource | `${StandardPropertyTypes.DataSource}`;
72
+ limitDataSourceType?: string;
73
+ ignoreRestrictions?: boolean;
74
+ optional?: boolean;
75
+ }
76
+ interface RadioSwitchBaseOption {
77
+ default?: boolean;
78
+ iconClass: string;
79
+ value: any;
80
+ title: string;
81
+ }
82
+ export type RadioSwitchOption = RadioSwitchBaseOption | Omit<RadioSwitchBaseOption, "title"> | Omit<RadioSwitchBaseOption, "iconClass">;
83
+ export interface IControlAttributeRadioSwitch extends BaseControlAttribute {
84
+ type: StandardPropertyTypes.RadioSwitch | `${StandardPropertyTypes.RadioSwitch}`;
85
+ options: RadioSwitchOption[];
86
+ }
87
+ export interface IControlAttributeHeightEditor extends BaseControlAttribute {
88
+ type: StandardPropertyTypes.HeightEditor | `${StandardPropertyTypes.HeightEditor}`;
89
+ states?: {
90
+ hideResizeByContent?: boolean;
91
+ hideFill?: boolean;
92
+ hideFixed?: boolean;
93
+ };
94
+ labels?: {
95
+ fixed: string;
96
+ resize: string;
97
+ };
98
+ defaultValue?: string;
99
+ }
100
+ export interface IControlAttributeChartDataSource extends BaseControlAttribute {
101
+ type: StandardPropertyTypes.ChartDataSource | `${StandardPropertyTypes.ChartDataSource}`;
102
+ groupFieldHidden?: any;
103
+ valueFieldDisabledExpression?: string;
104
+ }
105
+ export interface IControlAttributeNumericRange extends BaseControlAttribute {
106
+ type: StandardPropertyTypes.NumericRange | `${StandardPropertyTypes.NumericRange}`;
107
+ min: number;
108
+ max: number;
109
+ defaultValue?: number;
110
+ }
111
+ export interface IControlAttributeLinkedPage extends BaseControlAttribute {
112
+ type: StandardPropertyTypes.LinkedPage | `${StandardPropertyTypes.LinkedPage}`;
113
+ allowNoDataSourcePages?: boolean;
114
+ }
115
+ export interface IControlAttributeMultiEditor extends BaseControlAttribute {
116
+ type: StandardPropertyTypes.MultiEditor | `${StandardPropertyTypes.MultiEditor}`;
117
+ editorAttributes: {
118
+ buttonText: ResourcedString;
119
+ category: "Container";
120
+ type: string;
121
+ typePlural: string;
122
+ };
123
+ }
124
+ export interface IControlAttributeFileCategoryDataSource extends Omit<IControlAttributeDataSource, "type"> {
125
+ type: StandardPropertyTypes.FileCategoryDataSource | `${StandardPropertyTypes.FileCategoryDataSource}`;
126
+ allowMultiple?: boolean | string;
127
+ }
128
+ export interface IControlAttributeStatusThresholdPicker extends BaseControlAttribute {
129
+ type: StandardPropertyTypes.StatusThresholdPicker | `${StandardPropertyTypes.StatusThresholdPicker}`;
130
+ thresholds: Array<{
131
+ color: Status;
132
+ label: string;
133
+ resourceKey: string;
134
+ lowerBound: number;
135
+ }>;
136
+ upperBound: number;
137
+ }
138
+ export interface IControlAttributeRelationshipSummary extends Omit<BaseControlAttribute, "displayName"> {
139
+ type: StandardPropertyTypes.RelationshipSummary | `${StandardPropertyTypes.RelationshipSummary}`;
140
+ displayName?: never;
141
+ }
142
+ export interface IControlAttributeTextInput extends BaseControlAttribute {
143
+ type: StandardPropertyTypes.TextInput | `${StandardPropertyTypes.TextInput}`;
144
+ defaultValue?: ResourcedString | string;
145
+ }
146
+ export interface IControlAttributeInterpolatedTextInput extends Omit<IControlAttributeTextInput, "type"> {
147
+ type: StandardPropertyTypes.InterpolatedTextInput | `${StandardPropertyTypes.InterpolatedTextInput}`;
148
+ interpolatedTextInputDialogTitle: ResourcedString;
149
+ }
150
+ export interface IControlAttributeTileProviderChooser extends BaseControlAttribute {
151
+ type: StandardPropertyTypes.TileProviderChooser | `${StandardPropertyTypes.TileProviderChooser}`;
152
+ optional?: boolean;
153
+ }
154
+ export interface IControlAttributeSeparatorStart extends Omit<BaseControlAttribute, "displayName"> {
155
+ displayName?: never;
156
+ separatorLabel?: ResourcedString;
157
+ type: StandardPropertyTypes.SeparatorStart | `${StandardPropertyTypes.SeparatorStart}`;
158
+ }
159
+ export interface IControlAttributeSeparator extends Omit<BaseControlAttribute, "displayName"> {
160
+ displayName?: never;
161
+ separatorLabel?: ResourcedString;
162
+ type: StandardPropertyTypes.Separator | `${StandardPropertyTypes.Separator}`;
163
+ }
164
+ export interface IControlAttributeColumnDataType extends Omit<BaseControlAttribute, "displayName"> {
165
+ displayName?: never;
166
+ type: StandardPropertyTypes.ColumnDataType | `${StandardPropertyTypes.ColumnDataType}`;
167
+ }
168
+ export {};
@@ -0,0 +1 @@
1
+ import { StandardPropertyTypes } from "./standardPropertyTypes";
package/config/index.d.ts CHANGED
@@ -1 +1,4 @@
1
1
  export * from "./config-api";
2
+ export * from "./control-attribute-types";
3
+ export * from "./standardPropertyTypes";
4
+ export * from "./status";
package/config/index.js CHANGED
@@ -1 +1,4 @@
1
1
  export * from "./config-api";
2
+ export * from "./control-attribute-types";
3
+ export * from "./standardPropertyTypes";
4
+ export * from "./status";
@@ -0,0 +1,50 @@
1
+ export declare enum StandardPropertyTypes {
2
+ Checkbox = "Checkbox",
3
+ ColumnDataType = "ColumnDataType",
4
+ RadioChooser = "RadioChooser",
5
+ ColumnEditor = "ColumnEditor",
6
+ ColumnGroup = "ColumnGroup",
7
+ ColumnsEditor = "ColumnsEditor",
8
+ DataSource = "DataSource",
9
+ EntityChooser = "EntityChooser",
10
+ EntityScorecard = "EntityScorecard",
11
+ FormSearchEntityChooser = "FormSearchEntityChooser",
12
+ FileCategoryDataSource = "FileCategoryDataSource",
13
+ GroupChooser = "GroupChooser",
14
+ HeightEditor = "HeightEditor",
15
+ InlineStoredFile = "InlineStoredFile",
16
+ InterpolatedTextEditor = "InterpolatedTextEditor",
17
+ InterpolatedTextInput = "InterpolatedTextInput",
18
+ LinkedObjectDataSource = "LinkedObjectDataSource",
19
+ LinkedObjectFields = "LinkedObjectFields",
20
+ LinkedPage = "LinkedPage",
21
+ LinkedRecordSummaryResultEntities = "LinkedRecordSummaryResultEntities",
22
+ MultiEditor = "MultiEditor",
23
+ NumericRange = "NumericRange",
24
+ ObjectLabelEditor = "ObjectLabelEditor",
25
+ Picklist = "Picklist",
26
+ RelationshipMulti = "RelationshipMulti",
27
+ RelationshipSummary = "RelationshipSummary",
28
+ RendererPanel = "RendererPanel",
29
+ ReadOnly = "ReadOnly",
30
+ Required = "Required",
31
+ Separator = "Separator",
32
+ SeparatorStart = "SeparatorStart",
33
+ SlidingScale = "SlidingScale",
34
+ SubDocumentDataSource = "SubDocumentDataSource",
35
+ SubDocumentDualAxisGraph = "SubDocumentDualAxisGraph",
36
+ TextInput = "TextInput",
37
+ Traversal = "Traversal",
38
+ TraversalMulti = "TraversalMulti",
39
+ CreateContextSelect = "CreateContextSelect",
40
+ ChartDataSource = "ChartDataSource",
41
+ ReportDataSourceChooser = "ReportDataSourceChooser",
42
+ RadioSwitch = "RadioSwitch",
43
+ Thresholds = "Thresholds",
44
+ UserGroupChooser = "UserGroupChooser",
45
+ TileProviderChooser = "TileProviderChooser",
46
+ StatusThresholdPicker = "StatusThresholdPicker",
47
+ Hidden = "Hidden",
48
+ Disabled = "Disabled",
49
+ Condition = "Condition"
50
+ }
@@ -0,0 +1,52 @@
1
+ // internal control property/typeAttribute types
2
+ export var StandardPropertyTypes;
3
+ (function (StandardPropertyTypes) {
4
+ StandardPropertyTypes["Checkbox"] = "Checkbox";
5
+ StandardPropertyTypes["ColumnDataType"] = "ColumnDataType";
6
+ StandardPropertyTypes["RadioChooser"] = "RadioChooser";
7
+ StandardPropertyTypes["ColumnEditor"] = "ColumnEditor";
8
+ StandardPropertyTypes["ColumnGroup"] = "ColumnGroup";
9
+ StandardPropertyTypes["ColumnsEditor"] = "ColumnsEditor";
10
+ StandardPropertyTypes["DataSource"] = "DataSource";
11
+ StandardPropertyTypes["EntityChooser"] = "EntityChooser";
12
+ StandardPropertyTypes["EntityScorecard"] = "EntityScorecard";
13
+ StandardPropertyTypes["FormSearchEntityChooser"] = "FormSearchEntityChooser";
14
+ StandardPropertyTypes["FileCategoryDataSource"] = "FileCategoryDataSource";
15
+ StandardPropertyTypes["GroupChooser"] = "GroupChooser";
16
+ StandardPropertyTypes["HeightEditor"] = "HeightEditor";
17
+ StandardPropertyTypes["InlineStoredFile"] = "InlineStoredFile";
18
+ StandardPropertyTypes["InterpolatedTextEditor"] = "InterpolatedTextEditor";
19
+ StandardPropertyTypes["InterpolatedTextInput"] = "InterpolatedTextInput";
20
+ StandardPropertyTypes["LinkedObjectDataSource"] = "LinkedObjectDataSource";
21
+ StandardPropertyTypes["LinkedObjectFields"] = "LinkedObjectFields";
22
+ StandardPropertyTypes["LinkedPage"] = "LinkedPage";
23
+ StandardPropertyTypes["LinkedRecordSummaryResultEntities"] = "LinkedRecordSummaryResultEntities";
24
+ StandardPropertyTypes["MultiEditor"] = "MultiEditor";
25
+ StandardPropertyTypes["NumericRange"] = "NumericRange";
26
+ StandardPropertyTypes["ObjectLabelEditor"] = "ObjectLabelEditor";
27
+ StandardPropertyTypes["Picklist"] = "Picklist";
28
+ StandardPropertyTypes["RelationshipMulti"] = "RelationshipMulti";
29
+ StandardPropertyTypes["RelationshipSummary"] = "RelationshipSummary";
30
+ StandardPropertyTypes["RendererPanel"] = "RendererPanel";
31
+ StandardPropertyTypes["ReadOnly"] = "ReadOnly";
32
+ StandardPropertyTypes["Required"] = "Required";
33
+ StandardPropertyTypes["Separator"] = "Separator";
34
+ StandardPropertyTypes["SeparatorStart"] = "SeparatorStart";
35
+ StandardPropertyTypes["SlidingScale"] = "SlidingScale";
36
+ StandardPropertyTypes["SubDocumentDataSource"] = "SubDocumentDataSource";
37
+ StandardPropertyTypes["SubDocumentDualAxisGraph"] = "SubDocumentDualAxisGraph";
38
+ StandardPropertyTypes["TextInput"] = "TextInput";
39
+ StandardPropertyTypes["Traversal"] = "Traversal";
40
+ StandardPropertyTypes["TraversalMulti"] = "TraversalMulti";
41
+ StandardPropertyTypes["CreateContextSelect"] = "CreateContextSelect";
42
+ StandardPropertyTypes["ChartDataSource"] = "ChartDataSource";
43
+ StandardPropertyTypes["ReportDataSourceChooser"] = "ReportDataSourceChooser";
44
+ StandardPropertyTypes["RadioSwitch"] = "RadioSwitch";
45
+ StandardPropertyTypes["Thresholds"] = "Thresholds";
46
+ StandardPropertyTypes["UserGroupChooser"] = "UserGroupChooser";
47
+ StandardPropertyTypes["TileProviderChooser"] = "TileProviderChooser";
48
+ StandardPropertyTypes["StatusThresholdPicker"] = "StatusThresholdPicker";
49
+ StandardPropertyTypes["Hidden"] = "Hidden";
50
+ StandardPropertyTypes["Disabled"] = "Disabled";
51
+ StandardPropertyTypes["Condition"] = "Condition";
52
+ })(StandardPropertyTypes || (StandardPropertyTypes = {}));
@@ -0,0 +1,7 @@
1
+ export declare enum Status {
2
+ ALERT = "ALERT",
3
+ WARNING = "WARNING",
4
+ SUCCESS = "SUCCESS",
5
+ INFO = "INFO",
6
+ NEUTRAL = "NEUTRAL"
7
+ }
@@ -0,0 +1,8 @@
1
+ export var Status;
2
+ (function (Status) {
3
+ Status["ALERT"] = "ALERT";
4
+ Status["WARNING"] = "WARNING";
5
+ Status["SUCCESS"] = "SUCCESS";
6
+ Status["INFO"] = "INFO";
7
+ Status["NEUTRAL"] = "NEUTRAL";
8
+ })(Status || (Status = {}));
@@ -6,6 +6,7 @@ import { Control, RefreshablePageControlOptions, SlidingPanelContent, SlidingPan
6
6
  import { FieldTypeToRestrictions, FileRestrictions } from "./restrictions";
7
7
  import { AttachmentFormData } from "./file";
8
8
  import { MaskingControlApi, MaskingPageApi } from "./masking-api";
9
+ import { IControlClientStates } from "../../spb/page-viewer/control-member/api/control-state-api";
9
10
  /**
10
11
  * The minimum API that should be supported on control members across solutions.
11
12
  */
@@ -197,6 +198,13 @@ export interface ControlStateApi {
197
198
  * @deprecated use `api.control.masking.isMasked`
198
199
  */
199
200
  readonly maskActive: boolean;
201
+ /**
202
+ * Returns the state with a specified key.
203
+ * @method
204
+ * @param state {string} The key of the state to be returned.
205
+ * @returns The specified state of the calling control, or undefined if no match.
206
+ */
207
+ get<T extends keyof IControlClientStates>(state: T): boolean | undefined;
200
208
  /**
201
209
  * Registers a function to be invoked whenever a state change event occurs.
202
210
  * This function receives an object that contains information about the change event.
@@ -391,8 +399,9 @@ export interface ControlPageApi extends ControlPageApiBase {
391
399
  * When providing a url for content: the panel properties will be available on the controller's "slidingPanel" object.
392
400
  * When providing a selector for content: the properties will be set on the element to be created.
393
401
  * @param [onClose] {function} A callback function invoked when the panel is dismissed. There are no parameters. Returns void.
402
+ * @param [focusPreviousActiveElementOnClose] {boolean} Toggle for whether the app should apply focus to the last active element before the panel was opened.
394
403
  */
395
- toggleSlidingPanel<T>(sectionLabel?: string, content?: SlidingPanelContent<T>, panelProperties?: SlidingPanelProperties, onClose?: () => void): void;
404
+ toggleSlidingPanel<T>(sectionLabel?: string, content?: SlidingPanelContent<T>, panelProperties?: SlidingPanelProperties, onClose?: () => void, focusPreviousActiveElementOnClose?: boolean): void;
396
405
  /**
397
406
  * Checks if a page is in edit mode.
398
407
  * @method
@@ -439,6 +448,11 @@ export interface ControlPageApi extends ControlPageApiBase {
439
448
  */
440
449
  masking: MaskingPageApi;
441
450
  onNavigationStart(callback: () => void): void;
451
+ /**
452
+ * Checks if the sliding panel is pinned
453
+ * @returns A boolean value that checks whether the sliding panel is pinned.
454
+ */
455
+ isSlidingPanelPinned(): boolean | undefined;
442
456
  }
443
457
  /**
444
458
  * Methods related to files.
package/control/page.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Type } from "@angular/core";
2
2
  import { ActionState } from "../object/object-api";
3
- export declare const enum PageModeEvent {
3
+ export declare enum PageModeEvent {
4
4
  CREATE = "create",
5
5
  EDIT = "edit",
6
6
  OPEN = "open",
package/control/page.js CHANGED
@@ -1 +1,8 @@
1
- export {};
1
+ export var PageModeEvent;
2
+ (function (PageModeEvent) {
3
+ PageModeEvent["CREATE"] = "create";
4
+ PageModeEvent["EDIT"] = "edit";
5
+ PageModeEvent["OPEN"] = "open";
6
+ PageModeEvent["INSPECT"] = "inspect";
7
+ PageModeEvent["SUMMARY"] = "summary";
8
+ })(PageModeEvent || (PageModeEvent = {}));
@@ -17,6 +17,14 @@ export interface IdentitySummary {
17
17
  state?: IdentityState;
18
18
  type: IdentityType;
19
19
  }
20
+ export interface IdentityFlatMembership {
21
+ id: string;
22
+ name: string;
23
+ providerId: string;
24
+ implicit: boolean;
25
+ parentsIds?: string[];
26
+ topLevel: boolean;
27
+ }
20
28
  export interface UserSummary extends IdentitySummary {
21
29
  readonly type: IdentityType.User;
22
30
  }
@@ -53,7 +61,7 @@ export interface CurrentUserApi {
53
61
  * @param limit Maximum number of groups to be returned. Default: 1000.
54
62
  * @returns A list of group details.
55
63
  */
56
- getUserMemberships(limit?: number): Promise<IdentitySummary[]>;
64
+ getUserMemberships(limit?: number): Promise<IdentityFlatMembership[]>;
57
65
  /**
58
66
  * @method
59
67
  * @description Verifies if the current user has administration features.
@@ -1,3 +1,4 @@
1
+ import { expectType } from "../../shared/util/helper-functions";
1
2
  export var IdentityState;
2
3
  (function (IdentityState) {
3
4
  IdentityState["Active"] = "active";
@@ -9,3 +10,4 @@ export var IdentityType;
9
10
  IdentityType["User"] = "user";
10
11
  IdentityType["Group"] = "group";
11
12
  })(IdentityType || (IdentityType = {}));
13
+ expectType(true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sassoftware/vi-api",
3
- "version": "1.44.0",
3
+ "version": "1.46.0",
4
4
  "description": "Types used in the SAS Visual Investigator API",
5
5
  "keywords": [
6
6
  "SAS",
@@ -1,4 +1,4 @@
1
- import { ResourcedString } from "../svi-datahub";
1
+ import { ControlAttributeMap, IBaseControlAttribute, IGenericControlAttribute } from "../config/control-attribute-types";
2
2
  import { Control } from "../control/page";
3
3
  import { ChildNode, TypeAttributes } from "../object/object-api";
4
4
  import { PageTemplateMetadata } from "../page-model/page-model-api";
@@ -11,20 +11,7 @@ export interface EntityToolbarItem {
11
11
  [attr: string]: any;
12
12
  };
13
13
  }
14
- export interface PropertyConfig {
15
- [property: string]: any;
16
- order?: number;
17
- type: string;
18
- displayName: ResourcedString;
19
- required?: boolean | string;
20
- localizable?: boolean | string;
21
- allowMultiple?: boolean | string;
22
- states?: Record<string, boolean>;
23
- defaultValue?: any;
24
- disabledExpression?: string;
25
- picklistName?: string;
26
- ignoreRestrictions?: boolean;
27
- }
14
+ export type PropertyConfig<T = any> = ControlAttributeMap<T>[keyof ControlAttributeMap<T>] | IBaseControlAttribute | IGenericControlAttribute;
28
15
  export interface SelectedNode {
29
16
  id: number;
30
17
  node: ChildNode;
@@ -1,6 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- // Generated using typescript-generator version 2.15.527 on 2024-10-22 14:13:02.
3
+ // Generated using typescript-generator version 2.15.527 on 2025-02-05 14:45:29.
4
4
 
5
5
  export interface BaseRep extends TrackedResource {
6
6
  links?: Link[];
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@types/score-reps",
3
- "version": "7.4.4",
3
+ "version": "8.1.2",
4
4
  "types": "index.d.ts"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- // Generated using typescript-generator version 2.15.527 on 2024-11-13 16:05:22.
3
+ // Generated using typescript-generator version 2.15.527 on 2025-02-05 16:08:26.
4
4
 
5
5
  export interface SecuredApiMeta {
6
6
  experimental?: boolean;
@@ -13,10 +13,10 @@ export interface SecuredApiMeta {
13
13
  }
14
14
 
15
15
  export interface SecuredBuild {
16
+ buildVersion?: string;
16
17
  applicationVersion?: string;
17
18
  sourceId?: string;
18
19
  sourceTimeStamp?: string;
19
- buildVersion?: string;
20
20
  timeStamp?: string;
21
21
  }
22
22
 
@@ -47,10 +47,10 @@ export interface ResourceMediaTypes {
47
47
  }
48
48
 
49
49
  export interface Build extends Serializable {
50
+ buildVersion?: string;
50
51
  applicationVersion?: string;
51
52
  sourceId?: string;
52
53
  sourceTimeStamp?: string;
53
- buildVersion?: string;
54
54
  timeStamp?: string;
55
55
  }
56
56
 
@@ -568,6 +568,7 @@ export interface AdminReferenceListController {
568
568
  }
569
569
 
570
570
  export interface AdminRelationshipController {
571
+ allRelationships?: ResponseEntity<RelationshipDTO[]>;
571
572
  }
572
573
 
573
574
  export interface AdminRulesCacheController {
@@ -768,13 +769,13 @@ export interface CoreRelationship extends CoreDataObjectWithHistory {
768
769
  styles?: LinkStyleEntity[];
769
770
  heterogeneous?: boolean;
770
771
  primaryKeyFields?: CoreRelationshipField[];
772
+ internalHeterogeneous?: boolean;
771
773
  attributeFields?: CoreRelationshipField[];
772
774
  nonAttributeFieldNames?: string[];
773
775
  foreignKeyFieldNames?: string[];
774
- internalHeterogeneous?: boolean;
775
776
  reverseLabel?: string;
776
- qualifiedName?: string;
777
777
  link?: boolean;
778
+ qualifiedName?: string;
778
779
  readOnly?: boolean;
779
780
  }
780
781
 
@@ -2793,8 +2794,8 @@ export interface Entity extends SolutionAssignedDTO {
2793
2794
  markerColor?: string;
2794
2795
  borderColor?: string;
2795
2796
  borderWidth?: number;
2796
- compounds?: Compound[];
2797
2797
  useForNetworkBuild?: boolean;
2798
+ compounds?: Compound[];
2798
2799
  temporalSplitting?: boolean;
2799
2800
  displayTextElements?: SortableNameReference[];
2800
2801
  linkDisplayTextElements?: SortableNameReference[];
@@ -2859,8 +2860,8 @@ export interface ReferenceListSummary {
2859
2860
  }
2860
2861
 
2861
2862
  export interface Relationship extends DataObject {
2862
- toObjectName?: string;
2863
2863
  fromObjectName?: string;
2864
+ toObjectName?: string;
2864
2865
  cardinality?: RelationshipCardinality;
2865
2866
  previousCardinality?: RelationshipCardinality;
2866
2867
  symmetric?: boolean;
@@ -2871,14 +2872,14 @@ export interface Relationship extends DataObject {
2871
2872
  fromObjectLabel?: string;
2872
2873
  toObjectLabel?: string;
2873
2874
  toObjectTypeNames?: string[];
2874
- summaryFields?: SortableNameReference[];
2875
2875
  heterogeneousLink?: boolean;
2876
2876
  linkFields?: { [index: string]: string }[];
2877
2877
  joinTableName?: string;
2878
2878
  required?: boolean;
2879
- color?: string;
2880
2879
  qualifiedName?: string;
2880
+ color?: string;
2881
2881
  managed?: boolean;
2882
+ summaryFields?: SortableNameReference[];
2882
2883
  width?: number;
2883
2884
  type?: RelationshipType;
2884
2885
  }
@@ -2923,8 +2924,8 @@ export interface StoredDataObject extends DataObject {
2923
2924
  }
2924
2925
 
2925
2926
  export interface Transaction extends DataObject {
2926
- toObjectName?: string;
2927
2927
  fromObjectName?: string;
2928
+ toObjectName?: string;
2928
2929
  toObjectTypeFieldName?: string;
2929
2930
  fromObjectTypeFieldName?: string;
2930
2931
  fromObjectRefFieldName?: string;
@@ -2990,9 +2991,9 @@ export interface EntityImpl extends Entity {
2990
2991
  }
2991
2992
 
2992
2993
  export interface FileCategory {
2994
+ required?: boolean;
2993
2995
  allowMultiple?: boolean;
2994
2996
  documentLockRequired?: boolean;
2995
- required?: boolean;
2996
2997
  name?: string;
2997
2998
  displayName?: string;
2998
2999
  }
@@ -3702,8 +3703,7 @@ export interface TemplateType extends Comparable<TemplateType> {
3702
3703
  label?: string;
3703
3704
  }
3704
3705
 
3705
- export interface Job {
3706
- version?: number;
3706
+ export interface JobV1 {
3707
3707
  id?: string;
3708
3708
  name?: string;
3709
3709
  description?: string;
@@ -3711,36 +3711,33 @@ export interface Job {
3711
3711
  tags?: string[];
3712
3712
  status?: Status;
3713
3713
  startedBy?: string;
3714
- startedAt?: Date;
3715
- endedAt?: Date;
3714
+ startedTimeStamp?: Date;
3715
+ endedTimeStamp?: Date;
3716
3716
  message?: string;
3717
- tasks?: Task[];
3717
+ tasks?: TaskV1[];
3718
3718
  links?: RestRepresentationsLink[];
3719
+ version?: number;
3719
3720
  }
3720
3721
 
3721
- export interface JobV1 extends Job {
3722
- startedTimeStamp?: Date;
3723
- endedTimeStamp?: Date;
3722
+ export interface JobV1Builder {
3724
3723
  }
3725
3724
 
3726
- export interface Task {
3727
- version?: number;
3725
+ export interface TaskV1 {
3728
3726
  parent?: string;
3729
3727
  id?: string;
3730
3728
  name?: string;
3731
3729
  description?: string;
3732
3730
  parameters?: { [index: string]: any };
3733
3731
  status?: Status;
3734
- startedAt?: Date;
3735
- endedAt?: Date;
3732
+ startedTimeStamp?: Date;
3733
+ endedTimeStamp?: Date;
3736
3734
  message?: string;
3737
- subTasks?: Task[];
3735
+ subTasks?: TaskV1[];
3738
3736
  links?: RestRepresentationsLink[];
3737
+ version?: number;
3739
3738
  }
3740
3739
 
3741
- export interface TaskV1 extends Task {
3742
- startedTimeStamp?: Date;
3743
- endedTimeStamp?: Date;
3740
+ export interface TaskV1Builder {
3744
3741
  }
3745
3742
 
3746
3743
  export interface CreatedEvent extends JobEvent {
@@ -3865,8 +3862,8 @@ export interface JavaType extends ResolvedType, Serializable, Type {
3865
3862
  keyType?: JavaType;
3866
3863
  interfaces?: JavaType[];
3867
3864
  genericSignature?: string;
3868
- contentType?: JavaType;
3869
3865
  bindings?: TypeBindings;
3866
+ contentType?: JavaType;
3870
3867
  }
3871
3868
 
3872
3869
  export interface JsonDeserializer<T> extends NullValueProvider {
@@ -4161,9 +4158,9 @@ export interface StdSerializer<T> extends JsonSerializer<T>, JsonFormatVisitable
4161
4158
  export interface HttpStatusCode extends Serializable {
4162
4159
  "4xxClientError"?: boolean;
4163
4160
  "5xxServerError"?: boolean;
4164
- "3xxRedirection"?: boolean;
4165
4161
  "1xxInformational"?: boolean;
4166
4162
  "2xxSuccessful"?: boolean;
4163
+ "3xxRedirection"?: boolean;
4167
4164
  error?: boolean;
4168
4165
  }
4169
4166
 
@@ -4306,14 +4303,14 @@ export interface ObjectIdInfo {
4306
4303
  generatorType?: Class<ObjectIdGenerator<any>>;
4307
4304
  resolverType?: Class<ObjectIdResolver>;
4308
4305
  alwaysAsId?: boolean;
4309
- scope?: Class<any>;
4310
4306
  propertyName?: PropertyName;
4307
+ scope?: Class<any>;
4311
4308
  }
4312
4309
 
4313
4310
  export interface TypeDeserializer {
4314
- defaultImpl?: Class<any>;
4315
4311
  typeInclusion?: As;
4316
4312
  typeIdResolver?: TypeIdResolver;
4313
+ defaultImpl?: Class<any>;
4317
4314
  propertyName?: string;
4318
4315
  }
4319
4316
 
@@ -4615,7 +4612,7 @@ export type IconType = "REGULAR" | "MAP";
4615
4612
 
4616
4613
  export type JobType = "SEARCH_INDEX_LOADER" | "PROCESS_ATTACHMENTS" | "IMPORT_CONFIG";
4617
4614
 
4618
- export type MetadataObjectType = "ICON" | "DOCUMENT" | "LINK" | "TRANSACTION" | "ELEMENT" | "ENTITY" | "TEMPLATE" | "TRAVERSAL" | "CONTROL" | "CONTROL_CATEGORY" | "CONTEXT_MAPPING" | "ACTION" | "ACTION_ITEM" | "REFERENCE_LIST" | "HIERARCHICAL_REFERENCE_DATA" | "CLIENT_APPLICATION" | "TEMPLATE_TYPE" | "CONDITION" | "DATA_STORE" | "SOLUTION" | "ACTIVE_HOMEPAGE";
4615
+ export type MetadataObjectType = "ICON" | "DOCUMENT" | "LINK" | "TRANSACTION" | "ELEMENT" | "ENTITY" | "TEMPLATE" | "TRAVERSAL" | "CONTROL" | "CONTROL_CATEGORY" | "CONTEXT_MAPPING" | "ACTION" | "ACTION_ITEM" | "REFERENCE_LIST" | "HIERARCHICAL_REFERENCE_DATA" | "CLIENT_APPLICATION" | "TEMPLATE_TYPE" | "CONDITION" | "DATA_STORE" | "SOLUTION" | "ACTIVE_HOMEPAGE" | "ENTITY_LEVEL_RULES";
4619
4616
 
4620
4617
  export type NodeShape = "CIRCLE" | "SQUARE" | "DIAMOND" | "ELLIPSE" | "HEXAGON" | "PENTAGON" | "TRIANGLE";
4621
4618
 
@@ -4673,7 +4670,7 @@ export type Status = "pending" | "running" | "stopping" | "cancelled" | "complet
4673
4670
 
4674
4671
  export type AccessPattern = "ALWAYS_NULL" | "CONSTANT" | "DYNAMIC";
4675
4672
 
4676
- export type ErrorCode = "DH0100" | "DH0101" | "DH0102" | "DH0103" | "DH0120" | "DH0121" | "DH0122" | "DH0300" | "DH0301" | "DH0302" | "DH0303" | "DH0304" | "DH0305" | "DH0306" | "DH0307" | "DH0400" | "DH1062" | "DH1063" | "DH1070" | "DH1090" | "DH1200" | "DH1202" | "DH1203" | "DH1204" | "DH1205" | "DH1206" | "DH1207" | "DH1208" | "DH1210" | "DH1219" | "DH1220" | "DH1221" | "DH1300" | "DH1310" | "DH1311" | "DH1312" | "DH1313" | "differing_datatypes_when_sorting_error" | "DH1320" | "DH1321" | "DH1354" | "DH1355" | "DH1356" | "DH1357" | "could_not_apply_json_patch_to_document" | "could_not_apply_json_patch_to_link" | "json_patch_invalid_operation_required" | "json_patch_operation_not_allowed_at_path" | "DH1402" | "DH1405" | "DH1406" | "DH1408" | "DH1409" | "DH1410" | "DH1412" | "DH1413" | "DH1414" | "DH1415" | "DH1416" | "DH1418" | "DH1419" | "DH1420" | "DH1501" | "DH1502" | "DH1503" | "DH1506" | "DH1507" | "DH1508" | "DH1509" | "DH1510" | "DH1511" | "DH1512" | "DH1513" | "DH1515" | "DH1517" | "DH1518" | "DH1519" | "DH1520" | "unable_to_serialize_json" | "DH1521" | "DH1522" | "DH1523" | "DH1524" | "DH1525" | "DH1526" | "DH1528" | "DH1529" | "DH1530" | "DH1531" | "DH1532" | "DH1533" | "DH1534" | "DH1535" | "DH1536" | "DH1537" | "DH1538" | "DH1539" | "DH1540" | "DH1541" | "DH1544" | "DH1545" | "DH1560" | "DH1561" | "DH1562" | "job_already_running" | "import_config_job_already_running" | "DH1563" | "DH1564" | "DH1565" | "DH1566" | "DH2300" | "DH2301" | "DH2302" | "DH2303" | "DH2304" | "DH2305" | "DH2312" | "DH2313" | "DH2320" | "DH2321" | "DH2322" | "DH2323" | "DH2324" | "DH3000" | "DH3003" | "DH3004" | "DH3005" | "DH3006" | "DH3007" | "DH3010" | "DH3011" | "DH3012" | "DH3013" | "DH3014" | "DH3015" | "DH3016" | "DH3017" | "DH3018" | "DH3019" | "DH3020" | "DH3021" | "DH3022" | "DH3023" | "DH3024" | "DH3025" | "DH3026" | "DH3027" | "DH3029" | "DH3030" | "DH3031" | "DH3032" | "DH3033" | "DH3035" | "DH3065" | "DH3066" | "DH3067" | "DH3068" | "DH3070" | "DH3071" | "DH3072" | "DH3073" | "DH3076" | "DH3077" | "DH3078" | "DH3079" | "data_store_credential_create_op_failed" | "data_store_credential_read_op_failed" | "data_store_credential_update_op_failed" | "data_store_credential_delete_op_failed" | "data_store_credential_delete_op_unauthorized" | "data_store_internal_property_not_found" | "data_store_internal_resolved_property_not_found" | "DH3080" | "DH3081" | "DH3082" | "DH3083" | "DH3084" | "DH3085" | "DH3086" | "DH3087" | "DH3088" | "DH3089" | "DH3090" | "DH3100" | "DH3101" | "DH3102" | "DH3103" | "DH3105" | "DH3106" | "DH3107" | "DH3108" | "DH3109" | "DH3110" | "DH3112" | "DH3113" | "DH3114" | "DH3115" | "DH3116" | "DH3118" | "DH3119" | "DH3120" | "DH3122" | "DH3123" | "DH3124" | "DH3125" | "DH3126" | "DH3127" | "DH3129" | "DH3130" | "DH3132" | "DH3133" | "DH3135" | "DH3137" | "DH3138" | "DH3139" | "DH3140" | "DH3141" | "DH3142" | "DH3145" | "DH3146" | "DH3147" | "DH3148" | "DH3150" | "DH3151" | "DH3152" | "DH3153" | "DH3154" | "DH3155" | "DH3156" | "DH3157" | "DH3158" | "missing_primary_key_field_for_transaction" | "DH3160" | "DH3161" | "DH3162" | "DH3163" | "DH3164" | "DH3165" | "DH3166" | "DH3167" | "DH3168" | "DH3169" | "DH3170" | "DH3171" | "DH3172" | "DH3175" | "DH3176" | "DH3177" | "DH3178" | "DH3179" | "DH3180" | "DH3181" | "DH3182" | "DH3183" | "DH3184" | "DH3185" | "DH3186" | "DH3187" | "DH3188" | "DH3189" | "DH3190" | "DH3191" | "DH3192" | "DH3193" | "DH3194" | "DH3195" | "DH3196" | "DH3197" | "DH3198" | "DH3199" | "DH3200" | "DH3201" | "DH3202" | "DH3203" | "DH3205" | "DH3206" | "DH3207" | "DH3208" | "DH3209" | "DH3210" | "DH3211" | "DH3212" | "DH3213" | "DH3214" | "DH3215" | "DH3216" | "DH3217" | "DH3218" | "DH3219" | "DH3220" | "DH3221" | "DH3222" | "DH3223" | "DH3224" | "DH3225" | "DH3226" | "DH3227" | "DH3228" | "DH3229" | "DH3230" | "DH3231" | "DH3232" | "DH3238" | "DH3240" | "DH3261" | "DH3264" | "DH3266" | "DH3267" | "DH3268" | "DH3269" | "DH3272" | "DH3273" | "DH3274" | "DH3275" | "DH3276" | "DH3278" | "DH3279" | "DH3280" | "DH3281" | "DH3282" | "DH3283" | "DH3284" | "DH3285" | "DH3286" | "DH3287" | "DH3288" | "DH3289" | "DH3290" | "DH3291" | "DH3294" | "DH3295" | "DH3296" | "DH3298" | "DH3299" | "DH3300" | "DH3302" | "DH3303" | "DH3304" | "incompatibleColumnDataTypeForConstrainedExternalField" | "DH3310" | "DH3311" | "DH3312" | "DH3313" | "DH3320" | "DH3321" | "DH3324" | "DH3330" | "DH3338" | "DH3339" | "DH3340" | "DH3341" | "DH3342" | "DH3343" | "DH3344" | "DH3345" | "DH3346" | "DH3347" | "DH3348" | "DH3349" | "DH3351" | "DH3352" | "DH3353" | "DH3354" | "DH3355" | "DH3356" | "DH3357" | "DH3358" | "DH3359" | "DH3360" | "DH3361" | "DH3362" | "DH3363" | "DH3364" | "DH3365" | "DH3380" | "DH3381" | "DH3382" | "DH3400" | "DH3401" | "DH3402" | "DH3404" | "DH3405" | "DH3414" | "DH3419" | "DH3420" | "DH3422" | "DH3424" | "DH3425" | "DH3426" | "DH3427" | "DH3428" | "DH3429" | "DH3430" | "DH3431" | "DH3432" | "DH3433" | "DH3440" | "DH3441" | "DH3442" | "DH3443" | "DH3444" | "DH3445" | "DH3446" | "DH3447" | "DH3448" | "DH3450" | "DH3451" | "DH3452" | "DH3453" | "DH3454" | "DH3455" | "DH3456" | "DH3466" | "DH3470" | "DH3471" | "DH3472" | "DH3473" | "DH3474" | "DH3475" | "DH3476" | "DH3477" | "DH3478" | "DH3479" | "DH3480" | "DH3481" | "DH3482" | "DH3483" | "DH3484" | "DH3486" | "DH3487" | "DH3488" | "DH3489" | "DH3490" | "DH3491" | "DH3492" | "DH3493" | "DH3494" | "DH3495" | "DH3497" | "DH3498" | "DH3500" | "DH3501" | "DH3502" | "DH3503" | "DH3504" | "DH3505" | "DH3506" | "DH3507" | "DH3508" | "DH3509" | "DH3510" | "publishCodeCannotBeModifiedForContextMapping" | "invalid_client_application" | "DH3511" | "DH3512" | "DH3513" | "DH3514" | "DH3515" | "DH3516" | "DH3517" | "userGroupMembershipOperatorCanOnlyBeUsedForUserGroupChooserFields" | "userGroupMembershipOperatorMustReferenceFieldOrValueButNotBoth" | "DH3520" | "DH3600" | "DH3601" | "DH3602" | "DH3620" | "DH3621" | "DH3650" | "DH3651" | "DH3652" | "DH3653" | "DH3654" | "DH3655" | "DH3700" | "DH3701" | "DH3702" | "DH3703" | "DH3704" | "DH3705" | "DH3706" | "DH3708" | "DH3709" | "DH3710" | "DH3711" | "DH3712" | "DH3713" | "DH3714" | "DH3715" | "DH3716" | "DH3717" | "DH3718" | "DH3719" | "DH3720" | "DH3721" | "DH3723" | "DH3724" | "DH3725" | "DH3726" | "DH3727" | "DH3728" | "DH3729" | "DH3730" | "DH3731" | "DH3732" | "DH3733" | "DH3734" | "DH3735" | "DH3736" | "DH3737" | "DH3738" | "DH3739" | "DH3740" | "DH3741" | "DH3742" | "DH3743" | "DH3744" | "DH4100" | "DH4101" | "DH4102" | "DH4103" | "DH4114" | "DH4116" | "DH4120" | "DH4129" | "DH4130" | "DH4131" | "DH4132" | "DH4133" | "DH4134" | "DH4135" | "DH4136" | "DH4137" | "DH4138" | "DH4139" | "DH4140" | "DH4141" | "DH4142" | "DH4143" | "DH4144" | "DH4145" | "DH4150" | "DH4151" | "DH4152" | "DH4153" | "DH4154" | "DH4155" | "DH4156" | "DH4157" | "DH4158" | "DH4159" | "DH4160" | "DH4162" | "DH4163" | "column_not_found_for_heterogeneous_link_field" | "DH4167" | "DH4168" | "rel_child_must_ref_parent_by_pk" | "DH4170" | "DH4173" | "DH4174" | "DH4175" | "DH4179" | "DH4180" | "DH4181" | "DH4182" | "DH4183" | "DH4184" | "DH4185" | "DH4186" | "DH4187" | "DH4188" | "DH4189" | "DH4190" | "DH4191" | "DH4192" | "DH4193" | "DH4194" | "DH4200" | "DH4201" | "DH4202" | "DH4203" | "DH4207" | "DH4208" | "DH4211" | "DH4220" | "DH4221" | "DH4222" | "DH4223" | "DH4224" | "DH4225" | "DH4226" | "DH4227" | "DH4228" | "DH4229" | "DH4302" | "DH4332" | "DH4304" | "DH4305" | "DH4310" | "DH4331" | "DH4316" | "DH4317" | "DH4319" | "DH4320" | "DH4321" | "DH4322" | "DH4328" | "DH4330" | "DH4338" | "DH4343" | "DH4346" | "DH4347" | "DH4350" | "DH4351" | "DH4400" | "DH4401" | "DH4402" | "DH4403" | "DH4404" | "DH5100" | "DH5101" | "DH5102" | "DH5103" | "DH5104" | "DH5105" | "DH5107" | "DH5108" | "DH5109" | "DH5111" | "DH5112" | "DH5114" | "DH5115" | "DH5116" | "DH5118" | "DH5119" | "DH5120" | "DH5121" | "write_only_at_create_for_relationship_requires_read_only" | "DH5122" | "DH5123" | "DH5125" | "DH5126" | "DH5127" | "DH5128" | "DH5129" | "DH5130" | "DH5131" | "DH5133" | "DH5134" | "DH5135" | "DH5200" | "DH5201" | "DH5202" | "DH5203" | "DH5204" | "DH5205" | "DH5206" | "DH5207" | "DH5210" | "DH5211" | "DH5212" | "DH5213" | "DH5500" | "DH5501" | "DH5502" | "DH5503" | "DH5504" | "DH5505" | "DH5506" | "DH5507" | "import_database_error" | "import_database_error_for_type" | "export_failed" | "DH5600" | "DH5601" | "DH5602" | "DH5603" | "DH6099" | "DH6100" | "DH6101" | "DH6102" | "DH6103" | "DH6104" | "DH6105" | "stored_objects_with_names_not_found" | "DH6106" | "DH6107" | "DH6108" | "DH6109" | "entity_does_not_have_relationship" | "DH6110" | "DH6112" | "DH6113" | "DH6114" | "DH6116" | "DH6118" | "DH6119" | "DH6120" | "icon_svg_invalid" | "icon_invalid_image_type" | "DH6122" | "DH6123" | "DH6124" | "DH6125" | "DH6126" | "DH6127" | "DH6128" | "DH6129" | "DH6131" | "DH6132" | "DH6133" | "DH6134" | "DH6135" | "DH6136" | "DH6137" | "DH6138" | "DH6139" | "DH6140" | "DH6141" | "DH6142" | "DH6143" | "DH6144" | "DH6145" | "DH6146" | "DH6147" | "DH6148" | "DH6149" | "DH6150" | "DH6151" | "DH6152" | "DH6153" | "DH6154" | "DH6155" | "DH6156" | "DH6157" | "DH6158" | "DH6159" | "DH6160" | "DH6161" | "DH6162" | "DH6163" | "DH6164" | "DH6165" | "DH6166" | "DH6167" | "DH6168" | "DH6169" | "DH6170" | "DH6171" | "DH6172" | "DH6173" | "DH6174" | "DH6175" | "DH6176" | "DH6177" | "DH6178" | "DH6179" | "DH6180" | "DH6181" | "DH6182" | "DH6183" | "DH6184" | "DH6185" | "DH6186" | "DH6187" | "DH6188" | "DH6189" | "DH6191" | "DH6198" | "DH6199" | "DH6200" | "DH6201" | "DH6202" | "DH6203" | "DH6205" | "DH6206" | "DH6207" | "DH6208" | "DH6209" | "DH6210" | "DH6211" | "DH6212" | "DH6213" | "DH6214" | "DH6215" | "DH6216" | "DH6217" | "DH6218" | "DH6219" | "DH6220" | "DH6221" | "DH6222" | "DH6223" | "media_type_mismatch" | "DH6224" | "DH6225" | "DH6226" | "tuning_global_parameters_must_be_supplied" | "tuning_parameters_property_cannot_be_empty" | "tuning_object_type_and_name_must_match_when_global_type" | "tuning_maximum_parameters_exceeded" | "tuning_no_parameters_supplied" | "value_must_be_supplied_for_tuning_parameter" | "invalid_tuning_parameter_name_supplied" | "tuning_parameter_values_must_be_greater_than_zero" | "tuning_parameter_values_must_not_exceed_max_int_value" | "tuning_parameter_cannot_have_decimal_value" | "tuning_non_global_values_cannot_have_default_values" | "global_default_values_cannot_be_updated" | "DH6300" | "DH6301" | "DH6302" | "DH6303" | "DH6304" | "DH6310" | "DH6311" | "condition_id_required" | "DH6350" | "DH6351" | "DH6352" | "DH6353" | "DH6354" | "DH6356" | "DH6357" | "DH6358" | "DH6360" | "DH6361" | "DH6362" | "DH6363" | "DH6364" | "DH6365" | "DH6366" | "DH6380" | "DH6381" | "DH6382" | "DH6383" | "DH6900" | "DH6901" | "DH6902" | "DH6903" | "DH6904" | "DH6905" | "DH6907" | "DH6910" | "DH6911" | "DH6912" | "DH6913" | "DH6914" | "DH6915" | "DH6916" | "DH6917" | "DH6918" | "not_a_valid_entity_date_field_w_id" | "not_a_valid_entity_timestamp_w_id" | "not_a_valid_entity_date_field_without_id" | "not_a_valid_entity_timestamp_without_id" | "not_a_valid_relationship_entity_date_field_w_id" | "not_a_valid_relationship_entity_timestamp_w_id" | "not_a_valid_relationship_entity_date_field_without_id" | "not_a_valid_relationship_entity_timestamp_without_id" | "DH6919" | "DH6920" | "DH6921" | "DH6922" | "DH6923" | "DH6998" | "DH6999" | "DH7000" | "DH7001" | "DH7002" | "DH7003" | "DH7004" | "DH7005" | "DH7006" | "DH7008" | "DH7009" | "DH7010" | "DH7011" | "DH7012" | "DH7013" | "DH7014" | "DH7100" | "DH7101" | "DH7102" | "DH7103" | "DH7104" | "DH7105" | "DH7106" | "DH7107" | "DH7108" | "DH7109" | "DH7110" | "DH9000" | "DH9001" | "DH9003" | "DH9004" | "DH9005" | "DH9006" | "DH9010" | "DH9011" | "DH9012" | "DH9013" | "DH9014" | "DH9016" | "DH9017" | "DH9032" | "DH9034" | "DH9035" | "DH9036" | "DH9037" | "DH9040" | "DH9041" | "DH9042" | "DH9043" | "DH9044" | "solutionMustHaveUniqueName" | "solutionWithNameNotFound" | "solutionNameCannotBeChanged" | "solutionMustHaveUniqueNameArchivedClash" | "solutionCannotBeCreatedAsArchived" | "solutionArchivedCannotBeUpdated" | "solutionResourceVersionMustBeNullOr0OnCreate" | "solutionCannotBeArchivedThroughUpdate" | "solutionImportDuplicateLabel" | "solutionNameMustBeSet" | "solutionArchivedCannotBeAssigned" | "solutionArchivedCannotBePublished" | "solutionChildObjectMustBeAssignedToSameSolutionAsParentObject" | "solutionCannotBeArchivedAsAtLeastOneSolutionMustBeUnarchived" | "activeHomepageClientApplicationDoesNotExist" | "activeHomepageTemplateDoesNotExist" | "activeHomepageClientApplicationMismatch" | "activeHomepageWrongTemplateType" | "activeHomepageAlreadySetForClientApplication" | "activeHomepageNotFound" | "activeHomepageCannotDelete" | "activeHomepageUpdateIdMismatch" | "activeHomepageUpdateRequestIdMismatch" | "activeHomepageAlreadyExistsForClientApplication" | "activeHomepageDoesNotExistForClientApplication" | "activeHomepageCanOnlyBeChangedThroughTemplateUpsertWhenImport" | "noMatchingRulesForKey" | "contextMappingUuidMismatch" | "contextMappingInvalidUuid" | "contextMappingEntityOrClientMismatch" | "dataHubClientError" | "DH15000" | "DH15001" | "DH15002" | "DH15003" | "DH15004" | "DH17000" | "DH17001" | "invalid_job_json" | "authorized_to_reveal_masked_length" | "authorized_to_reveal_masked_should_be_null" | "authorized_to_reveal_masked_should_have_contents" | "authorized_to_reveal_masked_cannot_be_primary_key_field" | "user_group_not_authorized_to_reveal_masked_field" | "system_field_cannot_be_masked" | "field_used_in_join_condition_cannot_be_masked" | "field_used_in_txn_join_condition_cannot_be_masked" | "txn_field_used_in_txn_join_condition_cannot_be_masked" | "heterogeneous_external_join_key_field_cannot_be_masked" | "txn_field_used_in_ref_join_cannot_be_masked" | "file_is_quarantined" | "invalid_rest_api_parameter" | "invalid_rest_api_body" | "entity_type_not_found" | "condition_owner_not_found" | "template_type_not_found" | "field_value_contains_invalid_characters" | "size_constraint_violation_parameter" | "size_constraint_violation_body" | "character_constraint_violation_parameter" | "character_constraint_violation_body" | "character_constraint_violation_with_allow_list_parameter" | "character_constraint_violation_with_allow_list_body" | "time_zone_constraint_violation_parameter" | "time_zone_constraint_violation_body" | "uuid_constraint_violation_parameter" | "uuid_constraint_violation_body" | "sort_by_constraint_violation_parameter" | "sort_by_constraint_violation_body" | "locale_constraint_violation_parameter" | "locale_constraint_violation_body" | "expression_constraint_violation_parameter" | "expression_constraint_violation_body" | "invalid_control_solution_id";
4673
+ export type ErrorCode = "DH0100" | "DH0101" | "DH0102" | "DH0103" | "DH0120" | "DH0121" | "DH0122" | "DH0300" | "DH0301" | "DH0302" | "DH0303" | "DH0304" | "DH0305" | "DH0306" | "DH0307" | "DH0400" | "DH1062" | "DH1063" | "DH1070" | "DH1090" | "DH1200" | "DH1202" | "DH1203" | "DH1204" | "DH1205" | "DH1206" | "DH1207" | "DH1208" | "DH1210" | "DH1219" | "DH1220" | "DH1221" | "DH1300" | "DH1310" | "DH1311" | "DH1312" | "DH1313" | "differing_datatypes_when_sorting_error" | "DH1320" | "DH1321" | "DH1354" | "DH1355" | "DH1356" | "DH1357" | "could_not_apply_json_patch_to_document" | "could_not_apply_json_patch_to_link" | "json_patch_invalid_operation_required" | "json_patch_operation_not_allowed_at_path" | "DH1402" | "DH1405" | "DH1406" | "DH1408" | "DH1409" | "DH1410" | "DH1412" | "DH1413" | "DH1414" | "DH1415" | "DH1416" | "DH1418" | "DH1419" | "DH1420" | "DH1501" | "DH1502" | "DH1503" | "DH1506" | "DH1507" | "DH1508" | "DH1509" | "DH1510" | "DH1511" | "DH1512" | "DH1513" | "DH1515" | "DH1517" | "DH1518" | "DH1519" | "DH1520" | "unable_to_serialize_json" | "DH1521" | "DH1522" | "DH1523" | "DH1524" | "DH1525" | "DH1526" | "DH1528" | "DH1529" | "DH1530" | "DH1531" | "DH1532" | "DH1533" | "DH1534" | "DH1535" | "DH1536" | "DH1537" | "DH1538" | "DH1539" | "DH1540" | "DH1541" | "DH1544" | "DH1545" | "DH1560" | "DH1561" | "DH1562" | "job_already_running" | "import_config_job_already_running" | "DH1563" | "DH1564" | "DH1565" | "DH1566" | "DH2300" | "DH2301" | "DH2302" | "DH2303" | "DH2304" | "DH2305" | "DH2312" | "DH2313" | "DH2320" | "DH2321" | "DH2322" | "DH2323" | "DH2324" | "DH3000" | "DH3003" | "DH3004" | "DH3005" | "DH3006" | "DH3007" | "DH3010" | "DH3011" | "DH3012" | "DH3013" | "DH3014" | "DH3015" | "DH3016" | "DH3017" | "DH3018" | "DH3019" | "DH3020" | "DH3021" | "DH3022" | "DH3023" | "DH3024" | "DH3025" | "DH3026" | "DH3027" | "DH3029" | "DH3030" | "DH3031" | "DH3032" | "DH3033" | "DH3035" | "DH3065" | "DH3066" | "DH3067" | "DH3068" | "DH3070" | "DH3071" | "DH3072" | "DH3073" | "DH3076" | "DH3077" | "DH3078" | "DH3079" | "data_store_credential_create_op_failed" | "data_store_credential_read_op_failed" | "data_store_credential_update_op_failed" | "data_store_credential_delete_op_failed" | "data_store_credential_delete_op_unauthorized" | "data_store_internal_property_not_found" | "data_store_internal_resolved_property_not_found" | "DH3080" | "DH3081" | "DH3082" | "DH3083" | "DH3084" | "DH3085" | "DH3086" | "DH3087" | "DH3088" | "DH3089" | "DH3090" | "DH3100" | "DH3101" | "DH3102" | "DH3103" | "DH3105" | "DH3106" | "DH3107" | "DH3108" | "DH3109" | "DH3110" | "DH3112" | "DH3113" | "DH3114" | "DH3115" | "DH3116" | "DH3118" | "DH3119" | "DH3120" | "DH3122" | "DH3123" | "DH3124" | "DH3125" | "DH3126" | "DH3127" | "DH3129" | "DH3130" | "DH3132" | "DH3133" | "DH3135" | "DH3137" | "DH3138" | "DH3139" | "DH3140" | "DH3141" | "DH3142" | "DH3145" | "DH3146" | "DH3147" | "DH3148" | "DH3150" | "DH3151" | "DH3152" | "DH3153" | "DH3154" | "DH3155" | "DH3156" | "DH3157" | "DH3158" | "missing_primary_key_field_for_transaction" | "DH3160" | "DH3161" | "DH3162" | "DH3163" | "DH3164" | "DH3165" | "DH3166" | "DH3167" | "DH3168" | "DH3169" | "DH3170" | "DH3171" | "DH3172" | "DH3175" | "DH3176" | "DH3177" | "DH3178" | "DH3179" | "DH3180" | "DH3181" | "DH3182" | "DH3183" | "DH3184" | "DH3185" | "DH3186" | "DH3187" | "DH3188" | "DH3189" | "DH3190" | "DH3191" | "DH3192" | "DH3193" | "DH3194" | "DH3195" | "DH3196" | "DH3197" | "DH3198" | "DH3199" | "DH3200" | "DH3201" | "DH3202" | "DH3203" | "DH3205" | "DH3206" | "DH3207" | "DH3208" | "DH3209" | "DH3210" | "DH3211" | "DH3212" | "DH3213" | "DH3214" | "DH3215" | "DH3216" | "DH3217" | "DH3218" | "DH3219" | "DH3220" | "DH3221" | "DH3222" | "DH3223" | "DH3224" | "DH3225" | "DH3226" | "DH3227" | "DH3228" | "DH3229" | "DH3230" | "DH3231" | "DH3232" | "DH3238" | "DH3240" | "DH3261" | "DH3264" | "DH3266" | "DH3267" | "DH3268" | "DH3269" | "DH3272" | "DH3273" | "DH3274" | "DH3275" | "DH3276" | "DH3278" | "DH3279" | "DH3280" | "DH3281" | "DH3282" | "DH3283" | "DH3284" | "DH3285" | "DH3286" | "DH3287" | "DH3288" | "DH3289" | "DH3290" | "DH3291" | "DH3294" | "DH3295" | "DH3296" | "DH3298" | "DH3299" | "DH3300" | "DH3302" | "DH3303" | "DH3304" | "incompatibleColumnDataTypeForConstrainedExternalField" | "DH3310" | "DH3311" | "DH3312" | "DH3313" | "DH3320" | "DH3321" | "DH3324" | "DH3330" | "DH3338" | "DH3339" | "DH3340" | "DH3341" | "DH3342" | "DH3343" | "DH3344" | "DH3345" | "DH3346" | "DH3347" | "DH3348" | "DH3349" | "DH3351" | "DH3352" | "DH3353" | "DH3354" | "DH3355" | "DH3356" | "DH3357" | "DH3358" | "DH3359" | "DH3360" | "DH3361" | "DH3362" | "DH3363" | "DH3364" | "DH3365" | "DH3380" | "DH3381" | "DH3382" | "DH3400" | "DH3401" | "DH3402" | "DH3404" | "DH3405" | "DH3414" | "DH3419" | "DH3420" | "DH3422" | "DH3424" | "DH3425" | "DH3426" | "DH3427" | "DH3428" | "DH3429" | "DH3430" | "DH3431" | "DH3432" | "DH3433" | "DH3440" | "DH3441" | "DH3442" | "DH3443" | "DH3444" | "DH3445" | "DH3446" | "DH3447" | "DH3448" | "DH3450" | "DH3451" | "DH3452" | "DH3453" | "DH3454" | "DH3455" | "DH3456" | "DH3466" | "DH3470" | "DH3471" | "DH3472" | "DH3473" | "DH3474" | "DH3475" | "DH3476" | "DH3477" | "DH3478" | "DH3479" | "DH3480" | "DH3481" | "DH3482" | "DH3483" | "DH3484" | "DH3486" | "DH3487" | "DH3488" | "DH3489" | "DH3490" | "DH3491" | "DH3492" | "DH3493" | "DH3494" | "DH3495" | "DH3497" | "DH3498" | "DH3500" | "DH3501" | "DH3502" | "DH3503" | "DH3504" | "DH3505" | "DH3506" | "DH3507" | "DH3508" | "DH3509" | "DH3510" | "publishCodeCannotBeModifiedForContextMapping" | "invalid_client_application" | "DH3511" | "DH3512" | "DH3513" | "DH3514" | "DH3515" | "DH3516" | "DH3517" | "userGroupMembershipOperatorCanOnlyBeUsedForUserGroupChooserFields" | "userGroupMembershipOperatorMustReferenceFieldOrValueButNotBoth" | "DH3520" | "DH3600" | "DH3601" | "DH3602" | "DH3620" | "DH3621" | "DH3650" | "DH3651" | "DH3652" | "DH3653" | "DH3654" | "DH3655" | "DH3700" | "DH3701" | "DH3702" | "DH3703" | "DH3704" | "DH3705" | "DH3706" | "DH3708" | "DH3709" | "DH3710" | "DH3711" | "DH3712" | "DH3713" | "DH3714" | "DH3715" | "DH3716" | "DH3717" | "DH3718" | "DH3719" | "DH3720" | "DH3721" | "DH3723" | "DH3724" | "DH3725" | "DH3726" | "DH3727" | "DH3728" | "DH3729" | "DH3730" | "DH3731" | "DH3732" | "DH3733" | "DH3734" | "DH3735" | "DH3736" | "DH3737" | "DH3738" | "DH3739" | "DH3740" | "DH3741" | "DH3742" | "DH3743" | "DH3744" | "DH4100" | "DH4101" | "DH4102" | "DH4103" | "DH4114" | "DH4116" | "DH4120" | "DH4129" | "DH4130" | "DH4131" | "DH4132" | "DH4133" | "DH4134" | "DH4135" | "DH4136" | "DH4137" | "DH4138" | "DH4139" | "DH4140" | "DH4141" | "DH4142" | "DH4143" | "DH4144" | "DH4145" | "DH4150" | "DH4151" | "DH4152" | "DH4153" | "DH4154" | "DH4155" | "DH4156" | "DH4157" | "DH4158" | "DH4159" | "DH4160" | "DH4162" | "DH4163" | "column_not_found_for_heterogeneous_link_field" | "DH4167" | "DH4168" | "rel_child_must_ref_parent_by_pk" | "DH4170" | "DH4173" | "DH4174" | "DH4175" | "DH4179" | "DH4180" | "DH4181" | "DH4182" | "DH4183" | "DH4184" | "DH4185" | "DH4186" | "DH4187" | "DH4188" | "DH4189" | "DH4190" | "DH4191" | "DH4192" | "DH4193" | "DH4194" | "DH4200" | "DH4201" | "DH4202" | "DH4203" | "DH4207" | "DH4208" | "DH4211" | "DH4220" | "DH4226" | "DH4227" | "DH4228" | "DH4229" | "DH4302" | "DH4332" | "DH4304" | "DH4305" | "DH4310" | "DH4331" | "DH4316" | "DH4317" | "DH4319" | "DH4320" | "DH4321" | "DH4322" | "DH4328" | "DH4330" | "DH4338" | "DH4343" | "DH4346" | "DH4347" | "DH4350" | "DH4351" | "DH4400" | "DH4401" | "DH4402" | "DH4403" | "DH4404" | "DH5100" | "DH5101" | "DH5102" | "DH5103" | "DH5104" | "DH5105" | "DH5107" | "DH5108" | "DH5109" | "DH5111" | "DH5112" | "DH5114" | "DH5115" | "DH5116" | "DH5118" | "DH5119" | "DH5120" | "DH5121" | "write_only_at_create_for_relationship_requires_read_only" | "DH5122" | "DH5123" | "DH5125" | "DH5126" | "DH5127" | "DH5128" | "DH5129" | "DH5130" | "DH5131" | "DH5133" | "DH5134" | "DH5135" | "DH5200" | "DH5201" | "DH5202" | "DH5203" | "DH5204" | "DH5205" | "DH5206" | "DH5207" | "DH5210" | "DH5211" | "DH5212" | "DH5213" | "DH5500" | "DH5501" | "DH5502" | "DH5503" | "DH5504" | "DH5505" | "DH5506" | "DH5507" | "import_database_error" | "import_database_error_for_type" | "export_failed" | "DH5600" | "DH5601" | "DH5602" | "DH5603" | "DH6099" | "DH6100" | "DH6101" | "DH6102" | "DH6103" | "DH6104" | "DH6105" | "stored_objects_with_names_not_found" | "DH6106" | "DH6107" | "DH6108" | "DH6109" | "entity_does_not_have_relationship" | "DH6110" | "DH6112" | "DH6113" | "DH6114" | "DH6116" | "DH6118" | "DH6119" | "DH6120" | "icon_svg_invalid" | "icon_invalid_image_type" | "DH6122" | "DH6123" | "DH6124" | "DH6125" | "DH6126" | "DH6127" | "DH6128" | "DH6129" | "DH6131" | "DH6132" | "DH6133" | "DH6134" | "DH6135" | "DH6136" | "DH6137" | "DH6138" | "DH6139" | "DH6140" | "DH6141" | "DH6142" | "DH6143" | "DH6144" | "DH6145" | "DH6146" | "DH6147" | "DH6148" | "DH6149" | "DH6150" | "DH6151" | "DH6152" | "DH6153" | "DH6154" | "DH6155" | "DH6156" | "DH6157" | "DH6158" | "DH6159" | "DH6160" | "DH6161" | "DH6162" | "DH6163" | "DH6164" | "DH6165" | "DH6166" | "DH6167" | "DH6168" | "DH6169" | "DH6170" | "DH6171" | "DH6172" | "DH6173" | "DH6174" | "DH6175" | "DH6176" | "DH6177" | "DH6178" | "DH6179" | "DH6180" | "DH6181" | "DH6182" | "DH6183" | "DH6184" | "DH6185" | "DH6186" | "DH6187" | "DH6188" | "DH6189" | "DH6191" | "DH6198" | "DH6199" | "DH6200" | "DH6201" | "DH6202" | "DH6203" | "DH6205" | "DH6206" | "DH6207" | "DH6208" | "DH6209" | "DH6210" | "DH6211" | "DH6212" | "DH6213" | "DH6214" | "DH6215" | "DH6216" | "DH6217" | "DH6218" | "DH6219" | "DH6220" | "DH6221" | "DH6222" | "DH6223" | "media_type_mismatch" | "DH6224" | "DH6225" | "DH6226" | "tuning_global_parameters_must_be_supplied" | "tuning_parameters_property_cannot_be_empty" | "tuning_object_type_and_name_must_match_when_global_type" | "tuning_maximum_parameters_exceeded" | "tuning_no_parameters_supplied" | "value_must_be_supplied_for_tuning_parameter" | "invalid_tuning_parameter_name_supplied" | "tuning_parameter_values_must_be_greater_than_zero" | "tuning_parameter_values_must_not_exceed_max_int_value" | "tuning_parameter_cannot_have_decimal_value" | "tuning_non_global_values_cannot_have_default_values" | "global_default_values_cannot_be_updated" | "DH6300" | "DH6301" | "DH6302" | "DH6303" | "DH6304" | "DH6310" | "DH6311" | "condition_id_required" | "DH6350" | "DH6351" | "DH6352" | "DH6353" | "DH6354" | "DH6356" | "DH6357" | "DH6358" | "DH6360" | "DH6361" | "DH6362" | "DH6363" | "DH6364" | "DH6365" | "DH6366" | "DH6380" | "DH6381" | "DH6382" | "DH6383" | "DH6900" | "DH6901" | "DH6902" | "DH6903" | "DH6904" | "DH6905" | "DH6907" | "DH6910" | "DH6911" | "DH6912" | "DH6913" | "DH6914" | "DH6915" | "DH6916" | "DH6917" | "DH6918" | "not_a_valid_entity_date_field_w_id" | "not_a_valid_entity_timestamp_w_id" | "not_a_valid_entity_date_field_without_id" | "not_a_valid_entity_timestamp_without_id" | "not_a_valid_relationship_entity_date_field_w_id" | "not_a_valid_relationship_entity_timestamp_w_id" | "not_a_valid_relationship_entity_date_field_without_id" | "not_a_valid_relationship_entity_timestamp_without_id" | "DH6919" | "DH6920" | "DH6921" | "DH6922" | "DH6923" | "DH6998" | "DH6999" | "DH7000" | "DH7001" | "DH7002" | "DH7003" | "DH7004" | "DH7005" | "DH7006" | "DH7008" | "DH7009" | "DH7010" | "DH7011" | "DH7012" | "DH7013" | "DH7014" | "DH7100" | "DH7101" | "DH7102" | "DH7103" | "DH7104" | "DH7105" | "DH7106" | "DH7107" | "DH7108" | "DH7109" | "DH7110" | "DH9000" | "DH9001" | "DH9003" | "DH9004" | "DH9005" | "DH9006" | "DH9010" | "DH9011" | "DH9012" | "DH9013" | "DH9014" | "DH9016" | "DH9017" | "DH9032" | "DH9034" | "DH9035" | "DH9036" | "DH9037" | "DH9040" | "DH9041" | "DH9042" | "DH9043" | "DH9044" | "solutionMustHaveUniqueName" | "solutionWithNameNotFound" | "solutionNameCannotBeChanged" | "solutionMustHaveUniqueNameArchivedClash" | "solutionCannotBeCreatedAsArchived" | "solutionArchivedCannotBeUpdated" | "solutionResourceVersionMustBeNullOr0OnCreate" | "solutionCannotBeArchivedThroughUpdate" | "solutionImportDuplicateLabel" | "solutionNameMustBeSet" | "solutionArchivedCannotBeAssigned" | "solutionArchivedCannotBePublished" | "solutionChildObjectMustBeAssignedToSameSolutionAsParentObject" | "solutionCannotBeArchivedAsAtLeastOneSolutionMustBeUnarchived" | "activeHomepageClientApplicationDoesNotExist" | "activeHomepageTemplateDoesNotExist" | "activeHomepageClientApplicationMismatch" | "activeHomepageWrongTemplateType" | "activeHomepageAlreadySetForClientApplication" | "activeHomepageNotFound" | "activeHomepageCannotDelete" | "activeHomepageUpdateIdMismatch" | "activeHomepageUpdateRequestIdMismatch" | "activeHomepageAlreadyExistsForClientApplication" | "activeHomepageDoesNotExistForClientApplication" | "activeHomepageCanOnlyBeChangedThroughTemplateUpsertWhenImport" | "noMatchingRulesForKey" | "contextMappingUuidMismatch" | "contextMappingInvalidUuid" | "contextMappingEntityOrClientMismatch" | "dataHubClientError" | "DH15000" | "DH15001" | "DH15002" | "DH15003" | "DH15004" | "DH17000" | "DH17001" | "invalid_job_json" | "authorized_to_reveal_masked_length" | "authorized_to_reveal_masked_should_be_null" | "authorized_to_reveal_masked_should_have_contents" | "authorized_to_reveal_masked_cannot_be_primary_key_field" | "user_group_not_authorized_to_reveal_masked_field" | "system_field_cannot_be_masked" | "field_used_in_join_condition_cannot_be_masked" | "field_used_in_txn_join_condition_cannot_be_masked" | "txn_field_used_in_txn_join_condition_cannot_be_masked" | "heterogeneous_external_join_key_field_cannot_be_masked" | "txn_field_used_in_ref_join_cannot_be_masked" | "file_is_quarantined" | "invalid_rest_api_parameter" | "invalid_rest_api_body" | "entity_type_not_found" | "condition_owner_not_found" | "template_type_not_found" | "field_value_contains_invalid_characters" | "size_constraint_violation_parameter" | "size_constraint_violation_body" | "character_constraint_violation_parameter" | "character_constraint_violation_body" | "character_constraint_violation_with_allow_list_parameter" | "character_constraint_violation_with_allow_list_body" | "time_zone_constraint_violation_parameter" | "time_zone_constraint_violation_body" | "uuid_constraint_violation_parameter" | "uuid_constraint_violation_body" | "sort_by_constraint_violation_parameter" | "sort_by_constraint_violation_body" | "locale_constraint_violation_parameter" | "locale_constraint_violation_body" | "expression_constraint_violation_parameter" | "expression_constraint_violation_body" | "entity.type.mismatch" | "empty.rules" | "missing.types" | "invalid.access.combination" | "rules.do.not.exist" | "version.mismatch" | "rules.already.exist" | "version.should.be.null" | "error.removing.rule.group" | "error.adding.group" | "invalid_control_solution_id";
4677
4674
 
4678
4675
  export type DataStoreType = "RELATIONAL";
4679
4676
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@types/svi-datahub",
3
- "version": "17.32.30",
3
+ "version": "17.35.23",
4
4
  "types": "index.d.ts"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- // Generated using typescript-generator version 2.15.527 on 2024-11-11 10:01:28.
3
+ // Generated using typescript-generator version 2.15.527 on 2025-02-05 14:44:02.
4
4
 
5
5
  export interface ApplicationSetting extends ResponsesErrorResponse {
6
6
  name?: string;
@@ -208,6 +208,8 @@ export interface TermsFacetConfig extends FacetConfig {
208
208
  minDocCount?: number;
209
209
  orderBy?: string;
210
210
  orderDirection?: string;
211
+ calculateCounts?: boolean;
212
+ allowUserEnteredFilters?: boolean;
211
213
  }
212
214
 
213
215
  export interface TypeFacetConfig extends TermsFacetConfig {
@@ -220,19 +222,19 @@ export interface AbstractFacet {
220
222
  selectedHitCount?: number;
221
223
  }
222
224
 
223
- export interface AbstractFacetWithField extends AbstractFacet {
225
+ export interface AbstractFacetWithField<F> extends AbstractFacet {
224
226
  type: "dateRange" | "range" | "terms";
225
227
  field?: string;
226
228
  fieldLabel?: string;
229
+ userEnteredFilters?: F[];
227
230
  }
228
231
 
229
- export interface DateRangeFacet extends AbstractFacetWithField {
232
+ export interface DateRangeFacet extends AbstractFacetWithField<DateRangeFilter> {
230
233
  type: "dateRange";
231
234
  min?: string;
232
235
  max?: string;
233
236
  accuracy?: DateTimeAccuracy;
234
237
  filter?: RangeFilterConfig;
235
- userEnteredFilters?: DateRangeFilter[];
236
238
  ranges?: DateFacetRange[];
237
239
  }
238
240
 
@@ -245,12 +247,11 @@ export interface DateFacetRange extends DateRange {
245
247
  export interface FacetVisitor<T> {
246
248
  }
247
249
 
248
- export interface NumericalRangeFacet extends AbstractFacetWithField {
250
+ export interface NumericalRangeFacet extends AbstractFacetWithField<NumericalRangeFilter> {
249
251
  type: "range";
250
252
  min?: number;
251
253
  max?: number;
252
254
  filter?: RangeFilterConfig;
253
- userEnteredFilters?: NumericalRangeFilter[];
254
255
  ranges?: NumericalFacetRange[];
255
256
  }
256
257
 
@@ -260,7 +261,7 @@ export interface NumericalFacetRange extends NumericalRange {
260
261
  selected?: boolean;
261
262
  }
262
263
 
263
- export interface TermsFacet extends AbstractFacetWithField {
264
+ export interface TermsFacet extends AbstractFacetWithField<TermsFilter> {
264
265
  type: "terms";
265
266
  buckets?: TermsBucket[];
266
267
  displayLimit?: number;
@@ -723,6 +724,14 @@ export interface HighlightResponse extends ResponsesErrorResponse {
723
724
  maskedFields?: { [index: string]: MaskedFieldConfiguration };
724
725
  }
725
726
 
727
+ export interface IndexFormatUpgradeResponse extends IndexFormatVersionResponse {
728
+ upgradeRequired?: boolean;
729
+ }
730
+
731
+ export interface IndexFormatVersionResponse {
732
+ indexFormatVersion?: number;
733
+ }
734
+
726
735
  export interface OperationResponse extends OperationRepresentation {
727
736
  results?: { [index: string]: any };
728
737
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@types/svi-sand",
3
- "version": "17.3.7",
3
+ "version": "18.1.3",
4
4
  "types": "index.d.ts"
5
5
  }