@equinor/subsurface-app-management 1.1.1 → 1.1.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.
|
@@ -6,22 +6,12 @@ export declare class SlackService {
|
|
|
6
6
|
* @returns any Success
|
|
7
7
|
* @throws ApiError
|
|
8
8
|
*/
|
|
9
|
-
static fileUpload(formData?:
|
|
10
|
-
ContentType?: string;
|
|
11
|
-
ContentDisposition?: string;
|
|
12
|
-
Headers?: Record<string, Array<string>>;
|
|
13
|
-
Length?: number;
|
|
14
|
-
Name?: string;
|
|
15
|
-
FileName?: string;
|
|
16
|
-
comment?: string;
|
|
17
|
-
}): CancelablePromise<any>;
|
|
9
|
+
static fileUpload(formData?: FormData): CancelablePromise<unknown>;
|
|
18
10
|
/**
|
|
19
|
-
*
|
|
11
|
+
* Posts a slack message to channel defined in config
|
|
20
12
|
* @param formData
|
|
21
13
|
* @returns any Success
|
|
22
14
|
* @throws ApiError
|
|
23
15
|
*/
|
|
24
|
-
static
|
|
25
|
-
comment?: string;
|
|
26
|
-
}): CancelablePromise<any>;
|
|
16
|
+
static postmessage(formData?: FormData): CancelablePromise<unknown>;
|
|
27
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{OpenAPI_Portal as
|
|
1
|
+
import{OpenAPI_Portal as e}from"../core/OpenAPI.js";import{request as o}from"../core/request.js";class r{static fileUpload(r){return o(e,{method:"POST",url:"/api/v1/Slack/fileUpload",body:r})}static postmessage(r){return o(e,{method:"POST",url:"/api/v1/Slack/postmessage",body:r})}}export{r as SlackService};
|