@gooddata/sdk-backend-spi 10.16.0-alpha.10 → 10.16.0-alpha.11
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 { INotificationChannelDefinitionObject, IWebhookDefinitionObject, IWebhookDefinition, ISmtpDefinitionObject, ISmtpDefinition } from "@gooddata/sdk-model";
|
|
1
|
+
import { INotificationChannelDefinitionObject, IWebhookDefinitionObject, IWebhookDefinition, ISmtpDefinitionObject, ISmtpDefinition, INotificationChannelTestResponse } from "@gooddata/sdk-model";
|
|
2
2
|
/**
|
|
3
3
|
* This service provides access to organization notifications channels.
|
|
4
4
|
*
|
|
@@ -41,6 +41,13 @@ export interface IOrganizationNotificationChannelService {
|
|
|
41
41
|
* @returns Promise resolved with created smtp.
|
|
42
42
|
*/
|
|
43
43
|
createEmail(smtp: ISmtpDefinition): Promise<ISmtpDefinitionObject>;
|
|
44
|
+
/**
|
|
45
|
+
* Test email
|
|
46
|
+
*
|
|
47
|
+
* @param email - definition of the email
|
|
48
|
+
* @returns Promise resolved with test response.
|
|
49
|
+
*/
|
|
50
|
+
testEmail(email: ISmtpDefinition): Promise<INotificationChannelTestResponse>;
|
|
44
51
|
/**
|
|
45
52
|
* Update existing email
|
|
46
53
|
*
|
|
@@ -76,6 +83,13 @@ export interface IOrganizationNotificationChannelService {
|
|
|
76
83
|
* @returns Promise resolved with created webhook.
|
|
77
84
|
*/
|
|
78
85
|
createWebhook(webhook: IWebhookDefinition): Promise<IWebhookDefinitionObject>;
|
|
86
|
+
/**
|
|
87
|
+
* Test webhook
|
|
88
|
+
*
|
|
89
|
+
* @param webhook - definition of the webhook
|
|
90
|
+
* @returns Promise resolved with test response.
|
|
91
|
+
*/
|
|
92
|
+
testWebhook(webhook: IWebhookDefinition): Promise<INotificationChannelTestResponse>;
|
|
79
93
|
/**
|
|
80
94
|
* Update existing webhook
|
|
81
95
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organization/notificationChannels/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,oCAAoC,EACpC,wBAAwB,EACxB,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organization/notificationChannels/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,oCAAoC,EACpC,wBAAwB,EACxB,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,gCAAgC,EACnC,MAAM,qBAAqB,CAAC;AAE7B;;;;GAIG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAE5B;;OAEG;IACH,MAAM,IAAI,OAAO,CAAC,oCAAoC,EAAE,CAAC,CAAC;IAE1D;;;;;OAKG;IACH,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEzC;;;;;OAKG;IACH,SAAS,IAAI,OAAO,CAAC,qBAAqB,EAAE,CAAC,CAAC;IAE9C;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAErD;;;;;OAKG;IACH,WAAW,CAAC,IAAI,EAAE,eAAe,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAEnE;;;;;OAKG;IACH,SAAS,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAE7E;;;;;OAKG;IACH,WAAW,CAAC,IAAI,EAAE,qBAAqB,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAEzE;;;;;OAKG;IACH,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvC;;;;;OAKG;IACH,WAAW,IAAI,OAAO,CAAC,wBAAwB,EAAE,CAAC,CAAC;IAEnD;;;;;OAKG;IACH,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAAC;IAE1D;;;;;OAKG;IACH,aAAa,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAAC;IAE9E;;;;;OAKG;IACH,WAAW,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAEpF;;;;;OAKG;IACH,aAAa,CAAC,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAAC;IAEpF;;;;;OAKG;IACH,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5C"}
|
package/esm/sdk-backend-spi.d.ts
CHANGED
|
@@ -80,6 +80,7 @@ import { IMeasureMetadataObject } from '@gooddata/sdk-model';
|
|
|
80
80
|
import { IMeasureMetadataObjectDefinition } from '@gooddata/sdk-model';
|
|
81
81
|
import { IMetadataObject } from '@gooddata/sdk-model';
|
|
82
82
|
import { INotificationChannelDefinitionObject } from '@gooddata/sdk-model';
|
|
83
|
+
import { INotificationChannelTestResponse } from '@gooddata/sdk-model';
|
|
83
84
|
import { INullableFilter } from '@gooddata/sdk-model';
|
|
84
85
|
import { IOpenAiConfig } from '@gooddata/sdk-model';
|
|
85
86
|
import { IOrganizationAssignee } from '@gooddata/sdk-model';
|
|
@@ -2796,6 +2797,13 @@ export declare interface IOrganizationNotificationChannelService {
|
|
|
2796
2797
|
* @returns Promise resolved with created smtp.
|
|
2797
2798
|
*/
|
|
2798
2799
|
createEmail(smtp: ISmtpDefinition): Promise<ISmtpDefinitionObject>;
|
|
2800
|
+
/**
|
|
2801
|
+
* Test email
|
|
2802
|
+
*
|
|
2803
|
+
* @param email - definition of the email
|
|
2804
|
+
* @returns Promise resolved with test response.
|
|
2805
|
+
*/
|
|
2806
|
+
testEmail(email: ISmtpDefinition): Promise<INotificationChannelTestResponse>;
|
|
2799
2807
|
/**
|
|
2800
2808
|
* Update existing email
|
|
2801
2809
|
*
|
|
@@ -2831,6 +2839,13 @@ export declare interface IOrganizationNotificationChannelService {
|
|
|
2831
2839
|
* @returns Promise resolved with created webhook.
|
|
2832
2840
|
*/
|
|
2833
2841
|
createWebhook(webhook: IWebhookDefinition): Promise<IWebhookDefinitionObject>;
|
|
2842
|
+
/**
|
|
2843
|
+
* Test webhook
|
|
2844
|
+
*
|
|
2845
|
+
* @param webhook - definition of the webhook
|
|
2846
|
+
* @returns Promise resolved with test response.
|
|
2847
|
+
*/
|
|
2848
|
+
testWebhook(webhook: IWebhookDefinition): Promise<INotificationChannelTestResponse>;
|
|
2834
2849
|
/**
|
|
2835
2850
|
* Update existing webhook
|
|
2836
2851
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-backend-spi",
|
|
3
|
-
"version": "10.16.0-alpha.
|
|
3
|
+
"version": "10.16.0-alpha.11",
|
|
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.16.0-alpha.
|
|
27
|
+
"@gooddata/sdk-model": "10.16.0-alpha.11"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@gooddata/eslint-config": "^4.1.0",
|