@feedmepos/mf-remy-panel 0.17.0-dev.1 → 0.17.0-dev.3

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,5 +1,5 @@
1
1
  import { defineComponent as C, ref as a, openBlock as l, createElementBlock as i, createElementVNode as e, unref as E, createTextVNode as b, createStaticVNode as x, toDisplayString as p, createCommentVNode as m } from "vue";
2
- import { u as w, a as B, b as _, R as N, _ as R } from "./app-5820624d.js";
2
+ import { u as w, a as B, b as _, R as N, _ as R } from "./app-da81b5a0.js";
3
3
  import "pinia";
4
4
  import "@feedmepos/mf-common";
5
5
  import "vue-router";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s, computed as o, openBlock as i, createElementBlock as l, normalizeClass as t, createElementVNode as p, unref as u, createCommentVNode as d } from "vue";
2
- import { u as y, R as _ } from "./app-5820624d.js";
2
+ import { u as y, R as _ } from "./app-da81b5a0.js";
3
3
  import "pinia";
4
4
  import "@feedmepos/mf-common";
5
5
  import "vue-router";
@@ -62,10 +62,6 @@ export interface NotifyConnectedAppResponse {
62
62
  connectedAppLabel?: string;
63
63
  provider?: ConnectedAppProvider;
64
64
  }
65
- export interface ConnectedAppFeatureStatus {
66
- enabled: boolean;
67
- }
68
- export declare function fetchConnectedAppFeatureStatus(businessId: string): Promise<ConnectedAppFeatureStatus>;
69
65
  export declare function fetchConnectedApps(businessId: string): Promise<ConnectedAppRecordDto[]>;
70
66
  export declare function createConnectedApp(payload: CreateConnectedAppPayload): Promise<ConnectedAppRecordDto>;
71
67
  export declare function updateConnectedApp(businessId: string, connectedAppId: string, payload: UpdateConnectedAppPayload): Promise<ConnectedAppRecordDto>;
@@ -0,0 +1,15 @@
1
+ export declare enum RemyFeatureFlag {
2
+ Task = "portal_remy_task",
3
+ ConnectedApp = "portal_remy_connected_app"
4
+ }
5
+ export interface FeatureFlags {
6
+ [RemyFeatureFlag.Task]: boolean;
7
+ [RemyFeatureFlag.ConnectedApp]: boolean;
8
+ }
9
+ /**
10
+ * Feature flags for the current business, resolved by the backend
11
+ * (env override → Flagsmith → false). The backend owns the flag environment
12
+ * and key, so there is nothing to configure on the frontend. Fails closed:
13
+ * any error resolves every flag to false.
14
+ */
15
+ export declare function getFeatureFlags(): Promise<FeatureFlags>;
@@ -50,10 +50,3 @@ export interface ExecuteRcaActionPayload {
50
50
  export declare function executeRcaAction(payload: ExecuteRcaActionPayload): Promise<RcaActionRecordDto>;
51
51
  /** Lists the caller's RCA actions for a conversation (most recent first). */
52
52
  export declare function fetchRcaActions(conversationId: string): Promise<RcaActionRecordDto[]>;
53
- export interface RcaFeatureStatus {
54
- taskEnabled: boolean;
55
- notifyEnabled: boolean;
56
- connectedAppEnabled: boolean;
57
- }
58
- /** Check which RCA action kinds are enabled for a business. */
59
- export declare function fetchRcaFeatureStatus(businessId: string): Promise<RcaFeatureStatus>;