@feedmepos/mf-brand-app-builder 0.5.31-prod → 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.
- package/dist/{App-D0eVHajg.js → App-jlRSyHeO.js} +7 -7
- package/dist/{AssetsSettings-DJOCXmyp.js → AssetsSettings-EAeO3NaT.js} +67 -62
- package/dist/{BrandkitView-DTEROqlE.js → BrandkitView-BiqqytH_.js} +2153 -2107
- package/dist/{BuilderView-Bn4A6u9s.js → BuilderView-wg2h3Yo7.js} +255 -255
- package/dist/{ImageUpload-Br7jYH_i.js → ImageUpload-Can3deJv.js} +8 -8
- package/dist/{LinkButton-DNXBKGCn.js → LinkButton-De-YNclu.js} +1 -1
- package/dist/{ListRepeater-DBZO7ium.js → ListRepeater-t5IMKKYe.js} +1 -1
- package/dist/{ManagementSettings-DHh2g_XJ.js → ManagementSettings--4kOBME_.js} +6 -6
- package/dist/{ProjectView-DKXRpIC6.js → ProjectView-ByxaVBFb.js} +1 -1
- package/dist/{app-BFlTXtjY.js → app-r_Tzagik.js} +3555 -2045
- package/dist/app.js +1 -1
- package/dist/brand-core/src/entity.d.ts +19 -0
- package/dist/client/merchant/src/api/business/index.d.ts +16 -2
- package/dist/client/merchant/src/app.d.ts +1514 -0
- package/dist/client/merchant/src/components/inputs/FileUpload.vue.d.ts +18 -0
- package/dist/client/merchant/src/components/settings/CredentialSettings.vue.d.ts +2 -0
- package/dist/client/merchant/src/constants/nativeDeployment.d.ts +1 -0
- package/dist/{image-S7-2rbQS.js → image-D_Djf1PS.js} +7 -7
- package/dist/{index-CawZ03Z8.js → index-Bi5NByw1.js} +1 -1
- package/dist/{index-CPs0rWCO.js → index-Bk6TOZrx.js} +15 -15
- package/dist/index-C7Ax57OZ.js +130 -0
- package/dist/{index-C6_vWPi0.js → index-D0LOMBBD.js} +27 -27
- package/dist/{main-CenEkQQC.js → main-Dm1Xcanz.js} +1265 -1259
- package/dist/package.json +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index-BUEKCOG0.js +0 -112
package/dist/app.js
CHANGED
|
@@ -200,3 +200,22 @@ export type FdoMetadata = {
|
|
|
200
200
|
};
|
|
201
201
|
brandkit?: BrandKit | null;
|
|
202
202
|
};
|
|
203
|
+
export type NativeCredentials = {
|
|
204
|
+
bundle_id?: string;
|
|
205
|
+
android?: {
|
|
206
|
+
package_name?: string;
|
|
207
|
+
keystore?: string;
|
|
208
|
+
key_properties?: string;
|
|
209
|
+
service_account_json?: string;
|
|
210
|
+
};
|
|
211
|
+
ios?: {
|
|
212
|
+
bundle_id?: string;
|
|
213
|
+
distribution_certificate?: string;
|
|
214
|
+
password?: string;
|
|
215
|
+
provisioning_profile?: string;
|
|
216
|
+
provisioning_profile_uuid?: string;
|
|
217
|
+
app_store_connect_api_key?: string;
|
|
218
|
+
app_store_connect_api_key_id?: string;
|
|
219
|
+
app_store_connect_api_private_key?: string;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type IBaResponse } from '..';
|
|
2
|
-
import type
|
|
2
|
+
import { type NativeCredentials, type BrandKit, type FdoMetadata, type TemplateVersion } from '../../../../../brand-core/src/entity';
|
|
3
3
|
/**
|
|
4
4
|
* Get all business and country info from top-level slug
|
|
5
5
|
* @param slug
|
|
@@ -17,7 +17,7 @@ declare function setShortUrl(slug: string, oldSlug: string, businessId: string):
|
|
|
17
17
|
* @param businessId
|
|
18
18
|
* @returns
|
|
19
19
|
*/
|
|
20
|
-
declare function getBusinessMetadata(businessId: string): Promise<
|
|
20
|
+
declare function getBusinessMetadata(businessId: string): Promise<FdoMetadata>;
|
|
21
21
|
/**
|
|
22
22
|
* Set pwa metadata
|
|
23
23
|
* @param businessId
|
|
@@ -74,6 +74,18 @@ declare function clearTemplateHistory(businessId: string, target: 'app' | 'kiosk
|
|
|
74
74
|
}>;
|
|
75
75
|
declare function updateBusinessProfile(businessId: string, payload: IBusinessProfilePayload): Promise<any>;
|
|
76
76
|
declare function getBusinessPremiumStatus(businessId: string): Promise<boolean>;
|
|
77
|
+
/**
|
|
78
|
+
* Get native credentials
|
|
79
|
+
* @param businessId
|
|
80
|
+
* @param credentials
|
|
81
|
+
*/
|
|
82
|
+
declare function getCredentials(businessId: string): Promise<NativeCredentials>;
|
|
83
|
+
/**
|
|
84
|
+
* Set native credentials
|
|
85
|
+
* @param businessId
|
|
86
|
+
* @param credentials
|
|
87
|
+
*/
|
|
88
|
+
declare function updateCredentials(businessId: string, credentials: any): Promise<unknown>;
|
|
77
89
|
export declare const BusinessApi: {
|
|
78
90
|
getGlobalSlug: typeof getGlobalSlug;
|
|
79
91
|
setShortUrl: typeof setShortUrl;
|
|
@@ -86,6 +98,8 @@ export declare const BusinessApi: {
|
|
|
86
98
|
clearTemplateHistory: typeof clearTemplateHistory;
|
|
87
99
|
updateBusinessProfile: typeof updateBusinessProfile;
|
|
88
100
|
getBusinessPremiumStatus: typeof getBusinessPremiumStatus;
|
|
101
|
+
getCredentials: typeof getCredentials;
|
|
102
|
+
updateCredentials: typeof updateCredentials;
|
|
89
103
|
};
|
|
90
104
|
interface IBusinessProfilePayload {
|
|
91
105
|
name: string;
|