@feedmepos/mf-remy-panel 0.14.0 → 0.15.0-dev.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/{HomeView-02ebf585.js → HomeView-c8ef6907.js} +1 -1
- package/dist/{RemyButton-119ec49e.js → RemyButton-4632d5a7.js} +1 -1
- package/dist/api/marketing.d.ts +38 -0
- package/dist/{app-d511549f.js → app-4078cb28.js} +9515 -8800
- package/dist/app.js +1 -1
- package/dist/components/chatPanel/commands/AspectRatioAttachment.vue.d.ts +19 -0
- package/dist/components/chatPanel/commands/CampaignAttachment.vue.d.ts +20 -0
- package/dist/components/chatPanel/commands/MarketingMaterialAttachment.vue.d.ts +20 -0
- package/dist/components/chatPanel/commands/ProductsAttachment.vue.d.ts +20 -0
- package/dist/components/chatPanel/commands/registry.d.ts +2 -0
- package/dist/components/chatPanel/commands/types.d.ts +30 -0
- package/dist/composables/useClickOutside.d.ts +19 -0
- package/dist/stores/appStore.d.ts +3 -3
- package/dist/stores/chatStore.d.ts +29 -11
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/types/chat.d.ts +4 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as y, ref as a, openBlock as l, createElementBlock as n, createElementVNode as e, unref as b, createTextVNode as g, createStaticVNode as k, toDisplayString as i, createCommentVNode as r } from "vue";
|
|
2
|
-
import { u as E, a as _, R as C, _ as x } from "./app-
|
|
2
|
+
import { u as E, a as _, R as C, _ as x } from "./app-4078cb28.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-
|
|
2
|
+
import { u as y, R as _ } from "./app-4078cb28.js";
|
|
3
3
|
import "pinia";
|
|
4
4
|
import "@feedmepos/mf-common";
|
|
5
5
|
import "vue-router";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export interface MarketingCampaignOption {
|
|
2
|
+
_id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
type?: string;
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
}
|
|
7
|
+
export interface MarketingProductOption {
|
|
8
|
+
_id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
name2?: string | null;
|
|
11
|
+
description?: string | null;
|
|
12
|
+
thumbnail?: string | null;
|
|
13
|
+
category?: string | null;
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
}
|
|
16
|
+
export interface MarketingProductAttachment {
|
|
17
|
+
name: string;
|
|
18
|
+
description: string | null;
|
|
19
|
+
image: string | null;
|
|
20
|
+
}
|
|
21
|
+
export interface MarketingMaterialOption {
|
|
22
|
+
_id: string;
|
|
23
|
+
business: string;
|
|
24
|
+
imageUrl: string;
|
|
25
|
+
headline: string;
|
|
26
|
+
caption: string;
|
|
27
|
+
editedAt: string;
|
|
28
|
+
}
|
|
29
|
+
export declare function connectPortalUrl(): string;
|
|
30
|
+
export declare function fetchMarketingCampaigns(): Promise<MarketingCampaignOption[]>;
|
|
31
|
+
export declare function fetchMarketingProducts(): Promise<MarketingProductOption[]>;
|
|
32
|
+
export declare function toMarketingProductAttachment(product: MarketingProductOption): MarketingProductAttachment;
|
|
33
|
+
export declare function fetchMarketingMaterials(limit?: number): Promise<MarketingMaterialOption[]>;
|
|
34
|
+
export declare function createMarketingMaterial(payload: {
|
|
35
|
+
imageUrl: string;
|
|
36
|
+
headline: string;
|
|
37
|
+
caption: string;
|
|
38
|
+
}): Promise<MarketingMaterialOption>;
|