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.
Files changed (3) hide show
  1. package/biz9_config +1 -1
  2. package/index.js +16 -5
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='5.8.5'
1
+ VERSION='5.8.6'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -1036,23 +1036,23 @@ class FAQ_Url {
1036
1036
  };
1037
1037
  }
1038
1038
  class Order_Url {
1039
- static single-stripe-checkout = (biz9_config,data_type,key,params) => {
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 user-stripe-checkout = (biz9_config,user_id,params) => {
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 checkout-success = (biz9_config,order_id,params) => {
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 user-cart = (biz9_config,user_id,params) => {
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 cart-update = (biz9_config,user_id,data_type,id,params) => {
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.105",
3
+ "version": "4.8.106",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"