@sitecore/sc-contenthub-webclient-sdk 1.2.82 → 1.2.83
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/dist/models/search/aggregation-request-resource.d.ts +2 -2
- package/dist/models/search/aggregation-request-resource.js +2 -4
- package/dist/models/search/aggregation-request-resource.js.map +1 -1
- package/dist/models/search/date-interval.d.ts +1 -10
- package/dist/models/search/date-interval.js +0 -12
- package/dist/models/search/date-interval.js.map +1 -1
- package/dist/models/search/requested-aggregation-type.d.ts +1 -5
- package/dist/models/search/requested-aggregation-type.js +0 -7
- package/dist/models/search/requested-aggregation-type.js.map +1 -1
- package/esm/models/search/aggregation-request-resource.d.ts +2 -2
- package/esm/models/search/aggregation-request-resource.js +2 -4
- package/esm/models/search/aggregation-request-resource.js.map +1 -1
- package/esm/models/search/date-interval.d.ts +1 -10
- package/esm/models/search/date-interval.js +1 -11
- package/esm/models/search/date-interval.js.map +1 -1
- package/esm/models/search/requested-aggregation-type.d.ts +1 -5
- package/esm/models/search/requested-aggregation-type.js +1 -6
- package/esm/models/search/requested-aggregation-type.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DateInterval } from "./date-interval";
|
|
1
|
+
import type { DateInterval } from "./date-interval";
|
|
2
2
|
import { MetricOptionRequestResource } from "./metric-option-request-resource";
|
|
3
|
-
import { RequestedAggregationType } from "./requested-aggregation-type";
|
|
3
|
+
import type { RequestedAggregationType } from "./requested-aggregation-type";
|
|
4
4
|
export declare class AggregationRequestResource {
|
|
5
5
|
name: string;
|
|
6
6
|
field: string;
|
|
@@ -11,9 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.AggregationRequestResource = void 0;
|
|
13
13
|
const ta_json_1 = require("ta-json");
|
|
14
|
-
const date_interval_1 = require("./date-interval");
|
|
15
14
|
const metric_option_request_resource_1 = require("./metric-option-request-resource");
|
|
16
|
-
const requested_aggregation_type_1 = require("./requested-aggregation-type");
|
|
17
15
|
let AggregationRequestResource = class AggregationRequestResource {
|
|
18
16
|
constructor(init) {
|
|
19
17
|
this.size = 10;
|
|
@@ -51,11 +49,11 @@ __decorate([
|
|
|
51
49
|
], AggregationRequestResource.prototype, "metricOption", void 0);
|
|
52
50
|
__decorate([
|
|
53
51
|
(0, ta_json_1.JsonProperty)("type"),
|
|
54
|
-
__metadata("design:type",
|
|
52
|
+
__metadata("design:type", String)
|
|
55
53
|
], AggregationRequestResource.prototype, "requestedAggregationType", void 0);
|
|
56
54
|
__decorate([
|
|
57
55
|
(0, ta_json_1.JsonProperty)("interval"),
|
|
58
|
-
__metadata("design:type",
|
|
56
|
+
__metadata("design:type", String)
|
|
59
57
|
], AggregationRequestResource.prototype, "interval", void 0);
|
|
60
58
|
__decorate([
|
|
61
59
|
(0, ta_json_1.JsonProperty)("format"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregation-request-resource.js","sourceRoot":"","sources":["../../../src/models/search/aggregation-request-resource.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoE;
|
|
1
|
+
{"version":3,"file":"aggregation-request-resource.js","sourceRoot":"","sources":["../../../src/models/search/aggregation-request-resource.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoE;AAGpE,qFAA+E;AAIxE,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IAgCnC,YAAY,IAA0C;QAxBtD,SAAI,GAAW,EAAE,CAAC;QAGlB,eAAU,GAAW,EAAE,CAAC;QAIxB,aAAQ,GAAsC,EAAE,CAAC;QAejD,mBAAc,GAAa,KAAK,CAAC;QAG7B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC9B,CAAC;CACJ,CAAA;AAnCY,gEAA0B;AAEnC;IADC,IAAA,sBAAY,EAAC,MAAM,CAAC;;wDACR;AAGb;IADC,IAAA,sBAAY,EAAC,OAAO,CAAC;;yDACR;AAGd;IADC,IAAA,sBAAY,EAAC,MAAM,CAAC;;wDACH;AAGlB;IADC,IAAA,sBAAY,EAAC,YAAY,CAAC;;8DACH;AAIxB;IAFC,IAAA,sBAAY,EAAC,UAAU,CAAC;IACxB,IAAA,yBAAe,EAAC,0BAA0B,CAAC;8BAClC,KAAK;4DAAkC;AAGjD;IADC,IAAA,sBAAY,EAAC,eAAe,CAAC;8BACf,4DAA2B;gEAAC;AAG3C;IADC,IAAA,sBAAY,EAAC,MAAM,CAAC;;4EAC+B;AAGpD;IADC,IAAA,sBAAY,EAAC,UAAU,CAAC;;4DACD;AAGxB;IADC,IAAA,sBAAY,EAAC,QAAQ,CAAC;;0DACP;AAGhB;IADC,IAAA,sBAAY,EAAC,iBAAiB,CAAC;;kEACC;qCA9BxB,0BAA0B;IADtC,IAAA,oBAAU,GAAE;;GACA,0BAA0B,CAmCtC"}
|
|
@@ -1,15 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DateInterval = void 0;
|
|
4
|
-
var DateInterval;
|
|
5
|
-
(function (DateInterval) {
|
|
6
|
-
DateInterval[DateInterval["Second"] = 0] = "Second";
|
|
7
|
-
DateInterval[DateInterval["Minute"] = 1] = "Minute";
|
|
8
|
-
DateInterval[DateInterval["Hour"] = 2] = "Hour";
|
|
9
|
-
DateInterval[DateInterval["Day"] = 3] = "Day";
|
|
10
|
-
DateInterval[DateInterval["Week"] = 4] = "Week";
|
|
11
|
-
DateInterval[DateInterval["Month"] = 5] = "Month";
|
|
12
|
-
DateInterval[DateInterval["Quarter"] = 6] = "Quarter";
|
|
13
|
-
DateInterval[DateInterval["Year"] = 7] = "Year";
|
|
14
|
-
})(DateInterval || (exports.DateInterval = DateInterval = {}));
|
|
15
3
|
//# sourceMappingURL=date-interval.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-interval.js","sourceRoot":"","sources":["../../../src/models/search/date-interval.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"date-interval.js","sourceRoot":"","sources":["../../../src/models/search/date-interval.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RequestedAggregationType = void 0;
|
|
4
|
-
var RequestedAggregationType;
|
|
5
|
-
(function (RequestedAggregationType) {
|
|
6
|
-
RequestedAggregationType[RequestedAggregationType["Term"] = 0] = "Term";
|
|
7
|
-
RequestedAggregationType[RequestedAggregationType["Metric"] = 1] = "Metric";
|
|
8
|
-
RequestedAggregationType[RequestedAggregationType["Date"] = 2] = "Date";
|
|
9
|
-
})(RequestedAggregationType || (exports.RequestedAggregationType = RequestedAggregationType = {}));
|
|
10
3
|
//# sourceMappingURL=requested-aggregation-type.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requested-aggregation-type.js","sourceRoot":"","sources":["../../../src/models/search/requested-aggregation-type.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"requested-aggregation-type.js","sourceRoot":"","sources":["../../../src/models/search/requested-aggregation-type.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DateInterval } from "./date-interval";
|
|
1
|
+
import type { DateInterval } from "./date-interval";
|
|
2
2
|
import { MetricOptionRequestResource } from "./metric-option-request-resource";
|
|
3
|
-
import { RequestedAggregationType } from "./requested-aggregation-type";
|
|
3
|
+
import type { RequestedAggregationType } from "./requested-aggregation-type";
|
|
4
4
|
export declare class AggregationRequestResource {
|
|
5
5
|
name: string;
|
|
6
6
|
field: string;
|
|
@@ -8,9 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { JsonElementType, JsonObject, JsonProperty } from "ta-json";
|
|
11
|
-
import { DateInterval } from "./date-interval";
|
|
12
11
|
import { MetricOptionRequestResource } from "./metric-option-request-resource";
|
|
13
|
-
import { RequestedAggregationType } from "./requested-aggregation-type";
|
|
14
12
|
let AggregationRequestResource = class AggregationRequestResource {
|
|
15
13
|
constructor(init) {
|
|
16
14
|
this.size = 10;
|
|
@@ -47,11 +45,11 @@ __decorate([
|
|
|
47
45
|
], AggregationRequestResource.prototype, "metricOption", void 0);
|
|
48
46
|
__decorate([
|
|
49
47
|
JsonProperty("type"),
|
|
50
|
-
__metadata("design:type",
|
|
48
|
+
__metadata("design:type", String)
|
|
51
49
|
], AggregationRequestResource.prototype, "requestedAggregationType", void 0);
|
|
52
50
|
__decorate([
|
|
53
51
|
JsonProperty("interval"),
|
|
54
|
-
__metadata("design:type",
|
|
52
|
+
__metadata("design:type", String)
|
|
55
53
|
], AggregationRequestResource.prototype, "interval", void 0);
|
|
56
54
|
__decorate([
|
|
57
55
|
JsonProperty("format"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregation-request-resource.js","sourceRoot":"","sources":["../../../src/models/search/aggregation-request-resource.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"aggregation-request-resource.js","sourceRoot":"","sources":["../../../src/models/search/aggregation-request-resource.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAGpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAIxE,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IAgCnC,YAAY,IAA0C;QAxBtD,SAAI,GAAW,EAAE,CAAC;QAGlB,eAAU,GAAW,EAAE,CAAC;QAIxB,aAAQ,GAAsC,EAAE,CAAC;QAejD,mBAAc,GAAa,KAAK,CAAC;QAG7B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC9B,CAAC;CACJ,CAAA;AAjCG;IADC,YAAY,CAAC,MAAM,CAAC;;wDACR;AAGb;IADC,YAAY,CAAC,OAAO,CAAC;;yDACR;AAGd;IADC,YAAY,CAAC,MAAM,CAAC;;wDACH;AAGlB;IADC,YAAY,CAAC,YAAY,CAAC;;8DACH;AAIxB;IAFC,YAAY,CAAC,UAAU,CAAC;IACxB,eAAe,CAAC,0BAA0B,CAAC;8BAClC,KAAK;4DAAkC;AAGjD;IADC,YAAY,CAAC,eAAe,CAAC;8BACf,2BAA2B;gEAAC;AAG3C;IADC,YAAY,CAAC,MAAM,CAAC;;4EAC+B;AAGpD;IADC,YAAY,CAAC,UAAU,CAAC;;4DACD;AAGxB;IADC,YAAY,CAAC,QAAQ,CAAC;;0DACP;AAGhB;IADC,YAAY,CAAC,iBAAiB,CAAC;;kEACC;AA9BxB,0BAA0B;IADtC,UAAU,EAAE;;GACA,0BAA0B,CAmCtC"}
|
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
(function (DateInterval) {
|
|
3
|
-
DateInterval[DateInterval["Second"] = 0] = "Second";
|
|
4
|
-
DateInterval[DateInterval["Minute"] = 1] = "Minute";
|
|
5
|
-
DateInterval[DateInterval["Hour"] = 2] = "Hour";
|
|
6
|
-
DateInterval[DateInterval["Day"] = 3] = "Day";
|
|
7
|
-
DateInterval[DateInterval["Week"] = 4] = "Week";
|
|
8
|
-
DateInterval[DateInterval["Month"] = 5] = "Month";
|
|
9
|
-
DateInterval[DateInterval["Quarter"] = 6] = "Quarter";
|
|
10
|
-
DateInterval[DateInterval["Year"] = 7] = "Year";
|
|
11
|
-
})(DateInterval || (DateInterval = {}));
|
|
1
|
+
export {};
|
|
12
2
|
//# sourceMappingURL=date-interval.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-interval.js","sourceRoot":"","sources":["../../../src/models/search/date-interval.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"date-interval.js","sourceRoot":"","sources":["../../../src/models/search/date-interval.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
(function (RequestedAggregationType) {
|
|
3
|
-
RequestedAggregationType[RequestedAggregationType["Term"] = 0] = "Term";
|
|
4
|
-
RequestedAggregationType[RequestedAggregationType["Metric"] = 1] = "Metric";
|
|
5
|
-
RequestedAggregationType[RequestedAggregationType["Date"] = 2] = "Date";
|
|
6
|
-
})(RequestedAggregationType || (RequestedAggregationType = {}));
|
|
1
|
+
export {};
|
|
7
2
|
//# sourceMappingURL=requested-aggregation-type.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requested-aggregation-type.js","sourceRoot":"","sources":["../../../src/models/search/requested-aggregation-type.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"requested-aggregation-type.js","sourceRoot":"","sources":["../../../src/models/search/requested-aggregation-type.ts"],"names":[],"mappings":""}
|