@equinor/subsurface-app-management 4.2.0 → 4.3.0
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/index.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ export type { MyTutorialDto } from './models/MyTutorialDto';
|
|
|
22
22
|
export type { StepDto } from './models/StepDto';
|
|
23
23
|
export { TutorialPosition } from './models/TutorialPosition';
|
|
24
24
|
export type { MyFeatureDto } from './models/MyFeatureDto';
|
|
25
|
+
export type { Faq } from './models/Faq';
|
|
26
|
+
export type { FaqCategory } from './models/FaqCategory';
|
|
25
27
|
export { AmplifyApplicationService } from './services/AmplifyApplicationService';
|
|
26
28
|
export { FeatureToggleService } from './services/FeatureToggleService';
|
|
27
29
|
export { ImpersonateUserService } from './services/ImpersonateUserService';
|
|
@@ -29,3 +31,4 @@ export { ReleaseNotesService } from './services/ReleaseNotesService';
|
|
|
29
31
|
export { ServiceNowService } from './services/ServiceNowService';
|
|
30
32
|
export { SlackService } from './services/SlackService';
|
|
31
33
|
export { TutorialService } from './services/TutorialService';
|
|
34
|
+
export { FaqService } from './services/FaqService';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { Faq } from '../models/Faq';
|
|
2
|
+
import type { FaqCategory } from '../models/FaqCategory';
|
|
3
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
|
+
export declare class FaqService {
|
|
5
|
+
/**
|
|
6
|
+
* Get FAQ image
|
|
7
|
+
* @param path
|
|
8
|
+
* @returns string OK
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static getFaqImage(path: string): CancelablePromise<string>;
|
|
12
|
+
/**
|
|
13
|
+
* Get FAQ categories from application id
|
|
14
|
+
* @param applicationId
|
|
15
|
+
* @returns FaqCategory OK
|
|
16
|
+
* @throws ApiError
|
|
17
|
+
*/
|
|
18
|
+
static getFaqCategoriesFromApplicationId(applicationId: string): CancelablePromise<Array<FaqCategory>>;
|
|
19
|
+
/**
|
|
20
|
+
* Get FAQs from category id
|
|
21
|
+
* @param categoryId
|
|
22
|
+
* @returns Faq OK
|
|
23
|
+
* @throws ApiError
|
|
24
|
+
*/
|
|
25
|
+
static getFaqsFromCategoryId(categoryId: number): CancelablePromise<Array<Faq>>;
|
|
26
|
+
/**
|
|
27
|
+
* Get FAQ by id
|
|
28
|
+
* @param id
|
|
29
|
+
* @returns Faq OK
|
|
30
|
+
* @throws ApiError
|
|
31
|
+
*/
|
|
32
|
+
static getFaqById(id: number): CancelablePromise<Faq>;
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{OpenAPI_SAM_Prod as t}from"../core/OpenAPI.js";import{request as a}from"../core/request.js";class r{static getFaqImage(r){return a(t,{method:"GET",url:"/api/v1/Faq/getfaqimage/{path}",path:{path:r},errors:{404:"Not Found"}})}static getFaqCategoriesFromApplicationId(r){return a(t,{method:"GET",url:"/api/v1/Faq/faqcategories/{applicationId}",path:{applicationId:r}})}static getFaqsFromCategoryId(r){return a(t,{method:"GET",url:"/api/v1/Faq/faqs/{categoryId}",path:{categoryId:r}})}static getFaqById(r){return a(t,{method:"GET",url:"/api/v1/Faq/faq/{id}",path:{id:r}})}}export{r as FaqService};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Feature}from"./components/Feature/Feature.js";export{FeatureRoute}from"./components/FeatureRoute/FeatureRoute.js";export{FeatureToggleProvider,useFeatureToggleContext}from"./providers/FeatureToggleProvider.js";export{useFeatureToggling}from"./hooks/useFeatureToggling.js";export{useReleaseNotesQuery}from"./hooks/useReleaseNotesQuery.js";export{useTutorialsQuery}from"./hooks/useTutorialsQuery.js";export{useTutorialStepImage}from"./hooks/useTutorialStepImage.js";export{useSignalRMessages}from"./hooks/useSignalRMessages.js";export{TutorialProvider,useTutorials}from"./providers/TutorialProvider/TutorialProvider.js";export{ApplicationInsightsProvider}from"./providers/ApplicationInsightsProvider/ApplicationInsightsProvider.js";export{samTrackEvent,samTrackMetric}from"./providers/ApplicationInsightsProvider/ApplicationInsightsProvider.utils.js";export{EnvironmentType}from"./types/Environment.js";export{RELEASENOTE_TYPES_INFORMATION,ReleaseNoteType}from"./types/ReleaseNotes.js";import*as e from"./utils/environment.js";export{e as environment};export{ApiError}from"./api/core/ApiError.js";export{CancelError,CancelablePromise}from"./api/core/CancelablePromise.js";export{OpenAPI_APP,getJSEmbarkToken,getPortalToken,getSAMToken}from"./api/core/OpenAPI.js";export{request}from"./api/core/request.js";export{ApplicationCategory}from"./api/models/ApplicationCategory.js";export{ServiceNowUrgency}from"./api/models/ServiceNowUrgency.js";export{TutorialPosition}from"./api/models/TutorialPosition.js";export{AmplifyApplicationService}from"./api/services/AmplifyApplicationService.js";export{FeatureToggleService}from"./api/services/FeatureToggleService.js";export{ImpersonateUserService}from"./api/services/ImpersonateUserService.js";export{ReleaseNotesService}from"./api/services/ReleaseNotesService.js";export{ServiceNowService}from"./api/services/ServiceNowService.js";export{SlackService}from"./api/services/SlackService.js";export{TutorialService}from"./api/services/TutorialService.js";export{GET_FEATURE_TOGGLES_FOR_APP,GET_RELEASE_NOTES,GET_TUTORIALS_FOR_APP,GET_TUTORIALS_SAS_TOKEN,GET_TUTORIAL_STEP_IMAGE,SAM_QUERIES}from"./constants/queryKeys.js";
|
|
1
|
+
export{Feature}from"./components/Feature/Feature.js";export{FeatureRoute}from"./components/FeatureRoute/FeatureRoute.js";export{FeatureToggleProvider,useFeatureToggleContext}from"./providers/FeatureToggleProvider.js";export{useFeatureToggling}from"./hooks/useFeatureToggling.js";export{useReleaseNotesQuery}from"./hooks/useReleaseNotesQuery.js";export{useTutorialsQuery}from"./hooks/useTutorialsQuery.js";export{useTutorialStepImage}from"./hooks/useTutorialStepImage.js";export{useSignalRMessages}from"./hooks/useSignalRMessages.js";export{TutorialProvider,useTutorials}from"./providers/TutorialProvider/TutorialProvider.js";export{ApplicationInsightsProvider}from"./providers/ApplicationInsightsProvider/ApplicationInsightsProvider.js";export{samTrackEvent,samTrackMetric}from"./providers/ApplicationInsightsProvider/ApplicationInsightsProvider.utils.js";export{EnvironmentType}from"./types/Environment.js";export{RELEASENOTE_TYPES_INFORMATION,ReleaseNoteType}from"./types/ReleaseNotes.js";import*as e from"./utils/environment.js";export{e as environment};export{ApiError}from"./api/core/ApiError.js";export{CancelError,CancelablePromise}from"./api/core/CancelablePromise.js";export{OpenAPI_APP,getJSEmbarkToken,getPortalToken,getSAMToken}from"./api/core/OpenAPI.js";export{request}from"./api/core/request.js";export{ApplicationCategory}from"./api/models/ApplicationCategory.js";export{ServiceNowUrgency}from"./api/models/ServiceNowUrgency.js";export{TutorialPosition}from"./api/models/TutorialPosition.js";export{AmplifyApplicationService}from"./api/services/AmplifyApplicationService.js";export{FeatureToggleService}from"./api/services/FeatureToggleService.js";export{ImpersonateUserService}from"./api/services/ImpersonateUserService.js";export{ReleaseNotesService}from"./api/services/ReleaseNotesService.js";export{ServiceNowService}from"./api/services/ServiceNowService.js";export{SlackService}from"./api/services/SlackService.js";export{TutorialService}from"./api/services/TutorialService.js";export{FaqService}from"./api/services/FaqService.js";export{GET_FEATURE_TOGGLES_FOR_APP,GET_RELEASE_NOTES,GET_TUTORIALS_FOR_APP,GET_TUTORIALS_SAS_TOKEN,GET_TUTORIAL_STEP_IMAGE,SAM_QUERIES}from"./constants/queryKeys.js";
|