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