@feedmepos/mf-brand-app-builder 0.5.31-dev.2 → 0.5.32-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.
@@ -0,0 +1,18 @@
1
+ type __VLS_Props = {
2
+ label?: string;
3
+ modelValue: File | undefined;
4
+ accept?: string;
5
+ };
6
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:modelValue": (args_0: File | undefined) => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ "onUpdate:modelValue"?: ((args_0: File | undefined) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
11
+ default?: ((props: {}) => any) | undefined;
12
+ }>;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare const ENABLE_NATIVE_DEPLOYMENT_CREDENTIALS = false;
@@ -1,4 +1,4 @@
1
- import { B as u } from "./index-C4vwWvn_.js";
1
+ import { B as u } from "./index-C7Ax57OZ.js";
2
2
  import { defineStore as a } from "pinia";
3
3
  import { ref as r } from "vue";
4
4
  const c = a("business", () => {
@@ -1,5 +1,5 @@
1
1
  import { H as a, a as i } from "./index-D0LOMBBD.js";
2
- const o = () => i().PORTAL_V2_BACKEND, d = () => i().LICENSE_BACKEND;
2
+ const d = () => i().PORTAL_V2_BACKEND, o = () => i().LICENSE_BACKEND;
3
3
  async function p(t) {
4
4
  return (await a.Get(
5
5
  "https://api.feedmedev.vip",
@@ -78,7 +78,7 @@ async function y(t, e) {
78
78
  }
79
79
  async function $(t, e) {
80
80
  return await a.Put(
81
- o(),
81
+ d(),
82
82
  `businesses/${t}/profile`,
83
83
  {
84
84
  data: e
@@ -90,11 +90,27 @@ async function $(t, e) {
90
90
  }
91
91
  async function w(t) {
92
92
  return await a.Get(
93
- d(),
93
+ o(),
94
94
  `api/business/${t}/feature/miniprogram`
95
95
  ).then((e) => e.data).catch(() => !1);
96
96
  }
97
- const g = {
97
+ async function g(t) {
98
+ return (await a.Get(
99
+ "https://api.feedmedev.vip",
100
+ `/metadata/${t}/credentials`,
101
+ {}
102
+ )).data;
103
+ }
104
+ async function B(t, e) {
105
+ return (await a.Post(
106
+ "https://api.feedmedev.vip",
107
+ `/metadata/${t}/credentials`,
108
+ {
109
+ data: e
110
+ }
111
+ )).data;
112
+ }
113
+ const P = {
98
114
  getGlobalSlug: p,
99
115
  setShortUrl: c,
100
116
  getBusinessMetadata: u,
@@ -105,8 +121,10 @@ const g = {
105
121
  restoreTemplateVersion: v,
106
122
  clearTemplateHistory: y,
107
123
  updateBusinessProfile: $,
108
- getBusinessPremiumStatus: w
124
+ getBusinessPremiumStatus: w,
125
+ getCredentials: g,
126
+ updateCredentials: B
109
127
  };
110
128
  export {
111
- g as B
129
+ P as B
112
130
  };