File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,11 @@ declare interface KR {
3434 /**
3535 * @summary Add a form.
3636 */
37- addForm : ( formSelector : string ) => Promise < { KR : KR , result : { formId : string } } > ;
37+ addForm : ( formSelector : string , formType ?: FormType ) => Promise < { KR : KR , result : { formId : string } } > ;
3838 /**
3939 * @summary Attach a form to the given selector.
4040 */
41- attachForm : ( formSelector : string ) => Promise < { KR : KR , result : { formId : string } } > ;
41+ attachForm : ( formSelector : string , formType ?: FormType ) => Promise < { KR : KR , result : { formId : string } } > ;
4242 /**
4343 * @summary Show form.
4444 */
@@ -431,4 +431,9 @@ declare interface KRPaymentIPNResponse {
431431 * @summary Answer data.
432432 */
433433 'kr-answer' : string ;
434+ }
435+
436+ declare enum FormType {
437+ Cards = "cards" ,
438+ All = "all"
434439}
You can’t perform that action at this time.
0 commit comments