@aigens/aigens-sdk-adyen
Advanced tools
Comparing version 0.5.5 to 0.5.6
@@ -28,2 +28,21 @@ { | ||
{ | ||
"name": "requestLocalTerminal", | ||
"signature": "(options: AdyenLocalOptions) => Promise<AdyenResult>", | ||
"parameters": [ | ||
{ | ||
"name": "options", | ||
"docs": "", | ||
"type": "AdyenLocalOptions" | ||
} | ||
], | ||
"returns": "Promise<AdyenResult>", | ||
"tags": [], | ||
"docs": "", | ||
"complexTypes": [ | ||
"AdyenResult", | ||
"AdyenLocalOptions" | ||
], | ||
"slug": "requestlocalterminal" | ||
}, | ||
{ | ||
"name": "getInstallationId", | ||
@@ -71,3 +90,3 @@ "signature": "() => Promise<{ installationId: string; }>", | ||
"complexTypes": [], | ||
"type": "string" | ||
"type": "string | undefined" | ||
} | ||
@@ -211,2 +230,53 @@ ] | ||
] | ||
}, | ||
{ | ||
"name": "AdyenLocalOptions", | ||
"slug": "adyenlocaloptions", | ||
"docs": "", | ||
"tags": [], | ||
"methods": [], | ||
"properties": [ | ||
{ | ||
"name": "nexoRequest", | ||
"tags": [], | ||
"docs": "", | ||
"complexTypes": [], | ||
"type": "any" | ||
}, | ||
{ | ||
"name": "isPrd", | ||
"tags": [], | ||
"docs": "", | ||
"complexTypes": [], | ||
"type": "boolean" | ||
}, | ||
{ | ||
"name": "terminalIpUrl", | ||
"tags": [], | ||
"docs": "", | ||
"complexTypes": [], | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "keyIdentifier", | ||
"tags": [], | ||
"docs": "", | ||
"complexTypes": [], | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "passphrase", | ||
"tags": [], | ||
"docs": "", | ||
"complexTypes": [], | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "version", | ||
"tags": [], | ||
"docs": "", | ||
"complexTypes": [], | ||
"type": "number" | ||
} | ||
] | ||
} | ||
@@ -213,0 +283,0 @@ ], |
export interface AdyenPlugin { | ||
startPayment(options: AdyenOptions): Promise<AdyenResult>; | ||
requestLocalTerminal(options: AdyenLocalOptions): Promise<AdyenResult>; | ||
getInstallationId(): Promise<{ | ||
@@ -12,2 +13,10 @@ installationId: string; | ||
} | ||
export interface AdyenLocalOptions { | ||
nexoRequest: any; | ||
isPrd: boolean; | ||
terminalIpUrl: string; | ||
keyIdentifier: string; | ||
passphrase: string; | ||
version: number; | ||
} | ||
export interface AuthenticationServiceObject { | ||
@@ -32,3 +41,3 @@ url: string; | ||
result: boolean; | ||
data: string; | ||
data?: string; | ||
} |
import { WebPlugin } from '@capacitor/core'; | ||
import type { AdyenOptions, AdyenPlugin, AdyenResult } from './definitions'; | ||
import type { AdyenOptions, AdyenPlugin, AdyenResult, AdyenLocalOptions } from './definitions'; | ||
export declare class AdyenWeb extends WebPlugin implements AdyenPlugin { | ||
startPayment(options: AdyenOptions): Promise<AdyenResult>; | ||
requestLocalTerminal(options: AdyenLocalOptions): Promise<AdyenResult>; | ||
getInstallationId(): Promise<{ | ||
@@ -6,0 +7,0 @@ installationId: string; |
@@ -6,2 +6,5 @@ import { WebPlugin } from '@capacitor/core'; | ||
} | ||
async requestLocalTerminal(options) { | ||
return options; | ||
} | ||
async getInstallationId() { | ||
@@ -8,0 +11,0 @@ return { installationId: "" }; |
@@ -15,2 +15,5 @@ 'use strict'; | ||
} | ||
async requestLocalTerminal(options) { | ||
return options; | ||
} | ||
async getInstallationId() { | ||
@@ -17,0 +20,0 @@ return { installationId: "" }; |
@@ -12,2 +12,5 @@ var capacitorAdyen = (function (exports, core) { | ||
} | ||
async requestLocalTerminal(options) { | ||
return options; | ||
} | ||
async getInstallationId() { | ||
@@ -14,0 +17,0 @@ return { installationId: "" }; |
{ | ||
"name": "@aigens/aigens-sdk-adyen", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"description": "Aigens SDK Adyen", | ||
@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js", |
@@ -17,2 +17,3 @@ # aigens-sdk-adyen | ||
* [`startPayment(...)`](#startpayment) | ||
* [`requestLocalTerminal(...)`](#requestlocalterminal) | ||
* [`getInstallationId()`](#getinstallationid) | ||
@@ -42,2 +43,17 @@ * [`clearSession()`](#clearsession) | ||
### requestLocalTerminal(...) | ||
```typescript | ||
requestLocalTerminal(options: AdyenLocalOptions) => Promise<AdyenResult> | ||
``` | ||
| Param | Type | | ||
| ------------- | --------------------------------------------------------------- | | ||
| **`options`** | <code><a href="#adyenlocaloptions">AdyenLocalOptions</a></code> | | ||
**Returns:** <code>Promise<<a href="#adyenresult">AdyenResult</a>></code> | ||
-------------------- | ||
### getInstallationId() | ||
@@ -108,2 +124,14 @@ | ||
#### AdyenLocalOptions | ||
| Prop | Type | | ||
| ------------------- | -------------------- | | ||
| **`nexoRequest`** | <code>any</code> | | ||
| **`isPrd`** | <code>boolean</code> | | ||
| **`terminalIpUrl`** | <code>string</code> | | ||
| **`keyIdentifier`** | <code>string</code> | | ||
| **`passphrase`** | <code>string</code> | | ||
| **`version`** | <code>number</code> | | ||
</docgen-api> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
68717
32
757
135