@gooddata/sdk-backend-spi 11.41.0-alpha.0 → 11.41.0-alpha.1

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/index.d.ts CHANGED
@@ -56,6 +56,7 @@ export type { IOrganizationUserService, IOrganizationUsersQuery, IOrganizationUs
56
56
  export type { IOrganizationPermissionService, IPermissionsAssignment, } from "./organization/permissions/index.js";
57
57
  export type { IOrganizationNotificationChannelService } from "./organization/notificationChannels/index.js";
58
58
  export type { IOrganizationGeoCollectionsService } from "./organization/geoCollections/index.js";
59
+ export type { IOrganizationIpAllowlistService } from "./organization/ipAllowlists/index.js";
59
60
  export type { INotificationChannelsQuery, INotificationChannelsQueryResult, INotificationChannelIdentifiersQueryResult, } from "./organization/notificationChannels/query.js";
60
61
  export type { IDataFiltersService } from "./workspace/dataFilter/index.js";
61
62
  export type { IWorkspaceLogicalModelService, IDateDataset } from "./workspace/ldm/model.js";
@@ -3,6 +3,7 @@ import { type IOrganizationAgentsService } from "./agents/index.js";
3
3
  import { type IOrganizationAutomationService } from "./automations/index.js";
4
4
  import { type IOrganizationExportTemplatesService } from "./exportTemplates/index.js";
5
5
  import { type IOrganizationGenAIService } from "./genAI/index.js";
6
+ import { type IOrganizationIpAllowlistService } from "./ipAllowlists/index.js";
6
7
  import { type IOrganizationLlmProvidersService } from "./llmProviders/index.js";
7
8
  import { type IOrganizationNotificationChannelService } from "./notificationChannels/index.js";
8
9
  import { type IOrganizationNotificationService } from "./notifications/index.js";
@@ -90,6 +91,12 @@ export interface IOrganization {
90
91
  * @beta
91
92
  */
92
93
  exportTemplates(): IOrganizationExportTemplatesService;
94
+ /**
95
+ * Returns service that can be used to manage organization-level IP allowlist policies.
96
+ *
97
+ * @alpha
98
+ */
99
+ ipAllowlists(): IOrganizationIpAllowlistService;
93
100
  }
94
101
  /**
95
102
  * Provides functions to obtain {@link IOrganization} instances
@@ -0,0 +1,34 @@
1
+ import { type IIpAllowlist, type IIpAllowlistDefinition } from "@gooddata/sdk-model";
2
+ /**
3
+ * Service for managing organization-level IP allowlist policies.
4
+ *
5
+ * @alpha
6
+ */
7
+ export interface IOrganizationIpAllowlistService {
8
+ /**
9
+ * Get all IP allowlist policies defined for the organization.
10
+ *
11
+ * @returns Promise resolved with an array of policies (empty when none exist).
12
+ */
13
+ getAll(): Promise<IIpAllowlist[]>;
14
+ /**
15
+ * Create a new IP allowlist policy.
16
+ *
17
+ * @param definition - definition of the policy to create
18
+ * @returns Promise resolved with the created policy.
19
+ */
20
+ create(definition: IIpAllowlistDefinition): Promise<IIpAllowlist>;
21
+ /**
22
+ * Replace an existing IP allowlist policy (PUT semantics).
23
+ *
24
+ * @param definition - full definition of the policy; `id` identifies the target
25
+ * @returns Promise resolved with the updated policy.
26
+ */
27
+ update(definition: IIpAllowlistDefinition): Promise<IIpAllowlist>;
28
+ /**
29
+ * Delete an IP allowlist policy by its identifier.
30
+ *
31
+ * @param id - identifier of the policy to delete
32
+ */
33
+ delete(id: string): Promise<void>;
34
+ }
@@ -0,0 +1,2 @@
1
+ // (C) 2026 GoodData Corporation
2
+ export {};
@@ -98,6 +98,8 @@ import { IGeoJsonFeature } from '@gooddata/sdk-model';
98
98
  import { IGranularAccessGrantee } from '@gooddata/sdk-model';
99
99
  import { IInsight } from '@gooddata/sdk-model';
100
100
  import { IInsightDefinition } from '@gooddata/sdk-model';
101
+ import { IIpAllowlist } from '@gooddata/sdk-model';
102
+ import { IIpAllowlistDefinition } from '@gooddata/sdk-model';
101
103
  import type { IListedDashboard } from '@gooddata/sdk-model';
102
104
  import { ILlmProvider } from '@gooddata/sdk-model';
103
105
  import { IMeasure } from '@gooddata/sdk-model';
@@ -1667,7 +1669,7 @@ export declare type IChatConversationError = {
1667
1669
  code: number;
1668
1670
  message: string;
1669
1671
  traceId?: string;
1670
- reason?: (string & {}) | "METADATA_SYNC_IN_PROGRESS" | "METADATA_SYNC_REQUEST_ERROR";
1672
+ reason?: (string & {}) | "METADATA_SYNC_IN_PROGRESS" | "METADATA_SYNC_REQUEST_ERROR" | "MODEL_NOT_COMPATIBLE";
1671
1673
  };
1672
1674
 
1673
1675
  /**
@@ -5199,6 +5201,12 @@ export declare interface IOrganization {
5199
5201
  * @beta
5200
5202
  */
5201
5203
  exportTemplates(): IOrganizationExportTemplatesService;
5204
+ /**
5205
+ * Returns service that can be used to manage organization-level IP allowlist policies.
5206
+ *
5207
+ * @alpha
5208
+ */
5209
+ ipAllowlists(): IOrganizationIpAllowlistService;
5202
5210
  }
5203
5211
 
5204
5212
  /**
@@ -5566,6 +5574,40 @@ export declare interface IOrganizationGeoCollectionsService {
5566
5574
  importGeoCollectionFile(collectionId: string, location: string): Promise<void>;
5567
5575
  }
5568
5576
 
5577
+ /**
5578
+ * Service for managing organization-level IP allowlist policies.
5579
+ *
5580
+ * @alpha
5581
+ */
5582
+ export declare interface IOrganizationIpAllowlistService {
5583
+ /**
5584
+ * Get all IP allowlist policies defined for the organization.
5585
+ *
5586
+ * @returns Promise resolved with an array of policies (empty when none exist).
5587
+ */
5588
+ getAll(): Promise<IIpAllowlist[]>;
5589
+ /**
5590
+ * Create a new IP allowlist policy.
5591
+ *
5592
+ * @param definition - definition of the policy to create
5593
+ * @returns Promise resolved with the created policy.
5594
+ */
5595
+ create(definition: IIpAllowlistDefinition): Promise<IIpAllowlist>;
5596
+ /**
5597
+ * Replace an existing IP allowlist policy (PUT semantics).
5598
+ *
5599
+ * @param definition - full definition of the policy; `id` identifies the target
5600
+ * @returns Promise resolved with the updated policy.
5601
+ */
5602
+ update(definition: IIpAllowlistDefinition): Promise<IIpAllowlist>;
5603
+ /**
5604
+ * Delete an IP allowlist policy by its identifier.
5605
+ *
5606
+ * @param id - identifier of the policy to delete
5607
+ */
5608
+ delete(id: string): Promise<void>;
5609
+ }
5610
+
5569
5611
  /**
5570
5612
  * This service provides access to organization llm providers configuration.
5571
5613
  *
@@ -746,7 +746,7 @@ export type IChatConversationError = {
746
746
  code: number;
747
747
  message: string;
748
748
  traceId?: string;
749
- reason?: (string & {}) | "METADATA_SYNC_IN_PROGRESS" | "METADATA_SYNC_REQUEST_ERROR";
749
+ reason?: (string & {}) | "METADATA_SYNC_IN_PROGRESS" | "METADATA_SYNC_REQUEST_ERROR" | "MODEL_NOT_COMPATIBLE";
750
750
  };
751
751
  /**
752
752
  * Is chat conversation error
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-backend-spi",
3
- "version": "11.41.0-alpha.0",
3
+ "version": "11.41.0-alpha.1",
4
4
  "description": "GoodData Backend SPI abstraction interfaces",
5
5
  "license": "MIT",
6
6
  "author": "GoodData",
@@ -24,7 +24,7 @@
24
24
  "lodash-es": "^4.17.23",
25
25
  "ts-invariant": "0.10.3",
26
26
  "tslib": "2.8.1",
27
- "@gooddata/sdk-model": "11.41.0-alpha.0"
27
+ "@gooddata/sdk-model": "11.41.0-alpha.1"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@microsoft/api-documenter": "^7.17.0",
@@ -48,8 +48,8 @@
48
48
  "oxlint-tsgolint": "0.15.0",
49
49
  "typescript": "5.9.3",
50
50
  "vitest": "4.1.8",
51
- "@gooddata/eslint-config": "11.41.0-alpha.0",
52
- "@gooddata/oxlint-config": "11.41.0-alpha.0"
51
+ "@gooddata/eslint-config": "11.41.0-alpha.1",
52
+ "@gooddata/oxlint-config": "11.41.0-alpha.1"
53
53
  },
54
54
  "scripts": {
55
55
  "_phase:build": "npm run build",