@gooddata/sdk-backend-spi 10.32.0-alpha.4 → 10.32.0-alpha.40

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,4 +1,4 @@
1
- import { INotificationChannelTestResponse, INotificationChannelMetadataObject, INotificationChannelMetadataObjectDefinition } from "@gooddata/sdk-model";
1
+ import { INotificationChannelTestResponse, INotificationChannelMetadataObject, INotificationChannelMetadataObjectDefinition, INotificationChannelExternalRecipient } from "@gooddata/sdk-model";
2
2
  import { INotificationChannelsQuery } from "./query.js";
3
3
  /**
4
4
  * This service provides access to organization notifications channels.
@@ -11,9 +11,10 @@ export interface IOrganizationNotificationChannelService {
11
11
  *
12
12
  * @param channel - definition of the channel
13
13
  * @param notificationId - id of the notification to test if its already created
14
+ * @param externalRecipients - external recipients of the test result
14
15
  * @returns Promise resolved with test response.
15
16
  */
16
- testNotificationChannel(channel: INotificationChannelMetadataObjectDefinition): Promise<INotificationChannelTestResponse>;
17
+ testNotificationChannel(channel: INotificationChannelMetadataObjectDefinition, externalRecipients?: INotificationChannelExternalRecipient[]): Promise<INotificationChannelTestResponse>;
17
18
  getNotificationChannel(id: string): Promise<INotificationChannelMetadataObject>;
18
19
  createNotificationChannel(notificationChannel: INotificationChannelMetadataObjectDefinition): Promise<INotificationChannelMetadataObject>;
19
20
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organization/notificationChannels/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,gCAAgC,EAChC,kCAAkC,EAClC,4CAA4C,EAC/C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,uCAAuC;IACpD;;;;;;OAMG;IACH,uBAAuB,CACnB,OAAO,EAAE,4CAA4C,GACtD,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAQ7C,sBAAsB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAQhF,yBAAyB,CACrB,mBAAmB,EAAE,4CAA4C,GAClE,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAE/C;;;;;OAKG;IACH,yBAAyB,CACrB,mBAAmB,EAAE,kCAAkC,GACxD,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAE/C;;;;;OAKG;IACH,yBAAyB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAErD;;OAEG;IACH,4BAA4B,IAAI,0BAA0B,CAAC;CAC9D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organization/notificationChannels/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,gCAAgC,EAChC,kCAAkC,EAClC,4CAA4C,EAC5C,qCAAqC,EACxC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,uCAAuC;IACpD;;;;;;;OAOG;IACH,uBAAuB,CACnB,OAAO,EAAE,4CAA4C,EACrD,kBAAkB,CAAC,EAAE,qCAAqC,EAAE,GAC7D,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAQ7C,sBAAsB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAQhF,yBAAyB,CACrB,mBAAmB,EAAE,4CAA4C,GAClE,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAE/C;;;;;OAKG;IACH,yBAAyB,CACrB,mBAAmB,EAAE,kCAAkC,GACxD,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAE/C;;;;;OAKG;IACH,yBAAyB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAErD;;OAEG;IACH,4BAA4B,IAAI,0BAA0B,CAAC;CAC9D"}
@@ -1,3 +1,3 @@
1
- // (C) 2023-2024 GoodData Corporation
1
+ // (C) 2023-2025 GoodData Corporation
2
2
  export {};
3
3
  //# sourceMappingURL=index.js.map
@@ -84,6 +84,7 @@ import { IMeasureMetadataObject } from '@gooddata/sdk-model';
84
84
  import { IMeasureMetadataObjectDefinition } from '@gooddata/sdk-model';
85
85
  import { IMetadataObject } from '@gooddata/sdk-model';
86
86
  import { INotification } from '@gooddata/sdk-model';
87
+ import { INotificationChannelExternalRecipient } from '@gooddata/sdk-model';
87
88
  import { INotificationChannelIdentifier } from '@gooddata/sdk-model';
88
89
  import { INotificationChannelMetadataObject } from '@gooddata/sdk-model';
89
90
  import { INotificationChannelMetadataObjectDefinition } from '@gooddata/sdk-model';
@@ -3098,9 +3099,10 @@ export declare interface IOrganizationNotificationChannelService {
3098
3099
  *
3099
3100
  * @param channel - definition of the channel
3100
3101
  * @param notificationId - id of the notification to test if its already created
3102
+ * @param externalRecipients - external recipients of the test result
3101
3103
  * @returns Promise resolved with test response.
3102
3104
  */
3103
- testNotificationChannel(channel: INotificationChannelMetadataObjectDefinition): Promise<INotificationChannelTestResponse>;
3105
+ testNotificationChannel(channel: INotificationChannelMetadataObjectDefinition, externalRecipients?: INotificationChannelExternalRecipient[]): Promise<INotificationChannelTestResponse>;
3104
3106
  getNotificationChannel(id: string): Promise<INotificationChannelMetadataObject>;
3105
3107
  createNotificationChannel(notificationChannel: INotificationChannelMetadataObjectDefinition): Promise<INotificationChannelMetadataObject>;
3106
3108
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-backend-spi",
3
- "version": "10.32.0-alpha.4",
3
+ "version": "10.32.0-alpha.40",
4
4
  "author": "GoodData",
5
5
  "description": "GoodData Backend SPI abstraction interfaces",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "lodash": "^4.17.21",
25
25
  "ts-invariant": "^0.7.5",
26
26
  "tslib": "^2.5.0",
27
- "@gooddata/sdk-model": "10.32.0-alpha.4"
27
+ "@gooddata/sdk-model": "10.32.0-alpha.40"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@gooddata/eslint-config": "^4.1.1",