@equinor/subsurface-app-management 1.1.0 → 1.1.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/dist/api/services/FeatureToggleService.d.ts +1 -2
- package/dist/api/services/ImpersonateUserService.d.ts +2 -3
- package/dist/api/services/ReleaseNotesService.d.ts +1 -1
- package/dist/api/services/ServiceNowService.d.ts +3 -10
- package/dist/api/services/ServiceNowService.js +1 -1
- package/dist/api/services/SlackService.d.ts +1 -1
- package/dist/api/services/TutorialService.d.ts +1 -2
- package/dist/hooks/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { FeatureToggleDto } from '
|
|
2
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
1
|
+
import type { CancelablePromise, FeatureToggleDto } from './..';
|
|
3
2
|
export declare class FeatureToggleService {
|
|
4
3
|
/**
|
|
5
4
|
* Gets a Feature Toggle from Application name
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
1
|
+
import { CancelablePromise, ImpersonateUser } from './..';
|
|
3
2
|
export declare class ImpersonateUserService {
|
|
4
3
|
/**
|
|
5
4
|
* Get all impersonate users
|
|
6
5
|
* @returns ImpersonateUser Success
|
|
7
6
|
* @throws ApiError
|
|
8
7
|
*/
|
|
9
|
-
static getApiV1ImpersonateUser(): CancelablePromise<ImpersonateUser
|
|
8
|
+
static getApiV1ImpersonateUser(): CancelablePromise<Array<ImpersonateUser>>;
|
|
10
9
|
/**
|
|
11
10
|
* @param requestBody
|
|
12
11
|
* @returns ImpersonateUser Success
|
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
1
|
+
import { CancelablePromise, ServiceNowIncidentResponse } from './..';
|
|
3
2
|
export declare class ServiceNowService {
|
|
4
3
|
/**
|
|
4
|
+
* Creates a incident report in service now
|
|
5
5
|
* @param formData
|
|
6
6
|
* @returns any Success
|
|
7
7
|
* @throws ApiError
|
|
8
8
|
*/
|
|
9
|
-
static createIncident(formData?:
|
|
10
|
-
ConfigurationItem: string;
|
|
11
|
-
Title: string;
|
|
12
|
-
Description: string;
|
|
13
|
-
CallerEmail: string;
|
|
14
|
-
urgency?: ServiceNowUrgency;
|
|
15
|
-
Images?: Array<Blob>;
|
|
16
|
-
}): CancelablePromise<any>;
|
|
9
|
+
static createIncident(formData?: FormData): CancelablePromise<ServiceNowIncidentResponse>;
|
|
17
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{OpenAPI_Portal as e}from"../core/OpenAPI.js";import{request as r}from"../core/request.js";class t{static createIncident(t){return r(e,{method:"POST",url:"/api/v1/ServiceNow/incident",
|
|
1
|
+
import{OpenAPI_Portal as e}from"../core/OpenAPI.js";import{request as r}from"../core/request.js";class t{static createIncident(t){return r(e,{method:"POST",url:"/api/v1/ServiceNow/incident",body:t})}}export{t as ServiceNowService};
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useFeatureToggleContext } from
|
|
1
|
+
import { useFeatureToggleContext } from '../providers/FeatureToggleProvider';
|
|
2
2
|
import { useFeatureToggling } from './useFeatureToggling';
|
|
3
3
|
import { useReleaseNotesQuery } from './useReleaseNotesQuery';
|
|
4
4
|
export { useFeatureToggling, useReleaseNotesQuery, useFeatureToggleContext };
|