@passly-nl/data 1.0.0-beta.3 → 1.0.0-beta.5
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 +1931 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +16 -12
- package/src/adapter/AddressAdapter.ts +11 -11
- package/src/adapter/AuthAdapter.ts +27 -27
- package/src/adapter/BuyerAdapter.ts +15 -15
- package/src/adapter/CommonAdapter.ts +5 -5
- package/src/adapter/DateTimeAdapter.ts +7 -1
- package/src/adapter/EventAdapter.ts +134 -134
- package/src/adapter/FileSystemAdapter.ts +6 -6
- package/src/adapter/FinanceAdapter.ts +25 -25
- package/src/adapter/FluxAdapter.ts +9 -9
- package/src/adapter/MerchantAdapter.ts +47 -47
- package/src/adapter/MerchantDashboardAdapter.ts +18 -18
- package/src/adapter/OrderAdapter.ts +36 -36
- package/src/adapter/PaymentAdapter.ts +29 -29
- package/src/adapter/ProductAdapter.ts +17 -17
- package/src/adapter/PublicPayAdapter.ts +6 -6
- package/src/adapter/PublicShopAdapter.ts +82 -82
- package/src/adapter/ReservationAdapter.ts +18 -18
- package/src/adapter/StatisticsAdapter.ts +13 -0
- package/src/adapter/StatisticsBuyersAdapter.ts +28 -0
- package/src/adapter/StatisticsEventsAdapter.ts +16 -0
- package/src/adapter/StatisticsOverviewAdapter.ts +85 -0
- package/src/adapter/StatisticsSalesAdapter.ts +33 -0
- package/src/adapter/TicketAdapter.ts +17 -17
- package/src/adapter/index.ts +5 -0
- package/src/dto/auth/UserDto.ts +1 -1
- package/src/dto/auth/UserTokenDto.ts +2 -2
- package/src/dto/event/EventDto.ts +2 -2
- package/src/dto/event/EventStatisticsFinancialDto.ts +1 -1
- package/src/dto/event/EventStatisticsOrdersDto.ts +1 -1
- package/src/dto/event/EventStatisticsScansDto.ts +1 -1
- package/src/dto/event/ShopDto.ts +2 -2
- package/src/dto/event/ShopElementButtonDto.ts +1 -1
- package/src/dto/event/ShopElementDividerDto.ts +1 -1
- package/src/dto/event/ShopElementDto.ts +1 -1
- package/src/dto/event/ShopElementHeadingDto.ts +2 -2
- package/src/dto/event/ShopElementNoticeDto.ts +2 -2
- package/src/dto/event/ShopElementProductDto.ts +1 -1
- package/src/dto/event/ShopElementTextDto.ts +1 -1
- package/src/dto/event/StockOverviewDto.ts +1 -1
- package/src/dto/event/StockOverviewItemDto.ts +1 -1
- package/src/dto/event/TicketTemplateDto.ts +2 -2
- package/src/dto/finance/FinanceOverviewDto.ts +1 -1
- package/src/dto/finance/InvoiceDto.ts +2 -2
- package/src/dto/finance/InvoiceLineDto.ts +2 -2
- package/src/dto/index.ts +1 -0
- package/src/dto/merchant/ContractDto.ts +1 -1
- package/src/dto/merchant/InvitationDto.ts +2 -2
- package/src/dto/merchant/MerchantDashboardKeyMetricsDto.ts +1 -1
- package/src/dto/merchant/MerchantDashboardUpcomingEventDto.ts +2 -2
- package/src/dto/merchant/MerchantDto.ts +1 -1
- package/src/dto/merchant/MerchantUserDto.ts +1 -1
- package/src/dto/order/BuyerDto.ts +2 -2
- package/src/dto/order/OrderDto.ts +2 -2
- package/src/dto/order/OrderLineDto.ts +1 -1
- package/src/dto/payment/PaymentProviderDto.ts +2 -2
- package/src/dto/payment/TransactionDto.ts +2 -2
- package/src/dto/product/ProductDto.ts +2 -2
- package/src/dto/publicShop/PublicShopDto.ts +2 -2
- package/src/dto/publicShop/PublicShopElementButtonDto.ts +1 -1
- package/src/dto/publicShop/PublicShopElementDividerDto.ts +1 -1
- package/src/dto/publicShop/PublicShopElementDto.ts +1 -1
- package/src/dto/publicShop/PublicShopElementHeadingDto.ts +2 -2
- package/src/dto/publicShop/PublicShopElementNoticeDto.ts +2 -2
- package/src/dto/publicShop/PublicShopElementProductDto.ts +1 -1
- package/src/dto/publicShop/PublicShopElementTextDto.ts +1 -1
- package/src/dto/publicShop/PublicShopEventDto.ts +2 -2
- package/src/dto/publicShop/PublicShopProductDto.ts +2 -2
- package/src/dto/publicShop/PublicShopReservationDto.ts +1 -1
- package/src/dto/publicShop/PublicShopReservationProductDetailsDto.ts +1 -1
- package/src/dto/publicShop/PublicShopReservationProductDto.ts +1 -1
- package/src/dto/reservation/ReservationDto.ts +1 -1
- package/src/dto/reservation/ReservationItemDto.ts +1 -1
- package/src/dto/reservation/ReservationProductDto.ts +1 -1
- package/src/dto/statistics/StatisticsBuyersOverviewDto.ts +69 -0
- package/src/dto/statistics/StatisticsBuyersRankedDto.ts +69 -0
- package/src/dto/statistics/StatisticsEventsOverviewDto.ts +59 -0
- package/src/dto/statistics/StatisticsOverviewBestRevenueMonthDto.ts +50 -0
- package/src/dto/statistics/StatisticsOverviewEventPerformanceDto.ts +29 -0
- package/src/dto/statistics/StatisticsOverviewEventPerformanceEventDto.ts +141 -0
- package/src/dto/statistics/StatisticsOverviewEventPerformanceSummaryDto.ts +59 -0
- package/src/dto/statistics/StatisticsOverviewKPIsDto.ts +70 -0
- package/src/dto/statistics/StatisticsOverviewKPIsTotalEventsHostedDto.ts +48 -0
- package/src/dto/statistics/StatisticsOverviewKPIsTotalRevenueDto.ts +30 -0
- package/src/dto/statistics/StatisticsOverviewKPIsTotalTicketsSoldDto.ts +29 -0
- package/src/dto/statistics/StatisticsSalesLifetimeTotalsDto.ts +59 -0
- package/src/dto/statistics/StatisticsSalesPurchaseBehaviorDto.ts +49 -0
- package/src/dto/statistics/StatisticsSalesTransactionSuccessRateDto.ts +39 -0
- package/src/dto/statistics/StatisticsTrendDto.ts +38 -0
- package/src/dto/statistics/index.ts +15 -0
- package/src/dto/ticket/TicketDto.ts +2 -2
- package/src/service/AuthService.ts +6 -6
- package/src/service/InvitationService.ts +5 -5
- package/src/service/MeService.ts +10 -10
- package/src/service/MerchantBuyerService.ts +5 -5
- package/src/service/MerchantBuyersService.ts +3 -3
- package/src/service/MerchantDashboardService.ts +4 -4
- package/src/service/MerchantEventProductService.ts +5 -5
- package/src/service/MerchantEventProductsService.ts +5 -5
- package/src/service/MerchantEventService.ts +12 -12
- package/src/service/MerchantEventShopService.ts +7 -7
- package/src/service/MerchantEventShopsService.ts +5 -5
- package/src/service/MerchantEventStatisticsService.ts +8 -8
- package/src/service/MerchantEventStockPoolsService.ts +6 -6
- package/src/service/MerchantEventTicketTemplateService.ts +8 -8
- package/src/service/MerchantEventTicketTemplatesService.ts +7 -7
- package/src/service/MerchantEventsService.ts +4 -4
- package/src/service/MerchantFinanceInvoiceService.ts +3 -3
- package/src/service/MerchantFinanceInvoicesService.ts +3 -3
- package/src/service/MerchantFinanceService.ts +6 -6
- package/src/service/MerchantOrderService.ts +4 -4
- package/src/service/MerchantOrdersService.ts +3 -3
- package/src/service/MerchantService.ts +12 -12
- package/src/service/MerchantStatisticsBuyersService.ts +87 -0
- package/src/service/MerchantStatisticsEventsService.ts +15 -0
- package/src/service/MerchantStatisticsOverviewService.ts +56 -0
- package/src/service/MerchantStatisticsSalesService.ts +67 -0
- package/src/service/MerchantStatisticsService.ts +2 -2
- package/src/service/MerchantTicketService.ts +3 -3
- package/src/service/MerchantTicketsService.ts +3 -3
- package/src/service/MerchantUsersService.ts +5 -5
- package/src/service/MerchantsService.ts +3 -3
- package/src/service/PublicOrderService.ts +5 -5
- package/src/service/PublicShopService.ts +6 -6
- package/src/service/ReservationService.ts +3 -3
- package/src/service/ServicesService.ts +1 -1
- package/src/service/UiSelectOptionsService.ts +13 -3
- package/src/service/index.ts +4 -0
- package/src/types/event.ts +5 -0
- package/dist/adapter/AddressAdapter.d.ts +0 -3
- package/dist/adapter/AuthAdapter.d.ts +0 -6
- package/dist/adapter/BuyerAdapter.d.ts +0 -4
- package/dist/adapter/CommonAdapter.d.ts +0 -4
- package/dist/adapter/DateTimeAdapter.d.ts +0 -4
- package/dist/adapter/EventAdapter.d.ts +0 -22
- package/dist/adapter/FileSystemAdapter.d.ts +0 -4
- package/dist/adapter/FinanceAdapter.d.ts +0 -6
- package/dist/adapter/FluxAdapter.d.ts +0 -6
- package/dist/adapter/MerchantAdapter.d.ts +0 -8
- package/dist/adapter/MerchantDashboardAdapter.d.ts +0 -5
- package/dist/adapter/OrderAdapter.d.ts +0 -7
- package/dist/adapter/PaymentAdapter.d.ts +0 -7
- package/dist/adapter/ProductAdapter.d.ts +0 -4
- package/dist/adapter/PublicPayAdapter.d.ts +0 -4
- package/dist/adapter/PublicShopAdapter.d.ts +0 -13
- package/dist/adapter/ReservationAdapter.d.ts +0 -6
- package/dist/adapter/TicketAdapter.d.ts +0 -4
- package/dist/adapter/index.d.ts +0 -18
- package/dist/dto/address/AddressDto.d.ts +0 -20
- package/dist/dto/address/index.d.ts +0 -1
- package/dist/dto/auth/TotpStateDto.d.ts +0 -10
- package/dist/dto/auth/UserDto.d.ts +0 -23
- package/dist/dto/auth/UserTokenDto.d.ts +0 -23
- package/dist/dto/auth/index.d.ts +0 -3
- package/dist/dto/common/StatusResponseDto.d.ts +0 -8
- package/dist/dto/common/index.d.ts +0 -1
- package/dist/dto/event/EventAvailabilityDto.d.ts +0 -14
- package/dist/dto/event/EventCountersDto.d.ts +0 -10
- package/dist/dto/event/EventDto.d.ts +0 -29
- package/dist/dto/event/EventStatisticsAttendanceDto.d.ts +0 -10
- package/dist/dto/event/EventStatisticsBuyerTotalsDto.d.ts +0 -14
- package/dist/dto/event/EventStatisticsFinancialDto.d.ts +0 -9
- package/dist/dto/event/EventStatisticsOrderTotalsDto.d.ts +0 -12
- package/dist/dto/event/EventStatisticsOrdersDto.d.ts +0 -10
- package/dist/dto/event/EventStatisticsScanTotalsDto.d.ts +0 -10
- package/dist/dto/event/EventStatisticsScansDto.d.ts +0 -12
- package/dist/dto/event/EventStatisticsScansPerAppTeamDto.d.ts +0 -10
- package/dist/dto/event/EventStatisticsSwapTotalsDto.d.ts +0 -10
- package/dist/dto/event/ShopDesignDto.d.ts +0 -10
- package/dist/dto/event/ShopDto.d.ts +0 -35
- package/dist/dto/event/ShopElementButtonDto.d.ts +0 -12
- package/dist/dto/event/ShopElementDividerDto.d.ts +0 -10
- package/dist/dto/event/ShopElementDto.d.ts +0 -9
- package/dist/dto/event/ShopElementHeadingDto.d.ts +0 -10
- package/dist/dto/event/ShopElementNoticeDto.d.ts +0 -15
- package/dist/dto/event/ShopElementProductDto.d.ts +0 -7
- package/dist/dto/event/ShopElementTextDto.d.ts +0 -7
- package/dist/dto/event/StockOverviewDto.d.ts +0 -13
- package/dist/dto/event/StockOverviewItemDto.d.ts +0 -13
- package/dist/dto/event/StockPoolDto.d.ts +0 -25
- package/dist/dto/event/TicketTemplateDto.d.ts +0 -18
- package/dist/dto/event/index.d.ts +0 -25
- package/dist/dto/fileSystem/PictureDto.d.ts +0 -10
- package/dist/dto/fileSystem/index.d.ts +0 -1
- package/dist/dto/finance/FinanceOverviewDto.d.ts +0 -13
- package/dist/dto/finance/InvoiceDto.d.ts +0 -25
- package/dist/dto/finance/InvoiceLineDto.d.ts +0 -17
- package/dist/dto/finance/index.d.ts +0 -3
- package/dist/dto/index.d.ts +0 -14
- package/dist/dto/merchant/ContractDto.d.ts +0 -16
- package/dist/dto/merchant/InvitationDto.d.ts +0 -25
- package/dist/dto/merchant/MerchantDashboardKeyMetricsDto.d.ts +0 -22
- package/dist/dto/merchant/MerchantDashboardUpcomingEventDto.d.ts +0 -25
- package/dist/dto/merchant/MerchantDto.d.ts +0 -32
- package/dist/dto/merchant/MerchantUserDto.d.ts +0 -14
- package/dist/dto/merchant/VatNumberDto.d.ts +0 -19
- package/dist/dto/merchant/index.d.ts +0 -7
- package/dist/dto/order/BuyerDto.d.ts +0 -27
- package/dist/dto/order/OrderDto.d.ts +0 -37
- package/dist/dto/order/OrderLineDto.d.ts +0 -20
- package/dist/dto/order/OrderPaymentProviderDto.d.ts +0 -8
- package/dist/dto/order/OrderProductDto.d.ts +0 -12
- package/dist/dto/order/index.d.ts +0 -5
- package/dist/dto/payment/CostDto.d.ts +0 -16
- package/dist/dto/payment/PaymentMethodDto.d.ts +0 -10
- package/dist/dto/payment/PaymentProviderDto.d.ts +0 -12
- package/dist/dto/payment/TransactionDto.d.ts +0 -24
- package/dist/dto/payment/index.d.ts +0 -4
- package/dist/dto/product/ProductDto.d.ts +0 -30
- package/dist/dto/product/index.d.ts +0 -1
- package/dist/dto/publicPay/PublicPaymentMethodDto.d.ts +0 -10
- package/dist/dto/publicPay/index.d.ts +0 -1
- package/dist/dto/publicShop/PublicShopCartProductDto.d.ts +0 -10
- package/dist/dto/publicShop/PublicShopDesignDto.d.ts +0 -10
- package/dist/dto/publicShop/PublicShopDto.d.ts +0 -31
- package/dist/dto/publicShop/PublicShopElementButtonDto.d.ts +0 -12
- package/dist/dto/publicShop/PublicShopElementDividerDto.d.ts +0 -10
- package/dist/dto/publicShop/PublicShopElementDto.d.ts +0 -9
- package/dist/dto/publicShop/PublicShopElementHeadingDto.d.ts +0 -10
- package/dist/dto/publicShop/PublicShopElementNoticeDto.d.ts +0 -15
- package/dist/dto/publicShop/PublicShopElementProductDto.d.ts +0 -7
- package/dist/dto/publicShop/PublicShopElementTextDto.d.ts +0 -7
- package/dist/dto/publicShop/PublicShopEventDto.d.ts +0 -16
- package/dist/dto/publicShop/PublicShopMerchantDto.d.ts +0 -8
- package/dist/dto/publicShop/PublicShopProductDto.d.ts +0 -28
- package/dist/dto/publicShop/PublicShopReservationDto.d.ts +0 -14
- package/dist/dto/publicShop/PublicShopReservationProductDetailsDto.d.ts +0 -13
- package/dist/dto/publicShop/PublicShopReservationProductDto.d.ts +0 -9
- package/dist/dto/publicShop/PublicShopTimeSlotDto.d.ts +0 -15
- package/dist/dto/publicShop/index.d.ts +0 -17
- package/dist/dto/reservation/ReservationDto.d.ts +0 -16
- package/dist/dto/reservation/ReservationItemDto.d.ts +0 -9
- package/dist/dto/reservation/ReservationProductDto.d.ts +0 -13
- package/dist/dto/reservation/index.d.ts +0 -3
- package/dist/dto/ticket/TicketDto.d.ts +0 -31
- package/dist/dto/ticket/index.d.ts +0 -1
- package/dist/index.d.ts +0 -5
- package/dist/index.js +0 -4
- package/dist/index.js.map +0 -136
- package/dist/service/AuthService.d.ts +0 -11
- package/dist/service/InvitationService.d.ts +0 -7
- package/dist/service/MeService.d.ts +0 -12
- package/dist/service/MerchantBuyerService.d.ts +0 -7
- package/dist/service/MerchantBuyersService.d.ts +0 -5
- package/dist/service/MerchantDashboardService.d.ts +0 -6
- package/dist/service/MerchantEventProductService.d.ts +0 -10
- package/dist/service/MerchantEventProductsService.d.ts +0 -8
- package/dist/service/MerchantEventService.d.ts +0 -13
- package/dist/service/MerchantEventShopService.d.ts +0 -9
- package/dist/service/MerchantEventShopsService.d.ts +0 -8
- package/dist/service/MerchantEventStatisticsService.d.ts +0 -10
- package/dist/service/MerchantEventStockPoolsService.d.ts +0 -9
- package/dist/service/MerchantEventTicketTemplateService.d.ts +0 -11
- package/dist/service/MerchantEventTicketTemplatesService.d.ts +0 -9
- package/dist/service/MerchantEventsService.d.ts +0 -7
- package/dist/service/MerchantFinanceInvoiceService.d.ts +0 -6
- package/dist/service/MerchantFinanceInvoicesService.d.ts +0 -5
- package/dist/service/MerchantFinanceService.d.ts +0 -8
- package/dist/service/MerchantOrderService.d.ts +0 -9
- package/dist/service/MerchantOrdersService.d.ts +0 -5
- package/dist/service/MerchantService.d.ts +0 -14
- package/dist/service/MerchantStatisticsService.d.ts +0 -5
- package/dist/service/MerchantTicketService.d.ts +0 -7
- package/dist/service/MerchantTicketsService.d.ts +0 -5
- package/dist/service/MerchantUsersService.d.ts +0 -7
- package/dist/service/MerchantsService.d.ts +0 -5
- package/dist/service/PublicOrderService.d.ts +0 -7
- package/dist/service/PublicShopService.d.ts +0 -9
- package/dist/service/ReservationService.d.ts +0 -6
- package/dist/service/ServicesService.d.ts +0 -9
- package/dist/service/UiSelectOptionsService.d.ts +0 -6
- package/dist/service/index.d.ts +0 -32
- package/dist/types/auth.d.ts +0 -47
- package/dist/types/event.d.ts +0 -28
- package/dist/types/finance.d.ts +0 -14
- package/dist/types/general.d.ts +0 -19
- package/dist/types/index.d.ts +0 -9
- package/dist/types/order.d.ts +0 -7
- package/dist/types/payment.d.ts +0 -11
- package/dist/types/product.d.ts +0 -2
- package/dist/types/publicShop.d.ts +0 -7
- package/dist/types/ticket.d.ts +0 -12
- package/dist/util/emptyNull.d.ts +0 -1
- package/dist/util/index.d.ts +0 -4
- package/dist/util/jsonBlob.d.ts +0 -1
- package/dist/util/optional.d.ts +0 -4
- package/dist/util/optionalArray.d.ts +0 -1
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { FluxIconName } from "@flux-ui/types";
|
|
2
|
-
import { PublicShopElementDto } from "../../dto";
|
|
3
|
-
export declare class PublicShopElementDividerDto extends PublicShopElementDto {
|
|
4
|
-
#private;
|
|
5
|
-
get icon(): FluxIconName | null;
|
|
6
|
-
set icon(value: FluxIconName | null);
|
|
7
|
-
get text(): string | null;
|
|
8
|
-
set text(value: string | null);
|
|
9
|
-
constructor(id: string, icon: FluxIconName | null, text: string | null);
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { PublicShopElementType } from "../../types";
|
|
2
|
-
export declare abstract class PublicShopElementDto {
|
|
3
|
-
#private;
|
|
4
|
-
get id(): string;
|
|
5
|
-
set id(value: string);
|
|
6
|
-
get type(): PublicShopElementType;
|
|
7
|
-
set type(value: PublicShopElementType);
|
|
8
|
-
protected constructor(id: string, type: PublicShopElementType);
|
|
9
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PublicShopElementDto } from "../../dto";
|
|
2
|
-
import type { HeadingLevel } from "../../types";
|
|
3
|
-
export declare class PublicShopElementHeadingDto extends PublicShopElementDto {
|
|
4
|
-
#private;
|
|
5
|
-
get headingLevel(): HeadingLevel;
|
|
6
|
-
set headingLevel(value: HeadingLevel);
|
|
7
|
-
get title(): string;
|
|
8
|
-
set title(value: string);
|
|
9
|
-
constructor(id: string, headingLevel: HeadingLevel, title: string);
|
|
10
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { FluxIconName } from "@flux-ui/types";
|
|
2
|
-
import { PublicShopElementDto } from "../../dto";
|
|
3
|
-
import type { NoticeType } from "../../types";
|
|
4
|
-
export declare class PublicShopElementNoticeDto extends PublicShopElementDto {
|
|
5
|
-
#private;
|
|
6
|
-
get icon(): FluxIconName;
|
|
7
|
-
set icon(value: FluxIconName);
|
|
8
|
-
get noticeType(): NoticeType;
|
|
9
|
-
set noticeType(value: NoticeType);
|
|
10
|
-
get title(): string | null;
|
|
11
|
-
set title(value: string | null);
|
|
12
|
-
get text(): string;
|
|
13
|
-
set text(value: string);
|
|
14
|
-
constructor(id: string, icon: FluxIconName, noticeType: NoticeType, title: string | null, text: string);
|
|
15
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PublicShopElementDto, type PublicShopProductDto } from "../../dto";
|
|
2
|
-
export declare class PublicShopElementProductDto extends PublicShopElementDto {
|
|
3
|
-
#private;
|
|
4
|
-
get product(): PublicShopProductDto;
|
|
5
|
-
set product(value: PublicShopProductDto);
|
|
6
|
-
constructor(id: string, product: PublicShopProductDto);
|
|
7
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { AddressDto, PictureDto } from "../../dto";
|
|
2
|
-
import type { EventStatus } from "../../types";
|
|
3
|
-
export declare class PublicShopEventDto {
|
|
4
|
-
#private;
|
|
5
|
-
get id(): string;
|
|
6
|
-
set id(value: string);
|
|
7
|
-
get name(): string;
|
|
8
|
-
set name(value: string);
|
|
9
|
-
get status(): EventStatus;
|
|
10
|
-
set status(value: EventStatus);
|
|
11
|
-
get address(): AddressDto;
|
|
12
|
-
set address(value: AddressDto);
|
|
13
|
-
get headerFile(): PictureDto | null;
|
|
14
|
-
set headerFile(value: PictureDto | null);
|
|
15
|
-
constructor(id: string, name: string, status: EventStatus, address: AddressDto, headerFile: PictureDto | null);
|
|
16
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { CostDto, PictureDto, PublicShopTimeSlotDto } from "../../dto";
|
|
2
|
-
import type { ProductType } from "../../types";
|
|
3
|
-
export declare class PublicShopProductDto {
|
|
4
|
-
#private;
|
|
5
|
-
get id(): string;
|
|
6
|
-
set id(value: string);
|
|
7
|
-
get type(): ProductType;
|
|
8
|
-
set type(value: ProductType);
|
|
9
|
-
get name(): string;
|
|
10
|
-
set name(value: string);
|
|
11
|
-
get description(): string;
|
|
12
|
-
set description(value: string);
|
|
13
|
-
get price(): CostDto;
|
|
14
|
-
set price(value: CostDto);
|
|
15
|
-
get maxQuantity(): number;
|
|
16
|
-
set maxQuantity(value: number);
|
|
17
|
-
get isActive(): boolean;
|
|
18
|
-
set isActive(value: boolean);
|
|
19
|
-
get isTimeslotted(): boolean;
|
|
20
|
-
set isTimeslotted(value: boolean);
|
|
21
|
-
get timeSlots(): PublicShopTimeSlotDto[];
|
|
22
|
-
set timeSlots(value: PublicShopTimeSlotDto[]);
|
|
23
|
-
get image(): PictureDto | null;
|
|
24
|
-
set image(value: PictureDto | null);
|
|
25
|
-
get images(): PictureDto[];
|
|
26
|
-
set images(value: PictureDto[]);
|
|
27
|
-
constructor(id: string, type: ProductType, name: string, description: string, price: CostDto, maxQuantity: number, isActive: boolean, isTimeslotted: boolean, timeSlots: PublicShopTimeSlotDto[], image: PictureDto | null, images: PictureDto[]);
|
|
28
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { DateTime } from "luxon";
|
|
2
|
-
import type { PublicShopReservationProductDto } from "../../dto";
|
|
3
|
-
export declare class PublicShopReservationDto {
|
|
4
|
-
#private;
|
|
5
|
-
get id(): string;
|
|
6
|
-
set id(value: string);
|
|
7
|
-
get createdOn(): DateTime;
|
|
8
|
-
set createdOn(value: DateTime);
|
|
9
|
-
get expiresOn(): DateTime;
|
|
10
|
-
set expiresOn(value: DateTime);
|
|
11
|
-
get products(): PublicShopReservationProductDto[];
|
|
12
|
-
set products(value: PublicShopReservationProductDto[]);
|
|
13
|
-
constructor(id: string, createdOn: DateTime, expiresOn: DateTime, products: PublicShopReservationProductDto[]);
|
|
14
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { PictureDto } from "../../dto";
|
|
2
|
-
export declare class PublicShopReservationProductDetailsDto {
|
|
3
|
-
#private;
|
|
4
|
-
get id(): string;
|
|
5
|
-
set id(value: string);
|
|
6
|
-
get name(): string;
|
|
7
|
-
set name(value: string);
|
|
8
|
-
get description(): string;
|
|
9
|
-
set description(value: string);
|
|
10
|
-
get image(): PictureDto;
|
|
11
|
-
set image(value: PictureDto);
|
|
12
|
-
constructor(id: string, name: string, description: string, image: PictureDto);
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { PublicShopReservationProductDetailsDto } from "../../dto";
|
|
2
|
-
export declare class PublicShopReservationProductDto {
|
|
3
|
-
#private;
|
|
4
|
-
get product(): PublicShopReservationProductDetailsDto;
|
|
5
|
-
set product(value: PublicShopReservationProductDetailsDto);
|
|
6
|
-
get quantity(): number;
|
|
7
|
-
set quantity(value: number);
|
|
8
|
-
constructor(product: PublicShopReservationProductDetailsDto, quantity: number);
|
|
9
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { DateTime } from "luxon";
|
|
2
|
-
export declare class PublicShopTimeSlotDto {
|
|
3
|
-
#private;
|
|
4
|
-
get id(): string;
|
|
5
|
-
set id(value: string);
|
|
6
|
-
get label(): string | null;
|
|
7
|
-
set label(value: string | null);
|
|
8
|
-
get fromTime(): DateTime;
|
|
9
|
-
set fromTime(value: DateTime);
|
|
10
|
-
get toTime(): DateTime;
|
|
11
|
-
set toTime(value: DateTime);
|
|
12
|
-
get maxQuantity(): number;
|
|
13
|
-
set maxQuantity(value: number);
|
|
14
|
-
constructor(id: string, label: string | null, fromTime: DateTime, toTime: DateTime, maxQuantity: number);
|
|
15
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export * from "./PublicShopCartProductDto";
|
|
2
|
-
export * from "./PublicShopDesignDto";
|
|
3
|
-
export * from "./PublicShopDto";
|
|
4
|
-
export * from "./PublicShopElementDto";
|
|
5
|
-
export * from "./PublicShopElementButtonDto";
|
|
6
|
-
export * from "./PublicShopElementDividerDto";
|
|
7
|
-
export * from "./PublicShopElementHeadingDto";
|
|
8
|
-
export * from "./PublicShopElementNoticeDto";
|
|
9
|
-
export * from "./PublicShopElementProductDto";
|
|
10
|
-
export * from "./PublicShopElementTextDto";
|
|
11
|
-
export * from "./PublicShopEventDto";
|
|
12
|
-
export * from "./PublicShopMerchantDto";
|
|
13
|
-
export * from "./PublicShopProductDto";
|
|
14
|
-
export * from "./PublicShopReservationDto";
|
|
15
|
-
export * from "./PublicShopReservationProductDto";
|
|
16
|
-
export * from "./PublicShopReservationProductDetailsDto";
|
|
17
|
-
export * from "./PublicShopTimeSlotDto";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { DateTime } from "luxon";
|
|
2
|
-
import type { ReservationItemDto } from "../../dto";
|
|
3
|
-
export declare class ReservationDto {
|
|
4
|
-
#private;
|
|
5
|
-
get id(): string;
|
|
6
|
-
set id(value: string);
|
|
7
|
-
get createdOn(): DateTime;
|
|
8
|
-
set createdOn(value: DateTime);
|
|
9
|
-
get expiresOn(): DateTime;
|
|
10
|
-
set expiresOn(value: DateTime);
|
|
11
|
-
get isExpired(): boolean;
|
|
12
|
-
set isExpired(value: boolean);
|
|
13
|
-
get items(): ReservationItemDto[];
|
|
14
|
-
set items(value: ReservationItemDto[]);
|
|
15
|
-
constructor(id: string, createdOn: DateTime, expiresOn: DateTime, isExpired: boolean, items: ReservationItemDto[]);
|
|
16
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ReservationProductDto } from "../../dto";
|
|
2
|
-
export declare class ReservationItemDto {
|
|
3
|
-
#private;
|
|
4
|
-
get quantity(): number;
|
|
5
|
-
set quantity(value: number);
|
|
6
|
-
get product(): ReservationProductDto;
|
|
7
|
-
set product(value: ReservationProductDto);
|
|
8
|
-
constructor(quantity: number, product: ReservationProductDto);
|
|
9
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { PictureDto } from "../../dto";
|
|
2
|
-
export declare class ReservationProductDto {
|
|
3
|
-
#private;
|
|
4
|
-
get id(): string;
|
|
5
|
-
set id(value: string);
|
|
6
|
-
get name(): string;
|
|
7
|
-
set name(value: string);
|
|
8
|
-
get description(): string;
|
|
9
|
-
set description(value: string);
|
|
10
|
-
get image(): PictureDto | null;
|
|
11
|
-
set image(value: PictureDto | null);
|
|
12
|
-
constructor(id: string, name: string, description: string, image: PictureDto | null);
|
|
13
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { DateTime } from "luxon";
|
|
2
|
-
import type { BuyerDto, EventDto, OrderDto, ProductDto } from "../../dto";
|
|
3
|
-
import type { ScanStatus, TicketValidity } from "../../types";
|
|
4
|
-
export declare class TicketDto {
|
|
5
|
-
#private;
|
|
6
|
-
get id(): string;
|
|
7
|
-
set id(value: string);
|
|
8
|
-
get sequence(): number;
|
|
9
|
-
set sequence(value: number);
|
|
10
|
-
get code(): string;
|
|
11
|
-
set code(value: string);
|
|
12
|
-
get status(): ScanStatus;
|
|
13
|
-
set status(value: ScanStatus);
|
|
14
|
-
get validity(): TicketValidity;
|
|
15
|
-
set validity(value: TicketValidity);
|
|
16
|
-
get buyer(): BuyerDto;
|
|
17
|
-
set buyer(value: BuyerDto);
|
|
18
|
-
get event(): EventDto;
|
|
19
|
-
set event(value: EventDto);
|
|
20
|
-
get holder(): BuyerDto | null;
|
|
21
|
-
set holder(value: BuyerDto | null);
|
|
22
|
-
get order(): OrderDto;
|
|
23
|
-
set order(value: OrderDto);
|
|
24
|
-
get product(): ProductDto;
|
|
25
|
-
set product(value: ProductDto);
|
|
26
|
-
get createdOn(): DateTime;
|
|
27
|
-
set createdOn(value: DateTime);
|
|
28
|
-
get updatedOn(): DateTime;
|
|
29
|
-
set updatedOn(value: DateTime);
|
|
30
|
-
constructor(id: string, sequence: number, code: string, status: ScanStatus, validity: TicketValidity, buyer: BuyerDto, event: EventDto, holder: BuyerDto | null, order: OrderDto, product: ProductDto, createdOn: DateTime, updatedOn: DateTime);
|
|
31
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { TicketDto } from "./TicketDto";
|
package/dist/index.d.ts
DELETED
package/dist/index.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var s=function(t,e,r,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")o=Reflect.decorate(t,e,r,i);else for(var p=t.length-1;p>=0;p--)if(a=t[p])o=(n<3?a(o):n>3?a(e,r,o):a(e,r))||o;return n>3&&o&&Object.defineProperty(e,r,o),o};import{adapter as Gr}from"@basmilius/http-client";import{dto as qe}from"@basmilius/http-client";class V{get id(){return this.#t}set id(t){this.#t=t}get label(){return this.#e}set label(t){this.#e=t}get street(){return this.#r}set street(t){this.#r=t}get number(){return this.#s}set number(t){this.#s=t}get postalCode(){return this.#i}set postalCode(t){this.#i=t}get city(){return this.#n}set city(t){this.#n=t}get country(){return this.#o}set country(t){this.#o=t}get formatted(){return this.#a}set formatted(t){this.#a=t}#t;#e;#r;#s;#i;#n;#o;#a;constructor(t,e,r,i,n,o,a,p){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a,this.#a=p}}V=s([qe],V);import{dto as Be}from"@basmilius/http-client";class H{get enabled(){return this.#t}set enabled(t){this.#t=t}get secret(){return this.#e}set secret(t){this.#e=t}get qr(){return this.#r}set qr(t){this.#r=t}#t;#e;#r;constructor(t,e,r){this.#t=t,this.#e=e,this.#r=r}}H=s([Be],H);import{dto as ke}from"@basmilius/http-client";class W{get id(){return this.#t}set id(t){this.#t=t}get email(){return this.#e}set email(t){this.#e=t}get firstName(){return this.#r}set firstName(t){this.#r=t}get lastName(){return this.#s}set lastName(t){this.#s=t}get fullName(){return this.#i}set fullName(t){this.#i=t}get initials(){return this.#n}set initials(t){this.#n=t}get phoneNumber(){return this.#o}set phoneNumber(t){this.#o=t}get isOnline(){return this.#a}set isOnline(t){this.#a=t}get picture(){return this.#u}set picture(t){this.#u=t}#t;#e;#r;#s;#i;#n;#o;#a;#u;constructor(t,e,r,i,n,o,a,p,h){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a,this.#a=p,this.#u=h}}W=s([ke],W);import{dto as Ce}from"@basmilius/http-client";class z{get token(){return this.#t}set token(t){this.#t=t}get type(){return this.#e}set type(t){this.#e=t}get browser(){return this.#r}set browser(t){this.#r=t}get operatingSystem(){return this.#s}set operatingSystem(t){this.#s=t}get createdOn(){return this.#i}set createdOn(t){this.#i=t}get expiresOn(){return this.#n}set expiresOn(t){this.#n=t}get realtimeChannel(){return this.#o}set realtimeChannel(t){this.#o=t}get user(){return this.#a}set user(t){this.#a=t}#t;#e;#r;#s;#i;#n;#o;#a;constructor(t,e,r,i,n,o,a,p){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a,this.#a=p}}z=s([Ce],z);import{dto as ve}from"@basmilius/http-client";class J{get message(){return this.#t}set message(t){this.#t=t}get status(){return this.#e}set status(t){this.#e=t}#t;#e;constructor(t,e){this.#t=t,this.#e=e}}J=s([ve],J);import{dto as je}from"@basmilius/http-client";class K{get hasProducts(){return this.#t}set hasProducts(t){this.#t=t}get hasShops(){return this.#e}set hasShops(t){this.#e=t}get hasShopsWithProducts(){return this.#r}set hasShopsWithProducts(t){this.#r=t}get isPublishable(){return this.#s}set isPublishable(t){this.#s=t}get isPublished(){return this.#i}set isPublished(t){this.#i=t}#t;#e;#r;#s;#i;constructor(t,e,r,i,n){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n}}K=s([je],K);import{dto as $e}from"@basmilius/http-client";class Z{get guests(){return this.#t}set guests(t){this.#t=t}get orders(){return this.#e}set orders(t){this.#e=t}get tickets(){return this.#r}set tickets(t){this.#r=t}#t;#e;#r;constructor(t,e,r){this.#t=t,this.#e=e,this.#r=r}}Z=s([$e],Z);import{dto as Ae}from"@basmilius/http-client";class X{get id(){return this.#t}set id(t){this.#t=t}get name(){return this.#e}set name(t){this.#e=t}get description(){return this.#r}set description(t){this.#r=t}get startsOn(){return this.#s}set startsOn(t){this.#s=t}get endsOn(){return this.#i}set endsOn(t){this.#i=t}get minimumAge(){return this.#n}set minimumAge(t){this.#n=t}get status(){return this.#o}set status(t){this.#o=t}get address(){return this.#a}set address(t){this.#a=t}get headerFile(){return this.#u}set headerFile(t){this.#u=t}get createdOn(){return this.#m}set createdOn(t){this.#m=t}get updatedOn(){return this.#g}set updatedOn(t){this.#g=t}#t;#e;#r;#s;#i;#n;#o;#a;#u;#m;#g;constructor(t,e,r,i,n,o,a,p,h,D,S){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a,this.#a=p,this.#u=h,this.#m=D,this.#g=S}}X=s([Ae],X);import{dto as _e}from"@basmilius/http-client";class Y{get attended(){return this.#t}set attended(t){this.#t=t}get expected(){return this.#e}set expected(t){this.#e=t}get rate(){return this.#r}set rate(t){this.#r=t}#t;#e;#r;constructor(t,e,r){this.#t=t,this.#e=e,this.#r=r}}Y=s([_e],Y);import{dto as we}from"@basmilius/http-client";class tt{get acquired(){return this.#t}set acquired(t){this.#t=t}get averageTickets(){return this.#e}set averageTickets(t){this.#e=t}get doubting(){return this.#r}set doubting(t){this.#r=t}get returning(){return this.#s}set returning(t){this.#s=t}get total(){return this.#i}set total(t){this.#i=t}#t;#e;#r;#s;#i;constructor(t,e,r,i,n){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n}}tt=s([we],tt);import{dto as Ie}from"@basmilius/http-client";class et{get platformCost(){return this.#t}set platformCost(t){this.#t=t}get revenue(){return this.#e}set revenue(t){this.#e=t}#t;#e;constructor(t,e){this.#t=t,this.#e=e}}et=s([Ie],et);import{dto as Ne}from"@basmilius/http-client";class rt{get chart(){return this.#t}set chart(t){this.#t=t}get totals(){return this.#e}set totals(t){this.#e=t}#t;#e;constructor(t,e){this.#t=t,this.#e=e}}rt=s([Ne],rt);import{dto as Ee}from"@basmilius/http-client";class st{get fulfilled(){return this.#t}set fulfilled(t){this.#t=t}get interrupted(){return this.#e}set interrupted(t){this.#e=t}get pending(){return this.#r}set pending(t){this.#r=t}get total(){return this.#s}set total(t){this.#s=t}#t;#e;#r;#s;constructor(t,e,r,i){this.#t=t,this.#e=e,this.#r=r,this.#s=i}}st=s([Ee],st);import{dto as Me}from"@basmilius/http-client";class it{get appTeams(){return this.#t}set appTeams(t){this.#t=t}get chart(){return this.#e}set chart(t){this.#e=t}get totals(){return this.#r}set totals(t){this.#r=t}#t;#e;#r;constructor(t,e,r){this.#t=t,this.#e=e,this.#r=r}}it=s([Me],it);import{dto as Ue}from"@basmilius/http-client";class nt{get id(){return this.#t}set id(t){this.#t=t}get name(){return this.#e}set name(t){this.#e=t}get scans(){return this.#r}set scans(t){this.#r=t}#t;#e;#r;constructor(t,e,r){this.#t=t,this.#e=e,this.#r=r}}nt=s([Ue],nt);import{dto as Qe}from"@basmilius/http-client";class ot{get total(){return this.#t}set total(t){this.#t=t}get checkins(){return this.#e}set checkins(t){this.#e=t}get checkouts(){return this.#r}set checkouts(t){this.#r=t}#t;#e;#r;constructor(t,e,r){this.#t=t,this.#e=e,this.#r=r}}ot=s([Qe],ot);import{dto as Le}from"@basmilius/http-client";class at{get swaps(){return this.#t}set swaps(t){this.#t=t}get tickets(){return this.#e}set tickets(t){this.#e=t}get rate(){return this.#r}set rate(t){this.#r=t}#t;#e;#r;constructor(t,e,r){this.#t=t,this.#e=e,this.#r=r}}at=s([Le],at);import{dto as Ge}from"@basmilius/http-client";class ut{get backgroundColor(){return this.#t}set backgroundColor(t){this.#t=t}get foregroundColor(){return this.#e}set foregroundColor(t){this.#e=t}get primaryColor(){return this.#r}set primaryColor(t){this.#r=t}#t;#e;#r;constructor(t,e,r){this.#t=t,this.#e=e,this.#r=r}}ut=s([Ge],ut);import{dto as Ve}from"@basmilius/http-client";class mt{get id(){return this.#t}set id(t){this.#t=t}get name(){return this.#e}set name(t){this.#e=t}get isPublished(){return this.#r}set isPublished(t){this.#r=t}get password(){return this.#s}set password(t){this.#s=t}get startsOn(){return this.#i}set startsOn(t){this.#i=t}get endsOn(){return this.#n}set endsOn(t){this.#n=t}get fieldAddress(){return this.#o}set fieldAddress(t){this.#o=t}get fieldBirthdate(){return this.#a}set fieldBirthdate(t){this.#a=t}get fieldGender(){return this.#u}set fieldGender(t){this.#u=t}get fieldPhoneNumber(){return this.#m}set fieldPhoneNumber(t){this.#m=t}get status(){return this.#g}set status(t){this.#g=t}get design(){return this.#p}set design(t){this.#p=t}get event(){return this.#d}set event(t){this.#d=t}get merchant(){return this.#h}set merchant(t){this.#h=t}#t;#e;#r;#s;#i;#n;#o;#a;#u;#m;#g;#p;#d;#h;constructor(t,e,r,i,n,o,a,p,h,D,S,q,G,me){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a,this.#a=p,this.#u=h,this.#m=D,this.#g=S,this.#p=q,this.#d=G,this.#h=me}}mt=s([Ve],mt);class x{get id(){return this.#t}set id(t){this.#t=t}get type(){return this.#e}set type(t){this.#e=t}#t;#e;constructor(t,e){this.#t=t,this.#e=e}}import{dto as He}from"@basmilius/http-client";class gt extends x{get icon(){return this.#t}set icon(t){this.#t=t}get text(){return this.#e}set text(t){this.#e=t}get url(){return this.#r}set url(t){this.#r=t}#t;#e;#r;constructor(t,e,r,i){super(t,"button");this.#t=e,this.#e=r,this.#r=i}}gt=s([He],gt);import{dto as We}from"@basmilius/http-client";class pt extends x{get icon(){return this.#t}set icon(t){this.#t=t}get text(){return this.#e}set text(t){this.#e=t}#t;#e;constructor(t,e,r){super(t,"divider");this.#t=e,this.#e=r}}pt=s([We],pt);import{dto as ze}from"@basmilius/http-client";class dt extends x{get headingLevel(){return this.#t}set headingLevel(t){this.#t=t}get title(){return this.#e}set title(t){this.#e=t}#t;#e;constructor(t,e,r){super(t,"heading");this.#t=e,this.#e=r}}dt=s([ze],dt);import{dto as Je}from"@basmilius/http-client";class ht extends x{get icon(){return this.#t}set icon(t){this.#t=t}get noticeType(){return this.#e}set noticeType(t){this.#e=t}get title(){return this.#r}set title(t){this.#r=t}get text(){return this.#s}set text(t){this.#s=t}#t;#e;#r;#s;constructor(t,e,r,i,n){super(t,"notice");this.#t=e,this.#e=r,this.#r=i,this.#s=n}}ht=s([Je],ht);import{dto as Ke}from"@basmilius/http-client";class ct extends x{get product(){return this.#t}set product(t){this.#t=t}#t;constructor(t,e){super(t,"product");this.#t=e}}ct=s([Ke],ct);import{dto as Ze}from"@basmilius/http-client";class w extends x{get text(){return this.#t}set text(t){this.#t=t}#t;constructor(t,e){super(t,"text");this.#t=e}}w=s([Ze],w);import{dto as Xe}from"@basmilius/http-client";class lt{get total(){return this.#t}set total(t){this.#t=t}get sold(){return this.#e}set sold(t){this.#e=t}get remaining(){return this.#r}set remaining(t){this.#r=t}get items(){return this.#s}set items(t){this.#s=t}#t;#e;#r;#s;constructor(t,e,r,i){this.#t=t,this.#e=e,this.#r=r,this.#s=i}}lt=s([Xe],lt);import{dto as Ye}from"@basmilius/http-client";class yt{get pool(){return this.#t}set pool(t){this.#t=t}get product(){return this.#e}set product(t){this.#e=t}get remaining(){return this.#r}set remaining(t){this.#r=t}get sold(){return this.#s}set sold(t){this.#s=t}#t;#e;#r;#s;constructor(t,e,r,i){this.#t=t,this.#e=e,this.#r=r,this.#s=i}}yt=s([Ye],yt);import{dto as tr}from"@basmilius/http-client";class bt{get id(){return this.#t}set id(t){this.#t=t}get eventId(){return this.#e}set eventId(t){this.#e=t}get merchantId(){return this.#r}set merchantId(t){this.#r=t}get name(){return this.#s}set name(t){this.#s=t}get remainingStock(){return this.#i}set remainingStock(t){this.#i=t}get stock(){return this.#n}set stock(t){this.#n=t}get isShared(){return this.#o}set isShared(t){this.#o=t}get productNames(){return this.#a}set productNames(t){this.#a=t}get createdOn(){return this.#u}set createdOn(t){this.#u=t}get updatedOn(){return this.#m}set updatedOn(t){this.#m=t}#t;#e;#r;#s;#i;#n;#o;#a;#u;#m;constructor(t,e,r,i,n,o,a,p,h,D){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a,this.#a=p,this.#u=h,this.#m=D}}bt=s([tr],bt);import{dto as er}from"@basmilius/http-client";class Dt{get id(){return this.#t}set id(t){this.#t=t}get name(){return this.#e}set name(t){this.#e=t}get product(){return this.#r}set product(t){this.#r=t}get productId(){return this.#s}set productId(t){this.#s=t}get variant(){return this.#i}set variant(t){this.#i=t}get visual(){return this.#n}set visual(t){this.#n=t}#t;#e;#r;#s;#i;#n;constructor(t,e,r,i,n,o){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o}}Dt=s([er],Dt);import{dto as rr}from"@basmilius/http-client";class ft{get id(){return this.#t}set id(t){this.#t=t}get url(){return this.#e}set url(t){this.#e=t}get variants(){return this.#r}set variants(t){this.#r=t}#t;#e;#r;constructor(t,e,r){this.#t=t,this.#e=e,this.#r=r}}ft=s([rr],ft);import{dto as sr}from"@basmilius/http-client";class Tt{get estimatedPaymentCost(){return this.#t}set estimatedPaymentCost(t){this.#t=t}get orders(){return this.#e}set orders(t){this.#e=t}get platformCost(){return this.#r}set platformCost(t){this.#r=t}get revenue(){return this.#s}set revenue(t){this.#s=t}#t;#e;#r;#s;constructor(t,e,r,i){this.#t=t,this.#e=e,this.#r=r,this.#s=i}}Tt=s([sr],Tt);import{dto as ir}from"@basmilius/http-client";class St{get id(){return this.#t}set id(t){this.#t=t}get number(){return this.#e}set number(t){this.#e=t}get sequence(){return this.#r}set sequence(t){this.#r=t}get status(){return this.#s}set status(t){this.#s=t}get year(){return this.#i}set year(t){this.#i=t}get total(){return this.#n}set total(t){this.#n=t}get lines(){return this.#o}set lines(t){this.#o=t}get createdOn(){return this.#a}set createdOn(t){this.#a=t}get updatedOn(){return this.#u}set updatedOn(t){this.#u=t}#t;#e;#r;#s;#i;#n;#o;#a;#u;constructor(t,e,r,i,n,o,a,p,h){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a,this.#a=p,this.#u=h}}St=s([ir],St);import{dto as nr}from"@basmilius/http-client";class Ot{get id(){return this.#t}set id(t){this.#t=t}get type(){return this.#e}set type(t){this.#e=t}get cost(){return this.#r}set cost(t){this.#r=t}get createdOn(){return this.#s}set createdOn(t){this.#s=t}get updatedOn(){return this.#i}set updatedOn(t){this.#i=t}#t;#e;#r;#s;#i;constructor(t,e,r,i,n){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n}}Ot=s([nr],Ot);import{dto as or}from"@basmilius/http-client";class Pt{get id(){return this.#t}set id(t){this.#t=t}get startsOn(){return this.#e}set startsOn(t){this.#e=t}get endsOn(){return this.#r}set endsOn(t){this.#r=t}get fee(){return this.#s}set fee(t){this.#s=t}get remark(){return this.#i}set remark(t){this.#i=t}#t;#e;#r;#s;#i;constructor(t,e,r,i,n){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n}}Pt=s([or],Pt);import{dto as ar}from"@basmilius/http-client";class xt{get id(){return this.#t}set id(t){this.#t=t}get merchantId(){return this.#e}set merchantId(t){this.#e=t}get userId(){return this.#r}set userId(t){this.#r=t}get claims(){return this.#s}set claims(t){this.#s=t}get isNewUser(){return this.#i}set isNewUser(t){this.#i=t}get createdOn(){return this.#n}set createdOn(t){this.#n=t}get updatedOn(){return this.#o}set updatedOn(t){this.#o=t}get merchant(){return this.#a}set merchant(t){this.#a=t}get user(){return this.#u}set user(t){this.#u=t}#t;#e;#r;#s;#i;#n;#o;#a;#u;constructor(t,e,r,i,n,o,a,p,h){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a,this.#a=p,this.#u=h}}xt=s([ar],xt);import{dto as ur}from"@basmilius/http-client";class Ft{get revenue(){return this.#t}set revenue(t){this.#t=t}get tickets(){return this.#e}set tickets(t){this.#e=t}get events(){return this.#r}set events(t){this.#r=t}get tasks(){return this.#s}set tasks(t){this.#s=t}#t;#e;#r;#s;constructor(t,e,r,i){this.#t=t,this.#e=e,this.#r=r,this.#s=i}}Ft=s([ur],Ft);import{dto as mr}from"@basmilius/http-client";class Rt{get id(){return this.#t}set id(t){this.#t=t}get name(){return this.#e}set name(t){this.#e=t}get description(){return this.#r}set description(t){this.#r=t}get headerFile(){return this.#s}set headerFile(t){this.#s=t}get status(){return this.#i}set status(t){this.#i=t}get startsOn(){return this.#n}set startsOn(t){this.#n=t}get ticketsSold(){return this.#o}set ticketsSold(t){this.#o=t}get ticketsTotal(){return this.#a}set ticketsTotal(t){this.#a=t}get sellThroughRate(){return this.#u}set sellThroughRate(t){this.#u=t}#t;#e;#r;#s;#i;#n;#o;#a;#u;constructor(t,e,r,i,n,o,a,p,h){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a,this.#a=p,this.#u=h}}Rt=s([mr],Rt);import{dto as gr}from"@basmilius/http-client";class qt{get id(){return this.#t}set id(t){this.#t=t}get name(){return this.#e}set name(t){this.#e=t}get email(){return this.#r}set email(t){this.#r=t}get phoneNumber(){return this.#s}set phoneNumber(t){this.#s=t}get url(){return this.#i}set url(t){this.#i=t}get chamberOfCommerceNumber(){return this.#n}set chamberOfCommerceNumber(t){this.#n=t}get vatNumber(){return this.#o}set vatNumber(t){this.#o=t}get currency(){return this.#a}set currency(t){this.#a=t}get address(){return this.#u}set address(t){this.#u=t}get currentContract(){return this.#m}set currentContract(t){this.#m=t}get logo(){return this.#g}set logo(t){this.#g=t}get createdOn(){return this.#p}set createdOn(t){this.#p=t}get updatedOn(){return this.#d}set updatedOn(t){this.#d=t}#t;#e;#r;#s;#i;#n;#o;#a;#u;#m;#g;#p;#d;constructor(t,e,r,i,n,o,a,p,h,D,S,q,G){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a,this.#a=p,this.#u=h,this.#m=D,this.#g=S,this.#p=q,this.#d=G}}qt=s([gr],qt);import{dto as pr}from"@basmilius/http-client";class Bt{get isManager(){return this.#t}set isManager(t){this.#t=t}get createdOn(){return this.#e}set createdOn(t){this.#e=t}get updatedOn(){return this.#r}set updatedOn(t){this.#r=t}get user(){return this.#s}set user(t){this.#s=t}#t;#e;#r;#s;constructor(t,e,r,i){this.#t=t,this.#e=e,this.#r=r,this.#s=i}}Bt=s([pr],Bt);import{dto as dr}from"@basmilius/http-client";class kt{get id(){return this.#t}set id(t){this.#t=t}get vatNumber(){return this.#e}set vatNumber(t){this.#e=t}get name(){return this.#r}set name(t){this.#r=t}get address(){return this.#s}set address(t){this.#s=t}get countryCode(){return this.#i}set countryCode(t){this.#i=t}get createdOn(){return this.#n}set createdOn(t){this.#n=t}get updatedOn(){return this.#o}set updatedOn(t){this.#o=t}#t;#e;#r;#s;#i;#n;#o;constructor(t,e,r,i,n,o,a){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a}}kt=s([dr],kt);import{dto as hr}from"@basmilius/http-client";class Ct{get id(){return this.#t}set id(t){this.#t=t}get firstName(){return this.#e}set firstName(t){this.#e=t}get lastName(){return this.#r}set lastName(t){this.#r=t}get email(){return this.#s}set email(t){this.#s=t}get phoneNumber(){return this.#i}set phoneNumber(t){this.#i=t}get dateOfBirth(){return this.#n}set dateOfBirth(t){this.#n=t}get gender(){return this.#o}set gender(t){this.#o=t}get orderCount(){return this.#a}set orderCount(t){this.#a=t}get fullName(){return this.#u}set fullName(t){this.#u=t}get address(){return this.#m}set address(t){this.#m=t}#t;#e;#r;#s;#i;#n;#o;#a;#u;#m;constructor(t,e,r,i,n,o,a,p,h,D){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a,this.#a=p,this.#u=h,this.#m=D}}Ct=s([hr],Ct);import{dto as cr}from"@basmilius/http-client";class vt{get id(){return this.#t}set id(t){this.#t=t}get code(){return this.#e}set code(t){this.#e=t}get origin(){return this.#r}set origin(t){this.#r=t}get type(){return this.#s}set type(t){this.#s=t}get createdOn(){return this.#i}set createdOn(t){this.#i=t}get paymentProvider(){return this.#n}set paymentProvider(t){this.#n=t}get platformCost(){return this.#o}set platformCost(t){this.#o=t}get subTotal(){return this.#a}set subTotal(t){this.#a=t}get total(){return this.#u}set total(t){this.#u=t}get url(){return this.#m}set url(t){this.#m=t}get buyer(){return this.#g}set buyer(t){this.#g=t}get event(){return this.#p}set event(t){this.#p=t}get lines(){return this.#d}set lines(t){this.#d=t}get shop(){return this.#h}set shop(t){this.#h=t}get transaction(){return this.#c}set transaction(t){this.#c=t}#t;#e;#r;#s;#i;#n;#o;#a;#u;#m;#g;#p;#d;#h;#c;constructor(t,e,r,i,n,o,a,p,h,D,S,q,G,me,Re){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a,this.#a=p,this.#u=h,this.#m=D,this.#g=S,this.#p=q,this.#d=G,this.#h=me,this.#c=Re}}vt=s([cr],vt);import{dto as lr}from"@basmilius/http-client";class jt{get id(){return this.#t}set id(t){this.#t=t}get price(){return this.#e}set price(t){this.#e=t}get quantity(){return this.#r}set quantity(t){this.#r=t}get product(){return this.#s}set product(t){this.#s=t}get subTotal(){return this.#i}set subTotal(t){this.#i=t}get createdOn(){return this.#n}set createdOn(t){this.#n=t}get updatedOn(){return this.#o}set updatedOn(t){this.#o=t}#t;#e;#r;#s;#i;#n;#o;constructor(t,e,r,i,n,o,a){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a}}jt=s([lr],jt);import{dto as yr}from"@basmilius/http-client";class $t{get name(){return this.#t}set name(t){this.#t=t}get url(){return this.#e}set url(t){this.#e=t}#t;#e;constructor(t,e){this.#t=t,this.#e=e}}$t=s([yr],$t);import{dto as br}from"@basmilius/http-client";class At{get id(){return this.#t}set id(t){this.#t=t}get name(){return this.#e}set name(t){this.#e=t}get description(){return this.#r}set description(t){this.#r=t}get image(){return this.#s}set image(t){this.#s=t}#t;#e;#r;#s;constructor(t,e,r,i){this.#t=t,this.#e=e,this.#r=r,this.#s=i}}At=s([br],At);import{dto as Dr}from"@basmilius/http-client";class _t{get currencyCode(){return this.#t}set currencyCode(t){this.#t=t}get currencyDecimals(){return this.#e}set currencyDecimals(t){this.#e=t}get currencySign(){return this.#r}set currencySign(t){this.#r=t}get decimal(){return this.#s}set decimal(t){this.#s=t}get formatted(){return this.#i}set formatted(t){this.#i=t}get cents(){return this.#n}set cents(t){this.#n=t}#t;#e;#r;#s;#i;#n;constructor(t,e,r,i,n,o){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o}}_t=s([Dr],_t);import{dto as fr}from"@basmilius/http-client";class wt{get id(){return this.#t}set id(t){this.#t=t}get name(){return this.#e}set name(t){this.#e=t}get image(){return this.#r}set image(t){this.#r=t}#t;#e;#r;constructor(t,e,r){this.#t=t,this.#e=e,this.#r=r}}wt=s([fr],wt);import{dto as Tr}from"@basmilius/http-client";class It{get id(){return this.#t}set id(t){this.#t=t}get type(){return this.#e}set type(t){this.#e=t}get methods(){return this.#r}set methods(t){this.#r=t}#t;#e;#r;constructor(t,e,r){this.#t=t,this.#e=e,this.#r=r}}It=s([Tr],It);import{dto as Sr}from"@basmilius/http-client";class Nt{get id(){return this.#t}set id(t){this.#t=t}get description(){return this.#e}set description(t){this.#e=t}get status(){return this.#r}set status(t){this.#r=t}get cost(){return this.#s}set cost(t){this.#s=t}get metadata(){return this.#i}set metadata(t){this.#i=t}get externalCheckoutUrl(){return this.#n}set externalCheckoutUrl(t){this.#n=t}get externalDetails(){return this.#o}set externalDetails(t){this.#o=t}get order(){return this.#a}set order(t){this.#a=t}get paymentMethod(){return this.#u}set paymentMethod(t){this.#u=t}#t;#e;#r;#s;#i;#n;#o;#a;#u;constructor(t,e,r,i,n,o,a,p,h){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a,this.#a=p,this.#u=h}}Nt=s([Sr],Nt);import{dto as Or}from"@basmilius/http-client";class Et{get id(){return this.#t}set id(t){this.#t=t}get type(){return this.#e}set type(t){this.#e=t}get name(){return this.#r}set name(t){this.#r=t}get description(){return this.#s}set description(t){this.#s=t}get price(){return this.#i}set price(t){this.#i=t}get maxQuantity(){return this.#n}set maxQuantity(t){this.#n=t}get isActive(){return this.#o}set isActive(t){this.#o=t}get isSwappable(){return this.#a}set isSwappable(t){this.#a=t}get remainingStock(){return this.#u}set remainingStock(t){this.#u=t}get stock(){return this.#m}set stock(t){this.#m=t}get image(){return this.#g}set image(t){this.#g=t}get images(){return this.#p}set images(t){this.#p=t}#t;#e;#r;#s;#i;#n;#o;#a;#u;#m;#g;#p;constructor(t,e,r,i,n,o,a,p,h,D,S,q){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a,this.#a=p,this.#u=h,this.#m=D,this.#g=S,this.#p=q}}Et=s([Or],Et);import{dto as Pr}from"@basmilius/http-client";class Mt{get id(){return this.#t}set id(t){this.#t=t}get name(){return this.#e}set name(t){this.#e=t}get image(){return this.#r}set image(t){this.#r=t}#t;#e;#r;constructor(t,e,r){this.#t=t,this.#e=e,this.#r=r}}Mt=s([Pr],Mt);import{dto as xr}from"@basmilius/http-client";class ge{get productId(){return this.#t}set productId(t){this.#t=t}get quantity(){return this.#e}set quantity(t){this.#e=t}get timeSlotId(){return this.#r}set timeSlotId(t){this.#r=t}#t;#e;#r;constructor(t,e,r){this.#t=t,this.#e=e,this.#r=r}}ge=s([xr],ge);import{dto as Fr}from"@basmilius/http-client";class Ut{get backgroundColor(){return this.#t}set backgroundColor(t){this.#t=t}get foregroundColor(){return this.#e}set foregroundColor(t){this.#e=t}get primaryColor(){return this.#r}set primaryColor(t){this.#r=t}#t;#e;#r;constructor(t,e,r){this.#t=t,this.#e=e,this.#r=r}}Ut=s([Fr],Ut);import{dto as Rr}from"@basmilius/http-client";class Qt{get id(){return this.#t}set id(t){this.#t=t}get name(){return this.#e}set name(t){this.#e=t}get startsOn(){return this.#r}set startsOn(t){this.#r=t}get endsOn(){return this.#s}set endsOn(t){this.#s=t}get fieldAddress(){return this.#i}set fieldAddress(t){this.#i=t}get fieldBirthdate(){return this.#n}set fieldBirthdate(t){this.#n=t}get fieldGender(){return this.#o}set fieldGender(t){this.#o=t}get fieldPhoneNumber(){return this.#a}set fieldPhoneNumber(t){this.#a=t}get design(){return this.#u}set design(t){this.#u=t}get elements(){return this.#m}set elements(t){this.#m=t}get event(){return this.#g}set event(t){this.#g=t}get merchant(){return this.#p}set merchant(t){this.#p=t}#t;#e;#r;#s;#i;#n;#o;#a;#u;#m;#g;#p;constructor(t,e,r,i,n,o,a,p,h,D,S,q){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a,this.#a=p,this.#u=h,this.#m=D,this.#g=S,this.#p=q}}Qt=s([Rr],Qt);class F{get id(){return this.#t}set id(t){this.#t=t}get type(){return this.#e}set type(t){this.#e=t}#t;#e;constructor(t,e){this.#t=t,this.#e=e}}import{dto as qr}from"@basmilius/http-client";class Lt extends F{get icon(){return this.#t}set icon(t){this.#t=t}get text(){return this.#e}set text(t){this.#e=t}get url(){return this.#r}set url(t){this.#r=t}#t;#e;#r;constructor(t,e,r,i){super(t,"button");this.#t=e,this.#e=r,this.#r=i}}Lt=s([qr],Lt);import{dto as Br}from"@basmilius/http-client";class Gt extends F{get icon(){return this.#t}set icon(t){this.#t=t}get text(){return this.#e}set text(t){this.#e=t}#t;#e;constructor(t,e,r){super(t,"divider");this.#t=e,this.#e=r}}Gt=s([Br],Gt);import{dto as kr}from"@basmilius/http-client";class Vt extends F{get headingLevel(){return this.#t}set headingLevel(t){this.#t=t}get title(){return this.#e}set title(t){this.#e=t}#t;#e;constructor(t,e,r){super(t,"heading");this.#t=e,this.#e=r}}Vt=s([kr],Vt);import{dto as Cr}from"@basmilius/http-client";class Ht extends F{get icon(){return this.#t}set icon(t){this.#t=t}get noticeType(){return this.#e}set noticeType(t){this.#e=t}get title(){return this.#r}set title(t){this.#r=t}get text(){return this.#s}set text(t){this.#s=t}#t;#e;#r;#s;constructor(t,e,r,i,n){super(t,"notice");this.#t=e,this.#e=r,this.#r=i,this.#s=n}}Ht=s([Cr],Ht);import{dto as vr}from"@basmilius/http-client";class Wt extends F{get product(){return this.#t}set product(t){this.#t=t}#t;constructor(t,e){super(t,"product");this.#t=e}}Wt=s([vr],Wt);import{dto as jr}from"@basmilius/http-client";class zt extends F{get text(){return this.#t}set text(t){this.#t=t}#t;constructor(t,e){super(t,"text");this.#t=e}}zt=s([jr],zt);import{dto as $r}from"@basmilius/http-client";class Jt{get id(){return this.#t}set id(t){this.#t=t}get name(){return this.#e}set name(t){this.#e=t}get status(){return this.#r}set status(t){this.#r=t}get address(){return this.#s}set address(t){this.#s=t}get headerFile(){return this.#i}set headerFile(t){this.#i=t}#t;#e;#r;#s;#i;constructor(t,e,r,i,n){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n}}Jt=s([$r],Jt);import{dto as Ar}from"@basmilius/http-client";class Kt{get id(){return this.#t}set id(t){this.#t=t}get name(){return this.#e}set name(t){this.#e=t}#t;#e;constructor(t,e){this.#t=t,this.#e=e}}Kt=s([Ar],Kt);import{dto as _r}from"@basmilius/http-client";class Zt{get id(){return this.#t}set id(t){this.#t=t}get type(){return this.#e}set type(t){this.#e=t}get name(){return this.#r}set name(t){this.#r=t}get description(){return this.#s}set description(t){this.#s=t}get price(){return this.#i}set price(t){this.#i=t}get maxQuantity(){return this.#n}set maxQuantity(t){this.#n=t}get isActive(){return this.#o}set isActive(t){this.#o=t}get isTimeslotted(){return this.#a}set isTimeslotted(t){this.#a=t}get timeSlots(){return this.#u}set timeSlots(t){this.#u=t}get image(){return this.#m}set image(t){this.#m=t}get images(){return this.#g}set images(t){this.#g=t}#t;#e;#r;#s;#i;#n;#o;#a;#u;#m;#g;constructor(t,e,r,i,n,o,a,p,h,D,S){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a,this.#a=p,this.#u=h,this.#m=D,this.#g=S}}Zt=s([_r],Zt);import{dto as wr}from"@basmilius/http-client";class Xt{get id(){return this.#t}set id(t){this.#t=t}get createdOn(){return this.#e}set createdOn(t){this.#e=t}get expiresOn(){return this.#r}set expiresOn(t){this.#r=t}get products(){return this.#s}set products(t){this.#s=t}#t;#e;#r;#s;constructor(t,e,r,i){this.#t=t,this.#e=e,this.#r=r,this.#s=i}}Xt=s([wr],Xt);import{dto as Ir}from"@basmilius/http-client";class Yt{get product(){return this.#t}set product(t){this.#t=t}get quantity(){return this.#e}set quantity(t){this.#e=t}#t;#e;constructor(t,e){this.#t=t,this.#e=e}}Yt=s([Ir],Yt);import{dto as Nr}from"@basmilius/http-client";class te{get id(){return this.#t}set id(t){this.#t=t}get name(){return this.#e}set name(t){this.#e=t}get description(){return this.#r}set description(t){this.#r=t}get image(){return this.#s}set image(t){this.#s=t}#t;#e;#r;#s;constructor(t,e,r,i){this.#t=t,this.#e=e,this.#r=r,this.#s=i}}te=s([Nr],te);import{dto as Er}from"@basmilius/http-client";class ee{get id(){return this.#t}set id(t){this.#t=t}get label(){return this.#e}set label(t){this.#e=t}get fromTime(){return this.#r}set fromTime(t){this.#r=t}get toTime(){return this.#s}set toTime(t){this.#s=t}get maxQuantity(){return this.#i}set maxQuantity(t){this.#i=t}#t;#e;#r;#s;#i;constructor(t,e,r,i,n){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n}}ee=s([Er],ee);import{dto as Mr}from"@basmilius/http-client";class re{get id(){return this.#t}set id(t){this.#t=t}get createdOn(){return this.#e}set createdOn(t){this.#e=t}get expiresOn(){return this.#r}set expiresOn(t){this.#r=t}get isExpired(){return this.#s}set isExpired(t){this.#s=t}get items(){return this.#i}set items(t){this.#i=t}#t;#e;#r;#s;#i;constructor(t,e,r,i,n){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n}}re=s([Mr],re);import{dto as Ur}from"@basmilius/http-client";class se{get quantity(){return this.#t}set quantity(t){this.#t=t}get product(){return this.#e}set product(t){this.#e=t}#t;#e;constructor(t,e){this.#t=t,this.#e=e}}se=s([Ur],se);import{dto as Qr}from"@basmilius/http-client";class ie{get id(){return this.#t}set id(t){this.#t=t}get name(){return this.#e}set name(t){this.#e=t}get description(){return this.#r}set description(t){this.#r=t}get image(){return this.#s}set image(t){this.#s=t}#t;#e;#r;#s;constructor(t,e,r,i){this.#t=t,this.#e=e,this.#r=r,this.#s=i}}ie=s([Qr],ie);import{dto as Lr}from"@basmilius/http-client";class I{get id(){return this.#t}set id(t){this.#t=t}get sequence(){return this.#e}set sequence(t){this.#e=t}get code(){return this.#r}set code(t){this.#r=t}get status(){return this.#s}set status(t){this.#s=t}get validity(){return this.#i}set validity(t){this.#i=t}get buyer(){return this.#n}set buyer(t){this.#n=t}get event(){return this.#o}set event(t){this.#o=t}get holder(){return this.#a}set holder(t){this.#a=t}get order(){return this.#u}set order(t){this.#u=t}get product(){return this.#m}set product(t){this.#m=t}get createdOn(){return this.#g}set createdOn(t){this.#g=t}get updatedOn(){return this.#p}set updatedOn(t){this.#p=t}#t;#e;#r;#s;#i;#n;#o;#a;#u;#m;#g;#p;constructor(t,e,r,i,n,o,a,p,h,D,S,q){this.#t=t,this.#e=e,this.#r=r,this.#s=i,this.#i=n,this.#n=o,this.#o=a,this.#a=p,this.#u=h,this.#m=D,this.#g=S,this.#p=q}}I=s([Lr],I);class B{static parseAddressFromObject(t){return new V(t.id,t.label,t.street,t.number,t.postal_code,t.city,t.country,t.formatted)}}B=s([Gr],B);import{adapter as Vr}from"@basmilius/http-client";function N(t){if(typeof t==="string"&&t.trim().length===0)return null;else if(Array.isArray(t)&&t.length===0)return null;return t}function ae(t){return new Blob([JSON.stringify(t)],{type:"application/json"})}function u(t,e){if(t===void 0||t===null)return null;return e(t)}function P(t,e){if(t===void 0||t===null)return null;return t.map(e)}class b{static parseTotpStateFromObject(t){return new H(t.enabled,t.secret,t.qr)}static parseUserFromObject(t){return new W(t.id,t.email,t.first_name,t.last_name,t.full_name,t.initials,t.phone_number,t.is_online,u(t.picture,l.parsePictureFromObject))}static parseUserTokenFromObject(t){return new z(t.token,t.type,t.browser,t.operating_system,m.parseDateTimeFromString(t.created_on),m.parseDateTimeFromString(t.expires_on),t.realtime_channel,u(t.user,b.parseUserFromObject))}}b=s([Vr],b);import{adapter as Hr}from"@basmilius/http-client";class R{static parseBuyerFromObject(t){return new Ct(t.id,t.first_name,t.last_name,t.email,t.phone_number,u(t.date_of_birth,m.parseDateTimeFromString),t.gender,t.order_count??-1,t.full_name,u(t.address,B.parseAddressFromObject))}}R=s([Hr],R);import{adapter as Wr}from"@basmilius/http-client";class c{static parseStatusResponseFromObject(t){return new J(t.message,t.status)}}c=s([Wr],c);import{adapter as zr}from"@basmilius/http-client";import{DateTime as Jr}from"luxon";class m{static parseDateTimeFromString(t){return Jr.fromISO(t,{zone:"UTC"}).setZone("Europe/Amsterdam")}}m=s([zr],m);import{adapter as Kr}from"@basmilius/http-client";class g{static parseEventFromObject(t){return new X(t.id,t.name,t.description,m.parseDateTimeFromString(t.starts_on),m.parseDateTimeFromString(t.ends_on),t.minimum_age,t.status,u(t.address,B.parseAddressFromObject),u(t.header_file,l.parsePictureFromObject),m.parseDateTimeFromString(t.created_on),m.parseDateTimeFromString(t.updated_on))}static parseEventAvailabilityFromObject(t){return new K(t.has_products,t.has_shops,t.has_shops_with_products,t.is_publishable,t.is_published)}static parseEventCountersFromObject(t){return new Z(t.guests,t.orders,t.tickets)}static parseShopFromObject(t){return new mt(t.id,t.name,t.is_published,t.password,u(t.starts_on,m.parseDateTimeFromString),u(t.ends_on,m.parseDateTimeFromString),t.field_address,t.field_birthdate,t.field_gender,t.field_phone_number,t.status,u(t.design,g.parseShopDesignFromObject),u(t.event,g.parseEventFromObject),u(t.merchant,f.parseMerchantFromObject))}static parseShopDesignFromObject(t){return new ut(t.background_color,t.foreground_color,t.primary_color)}static parseShopElementFromObject(t){switch(t.type){case"button":return new gt(t.id,t.icon,t.text,t.url);case"divider":return new pt(t.id,t.icon,t.text);case"heading":return new dt(t.id,t.heading_level,t.title);case"notice":return new ht(t.id,t.icon,t.notice_type,t.title,t.text);case"product":return new ct(t.id,O.parseProductFromObject(t.product));case"text":return new w(t.id,t.text)}return new w("unknown","Unknown element type.")}static parseStockOverviewFromObject(t){return new lt(t.total,t.sold,t.remaining,t.items.map(g.parseStockOverviewItemFromObject))}static parseStockOverviewItemFromObject(t){return new yt(g.parseStockPoolFromObject(t.pool),O.parseProductFromObject(t.product),t.remaining,t.sold)}static parseStockPoolFromObject(t){return new bt(t.id,t.event_id,t.merchant_id,t.name,t.remaining_stock,t.stock,t.is_shared,t.product_names??[],m.parseDateTimeFromString(t.created_on),m.parseDateTimeFromString(t.updated_on))}static parseTicketTemplateFromObject(t){return new Dt(t.id,t.name,u(t.product,O.parseProductFromObject),t.product_id,t.variant,u(t.visual,l.parsePictureFromObject))}static parseEventStatisticsAttendanceFromObject(t){return new Y(t.attended,t.expected,t.rate)}static parseEventStatisticsBuyerTotalsFromObject(t){return new tt(t.acquired,t.average_tickets,t.doubting,t.returning,t.total)}static parseEventStatisticsFinancialFromObject(t){return new et(d.parseCostFromObject(t.platform_cost),d.parseCostFromObject(t.revenue))}static parseEventStatisticsOrdersFromObject(t){return new rt(t.chart,g.parseEventStatisticsOrderTotalsFromObject(t.totals))}static parseEventStatisticsOrderTotalsFromObject(t){return new st(t.fulfilled,t.interrupted,t.pending,t.total)}static parseEventStatisticsScansFromObject(t){return new it(t.app_teams.map(g.parseEventStatisticsScansPerAppTeamFromObject),t.chart,g.parseEventStatisticsScanTotalsFromObject(t.totals))}static parseEventStatisticsScansPerAppTeamFromObject(t){return new nt(t.id,t.name,t.scans)}static parseEventStatisticsScanTotalsFromObject(t){return new ot(t.total,t.checkins,t.checkouts)}static parseEventStatisticsSwapTotalsFromObject(t){return new at(t.swaps,t.tickets,t.rate)}}g=s([Kr],g);import{adapter as Zr}from"@basmilius/http-client";class l{static parsePictureFromObject(t){return new ft(t.id,t.url,t.variants)}}l=s([Zr],l);import{adapter as Xr}from"@basmilius/http-client";class C{static parseFinanceOverviewFromObject(t){return new Tt(d.parseCostFromObject(t.estimated_payment_cost),t.orders,d.parseCostFromObject(t.platform_cost),d.parseCostFromObject(t.revenue))}static parseInvoiceFromObject(t){return new St(t.id,t.number,t.sequence,t.status,t.year,d.parseCostFromObject(t.total),P(t.lines,C.parseInvoiceLineFromObject),m.parseDateTimeFromString(t.created_on),m.parseDateTimeFromString(t.updated_on))}static parseInvoiceLineFromObject(t){return new Ot(t.id,t.type,d.parseCostFromObject(t.cost),m.parseDateTimeFromString(t.created_on),m.parseDateTimeFromString(t.updated_on))}}C=s([Xr],C);import{adapter as Yr}from"@basmilius/http-client";class k{static parseFluxFormSelectEntryFromObject(t){if("value"in t)return k.parseFluxFormSelectOptionFromObject(t);return k.parseFluxFormSelectGroupFromObject(t)}static parseFluxFormSelectGroupFromObject(t){return t}static parseFluxFormSelectOptionFromObject(t){return t}}k=s([Yr],k);import{adapter as ts}from"@basmilius/http-client";class f{static parseContractFromObject(t){return new Pt(t.id,m.parseDateTimeFromString(t.starts_on),m.parseDateTimeFromString(t.ends_on),d.parseCostFromObject(t.fee),t.remark)}static parseInvitationFromObject(t){return new xt(t.id,t.merchant_id,t.user_id,t.claims,t.is_new_user,m.parseDateTimeFromString(t.created_on),m.parseDateTimeFromString(t.updated_on),f.parseMerchantFromObject(t.merchant),b.parseUserFromObject(t.user))}static parseMerchantFromObject(t){return new qt(t.id,t.name,t.email,t.phone_number,t.url,t.chamber_of_commerce_number,t.vat_number,t.currency,u(t.address,B.parseAddressFromObject),u(t.current_contract,f.parseContractFromObject),u(t.logo,l.parsePictureFromObject),u(t.created_on,m.parseDateTimeFromString),u(t.updated_on,m.parseDateTimeFromString))}static parseMerchantUserFromObject(t){return new Bt(t.is_manager,m.parseDateTimeFromString(t.created_on),m.parseDateTimeFromString(t.updated_on),b.parseUserFromObject(t.user))}static parseVatNumberFromObject(t){return new kt(t.id,t.vat_number,t.name,t.address,t.country_code,m.parseDateTimeFromString(t.created_on),m.parseDateTimeFromString(t.updated_on))}}f=s([ts],f);import{adapter as es}from"@basmilius/http-client";class E{static parseKeyMetricsFromObject(t){return new Ft(t.revenue,t.tickets,t.events,t.tasks)}static parseUpcomingEventFromObject(t){return new Rt(t.id,t.name,t.description,l.parsePictureFromObject(t.header_file),t.status,m.parseDateTimeFromString(t.starts_on),t.tickets_sold,t.tickets_total,t.sell_through_rate)}}E=s([es],E);import{adapter as rs}from"@basmilius/http-client";class y{static parseOrderFromObject(t){return new vt(t.id,t.code,t.origin,t.type,m.parseDateTimeFromString(t.created_on),u(t.payment_provider,y.parseOrderPaymentProviderFromObject),u(t.platform_cost,d.parseCostFromObject),u(t.sub_total,d.parseCostFromObject),u(t.total,d.parseCostFromObject),t.url,u(t.buyer,R.parseBuyerFromObject),u(t.event,g.parseEventFromObject),P(t.lines,y.parseOrderLineFromObject),u(t.shop,T.parsePublicShopFromObject),u(t.transaction,d.parseTransactionFromObject))}static parseOrderLineFromObject(t){return new jt(t.id,d.parseCostFromObject(t.price),t.quantity,y.parseOrderProductFromObject(t.product),d.parseCostFromObject(t.sub_total),m.parseDateTimeFromString(t.created_on),m.parseDateTimeFromString(t.updated_on))}static parseOrderPaymentProviderFromObject(t){return new $t(t.name,t.url)}static parseOrderProductFromObject(t){return new At(t.id,t.name,t.description,t.image)}}y=s([rs],y);import{adapter as ss}from"@basmilius/http-client";class d{static parseCostFromObject(t){return new _t(t.currency_code,t.currency_decimals,t.currency_sign,t.decimal,t.formatted,t.value)}static parsePaymentMethodFromObject(t){return new wt(t.id,t.name,t.image)}static parsePaymentProviderFromObject(t){return new It(t.id,t.type,t.methods.map(d.parsePaymentMethodFromObject))}static parseTransactionFromObject(t){return new Nt(t.id,t.description,t.status,d.parseCostFromObject(t.cost),t.metadata,t.external_checkout_url,t.external_details,u(t.order,y.parseOrderFromObject),u(t.payment_method,d.parsePaymentMethodFromObject))}}d=s([ss],d);import{adapter as is}from"@basmilius/http-client";class O{static parseProductFromObject(t){return new Et(t.id,t.type,t.name,t.description,u(t.price,d.parseCostFromObject),t.max_quantity,t.is_active,t.is_swappable,t.remaining_stock,u(t.stock_pool,g.parseStockPoolFromObject),u(t.image,l.parsePictureFromObject),P(t.images,l.parsePictureFromObject))}}O=s([is],O);import{adapter as ns}from"@basmilius/http-client";class ne{static parsePublicPaymentMethodFromObject(t){return new Mt(t.id,t.name,t.image)}}ne=s([ns],ne);import{adapter as os}from"@basmilius/http-client";class T{static parsePublicShopFromObject(t){return new Qt(t.id,t.name,m.parseDateTimeFromString(t.starts_on),m.parseDateTimeFromString(t.ends_on),t.field_address,t.field_birthdate,t.field_gender,t.field_phone_number,u(t.design,T.parsePublicShopDesignFromObject),P(t.elements,T.parsePublicShopElementFromObject),T.parsePublicShopEventFromObject(t.event),T.parsePublicShopMerchantFromObject(t.merchant))}static parsePublicShopDesignFromObject(t){return new Ut(t.background_color,t.foreground_color,t.primary_color)}static parsePublicShopElementFromObject(t){switch(t.type){case"button":return new Lt(t.id,t.icon,t.text,t.url);case"divider":return new Gt(t.id,t.icon,t.text);case"heading":return new Vt(t.id,t.heading_level,t.title);case"notice":return new Ht(t.id,t.icon,t.notice_type,t.title,t.text);case"product":return new Wt(t.id,T.parsePublicShopProductFromObject(t.product));case"text":return new zt(t.id,t.text)}throw Error("Unknown shop element.")}static parsePublicShopEventFromObject(t){return new Jt(t.id,t.name,t.status,B.parseAddressFromObject(t.address),u(t.header_file,l.parsePictureFromObject))}static parsePublicShopMerchantFromObject(t){return new Kt(t.id,t.name)}static parsePublicShopProductFromObject(t){return new Zt(t.id,t.type,t.name,t.description,d.parseCostFromObject(t.price),t.max_quantity,t.is_active,t.is_timeslotted,P(t.time_slots,T.parsePublicShopTimeSlotFromObject),u(t.image,l.parsePictureFromObject),P(t.images,l.parsePictureFromObject))}static parsePublicShopReservationFromObject(t){return new Xt(t.id,m.parseDateTimeFromString(t.created_on),m.parseDateTimeFromString(t.expires_on),t.products.map(T.parsePublicShopReservationProductFromObject))}static parsePublicShopReservationProductFromObject(t){return new Yt(T.parsePublicShopReservationProductDetailsFromObject(t.product),t.quantity)}static parsePublicShopReservationProductDetailsFromObject(t){return new te(t.id,t.name,t.description,u(t.image,l.parsePictureFromObject))}static parsePublicShopTimeSlotFromObject(t){return new ee(t.id,t.label,m.parseDateTimeFromString(t.from_time),m.parseDateTimeFromString(t.to_time),t.max_quantity)}}T=s([os],T);import{adapter as as}from"@basmilius/http-client";class _{static parseReservationFromObject(t){return new re(t.id,m.parseDateTimeFromString(t.created_on),m.parseDateTimeFromString(t.expires_on),t.is_expired,P(t.products,_.parseReservationItemFromObject))}static parseReservationItemFromObject(t){return new se(t.quantity,_.parseReservationProductFromObject(t.product))}static parseReservationProductFromObject(t){return new ie(t.id,t.name,t.description,u(t.image,l.parsePictureFromObject))}}_=s([as],_);import{adapter as us}from"@basmilius/http-client";class v{static parseTicketFromObject(t){return new I(t.id,t.sequence,t.code,t.status,t.validity,u(t.buyer,R.parseBuyerFromObject),u(t.event,g.parseEventFromObject),u(t.holder,R.parseBuyerFromObject),u(t.order,y.parseOrderFromObject),u(t.product,O.parseProductFromObject),m.parseDateTimeFromString(t.created_on),m.parseDateTimeFromString(t.updated_on))}}v=s([us],v);import{BaseService as ms,QueryString as M}from"@basmilius/http-client";class gs extends ms{async get(){return await this.request("/auth").method("get").bearerToken().queryString(M.builder().append("language","nl")).runAdapter(b.parseUserTokenFromObject)}async getClaims(){return await this.request("/auth/claims").method("get").bearerToken().queryString(M.builder().append("language","nl")).runAdapter((t)=>Object.values(t))}async getPasswordCompromised(){return await this.request("/auth/password-compromised").method("get").bearerToken().queryString(M.builder().append("language","nl")).runDataKey("compromised")}async getSessions(t,e){return await this.request("/auth/sessions").method("get").bearerToken().queryString(M.builder().append("language","nl").append("offset",t).append("limit",e)).runPaginatedAdapter(b.parseUserTokenFromObject)}async post(t,e,r){return await this.request("/auth").method("post").body({email:t,password:e,code:r}).queryString(M.builder().append("language","nl")).runAdapter(b.parseUserTokenFromObject)}async deleteSession(t){return await this.request("/auth/sessions").method("delete").bearerToken().queryString(M.builder().append("language","nl")).body({token:t}).runEmpty()}}import{BaseService as ps,QueryString as pe}from"@basmilius/http-client";class ds extends ps{async get(t){return await this.request(`/invitations/${t}`).method("get").queryString(pe.builder().append("language","nl")).runAdapter(f.parseInvitationFromObject)}async postAccept(t,e){return await this.request(`/invitations/${t}/accept`).method("post").queryString(pe.builder().append("language","nl")).body({password:e}).runAdapter(b.parseUserTokenFromObject)}async postDecline(t){return await this.request(`/invitations/${t}/decline`).method("post").queryString(pe.builder().append("language","nl")).runAdapter(c.parseStatusResponseFromObject)}}import{BaseService as hs,QueryString as j}from"@basmilius/http-client";class cs extends hs{async get(t){return await this.request(`/merchants/${t}`).method("get").queryString(j.builder().append("language","nl")).bearerToken().runAdapter(f.parseMerchantFromObject)}async getAccountManager(t){return await this.request(`/merchants/${t}/account-manager`).method("get").queryString(j.builder().append("language","nl")).bearerToken().runAdapter(b.parseUserFromObject)}async getClaims(t){return await this.request(`/merchants/${t}/claims`).method("get").queryString(j.builder().append("language","nl")).bearerToken().runAdapter((e)=>Object.values(e))}async getContract(t){return await this.request(`/merchants/${t}/contract`).method("get").queryString(j.builder().append("language","nl")).bearerToken().runAdapter(f.parseContractFromObject)}async getPaymentProviders(t){return await this.request(`/merchants/${t}/payment-providers`).method("get").queryString(j.builder().append("language","nl")).bearerToken().runArrayAdapter(d.parsePaymentProviderFromObject)}async getVatNumber(t){return await this.request(`/merchants/${t}/vat-number`).method("get").queryString(j.builder().append("language","nl")).bearerToken().runAdapter(f.parseVatNumberFromObject)}async put(t,e){return await this.request(`/merchants/${t}`).method("put").queryString(j.builder().append("language","nl")).bearerToken().body({name:e.name,email:e.email,phone_number:e.phoneNumber,url:e.url,chamber_of_commerce_number:e.chamberOfCommerceNumber,vat_number:e.vatNumber,address:{label:N(e.address.label),street:e.address.street,number:e.address.number,postal_code:e.address.postalCode,city:e.address.city,country_code:e.address.country}}).runAdapter(f.parseMerchantFromObject)}async postLogo(t,e){let r=new FormData;return r.append("file",e),await this.request(`/merchants/${t}/logo`).method("post").bearerToken().queryString(j.builder().append("language","nl")).body(r).runAdapter(c.parseStatusResponseFromObject)}async deleteLogo(t){return await this.request(`/merchants/${t}/logo`).method("delete").bearerToken().queryString(j.builder().append("language","nl")).runAdapter(c.parseStatusResponseFromObject)}}import{BaseService as ls,QueryString as ys}from"@basmilius/http-client";class bs extends ls{async get(){return await this.request("/merchants").method("get").bearerToken().queryString(ys.builder().append("language","nl")).runArrayAdapter(f.parseMerchantFromObject)}}import{BaseService as Ds,QueryString as de}from"@basmilius/http-client";class fs extends Ds{async get(t,e){return await this.request(`/merchants/${t}/buyers/${e}`).method("get").bearerToken().queryString(de.builder().append("language","nl")).runAdapter(R.parseBuyerFromObject)}async getOrder(t,e,r){return await this.request(`/merchants/${t}/buyers/${e}/orders/${r}`).method("get").bearerToken().queryString(de.builder().append("language","nl")).runAdapter(y.parseOrderFromObject)}async getOrders(t,e,r,i){return await this.request(`/merchants/${t}/buyers/${e}/orders`).method("get").bearerToken().queryString(de.builder().append("language","nl").append("offset",r).append("limit",i)).runPaginatedAdapter(y.parseOrderFromObject)}}import{BaseService as Ts,QueryString as Ss}from"@basmilius/http-client";class Os extends Ts{async get(t,e,r){return await this.request(`/merchants/${t}/buyers`).method("get").queryString(Ss.builder().append("language","nl").append("offset",e).append("limit",r)).bearerToken().runPaginatedAdapter(R.parseBuyerFromObject)}}import{BaseService as Ps,QueryString as xs}from"@basmilius/http-client";class Fs extends Ps{async getKeyMetrics(t){return await this.request(`/merchants/${t}/dashboard/key-metrics`).method("get").queryString(xs.builder().append("language","nl")).bearerToken().runAdapter(E.parseKeyMetricsFromObject)}async getUpcomingEvents(t){return await this.request(`/merchants/${t}/dashboard/upcoming-events`).method("get").bearerToken().runArrayAdapter(E.parseUpcomingEventFromObject)}}import{BaseService as Rs,QueryString as U}from"@basmilius/http-client";class qs extends Rs{async get(t,e,r){return await this.request(`/merchants/${t}/events/${e}/products/${r}`).method("get").bearerToken().queryString(U.builder().append("language","nl")).runAdapter(O.parseProductFromObject)}async postImage(t,e,r,i){let n=new FormData;return n.append("file",i),await this.request(`/merchants/${t}/events/${e}/products/${r}/media`).method("post").bearerToken().queryString(U.builder().append("language","nl")).body(n).runAdapter((o)=>o)}async patch(t,e,r,i){return await this.request(`/merchants/${t}/events/${e}/products/${r}`).method("patch").bearerToken().queryString(U.builder().append("language","nl")).body({name:i.name,description:i.description,price:i.price.cents,max_quantity:i.maxQuantity,is_swappable:i.isSwappable}).runAdapter(O.parseProductFromObject)}async patchPause(t,e,r){return await this.request(`/merchants/${t}/events/${e}/products/${r}/pause`).method("patch").bearerToken().queryString(U.builder().append("language","nl")).runEmpty()}async patchResume(t,e,r){return await this.request(`/merchants/${t}/events/${e}/products/${r}/resume`).method("patch").bearerToken().queryString(U.builder().append("language","nl")).runEmpty()}async delete(t,e,r){return await this.request(`/merchants/${t}/events/${e}/products/${r}`).method("delete").bearerToken().queryString(U.builder().append("language","nl")).runEmpty()}}import{BaseService as Bs,QueryString as he}from"@basmilius/http-client";class ks extends Bs{async get(t,e,r,i){return await this.request(`/merchants/${t}/events/${e}/products`).method("get").bearerToken().queryString(he.builder().append("language","nl").append("offset",r).append("limit",i)).runPaginatedAdapter(O.parseProductFromObject)}async getSelectOptions(t,e,r=null,i=null){return await this.request(`/merchants/${t}/events/${e}/products/select-options`).method("get").bearerToken().queryString(he.builder().append("language","nl").appendArray("ids[]",i).append("searchQuery",r)).runArrayAdapter(k.parseFluxFormSelectEntryFromObject)}async post(t,e,r,i,n,o,a,p){return await this.request(`/merchants/${t}/events/${e}/products`).method("post").bearerToken().queryString(he.builder().append("language","nl")).body({name:r,description:i,price:n,stock:a,max_quantity:o,stock_pool_id:p}).runAdapter(O.parseProductFromObject)}}import{BaseService as Cs,QueryString as $}from"@basmilius/http-client";class vs extends Cs{async get(t,e){return await this.request(`/merchants/${t}/events/${e}`).method("get").bearerToken().queryString($.builder().append("language","nl")).runAdapter(g.parseEventFromObject)}async getAvailability(t,e){return await this.request(`/merchants/${t}/events/${e}/availability`).method("get").bearerToken().queryString($.builder().append("language","nl")).runAdapter(g.parseEventAvailabilityFromObject)}async getCounters(t,e){return await this.request(`/merchants/${t}/events/${e}/counters`).method("get").bearerToken().queryString($.builder().append("language","nl")).runAdapter(g.parseEventCountersFromObject)}async post(t,e){return await this.request(`/merchants/${t}/events/${e.id}`).method("post").bearerToken().queryString($.builder().append("language","nl")).body({name:e.name,description:e.description,starts_on:e.startsOn.toISO(),ends_on:e.endsOn.toISO(),minimum_age:e.minimumAge,address:{label:N(e.address.label),street:e.address.street,number:e.address.number,postal_code:e.address.postalCode,city:e.address.city,country_code:e.address.country}}).runAdapter(g.parseEventFromObject)}async postHeader(t,e,r){let i=new FormData;return i.append("file",r),await this.request(`/merchants/${t}/events/${e}/header`).method("post").bearerToken().queryString($.builder().append("language","nl")).body(i).runAdapter(c.parseStatusResponseFromObject)}async postPublish(t,e){return await this.request(`/merchants/${t}/events/${e}/publish`).method("post").bearerToken().queryString($.builder().append("language","nl")).runAdapter(c.parseStatusResponseFromObject)}async postUnpublish(t,e){return await this.request(`/merchants/${t}/events/${e}/unpublish`).method("post").bearerToken().queryString($.builder().append("language","nl")).runAdapter(c.parseStatusResponseFromObject)}async delete(t,e){return await this.request(`/merchants/${t}/events/${e}`).method("delete").bearerToken().queryString($.builder().append("language","nl")).runAdapter(c.parseStatusResponseFromObject)}async deleteHeader(t,e){return await this.request(`/merchants/${t}/events/${e}/header`).method("delete").bearerToken().queryString($.builder().append("language","nl")).runAdapter(c.parseStatusResponseFromObject)}}import{BaseService as js,QueryString as Q}from"@basmilius/http-client";class $s extends js{async getAttendance(t,e){return await this.request(`/merchants/${t}/events/${e}/statistics/attendance`).method("get").bearerToken().queryString(Q.builder().append("language","nl")).runAdapter(g.parseEventStatisticsAttendanceFromObject)}async getBuyers(t,e){return await this.request(`/merchants/${t}/events/${e}/statistics/buyers`).method("get").bearerToken().queryString(Q.builder().append("language","nl")).runAdapter(g.parseEventStatisticsBuyerTotalsFromObject)}async getFinancial(t,e){return await this.request(`/merchants/${t}/events/${e}/statistics/financial`).method("get").bearerToken().queryString(Q.builder().append("language","nl")).runAdapter(g.parseEventStatisticsFinancialFromObject)}async getOrders(t,e){return await this.request(`/merchants/${t}/events/${e}/statistics/orders`).method("get").bearerToken().queryString(Q.builder().append("language","nl")).runAdapter(g.parseEventStatisticsOrdersFromObject)}async getScans(t,e){return await this.request(`/merchants/${t}/events/${e}/statistics/scans`).method("get").bearerToken().queryString(Q.builder().append("language","nl")).runAdapter(g.parseEventStatisticsScansFromObject)}async getSwaps(t,e){return await this.request(`/merchants/${t}/events/${e}/statistics/swaps`).method("get").bearerToken().queryString(Q.builder().append("language","nl")).runAdapter(g.parseEventStatisticsSwapTotalsFromObject)}}import{BaseService as As,QueryString as ce}from"@basmilius/http-client";class _s extends As{async get(t,e,r){return await this.request(`/merchants/${t}/events/${e}/shops/${r}`).method("get").queryString(ce.builder().append("language","nl")).bearerToken().runAdapter(g.parseShopFromObject)}async getElements(t,e,r){return await this.request(`/merchants/${t}/events/${e}/shops/${r}/elements`).method("get").queryString(ce.builder().append("language","nl")).bearerToken().runArrayAdapter(g.parseShopElementFromObject)}async patch(t,e,r){return await this.request(`/merchants/${t}/events/${e}/shops/${r.id}`).method("patch").queryString(ce.builder().append("language","nl")).bearerToken().body({name:r.name,is_published:r.isPublished,starts_on:r.startsOn,ends_on:r.endsOn,password:r.password}).runAdapter(g.parseShopFromObject)}async patchDesign(t,e,r,i){return await this.request(`/merchants/${t}/events/${e}/shops/${r}/design`).method("patch").bearerToken().body({background_color:i.backgroundColor,foreground_color:i.foregroundColor,primary_color:i.primaryColor}).runAdapter(g.parseShopDesignFromObject)}async patchElements(t,e,r,i){return await this.request(`/merchants/${t}/events/${e}/shops/${r}/elements`).method("patch").bearerToken().body({elements:i}).runArrayAdapter(g.parseShopElementFromObject)}}import{BaseService as ws,QueryString as le}from"@basmilius/http-client";class Is extends ws{async get(t,e,r,i){return await this.request(`/merchants/${t}/events/${e}/shops`).method("get").queryString(le.builder().append("language","nl").append("offset",r).append("limit",i)).bearerToken().runPaginatedAdapter(g.parseShopFromObject)}async post(t,e,r,i,n){return await this.request(`/merchants/${t}/events/${e}/shops`).method("post").bearerToken().queryString(le.builder().append("language","nl")).body({name:r,starts_on:i,ends_on:n}).runAdapter(g.parseShopFromObject)}async delete(t,e,r){return await this.request(`/merchants/${t}/events/${e}/shops/${r}`).method("delete").bearerToken().queryString(le.builder().append("language","nl")).runAdapter(c.parseStatusResponseFromObject)}}import{BaseService as Ns,QueryString as ue}from"@basmilius/http-client";class Es extends Ns{async get(t,e,r,i){return await this.request(`/merchants/${t}/events/${e}/stock-pools`).method("get").queryString(ue.builder().append("language","nl").append("offset",r).append("limit",i)).bearerToken().runPaginatedAdapter(g.parseStockPoolFromObject)}async getOverview(t,e){return await this.request(`/merchants/${t}/events/${e}/stock-pools/overview`).method("get").queryString(ue.builder().append("language","nl")).bearerToken().runAdapter(g.parseStockOverviewFromObject)}async getSelectOptions(t,e,r=null,i=null){return await this.request(`/merchants/${t}/events/${e}/stock-pools/select-options`).method("get").queryString(ue.builder().append("language","nl").appendArray("ids[]",i).append("searchQuery",r)).bearerToken().runArrayAdapter(k.parseFluxFormSelectEntryFromObject)}async post(t,e,r,i){return await this.request(`/merchants/${t}/events/${e}/stock-pools`).method("post").bearerToken().queryString(ue.builder().append("language","nl")).body({name:r,stock:i}).runAdapter(g.parseStockPoolFromObject)}}import{BaseService as Ms,QueryString as L}from"@basmilius/http-client";class Us extends Ms{async get(t,e,r){return await this.request(`/merchants/${t}/events/${e}/ticket-templates/${r}`).method("get").bearerToken().queryString(L.builder().append("language","nl")).runAdapter(g.parseTicketTemplateFromObject)}async getDemo(t,e,r){return await this.request(`/merchants/${t}/events/${e}/ticket-templates/${r}/demo`).method("get").bearerToken().queryString(L.builder().append("language","nl")).fetchBlob()}async postVisual(t,e,r,i){let n=new FormData;return n.append("file",i),await this.request(`/merchants/${t}/events/${e}/ticket-templates/${r}/visual`).method("post").bearerToken().queryString(L.builder().append("language","nl")).body(n).runAdapter(c.parseStatusResponseFromObject)}async patch(t,e,r,i,n,o){return await this.request(`/merchants/${t}/events/${e}/ticket-templates/${r}`).method("patch").bearerToken().queryString(L.builder().append("language","nl")).body({name:i,product_id:n,variant:o}).runAdapter(g.parseTicketTemplateFromObject)}async delete(t,e,r){return await this.request(`/merchants/${t}/events/${e}/ticket-templates/${r}`).method("delete").bearerToken().queryString(L.builder().append("language","nl")).runAdapter(c.parseStatusResponseFromObject)}async deleteVisual(t,e,r){return await this.request(`/merchants/${t}/events/${e}/ticket-templates/${r}/visual`).method("delete").bearerToken().queryString(L.builder().append("language","nl")).runAdapter(c.parseStatusResponseFromObject)}}import{BaseService as Qs,QueryString as ye}from"@basmilius/http-client";class Ls extends Qs{async get(t,e,r,i){return await this.request(`/merchants/${t}/events/${e}/ticket-templates`).method("get").queryString(ye.builder().append("language","nl").append("offset",r).append("limit",i)).bearerToken().runPaginatedAdapter(g.parseTicketTemplateFromObject)}async getSelectOptions(t,e,r=null,i=null){return await this.request(`/merchants/${t}/events/${e}/ticket-templates/select-options`).method("get").queryString(ye.builder().append("language","nl").appendArray("ids[]",i).append("searchQuery",r)).bearerToken().runArrayAdapter(k.parseFluxFormSelectEntryFromObject)}async post(t,e,r,i,n,o){let a=new FormData;return a.append("data",ae({name:r,product_id:i,variant:n})),a.append("visual",o),await this.request(`/merchants/${t}/events/${e}/ticket-templates`).method("post").bearerToken().queryString(ye.builder().append("language","nl")).body(a).runAdapter(g.parseTicketTemplateFromObject)}}import{BaseService as Gs,QueryString as Se}from"@basmilius/http-client";class Vs extends Gs{async get(t,e,r){return await this.request(`/merchants/${t}/events`).method("get").bearerToken().queryString(Se.builder().append("language","nl").append("offset",e).append("limit",r)).runPaginatedAdapter(g.parseEventFromObject)}async post(t,e,r,i,n,o){return await this.request(`/merchants/${t}/events`).method("post").bearerToken().queryString(Se.builder().append("language","nl")).body({name:e,description:r,starts_on:i,ends_on:n,minimum_age:o}).runAdapter(g.parseEventFromObject)}}import{BaseService as Hs,QueryString as Oe}from"@basmilius/http-client";class Ws extends Hs{async get(t,e){return await this.request(`/merchants/${t}/finance/invoices/${e}`).method("get").bearerToken().queryString(Oe.builder().append("language","nl")).runAdapter(C.parseInvoiceFromObject)}async getPDF(t,e){return await this.request(`/merchants/${t}/finance/invoices/${e}/pdf`).method("get").bearerToken().queryString(Oe.builder().append("language","nl")).fetchBlob()}}import{BaseService as zs,QueryString as Js}from"@basmilius/http-client";class Ks extends zs{async get(t,e,r){return await this.request(`/merchants/${t}/finance/invoices`).method("get").bearerToken().queryString(Js.builder().append("language","nl").append("offset",e).append("limit",r)).runPaginatedAdapter(C.parseInvoiceFromObject)}}import{BaseService as Zs,QueryString as be}from"@basmilius/http-client";class Xs extends Zs{async getDailyRevenue(t){return await this.request(`/merchants/${t}/finance/daily-revenue`).method("get").bearerToken().queryString(be.builder().append("language","nl")).runAdapter((e)=>e)}async getMonthlyRevenue(t){return await this.request(`/merchants/${t}/finance/monthly-revenue`).method("get").bearerToken().queryString(be.builder().append("language","nl")).runAdapter((e)=>e)}async getOverview(t){return await this.request(`/merchants/${t}/finance/overview`).method("get").bearerToken().queryString(be.builder().append("language","nl")).runAdapter(C.parseFinanceOverviewFromObject)}}import{BaseService as Ys,QueryString as oe}from"@basmilius/http-client";class ti extends Ys{async get(t,e){return await this.request(`/merchants/${t}/orders/${e}`).method("get").bearerToken().queryString(oe.builder().append("language","nl")).runAdapter(y.parseOrderFromObject)}async getPasses(t,e){return await this.request(`/merchants/${t}/orders/${e}/passes`).method("get").bearerToken().queryString(oe.builder().append("language","nl")).fetchBlob()}async getPDF(t,e){return await this.request(`/merchants/${t}/orders/${e}/pdf`).method("get").bearerToken().queryString(oe.builder().append("language","nl")).fetchBlob()}async getTickets(t,e){return await this.request(`/merchants/${t}/orders/${e}/tickets`).method("get").bearerToken().queryString(oe.builder().append("language","nl")).runArrayAdapter(v.parseTicketFromObject)}async postResend(t,e){return await this.request(`/merchants/${t}/orders/${e}/resend`).method("post").bearerToken().queryString(oe.builder().append("language","nl")).runEmpty()}}import{BaseService as ei,QueryString as ri}from"@basmilius/http-client";class si extends ei{async get(t,e,r,i){let n=ri.builder().append("language","nl").append("offset",e).append("limit",r);if(i)Object.entries(i).forEach(([o,a])=>n.append(o,a));return await this.request(`/merchants/${t}/orders`).method("get").queryString(n).bearerToken().runPaginatedAdapter(y.parseOrderFromObject)}}import{BaseService as ii,QueryString as ni}from"@basmilius/http-client";class oi extends ii{async getRevenueTrend(t){return this.request(`/merchants/${t}/statistics/revenue-trend`).method("get").queryString(ni.builder().append("language","nl")).bearerToken().runAdapter((e)=>e)}}import{BaseService as ai,QueryString as De}from"@basmilius/http-client";class ui extends ai{async get(t,e){return await this.request(`/merchants/${t}/tickets/${e}`).method("get").bearerToken().queryString(De.builder().append("language","nl")).runAdapter(v.parseTicketFromObject)}async getPass(t,e){return await this.request(`/merchants/${t}/tickets/${e}/pass`).method("get").bearerToken().queryString(De.builder().append("language","nl")).fetchBlob()}async getPDF(t,e){return await this.request(`/merchants/${t}/tickets/${e}/pdf`).method("get").bearerToken().queryString(De.builder().append("language","nl")).fetchBlob()}}import{BaseService as mi,QueryString as gi}from"@basmilius/http-client";class pi extends mi{async get(t,e,r,i){let n=gi.builder().append("language","nl").append("offset",e).append("limit",r);if(i)Object.entries(i).forEach(([o,a])=>n.append(o,a));return await this.request(`/merchants/${t}/tickets`).method("get").queryString(n).bearerToken().runPaginatedAdapter(v.parseTicketFromObject)}}import{BaseService as di,QueryString as Pe}from"@basmilius/http-client";class hi extends di{async get(t,e,r){return await this.request(`/merchants/${t}/users`).method("get").queryString(Pe.builder().append("language","nl").append("offset",e).append("limit",r)).bearerToken().runPaginatedAdapter(f.parseMerchantUserFromObject)}async postInvite(t,e,r,i,n){return await this.request(`/merchants/${t}/users/invite`).method("post").queryString(Pe.builder().append("language","nl")).bearerToken().body({first_name:e,last_name:r,email:i,claims:n}).runAdapter(f.parseInvitationFromObject)}}import{BaseService as ci,QueryString as A}from"@basmilius/http-client";class li extends ci{async get(){return await this.request("/me").method("get").bearerToken().queryString(A.builder().append("language","nl")).runAdapter(b.parseUserFromObject)}async getTotp(){return await this.request("/me/totp").method("get").bearerToken().queryString(A.builder().append("language","nl")).runAdapter(b.parseTotpStateFromObject)}async post(t,e,r){return await this.request("/me").method("post").bearerToken().queryString(A.builder().append("language","nl")).body({first_name:t,last_name:e,phone_number:r}).runAdapter(c.parseStatusResponseFromObject)}async postChangePassword(t,e,r){return await this.request("/me/change-password").method("post").bearerToken().queryString(A.builder().append("language","nl")).body({password:t,new_password:e,new_password_confirm:r}).runAdapter(c.parseStatusResponseFromObject)}async postProfilePicture(t){let e=new FormData;return e.append("file",t),await this.request("/me/profile-picture").method("post").bearerToken().queryString(A.builder().append("language","nl")).body(e).runAdapter(c.parseStatusResponseFromObject)}async postTotp(t,e){return await this.request("/me/totp").method("post").bearerToken().queryString(A.builder().append("language","nl")).body({secret:t,code:e}).runAdapter(b.parseTotpStateFromObject)}async deleteProfilePicture(){return await this.request("/me/profile-picture").method("delete").bearerToken().queryString(A.builder().append("language","nl")).runAdapter(c.parseStatusResponseFromObject)}async deleteTotp(t){return await this.request("/me/totp").method("delete").bearerToken().queryString(A.builder().append("language","nl")).body({code:t}).runAdapter(b.parseTotpStateFromObject)}}import{BaseService as yi,QueryString as fe}from"@basmilius/http-client";class bi extends yi{async get(t){return await this.request(`/orders/${t}`).method("get").queryString(fe.builder().append("language","nl")).runAdapter(y.parseOrderFromObject)}async getPaymentMethods(t){return await this.request(`/orders/${t}/payment-methods`).method("get").queryString(fe.builder().append("language","nl")).runArrayAdapter(ne.parsePublicPaymentMethodFromObject)}async postPay(t,e){return await this.request(`/orders/${t}/pay`).method("post").queryString(fe.builder().append("language","nl")).body({payment_method_id:e}).runAdapter(d.parseTransactionFromObject)}}import{BaseService as Di,QueryString as Te}from"@basmilius/http-client";class fi extends Di{async get(t){return await this.request(`/shops/${t}`).method("get").queryString(Te.builder().append("language","nl")).runAdapter(T.parsePublicShopFromObject)}async buy(t,e,r,i,n,o,a,p){return await this.request(`/shops/${t}/buy/${e}`).method("post").queryString(Te.builder().append("language","nl")).body({first_name:r,last_name:i,email:n,phone_number:o.trim()===""?null:o.trim(),date_of_birth:a?.toISODate(),gender:p}).runAdapter(y.parseOrderFromObject)}async reserve(t,e){return await this.request(`/shops/${t}/reserve`).method("post").queryString(Te.builder().append("language","nl")).body({products:e.map((r)=>[r.productId,r.quantity,r.timeSlotId])}).runAdapter(T.parsePublicShopReservationFromObject)}}import{BaseService as Ti,QueryString as xe}from"@basmilius/http-client";class Si extends Ti{async get(t){return await this.request(`/reservations/${t}`).method("get").queryString(xe.builder().append("language","nl")).runAdapter(_.parseReservationFromObject)}async remove(t){return await this.request(`/reservations/${t}`).method("delete").queryString(xe.builder().append("language","nl")).run()}}import{BaseService as Oi,QueryString as Pi}from"@basmilius/http-client";class xi extends Oi{async checkEmail(t){return await this.request("/service/check-email").method("get").queryString(Pi.builder().append("email",t).append("language","nl")).runAdapter((e)=>e)}}import{BaseService as Fi,QueryString as Fe}from"@basmilius/http-client";class Ri extends Fi{async getClaims(){return await this.request("/ui/select-options/claims").method("get").bearerToken().queryString(Fe.builder().append("language","nl")).runAdapter((t)=>{let e=[];return t.forEach((r)=>{e.push({icon:r.icon,label:r.label}),r.claims.forEach((i)=>e.push({label:i.label,value:i.value}))}),e})}async getCountries(){return await this.request("/ui/select-options/countries").method("get").bearerToken().queryString(Fe.builder().append("language","nl")).runArrayAdapter((t)=>t)}}export{P as optionalArray,u as optional,ae as jsonBlob,N as emptyNull,kt as VatNumberDto,z as UserTokenDto,W as UserDto,Ri as UiSelectOptionsService,Nt as TransactionDto,H as TotpStateDto,Dt as TicketTemplateDto,I as TicketDto,v as TicketAdapter,bt as StockPoolDto,yt as StockOverviewItemDto,lt as StockOverviewDto,J as StatusResponseDto,w as ShopElementTextDto,ct as ShopElementProductDto,ht as ShopElementNoticeDto,dt as ShopElementHeadingDto,x as ShopElementDto,pt as ShopElementDividerDto,gt as ShopElementButtonDto,mt as ShopDto,ut as ShopDesignDto,xi as ServicesService,Si as ReservationService,ie as ReservationProductDto,se as ReservationItemDto,re as ReservationDto,_ as ReservationAdapter,ee as PublicShopTimeSlotDto,fi as PublicShopService,Yt as PublicShopReservationProductDto,te as PublicShopReservationProductDetailsDto,Xt as PublicShopReservationDto,Zt as PublicShopProductDto,Kt as PublicShopMerchantDto,Jt as PublicShopEventDto,zt as PublicShopElementTextDto,Wt as PublicShopElementProductDto,Ht as PublicShopElementNoticeDto,Vt as PublicShopElementHeadingDto,F as PublicShopElementDto,Gt as PublicShopElementDividerDto,Lt as PublicShopElementButtonDto,Qt as PublicShopDto,Ut as PublicShopDesignDto,ge as PublicShopCartProductDto,T as PublicShopAdapter,Mt as PublicPaymentMethodDto,ne as PublicPayAdapter,bi as PublicOrderService,Et as ProductDto,O as ProductAdapter,ft as PictureDto,It as PaymentProviderDto,wt as PaymentMethodDto,d as PaymentAdapter,At as OrderProductDto,$t as OrderPaymentProviderDto,jt as OrderLineDto,vt as OrderDto,y as OrderAdapter,bs as MerchantsService,hi as MerchantUsersService,Bt as MerchantUserDto,pi as MerchantTicketsService,ui as MerchantTicketService,oi as MerchantStatisticsService,cs as MerchantService,si as MerchantOrdersService,ti as MerchantOrderService,Xs as MerchantFinanceService,Ks as MerchantFinanceInvoicesService,Ws as MerchantFinanceInvoiceService,Vs as MerchantEventsService,Ls as MerchantEventTicketTemplatesService,Us as MerchantEventTicketTemplateService,Es as MerchantEventStockPoolsService,$s as MerchantEventStatisticsService,Is as MerchantEventShopsService,_s as MerchantEventShopService,vs as MerchantEventService,ks as MerchantEventProductsService,qs as MerchantEventProductService,qt as MerchantDto,Rt as MerchantDashboardUpcomingEventDto,Fs as MerchantDashboardService,Ft as MerchantDashboardKeyMetricsDto,E as MerchantDashboardAdapter,Os as MerchantBuyersService,fs as MerchantBuyerService,f as MerchantAdapter,li as MeService,Ot as InvoiceLineDto,St as InvoiceDto,ds as InvitationService,xt as InvitationDto,k as FluxAdapter,Tt as FinanceOverviewDto,C as FinanceAdapter,l as FileSystemAdapter,at as EventStatisticsSwapTotalsDto,nt as EventStatisticsScansPerAppTeamDto,it as EventStatisticsScansDto,ot as EventStatisticsScanTotalsDto,rt as EventStatisticsOrdersDto,st as EventStatisticsOrderTotalsDto,et as EventStatisticsFinancialDto,tt as EventStatisticsBuyerTotalsDto,Y as EventStatisticsAttendanceDto,X as EventDto,Z as EventCountersDto,K as EventAvailabilityDto,g as EventAdapter,m as DateTimeAdapter,_t as CostDto,Pt as ContractDto,c as CommonAdapter,Ct as BuyerDto,R as BuyerAdapter,gs as AuthService,b as AuthAdapter,V as AddressDto,B as AddressAdapter};
|
|
2
|
-
|
|
3
|
-
//# debugId=B85D4868DEFED0C664756E2164756E21
|
|
4
|
-
//# sourceMappingURL=index.js.map
|