@gooddata/sdk-model 11.41.0-alpha.0 → 11.41.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/genAI/chat.d.ts +8 -1
- package/esm/index.d.ts +1 -0
- package/esm/ipAllowlists/index.d.ts +62 -0
- package/esm/ipAllowlists/index.js +2 -0
- package/esm/sdk-model.d.ts +83 -1
- package/esm/settings/settings.d.ts +8 -0
- package/esm/user/index.d.ts +1 -0
- package/package.json +3 -3
package/esm/genAI/chat.d.ts
CHANGED
|
@@ -146,9 +146,16 @@ export interface IGenAIWidgetDescriptor {
|
|
|
146
146
|
*/
|
|
147
147
|
widgetType: string;
|
|
148
148
|
/**
|
|
149
|
-
* Insight reference (required for insight widgets).
|
|
149
|
+
* Insight reference (required for insight widgets). For a visualization switcher this is
|
|
150
|
+
* the active (rendered) child's insight reference.
|
|
150
151
|
*/
|
|
151
152
|
insightRef?: ObjRef;
|
|
153
|
+
/**
|
|
154
|
+
* All child insight references of a visualization switcher (set only for switcher widgets).
|
|
155
|
+
* Lets the backend summarize the whole switcher by executing the non-active children, which
|
|
156
|
+
* carry no cached result.
|
|
157
|
+
*/
|
|
158
|
+
visualizationRefs?: ObjRef[];
|
|
152
159
|
/**
|
|
153
160
|
* Signed result ID for this widget's cached execution result.
|
|
154
161
|
*/
|
package/esm/index.d.ts
CHANGED
|
@@ -96,6 +96,7 @@ export { type IAllowedRelationshipType, type ISemanticSearchResult, type ISemant
|
|
|
96
96
|
export type { IGenAIChatInteraction, IGenAIUserContext, IGenAIChatRouting, IGenAIChatReasoning, IGenAIChatReasoningStep, IGenAIChatReasoningThought, IGenAICreatedVisualizations, IGenAIFoundObjects, IGenAIVisualization, IGenAIVisualizationConfig, IGenAIForecastConfig, IGenAIAnomalyDetectionConfig, IGenAIClusteringConfig, IGenAIWhatIfConfig, IGenAIWhatIfScenario, IGenAIWhatIfAdjustment, IGenAIVisualizationDimension, IGenAIVisualizationMetric, IGenAIActiveObject, IGenAIUIContext, IGenAIDashboardContext, IGenAIWidgetDescriptor, GenAIObjectReferenceType, IGenAIObjectReference, IGenAIObjectReferenceGroup, IGenAISuggestion, IGenAIChangeAnalysisParams, GenAIChatRoutingUseCase, GenAIChatInteractionUserFeedback, GenAIChatInteractionUserVisualisation, GenAIChatRole, GenAIVisualizationType, GenAIMetricAggregation, GenAIMetricType, GenAIFilter, GenAIPositiveAttributeFilter, GenAINegativeAttributeFilter, GenAIAbsoluteDateFilter, GenAIRelativeDateFilter, GenAIDateGranularity, GenAIRankingFilter, } from "./genAI/chat.js";
|
|
97
97
|
export type { GenAIObjectType } from "./genAI/common.js";
|
|
98
98
|
export type { IGeoCollection, IGeoCollectionDefinition, IGeoCollectionFileUploadResult, } from "./geoCollections/index.js";
|
|
99
|
+
export type { IIpAllowlist, IIpAllowlistAssignedUser, IIpAllowlistAssignedUserGroup, IIpAllowlistDefinition, } from "./ipAllowlists/index.js";
|
|
99
100
|
export type { ILlmEndpointBase, ILlmEndpointOpenAI, LlmEndpointOpenAIPatch } from "./llmEndpoints/index.js";
|
|
100
101
|
export type { ILlmProvider, ILlmModel, LlmProviderConfig, IOpenAIProviderConfig, IAzureFoundryProviderConfig, IAwsBedrockProviderConfig, IAnthropicProviderConfig, LlmProviderFamily, LlmProviderPatch, LlmProviderTestResults, LlmModelsTestResults, LlmProviderListModelsResults, } from "./llmProviders/index.js";
|
|
101
102
|
export type { IAgent, IAgentPatch, IAgentSkill, AgentCustomSkill, AgentSkillsMode, } from "./agentSkill/index.js";
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Definition used to create an organization IP allowlist policy.
|
|
3
|
+
*
|
|
4
|
+
* @alpha
|
|
5
|
+
*/
|
|
6
|
+
export interface IIpAllowlistDefinition {
|
|
7
|
+
/**
|
|
8
|
+
* Client-assigned identifier. Must be unique within the organization.
|
|
9
|
+
*/
|
|
10
|
+
id: string;
|
|
11
|
+
/**
|
|
12
|
+
* IPv4 or IPv6 addresses and/or CIDR ranges allowed by the policy.
|
|
13
|
+
* The `/0` prefix (matching the entire address space) is rejected by the backend.
|
|
14
|
+
*/
|
|
15
|
+
allowedSources: string[];
|
|
16
|
+
/**
|
|
17
|
+
* Identifiers of users to which the policy applies.
|
|
18
|
+
*/
|
|
19
|
+
userIds: string[];
|
|
20
|
+
/**
|
|
21
|
+
* Identifiers of user groups to which the policy applies.
|
|
22
|
+
*/
|
|
23
|
+
userGroupIds: string[];
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* User assigned to an IP allowlist policy, enriched with display info
|
|
27
|
+
* resolved from the JSON:API `included` array on read endpoints.
|
|
28
|
+
*
|
|
29
|
+
* @alpha
|
|
30
|
+
*/
|
|
31
|
+
export interface IIpAllowlistAssignedUser {
|
|
32
|
+
id: string;
|
|
33
|
+
/**
|
|
34
|
+
* Display name combined from first + last name. Empty when the user has neither.
|
|
35
|
+
*/
|
|
36
|
+
fullName?: string;
|
|
37
|
+
email?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* User group assigned to an IP allowlist policy, enriched with display info
|
|
41
|
+
* resolved from the JSON:API `included` array on read endpoints.
|
|
42
|
+
*
|
|
43
|
+
* @alpha
|
|
44
|
+
*/
|
|
45
|
+
export interface IIpAllowlistAssignedUserGroup {
|
|
46
|
+
id: string;
|
|
47
|
+
name?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Represents an organization IP allowlist policy returned by the backend.
|
|
51
|
+
*
|
|
52
|
+
* @remarks
|
|
53
|
+
* On top of the create-shape {@link IIpAllowlistDefinition}, the read shape
|
|
54
|
+
* exposes resolved display info for assigned users and user groups so the UI
|
|
55
|
+
* can render them without an additional round-trip.
|
|
56
|
+
*
|
|
57
|
+
* @alpha
|
|
58
|
+
*/
|
|
59
|
+
export interface IIpAllowlist extends IIpAllowlistDefinition {
|
|
60
|
+
users: IIpAllowlistAssignedUser[];
|
|
61
|
+
userGroups: IIpAllowlistAssignedUserGroup[];
|
|
62
|
+
}
|
package/esm/sdk-model.d.ts
CHANGED
|
@@ -6490,6 +6490,10 @@ export declare interface IFeatureFlags {
|
|
|
6490
6490
|
* Enables smtp settings.
|
|
6491
6491
|
*/
|
|
6492
6492
|
enableSmtp?: boolean;
|
|
6493
|
+
/**
|
|
6494
|
+
* Enables IP allowlists management in organization settings.
|
|
6495
|
+
*/
|
|
6496
|
+
enableIpAllowlistsUi?: boolean;
|
|
6493
6497
|
/**
|
|
6494
6498
|
* Enables storing widget identifiers.
|
|
6495
6499
|
*/
|
|
@@ -6997,6 +7001,10 @@ export declare interface IFeatureFlags {
|
|
|
6997
7001
|
* Enables Resizable Dashboard sidebar in edit mode.
|
|
6998
7002
|
*/
|
|
6999
7003
|
enableDashboardSidebarResize?: boolean;
|
|
7004
|
+
/**
|
|
7005
|
+
* Enables LDM Modeler loading as a remote module in the host application.
|
|
7006
|
+
*/
|
|
7007
|
+
enableShellApplication_ldmModeler?: boolean;
|
|
7000
7008
|
}
|
|
7001
7009
|
|
|
7002
7010
|
/**
|
|
@@ -7614,9 +7622,16 @@ export declare interface IGenAIWidgetDescriptor {
|
|
|
7614
7622
|
*/
|
|
7615
7623
|
widgetType: string;
|
|
7616
7624
|
/**
|
|
7617
|
-
* Insight reference (required for insight widgets).
|
|
7625
|
+
* Insight reference (required for insight widgets). For a visualization switcher this is
|
|
7626
|
+
* the active (rendered) child's insight reference.
|
|
7618
7627
|
*/
|
|
7619
7628
|
insightRef?: ObjRef;
|
|
7629
|
+
/**
|
|
7630
|
+
* All child insight references of a visualization switcher (set only for switcher widgets).
|
|
7631
|
+
* Lets the backend summarize the whole switcher by executing the non-active children, which
|
|
7632
|
+
* carry no cached result.
|
|
7633
|
+
*/
|
|
7634
|
+
visualizationRefs?: ObjRef[];
|
|
7620
7635
|
/**
|
|
7621
7636
|
* Signed result ID for this widget's cached execution result.
|
|
7622
7637
|
*/
|
|
@@ -8118,6 +8133,72 @@ export declare interface IInsightWidgetDescriptionConfiguration {
|
|
|
8118
8133
|
includeMetrics: boolean;
|
|
8119
8134
|
}
|
|
8120
8135
|
|
|
8136
|
+
/**
|
|
8137
|
+
* Represents an organization IP allowlist policy returned by the backend.
|
|
8138
|
+
*
|
|
8139
|
+
* @remarks
|
|
8140
|
+
* On top of the create-shape {@link IIpAllowlistDefinition}, the read shape
|
|
8141
|
+
* exposes resolved display info for assigned users and user groups so the UI
|
|
8142
|
+
* can render them without an additional round-trip.
|
|
8143
|
+
*
|
|
8144
|
+
* @alpha
|
|
8145
|
+
*/
|
|
8146
|
+
export declare interface IIpAllowlist extends IIpAllowlistDefinition {
|
|
8147
|
+
users: IIpAllowlistAssignedUser[];
|
|
8148
|
+
userGroups: IIpAllowlistAssignedUserGroup[];
|
|
8149
|
+
}
|
|
8150
|
+
|
|
8151
|
+
/**
|
|
8152
|
+
* User assigned to an IP allowlist policy, enriched with display info
|
|
8153
|
+
* resolved from the JSON:API `included` array on read endpoints.
|
|
8154
|
+
*
|
|
8155
|
+
* @alpha
|
|
8156
|
+
*/
|
|
8157
|
+
export declare interface IIpAllowlistAssignedUser {
|
|
8158
|
+
id: string;
|
|
8159
|
+
/**
|
|
8160
|
+
* Display name combined from first + last name. Empty when the user has neither.
|
|
8161
|
+
*/
|
|
8162
|
+
fullName?: string;
|
|
8163
|
+
email?: string;
|
|
8164
|
+
}
|
|
8165
|
+
|
|
8166
|
+
/**
|
|
8167
|
+
* User group assigned to an IP allowlist policy, enriched with display info
|
|
8168
|
+
* resolved from the JSON:API `included` array on read endpoints.
|
|
8169
|
+
*
|
|
8170
|
+
* @alpha
|
|
8171
|
+
*/
|
|
8172
|
+
export declare interface IIpAllowlistAssignedUserGroup {
|
|
8173
|
+
id: string;
|
|
8174
|
+
name?: string;
|
|
8175
|
+
}
|
|
8176
|
+
|
|
8177
|
+
/**
|
|
8178
|
+
* Definition used to create an organization IP allowlist policy.
|
|
8179
|
+
*
|
|
8180
|
+
* @alpha
|
|
8181
|
+
*/
|
|
8182
|
+
export declare interface IIpAllowlistDefinition {
|
|
8183
|
+
/**
|
|
8184
|
+
* Client-assigned identifier. Must be unique within the organization.
|
|
8185
|
+
*/
|
|
8186
|
+
id: string;
|
|
8187
|
+
/**
|
|
8188
|
+
* IPv4 or IPv6 addresses and/or CIDR ranges allowed by the policy.
|
|
8189
|
+
* The `/0` prefix (matching the entire address space) is rejected by the backend.
|
|
8190
|
+
*/
|
|
8191
|
+
allowedSources: string[];
|
|
8192
|
+
/**
|
|
8193
|
+
* Identifiers of users to which the policy applies.
|
|
8194
|
+
*/
|
|
8195
|
+
userIds: string[];
|
|
8196
|
+
/**
|
|
8197
|
+
* Identifiers of user groups to which the policy applies.
|
|
8198
|
+
*/
|
|
8199
|
+
userGroupIds: string[];
|
|
8200
|
+
}
|
|
8201
|
+
|
|
8121
8202
|
/**
|
|
8122
8203
|
* Key drive analysis
|
|
8123
8204
|
* @public
|
|
@@ -10017,6 +10098,7 @@ export declare interface IOrganizationUser {
|
|
|
10017
10098
|
fullName?: string;
|
|
10018
10099
|
email?: string;
|
|
10019
10100
|
isOrganizationAdmin: boolean;
|
|
10101
|
+
isSystemAccount: boolean;
|
|
10020
10102
|
assignedUserGroups: IUserGroup[];
|
|
10021
10103
|
assignedWorkspaces: IWorkspacePermissionAssignment[];
|
|
10022
10104
|
assignedDataSources: IDataSourcePermissionAssignment[];
|
|
@@ -530,6 +530,10 @@ export interface IFeatureFlags {
|
|
|
530
530
|
* Enables smtp settings.
|
|
531
531
|
*/
|
|
532
532
|
enableSmtp?: boolean;
|
|
533
|
+
/**
|
|
534
|
+
* Enables IP allowlists management in organization settings.
|
|
535
|
+
*/
|
|
536
|
+
enableIpAllowlistsUi?: boolean;
|
|
533
537
|
/**
|
|
534
538
|
* Enables storing widget identifiers.
|
|
535
539
|
*/
|
|
@@ -1037,4 +1041,8 @@ export interface IFeatureFlags {
|
|
|
1037
1041
|
* Enables Resizable Dashboard sidebar in edit mode.
|
|
1038
1042
|
*/
|
|
1039
1043
|
enableDashboardSidebarResize?: boolean;
|
|
1044
|
+
/**
|
|
1045
|
+
* Enables LDM Modeler loading as a remote module in the host application.
|
|
1046
|
+
*/
|
|
1047
|
+
enableShellApplication_ldmModeler?: boolean;
|
|
1040
1048
|
}
|
package/esm/user/index.d.ts
CHANGED
|
@@ -143,6 +143,7 @@ export interface IOrganizationUser {
|
|
|
143
143
|
fullName?: string;
|
|
144
144
|
email?: string;
|
|
145
145
|
isOrganizationAdmin: boolean;
|
|
146
|
+
isSystemAccount: boolean;
|
|
146
147
|
assignedUserGroups: IUserGroup[];
|
|
147
148
|
assignedWorkspaces: IWorkspacePermissionAssignment[];
|
|
148
149
|
assignedDataSources: IDataSourcePermissionAssignment[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-model",
|
|
3
|
-
"version": "11.41.0-alpha.
|
|
3
|
+
"version": "11.41.0-alpha.2",
|
|
4
4
|
"description": "GoodData Model definitions used by UI components and Backend SPI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"oxlint-tsgolint": "0.15.0",
|
|
58
58
|
"typescript": "5.9.3",
|
|
59
59
|
"vitest": "4.1.8",
|
|
60
|
-
"@gooddata/eslint-config": "11.41.0-alpha.
|
|
61
|
-
"@gooddata/oxlint-config": "11.41.0-alpha.
|
|
60
|
+
"@gooddata/eslint-config": "11.41.0-alpha.2",
|
|
61
|
+
"@gooddata/oxlint-config": "11.41.0-alpha.2"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"_phase:build": "npm run build",
|