@bootpay/client-js 4.1.0 → 4.1.3
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/README.md +12 -1
- package/bootpay-sdk.js +1 -1
- package/bootpay.d.ts +1 -0
- package/bootpay.js +1 -1
- package/lib/locale/message.d.ts +34 -34
- package/models/bootpay-interface.d.ts +5 -0
- package/package.json +1 -1
- package/support/logger.d.ts +3 -3
package/lib/locale/message.d.ts
CHANGED
|
@@ -1,84 +1,84 @@
|
|
|
1
1
|
export declare const BootpayMessage: {
|
|
2
2
|
startProgress: {
|
|
3
3
|
PAYMENT: {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
ko: string;
|
|
5
|
+
en: string;
|
|
6
6
|
};
|
|
7
7
|
CARD_SUBSCRIPTION: {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
ko: string;
|
|
9
|
+
en: string;
|
|
10
10
|
};
|
|
11
11
|
AUTH: {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
ko: string;
|
|
13
|
+
en: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
popupLocaleMessage: {
|
|
17
17
|
message: {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ko: string;
|
|
19
|
+
en: string;
|
|
20
20
|
};
|
|
21
21
|
button: {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
ko: string;
|
|
23
|
+
en: string;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
popupMessage: {
|
|
27
27
|
message: {
|
|
28
28
|
PAYMENT: {
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
ko: string;
|
|
30
|
+
en: string;
|
|
31
31
|
};
|
|
32
32
|
CARD_SUBSCRIPTION: {
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
ko: string;
|
|
34
|
+
en: string;
|
|
35
35
|
};
|
|
36
36
|
AUTH: {
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
ko: string;
|
|
38
|
+
en: string;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
41
|
button: {
|
|
42
42
|
PAYMENT: {
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
ko: string;
|
|
44
|
+
en: string;
|
|
45
45
|
};
|
|
46
46
|
CARD_SUBSCRIPTION: {
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
ko: string;
|
|
48
|
+
en: string;
|
|
49
49
|
};
|
|
50
50
|
AUTH: {
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
ko: string;
|
|
52
|
+
en: string;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
closeMessage: {
|
|
57
57
|
PAYMENT: {
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
ko: string;
|
|
59
|
+
en: string;
|
|
60
60
|
};
|
|
61
61
|
CARD_SUBSCRIPTION: {
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
ko: string;
|
|
63
|
+
en: string;
|
|
64
64
|
};
|
|
65
65
|
AUTH: {
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
ko: string;
|
|
67
|
+
en: string;
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
70
|
confirmNotYet: {
|
|
71
71
|
PAYMENT: {
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
ko: string;
|
|
73
|
+
en: string;
|
|
74
74
|
};
|
|
75
75
|
CARD_SUBSCRIPTION: {
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
ko: string;
|
|
77
|
+
en: string;
|
|
78
78
|
};
|
|
79
79
|
AUTH: {
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
ko: string;
|
|
81
|
+
en: string;
|
|
82
82
|
};
|
|
83
83
|
};
|
|
84
84
|
};
|
|
@@ -26,6 +26,7 @@ export interface RequestPaymentModel {
|
|
|
26
26
|
items?: Array<ItemModel>;
|
|
27
27
|
extra?: ExtraModel;
|
|
28
28
|
env?: EnvironmentModel;
|
|
29
|
+
locale?: string;
|
|
29
30
|
}
|
|
30
31
|
export interface RequestSubscriptionModel {
|
|
31
32
|
ver?: string;
|
|
@@ -185,6 +186,10 @@ export interface ExtraModel {
|
|
|
185
186
|
except_card_companies?: Array<string>;
|
|
186
187
|
enable_card_companies?: Array<string>;
|
|
187
188
|
minimum_price_limit?: boolean;
|
|
189
|
+
confirm_grace_seconds?: number;
|
|
190
|
+
automatic_tax?: boolean;
|
|
191
|
+
dynamic_tax_rates?: number;
|
|
192
|
+
tax_rates?: number;
|
|
188
193
|
}
|
|
189
194
|
export interface ConfirmModel {
|
|
190
195
|
event: string;
|
package/package.json
CHANGED
package/support/logger.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export declare const Logger: {
|
|
|
35
35
|
export declare class EventLoggerManager extends Resource {
|
|
36
36
|
$session: SessionStorageManager;
|
|
37
37
|
$tk?: string;
|
|
38
|
-
$
|
|
38
|
+
$applicationId?: string;
|
|
39
39
|
$platformType?: number;
|
|
40
40
|
$receiptId?: string;
|
|
41
41
|
constructor();
|
|
@@ -49,7 +49,7 @@ export declare class EventLoggerManager extends Resource {
|
|
|
49
49
|
setTokenKey(tokenKey: string): void;
|
|
50
50
|
setReceiptId(receiptId: string): void;
|
|
51
51
|
clearInstance(): void;
|
|
52
|
-
send(eventData: EventDataModel): Promise<any> |
|
|
52
|
+
send(eventData: EventDataModel): Promise<any> | void;
|
|
53
53
|
sendError(eventData: EventDataModel): void;
|
|
54
54
|
setApplicationId(key: string | undefined): void;
|
|
55
55
|
/**
|
|
@@ -57,7 +57,7 @@ export declare class EventLoggerManager extends Resource {
|
|
|
57
57
|
* Comment by GOSOMI
|
|
58
58
|
* @date: 2022-05-13
|
|
59
59
|
*/
|
|
60
|
-
sendCloseEvent(): Promise<any
|
|
60
|
+
sendCloseEvent(): Promise<any>;
|
|
61
61
|
}
|
|
62
62
|
export declare const EventLogger: EventLoggerManager;
|
|
63
63
|
export {};
|