@soltech/fluid-common 0.6.50 → 0.6.52
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/lib/index.d.ts +11 -3
- package/lib/index.js +7 -0
- package/package.json +1 -1
- package/src/index.ts +12 -3
package/lib/index.d.ts
CHANGED
|
@@ -74,7 +74,6 @@ export interface PaymentMethod {
|
|
|
74
74
|
bonusCodes?: string[];
|
|
75
75
|
instructions?: string;
|
|
76
76
|
fees?: PaymentMethodFees;
|
|
77
|
-
popupWindowRedirect: boolean;
|
|
78
77
|
}
|
|
79
78
|
export interface PaymentMethodFees {
|
|
80
79
|
fixedAmount?: number;
|
|
@@ -166,10 +165,13 @@ export interface TransactionResult {
|
|
|
166
165
|
}
|
|
167
166
|
export interface RedirectOutput {
|
|
168
167
|
container: string;
|
|
169
|
-
parameters?: Record<string, string>;
|
|
170
168
|
height?: number;
|
|
171
|
-
|
|
169
|
+
html?: string;
|
|
170
|
+
method?: HttpVerb;
|
|
171
|
+
parameters?: Record<string, string>;
|
|
172
|
+
sizeUnit?: string;
|
|
172
173
|
url: string;
|
|
174
|
+
width?: number;
|
|
173
175
|
}
|
|
174
176
|
export declare enum TransactionState {
|
|
175
177
|
SUCCESS = "SUCCESS",
|
|
@@ -186,6 +188,12 @@ export interface ProviderTransactionError {
|
|
|
186
188
|
text: string;
|
|
187
189
|
textTitle: string;
|
|
188
190
|
}
|
|
191
|
+
export declare enum HttpVerb {
|
|
192
|
+
DELETE = "DELETE",
|
|
193
|
+
GET = "GET",
|
|
194
|
+
POST = "POST",
|
|
195
|
+
PUT = "PUT"
|
|
196
|
+
}
|
|
189
197
|
export declare enum Action {
|
|
190
198
|
RESTART_PRESERVING_DETAILS = "RESTART_PRESERVING_DETAILS",
|
|
191
199
|
RESTART_CLEARING_DETAILS = "RESTART_CLEARING_DETAILS",
|
package/lib/index.js
CHANGED
|
@@ -33,6 +33,13 @@ export var TransactionState;
|
|
|
33
33
|
TransactionState["WAITING_INPUT"] = "WAITING_INPUT";
|
|
34
34
|
TransactionState["CANCELLED"] = "CANCELLED";
|
|
35
35
|
})(TransactionState || (TransactionState = {}));
|
|
36
|
+
export var HttpVerb;
|
|
37
|
+
(function (HttpVerb) {
|
|
38
|
+
HttpVerb["DELETE"] = "DELETE";
|
|
39
|
+
HttpVerb["GET"] = "GET";
|
|
40
|
+
HttpVerb["POST"] = "POST";
|
|
41
|
+
HttpVerb["PUT"] = "PUT";
|
|
42
|
+
})(HttpVerb || (HttpVerb = {}));
|
|
36
43
|
export var Action;
|
|
37
44
|
(function (Action) {
|
|
38
45
|
Action["RESTART_PRESERVING_DETAILS"] = "RESTART_PRESERVING_DETAILS";
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -84,7 +84,6 @@ export interface PaymentMethod {
|
|
|
84
84
|
bonusCodes?: string[];
|
|
85
85
|
instructions?: string;
|
|
86
86
|
fees?: PaymentMethodFees;
|
|
87
|
-
popupWindowRedirect: boolean;
|
|
88
87
|
}
|
|
89
88
|
|
|
90
89
|
export interface PaymentMethodFees {
|
|
@@ -189,10 +188,13 @@ export interface TransactionResult {
|
|
|
189
188
|
|
|
190
189
|
export interface RedirectOutput {
|
|
191
190
|
container: string;
|
|
192
|
-
parameters?: Record<string, string>;
|
|
193
191
|
height?: number;
|
|
194
|
-
|
|
192
|
+
html?: string;
|
|
193
|
+
method?: HttpVerb;
|
|
194
|
+
parameters?: Record<string, string>;
|
|
195
|
+
sizeUnit?: string;
|
|
195
196
|
url: string;
|
|
197
|
+
width?: number;
|
|
196
198
|
}
|
|
197
199
|
|
|
198
200
|
export enum TransactionState {
|
|
@@ -212,6 +214,13 @@ export interface ProviderTransactionError {
|
|
|
212
214
|
textTitle: string;
|
|
213
215
|
}
|
|
214
216
|
|
|
217
|
+
export enum HttpVerb {
|
|
218
|
+
DELETE = 'DELETE',
|
|
219
|
+
GET = 'GET',
|
|
220
|
+
POST = 'POST',
|
|
221
|
+
PUT = 'PUT'
|
|
222
|
+
}
|
|
223
|
+
|
|
215
224
|
export enum Action {
|
|
216
225
|
RESTART_PRESERVING_DETAILS = 'RESTART_PRESERVING_DETAILS',
|
|
217
226
|
RESTART_CLEARING_DETAILS = 'RESTART_CLEARING_DETAILS',
|