@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,25 +0,0 @@
|
|
|
1
|
-
import type { DateTime } from "luxon";
|
|
2
|
-
export declare class StockPoolDto {
|
|
3
|
-
#private;
|
|
4
|
-
get id(): string;
|
|
5
|
-
set id(value: string);
|
|
6
|
-
get eventId(): string;
|
|
7
|
-
set eventId(value: string);
|
|
8
|
-
get merchantId(): string;
|
|
9
|
-
set merchantId(value: string);
|
|
10
|
-
get name(): string | null;
|
|
11
|
-
set name(value: string | null);
|
|
12
|
-
get remainingStock(): number;
|
|
13
|
-
set remainingStock(value: number);
|
|
14
|
-
get stock(): number;
|
|
15
|
-
set stock(value: number);
|
|
16
|
-
get isShared(): boolean;
|
|
17
|
-
set isShared(value: boolean);
|
|
18
|
-
get productNames(): string[];
|
|
19
|
-
set productNames(value: string[]);
|
|
20
|
-
get createdOn(): DateTime;
|
|
21
|
-
set createdOn(value: DateTime);
|
|
22
|
-
get updatedOn(): DateTime;
|
|
23
|
-
set updatedOn(value: DateTime);
|
|
24
|
-
constructor(id: string, eventId: string, merchantId: string, name: string | null, remainingStock: number, stock: number, isShared: boolean, productNames: string[], createdOn: DateTime, updatedOn: DateTime);
|
|
25
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { PictureDto, ProductDto } from "../../dto";
|
|
2
|
-
import type { TicketTemplateType } from "../../types";
|
|
3
|
-
export declare class TicketTemplateDto {
|
|
4
|
-
#private;
|
|
5
|
-
get id(): string;
|
|
6
|
-
set id(value: string);
|
|
7
|
-
get name(): string;
|
|
8
|
-
set name(value: string);
|
|
9
|
-
get product(): ProductDto | null;
|
|
10
|
-
set product(value: ProductDto | null);
|
|
11
|
-
get productId(): string | null;
|
|
12
|
-
set productId(value: string | null);
|
|
13
|
-
get variant(): TicketTemplateType;
|
|
14
|
-
set variant(value: TicketTemplateType);
|
|
15
|
-
get visual(): PictureDto | null;
|
|
16
|
-
set visual(value: PictureDto | null);
|
|
17
|
-
constructor(id: string, name: string, product: ProductDto, productId: string | null, variant: TicketTemplateType, visual: PictureDto | null);
|
|
18
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export * from "./EventAvailabilityDto";
|
|
2
|
-
export * from "./EventCountersDto";
|
|
3
|
-
export * from "./EventDto";
|
|
4
|
-
export * from "./EventStatisticsAttendanceDto";
|
|
5
|
-
export * from "./EventStatisticsBuyerTotalsDto";
|
|
6
|
-
export * from "./EventStatisticsFinancialDto";
|
|
7
|
-
export * from "./EventStatisticsOrdersDto";
|
|
8
|
-
export * from "./EventStatisticsOrderTotalsDto";
|
|
9
|
-
export * from "./EventStatisticsScansDto";
|
|
10
|
-
export * from "./EventStatisticsScansPerAppTeamDto";
|
|
11
|
-
export * from "./EventStatisticsScanTotalsDto";
|
|
12
|
-
export * from "./EventStatisticsSwapTotalsDto";
|
|
13
|
-
export * from "./ShopDesignDto";
|
|
14
|
-
export * from "./ShopDto";
|
|
15
|
-
export * from "./ShopElementDto";
|
|
16
|
-
export * from "./ShopElementButtonDto";
|
|
17
|
-
export * from "./ShopElementDividerDto";
|
|
18
|
-
export * from "./ShopElementHeadingDto";
|
|
19
|
-
export * from "./ShopElementNoticeDto";
|
|
20
|
-
export * from "./ShopElementProductDto";
|
|
21
|
-
export * from "./ShopElementTextDto";
|
|
22
|
-
export * from "./StockOverviewDto";
|
|
23
|
-
export * from "./StockOverviewItemDto";
|
|
24
|
-
export * from "./StockPoolDto";
|
|
25
|
-
export * from "./TicketTemplateDto";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare class PictureDto {
|
|
2
|
-
#private;
|
|
3
|
-
get id(): string;
|
|
4
|
-
set id(value: string);
|
|
5
|
-
get url(): string;
|
|
6
|
-
set url(value: string);
|
|
7
|
-
get variants(): Record<"large" | "medium" | "thumb", string>;
|
|
8
|
-
set variants(value: Record<"large" | "medium" | "thumb", string>);
|
|
9
|
-
constructor(id: string, url: string, variants: Record<"large" | "medium" | "thumb", string>);
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./PictureDto";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { CostDto } from "../../dto";
|
|
2
|
-
export declare class FinanceOverviewDto {
|
|
3
|
-
#private;
|
|
4
|
-
get estimatedPaymentCost(): CostDto;
|
|
5
|
-
set estimatedPaymentCost(value: CostDto);
|
|
6
|
-
get orders(): Record<string, number>;
|
|
7
|
-
set orders(value: Record<string, number>);
|
|
8
|
-
get platformCost(): CostDto;
|
|
9
|
-
set platformCost(value: CostDto);
|
|
10
|
-
get revenue(): CostDto;
|
|
11
|
-
set revenue(value: CostDto);
|
|
12
|
-
constructor(estimatedPaymentCost: CostDto, orders: Record<string, number>, platformCost: CostDto, revenue: CostDto);
|
|
13
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { DateTime } from "luxon";
|
|
2
|
-
import type { CostDto, InvoiceLineDto } from "../../dto";
|
|
3
|
-
import type { TransactionStatus } from "../../types";
|
|
4
|
-
export declare class InvoiceDto {
|
|
5
|
-
#private;
|
|
6
|
-
get id(): string;
|
|
7
|
-
set id(value: string);
|
|
8
|
-
get number(): string;
|
|
9
|
-
set number(value: string);
|
|
10
|
-
get sequence(): number;
|
|
11
|
-
set sequence(value: number);
|
|
12
|
-
get status(): TransactionStatus;
|
|
13
|
-
set status(value: TransactionStatus);
|
|
14
|
-
get year(): number;
|
|
15
|
-
set year(value: number);
|
|
16
|
-
get total(): CostDto;
|
|
17
|
-
set total(value: CostDto);
|
|
18
|
-
get lines(): InvoiceLineDto[];
|
|
19
|
-
set lines(value: InvoiceLineDto[]);
|
|
20
|
-
get createdOn(): DateTime;
|
|
21
|
-
set createdOn(value: DateTime);
|
|
22
|
-
get updatedOn(): DateTime;
|
|
23
|
-
set updatedOn(value: DateTime);
|
|
24
|
-
constructor(id: string, number: string, sequence: number, status: TransactionStatus, year: number, total: CostDto, lines: InvoiceLineDto[], createdOn: DateTime, updatedOn: DateTime);
|
|
25
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { DateTime } from "luxon";
|
|
2
|
-
import type { CostDto } from "../../dto";
|
|
3
|
-
import type { InvoiceLineType } from "../../types";
|
|
4
|
-
export declare class InvoiceLineDto {
|
|
5
|
-
#private;
|
|
6
|
-
get id(): string;
|
|
7
|
-
set id(value: string);
|
|
8
|
-
get type(): InvoiceLineType;
|
|
9
|
-
set type(value: InvoiceLineType);
|
|
10
|
-
get cost(): CostDto;
|
|
11
|
-
set cost(value: CostDto);
|
|
12
|
-
get createdOn(): DateTime;
|
|
13
|
-
set createdOn(value: DateTime);
|
|
14
|
-
get updatedOn(): DateTime;
|
|
15
|
-
set updatedOn(value: DateTime);
|
|
16
|
-
constructor(id: string, type: InvoiceLineType, cost: CostDto, createdOn: DateTime, updatedOn: DateTime);
|
|
17
|
-
}
|
package/dist/dto/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export * from "./address";
|
|
2
|
-
export * from "./auth";
|
|
3
|
-
export * from "./common";
|
|
4
|
-
export * from "./event";
|
|
5
|
-
export * from "./fileSystem";
|
|
6
|
-
export * from "./finance";
|
|
7
|
-
export * from "./merchant";
|
|
8
|
-
export * from "./order";
|
|
9
|
-
export * from "./payment";
|
|
10
|
-
export * from "./product";
|
|
11
|
-
export * from "./publicPay";
|
|
12
|
-
export * from "./publicShop";
|
|
13
|
-
export * from "./reservation";
|
|
14
|
-
export * from "./ticket";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { DateTime } from "luxon";
|
|
2
|
-
import type { CostDto } from "../../dto";
|
|
3
|
-
export declare class ContractDto {
|
|
4
|
-
#private;
|
|
5
|
-
get id(): string;
|
|
6
|
-
set id(value: string);
|
|
7
|
-
get startsOn(): DateTime;
|
|
8
|
-
set startsOn(value: DateTime);
|
|
9
|
-
get endsOn(): DateTime;
|
|
10
|
-
set endsOn(value: DateTime);
|
|
11
|
-
get fee(): CostDto;
|
|
12
|
-
set fee(value: CostDto);
|
|
13
|
-
get remark(): string;
|
|
14
|
-
set remark(value: string);
|
|
15
|
-
constructor(id: string, startsOn: DateTime, endsOn: DateTime, fee: CostDto, remark: string);
|
|
16
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { DateTime } from "luxon";
|
|
2
|
-
import type { MerchantDto, UserDto } from "../../dto";
|
|
3
|
-
import type { Claim } from "../../types";
|
|
4
|
-
export declare class InvitationDto {
|
|
5
|
-
#private;
|
|
6
|
-
get id(): string;
|
|
7
|
-
set id(value: string);
|
|
8
|
-
get merchantId(): string;
|
|
9
|
-
set merchantId(value: string);
|
|
10
|
-
get userId(): string;
|
|
11
|
-
set userId(value: string);
|
|
12
|
-
get claims(): Claim[];
|
|
13
|
-
set claims(value: Claim[]);
|
|
14
|
-
get isNewUser(): boolean;
|
|
15
|
-
set isNewUser(value: boolean);
|
|
16
|
-
get createdOn(): DateTime;
|
|
17
|
-
set createdOn(value: DateTime);
|
|
18
|
-
get updatedOn(): DateTime;
|
|
19
|
-
set updatedOn(value: DateTime);
|
|
20
|
-
get merchant(): MerchantDto;
|
|
21
|
-
set merchant(value: MerchantDto);
|
|
22
|
-
get user(): UserDto;
|
|
23
|
-
set user(value: UserDto);
|
|
24
|
-
constructor(id: string, merchantId: string, userId: string, claims: Claim[], isNewUser: boolean, createdOn: DateTime, updatedOn: DateTime, merchant: MerchantDto, user: UserDto);
|
|
25
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { CostDto } from "../../dto";
|
|
2
|
-
type RevenueGrowth = {
|
|
3
|
-
readonly value: CostDto;
|
|
4
|
-
readonly growth: number;
|
|
5
|
-
};
|
|
6
|
-
type TicketGrowth = {
|
|
7
|
-
readonly value: number;
|
|
8
|
-
readonly growth: number;
|
|
9
|
-
};
|
|
10
|
-
export declare class MerchantDashboardKeyMetricsDto {
|
|
11
|
-
#private;
|
|
12
|
-
get revenue(): RevenueGrowth;
|
|
13
|
-
set revenue(value: RevenueGrowth);
|
|
14
|
-
get tickets(): TicketGrowth;
|
|
15
|
-
set tickets(value: TicketGrowth);
|
|
16
|
-
get events(): number;
|
|
17
|
-
set events(value: number);
|
|
18
|
-
get tasks(): number;
|
|
19
|
-
set tasks(value: number);
|
|
20
|
-
constructor(revenue: RevenueGrowth, tickets: TicketGrowth, events: number, tasks: number);
|
|
21
|
-
}
|
|
22
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { DateTime } from "luxon";
|
|
2
|
-
import type { PictureDto } from "../../dto";
|
|
3
|
-
import type { EventStatus } from "../../types";
|
|
4
|
-
export declare class MerchantDashboardUpcomingEventDto {
|
|
5
|
-
#private;
|
|
6
|
-
get id(): string;
|
|
7
|
-
set id(value: string);
|
|
8
|
-
get name(): string;
|
|
9
|
-
set name(value: string);
|
|
10
|
-
get description(): string;
|
|
11
|
-
set description(value: string);
|
|
12
|
-
get headerFile(): PictureDto | null;
|
|
13
|
-
set headerFile(value: PictureDto | null);
|
|
14
|
-
get status(): EventStatus;
|
|
15
|
-
set status(value: EventStatus);
|
|
16
|
-
get startsOn(): DateTime;
|
|
17
|
-
set startsOn(value: DateTime);
|
|
18
|
-
get ticketsSold(): number;
|
|
19
|
-
set ticketsSold(value: number);
|
|
20
|
-
get ticketsTotal(): number;
|
|
21
|
-
set ticketsTotal(value: number);
|
|
22
|
-
get sellThroughRate(): number;
|
|
23
|
-
set sellThroughRate(value: number);
|
|
24
|
-
constructor(id: string, name: string, description: string, headerFile: PictureDto | null, status: EventStatus, startsOn: DateTime, ticketsSold: number, ticketsTotal: number, sellThroughRate: number);
|
|
25
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { DateTime } from "luxon";
|
|
2
|
-
import type { AddressDto, ContractDto, PictureDto } from "../../dto";
|
|
3
|
-
export declare class MerchantDto {
|
|
4
|
-
#private;
|
|
5
|
-
get id(): string;
|
|
6
|
-
set id(value: string);
|
|
7
|
-
get name(): string;
|
|
8
|
-
set name(value: string);
|
|
9
|
-
get email(): string;
|
|
10
|
-
set email(value: string);
|
|
11
|
-
get phoneNumber(): string;
|
|
12
|
-
set phoneNumber(value: string);
|
|
13
|
-
get url(): string;
|
|
14
|
-
set url(value: string);
|
|
15
|
-
get chamberOfCommerceNumber(): string | null;
|
|
16
|
-
set chamberOfCommerceNumber(value: string | null);
|
|
17
|
-
get vatNumber(): string | null;
|
|
18
|
-
set vatNumber(value: string | null);
|
|
19
|
-
get currency(): string;
|
|
20
|
-
set currency(value: string);
|
|
21
|
-
get address(): AddressDto;
|
|
22
|
-
set address(value: AddressDto);
|
|
23
|
-
get currentContract(): ContractDto | null;
|
|
24
|
-
set currentContract(value: ContractDto | null);
|
|
25
|
-
get logo(): PictureDto | null;
|
|
26
|
-
set logo(value: PictureDto | null);
|
|
27
|
-
get createdOn(): DateTime;
|
|
28
|
-
set createdOn(value: DateTime);
|
|
29
|
-
get updatedOn(): DateTime;
|
|
30
|
-
set updatedOn(value: DateTime);
|
|
31
|
-
constructor(id: string, name: string, email: string, phoneNumber: string, url: string, chamberOfCommerceNumber: string | null, vatNumber: string | null, currency: string, address: AddressDto, currentContract: ContractDto | null, logo: PictureDto | null, createdOn: DateTime, updatedOn: DateTime);
|
|
32
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { DateTime } from "luxon";
|
|
2
|
-
import type { UserDto } from "../../dto";
|
|
3
|
-
export declare class MerchantUserDto {
|
|
4
|
-
#private;
|
|
5
|
-
get isManager(): boolean;
|
|
6
|
-
set isManager(value: boolean);
|
|
7
|
-
get createdOn(): DateTime;
|
|
8
|
-
set createdOn(value: DateTime);
|
|
9
|
-
get updatedOn(): DateTime;
|
|
10
|
-
set updatedOn(value: DateTime);
|
|
11
|
-
get user(): UserDto;
|
|
12
|
-
set user(value: UserDto);
|
|
13
|
-
constructor(isManager: boolean, createdOn: DateTime, updatedOn: DateTime, user: UserDto);
|
|
14
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { DateTime } from "luxon";
|
|
2
|
-
export declare class VatNumberDto {
|
|
3
|
-
#private;
|
|
4
|
-
get id(): string;
|
|
5
|
-
set id(value: string);
|
|
6
|
-
get vatNumber(): string;
|
|
7
|
-
set vatNumber(value: string);
|
|
8
|
-
get name(): string;
|
|
9
|
-
set name(value: string);
|
|
10
|
-
get address(): string;
|
|
11
|
-
set address(value: string);
|
|
12
|
-
get countryCode(): string;
|
|
13
|
-
set countryCode(value: string);
|
|
14
|
-
get createdOn(): DateTime;
|
|
15
|
-
set createdOn(value: DateTime);
|
|
16
|
-
get updatedOn(): DateTime;
|
|
17
|
-
set updatedOn(value: DateTime);
|
|
18
|
-
constructor(id: string, vatNumber: string, name: string, address: string, countryCode: string, createdOn: DateTime, updatedOn: DateTime);
|
|
19
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "./ContractDto";
|
|
2
|
-
export * from "./InvitationDto";
|
|
3
|
-
export * from "./MerchantDashboardKeyMetricsDto";
|
|
4
|
-
export * from "./MerchantDashboardUpcomingEventDto";
|
|
5
|
-
export * from "./MerchantDto";
|
|
6
|
-
export * from "./MerchantUserDto";
|
|
7
|
-
export * from "./VatNumberDto";
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { DateTime } from "luxon";
|
|
2
|
-
import type { AddressDto } from "../../dto";
|
|
3
|
-
import type { Gender } from "../../types";
|
|
4
|
-
export declare class BuyerDto {
|
|
5
|
-
#private;
|
|
6
|
-
get id(): string;
|
|
7
|
-
set id(value: string);
|
|
8
|
-
get firstName(): string;
|
|
9
|
-
set firstName(value: string);
|
|
10
|
-
get lastName(): string;
|
|
11
|
-
set lastName(value: string);
|
|
12
|
-
get email(): string;
|
|
13
|
-
set email(value: string);
|
|
14
|
-
get phoneNumber(): string;
|
|
15
|
-
set phoneNumber(value: string);
|
|
16
|
-
get dateOfBirth(): DateTime;
|
|
17
|
-
set dateOfBirth(value: DateTime);
|
|
18
|
-
get gender(): Gender;
|
|
19
|
-
set gender(value: Gender);
|
|
20
|
-
get orderCount(): number;
|
|
21
|
-
set orderCount(value: number);
|
|
22
|
-
get fullName(): string;
|
|
23
|
-
set fullName(value: string);
|
|
24
|
-
get address(): AddressDto | null;
|
|
25
|
-
set address(value: AddressDto | null);
|
|
26
|
-
constructor(id: string, firstName: string, lastName: string, email: string, phoneNumber: string, dateOfBirth: DateTime, gender: Gender, orderCount: number, fullName: string, address: AddressDto | null);
|
|
27
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import type { DateTime } from "luxon";
|
|
2
|
-
import type { BuyerDto, CostDto, EventDto, OrderLineDto, OrderPaymentProviderDto, PublicShopDto, TransactionDto } from "../../dto";
|
|
3
|
-
import type { OrderOrigin, OrderType } from "../../types";
|
|
4
|
-
export declare class OrderDto {
|
|
5
|
-
#private;
|
|
6
|
-
get id(): string;
|
|
7
|
-
set id(value: string);
|
|
8
|
-
get code(): string;
|
|
9
|
-
set code(value: string);
|
|
10
|
-
get origin(): OrderOrigin;
|
|
11
|
-
set origin(value: OrderOrigin);
|
|
12
|
-
get type(): OrderType;
|
|
13
|
-
set type(value: OrderType);
|
|
14
|
-
get createdOn(): DateTime;
|
|
15
|
-
set createdOn(value: DateTime);
|
|
16
|
-
get paymentProvider(): OrderPaymentProviderDto | null;
|
|
17
|
-
set paymentProvider(value: OrderPaymentProviderDto | null);
|
|
18
|
-
get platformCost(): CostDto;
|
|
19
|
-
set platformCost(value: CostDto);
|
|
20
|
-
get subTotal(): CostDto;
|
|
21
|
-
set subTotal(value: CostDto);
|
|
22
|
-
get total(): CostDto;
|
|
23
|
-
set total(value: CostDto);
|
|
24
|
-
get url(): string;
|
|
25
|
-
set url(value: string);
|
|
26
|
-
get buyer(): BuyerDto | null;
|
|
27
|
-
set buyer(value: BuyerDto | null);
|
|
28
|
-
get event(): EventDto | null;
|
|
29
|
-
set event(value: EventDto | null);
|
|
30
|
-
get lines(): OrderLineDto[] | null;
|
|
31
|
-
set lines(value: OrderLineDto[] | null);
|
|
32
|
-
get shop(): PublicShopDto | null;
|
|
33
|
-
set shop(value: PublicShopDto | null);
|
|
34
|
-
get transaction(): TransactionDto | null;
|
|
35
|
-
set transaction(value: TransactionDto | null);
|
|
36
|
-
constructor(id: string, code: string, origin: OrderOrigin, type: OrderType, createdOn: DateTime, paymentProvider: OrderPaymentProviderDto | null, platformCost: CostDto, subTotal: CostDto, total: CostDto, url: string, buyer: BuyerDto | null, event: EventDto | null, lines: OrderLineDto[] | null, shop: PublicShopDto | null, transaction: TransactionDto | null);
|
|
37
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { DateTime } from "luxon";
|
|
2
|
-
import type { CostDto, OrderProductDto } from "../../dto";
|
|
3
|
-
export declare class OrderLineDto {
|
|
4
|
-
#private;
|
|
5
|
-
get id(): string;
|
|
6
|
-
set id(value: string);
|
|
7
|
-
get price(): CostDto;
|
|
8
|
-
set price(value: CostDto);
|
|
9
|
-
get quantity(): number;
|
|
10
|
-
set quantity(value: number);
|
|
11
|
-
get product(): OrderProductDto;
|
|
12
|
-
set product(value: OrderProductDto);
|
|
13
|
-
get subTotal(): CostDto;
|
|
14
|
-
set subTotal(value: CostDto);
|
|
15
|
-
get createdOn(): DateTime;
|
|
16
|
-
set createdOn(value: DateTime);
|
|
17
|
-
get updatedOn(): DateTime;
|
|
18
|
-
set updatedOn(value: DateTime);
|
|
19
|
-
constructor(id: string, price: CostDto, quantity: number, product: OrderProductDto, subTotal: CostDto, createdOn: DateTime, updatedOn: DateTime);
|
|
20
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare class OrderProductDto {
|
|
2
|
-
#private;
|
|
3
|
-
get id(): string;
|
|
4
|
-
set id(value: string);
|
|
5
|
-
get name(): string;
|
|
6
|
-
set name(value: string);
|
|
7
|
-
get description(): string;
|
|
8
|
-
set description(value: string);
|
|
9
|
-
get image(): string | null;
|
|
10
|
-
set image(value: string | null);
|
|
11
|
-
constructor(id: string, name: string, description: string, image: string | null);
|
|
12
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare class CostDto {
|
|
2
|
-
#private;
|
|
3
|
-
get currencyCode(): string;
|
|
4
|
-
set currencyCode(value: string);
|
|
5
|
-
get currencyDecimals(): number;
|
|
6
|
-
set currencyDecimals(value: number);
|
|
7
|
-
get currencySign(): string;
|
|
8
|
-
set currencySign(value: string);
|
|
9
|
-
get decimal(): number;
|
|
10
|
-
set decimal(value: number);
|
|
11
|
-
get formatted(): string;
|
|
12
|
-
set formatted(value: string);
|
|
13
|
-
get cents(): number;
|
|
14
|
-
set cents(value: number);
|
|
15
|
-
constructor(currencyCode: string, currencyDecimals: number, currencySign: string, decimal: number, formatted: string, cents: number);
|
|
16
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { PaymentMethodDto } from "../../dto";
|
|
2
|
-
import type { PaymentProviderType } from "../../types";
|
|
3
|
-
export declare class PaymentProviderDto {
|
|
4
|
-
#private;
|
|
5
|
-
get id(): string;
|
|
6
|
-
set id(value: string);
|
|
7
|
-
get type(): PaymentProviderType;
|
|
8
|
-
set type(value: PaymentProviderType);
|
|
9
|
-
get methods(): PaymentMethodDto[];
|
|
10
|
-
set methods(value: PaymentMethodDto[]);
|
|
11
|
-
constructor(id: string, type: PaymentProviderType, methods: PaymentMethodDto[]);
|
|
12
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { CostDto, OrderDto, PaymentMethodDto } from "../../dto";
|
|
2
|
-
import type { TransactionStatus } from "../../types";
|
|
3
|
-
export declare class TransactionDto {
|
|
4
|
-
#private;
|
|
5
|
-
get id(): string;
|
|
6
|
-
set id(value: string);
|
|
7
|
-
get description(): string;
|
|
8
|
-
set description(value: string);
|
|
9
|
-
get status(): TransactionStatus;
|
|
10
|
-
set status(value: TransactionStatus);
|
|
11
|
-
get cost(): CostDto;
|
|
12
|
-
set cost(value: CostDto);
|
|
13
|
-
get metadata(): Record<string, unknown>;
|
|
14
|
-
set metadata(value: Record<string, unknown>);
|
|
15
|
-
get externalCheckoutUrl(): string | null;
|
|
16
|
-
set externalCheckoutUrl(value: string | null);
|
|
17
|
-
get externalDetails(): Record<string, any> | null;
|
|
18
|
-
set externalDetails(value: Record<string, any> | null);
|
|
19
|
-
get order(): OrderDto;
|
|
20
|
-
set order(value: OrderDto);
|
|
21
|
-
get paymentMethod(): PaymentMethodDto | null;
|
|
22
|
-
set paymentMethod(value: PaymentMethodDto | null);
|
|
23
|
-
constructor(id: string, description: string, status: TransactionStatus, cost: CostDto, metadata: Record<string, unknown>, externalCheckoutUrl: string | null, externalDetails: Record<string, any> | null, order: OrderDto, paymentMethod: PaymentMethodDto | null);
|
|
24
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { CostDto, PictureDto, StockPoolDto } from "../../dto";
|
|
2
|
-
import type { ProductType } from "../../types";
|
|
3
|
-
export declare class ProductDto {
|
|
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 isSwappable(): boolean;
|
|
20
|
-
set isSwappable(value: boolean);
|
|
21
|
-
get remainingStock(): number;
|
|
22
|
-
set remainingStock(value: number);
|
|
23
|
-
get stock(): StockPoolDto;
|
|
24
|
-
set stock(value: StockPoolDto);
|
|
25
|
-
get image(): PictureDto;
|
|
26
|
-
set image(value: PictureDto);
|
|
27
|
-
get images(): PictureDto[];
|
|
28
|
-
set images(value: PictureDto[]);
|
|
29
|
-
constructor(id: string, type: ProductType, name: string, description: string, price: CostDto, maxQuantity: number, isActive: boolean, isSwappable: boolean, remainingStock: number, stock: StockPoolDto, image: PictureDto, images: PictureDto[]);
|
|
30
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./ProductDto";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare class PublicPaymentMethodDto {
|
|
2
|
-
#private;
|
|
3
|
-
get id(): string;
|
|
4
|
-
set id(value: string);
|
|
5
|
-
get name(): string;
|
|
6
|
-
set name(value: string);
|
|
7
|
-
get image(): string;
|
|
8
|
-
set image(value: string);
|
|
9
|
-
constructor(id: string, name: string, image: string);
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./PublicPaymentMethodDto";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare class PublicShopCartProductDto {
|
|
2
|
-
#private;
|
|
3
|
-
get productId(): string;
|
|
4
|
-
set productId(value: string);
|
|
5
|
-
get quantity(): number;
|
|
6
|
-
set quantity(value: number);
|
|
7
|
-
get timeSlotId(): string | null;
|
|
8
|
-
set timeSlotId(value: string | null);
|
|
9
|
-
constructor(productId: string, quantity: number, timeSlotId: string | null);
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare class PublicShopDesignDto {
|
|
2
|
-
#private;
|
|
3
|
-
get backgroundColor(): string;
|
|
4
|
-
set backgroundColor(value: string);
|
|
5
|
-
get foregroundColor(): string;
|
|
6
|
-
set foregroundColor(value: string);
|
|
7
|
-
get primaryColor(): string;
|
|
8
|
-
set primaryColor(value: string);
|
|
9
|
-
constructor(backgroundColor: string, foregroundColor: string, primaryColor: string);
|
|
10
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { DateTime } from "luxon";
|
|
2
|
-
import type { PublicShopDesignDto, PublicShopElementDto, PublicShopEventDto, PublicShopMerchantDto } from "../../dto";
|
|
3
|
-
import type { ShopFieldRequirement } from "../../types";
|
|
4
|
-
export declare class PublicShopDto {
|
|
5
|
-
#private;
|
|
6
|
-
get id(): string;
|
|
7
|
-
set id(value: string);
|
|
8
|
-
get name(): string;
|
|
9
|
-
set name(value: string);
|
|
10
|
-
get startsOn(): DateTime;
|
|
11
|
-
set startsOn(value: DateTime);
|
|
12
|
-
get endsOn(): DateTime;
|
|
13
|
-
set endsOn(value: DateTime);
|
|
14
|
-
get fieldAddress(): ShopFieldRequirement;
|
|
15
|
-
set fieldAddress(value: ShopFieldRequirement);
|
|
16
|
-
get fieldBirthdate(): ShopFieldRequirement;
|
|
17
|
-
set fieldBirthdate(value: ShopFieldRequirement);
|
|
18
|
-
get fieldGender(): ShopFieldRequirement;
|
|
19
|
-
set fieldGender(value: ShopFieldRequirement);
|
|
20
|
-
get fieldPhoneNumber(): ShopFieldRequirement;
|
|
21
|
-
set fieldPhoneNumber(value: ShopFieldRequirement);
|
|
22
|
-
get design(): PublicShopDesignDto;
|
|
23
|
-
set design(value: PublicShopDesignDto);
|
|
24
|
-
get elements(): PublicShopElementDto[] | null;
|
|
25
|
-
set elements(value: PublicShopElementDto[] | null);
|
|
26
|
-
get event(): PublicShopEventDto;
|
|
27
|
-
set event(value: PublicShopEventDto);
|
|
28
|
-
get merchant(): PublicShopMerchantDto;
|
|
29
|
-
set merchant(value: PublicShopMerchantDto);
|
|
30
|
-
constructor(id: string, name: string, startsOn: DateTime, endsOn: DateTime, fieldAddress: ShopFieldRequirement, fieldBirthdate: ShopFieldRequirement, fieldGender: ShopFieldRequirement, fieldPhoneNumber: ShopFieldRequirement, design: PublicShopDesignDto, elements: PublicShopElementDto[] | null, event: PublicShopEventDto, merchant: PublicShopMerchantDto);
|
|
31
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { FluxIconName } from "@flux-ui/types";
|
|
2
|
-
import { PublicShopElementDto } from "../../dto";
|
|
3
|
-
export declare class PublicShopElementButtonDto extends PublicShopElementDto {
|
|
4
|
-
#private;
|
|
5
|
-
get icon(): FluxIconName | null;
|
|
6
|
-
set icon(value: FluxIconName | null);
|
|
7
|
-
get text(): string;
|
|
8
|
-
set text(value: string);
|
|
9
|
-
get url(): string;
|
|
10
|
-
set url(value: string);
|
|
11
|
-
constructor(id: string, icon: FluxIconName | null, text: string, url: string);
|
|
12
|
-
}
|