@fctc/interface-logic 3.5.7 → 3.5.9

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.
@@ -9,8 +9,7 @@ declare enum KeyConstants {
9
9
  GET_DATA_SELECTION = "get_data_select",
10
10
  WEB_SAVE = "web_save",
11
11
  WEB_READ = "web_read",
12
- GET_PROVIDER = "get_provider",
13
- PIE_CHART = "pie_chart"
12
+ GET_PROVIDER = "get_provider"
14
13
  }
15
14
 
16
15
  declare enum MethodConstants {
@@ -70,7 +69,7 @@ declare enum UriConstants {
70
69
  PAYMENT_QR = "/payment/qr",
71
70
  POS_DEVICE_PIN = "/pos_device/pin",
72
71
  GET_PIN_CODE = "/pos_device/get_pin_code",
73
- READ_GROUP = "read_group"
72
+ READ_GROUP = "/read_group"
74
73
  }
75
74
 
76
75
  declare enum FieldTypeConstants {
@@ -9,8 +9,7 @@ declare enum KeyConstants {
9
9
  GET_DATA_SELECTION = "get_data_select",
10
10
  WEB_SAVE = "web_save",
11
11
  WEB_READ = "web_read",
12
- GET_PROVIDER = "get_provider",
13
- PIE_CHART = "pie_chart"
12
+ GET_PROVIDER = "get_provider"
14
13
  }
15
14
 
16
15
  declare enum MethodConstants {
@@ -70,7 +69,7 @@ declare enum UriConstants {
70
69
  PAYMENT_QR = "/payment/qr",
71
70
  POS_DEVICE_PIN = "/pos_device/pin",
72
71
  GET_PIN_CODE = "/pos_device/get_pin_code",
73
- READ_GROUP = "read_group"
72
+ READ_GROUP = "/read_group"
74
73
  }
75
74
 
76
75
  declare enum FieldTypeConstants {
package/dist/constants.js CHANGED
@@ -49,7 +49,6 @@ var KeyConstants = /* @__PURE__ */ ((KeyConstants2) => {
49
49
  KeyConstants2["WEB_SAVE"] = "web_save";
50
50
  KeyConstants2["WEB_READ"] = "web_read";
51
51
  KeyConstants2["GET_PROVIDER"] = "get_provider";
52
- KeyConstants2["PIE_CHART"] = "pie_chart";
53
52
  return KeyConstants2;
54
53
  })(KeyConstants || {});
55
54
 
@@ -113,7 +112,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
113
112
  UriConstants2["PAYMENT_QR"] = "/payment/qr";
114
113
  UriConstants2["POS_DEVICE_PIN"] = "/pos_device/pin";
115
114
  UriConstants2["GET_PIN_CODE"] = "/pos_device/get_pin_code";
116
- UriConstants2["READ_GROUP"] = "read_group";
115
+ UriConstants2["READ_GROUP"] = "/read_group";
117
116
  return UriConstants2;
118
117
  })(UriConstants || {});
119
118
 
@@ -11,7 +11,6 @@ var KeyConstants = /* @__PURE__ */ ((KeyConstants2) => {
11
11
  KeyConstants2["WEB_SAVE"] = "web_save";
12
12
  KeyConstants2["WEB_READ"] = "web_read";
13
13
  KeyConstants2["GET_PROVIDER"] = "get_provider";
14
- KeyConstants2["PIE_CHART"] = "pie_chart";
15
14
  return KeyConstants2;
16
15
  })(KeyConstants || {});
17
16
 
@@ -75,7 +74,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
75
74
  UriConstants2["PAYMENT_QR"] = "/payment/qr";
76
75
  UriConstants2["POS_DEVICE_PIN"] = "/pos_device/pin";
77
76
  UriConstants2["GET_PIN_CODE"] = "/pos_device/get_pin_code";
78
- UriConstants2["READ_GROUP"] = "read_group";
77
+ UriConstants2["READ_GROUP"] = "/read_group";
79
78
  return UriConstants2;
80
79
  })(UriConstants || {});
81
80
 
package/dist/hooks.js CHANGED
@@ -182,7 +182,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
182
182
  UriConstants2["PAYMENT_QR"] = "/payment/qr";
183
183
  UriConstants2["POS_DEVICE_PIN"] = "/pos_device/pin";
184
184
  UriConstants2["GET_PIN_CODE"] = "/pos_device/get_pin_code";
185
- UriConstants2["READ_GROUP"] = "read_group";
185
+ UriConstants2["READ_GROUP"] = "/read_group";
186
186
  return UriConstants2;
187
187
  })(UriConstants || {});
188
188
 
@@ -5773,7 +5773,7 @@ function useDashboardService() {
5773
5773
  body
5774
5774
  }) => {
5775
5775
  return env.requests.post(
5776
- "read_group" /* READ_GROUP */,
5776
+ "/read_group" /* READ_GROUP */,
5777
5777
  body,
5778
5778
  {
5779
5779
  headers: { "Content-Type": "application/json", "X-Node": xNode }
@@ -7940,7 +7940,7 @@ var import_react_query103 = require("@tanstack/react-query");
7940
7940
  var useGetPieChart = (services, xNode, body) => {
7941
7941
  const { pieChart } = useDashboardService();
7942
7942
  return (0, import_react_query103.useQuery)({
7943
- queryKey: ["pie_chart" /* PIE_CHART */],
7943
+ queryKey: [body],
7944
7944
  queryFn: () => pieChart({
7945
7945
  service: services,
7946
7946
  xNode,
package/dist/hooks.mjs CHANGED
@@ -44,7 +44,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
44
44
  UriConstants2["PAYMENT_QR"] = "/payment/qr";
45
45
  UriConstants2["POS_DEVICE_PIN"] = "/pos_device/pin";
46
46
  UriConstants2["GET_PIN_CODE"] = "/pos_device/get_pin_code";
47
- UriConstants2["READ_GROUP"] = "read_group";
47
+ UriConstants2["READ_GROUP"] = "/read_group";
48
48
  return UriConstants2;
49
49
  })(UriConstants || {});
50
50
 
@@ -5635,7 +5635,7 @@ function useDashboardService() {
5635
5635
  body
5636
5636
  }) => {
5637
5637
  return env.requests.post(
5638
- "read_group" /* READ_GROUP */,
5638
+ "/read_group" /* READ_GROUP */,
5639
5639
  body,
5640
5640
  {
5641
5641
  headers: { "Content-Type": "application/json", "X-Node": xNode }
@@ -7802,7 +7802,7 @@ import { useQuery as useQuery24 } from "@tanstack/react-query";
7802
7802
  var useGetPieChart = (services, xNode, body) => {
7803
7803
  const { pieChart } = useDashboardService();
7804
7804
  return useQuery24({
7805
- queryKey: ["pie_chart" /* PIE_CHART */],
7805
+ queryKey: [body],
7806
7806
  queryFn: () => pieChart({
7807
7807
  service: services,
7808
7808
  xNode,
package/dist/provider.js CHANGED
@@ -737,7 +737,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
737
737
  UriConstants2["PAYMENT_QR"] = "/payment/qr";
738
738
  UriConstants2["POS_DEVICE_PIN"] = "/pos_device/pin";
739
739
  UriConstants2["GET_PIN_CODE"] = "/pos_device/get_pin_code";
740
- UriConstants2["READ_GROUP"] = "read_group";
740
+ UriConstants2["READ_GROUP"] = "/read_group";
741
741
  return UriConstants2;
742
742
  })(UriConstants || {});
743
743
 
@@ -5764,7 +5764,7 @@ function useDashboardService() {
5764
5764
  body
5765
5765
  }) => {
5766
5766
  return env.requests.post(
5767
- "read_group" /* READ_GROUP */,
5767
+ "/read_group" /* READ_GROUP */,
5768
5768
  body,
5769
5769
  {
5770
5770
  headers: { "Content-Type": "application/json", "X-Node": xNode }
@@ -8313,7 +8313,7 @@ var import_react_query103 = require("@tanstack/react-query");
8313
8313
  var useGetPieChart = (services, xNode, body) => {
8314
8314
  const { pieChart } = useDashboardService();
8315
8315
  return (0, import_react_query103.useQuery)({
8316
- queryKey: ["pie_chart" /* PIE_CHART */],
8316
+ queryKey: [body],
8317
8317
  queryFn: () => pieChart({
8318
8318
  service: services,
8319
8319
  xNode,
package/dist/provider.mjs CHANGED
@@ -694,7 +694,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
694
694
  UriConstants2["PAYMENT_QR"] = "/payment/qr";
695
695
  UriConstants2["POS_DEVICE_PIN"] = "/pos_device/pin";
696
696
  UriConstants2["GET_PIN_CODE"] = "/pos_device/get_pin_code";
697
- UriConstants2["READ_GROUP"] = "read_group";
697
+ UriConstants2["READ_GROUP"] = "/read_group";
698
698
  return UriConstants2;
699
699
  })(UriConstants || {});
700
700
 
@@ -5721,7 +5721,7 @@ function useDashboardService() {
5721
5721
  body
5722
5722
  }) => {
5723
5723
  return env.requests.post(
5724
- "read_group" /* READ_GROUP */,
5724
+ "/read_group" /* READ_GROUP */,
5725
5725
  body,
5726
5726
  {
5727
5727
  headers: { "Content-Type": "application/json", "X-Node": xNode }
@@ -8270,7 +8270,7 @@ import { useQuery as useQuery24 } from "@tanstack/react-query";
8270
8270
  var useGetPieChart = (services, xNode, body) => {
8271
8271
  const { pieChart } = useDashboardService();
8272
8272
  return useQuery24({
8273
- queryKey: ["pie_chart" /* PIE_CHART */],
8273
+ queryKey: [body],
8274
8274
  queryFn: () => pieChart({
8275
8275
  service: services,
8276
8276
  xNode,
package/dist/services.js CHANGED
@@ -86,7 +86,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
86
86
  UriConstants2["PAYMENT_QR"] = "/payment/qr";
87
87
  UriConstants2["POS_DEVICE_PIN"] = "/pos_device/pin";
88
88
  UriConstants2["GET_PIN_CODE"] = "/pos_device/get_pin_code";
89
- UriConstants2["READ_GROUP"] = "read_group";
89
+ UriConstants2["READ_GROUP"] = "/read_group";
90
90
  return UriConstants2;
91
91
  })(UriConstants || {});
92
92
 
@@ -5960,7 +5960,7 @@ function useDashboardService() {
5960
5960
  body
5961
5961
  }) => {
5962
5962
  return env.requests.post(
5963
- "read_group" /* READ_GROUP */,
5963
+ "/read_group" /* READ_GROUP */,
5964
5964
  body,
5965
5965
  {
5966
5966
  headers: { "Content-Type": "application/json", "X-Node": xNode }
package/dist/services.mjs CHANGED
@@ -41,7 +41,7 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
41
41
  UriConstants2["PAYMENT_QR"] = "/payment/qr";
42
42
  UriConstants2["POS_DEVICE_PIN"] = "/pos_device/pin";
43
43
  UriConstants2["GET_PIN_CODE"] = "/pos_device/get_pin_code";
44
- UriConstants2["READ_GROUP"] = "read_group";
44
+ UriConstants2["READ_GROUP"] = "/read_group";
45
45
  return UriConstants2;
46
46
  })(UriConstants || {});
47
47
 
@@ -5915,7 +5915,7 @@ function useDashboardService() {
5915
5915
  body
5916
5916
  }) => {
5917
5917
  return env.requests.post(
5918
- "read_group" /* READ_GROUP */,
5918
+ "/read_group" /* READ_GROUP */,
5919
5919
  body,
5920
5920
  {
5921
5921
  headers: { "Content-Type": "application/json", "X-Node": xNode }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/interface-logic",
3
- "version": "3.5.7",
3
+ "version": "3.5.9",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",