@finteqhub/sdk-js 0.5.0 → 0.5.2
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/src/processing.js +1 -0
- package/dist/src/typings.d.ts +22 -15
- package/package.json +1 -1
package/dist/src/processing.js
CHANGED
package/dist/src/typings.d.ts
CHANGED
|
@@ -75,21 +75,23 @@ export declare type OperationSession = {
|
|
|
75
75
|
transactionId: string;
|
|
76
76
|
transactionType: string;
|
|
77
77
|
};
|
|
78
|
-
export declare type
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
78
|
+
export declare type PaymentMethod = {
|
|
79
|
+
friendlyName?: string;
|
|
80
|
+
logo?: string;
|
|
81
|
+
$credentials?: string;
|
|
82
|
+
};
|
|
83
|
+
export declare type PaymentMethodCredentials = {
|
|
84
|
+
[key: string]: {
|
|
85
|
+
fields?: {
|
|
86
|
+
[key: string]: FieldDetails;
|
|
87
|
+
} | undefined;
|
|
88
|
+
required?: string[] | undefined;
|
|
86
89
|
};
|
|
90
|
+
};
|
|
91
|
+
export declare type PaymentMethods = {
|
|
92
|
+
credentials: PaymentMethodCredentials;
|
|
87
93
|
paymentMethods: {
|
|
88
|
-
[key: string]:
|
|
89
|
-
friendlyName?: string;
|
|
90
|
-
logo?: string;
|
|
91
|
-
credentials?: string;
|
|
92
|
-
};
|
|
94
|
+
[key: string]: PaymentMethod;
|
|
93
95
|
};
|
|
94
96
|
};
|
|
95
97
|
export declare type Session = {
|
|
@@ -106,18 +108,23 @@ export declare type FieldDetails = {
|
|
|
106
108
|
export declare type SubmitData = {
|
|
107
109
|
customerAccountId: string;
|
|
108
110
|
credentials: {
|
|
111
|
+
billingAddress: Address;
|
|
109
112
|
card: {
|
|
110
113
|
cvv: string;
|
|
111
114
|
};
|
|
112
|
-
billingAddress: Address;
|
|
113
115
|
payer: Payer;
|
|
114
116
|
};
|
|
117
|
+
paymentMethodType: string;
|
|
115
118
|
} | {
|
|
116
119
|
credentials: {
|
|
117
|
-
card: Card;
|
|
118
120
|
billingAddress: Address;
|
|
121
|
+
card: Card;
|
|
119
122
|
payer: Payer;
|
|
120
123
|
};
|
|
124
|
+
paymentMethodType: string;
|
|
125
|
+
} | {
|
|
126
|
+
credentials: Record<string, string>;
|
|
127
|
+
paymentMethodType: string;
|
|
121
128
|
};
|
|
122
129
|
export declare type ProcessOperationRedirectResponse = {
|
|
123
130
|
type: "redirect";
|