@bootpay/client-js 4.0.5 → 4.0.8
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 +18 -2
- package/bootpay-sdk.js +1 -1
- package/bootpay.js +1 -1
- package/models/bootpay-interface.d.ts +16 -10
- package/package.json +1 -1
|
@@ -9,8 +9,8 @@ export interface RequestPaymentModel {
|
|
|
9
9
|
sdk_version?: string;
|
|
10
10
|
sdk_type?: number;
|
|
11
11
|
application_id?: string;
|
|
12
|
-
pg
|
|
13
|
-
method
|
|
12
|
+
pg?: string;
|
|
13
|
+
method?: string | Array<string>;
|
|
14
14
|
order_name: string;
|
|
15
15
|
price: number;
|
|
16
16
|
tax_free?: number;
|
|
@@ -68,11 +68,11 @@ export interface RequestAuthenticationModel {
|
|
|
68
68
|
* @date: 2021-04-13
|
|
69
69
|
*/
|
|
70
70
|
export interface UserModel {
|
|
71
|
-
id
|
|
72
|
-
username
|
|
73
|
-
email
|
|
74
|
-
addr
|
|
75
|
-
phone
|
|
71
|
+
id?: string | undefined;
|
|
72
|
+
username?: string;
|
|
73
|
+
email?: string;
|
|
74
|
+
addr?: string;
|
|
75
|
+
phone?: string;
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
78
|
* Item Model
|
|
@@ -80,8 +80,8 @@ export interface UserModel {
|
|
|
80
80
|
* @date: 2021-04-13
|
|
81
81
|
*/
|
|
82
82
|
export interface ItemModel {
|
|
83
|
-
id
|
|
84
|
-
code
|
|
83
|
+
id: string;
|
|
84
|
+
code?: string;
|
|
85
85
|
name: string;
|
|
86
86
|
price: number;
|
|
87
87
|
img?: string;
|
|
@@ -172,13 +172,19 @@ export interface ExtraModel {
|
|
|
172
172
|
confirm_message?: string;
|
|
173
173
|
display_success_result?: boolean;
|
|
174
174
|
display_error_result?: boolean;
|
|
175
|
-
subscription_comment?: string;
|
|
176
175
|
test_deposit?: boolean;
|
|
177
176
|
ad_id?: string;
|
|
178
177
|
sim_operator?: string;
|
|
179
178
|
installer_package_name?: string;
|
|
180
179
|
timeout?: number;
|
|
181
180
|
common_event_webhook?: boolean;
|
|
181
|
+
first_subscription_comment?: string;
|
|
182
|
+
subscription_comment?: string;
|
|
183
|
+
subscribe_test_payment?: boolean;
|
|
184
|
+
enable_easy_payments?: Array<string>;
|
|
185
|
+
except_card_companies?: Array<string>;
|
|
186
|
+
enable_card_companies?: Array<string>;
|
|
187
|
+
minimum_price_limit?: boolean;
|
|
182
188
|
}
|
|
183
189
|
export interface ConfirmModel {
|
|
184
190
|
event: string;
|