@passly-nl/data 1.2.2 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +664 -69
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1982 -343
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -8
- package/src/adapter/StatisticsBuyersAdapter.ts +50 -1
- package/src/adapter/StatisticsChartAdapter.ts +56 -0
- package/src/adapter/StatisticsEventsAdapter.ts +41 -2
- package/src/adapter/StatisticsGrowthAdapter.ts +9 -1
- package/src/adapter/StatisticsMarketingAdapter.ts +78 -0
- package/src/adapter/StatisticsOperationsAdapter.ts +45 -12
- package/src/adapter/StatisticsOverviewAdapter.ts +33 -2
- package/src/adapter/StatisticsRefundsAdapter.ts +43 -0
- package/src/adapter/StatisticsSalesAdapter.ts +36 -1
- package/src/adapter/index.ts +3 -1
- package/src/dto/eventStatistics/index.ts +0 -1
- package/src/dto/statistics/StatisticsBuyersAcquisitionSourceDto.ts +28 -0
- package/src/dto/statistics/StatisticsBuyersAgeGenderMatrixDto.ts +38 -0
- package/src/dto/statistics/StatisticsBuyersCohortRetentionDto.ts +48 -0
- package/src/dto/statistics/StatisticsBuyersDeviceConversionDto.ts +48 -0
- package/src/dto/statistics/StatisticsBuyersGeographicDistributionDto.ts +49 -0
- package/src/dto/statistics/StatisticsBuyersSpendBucketsDto.ts +36 -0
- package/src/dto/statistics/StatisticsChartDto.ts +43 -0
- package/src/dto/statistics/StatisticsEventsSalesCurveDto.ts +19 -0
- package/src/dto/statistics/StatisticsEventsSalesCurveEventDto.ts +59 -0
- package/src/dto/statistics/StatisticsEventsSellOutTimingDto.ts +39 -0
- package/src/dto/statistics/StatisticsEventsSellOutTimingEventDto.ts +38 -0
- package/src/dto/statistics/StatisticsEventsTimeToEventDto.ts +36 -0
- package/src/dto/statistics/StatisticsGrowthCmgrDto.ts +38 -0
- package/src/dto/statistics/StatisticsMarketingCampaignDto.ts +69 -0
- package/src/dto/statistics/StatisticsMarketingOverviewDto.ts +79 -0
- package/src/dto/statistics/StatisticsMarketingReferrerDto.ts +39 -0
- package/src/dto/statistics/StatisticsMarketingShortlinkRoiDto.ts +109 -0
- package/src/dto/statistics/StatisticsMarketingSourceBreakdownDto.ts +49 -0
- package/src/dto/statistics/StatisticsMarketingSourceFunnelDto.ts +48 -0
- package/src/dto/statistics/StatisticsMarketingSourceMediumMatrixDto.ts +39 -0
- package/src/dto/statistics/StatisticsOperationsNoShowRateDto.ts +59 -0
- package/src/dto/statistics/StatisticsOperationsNoShowRateEventDto.ts +58 -0
- package/src/dto/statistics/StatisticsOperationsScanTimeDistributionDto.ts +36 -0
- package/src/dto/statistics/{StatisticsOperationsTaskAssigneeDto.ts → StatisticsOperationsStewardDto.ts} +28 -8
- package/src/dto/statistics/StatisticsOperationsStockUtilizationDto.ts +100 -0
- package/src/dto/statistics/StatisticsOverviewCancellationFunnelDto.ts +58 -0
- package/src/dto/statistics/StatisticsOverviewReservationConversionRateDto.ts +78 -0
- package/src/dto/statistics/StatisticsOverviewTopShopDto.ts +49 -0
- package/src/dto/statistics/StatisticsPieChartDto.ts +29 -0
- package/src/dto/statistics/StatisticsRefundsAmountDistributionDto.ts +38 -0
- package/src/dto/statistics/StatisticsRefundsOverviewDto.ts +59 -0
- package/src/dto/statistics/StatisticsRefundsTopEventDto.ts +70 -0
- package/src/dto/statistics/StatisticsRefundsVelocityDto.ts +45 -0
- package/src/dto/statistics/StatisticsSalesDiscountEfficacyDto.ts +99 -0
- package/src/dto/statistics/StatisticsSalesFailedTransactionReasonDto.ts +29 -0
- package/src/dto/statistics/StatisticsSalesOrderValueDistributionDto.ts +38 -0
- package/src/dto/statistics/StatisticsSalesRepeatPurchaseVelocityDto.ts +35 -0
- package/src/dto/statistics/index.ts +37 -2
- package/src/service/MerchantEventStatisticsBuyersService.ts +4 -5
- package/src/service/MerchantEventStatisticsOperationsService.ts +4 -5
- package/src/service/MerchantEventStatisticsSalesService.ts +10 -11
- package/src/service/MerchantStatisticsBuyersService.ts +64 -5
- package/src/service/MerchantStatisticsEventsService.ts +48 -9
- package/src/service/MerchantStatisticsGrowthService.ts +25 -5
- package/src/service/MerchantStatisticsMarketingService.ts +96 -0
- package/src/service/MerchantStatisticsOperationsService.ts +39 -10
- package/src/service/MerchantStatisticsOverviewService.ts +34 -5
- package/src/service/MerchantStatisticsRefundsService.ts +76 -0
- package/src/service/MerchantStatisticsSalesService.ts +78 -9
- package/src/service/MerchantStatisticsService.ts +0 -11
- package/src/service/index.ts +2 -0
- package/src/types/index.ts +1 -0
- package/src/types/statistics.ts +32 -0
- package/src/adapter/EventStatisticsSalesAdapter.ts +0 -21
- package/src/dto/eventStatistics/EventStatisticsSalesFlowChartDto.ts +0 -66
- package/src/dto/statistics/StatisticsOperationsTasksOverviewDto.ts +0 -69
package/dist/index.mjs
CHANGED
|
@@ -2455,59 +2455,6 @@ let EventStatisticsOperationsOverviewDto = class EventStatisticsOperationsOvervi
|
|
|
2455
2455
|
};
|
|
2456
2456
|
EventStatisticsOperationsOverviewDto = __decorate([dto], EventStatisticsOperationsOverviewDto);
|
|
2457
2457
|
|
|
2458
|
-
//#endregion
|
|
2459
|
-
//#region src/dto/eventStatistics/EventStatisticsSalesFlowChartDto.ts
|
|
2460
|
-
let EventStatisticsSalesFlowChartSeriesDto = class EventStatisticsSalesFlowChartSeriesDto {
|
|
2461
|
-
get name() {
|
|
2462
|
-
return this.#name;
|
|
2463
|
-
}
|
|
2464
|
-
set name(value) {
|
|
2465
|
-
this.#name = value;
|
|
2466
|
-
}
|
|
2467
|
-
get data() {
|
|
2468
|
-
return this.#data;
|
|
2469
|
-
}
|
|
2470
|
-
set data(value) {
|
|
2471
|
-
this.#data = value;
|
|
2472
|
-
}
|
|
2473
|
-
get zIndex() {
|
|
2474
|
-
return this.#zIndex;
|
|
2475
|
-
}
|
|
2476
|
-
set zIndex(value) {
|
|
2477
|
-
this.#zIndex = value;
|
|
2478
|
-
}
|
|
2479
|
-
#name;
|
|
2480
|
-
#data;
|
|
2481
|
-
#zIndex;
|
|
2482
|
-
constructor(name, data, zIndex) {
|
|
2483
|
-
this.#name = name;
|
|
2484
|
-
this.#data = data;
|
|
2485
|
-
this.#zIndex = zIndex;
|
|
2486
|
-
}
|
|
2487
|
-
};
|
|
2488
|
-
EventStatisticsSalesFlowChartSeriesDto = __decorate([dto], EventStatisticsSalesFlowChartSeriesDto);
|
|
2489
|
-
let EventStatisticsSalesFlowChartDto = class EventStatisticsSalesFlowChartDto {
|
|
2490
|
-
get series() {
|
|
2491
|
-
return this.#series;
|
|
2492
|
-
}
|
|
2493
|
-
set series(value) {
|
|
2494
|
-
this.#series = value;
|
|
2495
|
-
}
|
|
2496
|
-
get categories() {
|
|
2497
|
-
return this.#categories;
|
|
2498
|
-
}
|
|
2499
|
-
set categories(value) {
|
|
2500
|
-
this.#categories = value;
|
|
2501
|
-
}
|
|
2502
|
-
#series;
|
|
2503
|
-
#categories;
|
|
2504
|
-
constructor(series, categories) {
|
|
2505
|
-
this.#series = series;
|
|
2506
|
-
this.#categories = categories;
|
|
2507
|
-
}
|
|
2508
|
-
};
|
|
2509
|
-
EventStatisticsSalesFlowChartDto = __decorate([dto], EventStatisticsSalesFlowChartDto);
|
|
2510
|
-
|
|
2511
2458
|
//#endregion
|
|
2512
2459
|
//#region src/dto/eventStatistics/EventStatisticsStatusDto.ts
|
|
2513
2460
|
let EventStatisticsStatusDto = class EventStatisticsStatusDto {
|
|
@@ -5354,6 +5301,182 @@ let MilestoneDto = class MilestoneDto {
|
|
|
5354
5301
|
};
|
|
5355
5302
|
MilestoneDto = __decorate([dto], MilestoneDto);
|
|
5356
5303
|
|
|
5304
|
+
//#endregion
|
|
5305
|
+
//#region src/dto/statistics/StatisticsBuyersAcquisitionSourceDto.ts
|
|
5306
|
+
let StatisticsBuyersAcquisitionSourceDto = class StatisticsBuyersAcquisitionSourceDto {
|
|
5307
|
+
get source() {
|
|
5308
|
+
return this.#source;
|
|
5309
|
+
}
|
|
5310
|
+
set source(value) {
|
|
5311
|
+
this.#source = value;
|
|
5312
|
+
}
|
|
5313
|
+
get buyers() {
|
|
5314
|
+
return this.#buyers;
|
|
5315
|
+
}
|
|
5316
|
+
set buyers(value) {
|
|
5317
|
+
this.#buyers = value;
|
|
5318
|
+
}
|
|
5319
|
+
#source;
|
|
5320
|
+
#buyers;
|
|
5321
|
+
constructor(source, buyers) {
|
|
5322
|
+
this.#source = source;
|
|
5323
|
+
this.#buyers = buyers;
|
|
5324
|
+
}
|
|
5325
|
+
};
|
|
5326
|
+
StatisticsBuyersAcquisitionSourceDto = __decorate([dto], StatisticsBuyersAcquisitionSourceDto);
|
|
5327
|
+
|
|
5328
|
+
//#endregion
|
|
5329
|
+
//#region src/dto/statistics/StatisticsBuyersAgeGenderMatrixDto.ts
|
|
5330
|
+
let StatisticsBuyersAgeGenderMatrixDto = class StatisticsBuyersAgeGenderMatrixDto {
|
|
5331
|
+
get ageGroups() {
|
|
5332
|
+
return this.#ageGroups;
|
|
5333
|
+
}
|
|
5334
|
+
set ageGroups(value) {
|
|
5335
|
+
this.#ageGroups = value;
|
|
5336
|
+
}
|
|
5337
|
+
get genders() {
|
|
5338
|
+
return this.#genders;
|
|
5339
|
+
}
|
|
5340
|
+
set genders(value) {
|
|
5341
|
+
this.#genders = value;
|
|
5342
|
+
}
|
|
5343
|
+
get cells() {
|
|
5344
|
+
return this.#cells;
|
|
5345
|
+
}
|
|
5346
|
+
set cells(value) {
|
|
5347
|
+
this.#cells = value;
|
|
5348
|
+
}
|
|
5349
|
+
#ageGroups;
|
|
5350
|
+
#genders;
|
|
5351
|
+
#cells;
|
|
5352
|
+
constructor(ageGroups, genders, cells) {
|
|
5353
|
+
this.#ageGroups = ageGroups;
|
|
5354
|
+
this.#genders = genders;
|
|
5355
|
+
this.#cells = cells;
|
|
5356
|
+
}
|
|
5357
|
+
};
|
|
5358
|
+
StatisticsBuyersAgeGenderMatrixDto = __decorate([dto], StatisticsBuyersAgeGenderMatrixDto);
|
|
5359
|
+
|
|
5360
|
+
//#endregion
|
|
5361
|
+
//#region src/dto/statistics/StatisticsBuyersCohortRetentionDto.ts
|
|
5362
|
+
let StatisticsBuyersCohortRetentionDto = class StatisticsBuyersCohortRetentionDto {
|
|
5363
|
+
get cohorts() {
|
|
5364
|
+
return this.#cohorts;
|
|
5365
|
+
}
|
|
5366
|
+
set cohorts(value) {
|
|
5367
|
+
this.#cohorts = value;
|
|
5368
|
+
}
|
|
5369
|
+
get buckets() {
|
|
5370
|
+
return this.#buckets;
|
|
5371
|
+
}
|
|
5372
|
+
set buckets(value) {
|
|
5373
|
+
this.#buckets = value;
|
|
5374
|
+
}
|
|
5375
|
+
get cohortSizes() {
|
|
5376
|
+
return this.#cohortSizes;
|
|
5377
|
+
}
|
|
5378
|
+
set cohortSizes(value) {
|
|
5379
|
+
this.#cohortSizes = value;
|
|
5380
|
+
}
|
|
5381
|
+
get cells() {
|
|
5382
|
+
return this.#cells;
|
|
5383
|
+
}
|
|
5384
|
+
set cells(value) {
|
|
5385
|
+
this.#cells = value;
|
|
5386
|
+
}
|
|
5387
|
+
#cohorts;
|
|
5388
|
+
#buckets;
|
|
5389
|
+
#cohortSizes;
|
|
5390
|
+
#cells;
|
|
5391
|
+
constructor(cohorts, buckets, cohortSizes, cells) {
|
|
5392
|
+
this.#cohorts = cohorts;
|
|
5393
|
+
this.#buckets = buckets;
|
|
5394
|
+
this.#cohortSizes = cohortSizes;
|
|
5395
|
+
this.#cells = cells;
|
|
5396
|
+
}
|
|
5397
|
+
};
|
|
5398
|
+
StatisticsBuyersCohortRetentionDto = __decorate([dto], StatisticsBuyersCohortRetentionDto);
|
|
5399
|
+
|
|
5400
|
+
//#endregion
|
|
5401
|
+
//#region src/dto/statistics/StatisticsBuyersDeviceConversionDto.ts
|
|
5402
|
+
let StatisticsBuyersDeviceConversionDto = class StatisticsBuyersDeviceConversionDto {
|
|
5403
|
+
get operatingSystem() {
|
|
5404
|
+
return this.#operatingSystem;
|
|
5405
|
+
}
|
|
5406
|
+
set operatingSystem(value) {
|
|
5407
|
+
this.#operatingSystem = value;
|
|
5408
|
+
}
|
|
5409
|
+
get visits() {
|
|
5410
|
+
return this.#visits;
|
|
5411
|
+
}
|
|
5412
|
+
set visits(value) {
|
|
5413
|
+
this.#visits = value;
|
|
5414
|
+
}
|
|
5415
|
+
get orders() {
|
|
5416
|
+
return this.#orders;
|
|
5417
|
+
}
|
|
5418
|
+
set orders(value) {
|
|
5419
|
+
this.#orders = value;
|
|
5420
|
+
}
|
|
5421
|
+
get conversionRate() {
|
|
5422
|
+
return this.#conversionRate;
|
|
5423
|
+
}
|
|
5424
|
+
set conversionRate(value) {
|
|
5425
|
+
this.#conversionRate = value;
|
|
5426
|
+
}
|
|
5427
|
+
#operatingSystem;
|
|
5428
|
+
#visits;
|
|
5429
|
+
#orders;
|
|
5430
|
+
#conversionRate;
|
|
5431
|
+
constructor(operatingSystem, visits, orders, conversionRate) {
|
|
5432
|
+
this.#operatingSystem = operatingSystem;
|
|
5433
|
+
this.#visits = visits;
|
|
5434
|
+
this.#orders = orders;
|
|
5435
|
+
this.#conversionRate = conversionRate;
|
|
5436
|
+
}
|
|
5437
|
+
};
|
|
5438
|
+
StatisticsBuyersDeviceConversionDto = __decorate([dto], StatisticsBuyersDeviceConversionDto);
|
|
5439
|
+
|
|
5440
|
+
//#endregion
|
|
5441
|
+
//#region src/dto/statistics/StatisticsBuyersGeographicDistributionDto.ts
|
|
5442
|
+
let StatisticsBuyersGeographicDistributionDto = class StatisticsBuyersGeographicDistributionDto {
|
|
5443
|
+
get country() {
|
|
5444
|
+
return this.#country;
|
|
5445
|
+
}
|
|
5446
|
+
set country(value) {
|
|
5447
|
+
this.#country = value;
|
|
5448
|
+
}
|
|
5449
|
+
get buyers() {
|
|
5450
|
+
return this.#buyers;
|
|
5451
|
+
}
|
|
5452
|
+
set buyers(value) {
|
|
5453
|
+
this.#buyers = value;
|
|
5454
|
+
}
|
|
5455
|
+
get orders() {
|
|
5456
|
+
return this.#orders;
|
|
5457
|
+
}
|
|
5458
|
+
set orders(value) {
|
|
5459
|
+
this.#orders = value;
|
|
5460
|
+
}
|
|
5461
|
+
get revenue() {
|
|
5462
|
+
return this.#revenue;
|
|
5463
|
+
}
|
|
5464
|
+
set revenue(value) {
|
|
5465
|
+
this.#revenue = value;
|
|
5466
|
+
}
|
|
5467
|
+
#country;
|
|
5468
|
+
#buyers;
|
|
5469
|
+
#orders;
|
|
5470
|
+
#revenue;
|
|
5471
|
+
constructor(country, buyers, orders, revenue) {
|
|
5472
|
+
this.#country = country;
|
|
5473
|
+
this.#buyers = buyers;
|
|
5474
|
+
this.#orders = orders;
|
|
5475
|
+
this.#revenue = revenue;
|
|
5476
|
+
}
|
|
5477
|
+
};
|
|
5478
|
+
StatisticsBuyersGeographicDistributionDto = __decorate([dto], StatisticsBuyersGeographicDistributionDto);
|
|
5479
|
+
|
|
5357
5480
|
//#endregion
|
|
5358
5481
|
//#region src/dto/statistics/StatisticsBuyersOverviewDto.ts
|
|
5359
5482
|
let StatisticsBuyersOverviewDto = class StatisticsBuyersOverviewDto {
|
|
@@ -5466,6 +5589,62 @@ let StatisticsBuyersRankedDto = class StatisticsBuyersRankedDto {
|
|
|
5466
5589
|
};
|
|
5467
5590
|
StatisticsBuyersRankedDto = __decorate([dto], StatisticsBuyersRankedDto);
|
|
5468
5591
|
|
|
5592
|
+
//#endregion
|
|
5593
|
+
//#region src/dto/statistics/StatisticsBuyersSpendBucketsDto.ts
|
|
5594
|
+
let StatisticsBuyersSpendBucketsDto = class StatisticsBuyersSpendBucketsDto {
|
|
5595
|
+
get buckets() {
|
|
5596
|
+
return this.#buckets;
|
|
5597
|
+
}
|
|
5598
|
+
set buckets(value) {
|
|
5599
|
+
this.#buckets = value;
|
|
5600
|
+
}
|
|
5601
|
+
get totalBuyers() {
|
|
5602
|
+
return this.#totalBuyers;
|
|
5603
|
+
}
|
|
5604
|
+
set totalBuyers(value) {
|
|
5605
|
+
this.#totalBuyers = value;
|
|
5606
|
+
}
|
|
5607
|
+
#buckets;
|
|
5608
|
+
#totalBuyers;
|
|
5609
|
+
constructor(buckets, totalBuyers) {
|
|
5610
|
+
this.#buckets = buckets;
|
|
5611
|
+
this.#totalBuyers = totalBuyers;
|
|
5612
|
+
}
|
|
5613
|
+
};
|
|
5614
|
+
StatisticsBuyersSpendBucketsDto = __decorate([dto], StatisticsBuyersSpendBucketsDto);
|
|
5615
|
+
|
|
5616
|
+
//#endregion
|
|
5617
|
+
//#region src/dto/statistics/StatisticsChartDto.ts
|
|
5618
|
+
let StatisticsChartDto = class StatisticsChartDto {
|
|
5619
|
+
get series() {
|
|
5620
|
+
return this.#series;
|
|
5621
|
+
}
|
|
5622
|
+
set series(value) {
|
|
5623
|
+
this.#series = value;
|
|
5624
|
+
}
|
|
5625
|
+
get labels() {
|
|
5626
|
+
return this.#labels;
|
|
5627
|
+
}
|
|
5628
|
+
set labels(value) {
|
|
5629
|
+
this.#labels = value;
|
|
5630
|
+
}
|
|
5631
|
+
get granularity() {
|
|
5632
|
+
return this.#granularity;
|
|
5633
|
+
}
|
|
5634
|
+
set granularity(value) {
|
|
5635
|
+
this.#granularity = value;
|
|
5636
|
+
}
|
|
5637
|
+
#series;
|
|
5638
|
+
#labels;
|
|
5639
|
+
#granularity;
|
|
5640
|
+
constructor(series, labels, granularity) {
|
|
5641
|
+
this.#series = series;
|
|
5642
|
+
this.#labels = labels;
|
|
5643
|
+
this.#granularity = granularity;
|
|
5644
|
+
}
|
|
5645
|
+
};
|
|
5646
|
+
StatisticsChartDto = __decorate([dto], StatisticsChartDto);
|
|
5647
|
+
|
|
5469
5648
|
//#endregion
|
|
5470
5649
|
//#region src/dto/statistics/StatisticsEventsOverviewDto.ts
|
|
5471
5650
|
let StatisticsEventsOverviewDto = class StatisticsEventsOverviewDto {
|
|
@@ -5515,56 +5694,24 @@ let StatisticsEventsOverviewDto = class StatisticsEventsOverviewDto {
|
|
|
5515
5694
|
StatisticsEventsOverviewDto = __decorate([dto], StatisticsEventsOverviewDto);
|
|
5516
5695
|
|
|
5517
5696
|
//#endregion
|
|
5518
|
-
//#region src/dto/statistics/
|
|
5519
|
-
let
|
|
5520
|
-
get revenue() {
|
|
5521
|
-
return this.#revenue;
|
|
5522
|
-
}
|
|
5523
|
-
set revenue(value) {
|
|
5524
|
-
this.#revenue = value;
|
|
5525
|
-
}
|
|
5526
|
-
get tickets() {
|
|
5527
|
-
return this.#tickets;
|
|
5528
|
-
}
|
|
5529
|
-
set tickets(value) {
|
|
5530
|
-
this.#tickets = value;
|
|
5531
|
-
}
|
|
5532
|
-
get buyers() {
|
|
5533
|
-
return this.#buyers;
|
|
5534
|
-
}
|
|
5535
|
-
set buyers(value) {
|
|
5536
|
-
this.#buyers = value;
|
|
5537
|
-
}
|
|
5697
|
+
//#region src/dto/statistics/StatisticsEventsSalesCurveDto.ts
|
|
5698
|
+
let StatisticsEventsSalesCurveDto = class StatisticsEventsSalesCurveDto {
|
|
5538
5699
|
get events() {
|
|
5539
5700
|
return this.#events;
|
|
5540
5701
|
}
|
|
5541
5702
|
set events(value) {
|
|
5542
5703
|
this.#events = value;
|
|
5543
5704
|
}
|
|
5544
|
-
get averageEventSize() {
|
|
5545
|
-
return this.#averageEventSize;
|
|
5546
|
-
}
|
|
5547
|
-
set averageEventSize(value) {
|
|
5548
|
-
this.#averageEventSize = value;
|
|
5549
|
-
}
|
|
5550
|
-
#revenue;
|
|
5551
|
-
#tickets;
|
|
5552
|
-
#buyers;
|
|
5553
5705
|
#events;
|
|
5554
|
-
|
|
5555
|
-
constructor(revenue, tickets, buyers, events, averageEventSize) {
|
|
5556
|
-
this.#revenue = revenue;
|
|
5557
|
-
this.#tickets = tickets;
|
|
5558
|
-
this.#buyers = buyers;
|
|
5706
|
+
constructor(events) {
|
|
5559
5707
|
this.#events = events;
|
|
5560
|
-
this.#averageEventSize = averageEventSize;
|
|
5561
5708
|
}
|
|
5562
5709
|
};
|
|
5563
|
-
|
|
5710
|
+
StatisticsEventsSalesCurveDto = __decorate([dto], StatisticsEventsSalesCurveDto);
|
|
5564
5711
|
|
|
5565
5712
|
//#endregion
|
|
5566
|
-
//#region src/dto/statistics/
|
|
5567
|
-
let
|
|
5713
|
+
//#region src/dto/statistics/StatisticsEventsSalesCurveEventDto.ts
|
|
5714
|
+
let StatisticsEventsSalesCurveEventDto = class StatisticsEventsSalesCurveEventDto {
|
|
5568
5715
|
get id() {
|
|
5569
5716
|
return this.#id;
|
|
5570
5717
|
}
|
|
@@ -5577,75 +5724,739 @@ let StatisticsOperationsAppTeamDto = class StatisticsOperationsAppTeamDto {
|
|
|
5577
5724
|
set name(value) {
|
|
5578
5725
|
this.#name = value;
|
|
5579
5726
|
}
|
|
5580
|
-
get
|
|
5581
|
-
return this.#
|
|
5582
|
-
}
|
|
5583
|
-
set eventId(value) {
|
|
5584
|
-
this.#eventId = value;
|
|
5585
|
-
}
|
|
5586
|
-
get eventName() {
|
|
5587
|
-
return this.#eventName;
|
|
5588
|
-
}
|
|
5589
|
-
set eventName(value) {
|
|
5590
|
-
this.#eventName = value;
|
|
5591
|
-
}
|
|
5592
|
-
get scans() {
|
|
5593
|
-
return this.#scans;
|
|
5727
|
+
get startsOn() {
|
|
5728
|
+
return this.#startsOn;
|
|
5594
5729
|
}
|
|
5595
|
-
set
|
|
5596
|
-
this.#
|
|
5730
|
+
set startsOn(value) {
|
|
5731
|
+
this.#startsOn = value;
|
|
5597
5732
|
}
|
|
5598
|
-
get
|
|
5599
|
-
return this.#
|
|
5733
|
+
get daysBeforeStart() {
|
|
5734
|
+
return this.#daysBeforeStart;
|
|
5600
5735
|
}
|
|
5601
|
-
set
|
|
5602
|
-
this.#
|
|
5736
|
+
set daysBeforeStart(value) {
|
|
5737
|
+
this.#daysBeforeStart = value;
|
|
5603
5738
|
}
|
|
5604
|
-
get
|
|
5605
|
-
return this.#
|
|
5739
|
+
get cumulativeTickets() {
|
|
5740
|
+
return this.#cumulativeTickets;
|
|
5606
5741
|
}
|
|
5607
|
-
set
|
|
5608
|
-
this.#
|
|
5742
|
+
set cumulativeTickets(value) {
|
|
5743
|
+
this.#cumulativeTickets = value;
|
|
5609
5744
|
}
|
|
5610
5745
|
#id;
|
|
5611
5746
|
#name;
|
|
5612
|
-
#
|
|
5613
|
-
#
|
|
5614
|
-
#
|
|
5615
|
-
|
|
5616
|
-
#checkouts;
|
|
5617
|
-
constructor(id, name, eventId, eventName, scans, checkins, checkouts) {
|
|
5747
|
+
#startsOn;
|
|
5748
|
+
#daysBeforeStart;
|
|
5749
|
+
#cumulativeTickets;
|
|
5750
|
+
constructor(id, name, startsOn, daysBeforeStart, cumulativeTickets) {
|
|
5618
5751
|
this.#id = id;
|
|
5619
5752
|
this.#name = name;
|
|
5620
|
-
this.#
|
|
5621
|
-
this.#
|
|
5622
|
-
this.#
|
|
5623
|
-
this.#checkins = checkins;
|
|
5624
|
-
this.#checkouts = checkouts;
|
|
5753
|
+
this.#startsOn = startsOn;
|
|
5754
|
+
this.#daysBeforeStart = daysBeforeStart;
|
|
5755
|
+
this.#cumulativeTickets = cumulativeTickets;
|
|
5625
5756
|
}
|
|
5626
5757
|
};
|
|
5627
|
-
|
|
5758
|
+
StatisticsEventsSalesCurveEventDto = __decorate([dto], StatisticsEventsSalesCurveEventDto);
|
|
5628
5759
|
|
|
5629
5760
|
//#endregion
|
|
5630
|
-
//#region src/dto/statistics/
|
|
5631
|
-
let
|
|
5632
|
-
get
|
|
5633
|
-
return this.#
|
|
5761
|
+
//#region src/dto/statistics/StatisticsEventsSellOutTimingDto.ts
|
|
5762
|
+
let StatisticsEventsSellOutTimingDto = class StatisticsEventsSellOutTimingDto {
|
|
5763
|
+
get eventsSoldOut() {
|
|
5764
|
+
return this.#eventsSoldOut;
|
|
5634
5765
|
}
|
|
5635
|
-
set
|
|
5636
|
-
this.#
|
|
5766
|
+
set eventsSoldOut(value) {
|
|
5767
|
+
this.#eventsSoldOut = value;
|
|
5637
5768
|
}
|
|
5638
|
-
get
|
|
5639
|
-
return this.#
|
|
5769
|
+
get averageDaysToSellOut() {
|
|
5770
|
+
return this.#averageDaysToSellOut;
|
|
5640
5771
|
}
|
|
5641
|
-
set
|
|
5642
|
-
this.#
|
|
5772
|
+
set averageDaysToSellOut(value) {
|
|
5773
|
+
this.#averageDaysToSellOut = value;
|
|
5643
5774
|
}
|
|
5644
|
-
get
|
|
5645
|
-
return this.#
|
|
5775
|
+
get events() {
|
|
5776
|
+
return this.#events;
|
|
5646
5777
|
}
|
|
5647
|
-
set
|
|
5648
|
-
this.#
|
|
5778
|
+
set events(value) {
|
|
5779
|
+
this.#events = value;
|
|
5780
|
+
}
|
|
5781
|
+
#eventsSoldOut;
|
|
5782
|
+
#averageDaysToSellOut;
|
|
5783
|
+
#events;
|
|
5784
|
+
constructor(eventsSoldOut, averageDaysToSellOut, events) {
|
|
5785
|
+
this.#eventsSoldOut = eventsSoldOut;
|
|
5786
|
+
this.#averageDaysToSellOut = averageDaysToSellOut;
|
|
5787
|
+
this.#events = events;
|
|
5788
|
+
}
|
|
5789
|
+
};
|
|
5790
|
+
StatisticsEventsSellOutTimingDto = __decorate([dto], StatisticsEventsSellOutTimingDto);
|
|
5791
|
+
|
|
5792
|
+
//#endregion
|
|
5793
|
+
//#region src/dto/statistics/StatisticsEventsSellOutTimingEventDto.ts
|
|
5794
|
+
let StatisticsEventsSellOutTimingEventDto = class StatisticsEventsSellOutTimingEventDto {
|
|
5795
|
+
get id() {
|
|
5796
|
+
return this.#id;
|
|
5797
|
+
}
|
|
5798
|
+
set id(value) {
|
|
5799
|
+
this.#id = value;
|
|
5800
|
+
}
|
|
5801
|
+
get name() {
|
|
5802
|
+
return this.#name;
|
|
5803
|
+
}
|
|
5804
|
+
set name(value) {
|
|
5805
|
+
this.#name = value;
|
|
5806
|
+
}
|
|
5807
|
+
get daysToSellOut() {
|
|
5808
|
+
return this.#daysToSellOut;
|
|
5809
|
+
}
|
|
5810
|
+
set daysToSellOut(value) {
|
|
5811
|
+
this.#daysToSellOut = value;
|
|
5812
|
+
}
|
|
5813
|
+
#id;
|
|
5814
|
+
#name;
|
|
5815
|
+
#daysToSellOut;
|
|
5816
|
+
constructor(id, name, daysToSellOut) {
|
|
5817
|
+
this.#id = id;
|
|
5818
|
+
this.#name = name;
|
|
5819
|
+
this.#daysToSellOut = daysToSellOut;
|
|
5820
|
+
}
|
|
5821
|
+
};
|
|
5822
|
+
StatisticsEventsSellOutTimingEventDto = __decorate([dto], StatisticsEventsSellOutTimingEventDto);
|
|
5823
|
+
|
|
5824
|
+
//#endregion
|
|
5825
|
+
//#region src/dto/statistics/StatisticsEventsTimeToEventDto.ts
|
|
5826
|
+
let StatisticsEventsTimeToEventDto = class StatisticsEventsTimeToEventDto {
|
|
5827
|
+
get buckets() {
|
|
5828
|
+
return this.#buckets;
|
|
5829
|
+
}
|
|
5830
|
+
set buckets(value) {
|
|
5831
|
+
this.#buckets = value;
|
|
5832
|
+
}
|
|
5833
|
+
get averageDays() {
|
|
5834
|
+
return this.#averageDays;
|
|
5835
|
+
}
|
|
5836
|
+
set averageDays(value) {
|
|
5837
|
+
this.#averageDays = value;
|
|
5838
|
+
}
|
|
5839
|
+
#buckets;
|
|
5840
|
+
#averageDays;
|
|
5841
|
+
constructor(buckets, averageDays) {
|
|
5842
|
+
this.#buckets = buckets;
|
|
5843
|
+
this.#averageDays = averageDays;
|
|
5844
|
+
}
|
|
5845
|
+
};
|
|
5846
|
+
StatisticsEventsTimeToEventDto = __decorate([dto], StatisticsEventsTimeToEventDto);
|
|
5847
|
+
|
|
5848
|
+
//#endregion
|
|
5849
|
+
//#region src/dto/statistics/StatisticsGrowthCmgrDto.ts
|
|
5850
|
+
let StatisticsGrowthCmgrDto = class StatisticsGrowthCmgrDto {
|
|
5851
|
+
get revenueCmgr() {
|
|
5852
|
+
return this.#revenueCmgr;
|
|
5853
|
+
}
|
|
5854
|
+
set revenueCmgr(value) {
|
|
5855
|
+
this.#revenueCmgr = value;
|
|
5856
|
+
}
|
|
5857
|
+
get ticketsCmgr() {
|
|
5858
|
+
return this.#ticketsCmgr;
|
|
5859
|
+
}
|
|
5860
|
+
set ticketsCmgr(value) {
|
|
5861
|
+
this.#ticketsCmgr = value;
|
|
5862
|
+
}
|
|
5863
|
+
get monthsObserved() {
|
|
5864
|
+
return this.#monthsObserved;
|
|
5865
|
+
}
|
|
5866
|
+
set monthsObserved(value) {
|
|
5867
|
+
this.#monthsObserved = value;
|
|
5868
|
+
}
|
|
5869
|
+
#revenueCmgr;
|
|
5870
|
+
#ticketsCmgr;
|
|
5871
|
+
#monthsObserved;
|
|
5872
|
+
constructor(revenueCmgr, ticketsCmgr, monthsObserved) {
|
|
5873
|
+
this.#revenueCmgr = revenueCmgr;
|
|
5874
|
+
this.#ticketsCmgr = ticketsCmgr;
|
|
5875
|
+
this.#monthsObserved = monthsObserved;
|
|
5876
|
+
}
|
|
5877
|
+
};
|
|
5878
|
+
StatisticsGrowthCmgrDto = __decorate([dto], StatisticsGrowthCmgrDto);
|
|
5879
|
+
|
|
5880
|
+
//#endregion
|
|
5881
|
+
//#region src/dto/statistics/StatisticsGrowthOverviewDto.ts
|
|
5882
|
+
let StatisticsGrowthOverviewDto = class StatisticsGrowthOverviewDto {
|
|
5883
|
+
get revenue() {
|
|
5884
|
+
return this.#revenue;
|
|
5885
|
+
}
|
|
5886
|
+
set revenue(value) {
|
|
5887
|
+
this.#revenue = value;
|
|
5888
|
+
}
|
|
5889
|
+
get tickets() {
|
|
5890
|
+
return this.#tickets;
|
|
5891
|
+
}
|
|
5892
|
+
set tickets(value) {
|
|
5893
|
+
this.#tickets = value;
|
|
5894
|
+
}
|
|
5895
|
+
get buyers() {
|
|
5896
|
+
return this.#buyers;
|
|
5897
|
+
}
|
|
5898
|
+
set buyers(value) {
|
|
5899
|
+
this.#buyers = value;
|
|
5900
|
+
}
|
|
5901
|
+
get events() {
|
|
5902
|
+
return this.#events;
|
|
5903
|
+
}
|
|
5904
|
+
set events(value) {
|
|
5905
|
+
this.#events = value;
|
|
5906
|
+
}
|
|
5907
|
+
get averageEventSize() {
|
|
5908
|
+
return this.#averageEventSize;
|
|
5909
|
+
}
|
|
5910
|
+
set averageEventSize(value) {
|
|
5911
|
+
this.#averageEventSize = value;
|
|
5912
|
+
}
|
|
5913
|
+
#revenue;
|
|
5914
|
+
#tickets;
|
|
5915
|
+
#buyers;
|
|
5916
|
+
#events;
|
|
5917
|
+
#averageEventSize;
|
|
5918
|
+
constructor(revenue, tickets, buyers, events, averageEventSize) {
|
|
5919
|
+
this.#revenue = revenue;
|
|
5920
|
+
this.#tickets = tickets;
|
|
5921
|
+
this.#buyers = buyers;
|
|
5922
|
+
this.#events = events;
|
|
5923
|
+
this.#averageEventSize = averageEventSize;
|
|
5924
|
+
}
|
|
5925
|
+
};
|
|
5926
|
+
StatisticsGrowthOverviewDto = __decorate([dto], StatisticsGrowthOverviewDto);
|
|
5927
|
+
|
|
5928
|
+
//#endregion
|
|
5929
|
+
//#region src/dto/statistics/StatisticsMarketingCampaignDto.ts
|
|
5930
|
+
let StatisticsMarketingCampaignDto = class StatisticsMarketingCampaignDto {
|
|
5931
|
+
get campaign() {
|
|
5932
|
+
return this.#campaign;
|
|
5933
|
+
}
|
|
5934
|
+
set campaign(value) {
|
|
5935
|
+
this.#campaign = value;
|
|
5936
|
+
}
|
|
5937
|
+
get source() {
|
|
5938
|
+
return this.#source;
|
|
5939
|
+
}
|
|
5940
|
+
set source(value) {
|
|
5941
|
+
this.#source = value;
|
|
5942
|
+
}
|
|
5943
|
+
get medium() {
|
|
5944
|
+
return this.#medium;
|
|
5945
|
+
}
|
|
5946
|
+
set medium(value) {
|
|
5947
|
+
this.#medium = value;
|
|
5948
|
+
}
|
|
5949
|
+
get orders() {
|
|
5950
|
+
return this.#orders;
|
|
5951
|
+
}
|
|
5952
|
+
set orders(value) {
|
|
5953
|
+
this.#orders = value;
|
|
5954
|
+
}
|
|
5955
|
+
get tickets() {
|
|
5956
|
+
return this.#tickets;
|
|
5957
|
+
}
|
|
5958
|
+
set tickets(value) {
|
|
5959
|
+
this.#tickets = value;
|
|
5960
|
+
}
|
|
5961
|
+
get revenue() {
|
|
5962
|
+
return this.#revenue;
|
|
5963
|
+
}
|
|
5964
|
+
set revenue(value) {
|
|
5965
|
+
this.#revenue = value;
|
|
5966
|
+
}
|
|
5967
|
+
#campaign;
|
|
5968
|
+
#source;
|
|
5969
|
+
#medium;
|
|
5970
|
+
#orders;
|
|
5971
|
+
#tickets;
|
|
5972
|
+
#revenue;
|
|
5973
|
+
constructor(campaign, source, medium, orders, tickets, revenue) {
|
|
5974
|
+
this.#campaign = campaign;
|
|
5975
|
+
this.#source = source;
|
|
5976
|
+
this.#medium = medium;
|
|
5977
|
+
this.#orders = orders;
|
|
5978
|
+
this.#tickets = tickets;
|
|
5979
|
+
this.#revenue = revenue;
|
|
5980
|
+
}
|
|
5981
|
+
};
|
|
5982
|
+
StatisticsMarketingCampaignDto = __decorate([dto], StatisticsMarketingCampaignDto);
|
|
5983
|
+
|
|
5984
|
+
//#endregion
|
|
5985
|
+
//#region src/dto/statistics/StatisticsMarketingOverviewDto.ts
|
|
5986
|
+
let StatisticsMarketingOverviewDto = class StatisticsMarketingOverviewDto {
|
|
5987
|
+
get attributedOrders() {
|
|
5988
|
+
return this.#attributedOrders;
|
|
5989
|
+
}
|
|
5990
|
+
set attributedOrders(value) {
|
|
5991
|
+
this.#attributedOrders = value;
|
|
5992
|
+
}
|
|
5993
|
+
get directOrders() {
|
|
5994
|
+
return this.#directOrders;
|
|
5995
|
+
}
|
|
5996
|
+
set directOrders(value) {
|
|
5997
|
+
this.#directOrders = value;
|
|
5998
|
+
}
|
|
5999
|
+
get attributionRate() {
|
|
6000
|
+
return this.#attributionRate;
|
|
6001
|
+
}
|
|
6002
|
+
set attributionRate(value) {
|
|
6003
|
+
this.#attributionRate = value;
|
|
6004
|
+
}
|
|
6005
|
+
get attributedRevenue() {
|
|
6006
|
+
return this.#attributedRevenue;
|
|
6007
|
+
}
|
|
6008
|
+
set attributedRevenue(value) {
|
|
6009
|
+
this.#attributedRevenue = value;
|
|
6010
|
+
}
|
|
6011
|
+
get directRevenue() {
|
|
6012
|
+
return this.#directRevenue;
|
|
6013
|
+
}
|
|
6014
|
+
set directRevenue(value) {
|
|
6015
|
+
this.#directRevenue = value;
|
|
6016
|
+
}
|
|
6017
|
+
get paidAdOrders() {
|
|
6018
|
+
return this.#paidAdOrders;
|
|
6019
|
+
}
|
|
6020
|
+
set paidAdOrders(value) {
|
|
6021
|
+
this.#paidAdOrders = value;
|
|
6022
|
+
}
|
|
6023
|
+
get paidAdRevenue() {
|
|
6024
|
+
return this.#paidAdRevenue;
|
|
6025
|
+
}
|
|
6026
|
+
set paidAdRevenue(value) {
|
|
6027
|
+
this.#paidAdRevenue = value;
|
|
6028
|
+
}
|
|
6029
|
+
#attributedOrders;
|
|
6030
|
+
#directOrders;
|
|
6031
|
+
#attributionRate;
|
|
6032
|
+
#attributedRevenue;
|
|
6033
|
+
#directRevenue;
|
|
6034
|
+
#paidAdOrders;
|
|
6035
|
+
#paidAdRevenue;
|
|
6036
|
+
constructor(attributedOrders, directOrders, attributionRate, attributedRevenue, directRevenue, paidAdOrders, paidAdRevenue) {
|
|
6037
|
+
this.#attributedOrders = attributedOrders;
|
|
6038
|
+
this.#directOrders = directOrders;
|
|
6039
|
+
this.#attributionRate = attributionRate;
|
|
6040
|
+
this.#attributedRevenue = attributedRevenue;
|
|
6041
|
+
this.#directRevenue = directRevenue;
|
|
6042
|
+
this.#paidAdOrders = paidAdOrders;
|
|
6043
|
+
this.#paidAdRevenue = paidAdRevenue;
|
|
6044
|
+
}
|
|
6045
|
+
};
|
|
6046
|
+
StatisticsMarketingOverviewDto = __decorate([dto], StatisticsMarketingOverviewDto);
|
|
6047
|
+
|
|
6048
|
+
//#endregion
|
|
6049
|
+
//#region src/dto/statistics/StatisticsMarketingReferrerDto.ts
|
|
6050
|
+
let StatisticsMarketingReferrerDto = class StatisticsMarketingReferrerDto {
|
|
6051
|
+
get host() {
|
|
6052
|
+
return this.#host;
|
|
6053
|
+
}
|
|
6054
|
+
set host(value) {
|
|
6055
|
+
this.#host = value;
|
|
6056
|
+
}
|
|
6057
|
+
get orders() {
|
|
6058
|
+
return this.#orders;
|
|
6059
|
+
}
|
|
6060
|
+
set orders(value) {
|
|
6061
|
+
this.#orders = value;
|
|
6062
|
+
}
|
|
6063
|
+
get revenue() {
|
|
6064
|
+
return this.#revenue;
|
|
6065
|
+
}
|
|
6066
|
+
set revenue(value) {
|
|
6067
|
+
this.#revenue = value;
|
|
6068
|
+
}
|
|
6069
|
+
#host;
|
|
6070
|
+
#orders;
|
|
6071
|
+
#revenue;
|
|
6072
|
+
constructor(host, orders, revenue) {
|
|
6073
|
+
this.#host = host;
|
|
6074
|
+
this.#orders = orders;
|
|
6075
|
+
this.#revenue = revenue;
|
|
6076
|
+
}
|
|
6077
|
+
};
|
|
6078
|
+
StatisticsMarketingReferrerDto = __decorate([dto], StatisticsMarketingReferrerDto);
|
|
6079
|
+
|
|
6080
|
+
//#endregion
|
|
6081
|
+
//#region src/dto/statistics/StatisticsMarketingShortlinkRoiDto.ts
|
|
6082
|
+
let StatisticsMarketingShortlinkRoiDto = class StatisticsMarketingShortlinkRoiDto {
|
|
6083
|
+
get identifier() {
|
|
6084
|
+
return this.#identifier;
|
|
6085
|
+
}
|
|
6086
|
+
set identifier(value) {
|
|
6087
|
+
this.#identifier = value;
|
|
6088
|
+
}
|
|
6089
|
+
get hits() {
|
|
6090
|
+
return this.#hits;
|
|
6091
|
+
}
|
|
6092
|
+
set hits(value) {
|
|
6093
|
+
this.#hits = value;
|
|
6094
|
+
}
|
|
6095
|
+
get orders() {
|
|
6096
|
+
return this.#orders;
|
|
6097
|
+
}
|
|
6098
|
+
set orders(value) {
|
|
6099
|
+
this.#orders = value;
|
|
6100
|
+
}
|
|
6101
|
+
get revenue() {
|
|
6102
|
+
return this.#revenue;
|
|
6103
|
+
}
|
|
6104
|
+
set revenue(value) {
|
|
6105
|
+
this.#revenue = value;
|
|
6106
|
+
}
|
|
6107
|
+
get conversionRate() {
|
|
6108
|
+
return this.#conversionRate;
|
|
6109
|
+
}
|
|
6110
|
+
set conversionRate(value) {
|
|
6111
|
+
this.#conversionRate = value;
|
|
6112
|
+
}
|
|
6113
|
+
get shopId() {
|
|
6114
|
+
return this.#shopId;
|
|
6115
|
+
}
|
|
6116
|
+
set shopId(value) {
|
|
6117
|
+
this.#shopId = value;
|
|
6118
|
+
}
|
|
6119
|
+
get shopName() {
|
|
6120
|
+
return this.#shopName;
|
|
6121
|
+
}
|
|
6122
|
+
set shopName(value) {
|
|
6123
|
+
this.#shopName = value;
|
|
6124
|
+
}
|
|
6125
|
+
get eventId() {
|
|
6126
|
+
return this.#eventId;
|
|
6127
|
+
}
|
|
6128
|
+
set eventId(value) {
|
|
6129
|
+
this.#eventId = value;
|
|
6130
|
+
}
|
|
6131
|
+
get eventName() {
|
|
6132
|
+
return this.#eventName;
|
|
6133
|
+
}
|
|
6134
|
+
set eventName(value) {
|
|
6135
|
+
this.#eventName = value;
|
|
6136
|
+
}
|
|
6137
|
+
get targetUrl() {
|
|
6138
|
+
return this.#targetUrl;
|
|
6139
|
+
}
|
|
6140
|
+
set targetUrl(value) {
|
|
6141
|
+
this.#targetUrl = value;
|
|
6142
|
+
}
|
|
6143
|
+
#identifier;
|
|
6144
|
+
#hits;
|
|
6145
|
+
#orders;
|
|
6146
|
+
#revenue;
|
|
6147
|
+
#conversionRate;
|
|
6148
|
+
#shopId;
|
|
6149
|
+
#shopName;
|
|
6150
|
+
#eventId;
|
|
6151
|
+
#eventName;
|
|
6152
|
+
#targetUrl;
|
|
6153
|
+
constructor(identifier, hits, orders, revenue, conversionRate, shopId, shopName, eventId, eventName, targetUrl) {
|
|
6154
|
+
this.#identifier = identifier;
|
|
6155
|
+
this.#hits = hits;
|
|
6156
|
+
this.#orders = orders;
|
|
6157
|
+
this.#revenue = revenue;
|
|
6158
|
+
this.#conversionRate = conversionRate;
|
|
6159
|
+
this.#shopId = shopId;
|
|
6160
|
+
this.#shopName = shopName;
|
|
6161
|
+
this.#eventId = eventId;
|
|
6162
|
+
this.#eventName = eventName;
|
|
6163
|
+
this.#targetUrl = targetUrl;
|
|
6164
|
+
}
|
|
6165
|
+
};
|
|
6166
|
+
StatisticsMarketingShortlinkRoiDto = __decorate([dto], StatisticsMarketingShortlinkRoiDto);
|
|
6167
|
+
|
|
6168
|
+
//#endregion
|
|
6169
|
+
//#region src/dto/statistics/StatisticsMarketingSourceBreakdownDto.ts
|
|
6170
|
+
let StatisticsMarketingSourceBreakdownDto = class StatisticsMarketingSourceBreakdownDto {
|
|
6171
|
+
get source() {
|
|
6172
|
+
return this.#source;
|
|
6173
|
+
}
|
|
6174
|
+
set source(value) {
|
|
6175
|
+
this.#source = value;
|
|
6176
|
+
}
|
|
6177
|
+
get orders() {
|
|
6178
|
+
return this.#orders;
|
|
6179
|
+
}
|
|
6180
|
+
set orders(value) {
|
|
6181
|
+
this.#orders = value;
|
|
6182
|
+
}
|
|
6183
|
+
get tickets() {
|
|
6184
|
+
return this.#tickets;
|
|
6185
|
+
}
|
|
6186
|
+
set tickets(value) {
|
|
6187
|
+
this.#tickets = value;
|
|
6188
|
+
}
|
|
6189
|
+
get revenue() {
|
|
6190
|
+
return this.#revenue;
|
|
6191
|
+
}
|
|
6192
|
+
set revenue(value) {
|
|
6193
|
+
this.#revenue = value;
|
|
6194
|
+
}
|
|
6195
|
+
#source;
|
|
6196
|
+
#orders;
|
|
6197
|
+
#tickets;
|
|
6198
|
+
#revenue;
|
|
6199
|
+
constructor(source, orders, tickets, revenue) {
|
|
6200
|
+
this.#source = source;
|
|
6201
|
+
this.#orders = orders;
|
|
6202
|
+
this.#tickets = tickets;
|
|
6203
|
+
this.#revenue = revenue;
|
|
6204
|
+
}
|
|
6205
|
+
};
|
|
6206
|
+
StatisticsMarketingSourceBreakdownDto = __decorate([dto], StatisticsMarketingSourceBreakdownDto);
|
|
6207
|
+
|
|
6208
|
+
//#endregion
|
|
6209
|
+
//#region src/dto/statistics/StatisticsMarketingSourceFunnelDto.ts
|
|
6210
|
+
let StatisticsMarketingSourceFunnelDto = class StatisticsMarketingSourceFunnelDto {
|
|
6211
|
+
get source() {
|
|
6212
|
+
return this.#source;
|
|
6213
|
+
}
|
|
6214
|
+
set source(value) {
|
|
6215
|
+
this.#source = value;
|
|
6216
|
+
}
|
|
6217
|
+
get reservations() {
|
|
6218
|
+
return this.#reservations;
|
|
6219
|
+
}
|
|
6220
|
+
set reservations(value) {
|
|
6221
|
+
this.#reservations = value;
|
|
6222
|
+
}
|
|
6223
|
+
get orders() {
|
|
6224
|
+
return this.#orders;
|
|
6225
|
+
}
|
|
6226
|
+
set orders(value) {
|
|
6227
|
+
this.#orders = value;
|
|
6228
|
+
}
|
|
6229
|
+
get conversionRate() {
|
|
6230
|
+
return this.#conversionRate;
|
|
6231
|
+
}
|
|
6232
|
+
set conversionRate(value) {
|
|
6233
|
+
this.#conversionRate = value;
|
|
6234
|
+
}
|
|
6235
|
+
#source;
|
|
6236
|
+
#reservations;
|
|
6237
|
+
#orders;
|
|
6238
|
+
#conversionRate;
|
|
6239
|
+
constructor(source, reservations, orders, conversionRate) {
|
|
6240
|
+
this.#source = source;
|
|
6241
|
+
this.#reservations = reservations;
|
|
6242
|
+
this.#orders = orders;
|
|
6243
|
+
this.#conversionRate = conversionRate;
|
|
6244
|
+
}
|
|
6245
|
+
};
|
|
6246
|
+
StatisticsMarketingSourceFunnelDto = __decorate([dto], StatisticsMarketingSourceFunnelDto);
|
|
6247
|
+
|
|
6248
|
+
//#endregion
|
|
6249
|
+
//#region src/dto/statistics/StatisticsMarketingSourceMediumMatrixDto.ts
|
|
6250
|
+
let StatisticsMarketingSourceMediumMatrixDto = class StatisticsMarketingSourceMediumMatrixDto {
|
|
6251
|
+
get sources() {
|
|
6252
|
+
return this.#sources;
|
|
6253
|
+
}
|
|
6254
|
+
set sources(value) {
|
|
6255
|
+
this.#sources = value;
|
|
6256
|
+
}
|
|
6257
|
+
get mediums() {
|
|
6258
|
+
return this.#mediums;
|
|
6259
|
+
}
|
|
6260
|
+
set mediums(value) {
|
|
6261
|
+
this.#mediums = value;
|
|
6262
|
+
}
|
|
6263
|
+
get cells() {
|
|
6264
|
+
return this.#cells;
|
|
6265
|
+
}
|
|
6266
|
+
set cells(value) {
|
|
6267
|
+
this.#cells = value;
|
|
6268
|
+
}
|
|
6269
|
+
#sources;
|
|
6270
|
+
#mediums;
|
|
6271
|
+
#cells;
|
|
6272
|
+
constructor(sources, mediums, cells) {
|
|
6273
|
+
this.#sources = sources;
|
|
6274
|
+
this.#mediums = mediums;
|
|
6275
|
+
this.#cells = cells;
|
|
6276
|
+
}
|
|
6277
|
+
};
|
|
6278
|
+
StatisticsMarketingSourceMediumMatrixDto = __decorate([dto], StatisticsMarketingSourceMediumMatrixDto);
|
|
6279
|
+
|
|
6280
|
+
//#endregion
|
|
6281
|
+
//#region src/dto/statistics/StatisticsOperationsAppTeamDto.ts
|
|
6282
|
+
let StatisticsOperationsAppTeamDto = class StatisticsOperationsAppTeamDto {
|
|
6283
|
+
get id() {
|
|
6284
|
+
return this.#id;
|
|
6285
|
+
}
|
|
6286
|
+
set id(value) {
|
|
6287
|
+
this.#id = value;
|
|
6288
|
+
}
|
|
6289
|
+
get name() {
|
|
6290
|
+
return this.#name;
|
|
6291
|
+
}
|
|
6292
|
+
set name(value) {
|
|
6293
|
+
this.#name = value;
|
|
6294
|
+
}
|
|
6295
|
+
get eventId() {
|
|
6296
|
+
return this.#eventId;
|
|
6297
|
+
}
|
|
6298
|
+
set eventId(value) {
|
|
6299
|
+
this.#eventId = value;
|
|
6300
|
+
}
|
|
6301
|
+
get eventName() {
|
|
6302
|
+
return this.#eventName;
|
|
6303
|
+
}
|
|
6304
|
+
set eventName(value) {
|
|
6305
|
+
this.#eventName = value;
|
|
6306
|
+
}
|
|
6307
|
+
get scans() {
|
|
6308
|
+
return this.#scans;
|
|
6309
|
+
}
|
|
6310
|
+
set scans(value) {
|
|
6311
|
+
this.#scans = value;
|
|
6312
|
+
}
|
|
6313
|
+
get checkins() {
|
|
6314
|
+
return this.#checkins;
|
|
6315
|
+
}
|
|
6316
|
+
set checkins(value) {
|
|
6317
|
+
this.#checkins = value;
|
|
6318
|
+
}
|
|
6319
|
+
get checkouts() {
|
|
6320
|
+
return this.#checkouts;
|
|
6321
|
+
}
|
|
6322
|
+
set checkouts(value) {
|
|
6323
|
+
this.#checkouts = value;
|
|
6324
|
+
}
|
|
6325
|
+
#id;
|
|
6326
|
+
#name;
|
|
6327
|
+
#eventId;
|
|
6328
|
+
#eventName;
|
|
6329
|
+
#scans;
|
|
6330
|
+
#checkins;
|
|
6331
|
+
#checkouts;
|
|
6332
|
+
constructor(id, name, eventId, eventName, scans, checkins, checkouts) {
|
|
6333
|
+
this.#id = id;
|
|
6334
|
+
this.#name = name;
|
|
6335
|
+
this.#eventId = eventId;
|
|
6336
|
+
this.#eventName = eventName;
|
|
6337
|
+
this.#scans = scans;
|
|
6338
|
+
this.#checkins = checkins;
|
|
6339
|
+
this.#checkouts = checkouts;
|
|
6340
|
+
}
|
|
6341
|
+
};
|
|
6342
|
+
StatisticsOperationsAppTeamDto = __decorate([dto], StatisticsOperationsAppTeamDto);
|
|
6343
|
+
|
|
6344
|
+
//#endregion
|
|
6345
|
+
//#region src/dto/statistics/StatisticsOperationsNoShowRateDto.ts
|
|
6346
|
+
let StatisticsOperationsNoShowRateDto = class StatisticsOperationsNoShowRateDto {
|
|
6347
|
+
get validTickets() {
|
|
6348
|
+
return this.#validTickets;
|
|
6349
|
+
}
|
|
6350
|
+
set validTickets(value) {
|
|
6351
|
+
this.#validTickets = value;
|
|
6352
|
+
}
|
|
6353
|
+
get checkedIn() {
|
|
6354
|
+
return this.#checkedIn;
|
|
6355
|
+
}
|
|
6356
|
+
set checkedIn(value) {
|
|
6357
|
+
this.#checkedIn = value;
|
|
6358
|
+
}
|
|
6359
|
+
get noShows() {
|
|
6360
|
+
return this.#noShows;
|
|
6361
|
+
}
|
|
6362
|
+
set noShows(value) {
|
|
6363
|
+
this.#noShows = value;
|
|
6364
|
+
}
|
|
6365
|
+
get noShowRate() {
|
|
6366
|
+
return this.#noShowRate;
|
|
6367
|
+
}
|
|
6368
|
+
set noShowRate(value) {
|
|
6369
|
+
this.#noShowRate = value;
|
|
6370
|
+
}
|
|
6371
|
+
get events() {
|
|
6372
|
+
return this.#events;
|
|
6373
|
+
}
|
|
6374
|
+
set events(value) {
|
|
6375
|
+
this.#events = value;
|
|
6376
|
+
}
|
|
6377
|
+
#validTickets;
|
|
6378
|
+
#checkedIn;
|
|
6379
|
+
#noShows;
|
|
6380
|
+
#noShowRate;
|
|
6381
|
+
#events;
|
|
6382
|
+
constructor(validTickets, checkedIn, noShows, noShowRate, events) {
|
|
6383
|
+
this.#validTickets = validTickets;
|
|
6384
|
+
this.#checkedIn = checkedIn;
|
|
6385
|
+
this.#noShows = noShows;
|
|
6386
|
+
this.#noShowRate = noShowRate;
|
|
6387
|
+
this.#events = events;
|
|
6388
|
+
}
|
|
6389
|
+
};
|
|
6390
|
+
StatisticsOperationsNoShowRateDto = __decorate([dto], StatisticsOperationsNoShowRateDto);
|
|
6391
|
+
|
|
6392
|
+
//#endregion
|
|
6393
|
+
//#region src/dto/statistics/StatisticsOperationsNoShowRateEventDto.ts
|
|
6394
|
+
let StatisticsOperationsNoShowRateEventDto = class StatisticsOperationsNoShowRateEventDto {
|
|
6395
|
+
get id() {
|
|
6396
|
+
return this.#id;
|
|
6397
|
+
}
|
|
6398
|
+
set id(value) {
|
|
6399
|
+
this.#id = value;
|
|
6400
|
+
}
|
|
6401
|
+
get name() {
|
|
6402
|
+
return this.#name;
|
|
6403
|
+
}
|
|
6404
|
+
set name(value) {
|
|
6405
|
+
this.#name = value;
|
|
6406
|
+
}
|
|
6407
|
+
get noShowRate() {
|
|
6408
|
+
return this.#noShowRate;
|
|
6409
|
+
}
|
|
6410
|
+
set noShowRate(value) {
|
|
6411
|
+
this.#noShowRate = value;
|
|
6412
|
+
}
|
|
6413
|
+
get noShows() {
|
|
6414
|
+
return this.#noShows;
|
|
6415
|
+
}
|
|
6416
|
+
set noShows(value) {
|
|
6417
|
+
this.#noShows = value;
|
|
6418
|
+
}
|
|
6419
|
+
get ticketsSold() {
|
|
6420
|
+
return this.#ticketsSold;
|
|
6421
|
+
}
|
|
6422
|
+
set ticketsSold(value) {
|
|
6423
|
+
this.#ticketsSold = value;
|
|
6424
|
+
}
|
|
6425
|
+
#id;
|
|
6426
|
+
#name;
|
|
6427
|
+
#noShowRate;
|
|
6428
|
+
#noShows;
|
|
6429
|
+
#ticketsSold;
|
|
6430
|
+
constructor(id, name, noShowRate, noShows, ticketsSold) {
|
|
6431
|
+
this.#id = id;
|
|
6432
|
+
this.#name = name;
|
|
6433
|
+
this.#noShowRate = noShowRate;
|
|
6434
|
+
this.#noShows = noShows;
|
|
6435
|
+
this.#ticketsSold = ticketsSold;
|
|
6436
|
+
}
|
|
6437
|
+
};
|
|
6438
|
+
StatisticsOperationsNoShowRateEventDto = __decorate([dto], StatisticsOperationsNoShowRateEventDto);
|
|
6439
|
+
|
|
6440
|
+
//#endregion
|
|
6441
|
+
//#region src/dto/statistics/StatisticsOperationsOverviewDto.ts
|
|
6442
|
+
let StatisticsOperationsOverviewDto = class StatisticsOperationsOverviewDto {
|
|
6443
|
+
get totalScans() {
|
|
6444
|
+
return this.#totalScans;
|
|
6445
|
+
}
|
|
6446
|
+
set totalScans(value) {
|
|
6447
|
+
this.#totalScans = value;
|
|
6448
|
+
}
|
|
6449
|
+
get checkins() {
|
|
6450
|
+
return this.#checkins;
|
|
6451
|
+
}
|
|
6452
|
+
set checkins(value) {
|
|
6453
|
+
this.#checkins = value;
|
|
6454
|
+
}
|
|
6455
|
+
get checkouts() {
|
|
6456
|
+
return this.#checkouts;
|
|
6457
|
+
}
|
|
6458
|
+
set checkouts(value) {
|
|
6459
|
+
this.#checkouts = value;
|
|
5649
6460
|
}
|
|
5650
6461
|
get attendanceRate() {
|
|
5651
6462
|
return this.#attendanceRate;
|
|
@@ -5675,8 +6486,32 @@ let StatisticsOperationsOverviewDto = class StatisticsOperationsOverviewDto {
|
|
|
5675
6486
|
StatisticsOperationsOverviewDto = __decorate([dto], StatisticsOperationsOverviewDto);
|
|
5676
6487
|
|
|
5677
6488
|
//#endregion
|
|
5678
|
-
//#region src/dto/statistics/
|
|
5679
|
-
let
|
|
6489
|
+
//#region src/dto/statistics/StatisticsOperationsScanTimeDistributionDto.ts
|
|
6490
|
+
let StatisticsOperationsScanTimeDistributionDto = class StatisticsOperationsScanTimeDistributionDto {
|
|
6491
|
+
get buckets() {
|
|
6492
|
+
return this.#buckets;
|
|
6493
|
+
}
|
|
6494
|
+
set buckets(value) {
|
|
6495
|
+
this.#buckets = value;
|
|
6496
|
+
}
|
|
6497
|
+
get medianMinutesRelative() {
|
|
6498
|
+
return this.#medianMinutesRelative;
|
|
6499
|
+
}
|
|
6500
|
+
set medianMinutesRelative(value) {
|
|
6501
|
+
this.#medianMinutesRelative = value;
|
|
6502
|
+
}
|
|
6503
|
+
#buckets;
|
|
6504
|
+
#medianMinutesRelative;
|
|
6505
|
+
constructor(buckets, medianMinutesRelative) {
|
|
6506
|
+
this.#buckets = buckets;
|
|
6507
|
+
this.#medianMinutesRelative = medianMinutesRelative;
|
|
6508
|
+
}
|
|
6509
|
+
};
|
|
6510
|
+
StatisticsOperationsScanTimeDistributionDto = __decorate([dto], StatisticsOperationsScanTimeDistributionDto);
|
|
6511
|
+
|
|
6512
|
+
//#endregion
|
|
6513
|
+
//#region src/dto/statistics/StatisticsOperationsStewardDto.ts
|
|
6514
|
+
let StatisticsOperationsStewardDto = class StatisticsOperationsStewardDto {
|
|
5680
6515
|
get id() {
|
|
5681
6516
|
return this.#id;
|
|
5682
6517
|
}
|
|
@@ -5695,80 +6530,120 @@ let StatisticsOperationsTaskAssigneeDto = class StatisticsOperationsTaskAssignee
|
|
|
5695
6530
|
set initials(value) {
|
|
5696
6531
|
this.#initials = value;
|
|
5697
6532
|
}
|
|
5698
|
-
get
|
|
5699
|
-
return this.#
|
|
6533
|
+
get scans() {
|
|
6534
|
+
return this.#scans;
|
|
6535
|
+
}
|
|
6536
|
+
set scans(value) {
|
|
6537
|
+
this.#scans = value;
|
|
6538
|
+
}
|
|
6539
|
+
get checkins() {
|
|
6540
|
+
return this.#checkins;
|
|
6541
|
+
}
|
|
6542
|
+
set checkins(value) {
|
|
6543
|
+
this.#checkins = value;
|
|
6544
|
+
}
|
|
6545
|
+
get checkouts() {
|
|
6546
|
+
return this.#checkouts;
|
|
5700
6547
|
}
|
|
5701
|
-
set
|
|
5702
|
-
this.#
|
|
6548
|
+
set checkouts(value) {
|
|
6549
|
+
this.#checkouts = value;
|
|
5703
6550
|
}
|
|
5704
6551
|
#id;
|
|
5705
6552
|
#fullName;
|
|
5706
6553
|
#initials;
|
|
5707
|
-
#
|
|
5708
|
-
|
|
6554
|
+
#scans;
|
|
6555
|
+
#checkins;
|
|
6556
|
+
#checkouts;
|
|
6557
|
+
constructor(id, fullName, initials, scans, checkins, checkouts) {
|
|
5709
6558
|
this.#id = id;
|
|
5710
6559
|
this.#fullName = fullName;
|
|
5711
6560
|
this.#initials = initials;
|
|
5712
|
-
this.#
|
|
6561
|
+
this.#scans = scans;
|
|
6562
|
+
this.#checkins = checkins;
|
|
6563
|
+
this.#checkouts = checkouts;
|
|
5713
6564
|
}
|
|
5714
6565
|
};
|
|
5715
|
-
|
|
6566
|
+
StatisticsOperationsStewardDto = __decorate([dto], StatisticsOperationsStewardDto);
|
|
5716
6567
|
|
|
5717
6568
|
//#endregion
|
|
5718
|
-
//#region src/dto/statistics/
|
|
5719
|
-
let
|
|
5720
|
-
get
|
|
5721
|
-
return this.#
|
|
6569
|
+
//#region src/dto/statistics/StatisticsOperationsStockUtilizationDto.ts
|
|
6570
|
+
let StatisticsOperationsStockUtilizationDto = class StatisticsOperationsStockUtilizationDto {
|
|
6571
|
+
get productId() {
|
|
6572
|
+
return this.#productId;
|
|
6573
|
+
}
|
|
6574
|
+
set productId(value) {
|
|
6575
|
+
this.#productId = value;
|
|
6576
|
+
}
|
|
6577
|
+
get productName() {
|
|
6578
|
+
return this.#productName;
|
|
5722
6579
|
}
|
|
5723
|
-
set
|
|
5724
|
-
this.#
|
|
6580
|
+
set productName(value) {
|
|
6581
|
+
this.#productName = value;
|
|
6582
|
+
}
|
|
6583
|
+
get productPrice() {
|
|
6584
|
+
return this.#productPrice;
|
|
6585
|
+
}
|
|
6586
|
+
set productPrice(value) {
|
|
6587
|
+
this.#productPrice = value;
|
|
6588
|
+
}
|
|
6589
|
+
get eventId() {
|
|
6590
|
+
return this.#eventId;
|
|
6591
|
+
}
|
|
6592
|
+
set eventId(value) {
|
|
6593
|
+
this.#eventId = value;
|
|
5725
6594
|
}
|
|
5726
|
-
get
|
|
5727
|
-
return this.#
|
|
6595
|
+
get eventName() {
|
|
6596
|
+
return this.#eventName;
|
|
5728
6597
|
}
|
|
5729
|
-
set
|
|
5730
|
-
this.#
|
|
6598
|
+
set eventName(value) {
|
|
6599
|
+
this.#eventName = value;
|
|
5731
6600
|
}
|
|
5732
|
-
get
|
|
5733
|
-
return this.#
|
|
6601
|
+
get eventStartsOn() {
|
|
6602
|
+
return this.#eventStartsOn;
|
|
5734
6603
|
}
|
|
5735
|
-
set
|
|
5736
|
-
this.#
|
|
6604
|
+
set eventStartsOn(value) {
|
|
6605
|
+
this.#eventStartsOn = value;
|
|
5737
6606
|
}
|
|
5738
|
-
get
|
|
5739
|
-
return this.#
|
|
6607
|
+
get stock() {
|
|
6608
|
+
return this.#stock;
|
|
5740
6609
|
}
|
|
5741
|
-
set
|
|
5742
|
-
this.#
|
|
6610
|
+
set stock(value) {
|
|
6611
|
+
this.#stock = value;
|
|
5743
6612
|
}
|
|
5744
|
-
get
|
|
5745
|
-
return this.#
|
|
6613
|
+
get sold() {
|
|
6614
|
+
return this.#sold;
|
|
5746
6615
|
}
|
|
5747
|
-
set
|
|
5748
|
-
this.#
|
|
6616
|
+
set sold(value) {
|
|
6617
|
+
this.#sold = value;
|
|
5749
6618
|
}
|
|
5750
|
-
get
|
|
5751
|
-
return this.#
|
|
6619
|
+
get utilizationRate() {
|
|
6620
|
+
return this.#utilizationRate;
|
|
5752
6621
|
}
|
|
5753
|
-
set
|
|
5754
|
-
this.#
|
|
6622
|
+
set utilizationRate(value) {
|
|
6623
|
+
this.#utilizationRate = value;
|
|
5755
6624
|
}
|
|
5756
|
-
#
|
|
5757
|
-
#
|
|
5758
|
-
#
|
|
5759
|
-
#
|
|
5760
|
-
#
|
|
5761
|
-
#
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
this.#
|
|
5767
|
-
this.#
|
|
5768
|
-
this.#
|
|
6625
|
+
#productId;
|
|
6626
|
+
#productName;
|
|
6627
|
+
#productPrice;
|
|
6628
|
+
#eventId;
|
|
6629
|
+
#eventName;
|
|
6630
|
+
#eventStartsOn;
|
|
6631
|
+
#stock;
|
|
6632
|
+
#sold;
|
|
6633
|
+
#utilizationRate;
|
|
6634
|
+
constructor(productId, productName, productPrice, eventId, eventName, eventStartsOn, stock, sold, utilizationRate) {
|
|
6635
|
+
this.#productId = productId;
|
|
6636
|
+
this.#productName = productName;
|
|
6637
|
+
this.#productPrice = productPrice;
|
|
6638
|
+
this.#eventId = eventId;
|
|
6639
|
+
this.#eventName = eventName;
|
|
6640
|
+
this.#eventStartsOn = eventStartsOn;
|
|
6641
|
+
this.#stock = stock;
|
|
6642
|
+
this.#sold = sold;
|
|
6643
|
+
this.#utilizationRate = utilizationRate;
|
|
5769
6644
|
}
|
|
5770
6645
|
};
|
|
5771
|
-
|
|
6646
|
+
StatisticsOperationsStockUtilizationDto = __decorate([dto], StatisticsOperationsStockUtilizationDto);
|
|
5772
6647
|
|
|
5773
6648
|
//#endregion
|
|
5774
6649
|
//#region src/dto/statistics/StatisticsOverviewBestRevenueMonthDto.ts
|
|
@@ -5794,21 +6669,69 @@ let StatisticsOverviewBestRevenueMonthDto = class StatisticsOverviewBestRevenueM
|
|
|
5794
6669
|
get tickets() {
|
|
5795
6670
|
return this.#tickets;
|
|
5796
6671
|
}
|
|
5797
|
-
set tickets(value) {
|
|
5798
|
-
this.#tickets = value;
|
|
6672
|
+
set tickets(value) {
|
|
6673
|
+
this.#tickets = value;
|
|
6674
|
+
}
|
|
6675
|
+
#period;
|
|
6676
|
+
#revenue;
|
|
6677
|
+
#orders;
|
|
6678
|
+
#tickets;
|
|
6679
|
+
constructor(period, revenue, orders, tickets) {
|
|
6680
|
+
this.#period = period;
|
|
6681
|
+
this.#revenue = revenue;
|
|
6682
|
+
this.#orders = orders;
|
|
6683
|
+
this.#tickets = tickets;
|
|
6684
|
+
}
|
|
6685
|
+
};
|
|
6686
|
+
StatisticsOverviewBestRevenueMonthDto = __decorate([dto], StatisticsOverviewBestRevenueMonthDto);
|
|
6687
|
+
|
|
6688
|
+
//#endregion
|
|
6689
|
+
//#region src/dto/statistics/StatisticsOverviewCancellationFunnelDto.ts
|
|
6690
|
+
let StatisticsOverviewCancellationFunnelDto = class StatisticsOverviewCancellationFunnelDto {
|
|
6691
|
+
get paidOrders() {
|
|
6692
|
+
return this.#paidOrders;
|
|
6693
|
+
}
|
|
6694
|
+
set paidOrders(value) {
|
|
6695
|
+
this.#paidOrders = value;
|
|
6696
|
+
}
|
|
6697
|
+
get ordersWithRefund() {
|
|
6698
|
+
return this.#ordersWithRefund;
|
|
6699
|
+
}
|
|
6700
|
+
set ordersWithRefund(value) {
|
|
6701
|
+
this.#ordersWithRefund = value;
|
|
6702
|
+
}
|
|
6703
|
+
get ordersFullyRefunded() {
|
|
6704
|
+
return this.#ordersFullyRefunded;
|
|
6705
|
+
}
|
|
6706
|
+
set ordersFullyRefunded(value) {
|
|
6707
|
+
this.#ordersFullyRefunded = value;
|
|
6708
|
+
}
|
|
6709
|
+
get partialRefundRate() {
|
|
6710
|
+
return this.#partialRefundRate;
|
|
6711
|
+
}
|
|
6712
|
+
set partialRefundRate(value) {
|
|
6713
|
+
this.#partialRefundRate = value;
|
|
6714
|
+
}
|
|
6715
|
+
get fullRefundRate() {
|
|
6716
|
+
return this.#fullRefundRate;
|
|
6717
|
+
}
|
|
6718
|
+
set fullRefundRate(value) {
|
|
6719
|
+
this.#fullRefundRate = value;
|
|
5799
6720
|
}
|
|
5800
|
-
#
|
|
5801
|
-
#
|
|
5802
|
-
#
|
|
5803
|
-
#
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
this.#
|
|
5807
|
-
this.#
|
|
5808
|
-
this.#
|
|
6721
|
+
#paidOrders;
|
|
6722
|
+
#ordersWithRefund;
|
|
6723
|
+
#ordersFullyRefunded;
|
|
6724
|
+
#partialRefundRate;
|
|
6725
|
+
#fullRefundRate;
|
|
6726
|
+
constructor(paidOrders, ordersWithRefund, ordersFullyRefunded, partialRefundRate, fullRefundRate) {
|
|
6727
|
+
this.#paidOrders = paidOrders;
|
|
6728
|
+
this.#ordersWithRefund = ordersWithRefund;
|
|
6729
|
+
this.#ordersFullyRefunded = ordersFullyRefunded;
|
|
6730
|
+
this.#partialRefundRate = partialRefundRate;
|
|
6731
|
+
this.#fullRefundRate = fullRefundRate;
|
|
5809
6732
|
}
|
|
5810
6733
|
};
|
|
5811
|
-
|
|
6734
|
+
StatisticsOverviewCancellationFunnelDto = __decorate([dto], StatisticsOverviewCancellationFunnelDto);
|
|
5812
6735
|
|
|
5813
6736
|
//#endregion
|
|
5814
6737
|
//#region src/dto/statistics/StatisticsOverviewEventPerformanceDto.ts
|
|
@@ -6000,143 +6923,543 @@ let StatisticsOverviewKPIsDto = class StatisticsOverviewKPIsDto {
|
|
|
6000
6923
|
get totalRevenue() {
|
|
6001
6924
|
return this.#totalRevenue;
|
|
6002
6925
|
}
|
|
6003
|
-
set totalRevenue(value) {
|
|
6004
|
-
this.#totalRevenue = value;
|
|
6926
|
+
set totalRevenue(value) {
|
|
6927
|
+
this.#totalRevenue = value;
|
|
6928
|
+
}
|
|
6929
|
+
get totalTicketsSold() {
|
|
6930
|
+
return this.#totalTicketsSold;
|
|
6931
|
+
}
|
|
6932
|
+
set totalTicketsSold(value) {
|
|
6933
|
+
this.#totalTicketsSold = value;
|
|
6934
|
+
}
|
|
6935
|
+
get totalEventsHosted() {
|
|
6936
|
+
return this.#totalEventsHosted;
|
|
6937
|
+
}
|
|
6938
|
+
set totalEventsHosted(value) {
|
|
6939
|
+
this.#totalEventsHosted = value;
|
|
6940
|
+
}
|
|
6941
|
+
get totalCustomers() {
|
|
6942
|
+
return this.#totalCustomers;
|
|
6943
|
+
}
|
|
6944
|
+
set totalCustomers(value) {
|
|
6945
|
+
this.#totalCustomers = value;
|
|
6946
|
+
}
|
|
6947
|
+
get averageOrderValue() {
|
|
6948
|
+
return this.#averageOrderValue;
|
|
6949
|
+
}
|
|
6950
|
+
set averageOrderValue(value) {
|
|
6951
|
+
this.#averageOrderValue = value;
|
|
6952
|
+
}
|
|
6953
|
+
get averageAttendanceRate() {
|
|
6954
|
+
return this.#averageAttendanceRate;
|
|
6955
|
+
}
|
|
6956
|
+
set averageAttendanceRate(value) {
|
|
6957
|
+
this.#averageAttendanceRate = value;
|
|
6958
|
+
}
|
|
6959
|
+
#totalRevenue;
|
|
6960
|
+
#totalTicketsSold;
|
|
6961
|
+
#totalEventsHosted;
|
|
6962
|
+
#totalCustomers;
|
|
6963
|
+
#averageOrderValue;
|
|
6964
|
+
#averageAttendanceRate;
|
|
6965
|
+
constructor(totalRevenue, totalTicketsSold, totalEventsHosted, totalCustomers, averageOrderValue, averageAttendanceRate) {
|
|
6966
|
+
this.#totalRevenue = totalRevenue;
|
|
6967
|
+
this.#totalTicketsSold = totalTicketsSold;
|
|
6968
|
+
this.#totalEventsHosted = totalEventsHosted;
|
|
6969
|
+
this.#totalCustomers = totalCustomers;
|
|
6970
|
+
this.#averageOrderValue = averageOrderValue;
|
|
6971
|
+
this.#averageAttendanceRate = averageAttendanceRate;
|
|
6972
|
+
}
|
|
6973
|
+
};
|
|
6974
|
+
StatisticsOverviewKPIsDto = __decorate([dto], StatisticsOverviewKPIsDto);
|
|
6975
|
+
|
|
6976
|
+
//#endregion
|
|
6977
|
+
//#region src/dto/statistics/StatisticsOverviewKPIsTotalEventsHostedDto.ts
|
|
6978
|
+
let StatisticsOverviewKPIsTotalEventsHostedDto = class StatisticsOverviewKPIsTotalEventsHostedDto {
|
|
6979
|
+
get active() {
|
|
6980
|
+
return this.#active;
|
|
6981
|
+
}
|
|
6982
|
+
set active(value) {
|
|
6983
|
+
this.#active = value;
|
|
6984
|
+
}
|
|
6985
|
+
get concluded() {
|
|
6986
|
+
return this.#concluded;
|
|
6987
|
+
}
|
|
6988
|
+
set concluded(value) {
|
|
6989
|
+
this.#concluded = value;
|
|
6990
|
+
}
|
|
6991
|
+
get total() {
|
|
6992
|
+
return this.#total;
|
|
6993
|
+
}
|
|
6994
|
+
set total(value) {
|
|
6995
|
+
this.#total = value;
|
|
6996
|
+
}
|
|
6997
|
+
get upcoming() {
|
|
6998
|
+
return this.#upcoming;
|
|
6999
|
+
}
|
|
7000
|
+
set upcoming(value) {
|
|
7001
|
+
this.#upcoming = value;
|
|
7002
|
+
}
|
|
7003
|
+
#active;
|
|
7004
|
+
#concluded;
|
|
7005
|
+
#total;
|
|
7006
|
+
#upcoming;
|
|
7007
|
+
constructor(active, concluded, total, upcoming) {
|
|
7008
|
+
this.#active = active;
|
|
7009
|
+
this.#concluded = concluded;
|
|
7010
|
+
this.#total = total;
|
|
7011
|
+
this.#upcoming = upcoming;
|
|
7012
|
+
}
|
|
7013
|
+
};
|
|
7014
|
+
StatisticsOverviewKPIsTotalEventsHostedDto = __decorate([dto], StatisticsOverviewKPIsTotalEventsHostedDto);
|
|
7015
|
+
|
|
7016
|
+
//#endregion
|
|
7017
|
+
//#region src/dto/statistics/StatisticsOverviewKPIsTotalRevenueDto.ts
|
|
7018
|
+
let StatisticsOverviewKPIsTotalRevenueDto = class StatisticsOverviewKPIsTotalRevenueDto {
|
|
7019
|
+
get lifetime() {
|
|
7020
|
+
return this.#lifetime;
|
|
7021
|
+
}
|
|
7022
|
+
set lifetime(value) {
|
|
7023
|
+
this.#lifetime = value;
|
|
7024
|
+
}
|
|
7025
|
+
get trend() {
|
|
7026
|
+
return this.#trend;
|
|
7027
|
+
}
|
|
7028
|
+
set trend(value) {
|
|
7029
|
+
this.#trend = value;
|
|
7030
|
+
}
|
|
7031
|
+
#lifetime;
|
|
7032
|
+
#trend;
|
|
7033
|
+
constructor(lifetime, trend) {
|
|
7034
|
+
this.#lifetime = lifetime;
|
|
7035
|
+
this.#trend = trend;
|
|
7036
|
+
}
|
|
7037
|
+
};
|
|
7038
|
+
StatisticsOverviewKPIsTotalRevenueDto = __decorate([dto], StatisticsOverviewKPIsTotalRevenueDto);
|
|
7039
|
+
|
|
7040
|
+
//#endregion
|
|
7041
|
+
//#region src/dto/statistics/StatisticsOverviewKPIsTotalTicketsSoldDto.ts
|
|
7042
|
+
let StatisticsOverviewKPIsTotalTicketsSoldDto = class StatisticsOverviewKPIsTotalTicketsSoldDto {
|
|
7043
|
+
get lifetime() {
|
|
7044
|
+
return this.#lifetime;
|
|
7045
|
+
}
|
|
7046
|
+
set lifetime(value) {
|
|
7047
|
+
this.#lifetime = value;
|
|
7048
|
+
}
|
|
7049
|
+
get trend() {
|
|
7050
|
+
return this.#trend;
|
|
7051
|
+
}
|
|
7052
|
+
set trend(value) {
|
|
7053
|
+
this.#trend = value;
|
|
7054
|
+
}
|
|
7055
|
+
#lifetime;
|
|
7056
|
+
#trend;
|
|
7057
|
+
constructor(lifetime, trend) {
|
|
7058
|
+
this.#lifetime = lifetime;
|
|
7059
|
+
this.#trend = trend;
|
|
7060
|
+
}
|
|
7061
|
+
};
|
|
7062
|
+
StatisticsOverviewKPIsTotalTicketsSoldDto = __decorate([dto], StatisticsOverviewKPIsTotalTicketsSoldDto);
|
|
7063
|
+
|
|
7064
|
+
//#endregion
|
|
7065
|
+
//#region src/dto/statistics/StatisticsOverviewReservationConversionRateDto.ts
|
|
7066
|
+
let StatisticsOverviewReservationConversionRateDto = class StatisticsOverviewReservationConversionRateDto {
|
|
7067
|
+
get current() {
|
|
7068
|
+
return this.#current;
|
|
7069
|
+
}
|
|
7070
|
+
set current(value) {
|
|
7071
|
+
this.#current = value;
|
|
7072
|
+
}
|
|
7073
|
+
get previous() {
|
|
7074
|
+
return this.#previous;
|
|
7075
|
+
}
|
|
7076
|
+
set previous(value) {
|
|
7077
|
+
this.#previous = value;
|
|
7078
|
+
}
|
|
7079
|
+
get growthRate() {
|
|
7080
|
+
return this.#growthRate;
|
|
7081
|
+
}
|
|
7082
|
+
set growthRate(value) {
|
|
7083
|
+
this.#growthRate = value;
|
|
7084
|
+
}
|
|
7085
|
+
get reservationsCurrent() {
|
|
7086
|
+
return this.#reservationsCurrent;
|
|
7087
|
+
}
|
|
7088
|
+
set reservationsCurrent(value) {
|
|
7089
|
+
this.#reservationsCurrent = value;
|
|
7090
|
+
}
|
|
7091
|
+
get reservationsPrevious() {
|
|
7092
|
+
return this.#reservationsPrevious;
|
|
7093
|
+
}
|
|
7094
|
+
set reservationsPrevious(value) {
|
|
7095
|
+
this.#reservationsPrevious = value;
|
|
7096
|
+
}
|
|
7097
|
+
get ordersCurrent() {
|
|
7098
|
+
return this.#ordersCurrent;
|
|
7099
|
+
}
|
|
7100
|
+
set ordersCurrent(value) {
|
|
7101
|
+
this.#ordersCurrent = value;
|
|
7102
|
+
}
|
|
7103
|
+
get ordersPrevious() {
|
|
7104
|
+
return this.#ordersPrevious;
|
|
7105
|
+
}
|
|
7106
|
+
set ordersPrevious(value) {
|
|
7107
|
+
this.#ordersPrevious = value;
|
|
7108
|
+
}
|
|
7109
|
+
#current;
|
|
7110
|
+
#previous;
|
|
7111
|
+
#growthRate;
|
|
7112
|
+
#reservationsCurrent;
|
|
7113
|
+
#reservationsPrevious;
|
|
7114
|
+
#ordersCurrent;
|
|
7115
|
+
#ordersPrevious;
|
|
7116
|
+
constructor(current, previous, growthRate, reservationsCurrent, reservationsPrevious, ordersCurrent, ordersPrevious) {
|
|
7117
|
+
this.#current = current;
|
|
7118
|
+
this.#previous = previous;
|
|
7119
|
+
this.#growthRate = growthRate;
|
|
7120
|
+
this.#reservationsCurrent = reservationsCurrent;
|
|
7121
|
+
this.#reservationsPrevious = reservationsPrevious;
|
|
7122
|
+
this.#ordersCurrent = ordersCurrent;
|
|
7123
|
+
this.#ordersPrevious = ordersPrevious;
|
|
7124
|
+
}
|
|
7125
|
+
};
|
|
7126
|
+
StatisticsOverviewReservationConversionRateDto = __decorate([dto], StatisticsOverviewReservationConversionRateDto);
|
|
7127
|
+
|
|
7128
|
+
//#endregion
|
|
7129
|
+
//#region src/dto/statistics/StatisticsOverviewTopShopDto.ts
|
|
7130
|
+
let StatisticsOverviewTopShopDto = class StatisticsOverviewTopShopDto {
|
|
7131
|
+
get shop() {
|
|
7132
|
+
return this.#shop;
|
|
7133
|
+
}
|
|
7134
|
+
set shop(value) {
|
|
7135
|
+
this.#shop = value;
|
|
7136
|
+
}
|
|
7137
|
+
get revenue() {
|
|
7138
|
+
return this.#revenue;
|
|
7139
|
+
}
|
|
7140
|
+
set revenue(value) {
|
|
7141
|
+
this.#revenue = value;
|
|
7142
|
+
}
|
|
7143
|
+
get orders() {
|
|
7144
|
+
return this.#orders;
|
|
7145
|
+
}
|
|
7146
|
+
set orders(value) {
|
|
7147
|
+
this.#orders = value;
|
|
7148
|
+
}
|
|
7149
|
+
get tickets() {
|
|
7150
|
+
return this.#tickets;
|
|
7151
|
+
}
|
|
7152
|
+
set tickets(value) {
|
|
7153
|
+
this.#tickets = value;
|
|
7154
|
+
}
|
|
7155
|
+
#shop;
|
|
7156
|
+
#revenue;
|
|
7157
|
+
#orders;
|
|
7158
|
+
#tickets;
|
|
7159
|
+
constructor(shop, revenue, orders, tickets) {
|
|
7160
|
+
this.#shop = shop;
|
|
7161
|
+
this.#revenue = revenue;
|
|
7162
|
+
this.#orders = orders;
|
|
7163
|
+
this.#tickets = tickets;
|
|
7164
|
+
}
|
|
7165
|
+
};
|
|
7166
|
+
StatisticsOverviewTopShopDto = __decorate([dto], StatisticsOverviewTopShopDto);
|
|
7167
|
+
|
|
7168
|
+
//#endregion
|
|
7169
|
+
//#region src/dto/statistics/StatisticsPieChartDto.ts
|
|
7170
|
+
let StatisticsPieChartDto = class StatisticsPieChartDto {
|
|
7171
|
+
get slices() {
|
|
7172
|
+
return this.#slices;
|
|
7173
|
+
}
|
|
7174
|
+
set slices(value) {
|
|
7175
|
+
this.#slices = value;
|
|
7176
|
+
}
|
|
7177
|
+
get valueType() {
|
|
7178
|
+
return this.#valueType;
|
|
7179
|
+
}
|
|
7180
|
+
set valueType(value) {
|
|
7181
|
+
this.#valueType = value;
|
|
7182
|
+
}
|
|
7183
|
+
#slices;
|
|
7184
|
+
#valueType;
|
|
7185
|
+
constructor(slices, valueType) {
|
|
7186
|
+
this.#slices = slices;
|
|
7187
|
+
this.#valueType = valueType;
|
|
7188
|
+
}
|
|
7189
|
+
};
|
|
7190
|
+
StatisticsPieChartDto = __decorate([dto], StatisticsPieChartDto);
|
|
7191
|
+
|
|
7192
|
+
//#endregion
|
|
7193
|
+
//#region src/dto/statistics/StatisticsRefundsAmountDistributionDto.ts
|
|
7194
|
+
let StatisticsRefundsAmountDistributionDto = class StatisticsRefundsAmountDistributionDto {
|
|
7195
|
+
get full() {
|
|
7196
|
+
return this.#full;
|
|
7197
|
+
}
|
|
7198
|
+
set full(value) {
|
|
7199
|
+
this.#full = value;
|
|
7200
|
+
}
|
|
7201
|
+
get partial() {
|
|
7202
|
+
return this.#partial;
|
|
7203
|
+
}
|
|
7204
|
+
set partial(value) {
|
|
7205
|
+
this.#partial = value;
|
|
7206
|
+
}
|
|
7207
|
+
get averagePartialRatio() {
|
|
7208
|
+
return this.#averagePartialRatio;
|
|
7209
|
+
}
|
|
7210
|
+
set averagePartialRatio(value) {
|
|
7211
|
+
this.#averagePartialRatio = value;
|
|
7212
|
+
}
|
|
7213
|
+
#full;
|
|
7214
|
+
#partial;
|
|
7215
|
+
#averagePartialRatio;
|
|
7216
|
+
constructor(full, partial, averagePartialRatio) {
|
|
7217
|
+
this.#full = full;
|
|
7218
|
+
this.#partial = partial;
|
|
7219
|
+
this.#averagePartialRatio = averagePartialRatio;
|
|
7220
|
+
}
|
|
7221
|
+
};
|
|
7222
|
+
StatisticsRefundsAmountDistributionDto = __decorate([dto], StatisticsRefundsAmountDistributionDto);
|
|
7223
|
+
|
|
7224
|
+
//#endregion
|
|
7225
|
+
//#region src/dto/statistics/StatisticsRefundsOverviewDto.ts
|
|
7226
|
+
let StatisticsRefundsOverviewDto = class StatisticsRefundsOverviewDto {
|
|
7227
|
+
get refundRate() {
|
|
7228
|
+
return this.#refundRate;
|
|
7229
|
+
}
|
|
7230
|
+
set refundRate(value) {
|
|
7231
|
+
this.#refundRate = value;
|
|
7232
|
+
}
|
|
7233
|
+
get refundCount() {
|
|
7234
|
+
return this.#refundCount;
|
|
7235
|
+
}
|
|
7236
|
+
set refundCount(value) {
|
|
7237
|
+
this.#refundCount = value;
|
|
7238
|
+
}
|
|
7239
|
+
get refundAmount() {
|
|
7240
|
+
return this.#refundAmount;
|
|
7241
|
+
}
|
|
7242
|
+
set refundAmount(value) {
|
|
7243
|
+
this.#refundAmount = value;
|
|
7244
|
+
}
|
|
7245
|
+
get averageRefundAmount() {
|
|
7246
|
+
return this.#averageRefundAmount;
|
|
7247
|
+
}
|
|
7248
|
+
set averageRefundAmount(value) {
|
|
7249
|
+
this.#averageRefundAmount = value;
|
|
7250
|
+
}
|
|
7251
|
+
get averageCompletionTimeSeconds() {
|
|
7252
|
+
return this.#averageCompletionTimeSeconds;
|
|
7253
|
+
}
|
|
7254
|
+
set averageCompletionTimeSeconds(value) {
|
|
7255
|
+
this.#averageCompletionTimeSeconds = value;
|
|
7256
|
+
}
|
|
7257
|
+
#refundRate;
|
|
7258
|
+
#refundCount;
|
|
7259
|
+
#refundAmount;
|
|
7260
|
+
#averageRefundAmount;
|
|
7261
|
+
#averageCompletionTimeSeconds;
|
|
7262
|
+
constructor(refundRate, refundCount, refundAmount, averageRefundAmount, averageCompletionTimeSeconds) {
|
|
7263
|
+
this.#refundRate = refundRate;
|
|
7264
|
+
this.#refundCount = refundCount;
|
|
7265
|
+
this.#refundAmount = refundAmount;
|
|
7266
|
+
this.#averageRefundAmount = averageRefundAmount;
|
|
7267
|
+
this.#averageCompletionTimeSeconds = averageCompletionTimeSeconds;
|
|
7268
|
+
}
|
|
7269
|
+
};
|
|
7270
|
+
StatisticsRefundsOverviewDto = __decorate([dto], StatisticsRefundsOverviewDto);
|
|
7271
|
+
|
|
7272
|
+
//#endregion
|
|
7273
|
+
//#region src/dto/statistics/StatisticsRefundsTopEventDto.ts
|
|
7274
|
+
let StatisticsRefundsTopEventDto = class StatisticsRefundsTopEventDto {
|
|
7275
|
+
get eventId() {
|
|
7276
|
+
return this.#eventId;
|
|
7277
|
+
}
|
|
7278
|
+
set eventId(value) {
|
|
7279
|
+
this.#eventId = value;
|
|
6005
7280
|
}
|
|
6006
|
-
get
|
|
6007
|
-
return this.#
|
|
7281
|
+
get eventName() {
|
|
7282
|
+
return this.#eventName;
|
|
6008
7283
|
}
|
|
6009
|
-
set
|
|
6010
|
-
this.#
|
|
7284
|
+
set eventName(value) {
|
|
7285
|
+
this.#eventName = value;
|
|
6011
7286
|
}
|
|
6012
|
-
get
|
|
6013
|
-
return this.#
|
|
7287
|
+
get eventStartsOn() {
|
|
7288
|
+
return this.#eventStartsOn;
|
|
6014
7289
|
}
|
|
6015
|
-
set
|
|
6016
|
-
this.#
|
|
7290
|
+
set eventStartsOn(value) {
|
|
7291
|
+
this.#eventStartsOn = value;
|
|
6017
7292
|
}
|
|
6018
|
-
get
|
|
6019
|
-
return this.#
|
|
7293
|
+
get refundCount() {
|
|
7294
|
+
return this.#refundCount;
|
|
6020
7295
|
}
|
|
6021
|
-
set
|
|
6022
|
-
this.#
|
|
7296
|
+
set refundCount(value) {
|
|
7297
|
+
this.#refundCount = value;
|
|
6023
7298
|
}
|
|
6024
|
-
get
|
|
6025
|
-
return this.#
|
|
7299
|
+
get refundAmount() {
|
|
7300
|
+
return this.#refundAmount;
|
|
6026
7301
|
}
|
|
6027
|
-
set
|
|
6028
|
-
this.#
|
|
7302
|
+
set refundAmount(value) {
|
|
7303
|
+
this.#refundAmount = value;
|
|
6029
7304
|
}
|
|
6030
|
-
get
|
|
6031
|
-
return this.#
|
|
7305
|
+
get refundRate() {
|
|
7306
|
+
return this.#refundRate;
|
|
6032
7307
|
}
|
|
6033
|
-
set
|
|
6034
|
-
this.#
|
|
7308
|
+
set refundRate(value) {
|
|
7309
|
+
this.#refundRate = value;
|
|
6035
7310
|
}
|
|
6036
|
-
#
|
|
6037
|
-
#
|
|
6038
|
-
#
|
|
6039
|
-
#
|
|
6040
|
-
#
|
|
6041
|
-
#
|
|
6042
|
-
constructor(
|
|
6043
|
-
this.#
|
|
6044
|
-
this.#
|
|
6045
|
-
this.#
|
|
6046
|
-
this.#
|
|
6047
|
-
this.#
|
|
6048
|
-
this.#
|
|
7311
|
+
#eventId;
|
|
7312
|
+
#eventName;
|
|
7313
|
+
#eventStartsOn;
|
|
7314
|
+
#refundCount;
|
|
7315
|
+
#refundAmount;
|
|
7316
|
+
#refundRate;
|
|
7317
|
+
constructor(eventId, eventName, eventStartsOn, refundCount, refundAmount, refundRate) {
|
|
7318
|
+
this.#eventId = eventId;
|
|
7319
|
+
this.#eventName = eventName;
|
|
7320
|
+
this.#eventStartsOn = eventStartsOn;
|
|
7321
|
+
this.#refundCount = refundCount;
|
|
7322
|
+
this.#refundAmount = refundAmount;
|
|
7323
|
+
this.#refundRate = refundRate;
|
|
6049
7324
|
}
|
|
6050
7325
|
};
|
|
6051
|
-
|
|
7326
|
+
StatisticsRefundsTopEventDto = __decorate([dto], StatisticsRefundsTopEventDto);
|
|
6052
7327
|
|
|
6053
7328
|
//#endregion
|
|
6054
|
-
//#region src/dto/statistics/
|
|
6055
|
-
let
|
|
6056
|
-
get
|
|
6057
|
-
return this.#
|
|
6058
|
-
}
|
|
6059
|
-
set active(value) {
|
|
6060
|
-
this.#active = value;
|
|
6061
|
-
}
|
|
6062
|
-
get concluded() {
|
|
6063
|
-
return this.#concluded;
|
|
7329
|
+
//#region src/dto/statistics/StatisticsRefundsVelocityDto.ts
|
|
7330
|
+
let StatisticsRefundsVelocityDto = class StatisticsRefundsVelocityDto {
|
|
7331
|
+
get averageDaysOrderToRefund() {
|
|
7332
|
+
return this.#averageDaysOrderToRefund;
|
|
6064
7333
|
}
|
|
6065
|
-
set
|
|
6066
|
-
this.#
|
|
7334
|
+
set averageDaysOrderToRefund(value) {
|
|
7335
|
+
this.#averageDaysOrderToRefund = value;
|
|
6067
7336
|
}
|
|
6068
|
-
get
|
|
6069
|
-
return this.#
|
|
7337
|
+
get averageSecondsRequestToCompletion() {
|
|
7338
|
+
return this.#averageSecondsRequestToCompletion;
|
|
6070
7339
|
}
|
|
6071
|
-
set
|
|
6072
|
-
this.#
|
|
7340
|
+
set averageSecondsRequestToCompletion(value) {
|
|
7341
|
+
this.#averageSecondsRequestToCompletion = value;
|
|
6073
7342
|
}
|
|
6074
|
-
get
|
|
6075
|
-
return this.#
|
|
7343
|
+
get buckets() {
|
|
7344
|
+
return this.#buckets;
|
|
6076
7345
|
}
|
|
6077
|
-
set
|
|
6078
|
-
this.#
|
|
7346
|
+
set buckets(value) {
|
|
7347
|
+
this.#buckets = value;
|
|
6079
7348
|
}
|
|
6080
|
-
#
|
|
6081
|
-
#
|
|
6082
|
-
#
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
this.#
|
|
6086
|
-
this.#
|
|
6087
|
-
this.#total = total;
|
|
6088
|
-
this.#upcoming = upcoming;
|
|
7349
|
+
#averageDaysOrderToRefund;
|
|
7350
|
+
#averageSecondsRequestToCompletion;
|
|
7351
|
+
#buckets;
|
|
7352
|
+
constructor(averageDaysOrderToRefund, averageSecondsRequestToCompletion, buckets) {
|
|
7353
|
+
this.#averageDaysOrderToRefund = averageDaysOrderToRefund;
|
|
7354
|
+
this.#averageSecondsRequestToCompletion = averageSecondsRequestToCompletion;
|
|
7355
|
+
this.#buckets = buckets;
|
|
6089
7356
|
}
|
|
6090
7357
|
};
|
|
6091
|
-
|
|
7358
|
+
StatisticsRefundsVelocityDto = __decorate([dto], StatisticsRefundsVelocityDto);
|
|
6092
7359
|
|
|
6093
7360
|
//#endregion
|
|
6094
|
-
//#region src/dto/statistics/
|
|
6095
|
-
let
|
|
6096
|
-
get
|
|
6097
|
-
return this.#
|
|
7361
|
+
//#region src/dto/statistics/StatisticsSalesDiscountEfficacyDto.ts
|
|
7362
|
+
let StatisticsSalesDiscountEfficacyDto = class StatisticsSalesDiscountEfficacyDto {
|
|
7363
|
+
get ordersWithDiscount() {
|
|
7364
|
+
return this.#ordersWithDiscount;
|
|
6098
7365
|
}
|
|
6099
|
-
set
|
|
6100
|
-
this.#
|
|
7366
|
+
set ordersWithDiscount(value) {
|
|
7367
|
+
this.#ordersWithDiscount = value;
|
|
6101
7368
|
}
|
|
6102
|
-
get
|
|
6103
|
-
return this.#
|
|
7369
|
+
get ordersWithoutDiscount() {
|
|
7370
|
+
return this.#ordersWithoutDiscount;
|
|
6104
7371
|
}
|
|
6105
|
-
set
|
|
6106
|
-
this.#
|
|
7372
|
+
set ordersWithoutDiscount(value) {
|
|
7373
|
+
this.#ordersWithoutDiscount = value;
|
|
6107
7374
|
}
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
this.#
|
|
7375
|
+
get discountUsageRate() {
|
|
7376
|
+
return this.#discountUsageRate;
|
|
7377
|
+
}
|
|
7378
|
+
set discountUsageRate(value) {
|
|
7379
|
+
this.#discountUsageRate = value;
|
|
7380
|
+
}
|
|
7381
|
+
get revenueWithDiscount() {
|
|
7382
|
+
return this.#revenueWithDiscount;
|
|
7383
|
+
}
|
|
7384
|
+
set revenueWithDiscount(value) {
|
|
7385
|
+
this.#revenueWithDiscount = value;
|
|
7386
|
+
}
|
|
7387
|
+
get revenueWithoutDiscount() {
|
|
7388
|
+
return this.#revenueWithoutDiscount;
|
|
7389
|
+
}
|
|
7390
|
+
set revenueWithoutDiscount(value) {
|
|
7391
|
+
this.#revenueWithoutDiscount = value;
|
|
7392
|
+
}
|
|
7393
|
+
get totalDiscountAmount() {
|
|
7394
|
+
return this.#totalDiscountAmount;
|
|
7395
|
+
}
|
|
7396
|
+
set totalDiscountAmount(value) {
|
|
7397
|
+
this.#totalDiscountAmount = value;
|
|
7398
|
+
}
|
|
7399
|
+
get averageDiscountPerOrder() {
|
|
7400
|
+
return this.#averageDiscountPerOrder;
|
|
7401
|
+
}
|
|
7402
|
+
set averageDiscountPerOrder(value) {
|
|
7403
|
+
this.#averageDiscountPerOrder = value;
|
|
7404
|
+
}
|
|
7405
|
+
get averageOrderValueWithDiscount() {
|
|
7406
|
+
return this.#averageOrderValueWithDiscount;
|
|
7407
|
+
}
|
|
7408
|
+
set averageOrderValueWithDiscount(value) {
|
|
7409
|
+
this.#averageOrderValueWithDiscount = value;
|
|
7410
|
+
}
|
|
7411
|
+
get averageOrderValueWithoutDiscount() {
|
|
7412
|
+
return this.#averageOrderValueWithoutDiscount;
|
|
7413
|
+
}
|
|
7414
|
+
set averageOrderValueWithoutDiscount(value) {
|
|
7415
|
+
this.#averageOrderValueWithoutDiscount = value;
|
|
7416
|
+
}
|
|
7417
|
+
#ordersWithDiscount;
|
|
7418
|
+
#ordersWithoutDiscount;
|
|
7419
|
+
#discountUsageRate;
|
|
7420
|
+
#revenueWithDiscount;
|
|
7421
|
+
#revenueWithoutDiscount;
|
|
7422
|
+
#totalDiscountAmount;
|
|
7423
|
+
#averageDiscountPerOrder;
|
|
7424
|
+
#averageOrderValueWithDiscount;
|
|
7425
|
+
#averageOrderValueWithoutDiscount;
|
|
7426
|
+
constructor(ordersWithDiscount, ordersWithoutDiscount, discountUsageRate, revenueWithDiscount, revenueWithoutDiscount, totalDiscountAmount, averageDiscountPerOrder, averageOrderValueWithDiscount, averageOrderValueWithoutDiscount) {
|
|
7427
|
+
this.#ordersWithDiscount = ordersWithDiscount;
|
|
7428
|
+
this.#ordersWithoutDiscount = ordersWithoutDiscount;
|
|
7429
|
+
this.#discountUsageRate = discountUsageRate;
|
|
7430
|
+
this.#revenueWithDiscount = revenueWithDiscount;
|
|
7431
|
+
this.#revenueWithoutDiscount = revenueWithoutDiscount;
|
|
7432
|
+
this.#totalDiscountAmount = totalDiscountAmount;
|
|
7433
|
+
this.#averageDiscountPerOrder = averageDiscountPerOrder;
|
|
7434
|
+
this.#averageOrderValueWithDiscount = averageOrderValueWithDiscount;
|
|
7435
|
+
this.#averageOrderValueWithoutDiscount = averageOrderValueWithoutDiscount;
|
|
6113
7436
|
}
|
|
6114
7437
|
};
|
|
6115
|
-
|
|
7438
|
+
StatisticsSalesDiscountEfficacyDto = __decorate([dto], StatisticsSalesDiscountEfficacyDto);
|
|
6116
7439
|
|
|
6117
7440
|
//#endregion
|
|
6118
|
-
//#region src/dto/statistics/
|
|
6119
|
-
let
|
|
6120
|
-
get
|
|
6121
|
-
return this.#
|
|
7441
|
+
//#region src/dto/statistics/StatisticsSalesFailedTransactionReasonDto.ts
|
|
7442
|
+
let StatisticsSalesFailedTransactionReasonDto = class StatisticsSalesFailedTransactionReasonDto {
|
|
7443
|
+
get status() {
|
|
7444
|
+
return this.#status;
|
|
6122
7445
|
}
|
|
6123
|
-
set
|
|
6124
|
-
this.#
|
|
7446
|
+
set status(value) {
|
|
7447
|
+
this.#status = value;
|
|
6125
7448
|
}
|
|
6126
|
-
get
|
|
6127
|
-
return this.#
|
|
7449
|
+
get count() {
|
|
7450
|
+
return this.#count;
|
|
6128
7451
|
}
|
|
6129
|
-
set
|
|
6130
|
-
this.#
|
|
7452
|
+
set count(value) {
|
|
7453
|
+
this.#count = value;
|
|
6131
7454
|
}
|
|
6132
|
-
#
|
|
6133
|
-
#
|
|
6134
|
-
constructor(
|
|
6135
|
-
this.#
|
|
6136
|
-
this.#
|
|
7455
|
+
#status;
|
|
7456
|
+
#count;
|
|
7457
|
+
constructor(status, count) {
|
|
7458
|
+
this.#status = status;
|
|
7459
|
+
this.#count = count;
|
|
6137
7460
|
}
|
|
6138
7461
|
};
|
|
6139
|
-
|
|
7462
|
+
StatisticsSalesFailedTransactionReasonDto = __decorate([dto], StatisticsSalesFailedTransactionReasonDto);
|
|
6140
7463
|
|
|
6141
7464
|
//#endregion
|
|
6142
7465
|
//#region src/dto/statistics/StatisticsSalesLifetimeTotalsDto.ts
|
|
@@ -6186,6 +7509,30 @@ let StatisticsSalesLifetimeTotalsDto = class StatisticsSalesLifetimeTotalsDto {
|
|
|
6186
7509
|
};
|
|
6187
7510
|
StatisticsSalesLifetimeTotalsDto = __decorate([dto], StatisticsSalesLifetimeTotalsDto);
|
|
6188
7511
|
|
|
7512
|
+
//#endregion
|
|
7513
|
+
//#region src/dto/statistics/StatisticsSalesOrderValueDistributionDto.ts
|
|
7514
|
+
let StatisticsSalesOrderValueDistributionDto = class StatisticsSalesOrderValueDistributionDto {
|
|
7515
|
+
get buckets() {
|
|
7516
|
+
return this.#buckets;
|
|
7517
|
+
}
|
|
7518
|
+
set buckets(value) {
|
|
7519
|
+
this.#buckets = value;
|
|
7520
|
+
}
|
|
7521
|
+
get median() {
|
|
7522
|
+
return this.#median;
|
|
7523
|
+
}
|
|
7524
|
+
set median(value) {
|
|
7525
|
+
this.#median = value;
|
|
7526
|
+
}
|
|
7527
|
+
#buckets;
|
|
7528
|
+
#median;
|
|
7529
|
+
constructor(buckets, median) {
|
|
7530
|
+
this.#buckets = buckets;
|
|
7531
|
+
this.#median = median;
|
|
7532
|
+
}
|
|
7533
|
+
};
|
|
7534
|
+
StatisticsSalesOrderValueDistributionDto = __decorate([dto], StatisticsSalesOrderValueDistributionDto);
|
|
7535
|
+
|
|
6189
7536
|
//#endregion
|
|
6190
7537
|
//#region src/dto/statistics/StatisticsSalesPurchaseBehaviorDto.ts
|
|
6191
7538
|
let StatisticsSalesPurchaseBehaviorDto = class StatisticsSalesPurchaseBehaviorDto {
|
|
@@ -6226,6 +7573,30 @@ let StatisticsSalesPurchaseBehaviorDto = class StatisticsSalesPurchaseBehaviorDt
|
|
|
6226
7573
|
};
|
|
6227
7574
|
StatisticsSalesPurchaseBehaviorDto = __decorate([dto], StatisticsSalesPurchaseBehaviorDto);
|
|
6228
7575
|
|
|
7576
|
+
//#endregion
|
|
7577
|
+
//#region src/dto/statistics/StatisticsSalesRepeatPurchaseVelocityDto.ts
|
|
7578
|
+
let StatisticsSalesRepeatPurchaseVelocityDto = class StatisticsSalesRepeatPurchaseVelocityDto {
|
|
7579
|
+
get averageDaysBetweenOrders() {
|
|
7580
|
+
return this.#averageDaysBetweenOrders;
|
|
7581
|
+
}
|
|
7582
|
+
set averageDaysBetweenOrders(value) {
|
|
7583
|
+
this.#averageDaysBetweenOrders = value;
|
|
7584
|
+
}
|
|
7585
|
+
get buckets() {
|
|
7586
|
+
return this.#buckets;
|
|
7587
|
+
}
|
|
7588
|
+
set buckets(value) {
|
|
7589
|
+
this.#buckets = value;
|
|
7590
|
+
}
|
|
7591
|
+
#averageDaysBetweenOrders;
|
|
7592
|
+
#buckets;
|
|
7593
|
+
constructor(averageDaysBetweenOrders, buckets) {
|
|
7594
|
+
this.#averageDaysBetweenOrders = averageDaysBetweenOrders;
|
|
7595
|
+
this.#buckets = buckets;
|
|
7596
|
+
}
|
|
7597
|
+
};
|
|
7598
|
+
StatisticsSalesRepeatPurchaseVelocityDto = __decorate([dto], StatisticsSalesRepeatPurchaseVelocityDto);
|
|
7599
|
+
|
|
6229
7600
|
//#endregion
|
|
6230
7601
|
//#region src/dto/statistics/StatisticsSalesTransactionSuccessRateDto.ts
|
|
6231
7602
|
let StatisticsSalesTransactionSuccessRateDto = class StatisticsSalesTransactionSuccessRateDto {
|
|
@@ -6816,19 +8187,6 @@ let EventStatisticsOverviewAdapter = class EventStatisticsOverviewAdapter {
|
|
|
6816
8187
|
};
|
|
6817
8188
|
EventStatisticsOverviewAdapter = __decorate([adapter], EventStatisticsOverviewAdapter);
|
|
6818
8189
|
|
|
6819
|
-
//#endregion
|
|
6820
|
-
//#region src/adapter/EventStatisticsSalesAdapter.ts
|
|
6821
|
-
var _EventStatisticsSalesAdapter;
|
|
6822
|
-
let EventStatisticsSalesAdapter = _EventStatisticsSalesAdapter = class EventStatisticsSalesAdapter {
|
|
6823
|
-
static parseSalesFlowChart(data) {
|
|
6824
|
-
return new EventStatisticsSalesFlowChartDto(data.series.map(_EventStatisticsSalesAdapter.parseSalesFlowChartSeries), data.xaxis.categories.map(DateTimeAdapter.parseDateTime));
|
|
6825
|
-
}
|
|
6826
|
-
static parseSalesFlowChartSeries(data) {
|
|
6827
|
-
return new EventStatisticsSalesFlowChartSeriesDto(data.name, data.data, data.zIndex);
|
|
6828
|
-
}
|
|
6829
|
-
};
|
|
6830
|
-
EventStatisticsSalesAdapter = _EventStatisticsSalesAdapter = __decorate([adapter], EventStatisticsSalesAdapter);
|
|
6831
|
-
|
|
6832
8190
|
//#endregion
|
|
6833
8191
|
//#region src/adapter/FileSystemAdapter.ts
|
|
6834
8192
|
let FileSystemAdapter = class FileSystemAdapter {
|
|
@@ -7083,20 +8441,93 @@ let StatisticsBuyersAdapter = class StatisticsBuyersAdapter {
|
|
|
7083
8441
|
static parseRanked(data) {
|
|
7084
8442
|
return new StatisticsBuyersRankedDto(data.ranking, BuyerAdapter.parseBuyer(data.buyer), data.order_count, PaymentAdapter.parseCost(data.total_spend), data.events_attended, PaymentAdapter.parseCost(data.average_order_value));
|
|
7085
8443
|
}
|
|
8444
|
+
static parseGeographicDistribution(data) {
|
|
8445
|
+
return new StatisticsBuyersGeographicDistributionDto(data.country, data.buyers, data.orders, PaymentAdapter.parseCost(data.revenue));
|
|
8446
|
+
}
|
|
8447
|
+
static parseCohortRetention(data) {
|
|
8448
|
+
return new StatisticsBuyersCohortRetentionDto(data.cohorts, data.buckets, data.cohort_sizes, data.cells);
|
|
8449
|
+
}
|
|
8450
|
+
static parseSpendBuckets(data) {
|
|
8451
|
+
return new StatisticsBuyersSpendBucketsDto(data.buckets, data.total_buyers);
|
|
8452
|
+
}
|
|
8453
|
+
static parseAcquisitionSource(data) {
|
|
8454
|
+
return new StatisticsBuyersAcquisitionSourceDto(data.source, data.buyers);
|
|
8455
|
+
}
|
|
8456
|
+
static parseAgeGenderMatrix(data) {
|
|
8457
|
+
return new StatisticsBuyersAgeGenderMatrixDto(data.age_groups, data.genders, data.cells);
|
|
8458
|
+
}
|
|
8459
|
+
static parseDeviceConversion(data) {
|
|
8460
|
+
return new StatisticsBuyersDeviceConversionDto(data.operating_system, data.visits, data.orders, data.conversion_rate);
|
|
8461
|
+
}
|
|
7086
8462
|
};
|
|
7087
8463
|
StatisticsBuyersAdapter = __decorate([adapter], StatisticsBuyersAdapter);
|
|
7088
8464
|
|
|
8465
|
+
//#endregion
|
|
8466
|
+
//#region src/adapter/StatisticsChartAdapter.ts
|
|
8467
|
+
var _StatisticsChartAdapter;
|
|
8468
|
+
let StatisticsChartAdapter = _StatisticsChartAdapter = class StatisticsChartAdapter {
|
|
8469
|
+
static parseChart(data) {
|
|
8470
|
+
return new StatisticsChartDto(data.series.map(_StatisticsChartAdapter.parseSeries), data.labels, data.granularity ?? null);
|
|
8471
|
+
}
|
|
8472
|
+
static parseSeries(data) {
|
|
8473
|
+
return {
|
|
8474
|
+
name: data.name ?? null,
|
|
8475
|
+
valueType: data.value_type,
|
|
8476
|
+
data: data.data.map(_StatisticsChartAdapter.parseDataPoint),
|
|
8477
|
+
type: data.type ?? null,
|
|
8478
|
+
axisIndex: data.axis_index ?? null,
|
|
8479
|
+
zIndex: data.z_index ?? null,
|
|
8480
|
+
currency: data.currency ?? null
|
|
8481
|
+
};
|
|
8482
|
+
}
|
|
8483
|
+
static parseDataPoint(data) {
|
|
8484
|
+
if (data === null) return null;
|
|
8485
|
+
if (typeof data === "number") return data;
|
|
8486
|
+
return {
|
|
8487
|
+
value: data.value,
|
|
8488
|
+
formatted: data.formatted
|
|
8489
|
+
};
|
|
8490
|
+
}
|
|
8491
|
+
static parsePie(data) {
|
|
8492
|
+
return new StatisticsPieChartDto(data.slices.map(_StatisticsChartAdapter.parsePieSlice), data.value_type);
|
|
8493
|
+
}
|
|
8494
|
+
static parsePieSlice(data) {
|
|
8495
|
+
return {
|
|
8496
|
+
label: data.label,
|
|
8497
|
+
value: data.value,
|
|
8498
|
+
formatted: data.formatted ?? null
|
|
8499
|
+
};
|
|
8500
|
+
}
|
|
8501
|
+
};
|
|
8502
|
+
StatisticsChartAdapter = _StatisticsChartAdapter = __decorate([adapter], StatisticsChartAdapter);
|
|
8503
|
+
|
|
7089
8504
|
//#endregion
|
|
7090
8505
|
//#region src/adapter/StatisticsEventsAdapter.ts
|
|
7091
|
-
|
|
8506
|
+
var _StatisticsEventsAdapter;
|
|
8507
|
+
let StatisticsEventsAdapter = _StatisticsEventsAdapter = class StatisticsEventsAdapter {
|
|
7092
8508
|
static parseOverview(data) {
|
|
7093
8509
|
return new StatisticsEventsOverviewDto(data.total_events, data.active_events, PaymentAdapter.parseCost(data.average_revenue_per_event), data.average_tickets_per_event, data.average_sell_through_rate);
|
|
7094
8510
|
}
|
|
7095
8511
|
static parsePerformance(data) {
|
|
7096
8512
|
return StatisticsOverviewAdapter.parseEventPerformance(data);
|
|
7097
8513
|
}
|
|
8514
|
+
static parseTimeToEvent(data) {
|
|
8515
|
+
return new StatisticsEventsTimeToEventDto(data.buckets, data.average_days);
|
|
8516
|
+
}
|
|
8517
|
+
static parseSalesCurve(data) {
|
|
8518
|
+
return new StatisticsEventsSalesCurveDto(data.events.map(_StatisticsEventsAdapter.parseSalesCurveEvent));
|
|
8519
|
+
}
|
|
8520
|
+
static parseSalesCurveEvent(data) {
|
|
8521
|
+
return new StatisticsEventsSalesCurveEventDto(data.id, data.name, DateTimeAdapter.parseDateTime(data.starts_on), data.days_before_start, data.cumulative_tickets);
|
|
8522
|
+
}
|
|
8523
|
+
static parseSellOutTiming(data) {
|
|
8524
|
+
return new StatisticsEventsSellOutTimingDto(data.events_sold_out, data.average_days_to_sell_out, data.events.map(_StatisticsEventsAdapter.parseSellOutTimingEvent));
|
|
8525
|
+
}
|
|
8526
|
+
static parseSellOutTimingEvent(data) {
|
|
8527
|
+
return new StatisticsEventsSellOutTimingEventDto(data.id, data.name, data.days_to_sell_out);
|
|
8528
|
+
}
|
|
7098
8529
|
};
|
|
7099
|
-
StatisticsEventsAdapter = __decorate([adapter], StatisticsEventsAdapter);
|
|
8530
|
+
StatisticsEventsAdapter = _StatisticsEventsAdapter = __decorate([adapter], StatisticsEventsAdapter);
|
|
7100
8531
|
|
|
7101
8532
|
//#endregion
|
|
7102
8533
|
//#region src/adapter/StatisticsGrowthAdapter.ts
|
|
@@ -7108,6 +8539,9 @@ let StatisticsGrowthAdapter = _StatisticsGrowthAdapter = class StatisticsGrowthA
|
|
|
7108
8539
|
static parseMilestone(data) {
|
|
7109
8540
|
return new MilestoneDto(data.id, data.type, _StatisticsGrowthAdapter.parseFiniteNumber(data.threshold), _StatisticsGrowthAdapter.parseFiniteNumber(data.value), data.reference_class ?? null, data.reference_id ?? null, DateTimeAdapter.parseDateTime(data.achieved_on));
|
|
7110
8541
|
}
|
|
8542
|
+
static parseCmgr(data) {
|
|
8543
|
+
return new StatisticsGrowthCmgrDto(data.revenue_cmgr, data.tickets_cmgr, data.months_observed);
|
|
8544
|
+
}
|
|
7111
8545
|
static parseFiniteNumber(value) {
|
|
7112
8546
|
if (value === null || value === void 0) return null;
|
|
7113
8547
|
const parsed = Number(value);
|
|
@@ -7132,6 +8566,33 @@ let StatisticsInsightsAdapter = _StatisticsInsightsAdapter = class StatisticsIns
|
|
|
7132
8566
|
};
|
|
7133
8567
|
StatisticsInsightsAdapter = _StatisticsInsightsAdapter = __decorate([adapter], StatisticsInsightsAdapter);
|
|
7134
8568
|
|
|
8569
|
+
//#endregion
|
|
8570
|
+
//#region src/adapter/StatisticsMarketingAdapter.ts
|
|
8571
|
+
let StatisticsMarketingAdapter = class StatisticsMarketingAdapter {
|
|
8572
|
+
static parseOverview(data) {
|
|
8573
|
+
return new StatisticsMarketingOverviewDto(data.attributed_orders, data.direct_orders, data.attribution_rate, PaymentAdapter.parseCost(data.attributed_revenue), PaymentAdapter.parseCost(data.direct_revenue), data.paid_ad_orders, PaymentAdapter.parseCost(data.paid_ad_revenue));
|
|
8574
|
+
}
|
|
8575
|
+
static parseSourceBreakdown(data) {
|
|
8576
|
+
return new StatisticsMarketingSourceBreakdownDto(data.source, data.orders, data.tickets, PaymentAdapter.parseCost(data.revenue));
|
|
8577
|
+
}
|
|
8578
|
+
static parseTopCampaigns(data) {
|
|
8579
|
+
return new StatisticsMarketingCampaignDto(data.campaign, data.source, data.medium, data.orders, data.tickets, PaymentAdapter.parseCost(data.revenue));
|
|
8580
|
+
}
|
|
8581
|
+
static parseSourceMediumMatrix(data) {
|
|
8582
|
+
return new StatisticsMarketingSourceMediumMatrixDto(data.sources, data.mediums, data.cells.map((row) => row.map(PaymentAdapter.parseCost)));
|
|
8583
|
+
}
|
|
8584
|
+
static parseTopReferrers(data) {
|
|
8585
|
+
return new StatisticsMarketingReferrerDto(data.host, data.orders, PaymentAdapter.parseCost(data.revenue));
|
|
8586
|
+
}
|
|
8587
|
+
static parseSourceFunnel(data) {
|
|
8588
|
+
return new StatisticsMarketingSourceFunnelDto(data.source, data.reservations, data.orders, data.conversion_rate);
|
|
8589
|
+
}
|
|
8590
|
+
static parseShortlinkRoi(data) {
|
|
8591
|
+
return new StatisticsMarketingShortlinkRoiDto(data.identifier, data.hits, data.orders, PaymentAdapter.parseCost(data.revenue), data.conversion_rate, data.shop_id ?? null, data.shop_name ?? null, data.event_id ?? null, data.event_name ?? null, data.target_url ?? null);
|
|
8592
|
+
}
|
|
8593
|
+
};
|
|
8594
|
+
StatisticsMarketingAdapter = __decorate([adapter], StatisticsMarketingAdapter);
|
|
8595
|
+
|
|
7135
8596
|
//#endregion
|
|
7136
8597
|
//#region src/adapter/StatisticsOperationsAdapter.ts
|
|
7137
8598
|
var _StatisticsOperationsAdapter;
|
|
@@ -7142,11 +8603,20 @@ let StatisticsOperationsAdapter = _StatisticsOperationsAdapter = class Statistic
|
|
|
7142
8603
|
static parseAppTeam(data) {
|
|
7143
8604
|
return new StatisticsOperationsAppTeamDto(data.id, data.name, data.event_id, data.event_name, data.scans, data.checkins, data.checkouts);
|
|
7144
8605
|
}
|
|
7145
|
-
static
|
|
7146
|
-
return new
|
|
8606
|
+
static parseNoShowRate(data) {
|
|
8607
|
+
return new StatisticsOperationsNoShowRateDto(data.valid_tickets, data.checked_in, data.no_shows, data.no_show_rate, data.events.map(_StatisticsOperationsAdapter.parseNoShowRateEvent));
|
|
7147
8608
|
}
|
|
7148
|
-
static
|
|
7149
|
-
return new
|
|
8609
|
+
static parseNoShowRateEvent(data) {
|
|
8610
|
+
return new StatisticsOperationsNoShowRateEventDto(data.id, data.name, data.no_show_rate, data.no_shows, data.tickets_sold);
|
|
8611
|
+
}
|
|
8612
|
+
static parseScanTimeDistribution(data) {
|
|
8613
|
+
return new StatisticsOperationsScanTimeDistributionDto(data.buckets, data.median_minutes_relative);
|
|
8614
|
+
}
|
|
8615
|
+
static parseSteward(data) {
|
|
8616
|
+
return new StatisticsOperationsStewardDto(data.user.id, data.user.full_name, data.user.initials, data.scans, data.checkins, data.checkouts);
|
|
8617
|
+
}
|
|
8618
|
+
static parseStockUtilization(data) {
|
|
8619
|
+
return new StatisticsOperationsStockUtilizationDto(data.product_id, data.product_name, PaymentAdapter.parseCost(data.product_price), data.event_id, data.event_name, DateTimeAdapter.parseDateTime(data.event_starts_on), data.stock, data.sold, data.utilization_rate);
|
|
7150
8620
|
}
|
|
7151
8621
|
};
|
|
7152
8622
|
StatisticsOperationsAdapter = _StatisticsOperationsAdapter = __decorate([adapter], StatisticsOperationsAdapter);
|
|
@@ -7179,9 +8649,36 @@ let StatisticsOverviewAdapter = _StatisticsOverviewAdapter = class StatisticsOve
|
|
|
7179
8649
|
static parseKPIsTotalTicketsSold(data) {
|
|
7180
8650
|
return new StatisticsOverviewKPIsTotalTicketsSoldDto(data.lifetime, StatisticsAdapter.parseTrend(data.trend, Number));
|
|
7181
8651
|
}
|
|
8652
|
+
static parseTopShop(data) {
|
|
8653
|
+
return new StatisticsOverviewTopShopDto(EventAdapter.parseShop(data.shop), PaymentAdapter.parseCost(data.revenue), data.orders, data.tickets);
|
|
8654
|
+
}
|
|
8655
|
+
static parseCancellationFunnel(data) {
|
|
8656
|
+
return new StatisticsOverviewCancellationFunnelDto(data.paid_orders, data.orders_with_refund, data.orders_fully_refunded, data.partial_refund_rate, data.full_refund_rate);
|
|
8657
|
+
}
|
|
8658
|
+
static parseReservationConversionRate(data) {
|
|
8659
|
+
return new StatisticsOverviewReservationConversionRateDto(data.current, data.previous, data.growth_rate, data.reservations_current, data.reservations_previous, data.orders_current, data.orders_previous);
|
|
8660
|
+
}
|
|
7182
8661
|
};
|
|
7183
8662
|
StatisticsOverviewAdapter = _StatisticsOverviewAdapter = __decorate([adapter], StatisticsOverviewAdapter);
|
|
7184
8663
|
|
|
8664
|
+
//#endregion
|
|
8665
|
+
//#region src/adapter/StatisticsRefundsAdapter.ts
|
|
8666
|
+
let StatisticsRefundsAdapter = class StatisticsRefundsAdapter {
|
|
8667
|
+
static parseOverview(data) {
|
|
8668
|
+
return new StatisticsRefundsOverviewDto(StatisticsAdapter.parseTrend(data.refund_rate, Number), StatisticsAdapter.parseTrend(data.refund_count, Number), StatisticsAdapter.parseTrend(data.refund_amount, PaymentAdapter.parseCost), PaymentAdapter.parseCost(data.average_refund_amount), data.average_completion_time_seconds);
|
|
8669
|
+
}
|
|
8670
|
+
static parseTopEvents(data) {
|
|
8671
|
+
return new StatisticsRefundsTopEventDto(data.event_id, data.event_name, DateTimeAdapter.parseDateTime(data.event_starts_on), data.refund_count, PaymentAdapter.parseCost(data.refund_amount), data.refund_rate);
|
|
8672
|
+
}
|
|
8673
|
+
static parseVelocity(data) {
|
|
8674
|
+
return new StatisticsRefundsVelocityDto(data.average_days_order_to_refund, data.average_seconds_request_to_completion, data.buckets);
|
|
8675
|
+
}
|
|
8676
|
+
static parseAmountDistribution(data) {
|
|
8677
|
+
return new StatisticsRefundsAmountDistributionDto(data.full, data.partial, data.average_partial_ratio);
|
|
8678
|
+
}
|
|
8679
|
+
};
|
|
8680
|
+
StatisticsRefundsAdapter = __decorate([adapter], StatisticsRefundsAdapter);
|
|
8681
|
+
|
|
7185
8682
|
//#endregion
|
|
7186
8683
|
//#region src/adapter/StatisticsSalesAdapter.ts
|
|
7187
8684
|
let StatisticsSalesAdapter = class StatisticsSalesAdapter {
|
|
@@ -7194,6 +8691,18 @@ let StatisticsSalesAdapter = class StatisticsSalesAdapter {
|
|
|
7194
8691
|
static parseTransactionSuccessRate(data) {
|
|
7195
8692
|
return new StatisticsSalesTransactionSuccessRateDto(data.success_rate, data.failed_rate, data.reasons);
|
|
7196
8693
|
}
|
|
8694
|
+
static parseDiscountEfficacy(data) {
|
|
8695
|
+
return new StatisticsSalesDiscountEfficacyDto(data.orders_with_discount, data.orders_without_discount, data.discount_usage_rate, PaymentAdapter.parseCost(data.revenue_with_discount), PaymentAdapter.parseCost(data.revenue_without_discount), PaymentAdapter.parseCost(data.total_discount_amount), PaymentAdapter.parseCost(data.average_discount_per_order), PaymentAdapter.parseCost(data.average_order_value_with_discount), PaymentAdapter.parseCost(data.average_order_value_without_discount));
|
|
8696
|
+
}
|
|
8697
|
+
static parseOrderValueDistribution(data) {
|
|
8698
|
+
return new StatisticsSalesOrderValueDistributionDto(data.buckets, PaymentAdapter.parseCost(data.median));
|
|
8699
|
+
}
|
|
8700
|
+
static parseFailedTransactionReason(data) {
|
|
8701
|
+
return new StatisticsSalesFailedTransactionReasonDto(data.status, data.count);
|
|
8702
|
+
}
|
|
8703
|
+
static parseRepeatPurchaseVelocity(data) {
|
|
8704
|
+
return new StatisticsSalesRepeatPurchaseVelocityDto(data.average_days_between_orders, data.buckets);
|
|
8705
|
+
}
|
|
7197
8706
|
};
|
|
7198
8707
|
StatisticsSalesAdapter = __decorate([adapter], StatisticsSalesAdapter);
|
|
7199
8708
|
|
|
@@ -7596,7 +9105,7 @@ var MerchantEventStatisticsBuyersService = class extends BaseService {
|
|
|
7596
9105
|
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/buyers/overview`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(EventStatisticsBuyersAdapter.parseOverview);
|
|
7597
9106
|
}
|
|
7598
9107
|
async getAcquisitionChart(merchantId, eventId) {
|
|
7599
|
-
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/buyers/acquisition-chart`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().
|
|
9108
|
+
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/buyers/acquisition-chart`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
7600
9109
|
}
|
|
7601
9110
|
async getAgeDistribution(merchantId, eventId) {
|
|
7602
9111
|
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/buyers/age-distribution`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().run();
|
|
@@ -7631,7 +9140,7 @@ var MerchantEventStatisticsOperationsService = class extends BaseService {
|
|
|
7631
9140
|
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/operations/attendance`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(EventStatisticsOperationsAdapter.parseAttendance);
|
|
7632
9141
|
}
|
|
7633
9142
|
async getScansTrend(merchantId, eventId) {
|
|
7634
|
-
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/operations/scans-trend`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().
|
|
9143
|
+
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/operations/scans-trend`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
7635
9144
|
}
|
|
7636
9145
|
async getSwaps(merchantId, eventId) {
|
|
7637
9146
|
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/operations/swaps`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(EventStatisticsOperationsAdapter.parseSwaps);
|
|
@@ -7659,13 +9168,13 @@ var MerchantEventStatisticsSalesService = class extends BaseService {
|
|
|
7659
9168
|
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/sales/lifetime-totals`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsSalesAdapter.parseLifetimeTotals);
|
|
7660
9169
|
}
|
|
7661
9170
|
async getSalesFlowChart(merchantId, eventId) {
|
|
7662
|
-
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/sales/sales-flow-chart`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(
|
|
9171
|
+
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/sales/sales-flow-chart`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
7663
9172
|
}
|
|
7664
9173
|
async getRevenueTrend(merchantId, eventId) {
|
|
7665
|
-
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/sales/revenue-trend`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().
|
|
9174
|
+
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/sales/revenue-trend`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
7666
9175
|
}
|
|
7667
9176
|
async getPaymentMethodsChart(merchantId, eventId) {
|
|
7668
|
-
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/sales/payment-methods-chart`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().
|
|
9177
|
+
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/sales/payment-methods-chart`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parsePie);
|
|
7669
9178
|
}
|
|
7670
9179
|
async getPurchaseBehavior(merchantId, eventId) {
|
|
7671
9180
|
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/sales/purchase-behavior`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsSalesAdapter.parsePurchaseBehavior);
|
|
@@ -7674,7 +9183,7 @@ var MerchantEventStatisticsSalesService = class extends BaseService {
|
|
|
7674
9183
|
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/sales/transaction-success-rate`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsSalesAdapter.parseTransactionSuccessRate);
|
|
7675
9184
|
}
|
|
7676
9185
|
async getSalesByDayOfWeek(merchantId, eventId) {
|
|
7677
|
-
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/sales/sales-by-day-of-week`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().
|
|
9186
|
+
return await this.request(`/merchants/${merchantId}/events/${eventId}/statistics/sales/sales-by-day-of-week`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
7678
9187
|
}
|
|
7679
9188
|
};
|
|
7680
9189
|
|
|
@@ -8033,9 +9542,6 @@ var MerchantShopsService = class extends BaseService {
|
|
|
8033
9542
|
//#endregion
|
|
8034
9543
|
//#region src/service/MerchantStatisticsService.ts
|
|
8035
9544
|
var MerchantStatisticsService = class extends BaseService {
|
|
8036
|
-
async getRevenueTrend(merchantId) {
|
|
8037
|
-
return await this.request(`/merchants/${merchantId}/statistics/revenue-trend`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().run();
|
|
8038
|
-
}
|
|
8039
9545
|
async getStatus(merchantId) {
|
|
8040
9546
|
return await this.request(`/merchants/${merchantId}/statistics/status`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().run();
|
|
8041
9547
|
}
|
|
@@ -8045,7 +9551,7 @@ var MerchantStatisticsService = class extends BaseService {
|
|
|
8045
9551
|
//#region src/service/MerchantStatisticsBuyersService.ts
|
|
8046
9552
|
var MerchantStatisticsBuyersService = class extends BaseService {
|
|
8047
9553
|
async getAcquisition(merchantId, from, to) {
|
|
8048
|
-
return await this.request(`/merchants/${merchantId}/statistics/buyers/acquisition-chart/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().
|
|
9554
|
+
return await this.request(`/merchants/${merchantId}/statistics/buyers/acquisition-chart/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
8049
9555
|
}
|
|
8050
9556
|
async getAgeDistribution(merchantId, from, to) {
|
|
8051
9557
|
return await this.request(`/merchants/${merchantId}/statistics/buyers/age-distribution/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().run();
|
|
@@ -8068,6 +9574,24 @@ var MerchantStatisticsBuyersService = class extends BaseService {
|
|
|
8068
9574
|
async getTopBuyers(merchantId, from, to) {
|
|
8069
9575
|
return await this.request(`/merchants/${merchantId}/statistics/buyers/top-buyers/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runArrayAdapter(StatisticsBuyersAdapter.parseRanked);
|
|
8070
9576
|
}
|
|
9577
|
+
async getGeographicDistribution(merchantId, from, to) {
|
|
9578
|
+
return await this.request(`/merchants/${merchantId}/statistics/buyers/geographic-distribution/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runArrayAdapter(StatisticsBuyersAdapter.parseGeographicDistribution);
|
|
9579
|
+
}
|
|
9580
|
+
async getCohortRetention(merchantId) {
|
|
9581
|
+
return await this.request(`/merchants/${merchantId}/statistics/buyers/cohort-retention`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsBuyersAdapter.parseCohortRetention);
|
|
9582
|
+
}
|
|
9583
|
+
async getSpendBuckets(merchantId) {
|
|
9584
|
+
return await this.request(`/merchants/${merchantId}/statistics/buyers/spend-buckets`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsBuyersAdapter.parseSpendBuckets);
|
|
9585
|
+
}
|
|
9586
|
+
async getAcquisitionSourceSplit(merchantId, from, to) {
|
|
9587
|
+
return await this.request(`/merchants/${merchantId}/statistics/buyers/acquisition-source-split/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runArrayAdapter(StatisticsBuyersAdapter.parseAcquisitionSource);
|
|
9588
|
+
}
|
|
9589
|
+
async getAgeGenderMatrix(merchantId, from, to) {
|
|
9590
|
+
return await this.request(`/merchants/${merchantId}/statistics/buyers/age-gender-matrix/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsBuyersAdapter.parseAgeGenderMatrix);
|
|
9591
|
+
}
|
|
9592
|
+
async getDeviceConversion(merchantId, from, to) {
|
|
9593
|
+
return await this.request(`/merchants/${merchantId}/statistics/buyers/device-conversion/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runArrayAdapter(StatisticsBuyersAdapter.parseDeviceConversion);
|
|
9594
|
+
}
|
|
8071
9595
|
};
|
|
8072
9596
|
|
|
8073
9597
|
//#endregion
|
|
@@ -8080,13 +9604,25 @@ var MerchantStatisticsEventsService = class extends BaseService {
|
|
|
8080
9604
|
return await this.request(`/merchants/${merchantId}/statistics/events/performance/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsEventsAdapter.parsePerformance);
|
|
8081
9605
|
}
|
|
8082
9606
|
async getSellThroughTrend(merchantId, from, to) {
|
|
8083
|
-
return await this.request(`/merchants/${merchantId}/statistics/events/sell-through-trend/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().
|
|
9607
|
+
return await this.request(`/merchants/${merchantId}/statistics/events/sell-through-trend/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
8084
9608
|
}
|
|
8085
9609
|
async getSalesVelocity(merchantId, from, to) {
|
|
8086
|
-
return await this.request(`/merchants/${merchantId}/statistics/events/sales-velocity/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().
|
|
9610
|
+
return await this.request(`/merchants/${merchantId}/statistics/events/sales-velocity/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
8087
9611
|
}
|
|
8088
9612
|
async getPublicationStatus(merchantId, from, to) {
|
|
8089
|
-
return await this.request(`/merchants/${merchantId}/statistics/events/publication-status/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().
|
|
9613
|
+
return await this.request(`/merchants/${merchantId}/statistics/events/publication-status/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parsePie);
|
|
9614
|
+
}
|
|
9615
|
+
async getTimeToEventDistribution(merchantId, from, to) {
|
|
9616
|
+
return await this.request(`/merchants/${merchantId}/statistics/events/time-to-event/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsEventsAdapter.parseTimeToEvent);
|
|
9617
|
+
}
|
|
9618
|
+
async getSalesCurvePerEvent(merchantId, from, to) {
|
|
9619
|
+
return await this.request(`/merchants/${merchantId}/statistics/events/sales-curve/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsEventsAdapter.parseSalesCurve);
|
|
9620
|
+
}
|
|
9621
|
+
async getSellOutTiming(merchantId, from, to) {
|
|
9622
|
+
return await this.request(`/merchants/${merchantId}/statistics/events/sell-out-timing/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsEventsAdapter.parseSellOutTiming);
|
|
9623
|
+
}
|
|
9624
|
+
async getDayOfWeekDistribution(merchantId, from, to) {
|
|
9625
|
+
return await this.request(`/merchants/${merchantId}/statistics/events/day-of-week-distribution/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
8090
9626
|
}
|
|
8091
9627
|
};
|
|
8092
9628
|
|
|
@@ -8097,11 +9633,17 @@ var MerchantStatisticsGrowthService = class extends BaseService {
|
|
|
8097
9633
|
return await this.request(`/merchants/${merchantId}/statistics/growth/overview/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsGrowthAdapter.parseOverview);
|
|
8098
9634
|
}
|
|
8099
9635
|
async getYearOverYear(merchantId, from, to) {
|
|
8100
|
-
return await this.request(`/merchants/${merchantId}/statistics/growth/year-over-year/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().
|
|
9636
|
+
return await this.request(`/merchants/${merchantId}/statistics/growth/year-over-year/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
8101
9637
|
}
|
|
8102
9638
|
async getMilestones(merchantId) {
|
|
8103
9639
|
return await this.request(`/merchants/${merchantId}/statistics/growth/milestones`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runArrayAdapter(StatisticsGrowthAdapter.parseMilestone);
|
|
8104
9640
|
}
|
|
9641
|
+
async getForecast(merchantId) {
|
|
9642
|
+
return await this.request(`/merchants/${merchantId}/statistics/growth/forecast`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
9643
|
+
}
|
|
9644
|
+
async getCompoundMonthlyGrowthRate(merchantId) {
|
|
9645
|
+
return await this.request(`/merchants/${merchantId}/statistics/growth/cmgr`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsGrowthAdapter.parseCmgr);
|
|
9646
|
+
}
|
|
8105
9647
|
};
|
|
8106
9648
|
|
|
8107
9649
|
//#endregion
|
|
@@ -8112,6 +9654,38 @@ var MerchantStatisticsInsightsService = class extends BaseService {
|
|
|
8112
9654
|
}
|
|
8113
9655
|
};
|
|
8114
9656
|
|
|
9657
|
+
//#endregion
|
|
9658
|
+
//#region src/service/MerchantStatisticsMarketingService.ts
|
|
9659
|
+
var MerchantStatisticsMarketingService = class extends BaseService {
|
|
9660
|
+
async getOverview(merchantId, from, to) {
|
|
9661
|
+
return await this.request(`/merchants/${merchantId}/statistics/marketing/overview/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsMarketingAdapter.parseOverview);
|
|
9662
|
+
}
|
|
9663
|
+
async getSourceBreakdown(merchantId, from, to) {
|
|
9664
|
+
return await this.request(`/merchants/${merchantId}/statistics/marketing/source-breakdown/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runArrayAdapter(StatisticsMarketingAdapter.parseSourceBreakdown);
|
|
9665
|
+
}
|
|
9666
|
+
async getTopCampaigns(merchantId, from, to) {
|
|
9667
|
+
return await this.request(`/merchants/${merchantId}/statistics/marketing/top-campaigns/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runArrayAdapter(StatisticsMarketingAdapter.parseTopCampaigns);
|
|
9668
|
+
}
|
|
9669
|
+
async getSourceMediumMatrix(merchantId, from, to) {
|
|
9670
|
+
return await this.request(`/merchants/${merchantId}/statistics/marketing/source-medium-matrix/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsMarketingAdapter.parseSourceMediumMatrix);
|
|
9671
|
+
}
|
|
9672
|
+
async getPaidAdAttribution(merchantId, from, to) {
|
|
9673
|
+
return await this.request(`/merchants/${merchantId}/statistics/marketing/paid-ad-attribution/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parsePie);
|
|
9674
|
+
}
|
|
9675
|
+
async getTopReferrers(merchantId, from, to) {
|
|
9676
|
+
return await this.request(`/merchants/${merchantId}/statistics/marketing/top-referrers/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runArrayAdapter(StatisticsMarketingAdapter.parseTopReferrers);
|
|
9677
|
+
}
|
|
9678
|
+
async getSourceFunnel(merchantId, from, to) {
|
|
9679
|
+
return await this.request(`/merchants/${merchantId}/statistics/marketing/source-funnel/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runArrayAdapter(StatisticsMarketingAdapter.parseSourceFunnel);
|
|
9680
|
+
}
|
|
9681
|
+
async getShortlinkRoi(merchantId, from, to) {
|
|
9682
|
+
return await this.request(`/merchants/${merchantId}/statistics/marketing/shortlink-roi/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runArrayAdapter(StatisticsMarketingAdapter.parseShortlinkRoi);
|
|
9683
|
+
}
|
|
9684
|
+
async getAttributionCoverageTrend(merchantId, from, to) {
|
|
9685
|
+
return await this.request(`/merchants/${merchantId}/statistics/marketing/attribution-coverage-trend/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
9686
|
+
}
|
|
9687
|
+
};
|
|
9688
|
+
|
|
8115
9689
|
//#endregion
|
|
8116
9690
|
//#region src/service/MerchantStatisticsOperationsService.ts
|
|
8117
9691
|
var MerchantStatisticsOperationsService = class extends BaseService {
|
|
@@ -8119,16 +9693,25 @@ var MerchantStatisticsOperationsService = class extends BaseService {
|
|
|
8119
9693
|
return await this.request(`/merchants/${merchantId}/statistics/operations/overview/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsOperationsAdapter.parseOverview);
|
|
8120
9694
|
}
|
|
8121
9695
|
async getScansTrend(merchantId, from, to) {
|
|
8122
|
-
return await this.request(`/merchants/${merchantId}/statistics/operations/scans-trend/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().
|
|
9696
|
+
return await this.request(`/merchants/${merchantId}/statistics/operations/scans-trend/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
8123
9697
|
}
|
|
8124
9698
|
async getCheckinRatePerEvent(merchantId, from, to) {
|
|
8125
|
-
return await this.request(`/merchants/${merchantId}/statistics/operations/checkin-rate-per-event/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().
|
|
9699
|
+
return await this.request(`/merchants/${merchantId}/statistics/operations/checkin-rate-per-event/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
8126
9700
|
}
|
|
8127
9701
|
async getAppTeams(merchantId, from, to) {
|
|
8128
9702
|
return await this.request(`/merchants/${merchantId}/statistics/operations/app-teams/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runArrayAdapter(StatisticsOperationsAdapter.parseAppTeam);
|
|
8129
9703
|
}
|
|
8130
|
-
async
|
|
8131
|
-
return await this.request(`/merchants/${merchantId}/statistics/operations/
|
|
9704
|
+
async getNoShowRate(merchantId, from, to) {
|
|
9705
|
+
return await this.request(`/merchants/${merchantId}/statistics/operations/no-show-rate/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsOperationsAdapter.parseNoShowRate);
|
|
9706
|
+
}
|
|
9707
|
+
async getScanTimeDistribution(merchantId, from, to) {
|
|
9708
|
+
return await this.request(`/merchants/${merchantId}/statistics/operations/scan-time-distribution/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsOperationsAdapter.parseScanTimeDistribution);
|
|
9709
|
+
}
|
|
9710
|
+
async getStewardLeaderboard(merchantId, from, to) {
|
|
9711
|
+
return await this.request(`/merchants/${merchantId}/statistics/operations/steward-leaderboard/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runArrayAdapter(StatisticsOperationsAdapter.parseSteward);
|
|
9712
|
+
}
|
|
9713
|
+
async getStockUtilization(merchantId, from, to) {
|
|
9714
|
+
return await this.request(`/merchants/${merchantId}/statistics/operations/stock-utilization/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runArrayAdapter(StatisticsOperationsAdapter.parseStockUtilization);
|
|
8132
9715
|
}
|
|
8133
9716
|
};
|
|
8134
9717
|
|
|
@@ -8145,11 +9728,46 @@ var MerchantStatisticsOverviewService = class extends BaseService {
|
|
|
8145
9728
|
return await this.request(`/merchants/${merchantId}/statistics/overview/key-performance-indicators`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsOverviewAdapter.parseKPIs);
|
|
8146
9729
|
}
|
|
8147
9730
|
async getRevenueAnalysis(merchantId) {
|
|
8148
|
-
return await this.request(`/merchants/${merchantId}/statistics/overview/revenue-analysis`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().
|
|
9731
|
+
return await this.request(`/merchants/${merchantId}/statistics/overview/revenue-analysis`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
8149
9732
|
}
|
|
8150
9733
|
async getRevenueMonthComparison(merchantId) {
|
|
8151
9734
|
return await this.request(`/merchants/${merchantId}/statistics/overview/revenue-month-comparison`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter((r) => StatisticsAdapter.parseTrend(r, PaymentAdapter.parseCost));
|
|
8152
9735
|
}
|
|
9736
|
+
async getTopShops(merchantId) {
|
|
9737
|
+
return await this.request(`/merchants/${merchantId}/statistics/overview/top-shops`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runArrayAdapter(StatisticsOverviewAdapter.parseTopShop);
|
|
9738
|
+
}
|
|
9739
|
+
async getCancellationFunnel(merchantId) {
|
|
9740
|
+
return await this.request(`/merchants/${merchantId}/statistics/overview/cancellation-funnel`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsOverviewAdapter.parseCancellationFunnel);
|
|
9741
|
+
}
|
|
9742
|
+
async getReservationConversionRate(merchantId) {
|
|
9743
|
+
return await this.request(`/merchants/${merchantId}/statistics/overview/reservation-conversion-rate`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsOverviewAdapter.parseReservationConversionRate);
|
|
9744
|
+
}
|
|
9745
|
+
};
|
|
9746
|
+
|
|
9747
|
+
//#endregion
|
|
9748
|
+
//#region src/service/MerchantStatisticsRefundsService.ts
|
|
9749
|
+
var MerchantStatisticsRefundsService = class extends BaseService {
|
|
9750
|
+
async getOverview(merchantId, from, to) {
|
|
9751
|
+
return await this.request(`/merchants/${merchantId}/statistics/refunds/overview/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsRefundsAdapter.parseOverview);
|
|
9752
|
+
}
|
|
9753
|
+
async getRefundRateTrend(merchantId, from, to) {
|
|
9754
|
+
return await this.request(`/merchants/${merchantId}/statistics/refunds/refund-rate-trend/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
9755
|
+
}
|
|
9756
|
+
async getReasonsDistribution(merchantId, from, to) {
|
|
9757
|
+
return await this.request(`/merchants/${merchantId}/statistics/refunds/reasons-distribution/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parsePie);
|
|
9758
|
+
}
|
|
9759
|
+
async getTopEvents(merchantId, from, to) {
|
|
9760
|
+
return await this.request(`/merchants/${merchantId}/statistics/refunds/top-events/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runArrayAdapter(StatisticsRefundsAdapter.parseTopEvents);
|
|
9761
|
+
}
|
|
9762
|
+
async getVelocity(merchantId, from, to) {
|
|
9763
|
+
return await this.request(`/merchants/${merchantId}/statistics/refunds/velocity/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsRefundsAdapter.parseVelocity);
|
|
9764
|
+
}
|
|
9765
|
+
async getAmountDistribution(merchantId, from, to) {
|
|
9766
|
+
return await this.request(`/merchants/${merchantId}/statistics/refunds/amount-distribution/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsRefundsAdapter.parseAmountDistribution);
|
|
9767
|
+
}
|
|
9768
|
+
async getNetRevenueTrend(merchantId, from, to) {
|
|
9769
|
+
return await this.request(`/merchants/${merchantId}/statistics/refunds/net-revenue-trend/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
9770
|
+
}
|
|
8153
9771
|
};
|
|
8154
9772
|
|
|
8155
9773
|
//#endregion
|
|
@@ -8159,20 +9777,41 @@ var MerchantStatisticsSalesService = class extends BaseService {
|
|
|
8159
9777
|
return await this.request(`/merchants/${merchantId}/statistics/sales/lifetime-totals`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsSalesAdapter.parseLifetimeTotals);
|
|
8160
9778
|
}
|
|
8161
9779
|
async getPaymentMethodsChart(merchantId, from, to) {
|
|
8162
|
-
return await this.request(`/merchants/${merchantId}/statistics/sales/payment-methods-chart/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().
|
|
9780
|
+
return await this.request(`/merchants/${merchantId}/statistics/sales/payment-methods-chart/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parsePie);
|
|
8163
9781
|
}
|
|
8164
9782
|
async getPurchaseBehavior(merchantId, from, to) {
|
|
8165
9783
|
return await this.request(`/merchants/${merchantId}/statistics/sales/purchase-behavior/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsSalesAdapter.parsePurchaseBehavior);
|
|
8166
9784
|
}
|
|
8167
9785
|
async getRevenueTrend(merchantId, from, to) {
|
|
8168
|
-
return await this.request(`/merchants/${merchantId}/statistics/sales/revenue-trend/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().
|
|
9786
|
+
return await this.request(`/merchants/${merchantId}/statistics/sales/revenue-trend/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
8169
9787
|
}
|
|
8170
9788
|
async getSalesByDayOfWeek(merchantId, from, to) {
|
|
8171
|
-
return await this.request(`/merchants/${merchantId}/statistics/sales/sales-by-day-of-week/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().
|
|
9789
|
+
return await this.request(`/merchants/${merchantId}/statistics/sales/sales-by-day-of-week/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
8172
9790
|
}
|
|
8173
9791
|
async getTransactionSuccessRate(merchantId, from, to) {
|
|
8174
9792
|
return await this.request(`/merchants/${merchantId}/statistics/sales/transaction-success-rate/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsSalesAdapter.parseTransactionSuccessRate);
|
|
8175
9793
|
}
|
|
9794
|
+
async getDiscountEfficacy(merchantId, from, to) {
|
|
9795
|
+
return await this.request(`/merchants/${merchantId}/statistics/sales/discount-efficacy/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsSalesAdapter.parseDiscountEfficacy);
|
|
9796
|
+
}
|
|
9797
|
+
async getCartAbandonmentTrend(merchantId, from, to) {
|
|
9798
|
+
return await this.request(`/merchants/${merchantId}/statistics/sales/cart-abandonment-trend/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
9799
|
+
}
|
|
9800
|
+
async getOrderValueDistribution(merchantId, from, to) {
|
|
9801
|
+
return await this.request(`/merchants/${merchantId}/statistics/sales/order-value-distribution/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsSalesAdapter.parseOrderValueDistribution);
|
|
9802
|
+
}
|
|
9803
|
+
async getFailedTransactionReasons(merchantId, from, to) {
|
|
9804
|
+
return await this.request(`/merchants/${merchantId}/statistics/sales/failed-transaction-reasons/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runArrayAdapter(StatisticsSalesAdapter.parseFailedTransactionReason);
|
|
9805
|
+
}
|
|
9806
|
+
async getOrderOriginDistribution(merchantId, from, to) {
|
|
9807
|
+
return await this.request(`/merchants/${merchantId}/statistics/sales/order-origin-distribution/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parsePie);
|
|
9808
|
+
}
|
|
9809
|
+
async getRepeatPurchaseVelocity(merchantId, from, to) {
|
|
9810
|
+
return await this.request(`/merchants/${merchantId}/statistics/sales/repeat-purchase-velocity/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsSalesAdapter.parseRepeatPurchaseVelocity);
|
|
9811
|
+
}
|
|
9812
|
+
async getAverageTicketPriceTrend(merchantId, from, to) {
|
|
9813
|
+
return await this.request(`/merchants/${merchantId}/statistics/sales/average-ticket-price-trend/${from.toSQLDate()}/${to.toSQLDate()}`).method("get").queryString(QueryString.builder().append("language", "nl")).bearerToken().runAdapter(StatisticsChartAdapter.parseChart);
|
|
9814
|
+
}
|
|
8176
9815
|
};
|
|
8177
9816
|
|
|
8178
9817
|
//#endregion
|
|
@@ -8841,5 +10480,5 @@ var UiSelectOptionsService = class extends BaseService {
|
|
|
8841
10480
|
};
|
|
8842
10481
|
|
|
8843
10482
|
//#endregion
|
|
8844
|
-
export { AddressAdapter, AddressDto, AdminMerchantService, AdminMerchantSubscriptionService, AdminMerchantsService, AdminService, AiChatAdapter, AiChatConversationDto, AiChatMessageDto, AiChatToolCallDto, AiUsageAdapter, AiUsageDto, AiUsageFeatureStatusDto, AiUsagePeriodDto, AppTeamDto, AuthAdapter, AuthService, BuyerAdapter, BuyerDto, CashFlowAdapter, CashFlowDiscountDto, CashFlowDto, CashFlowPaymentDto, CashFlowPlatformCostDto, CashFlowRefundDto, CashFlowTimelineEventDto, CommonAdapter, ContentCalendarAdapter, ContentCalendarItemCreatorDto, ContentCalendarItemDto, ContractDto, CostDto, DateTimeAdapter, DiscountCodeAdapter, DiscountCodeDto, EMAIL_TEMPLATE_EDITOR_CONTEXTS, EmailTemplateAdapter, EmailTemplateDto, EventAdapter, EventAvailabilityDto, EventCountersDto, EventDto, EventStatisticsAppTeamDto, EventStatisticsAttendanceDto, EventStatisticsBuyersAdapter, EventStatisticsBuyersOverviewDto, EventStatisticsFinancialDto, EventStatisticsKpisDto, EventStatisticsOperationsAdapter, EventStatisticsOperationsOverviewDto, EventStatisticsOverviewAdapter,
|
|
10483
|
+
export { AddressAdapter, AddressDto, AdminMerchantService, AdminMerchantSubscriptionService, AdminMerchantsService, AdminService, AiChatAdapter, AiChatConversationDto, AiChatMessageDto, AiChatToolCallDto, AiUsageAdapter, AiUsageDto, AiUsageFeatureStatusDto, AiUsagePeriodDto, AppTeamDto, AuthAdapter, AuthService, BuyerAdapter, BuyerDto, CashFlowAdapter, CashFlowDiscountDto, CashFlowDto, CashFlowPaymentDto, CashFlowPlatformCostDto, CashFlowRefundDto, CashFlowTimelineEventDto, CommonAdapter, ContentCalendarAdapter, ContentCalendarItemCreatorDto, ContentCalendarItemDto, ContractDto, CostDto, DateTimeAdapter, DiscountCodeAdapter, DiscountCodeDto, EMAIL_TEMPLATE_EDITOR_CONTEXTS, EmailTemplateAdapter, EmailTemplateDto, EventAdapter, EventAvailabilityDto, EventCountersDto, EventDto, EventStatisticsAppTeamDto, EventStatisticsAttendanceDto, EventStatisticsBuyersAdapter, EventStatisticsBuyersOverviewDto, EventStatisticsFinancialDto, EventStatisticsKpisDto, EventStatisticsOperationsAdapter, EventStatisticsOperationsOverviewDto, EventStatisticsOverviewAdapter, EventStatisticsStatusDto, EventStatisticsSwapsDto, FileSystemAdapter, FinanceAdapter, FinanceOverviewDto, FluxAdapter, InsightDto, InsightSignalDto, InsightsResponseDto, InvitationDto, InvitationService, InvoiceDto, InvoiceLineDto, MarketingAttributionAdapter, MarketingAttributionDto, MeService, MerchantAdapter, MerchantAiChatService, MerchantAiSettingsService, MerchantAiUsageService, MerchantBuyerService, MerchantBuyersService, MerchantContractService, MerchantDashboardAdapter, MerchantDashboardKeyMetricsDto, MerchantDashboardService, MerchantDashboardUpcomingEventDto, MerchantDiscountCodeService, MerchantDiscountCodesService, MerchantDto, MerchantEmailTemplateService, MerchantEmailTemplatesService, MerchantEventAppTeamService, MerchantEventAppTeamsService, MerchantEventContentCalendarService, MerchantEventEmailTemplateService, MerchantEventEmailTemplatesService, MerchantEventProductService, MerchantEventProductsService, MerchantEventService, MerchantEventShopService, MerchantEventShopsService, MerchantEventStatisticsBuyersService, MerchantEventStatisticsOperationsService, MerchantEventStatisticsOverviewService, MerchantEventStatisticsSalesService, MerchantEventStockPoolsService, MerchantEventTicketTemplateService, MerchantEventTicketTemplatesService, MerchantEventTimeSlotService, MerchantEventTimeSlotsService, MerchantEventsService, MerchantFinanceInvoiceService, MerchantFinanceInvoicesService, MerchantFinanceService, MerchantOrderService, MerchantOrdersService, MerchantService, MerchantShopService, MerchantShopsService, MerchantStatisticsBuyersService, MerchantStatisticsEventsService, MerchantStatisticsGrowthService, MerchantStatisticsInsightsService, MerchantStatisticsMarketingService, MerchantStatisticsOperationsService, MerchantStatisticsOverviewService, MerchantStatisticsRefundsService, MerchantStatisticsSalesService, MerchantStatisticsService, MerchantSubscriptionDto, MerchantTicketService, MerchantTicketsService, MerchantUserDto, MerchantUserService, MerchantUsersService, MerchantsService, MilestoneDto, OrderAdapter, OrderDto, OrderLineDto, OrderPaymentProviderDto, OrderProductDto, PaymentAdapter, PaymentMethodDto, PaymentProviderDto, PictureDto, ProductAdapter, ProductDto, PublicOrderService, PublicPayAdapter, PublicPaymentMethodDto, PublicShopAdapter, PublicShopCartProductDto, PublicShopDesignDto, PublicShopDto, PublicShopElementButtonDto, PublicShopElementDividerDto, PublicShopElementDto, PublicShopElementHeadingDto, PublicShopElementInformationDto, PublicShopElementNoticeDto, PublicShopElementProductDto, PublicShopElementTextDto, PublicShopEventDto, PublicShopMerchantDto, PublicShopProductDto, PublicShopReservationDto, PublicShopReservationProductDetailsDto, PublicShopReservationProductDto, PublicShopService, PublicShopTimeSlotDto, RefundAdapter, RefundDto, RefundInitiatorDto, RefundTicketRefDto, RenderedMailDto, ReservationAdapter, ReservationDto, ReservationItemDto, ReservationProductDto, ReservationService, ServiceAdapter, ServiceInfoDto, ServicesService, ShopDesignDto, ShopDto, ShopElementButtonDto, ShopElementDividerDto, ShopElementDto, ShopElementHeadingDto, ShopElementInformationDto, ShopElementNoticeDto, ShopElementProductDto, ShopElementTextDto, ShortlinkAdapter, ShortlinkDto, StatisticsAdapter, StatisticsBuyersAcquisitionSourceDto, StatisticsBuyersAdapter, StatisticsBuyersAgeGenderMatrixDto, StatisticsBuyersCohortRetentionDto, StatisticsBuyersDeviceConversionDto, StatisticsBuyersGeographicDistributionDto, StatisticsBuyersOverviewDto, StatisticsBuyersRankedDto, StatisticsBuyersSpendBucketsDto, StatisticsChartAdapter, StatisticsChartDto, StatisticsEventsAdapter, StatisticsEventsOverviewDto, StatisticsEventsSalesCurveDto, StatisticsEventsSalesCurveEventDto, StatisticsEventsSellOutTimingDto, StatisticsEventsSellOutTimingEventDto, StatisticsEventsTimeToEventDto, StatisticsGrowthAdapter, StatisticsGrowthCmgrDto, StatisticsGrowthOverviewDto, StatisticsInsightsAdapter, StatisticsMarketingAdapter, StatisticsMarketingCampaignDto, StatisticsMarketingOverviewDto, StatisticsMarketingReferrerDto, StatisticsMarketingShortlinkRoiDto, StatisticsMarketingSourceBreakdownDto, StatisticsMarketingSourceFunnelDto, StatisticsMarketingSourceMediumMatrixDto, StatisticsOperationsAdapter, StatisticsOperationsAppTeamDto, StatisticsOperationsNoShowRateDto, StatisticsOperationsNoShowRateEventDto, StatisticsOperationsOverviewDto, StatisticsOperationsScanTimeDistributionDto, StatisticsOperationsStewardDto, StatisticsOperationsStockUtilizationDto, StatisticsOverviewAdapter, StatisticsOverviewBestRevenueMonthDto, StatisticsOverviewCancellationFunnelDto, StatisticsOverviewEventPerformanceDto, StatisticsOverviewEventPerformanceEventDto, StatisticsOverviewEventPerformanceSummaryDto, StatisticsOverviewKPIsDto, StatisticsOverviewKPIsTotalEventsHostedDto, StatisticsOverviewKPIsTotalRevenueDto, StatisticsOverviewKPIsTotalTicketsSoldDto, StatisticsOverviewReservationConversionRateDto, StatisticsOverviewTopShopDto, StatisticsPieChartDto, StatisticsRefundsAdapter, StatisticsRefundsAmountDistributionDto, StatisticsRefundsOverviewDto, StatisticsRefundsTopEventDto, StatisticsRefundsVelocityDto, StatisticsSalesAdapter, StatisticsSalesDiscountEfficacyDto, StatisticsSalesFailedTransactionReasonDto, StatisticsSalesLifetimeTotalsDto, StatisticsSalesOrderValueDistributionDto, StatisticsSalesPurchaseBehaviorDto, StatisticsSalesRepeatPurchaseVelocityDto, StatisticsSalesTransactionSuccessRateDto, StatisticsTrendDto, StatusResponseDto, StockOverviewDto, StockOverviewItemDto, StockPoolDto, SubscriptionAdapter, SubscriptionPlanDto, TicketAdapter, TicketDto, TicketTemplateDto, TimeSlotDto, TotpStateDto, TransactionDto, UiSelectOptionsService, UserDto, UserTokenDto, VatNumberDto, emptyNull_default as emptyNull, jsonBlob_default as jsonBlob, optional_default as optional, optionalArray_default as optionalArray, parseEmailTemplate, serializeBlocks };
|
|
8845
10484
|
//# sourceMappingURL=index.mjs.map
|