biz9-logic 4.8.105 → 4.8.106
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/biz9_config +1 -1
- package/index.js +16 -5
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -1036,23 +1036,23 @@ class FAQ_Url {
|
|
|
1036
1036
|
};
|
|
1037
1037
|
}
|
|
1038
1038
|
class Order_Url {
|
|
1039
|
-
static
|
|
1039
|
+
static single_stripe_checkout = (biz9_config,data_type,key,params) => {
|
|
1040
1040
|
let action_url="order/single-stripe-checkout/"+data_type+"/"+key;
|
|
1041
1041
|
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
1042
1042
|
};
|
|
1043
|
-
static
|
|
1043
|
+
static user_stripe_checkout = (biz9_config,user_id,params) => {
|
|
1044
1044
|
let action_url="order/cart-stripe-checkout/"+user_id;
|
|
1045
1045
|
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
1046
1046
|
};
|
|
1047
|
-
static
|
|
1047
|
+
static checkout_success = (biz9_config,order_id,params) => {
|
|
1048
1048
|
let action_url="order/cart-stripe-checkout/"+order_id;
|
|
1049
1049
|
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
1050
1050
|
};
|
|
1051
|
-
static
|
|
1051
|
+
static user_cart = (biz9_config,user_id,params) => {
|
|
1052
1052
|
let action_url="order/user-cart/"+order_id;
|
|
1053
1053
|
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
1054
1054
|
};
|
|
1055
|
-
static
|
|
1055
|
+
static cart_update = (biz9_config,user_id,data_type,id,params) => {
|
|
1056
1056
|
let action_url="order/cart-update/"+user_id+"/"+data_type+"/"+id;
|
|
1057
1057
|
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
1058
1058
|
};
|
|
@@ -1075,6 +1075,16 @@ class Product_Url {
|
|
|
1075
1075
|
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
1076
1076
|
};
|
|
1077
1077
|
}
|
|
1078
|
+
class Review_Url {
|
|
1079
|
+
static update = (biz9_config,parent_data_type,parent_id,user_id,params) => {
|
|
1080
|
+
let action_url="review/"+parent_data_type+"/"+parent_id+"/"+user_id;
|
|
1081
|
+
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
1082
|
+
};
|
|
1083
|
+
static search = (biz9_config,parent_data_type,parent_id,params) => {
|
|
1084
|
+
let action_url="review/"+parent_data_type+"/"+parent_id;
|
|
1085
|
+
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
1086
|
+
};
|
|
1087
|
+
}
|
|
1078
1088
|
class Event_Url {
|
|
1079
1089
|
static get = (biz9_config,key,params) => {
|
|
1080
1090
|
let action_url="event/get/"+key;
|
|
@@ -1719,6 +1729,7 @@ module.exports = {
|
|
|
1719
1729
|
Product_Logic,
|
|
1720
1730
|
Review_Logic,
|
|
1721
1731
|
Review_Url,
|
|
1732
|
+
Order_Url,
|
|
1722
1733
|
Service_Logic,
|
|
1723
1734
|
Service_Url,
|
|
1724
1735
|
Social,
|