@aranova/tracking-next 0.9.1 → 0.11.0
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 +7 -2
- package/dist/index.d.mts +227 -11
- package/dist/index.d.ts +227 -11
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1134,6 +1134,16 @@ function createSalesClient(config) {
|
|
|
1134
1134
|
...cursor !== void 0 ? { cursor } : {}
|
|
1135
1135
|
});
|
|
1136
1136
|
},
|
|
1137
|
+
async summary(query) {
|
|
1138
|
+
const { range, include_categories, include_deleted_services, top_n, ...filters } = query;
|
|
1139
|
+
return salesRequest(config, "POST", "/sales/summary", {
|
|
1140
|
+
filters,
|
|
1141
|
+
range,
|
|
1142
|
+
...include_categories !== void 0 ? { include_categories } : {},
|
|
1143
|
+
...include_deleted_services !== void 0 ? { include_deleted_services } : {},
|
|
1144
|
+
...top_n !== void 0 ? { top_n } : {}
|
|
1145
|
+
});
|
|
1146
|
+
},
|
|
1137
1147
|
async get(id) {
|
|
1138
1148
|
return salesRequest(config, "GET", `/sales/${id}`);
|
|
1139
1149
|
},
|
|
@@ -1438,7 +1448,7 @@ function GoogleAdsTracking(props) {
|
|
|
1438
1448
|
import { usePathname, useSearchParams } from "next/navigation";
|
|
1439
1449
|
|
|
1440
1450
|
// package.json
|
|
1441
|
-
var version = "0.
|
|
1451
|
+
var version = "0.11.0";
|
|
1442
1452
|
|
|
1443
1453
|
// src/factory.tsx
|
|
1444
1454
|
import {
|