Aigens Order.Place Core Plugin
npm install @aigens/aigens-sdk-core
npx cap sync
echo(options: any) => Promise<any>
Returns: Promise<any>
dismiss(options: any) => Promise<any>
Returns: Promise<any>
finish(options: any) => Promise<any>
Returns: Promise<any>
getMember(options: any) => Promise<{ member: Member; }>
Returns: Promise<{ member: Member; }>
getDeeplink(options: any) => Promise<{ deeplink: Deeplink; }>
Returns: Promise<{ deeplink: Deeplink; }>
openBrowser(options: BrowserOptions) => Promise<any>
Returns: Promise<any>
isInstalledApp(options: { key: string; }) => Promise<{ install: boolean; }>
Param |
Type |
options |
{ key: string; } |
Returns: Promise<{ install: boolean; }>
getIsProductionEnvironment()
getIsProductionEnvironment() => Promise<{ isPrd: boolean; }>
Returns: Promise<{ isPrd: boolean; }>
openExternalUrl(options: { url: string; }) => Promise<any>
Param |
Type |
options |
{ url: string; } |
Returns: Promise<any>
checkNotificationPermissions()
checkNotificationPermissions() => Promise<PermissionStatus>
Returns: Promise<PermissionStatus>
getFinishData(options: any) => Promise<{ closedData: any; }>
Returns: Promise<{ closedData: any; }>
setTextZoom(options: { value: number; }) => Promise<any>
Param |
Type |
options |
{ value: number; } |
Returns: Promise<any>
readClipboard() => Promise<any>
Promise<any>: { value: string, type: 'text/plain' }
Returns: Promise<any>
addCalendar(options: CalendarOptions) => Promise<{ notPermission?: boolean; resultCode?: number; }>
Returns: Promise<{ notPermission?: boolean; resultCode?: number; }>
makeHKFPSPayment(options: FPSPaymentOptions) => Promise<FPSResultOptions>
Returns: Promise<FPSResultOptions>
Prop |
Type |
"memberCode" |
string |
"source" |
string |
"sessionId" |
string |
"pushId" |
string |
"deviceId" |
string |
"universalLink" |
string |
"appleMerchantId" |
string |
"cachedOrderContext" |
boolean |
"name" |
string |
"email" |
string |
"phone" |
string |
Prop |
Type |
"addItemId" |
string |
"addDiscountCode" |
string |
"addOfferId" |
string |
Prop |
Type |
url |
string |
member |
Member |
deeplink |
Deeplink |
externalProtocols |
string[] |
addPaddingProtocols |
string[] |
excludedUniversalLinks |
string[] |
Prop |
Type |
title |
string |
isAllDay |
boolean |
beginTime |
number |
endTime |
number |
location |
string |
notes |
string |
Prop |
Type |
result |
boolean |
url |
string |
intent |
string |
Prop |
Type |
paymentRequestUrl |
string |
callbackUrl |
string |
typeIdentifier |
string |
title |
string |
'prompt' | 'prompt-with-rationale' | 'granted' | 'denied'