vviinn-widgets 2.4.0 → 2.4.3
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/cjs/{app-globals-2bcc74df.js → app-globals-474864e0.js} +1 -1
- package/dist/cjs/cropper-handler.cjs.entry.js +1 -1
- package/dist/cjs/{customized-slots-4202eaf5.js → customized-slots-0aa6c3d6.js} +1 -1
- package/dist/cjs/highlight-box_22.cjs.entry.js +5 -5
- package/dist/cjs/{imageSearch.store-cb2b2cc8.js → imageSearch.store-076370bf.js} +1 -1
- package/dist/cjs/{index-e9439500.js → index-34d20028.js} +3 -724
- package/dist/cjs/{index-6771ae25.js → index-61403ab1.js} +1 -1
- package/dist/cjs/{index-44fc16ad.js → index-a87f1a44.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/vviinn-carousel_3.cjs.entry.js +9 -10
- package/dist/cjs/vviinn-error.cjs.entry.js +1 -1
- package/dist/cjs/vviinn-preloader.cjs.entry.js +2 -2
- package/dist/cjs/vviinn-recommendations-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/vviinn-vpr-button.cjs.entry.js +2 -2
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +3 -3
- package/dist/cjs/vviinn-vps-widget.cjs.entry.js +21 -20
- package/dist/cjs/vviinn-widgets.cjs.js +2 -2
- package/dist/collection/components/image-search/search-filters/search-filters.js +1 -1
- package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +3 -3
- package/dist/collection/components/vviinn-example-images/vviinn-example-images.js +4 -4
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +2 -3
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +17 -16
- package/dist/collection/openApi/index.js +1 -1
- package/dist/esm/{app-globals-550daa9b.js → app-globals-3888cd41.js} +1 -1
- package/dist/esm/cropper-handler.entry.js +1 -1
- package/dist/esm/{customized-slots-80625933.js → customized-slots-863113e2.js} +1 -1
- package/dist/esm/highlight-box_22.entry.js +5 -5
- package/dist/esm/{imageSearch.store-1268786d.js → imageSearch.store-b516d12e.js} +1 -1
- package/dist/esm/{index-fa27f1df.js → index-2f8fb0fe.js} +3 -724
- package/dist/esm/{index-1cf740a8.js → index-36978848.js} +1 -1
- package/dist/esm/{index-c09e56b6.js → index-56c062df.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/vviinn-carousel_3.entry.js +9 -10
- package/dist/esm/vviinn-error.entry.js +1 -1
- package/dist/esm/vviinn-preloader.entry.js +2 -2
- package/dist/esm/vviinn-recommendations-sidebar.entry.js +2 -2
- package/dist/esm/vviinn-vpr-button.entry.js +2 -2
- package/dist/esm/vviinn-vps-button.entry.js +3 -3
- package/dist/esm/vviinn-vps-widget.entry.js +21 -20
- package/dist/esm/vviinn-widgets.js +2 -2
- package/dist/types/components/image-search/search-filters/search-filters.d.ts +1 -1
- package/dist/types/components/vviinn-vpr-widget/vviinn-vpr-vidget.d.ts +1 -1
- package/dist/types/components/vviinn-vps-widget/vviinn-vps-widget.d.ts +2 -2
- package/dist/types/components.d.ts +1 -1
- package/dist/types/openApi/index.d.ts +2 -2
- package/dist/types/tracking/event.d.ts +1 -1
- package/dist/types/tracking/index.d.ts +8 -8
- package/dist/types/tracking/models.d.ts +1 -1
- package/dist/vviinn-widgets/{p-c63fb46b.entry.js → p-0a9cee09.entry.js} +1 -1
- package/dist/vviinn-widgets/p-28678772.js +1 -0
- package/dist/vviinn-widgets/{p-86ae782f.entry.js → p-2e6ecda7.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-8e25b838.js → p-47183c9a.js} +1 -1
- package/dist/vviinn-widgets/{p-dd7cac6e.entry.js → p-535611cd.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-78b65f70.js → p-606ff863.js} +1 -1
- package/dist/vviinn-widgets/{p-4bdb3027.entry.js → p-9cc6f0dd.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-07125f64.js → p-ac0a2989.js} +1 -1
- package/dist/vviinn-widgets/p-ad29e9c5.entry.js +1 -0
- package/{www/build/p-c5e6ec4f.js → dist/vviinn-widgets/p-b4caf042.js} +1 -1
- package/dist/vviinn-widgets/{p-314e40b3.entry.js → p-b547a6d0.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-97af45f0.js → p-c853cba8.js} +1 -1
- package/dist/vviinn-widgets/p-d2097302.entry.js +1 -0
- package/dist/vviinn-widgets/{p-27ede517.entry.js → p-d8d49616.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-5535163a.entry.js → p-f9410382.entry.js} +1 -1
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
- package/package.json +3 -3
- package/www/build/{p-c63fb46b.entry.js → p-0a9cee09.entry.js} +1 -1
- package/www/build/p-28678772.js +1 -0
- package/www/build/{p-86ae782f.entry.js → p-2e6ecda7.entry.js} +1 -1
- package/www/build/{p-8e25b838.js → p-47183c9a.js} +1 -1
- package/www/build/{p-dd7cac6e.entry.js → p-535611cd.entry.js} +1 -1
- package/www/build/{p-78b65f70.js → p-606ff863.js} +1 -1
- package/www/build/{p-961822d3.js → p-7c313f33.js} +2 -2
- package/www/build/{p-4bdb3027.entry.js → p-9cc6f0dd.entry.js} +1 -1
- package/www/build/{p-07125f64.js → p-ac0a2989.js} +1 -1
- package/www/build/p-ad29e9c5.entry.js +1 -0
- package/{dist/vviinn-widgets/p-c5e6ec4f.js → www/build/p-b4caf042.js} +1 -1
- package/www/build/{p-314e40b3.entry.js → p-b547a6d0.entry.js} +1 -1
- package/www/build/{p-97af45f0.js → p-c853cba8.js} +1 -1
- package/www/build/p-d2097302.entry.js +1 -0
- package/www/build/{p-27ede517.entry.js → p-d8d49616.entry.js} +1 -1
- package/www/build/{p-5535163a.entry.js → p-f9410382.entry.js} +1 -1
- package/www/build/vviinn-widgets.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/vviinn-widgets/p-316abc01.js +0 -1
- package/dist/vviinn-widgets/p-89f2c19a.entry.js +0 -1
- package/dist/vviinn-widgets/p-94aa8705.entry.js +0 -1
- package/www/build/p-316abc01.js +0 -1
- package/www/build/p-89f2c19a.entry.js +0 -1
- package/www/build/p-94aa8705.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as commonjsGlobal, h as createCommonjsModule } from './imageSearch.store-
|
|
1
|
+
import { e as commonjsGlobal, h as createCommonjsModule } from './imageSearch.store-b516d12e.js';
|
|
2
2
|
|
|
3
3
|
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
|
4
4
|
// require the crypto API and do not support built-in fallback to lower quality random number
|
|
@@ -1818,54 +1818,6 @@ exports.configureAuthMethods = configureAuthMethods;
|
|
|
1818
1818
|
//# sourceMappingURL=auth.js.map
|
|
1819
1819
|
});
|
|
1820
1820
|
|
|
1821
|
-
var Acknowledgement_1 = createCommonjsModule(function (module, exports) {
|
|
1822
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1823
|
-
exports.Acknowledgement = void 0;
|
|
1824
|
-
var Acknowledgement = (function () {
|
|
1825
|
-
function Acknowledgement() {
|
|
1826
|
-
}
|
|
1827
|
-
Acknowledgement.getAttributeTypeMap = function () {
|
|
1828
|
-
return Acknowledgement.attributeTypeMap;
|
|
1829
|
-
};
|
|
1830
|
-
Acknowledgement.discriminator = undefined;
|
|
1831
|
-
Acknowledgement.attributeTypeMap = [
|
|
1832
|
-
{
|
|
1833
|
-
"name": "message",
|
|
1834
|
-
"baseName": "message",
|
|
1835
|
-
"type": "string",
|
|
1836
|
-
"format": ""
|
|
1837
|
-
}
|
|
1838
|
-
];
|
|
1839
|
-
return Acknowledgement;
|
|
1840
|
-
}());
|
|
1841
|
-
exports.Acknowledgement = Acknowledgement;
|
|
1842
|
-
//# sourceMappingURL=Acknowledgement.js.map
|
|
1843
|
-
});
|
|
1844
|
-
|
|
1845
|
-
var Config_1 = createCommonjsModule(function (module, exports) {
|
|
1846
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1847
|
-
exports.Config = void 0;
|
|
1848
|
-
var Config = (function () {
|
|
1849
|
-
function Config() {
|
|
1850
|
-
}
|
|
1851
|
-
Config.getAttributeTypeMap = function () {
|
|
1852
|
-
return Config.attributeTypeMap;
|
|
1853
|
-
};
|
|
1854
|
-
Config.discriminator = undefined;
|
|
1855
|
-
Config.attributeTypeMap = [
|
|
1856
|
-
{
|
|
1857
|
-
"name": "track",
|
|
1858
|
-
"baseName": "track",
|
|
1859
|
-
"type": "boolean",
|
|
1860
|
-
"format": ""
|
|
1861
|
-
}
|
|
1862
|
-
];
|
|
1863
|
-
return Config;
|
|
1864
|
-
}());
|
|
1865
|
-
exports.Config = Config;
|
|
1866
|
-
//# sourceMappingURL=Config.js.map
|
|
1867
|
-
});
|
|
1868
|
-
|
|
1869
1821
|
var ErrorObject_1 = createCommonjsModule(function (module, exports) {
|
|
1870
1822
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1871
1823
|
exports.ErrorObject = void 0;
|
|
@@ -2119,168 +2071,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2119
2071
|
//# sourceMappingURL=FilterKind.js.map
|
|
2120
2072
|
});
|
|
2121
2073
|
|
|
2122
|
-
var Histogram_1 = createCommonjsModule(function (module, exports) {
|
|
2123
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2124
|
-
exports.Histogram = void 0;
|
|
2125
|
-
var Histogram = (function () {
|
|
2126
|
-
function Histogram() {
|
|
2127
|
-
}
|
|
2128
|
-
Histogram.getAttributeTypeMap = function () {
|
|
2129
|
-
return Histogram.attributeTypeMap;
|
|
2130
|
-
};
|
|
2131
|
-
Histogram.discriminator = undefined;
|
|
2132
|
-
Histogram.attributeTypeMap = [
|
|
2133
|
-
{
|
|
2134
|
-
"name": "summary",
|
|
2135
|
-
"baseName": "summary",
|
|
2136
|
-
"type": "HistogramSummary",
|
|
2137
|
-
"format": ""
|
|
2138
|
-
},
|
|
2139
|
-
{
|
|
2140
|
-
"name": "intervals",
|
|
2141
|
-
"baseName": "intervals",
|
|
2142
|
-
"type": "Array<HistogramItem>",
|
|
2143
|
-
"format": ""
|
|
2144
|
-
}
|
|
2145
|
-
];
|
|
2146
|
-
return Histogram;
|
|
2147
|
-
}());
|
|
2148
|
-
exports.Histogram = Histogram;
|
|
2149
|
-
//# sourceMappingURL=Histogram.js.map
|
|
2150
|
-
});
|
|
2151
|
-
|
|
2152
|
-
var HistogramItem_1 = createCommonjsModule(function (module, exports) {
|
|
2153
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2154
|
-
exports.HistogramItem = void 0;
|
|
2155
|
-
var HistogramItem = (function () {
|
|
2156
|
-
function HistogramItem() {
|
|
2157
|
-
}
|
|
2158
|
-
HistogramItem.getAttributeTypeMap = function () {
|
|
2159
|
-
return HistogramItem.attributeTypeMap;
|
|
2160
|
-
};
|
|
2161
|
-
HistogramItem.discriminator = undefined;
|
|
2162
|
-
HistogramItem.attributeTypeMap = [
|
|
2163
|
-
{
|
|
2164
|
-
"name": "interval",
|
|
2165
|
-
"baseName": "interval",
|
|
2166
|
-
"type": "Interval",
|
|
2167
|
-
"format": ""
|
|
2168
|
-
},
|
|
2169
|
-
{
|
|
2170
|
-
"name": "frequency",
|
|
2171
|
-
"baseName": "frequency",
|
|
2172
|
-
"type": "number",
|
|
2173
|
-
"format": ""
|
|
2174
|
-
}
|
|
2175
|
-
];
|
|
2176
|
-
return HistogramItem;
|
|
2177
|
-
}());
|
|
2178
|
-
exports.HistogramItem = HistogramItem;
|
|
2179
|
-
//# sourceMappingURL=HistogramItem.js.map
|
|
2180
|
-
});
|
|
2181
|
-
|
|
2182
|
-
var HistogramSummary_1 = createCommonjsModule(function (module, exports) {
|
|
2183
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2184
|
-
exports.HistogramSummary = void 0;
|
|
2185
|
-
var HistogramSummary = (function () {
|
|
2186
|
-
function HistogramSummary() {
|
|
2187
|
-
}
|
|
2188
|
-
HistogramSummary.getAttributeTypeMap = function () {
|
|
2189
|
-
return HistogramSummary.attributeTypeMap;
|
|
2190
|
-
};
|
|
2191
|
-
HistogramSummary.discriminator = undefined;
|
|
2192
|
-
HistogramSummary.attributeTypeMap = [
|
|
2193
|
-
{
|
|
2194
|
-
"name": "interval",
|
|
2195
|
-
"baseName": "interval",
|
|
2196
|
-
"type": "Interval",
|
|
2197
|
-
"format": ""
|
|
2198
|
-
},
|
|
2199
|
-
{
|
|
2200
|
-
"name": "frequency",
|
|
2201
|
-
"baseName": "frequency",
|
|
2202
|
-
"type": "number",
|
|
2203
|
-
"format": ""
|
|
2204
|
-
}
|
|
2205
|
-
];
|
|
2206
|
-
return HistogramSummary;
|
|
2207
|
-
}());
|
|
2208
|
-
exports.HistogramSummary = HistogramSummary;
|
|
2209
|
-
//# sourceMappingURL=HistogramSummary.js.map
|
|
2210
|
-
});
|
|
2211
|
-
|
|
2212
|
-
var InteractionReport_1 = createCommonjsModule(function (module, exports) {
|
|
2213
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2214
|
-
exports.InteractionReport = void 0;
|
|
2215
|
-
var InteractionReport = (function () {
|
|
2216
|
-
function InteractionReport() {
|
|
2217
|
-
}
|
|
2218
|
-
InteractionReport.getAttributeTypeMap = function () {
|
|
2219
|
-
return InteractionReport.attributeTypeMap;
|
|
2220
|
-
};
|
|
2221
|
-
InteractionReport.discriminator = undefined;
|
|
2222
|
-
InteractionReport.attributeTypeMap = [
|
|
2223
|
-
{
|
|
2224
|
-
"name": "interactions",
|
|
2225
|
-
"baseName": "interactions",
|
|
2226
|
-
"type": "Histogram",
|
|
2227
|
-
"format": ""
|
|
2228
|
-
},
|
|
2229
|
-
{
|
|
2230
|
-
"name": "product_views",
|
|
2231
|
-
"baseName": "product_views",
|
|
2232
|
-
"type": "Histogram",
|
|
2233
|
-
"format": ""
|
|
2234
|
-
},
|
|
2235
|
-
{
|
|
2236
|
-
"name": "product_clicks",
|
|
2237
|
-
"baseName": "product_clicks",
|
|
2238
|
-
"type": "Histogram",
|
|
2239
|
-
"format": ""
|
|
2240
|
-
},
|
|
2241
|
-
{
|
|
2242
|
-
"name": "click_through_rate",
|
|
2243
|
-
"baseName": "click_through_rate",
|
|
2244
|
-
"type": "Rate",
|
|
2245
|
-
"format": ""
|
|
2246
|
-
}
|
|
2247
|
-
];
|
|
2248
|
-
return InteractionReport;
|
|
2249
|
-
}());
|
|
2250
|
-
exports.InteractionReport = InteractionReport;
|
|
2251
|
-
//# sourceMappingURL=InteractionReport.js.map
|
|
2252
|
-
});
|
|
2253
|
-
|
|
2254
|
-
var Interval_1 = createCommonjsModule(function (module, exports) {
|
|
2255
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2256
|
-
exports.Interval = void 0;
|
|
2257
|
-
var Interval = (function () {
|
|
2258
|
-
function Interval() {
|
|
2259
|
-
}
|
|
2260
|
-
Interval.getAttributeTypeMap = function () {
|
|
2261
|
-
return Interval.attributeTypeMap;
|
|
2262
|
-
};
|
|
2263
|
-
Interval.discriminator = undefined;
|
|
2264
|
-
Interval.attributeTypeMap = [
|
|
2265
|
-
{
|
|
2266
|
-
"name": "start_datetime",
|
|
2267
|
-
"baseName": "start_datetime",
|
|
2268
|
-
"type": "Date",
|
|
2269
|
-
"format": "date-time"
|
|
2270
|
-
},
|
|
2271
|
-
{
|
|
2272
|
-
"name": "end_datetime",
|
|
2273
|
-
"baseName": "end_datetime",
|
|
2274
|
-
"type": "Date",
|
|
2275
|
-
"format": "date-time"
|
|
2276
|
-
}
|
|
2277
|
-
];
|
|
2278
|
-
return Interval;
|
|
2279
|
-
}());
|
|
2280
|
-
exports.Interval = Interval;
|
|
2281
|
-
//# sourceMappingURL=Interval.js.map
|
|
2282
|
-
});
|
|
2283
|
-
|
|
2284
2074
|
var ProductClickEvent_1 = createCommonjsModule(function (module, exports) {
|
|
2285
2075
|
var __extends = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
|
|
2286
2076
|
var extendStatics = function (d, b) {
|
|
@@ -2429,96 +2219,6 @@ exports.ProductViewEventAllOf = ProductViewEventAllOf;
|
|
|
2429
2219
|
//# sourceMappingURL=ProductViewEventAllOf.js.map
|
|
2430
2220
|
});
|
|
2431
2221
|
|
|
2432
|
-
var Rate_1 = createCommonjsModule(function (module, exports) {
|
|
2433
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2434
|
-
exports.Rate = void 0;
|
|
2435
|
-
var Rate = (function () {
|
|
2436
|
-
function Rate() {
|
|
2437
|
-
}
|
|
2438
|
-
Rate.getAttributeTypeMap = function () {
|
|
2439
|
-
return Rate.attributeTypeMap;
|
|
2440
|
-
};
|
|
2441
|
-
Rate.discriminator = undefined;
|
|
2442
|
-
Rate.attributeTypeMap = [
|
|
2443
|
-
{
|
|
2444
|
-
"name": "summary",
|
|
2445
|
-
"baseName": "summary",
|
|
2446
|
-
"type": "RateSummary",
|
|
2447
|
-
"format": ""
|
|
2448
|
-
},
|
|
2449
|
-
{
|
|
2450
|
-
"name": "intervals",
|
|
2451
|
-
"baseName": "intervals",
|
|
2452
|
-
"type": "Array<RateItem>",
|
|
2453
|
-
"format": ""
|
|
2454
|
-
}
|
|
2455
|
-
];
|
|
2456
|
-
return Rate;
|
|
2457
|
-
}());
|
|
2458
|
-
exports.Rate = Rate;
|
|
2459
|
-
//# sourceMappingURL=Rate.js.map
|
|
2460
|
-
});
|
|
2461
|
-
|
|
2462
|
-
var RateItem_1 = createCommonjsModule(function (module, exports) {
|
|
2463
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2464
|
-
exports.RateItem = void 0;
|
|
2465
|
-
var RateItem = (function () {
|
|
2466
|
-
function RateItem() {
|
|
2467
|
-
}
|
|
2468
|
-
RateItem.getAttributeTypeMap = function () {
|
|
2469
|
-
return RateItem.attributeTypeMap;
|
|
2470
|
-
};
|
|
2471
|
-
RateItem.discriminator = undefined;
|
|
2472
|
-
RateItem.attributeTypeMap = [
|
|
2473
|
-
{
|
|
2474
|
-
"name": "interval",
|
|
2475
|
-
"baseName": "interval",
|
|
2476
|
-
"type": "Interval",
|
|
2477
|
-
"format": ""
|
|
2478
|
-
},
|
|
2479
|
-
{
|
|
2480
|
-
"name": "rate",
|
|
2481
|
-
"baseName": "rate",
|
|
2482
|
-
"type": "number",
|
|
2483
|
-
"format": "float"
|
|
2484
|
-
}
|
|
2485
|
-
];
|
|
2486
|
-
return RateItem;
|
|
2487
|
-
}());
|
|
2488
|
-
exports.RateItem = RateItem;
|
|
2489
|
-
//# sourceMappingURL=RateItem.js.map
|
|
2490
|
-
});
|
|
2491
|
-
|
|
2492
|
-
var RateSummary_1 = createCommonjsModule(function (module, exports) {
|
|
2493
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2494
|
-
exports.RateSummary = void 0;
|
|
2495
|
-
var RateSummary = (function () {
|
|
2496
|
-
function RateSummary() {
|
|
2497
|
-
}
|
|
2498
|
-
RateSummary.getAttributeTypeMap = function () {
|
|
2499
|
-
return RateSummary.attributeTypeMap;
|
|
2500
|
-
};
|
|
2501
|
-
RateSummary.discriminator = undefined;
|
|
2502
|
-
RateSummary.attributeTypeMap = [
|
|
2503
|
-
{
|
|
2504
|
-
"name": "interval",
|
|
2505
|
-
"baseName": "interval",
|
|
2506
|
-
"type": "Interval",
|
|
2507
|
-
"format": ""
|
|
2508
|
-
},
|
|
2509
|
-
{
|
|
2510
|
-
"name": "rate",
|
|
2511
|
-
"baseName": "rate",
|
|
2512
|
-
"type": "number",
|
|
2513
|
-
"format": "float"
|
|
2514
|
-
}
|
|
2515
|
-
];
|
|
2516
|
-
return RateSummary;
|
|
2517
|
-
}());
|
|
2518
|
-
exports.RateSummary = RateSummary;
|
|
2519
|
-
//# sourceMappingURL=RateSummary.js.map
|
|
2520
|
-
});
|
|
2521
|
-
|
|
2522
2222
|
var SearchArea = createCommonjsModule(function (module, exports) {
|
|
2523
2223
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2524
2224
|
//# sourceMappingURL=SearchArea.js.map
|
|
@@ -2727,8 +2427,6 @@ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m
|
|
|
2727
2427
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2728
2428
|
};
|
|
2729
2429
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2730
|
-
__exportStar(Acknowledgement_1, exports);
|
|
2731
|
-
__exportStar(Config_1, exports);
|
|
2732
2430
|
__exportStar(ErrorObject_1, exports);
|
|
2733
2431
|
__exportStar(ErrorResponse_1, exports);
|
|
2734
2432
|
__exportStar(Event_1, exports);
|
|
@@ -2737,17 +2435,9 @@ __exportStar(FilterAction, exports);
|
|
|
2737
2435
|
__exportStar(FilterEvent_1, exports);
|
|
2738
2436
|
__exportStar(FilterEventAllOf_1, exports);
|
|
2739
2437
|
__exportStar(FilterKind, exports);
|
|
2740
|
-
__exportStar(Histogram_1, exports);
|
|
2741
|
-
__exportStar(HistogramItem_1, exports);
|
|
2742
|
-
__exportStar(HistogramSummary_1, exports);
|
|
2743
|
-
__exportStar(InteractionReport_1, exports);
|
|
2744
|
-
__exportStar(Interval_1, exports);
|
|
2745
2438
|
__exportStar(ProductClickEvent_1, exports);
|
|
2746
2439
|
__exportStar(ProductViewEvent_1, exports);
|
|
2747
2440
|
__exportStar(ProductViewEventAllOf_1, exports);
|
|
2748
|
-
__exportStar(Rate_1, exports);
|
|
2749
|
-
__exportStar(RateItem_1, exports);
|
|
2750
|
-
__exportStar(RateSummary_1, exports);
|
|
2751
2441
|
__exportStar(SearchArea, exports);
|
|
2752
2442
|
__exportStar(SearchEvent_1, exports);
|
|
2753
2443
|
__exportStar(SearchEventAllOf_1, exports);
|
|
@@ -2936,8 +2626,6 @@ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m
|
|
|
2936
2626
|
};
|
|
2937
2627
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2938
2628
|
exports.ObjectSerializer = void 0;
|
|
2939
|
-
__exportStar(Acknowledgement_1, exports);
|
|
2940
|
-
__exportStar(Config_1, exports);
|
|
2941
2629
|
__exportStar(ErrorObject_1, exports);
|
|
2942
2630
|
__exportStar(ErrorResponse_1, exports);
|
|
2943
2631
|
__exportStar(Event_1, exports);
|
|
@@ -2946,17 +2634,9 @@ __exportStar(FilterAction, exports);
|
|
|
2946
2634
|
__exportStar(FilterEvent_1, exports);
|
|
2947
2635
|
__exportStar(FilterEventAllOf_1, exports);
|
|
2948
2636
|
__exportStar(FilterKind, exports);
|
|
2949
|
-
__exportStar(Histogram_1, exports);
|
|
2950
|
-
__exportStar(HistogramItem_1, exports);
|
|
2951
|
-
__exportStar(HistogramSummary_1, exports);
|
|
2952
|
-
__exportStar(InteractionReport_1, exports);
|
|
2953
|
-
__exportStar(Interval_1, exports);
|
|
2954
2637
|
__exportStar(ProductClickEvent_1, exports);
|
|
2955
2638
|
__exportStar(ProductViewEvent_1, exports);
|
|
2956
2639
|
__exportStar(ProductViewEventAllOf_1, exports);
|
|
2957
|
-
__exportStar(Rate_1, exports);
|
|
2958
|
-
__exportStar(RateItem_1, exports);
|
|
2959
|
-
__exportStar(RateSummary_1, exports);
|
|
2960
2640
|
__exportStar(SearchArea, exports);
|
|
2961
2641
|
__exportStar(SearchEvent_1, exports);
|
|
2962
2642
|
__exportStar(SearchEventAllOf_1, exports);
|
|
@@ -2965,25 +2645,15 @@ __exportStar(Widget, exports);
|
|
|
2965
2645
|
__exportStar(WidgetAction, exports);
|
|
2966
2646
|
__exportStar(WidgetEvent_1, exports);
|
|
2967
2647
|
__exportStar(WidgetEventAllOf_1, exports);
|
|
2968
|
-
var Acknowledgement_1$1 = Acknowledgement_1;
|
|
2969
|
-
var Config_1$1 = Config_1;
|
|
2970
2648
|
var ErrorObject_1$1 = ErrorObject_1;
|
|
2971
2649
|
var ErrorResponse_1$1 = ErrorResponse_1;
|
|
2972
2650
|
var Event_1$1 = Event_1;
|
|
2973
2651
|
var EventConfirmation_1$1 = EventConfirmation_1;
|
|
2974
2652
|
var FilterEvent_1$1 = FilterEvent_1;
|
|
2975
2653
|
var FilterEventAllOf_1$1 = FilterEventAllOf_1;
|
|
2976
|
-
var Histogram_1$1 = Histogram_1;
|
|
2977
|
-
var HistogramItem_1$1 = HistogramItem_1;
|
|
2978
|
-
var HistogramSummary_1$1 = HistogramSummary_1;
|
|
2979
|
-
var InteractionReport_1$1 = InteractionReport_1;
|
|
2980
|
-
var Interval_1$1 = Interval_1;
|
|
2981
2654
|
var ProductClickEvent_1$1 = ProductClickEvent_1;
|
|
2982
2655
|
var ProductViewEvent_1$1 = ProductViewEvent_1;
|
|
2983
2656
|
var ProductViewEventAllOf_1$1 = ProductViewEventAllOf_1;
|
|
2984
|
-
var Rate_1$1 = Rate_1;
|
|
2985
|
-
var RateItem_1$1 = RateItem_1;
|
|
2986
|
-
var RateSummary_1$1 = RateSummary_1;
|
|
2987
2657
|
var SearchEvent_1$1 = SearchEvent_1;
|
|
2988
2658
|
var SearchEventAllOf_1$1 = SearchEventAllOf_1;
|
|
2989
2659
|
var WidgetEvent_1$1 = WidgetEvent_1;
|
|
@@ -3013,25 +2683,15 @@ var enumsMap = new Set([
|
|
|
3013
2683
|
"WidgetAction",
|
|
3014
2684
|
]);
|
|
3015
2685
|
var typeMap = {
|
|
3016
|
-
"Acknowledgement": Acknowledgement_1$1.Acknowledgement,
|
|
3017
|
-
"Config": Config_1$1.Config,
|
|
3018
2686
|
"ErrorObject": ErrorObject_1$1.ErrorObject,
|
|
3019
2687
|
"ErrorResponse": ErrorResponse_1$1.ErrorResponse,
|
|
3020
2688
|
"Event": Event_1$1.Event,
|
|
3021
2689
|
"EventConfirmation": EventConfirmation_1$1.EventConfirmation,
|
|
3022
2690
|
"FilterEvent": FilterEvent_1$1.FilterEvent,
|
|
3023
2691
|
"FilterEventAllOf": FilterEventAllOf_1$1.FilterEventAllOf,
|
|
3024
|
-
"Histogram": Histogram_1$1.Histogram,
|
|
3025
|
-
"HistogramItem": HistogramItem_1$1.HistogramItem,
|
|
3026
|
-
"HistogramSummary": HistogramSummary_1$1.HistogramSummary,
|
|
3027
|
-
"InteractionReport": InteractionReport_1$1.InteractionReport,
|
|
3028
|
-
"Interval": Interval_1$1.Interval,
|
|
3029
2692
|
"ProductClickEvent": ProductClickEvent_1$1.ProductClickEvent,
|
|
3030
2693
|
"ProductViewEvent": ProductViewEvent_1$1.ProductViewEvent,
|
|
3031
2694
|
"ProductViewEventAllOf": ProductViewEventAllOf_1$1.ProductViewEventAllOf,
|
|
3032
|
-
"Rate": Rate_1$1.Rate,
|
|
3033
|
-
"RateItem": RateItem_1$1.RateItem,
|
|
3034
|
-
"RateSummary": RateSummary_1$1.RateSummary,
|
|
3035
2695
|
"SearchEvent": SearchEvent_1$1.SearchEvent,
|
|
3036
2696
|
"SearchEventAllOf": SearchEventAllOf_1$1.SearchEventAllOf,
|
|
3037
2697
|
"WidgetEvent": WidgetEvent_1$1.WidgetEvent,
|
|
@@ -3301,155 +2961,6 @@ var DefaultApiRequestFactory = (function (_super) {
|
|
|
3301
2961
|
function DefaultApiRequestFactory() {
|
|
3302
2962
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
3303
2963
|
}
|
|
3304
|
-
DefaultApiRequestFactory.prototype.applyConfiguration = function (site_id, config, _options) {
|
|
3305
|
-
var _a, _b, _c;
|
|
3306
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
3307
|
-
var _config, localVarPath, requestContext, contentType, serializedBody, authMethod, defaultAuth;
|
|
3308
|
-
return __generator(this, function (_d) {
|
|
3309
|
-
switch (_d.label) {
|
|
3310
|
-
case 0:
|
|
3311
|
-
_config = _options || this.configuration;
|
|
3312
|
-
if (site_id === null || site_id === undefined) {
|
|
3313
|
-
throw new baseapi.RequiredError("DefaultApi", "applyConfiguration", "site_id");
|
|
3314
|
-
}
|
|
3315
|
-
localVarPath = '/site/{site_id}/configuration'
|
|
3316
|
-
.replace('{' + 'site_id' + '}', encodeURIComponent(String(site_id)));
|
|
3317
|
-
requestContext = _config.baseServer.makeRequestContext(localVarPath, http.HttpMethod.PUT);
|
|
3318
|
-
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
3319
|
-
contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
3320
|
-
"application/json"
|
|
3321
|
-
]);
|
|
3322
|
-
requestContext.setHeaderParam("Content-Type", contentType);
|
|
3323
|
-
serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(config, "Config", ""), contentType);
|
|
3324
|
-
requestContext.setBody(serializedBody);
|
|
3325
|
-
authMethod = _config.authMethods["bearerAuth"];
|
|
3326
|
-
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
3327
|
-
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
3328
|
-
case 1:
|
|
3329
|
-
_d.sent();
|
|
3330
|
-
_d.label = 2;
|
|
3331
|
-
case 2:
|
|
3332
|
-
defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
|
|
3333
|
-
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
3334
|
-
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
3335
|
-
case 3:
|
|
3336
|
-
_d.sent();
|
|
3337
|
-
_d.label = 4;
|
|
3338
|
-
case 4: return [2, requestContext];
|
|
3339
|
-
}
|
|
3340
|
-
});
|
|
3341
|
-
});
|
|
3342
|
-
};
|
|
3343
|
-
DefaultApiRequestFactory.prototype.getConfiguration = function (site_id, _options) {
|
|
3344
|
-
var _a, _b, _c;
|
|
3345
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
3346
|
-
var _config, localVarPath, requestContext, authMethod, defaultAuth;
|
|
3347
|
-
return __generator(this, function (_d) {
|
|
3348
|
-
switch (_d.label) {
|
|
3349
|
-
case 0:
|
|
3350
|
-
_config = _options || this.configuration;
|
|
3351
|
-
if (site_id === null || site_id === undefined) {
|
|
3352
|
-
throw new baseapi.RequiredError("DefaultApi", "getConfiguration", "site_id");
|
|
3353
|
-
}
|
|
3354
|
-
localVarPath = '/site/{site_id}/configuration'
|
|
3355
|
-
.replace('{' + 'site_id' + '}', encodeURIComponent(String(site_id)));
|
|
3356
|
-
requestContext = _config.baseServer.makeRequestContext(localVarPath, http.HttpMethod.GET);
|
|
3357
|
-
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
3358
|
-
authMethod = _config.authMethods["bearerAuth"];
|
|
3359
|
-
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
3360
|
-
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
3361
|
-
case 1:
|
|
3362
|
-
_d.sent();
|
|
3363
|
-
_d.label = 2;
|
|
3364
|
-
case 2:
|
|
3365
|
-
defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
|
|
3366
|
-
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
3367
|
-
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
3368
|
-
case 3:
|
|
3369
|
-
_d.sent();
|
|
3370
|
-
_d.label = 4;
|
|
3371
|
-
case 4: return [2, requestContext];
|
|
3372
|
-
}
|
|
3373
|
-
});
|
|
3374
|
-
});
|
|
3375
|
-
};
|
|
3376
|
-
DefaultApiRequestFactory.prototype.getInteractions = function (site_id, start_datetime, end_datetime, widget, _options) {
|
|
3377
|
-
var _a, _b, _c;
|
|
3378
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
3379
|
-
var _config, localVarPath, requestContext, authMethod, defaultAuth;
|
|
3380
|
-
return __generator(this, function (_d) {
|
|
3381
|
-
switch (_d.label) {
|
|
3382
|
-
case 0:
|
|
3383
|
-
_config = _options || this.configuration;
|
|
3384
|
-
if (site_id === null || site_id === undefined) {
|
|
3385
|
-
throw new baseapi.RequiredError("DefaultApi", "getInteractions", "site_id");
|
|
3386
|
-
}
|
|
3387
|
-
if (start_datetime === null || start_datetime === undefined) {
|
|
3388
|
-
throw new baseapi.RequiredError("DefaultApi", "getInteractions", "start_datetime");
|
|
3389
|
-
}
|
|
3390
|
-
if (end_datetime === null || end_datetime === undefined) {
|
|
3391
|
-
throw new baseapi.RequiredError("DefaultApi", "getInteractions", "end_datetime");
|
|
3392
|
-
}
|
|
3393
|
-
localVarPath = '/site/{site_id}/interactions'
|
|
3394
|
-
.replace('{' + 'site_id' + '}', encodeURIComponent(String(site_id)));
|
|
3395
|
-
requestContext = _config.baseServer.makeRequestContext(localVarPath, http.HttpMethod.GET);
|
|
3396
|
-
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
3397
|
-
if (start_datetime !== undefined) {
|
|
3398
|
-
requestContext.setQueryParam("start_datetime", ObjectSerializer_1.ObjectSerializer.serialize(start_datetime, "Date", "date-time"));
|
|
3399
|
-
}
|
|
3400
|
-
if (end_datetime !== undefined) {
|
|
3401
|
-
requestContext.setQueryParam("end_datetime", ObjectSerializer_1.ObjectSerializer.serialize(end_datetime, "Date", "date-time"));
|
|
3402
|
-
}
|
|
3403
|
-
if (widget !== undefined) {
|
|
3404
|
-
requestContext.setQueryParam("widget", ObjectSerializer_1.ObjectSerializer.serialize(widget, "Widget", ""));
|
|
3405
|
-
}
|
|
3406
|
-
authMethod = _config.authMethods["bearerAuth"];
|
|
3407
|
-
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
3408
|
-
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
3409
|
-
case 1:
|
|
3410
|
-
_d.sent();
|
|
3411
|
-
_d.label = 2;
|
|
3412
|
-
case 2:
|
|
3413
|
-
defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
|
|
3414
|
-
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
3415
|
-
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
3416
|
-
case 3:
|
|
3417
|
-
_d.sent();
|
|
3418
|
-
_d.label = 4;
|
|
3419
|
-
case 4: return [2, requestContext];
|
|
3420
|
-
}
|
|
3421
|
-
});
|
|
3422
|
-
});
|
|
3423
|
-
};
|
|
3424
|
-
DefaultApiRequestFactory.prototype.openapi = function (_options) {
|
|
3425
|
-
var _a, _b, _c;
|
|
3426
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
3427
|
-
var _config, localVarPath, requestContext, authMethod, defaultAuth;
|
|
3428
|
-
return __generator(this, function (_d) {
|
|
3429
|
-
switch (_d.label) {
|
|
3430
|
-
case 0:
|
|
3431
|
-
_config = _options || this.configuration;
|
|
3432
|
-
localVarPath = '/openapi.yaml';
|
|
3433
|
-
requestContext = _config.baseServer.makeRequestContext(localVarPath, http.HttpMethod.GET);
|
|
3434
|
-
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
3435
|
-
authMethod = _config.authMethods["bearerAuth"];
|
|
3436
|
-
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
3437
|
-
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
3438
|
-
case 1:
|
|
3439
|
-
_d.sent();
|
|
3440
|
-
_d.label = 2;
|
|
3441
|
-
case 2:
|
|
3442
|
-
defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
|
|
3443
|
-
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 4];
|
|
3444
|
-
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
3445
|
-
case 3:
|
|
3446
|
-
_d.sent();
|
|
3447
|
-
_d.label = 4;
|
|
3448
|
-
case 4: return [2, requestContext];
|
|
3449
|
-
}
|
|
3450
|
-
});
|
|
3451
|
-
});
|
|
3452
|
-
};
|
|
3453
2964
|
DefaultApiRequestFactory.prototype.trackEvent = function (product_view_event___product_click_event___widget_event___filter_event___search_event, _options) {
|
|
3454
2965
|
var _a, _b, _c;
|
|
3455
2966
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -3491,126 +3002,6 @@ exports.DefaultApiRequestFactory = DefaultApiRequestFactory;
|
|
|
3491
3002
|
var DefaultApiResponseProcessor = (function () {
|
|
3492
3003
|
function DefaultApiResponseProcessor() {
|
|
3493
3004
|
}
|
|
3494
|
-
DefaultApiResponseProcessor.prototype.applyConfiguration = function (response) {
|
|
3495
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
3496
|
-
var contentType, body, _a, _b, _c, _d, _e, _f;
|
|
3497
|
-
return __generator(this, function (_g) {
|
|
3498
|
-
switch (_g.label) {
|
|
3499
|
-
case 0:
|
|
3500
|
-
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
3501
|
-
if ((0, util.isCodeInRange)("200", response.httpStatusCode)) {
|
|
3502
|
-
return [2];
|
|
3503
|
-
}
|
|
3504
|
-
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 2];
|
|
3505
|
-
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
3506
|
-
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
3507
|
-
return [4, response.body.text()];
|
|
3508
|
-
case 1:
|
|
3509
|
-
body = _b.apply(_a, [_d.apply(_c, [_g.sent(), contentType]),
|
|
3510
|
-
"void", ""]);
|
|
3511
|
-
return [2, body];
|
|
3512
|
-
case 2:
|
|
3513
|
-
_e = exception.ApiException.bind;
|
|
3514
|
-
_f = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
3515
|
-
return [4, response.getBodyAsAny()];
|
|
3516
|
-
case 3: throw new (_e.apply(exception.ApiException, _f.concat([_g.sent(), response.headers])))();
|
|
3517
|
-
}
|
|
3518
|
-
});
|
|
3519
|
-
});
|
|
3520
|
-
};
|
|
3521
|
-
DefaultApiResponseProcessor.prototype.getConfiguration = function (response) {
|
|
3522
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
3523
|
-
var contentType, body, _a, _b, _c, _d, _e, _f;
|
|
3524
|
-
return __generator(this, function (_g) {
|
|
3525
|
-
switch (_g.label) {
|
|
3526
|
-
case 0:
|
|
3527
|
-
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
3528
|
-
if ((0, util.isCodeInRange)("200", response.httpStatusCode)) {
|
|
3529
|
-
return [2];
|
|
3530
|
-
}
|
|
3531
|
-
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 2];
|
|
3532
|
-
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
3533
|
-
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
3534
|
-
return [4, response.body.text()];
|
|
3535
|
-
case 1:
|
|
3536
|
-
body = _b.apply(_a, [_d.apply(_c, [_g.sent(), contentType]),
|
|
3537
|
-
"void", ""]);
|
|
3538
|
-
return [2, body];
|
|
3539
|
-
case 2:
|
|
3540
|
-
_e = exception.ApiException.bind;
|
|
3541
|
-
_f = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
3542
|
-
return [4, response.getBodyAsAny()];
|
|
3543
|
-
case 3: throw new (_e.apply(exception.ApiException, _f.concat([_g.sent(), response.headers])))();
|
|
3544
|
-
}
|
|
3545
|
-
});
|
|
3546
|
-
});
|
|
3547
|
-
};
|
|
3548
|
-
DefaultApiResponseProcessor.prototype.getInteractions = function (response) {
|
|
3549
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
3550
|
-
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, _j, _k;
|
|
3551
|
-
return __generator(this, function (_l) {
|
|
3552
|
-
switch (_l.label) {
|
|
3553
|
-
case 0:
|
|
3554
|
-
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
3555
|
-
if (!(0, util.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
3556
|
-
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
3557
|
-
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
3558
|
-
return [4, response.body.text()];
|
|
3559
|
-
case 1:
|
|
3560
|
-
body = _b.apply(_a, [_d.apply(_c, [_l.sent(), contentType]),
|
|
3561
|
-
"InteractionReport", ""]);
|
|
3562
|
-
return [2, body];
|
|
3563
|
-
case 2:
|
|
3564
|
-
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 4];
|
|
3565
|
-
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
3566
|
-
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
3567
|
-
return [4, response.body.text()];
|
|
3568
|
-
case 3:
|
|
3569
|
-
body = _f.apply(_e, [_h.apply(_g, [_l.sent(), contentType]),
|
|
3570
|
-
"InteractionReport", ""]);
|
|
3571
|
-
return [2, body];
|
|
3572
|
-
case 4:
|
|
3573
|
-
_j = exception.ApiException.bind;
|
|
3574
|
-
_k = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
3575
|
-
return [4, response.getBodyAsAny()];
|
|
3576
|
-
case 5: throw new (_j.apply(exception.ApiException, _k.concat([_l.sent(), response.headers])))();
|
|
3577
|
-
}
|
|
3578
|
-
});
|
|
3579
|
-
});
|
|
3580
|
-
};
|
|
3581
|
-
DefaultApiResponseProcessor.prototype.openapi = function (response) {
|
|
3582
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
3583
|
-
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, _j, _k;
|
|
3584
|
-
return __generator(this, function (_l) {
|
|
3585
|
-
switch (_l.label) {
|
|
3586
|
-
case 0:
|
|
3587
|
-
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
3588
|
-
if (!(0, util.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
3589
|
-
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
3590
|
-
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
3591
|
-
return [4, response.body.text()];
|
|
3592
|
-
case 1:
|
|
3593
|
-
body = _b.apply(_a, [_d.apply(_c, [_l.sent(), contentType]),
|
|
3594
|
-
"string", ""]);
|
|
3595
|
-
return [2, body];
|
|
3596
|
-
case 2:
|
|
3597
|
-
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 4];
|
|
3598
|
-
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
3599
|
-
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
3600
|
-
return [4, response.body.text()];
|
|
3601
|
-
case 3:
|
|
3602
|
-
body = _f.apply(_e, [_h.apply(_g, [_l.sent(), contentType]),
|
|
3603
|
-
"string", ""]);
|
|
3604
|
-
return [2, body];
|
|
3605
|
-
case 4:
|
|
3606
|
-
_j = exception.ApiException.bind;
|
|
3607
|
-
_k = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
3608
|
-
return [4, response.getBodyAsAny()];
|
|
3609
|
-
case 5: throw new (_j.apply(exception.ApiException, _k.concat([_l.sent(), response.headers])))();
|
|
3610
|
-
}
|
|
3611
|
-
});
|
|
3612
|
-
});
|
|
3613
|
-
};
|
|
3614
3005
|
DefaultApiResponseProcessor.prototype.trackEvent = function (response) {
|
|
3615
3006
|
return __awaiter(this, void 0, void 0, function () {
|
|
3616
3007
|
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
@@ -3671,9 +3062,9 @@ var ObservableDefaultApi = (function () {
|
|
|
3671
3062
|
this.requestFactory = requestFactory || new DefaultApi.DefaultApiRequestFactory(configuration);
|
|
3672
3063
|
this.responseProcessor = responseProcessor || new DefaultApi.DefaultApiResponseProcessor();
|
|
3673
3064
|
}
|
|
3674
|
-
ObservableDefaultApi.prototype.
|
|
3065
|
+
ObservableDefaultApi.prototype.trackEvent = function (product_view_event___product_click_event___widget_event___filter_event___search_event, _options) {
|
|
3675
3066
|
var _this = this;
|
|
3676
|
-
var requestContextPromise = this.requestFactory.
|
|
3067
|
+
var requestContextPromise = this.requestFactory.trackEvent(product_view_event___product_click_event___widget_event___filter_event___search_event, _options);
|
|
3677
3068
|
var middlewarePreObservable = (0, rxjsStub.from)(requestContextPromise);
|
|
3678
3069
|
var _loop_1 = function (middleware) {
|
|
3679
3070
|
middlewarePreObservable = middlewarePreObservable.pipe((0, rxjsStub_2.mergeMap)(function (ctx) { return middleware.pre(ctx); }));
|
|
@@ -3692,102 +3083,6 @@ var ObservableDefaultApi = (function () {
|
|
|
3692
3083
|
var middleware = _a[_i];
|
|
3693
3084
|
_loop_2(middleware);
|
|
3694
3085
|
}
|
|
3695
|
-
return middlewarePostObservable.pipe((0, rxjsStub_2.map)(function (rsp) { return _this.responseProcessor.applyConfiguration(rsp); }));
|
|
3696
|
-
}));
|
|
3697
|
-
};
|
|
3698
|
-
ObservableDefaultApi.prototype.getConfiguration = function (site_id, _options) {
|
|
3699
|
-
var _this = this;
|
|
3700
|
-
var requestContextPromise = this.requestFactory.getConfiguration(site_id, _options);
|
|
3701
|
-
var middlewarePreObservable = (0, rxjsStub.from)(requestContextPromise);
|
|
3702
|
-
var _loop_3 = function (middleware) {
|
|
3703
|
-
middlewarePreObservable = middlewarePreObservable.pipe((0, rxjsStub_2.mergeMap)(function (ctx) { return middleware.pre(ctx); }));
|
|
3704
|
-
};
|
|
3705
|
-
for (var _i = 0, _a = this.configuration.middleware; _i < _a.length; _i++) {
|
|
3706
|
-
var middleware = _a[_i];
|
|
3707
|
-
_loop_3(middleware);
|
|
3708
|
-
}
|
|
3709
|
-
return middlewarePreObservable.pipe((0, rxjsStub_2.mergeMap)(function (ctx) { return _this.configuration.httpApi.send(ctx); })).
|
|
3710
|
-
pipe((0, rxjsStub_2.mergeMap)(function (response) {
|
|
3711
|
-
var middlewarePostObservable = (0, rxjsStub.of)(response);
|
|
3712
|
-
var _loop_4 = function (middleware) {
|
|
3713
|
-
middlewarePostObservable = middlewarePostObservable.pipe((0, rxjsStub_2.mergeMap)(function (rsp) { return middleware.post(rsp); }));
|
|
3714
|
-
};
|
|
3715
|
-
for (var _i = 0, _a = _this.configuration.middleware; _i < _a.length; _i++) {
|
|
3716
|
-
var middleware = _a[_i];
|
|
3717
|
-
_loop_4(middleware);
|
|
3718
|
-
}
|
|
3719
|
-
return middlewarePostObservable.pipe((0, rxjsStub_2.map)(function (rsp) { return _this.responseProcessor.getConfiguration(rsp); }));
|
|
3720
|
-
}));
|
|
3721
|
-
};
|
|
3722
|
-
ObservableDefaultApi.prototype.getInteractions = function (site_id, start_datetime, end_datetime, widget, _options) {
|
|
3723
|
-
var _this = this;
|
|
3724
|
-
var requestContextPromise = this.requestFactory.getInteractions(site_id, start_datetime, end_datetime, widget, _options);
|
|
3725
|
-
var middlewarePreObservable = (0, rxjsStub.from)(requestContextPromise);
|
|
3726
|
-
var _loop_5 = function (middleware) {
|
|
3727
|
-
middlewarePreObservable = middlewarePreObservable.pipe((0, rxjsStub_2.mergeMap)(function (ctx) { return middleware.pre(ctx); }));
|
|
3728
|
-
};
|
|
3729
|
-
for (var _i = 0, _a = this.configuration.middleware; _i < _a.length; _i++) {
|
|
3730
|
-
var middleware = _a[_i];
|
|
3731
|
-
_loop_5(middleware);
|
|
3732
|
-
}
|
|
3733
|
-
return middlewarePreObservable.pipe((0, rxjsStub_2.mergeMap)(function (ctx) { return _this.configuration.httpApi.send(ctx); })).
|
|
3734
|
-
pipe((0, rxjsStub_2.mergeMap)(function (response) {
|
|
3735
|
-
var middlewarePostObservable = (0, rxjsStub.of)(response);
|
|
3736
|
-
var _loop_6 = function (middleware) {
|
|
3737
|
-
middlewarePostObservable = middlewarePostObservable.pipe((0, rxjsStub_2.mergeMap)(function (rsp) { return middleware.post(rsp); }));
|
|
3738
|
-
};
|
|
3739
|
-
for (var _i = 0, _a = _this.configuration.middleware; _i < _a.length; _i++) {
|
|
3740
|
-
var middleware = _a[_i];
|
|
3741
|
-
_loop_6(middleware);
|
|
3742
|
-
}
|
|
3743
|
-
return middlewarePostObservable.pipe((0, rxjsStub_2.map)(function (rsp) { return _this.responseProcessor.getInteractions(rsp); }));
|
|
3744
|
-
}));
|
|
3745
|
-
};
|
|
3746
|
-
ObservableDefaultApi.prototype.openapi = function (_options) {
|
|
3747
|
-
var _this = this;
|
|
3748
|
-
var requestContextPromise = this.requestFactory.openapi(_options);
|
|
3749
|
-
var middlewarePreObservable = (0, rxjsStub.from)(requestContextPromise);
|
|
3750
|
-
var _loop_7 = function (middleware) {
|
|
3751
|
-
middlewarePreObservable = middlewarePreObservable.pipe((0, rxjsStub_2.mergeMap)(function (ctx) { return middleware.pre(ctx); }));
|
|
3752
|
-
};
|
|
3753
|
-
for (var _i = 0, _a = this.configuration.middleware; _i < _a.length; _i++) {
|
|
3754
|
-
var middleware = _a[_i];
|
|
3755
|
-
_loop_7(middleware);
|
|
3756
|
-
}
|
|
3757
|
-
return middlewarePreObservable.pipe((0, rxjsStub_2.mergeMap)(function (ctx) { return _this.configuration.httpApi.send(ctx); })).
|
|
3758
|
-
pipe((0, rxjsStub_2.mergeMap)(function (response) {
|
|
3759
|
-
var middlewarePostObservable = (0, rxjsStub.of)(response);
|
|
3760
|
-
var _loop_8 = function (middleware) {
|
|
3761
|
-
middlewarePostObservable = middlewarePostObservable.pipe((0, rxjsStub_2.mergeMap)(function (rsp) { return middleware.post(rsp); }));
|
|
3762
|
-
};
|
|
3763
|
-
for (var _i = 0, _a = _this.configuration.middleware; _i < _a.length; _i++) {
|
|
3764
|
-
var middleware = _a[_i];
|
|
3765
|
-
_loop_8(middleware);
|
|
3766
|
-
}
|
|
3767
|
-
return middlewarePostObservable.pipe((0, rxjsStub_2.map)(function (rsp) { return _this.responseProcessor.openapi(rsp); }));
|
|
3768
|
-
}));
|
|
3769
|
-
};
|
|
3770
|
-
ObservableDefaultApi.prototype.trackEvent = function (product_view_event___product_click_event___widget_event___filter_event___search_event, _options) {
|
|
3771
|
-
var _this = this;
|
|
3772
|
-
var requestContextPromise = this.requestFactory.trackEvent(product_view_event___product_click_event___widget_event___filter_event___search_event, _options);
|
|
3773
|
-
var middlewarePreObservable = (0, rxjsStub.from)(requestContextPromise);
|
|
3774
|
-
var _loop_9 = function (middleware) {
|
|
3775
|
-
middlewarePreObservable = middlewarePreObservable.pipe((0, rxjsStub_2.mergeMap)(function (ctx) { return middleware.pre(ctx); }));
|
|
3776
|
-
};
|
|
3777
|
-
for (var _i = 0, _a = this.configuration.middleware; _i < _a.length; _i++) {
|
|
3778
|
-
var middleware = _a[_i];
|
|
3779
|
-
_loop_9(middleware);
|
|
3780
|
-
}
|
|
3781
|
-
return middlewarePreObservable.pipe((0, rxjsStub_2.mergeMap)(function (ctx) { return _this.configuration.httpApi.send(ctx); })).
|
|
3782
|
-
pipe((0, rxjsStub_2.mergeMap)(function (response) {
|
|
3783
|
-
var middlewarePostObservable = (0, rxjsStub.of)(response);
|
|
3784
|
-
var _loop_10 = function (middleware) {
|
|
3785
|
-
middlewarePostObservable = middlewarePostObservable.pipe((0, rxjsStub_2.mergeMap)(function (rsp) { return middleware.post(rsp); }));
|
|
3786
|
-
};
|
|
3787
|
-
for (var _i = 0, _a = _this.configuration.middleware; _i < _a.length; _i++) {
|
|
3788
|
-
var middleware = _a[_i];
|
|
3789
|
-
_loop_10(middleware);
|
|
3790
|
-
}
|
|
3791
3086
|
return middlewarePostObservable.pipe((0, rxjsStub_2.map)(function (rsp) { return _this.responseProcessor.trackEvent(rsp); }));
|
|
3792
3087
|
}));
|
|
3793
3088
|
};
|
|
@@ -3805,22 +3100,6 @@ var PromiseDefaultApi = (function () {
|
|
|
3805
3100
|
function PromiseDefaultApi(configuration, requestFactory, responseProcessor) {
|
|
3806
3101
|
this.api = new ObservableAPI.ObservableDefaultApi(configuration, requestFactory, responseProcessor);
|
|
3807
3102
|
}
|
|
3808
|
-
PromiseDefaultApi.prototype.applyConfiguration = function (site_id, config, _options) {
|
|
3809
|
-
var result = this.api.applyConfiguration(site_id, config, _options);
|
|
3810
|
-
return result.toPromise();
|
|
3811
|
-
};
|
|
3812
|
-
PromiseDefaultApi.prototype.getConfiguration = function (site_id, _options) {
|
|
3813
|
-
var result = this.api.getConfiguration(site_id, _options);
|
|
3814
|
-
return result.toPromise();
|
|
3815
|
-
};
|
|
3816
|
-
PromiseDefaultApi.prototype.getInteractions = function (site_id, start_datetime, end_datetime, widget, _options) {
|
|
3817
|
-
var result = this.api.getInteractions(site_id, start_datetime, end_datetime, widget, _options);
|
|
3818
|
-
return result.toPromise();
|
|
3819
|
-
};
|
|
3820
|
-
PromiseDefaultApi.prototype.openapi = function (_options) {
|
|
3821
|
-
var result = this.api.openapi(_options);
|
|
3822
|
-
return result.toPromise();
|
|
3823
|
-
};
|
|
3824
3103
|
PromiseDefaultApi.prototype.trackEvent = function (product_view_event___product_click_event___widget_event___filter_event___search_event, _options) {
|
|
3825
3104
|
var result = this.api.trackEvent(product_view_event___product_click_event___widget_event___filter_event___search_event, _options);
|
|
3826
3105
|
return result.toPromise();
|