@passly-nl/data 1.0.0-beta.3 → 1.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +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 +17 -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,11 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService, type Paginated } from "@basmilius/http-client";
|
|
2
|
-
import type { UserTokenDto } from "../dto";
|
|
3
|
-
import type { Claim } from "../types";
|
|
4
|
-
export declare class AuthService extends BaseService {
|
|
5
|
-
get(): Promise<BaseResponse<UserTokenDto>>;
|
|
6
|
-
getClaims(): Promise<BaseResponse<Claim[]>>;
|
|
7
|
-
getPasswordCompromised(): Promise<BaseResponse<boolean>>;
|
|
8
|
-
getSessions(offset: number, limit: number): Promise<BaseResponse<Paginated<UserTokenDto>>>;
|
|
9
|
-
post(email: string, password: string, code?: string): Promise<BaseResponse<UserTokenDto>>;
|
|
10
|
-
deleteSession(token: string): Promise<BaseResponse<never>>;
|
|
11
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService } from "@basmilius/http-client";
|
|
2
|
-
import type { InvitationDto, StatusResponseDto, UserTokenDto } from "../dto";
|
|
3
|
-
export declare class InvitationService extends BaseService {
|
|
4
|
-
get(invitationId: string): Promise<BaseResponse<InvitationDto>>;
|
|
5
|
-
postAccept(invitationId: string, password?: string): Promise<BaseResponse<UserTokenDto>>;
|
|
6
|
-
postDecline(invitationId: string): Promise<BaseResponse<StatusResponseDto>>;
|
|
7
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService } from "@basmilius/http-client";
|
|
2
|
-
import type { StatusResponseDto, TotpStateDto, UserDto } from "../dto";
|
|
3
|
-
export declare class MeService extends BaseService {
|
|
4
|
-
get(): Promise<BaseResponse<UserDto>>;
|
|
5
|
-
getTotp(): Promise<BaseResponse<TotpStateDto>>;
|
|
6
|
-
post(firstName: string, lastName: string, phoneNumber: string): Promise<BaseResponse<StatusResponseDto>>;
|
|
7
|
-
postChangePassword(password: string, newPassword: string, newPasswordConfirm: string): Promise<BaseResponse<StatusResponseDto>>;
|
|
8
|
-
postProfilePicture(picture: File): Promise<BaseResponse<StatusResponseDto>>;
|
|
9
|
-
postTotp(secret: string, code: string): Promise<BaseResponse<TotpStateDto>>;
|
|
10
|
-
deleteProfilePicture(): Promise<BaseResponse<StatusResponseDto>>;
|
|
11
|
-
deleteTotp(code: string): Promise<BaseResponse<TotpStateDto>>;
|
|
12
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService, Paginated } from "@basmilius/http-client";
|
|
2
|
-
import type { BuyerDto, OrderDto } from "../dto";
|
|
3
|
-
export declare class MerchantBuyerService extends BaseService {
|
|
4
|
-
get(merchantId: string, buyerId: string): Promise<BaseResponse<BuyerDto>>;
|
|
5
|
-
getOrder(merchantId: string, buyerId: string, orderId: string): Promise<BaseResponse<OrderDto>>;
|
|
6
|
-
getOrders(merchantId: string, buyerId: string, offset: number, limit: number): Promise<BaseResponse<Paginated<OrderDto>>>;
|
|
7
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService, Paginated } from "@basmilius/http-client";
|
|
2
|
-
import type { BuyerDto } from "../dto";
|
|
3
|
-
export declare class MerchantBuyersService extends BaseService {
|
|
4
|
-
get(merchantId: string, offset: number, limit: number): Promise<BaseResponse<Paginated<BuyerDto>>>;
|
|
5
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService } from "@basmilius/http-client";
|
|
2
|
-
import type { MerchantDashboardKeyMetricsDto, MerchantDashboardUpcomingEventDto } from "../dto";
|
|
3
|
-
export declare class MerchantDashboardService extends BaseService {
|
|
4
|
-
getKeyMetrics(merchantId: string): Promise<BaseResponse<MerchantDashboardKeyMetricsDto>>;
|
|
5
|
-
getUpcomingEvents(merchantId: string): Promise<BaseResponse<MerchantDashboardUpcomingEventDto[]>>;
|
|
6
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService } from "@basmilius/http-client";
|
|
2
|
-
import type { ProductDto } from "../dto";
|
|
3
|
-
export declare class MerchantEventProductService extends BaseService {
|
|
4
|
-
get(merchantId: string, eventId: string, productId: string): Promise<BaseResponse<ProductDto>>;
|
|
5
|
-
postImage(merchantId: string, eventId: string, productId: string, picture: File): Promise<BaseResponse<object>>;
|
|
6
|
-
patch(merchantId: string, eventId: string, productId: string, product: ProductDto): Promise<BaseResponse<ProductDto>>;
|
|
7
|
-
patchPause(merchantId: string, eventId: string, productId: string): Promise<BaseResponse<never>>;
|
|
8
|
-
patchResume(merchantId: string, eventId: string, productId: string): Promise<BaseResponse<never>>;
|
|
9
|
-
delete(merchantId: string, eventId: string, productId: string): Promise<BaseResponse<never>>;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService, Paginated } from "@basmilius/http-client";
|
|
2
|
-
import type { FluxFormSelectEntry } from "@flux-ui/types";
|
|
3
|
-
import type { ProductDto } from "../dto";
|
|
4
|
-
export declare class MerchantEventProductsService extends BaseService {
|
|
5
|
-
get(merchantId: string, eventId: string, offset: number, limit: number): Promise<BaseResponse<Paginated<ProductDto>>>;
|
|
6
|
-
getSelectOptions(merchantId: string, eventId: string, searchQuery?: string | null, ids?: string[] | null): Promise<BaseResponse<FluxFormSelectEntry[]>>;
|
|
7
|
-
post(merchantId: string, eventId: string, name: string, description: string, price: number, maxQuantity: number, stock: number | null, stockPoolId: string | null): Promise<BaseResponse<ProductDto>>;
|
|
8
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService } from "@basmilius/http-client";
|
|
2
|
-
import type { EventAvailabilityDto, EventCountersDto, EventDto, StatusResponseDto } from "../dto";
|
|
3
|
-
export declare class MerchantEventService extends BaseService {
|
|
4
|
-
get(merchantId: string, eventId: string): Promise<BaseResponse<EventDto>>;
|
|
5
|
-
getAvailability(merchantId: string, eventId: string): Promise<BaseResponse<EventAvailabilityDto>>;
|
|
6
|
-
getCounters(merchantId: string, eventId: string): Promise<BaseResponse<EventCountersDto>>;
|
|
7
|
-
post(merchantId: string, event: EventDto): Promise<BaseResponse<EventDto>>;
|
|
8
|
-
postHeader(merchantId: string, eventId: string, picture: File): Promise<BaseResponse<StatusResponseDto>>;
|
|
9
|
-
postPublish(merchantId: string, eventId: string): Promise<BaseResponse<StatusResponseDto>>;
|
|
10
|
-
postUnpublish(merchantId: string, eventId: string): Promise<BaseResponse<StatusResponseDto>>;
|
|
11
|
-
delete(merchantId: string, eventId: string): Promise<BaseResponse<StatusResponseDto>>;
|
|
12
|
-
deleteHeader(merchantId: string, eventId: string): Promise<BaseResponse<StatusResponseDto>>;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService } from "@basmilius/http-client";
|
|
2
|
-
import type { ShopDesignDto, ShopDto, ShopElementDto } from "../dto";
|
|
3
|
-
export declare class MerchantEventShopService extends BaseService {
|
|
4
|
-
get(merchantId: string, eventId: string, shopId: string): Promise<BaseResponse<ShopDto>>;
|
|
5
|
-
getElements(merchantId: string, eventId: string, shopId: string): Promise<BaseResponse<ShopElementDto[]>>;
|
|
6
|
-
patch(merchantId: string, eventId: string, shop: ShopDto): Promise<BaseResponse<ShopDto>>;
|
|
7
|
-
patchDesign(merchantId: string, eventId: string, shopId: string, design: ShopDesignDto): Promise<BaseResponse<ShopDesignDto>>;
|
|
8
|
-
patchElements(merchantId: string, eventId: string, shopId: string, elements: object[]): Promise<BaseResponse<ShopElementDto[]>>;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService, Paginated } from "@basmilius/http-client";
|
|
2
|
-
import type { DateTime } from "luxon";
|
|
3
|
-
import type { ShopDto, StatusResponseDto } from "../dto";
|
|
4
|
-
export declare class MerchantEventShopsService extends BaseService {
|
|
5
|
-
get(merchantId: string, eventId: string, offset: number, limit: number): Promise<BaseResponse<Paginated<ShopDto>>>;
|
|
6
|
-
post(merchantId: string, eventId: string, name: string, startsOn: DateTime, endsOn: DateTime): Promise<BaseResponse<ShopDto>>;
|
|
7
|
-
delete(merchantId: string, eventId: string, shopId: string): Promise<BaseResponse<StatusResponseDto>>;
|
|
8
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService } from "@basmilius/http-client";
|
|
2
|
-
import type { EventStatisticsAttendanceDto, EventStatisticsBuyerTotalsDto, EventStatisticsFinancialDto, EventStatisticsOrdersDto, EventStatisticsScansDto, EventStatisticsSwapTotalsDto } from "../dto";
|
|
3
|
-
export declare class MerchantEventStatisticsService extends BaseService {
|
|
4
|
-
getAttendance(merchantId: string, eventId: string): Promise<BaseResponse<EventStatisticsAttendanceDto>>;
|
|
5
|
-
getBuyers(merchantId: string, eventId: string): Promise<BaseResponse<EventStatisticsBuyerTotalsDto>>;
|
|
6
|
-
getFinancial(merchant: string, event: string): Promise<BaseResponse<EventStatisticsFinancialDto>>;
|
|
7
|
-
getOrders(merchant: string, event: string): Promise<BaseResponse<EventStatisticsOrdersDto>>;
|
|
8
|
-
getScans(merchant: string, event: string): Promise<BaseResponse<EventStatisticsScansDto>>;
|
|
9
|
-
getSwaps(merchant: string, event: string): Promise<BaseResponse<EventStatisticsSwapTotalsDto>>;
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService, Paginated } from "@basmilius/http-client";
|
|
2
|
-
import type { FluxFormSelectEntry } from "@flux-ui/types";
|
|
3
|
-
import type { StockOverviewDto, StockPoolDto } from "../dto";
|
|
4
|
-
export declare class MerchantEventStockPoolsService extends BaseService {
|
|
5
|
-
get(merchantId: string, eventId: string, offset: number, limit: number): Promise<BaseResponse<Paginated<StockPoolDto>>>;
|
|
6
|
-
getOverview(merchantId: string, eventId: string): Promise<BaseResponse<StockOverviewDto>>;
|
|
7
|
-
getSelectOptions(merchantId: string, eventId: string, searchQuery?: string | null, ids?: string[] | null): Promise<BaseResponse<FluxFormSelectEntry[]>>;
|
|
8
|
-
post(merchantId: string, eventId: string, name: string, stock: number): Promise<BaseResponse<StockPoolDto>>;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService, type BlobResponse } from "@basmilius/http-client";
|
|
2
|
-
import type { StatusResponseDto, TicketTemplateDto } from "../dto";
|
|
3
|
-
import type { TicketTemplateType } from "../types";
|
|
4
|
-
export declare class MerchantEventTicketTemplateService extends BaseService {
|
|
5
|
-
get(merchantId: string, eventId: string, ticketTemplateId: string): Promise<BaseResponse<TicketTemplateDto>>;
|
|
6
|
-
getDemo(merchantId: string, eventId: string, ticketTemplateId: string): Promise<BlobResponse>;
|
|
7
|
-
postVisual(merchantId: string, eventId: string, ticketTemplateId: string, picture: File): Promise<BaseResponse<StatusResponseDto>>;
|
|
8
|
-
patch(merchantId: string, eventId: string, ticketTemplateId: string, name: string, productId: string | null, variant: TicketTemplateType): Promise<BaseResponse<TicketTemplateDto>>;
|
|
9
|
-
delete(merchantId: string, eventId: string, ticketTemplateId: string): Promise<BaseResponse<StatusResponseDto>>;
|
|
10
|
-
deleteVisual(merchantId: string, eventId: string, ticketTemplateId: string): Promise<BaseResponse<StatusResponseDto>>;
|
|
11
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService, Paginated } from "@basmilius/http-client";
|
|
2
|
-
import type { FluxFormSelectEntry } from "@flux-ui/types";
|
|
3
|
-
import type { TicketTemplateDto } from "../dto";
|
|
4
|
-
import type { TicketTemplateType } from "../types";
|
|
5
|
-
export declare class MerchantEventTicketTemplatesService extends BaseService {
|
|
6
|
-
get(merchantId: string, eventId: string, offset: number, limit: number): Promise<BaseResponse<Paginated<TicketTemplateDto>>>;
|
|
7
|
-
getSelectOptions(merchantId: string, eventId: string, searchQuery?: string | null, ids?: string[] | null): Promise<BaseResponse<FluxFormSelectEntry[]>>;
|
|
8
|
-
post(merchantId: string, eventId: string, name: string, productId: string | null, variant: TicketTemplateType, visual: File): Promise<BaseResponse<TicketTemplateDto>>;
|
|
9
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService, Paginated } from "@basmilius/http-client";
|
|
2
|
-
import type { DateTime } from "luxon";
|
|
3
|
-
import type { EventDto } from "../dto";
|
|
4
|
-
export declare class MerchantEventsService extends BaseService {
|
|
5
|
-
get(merchantId: string, offset: number, limit: number): Promise<BaseResponse<Paginated<EventDto>>>;
|
|
6
|
-
post(merchantId: string, name: string, description: string, startsOn: DateTime, endsOn: DateTime, minimumAge: number): Promise<BaseResponse<EventDto>>;
|
|
7
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService, BlobResponse } from "@basmilius/http-client";
|
|
2
|
-
import type { InvoiceDto } from "../dto";
|
|
3
|
-
export declare class MerchantFinanceInvoiceService extends BaseService {
|
|
4
|
-
get(merchantId: string, invoiceId: string): Promise<BaseResponse<InvoiceDto>>;
|
|
5
|
-
getPDF(merchantId: string, invoiceId: string): Promise<BlobResponse>;
|
|
6
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService, Paginated } from "@basmilius/http-client";
|
|
2
|
-
import type { InvoiceDto } from "../dto";
|
|
3
|
-
export declare class MerchantFinanceInvoicesService extends BaseService {
|
|
4
|
-
get(merchantId: string, offset: number, limit: number): Promise<BaseResponse<Paginated<InvoiceDto>>>;
|
|
5
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService } from "@basmilius/http-client";
|
|
2
|
-
import type { FinanceOverviewDto } from "../dto";
|
|
3
|
-
import type { DailyRevenueChart } from "../types";
|
|
4
|
-
export declare class MerchantFinanceService extends BaseService {
|
|
5
|
-
getDailyRevenue(merchantId: string): Promise<BaseResponse<DailyRevenueChart>>;
|
|
6
|
-
getMonthlyRevenue(merchantId: string): Promise<BaseResponse<DailyRevenueChart>>;
|
|
7
|
-
getOverview(merchantId: string): Promise<BaseResponse<FinanceOverviewDto>>;
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService, BlobResponse } from "@basmilius/http-client";
|
|
2
|
-
import type { OrderDto, TicketDto } from "../dto";
|
|
3
|
-
export declare class MerchantOrderService extends BaseService {
|
|
4
|
-
get(merchantId: string, orderId: string): Promise<BaseResponse<OrderDto>>;
|
|
5
|
-
getPasses(merchantId: string, orderId: string): Promise<BlobResponse>;
|
|
6
|
-
getPDF(merchantId: string, orderId: string): Promise<BlobResponse>;
|
|
7
|
-
getTickets(merchantId: string, orderId: string): Promise<BaseResponse<TicketDto[]>>;
|
|
8
|
-
postResend(merchantId: string, orderId: string): Promise<BaseResponse<never>>;
|
|
9
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService, Paginated } from "@basmilius/http-client";
|
|
2
|
-
import type { OrderDto } from "../dto";
|
|
3
|
-
export declare class MerchantOrdersService extends BaseService {
|
|
4
|
-
get(merchantId: string, offset: number, limit: number, filter?: Record<string, string | number | boolean>): Promise<BaseResponse<Paginated<OrderDto>>>;
|
|
5
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService } from "@basmilius/http-client";
|
|
2
|
-
import type { ContractDto, MerchantDto, PaymentProviderDto, StatusResponseDto, UserDto, VatNumberDto } from "../dto";
|
|
3
|
-
import type { Claim } from "../types";
|
|
4
|
-
export declare class MerchantService extends BaseService {
|
|
5
|
-
get(merchantId: string): Promise<BaseResponse<MerchantDto>>;
|
|
6
|
-
getAccountManager(merchantId: string): Promise<BaseResponse<UserDto | null>>;
|
|
7
|
-
getClaims(merchantId: string): Promise<BaseResponse<Claim[]>>;
|
|
8
|
-
getContract(merchantId: string): Promise<BaseResponse<ContractDto>>;
|
|
9
|
-
getPaymentProviders(merchantId: string): Promise<BaseResponse<PaymentProviderDto[]>>;
|
|
10
|
-
getVatNumber(merchantId: string): Promise<BaseResponse<VatNumberDto>>;
|
|
11
|
-
put(merchantId: string, merchant: MerchantDto): Promise<BaseResponse<MerchantDto>>;
|
|
12
|
-
postLogo(merchantId: string, picture: File): Promise<BaseResponse<StatusResponseDto>>;
|
|
13
|
-
deleteLogo(merchantId: string): Promise<BaseResponse<StatusResponseDto>>;
|
|
14
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService, BlobResponse } from "@basmilius/http-client";
|
|
2
|
-
import type { TicketDto } from "../dto";
|
|
3
|
-
export declare class MerchantTicketService extends BaseService {
|
|
4
|
-
get(merchantId: string, ticketId: string): Promise<BaseResponse<TicketDto>>;
|
|
5
|
-
getPass(merchantId: string, ticketId: string): Promise<BlobResponse>;
|
|
6
|
-
getPDF(merchantId: string, ticketId: string): Promise<BlobResponse>;
|
|
7
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService, Paginated } from "@basmilius/http-client";
|
|
2
|
-
import type { TicketDto } from "../dto";
|
|
3
|
-
export declare class MerchantTicketsService extends BaseService {
|
|
4
|
-
get(merchantId: string, offset: number, limit: number, filter?: Record<string, string | number | boolean>): Promise<BaseResponse<Paginated<TicketDto>>>;
|
|
5
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService, Paginated } from "@basmilius/http-client";
|
|
2
|
-
import type { InvitationDto, MerchantUserDto } from "../dto";
|
|
3
|
-
import type { Claim } from "../types";
|
|
4
|
-
export declare class MerchantUsersService extends BaseService {
|
|
5
|
-
get(merchantId: string, offset: number, limit: number): Promise<BaseResponse<Paginated<MerchantUserDto>>>;
|
|
6
|
-
postInvite(merchantId: string, firstName: string, lastName: string, email: string, claims: Claim[]): Promise<BaseResponse<InvitationDto>>;
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService } from "@basmilius/http-client";
|
|
2
|
-
import type { OrderDto, PublicPaymentMethodDto, TransactionDto } from "../dto";
|
|
3
|
-
export declare class PublicOrderService extends BaseService {
|
|
4
|
-
get(orderId: string): Promise<BaseResponse<OrderDto>>;
|
|
5
|
-
getPaymentMethods(orderId: string): Promise<BaseResponse<PublicPaymentMethodDto[]>>;
|
|
6
|
-
postPay(orderId: string, paymentMethodId: string): Promise<BaseResponse<TransactionDto>>;
|
|
7
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService } from "@basmilius/http-client";
|
|
2
|
-
import type { DateTime } from "luxon";
|
|
3
|
-
import type { OrderDto, PublicShopCartProductDto, PublicShopDto, PublicShopReservationDto } from "../dto";
|
|
4
|
-
import type { Gender } from "../types";
|
|
5
|
-
export declare class PublicShopService extends BaseService {
|
|
6
|
-
get(shopId: string): Promise<BaseResponse<PublicShopDto>>;
|
|
7
|
-
buy(shopId: string, reservationId: string, firstName: string, lastName: string, email: string, phoneNumber: string, dateOfBirth: DateTime | null, gender: Gender | null): Promise<BaseResponse<OrderDto>>;
|
|
8
|
-
reserve(shopId: string, products: PublicShopCartProductDto[]): Promise<BaseResponse<PublicShopReservationDto>>;
|
|
9
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService } from "@basmilius/http-client";
|
|
2
|
-
import type { ReservationDto } from "../dto";
|
|
3
|
-
export declare class ReservationService extends BaseService {
|
|
4
|
-
get(id: string): Promise<BaseResponse<ReservationDto>>;
|
|
5
|
-
remove(id: string): Promise<BaseResponse<never>>;
|
|
6
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type BaseResponse, BaseService } from "@basmilius/http-client";
|
|
2
|
-
export declare class ServicesService extends BaseService {
|
|
3
|
-
checkEmail(email: string): Promise<BaseResponse<CheckEmailResponse>>;
|
|
4
|
-
}
|
|
5
|
-
type CheckEmailResponse = {
|
|
6
|
-
readonly email: string;
|
|
7
|
-
readonly suggestions?: string[];
|
|
8
|
-
};
|
|
9
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BaseResponse, BaseService } from "@basmilius/http-client";
|
|
2
|
-
import type { FluxFormSelectEntry, FluxFormSelectOption } from "@flux-ui/types";
|
|
3
|
-
export declare class UiSelectOptionsService extends BaseService {
|
|
4
|
-
getClaims(): Promise<BaseResponse<FluxFormSelectEntry[]>>;
|
|
5
|
-
getCountries(): Promise<BaseResponse<FluxFormSelectOption[]>>;
|
|
6
|
-
}
|
package/dist/service/index.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export * from "./AuthService";
|
|
2
|
-
export * from "./InvitationService";
|
|
3
|
-
export * from "./MerchantService";
|
|
4
|
-
export * from "./MerchantsService";
|
|
5
|
-
export * from "./MerchantBuyerService";
|
|
6
|
-
export * from "./MerchantBuyersService";
|
|
7
|
-
export * from "./MerchantDashboardService";
|
|
8
|
-
export * from "./MerchantEventProductService";
|
|
9
|
-
export * from "./MerchantEventProductsService";
|
|
10
|
-
export * from "./MerchantEventService";
|
|
11
|
-
export * from "./MerchantEventStatisticsService";
|
|
12
|
-
export * from "./MerchantEventShopService";
|
|
13
|
-
export * from "./MerchantEventShopsService";
|
|
14
|
-
export * from "./MerchantEventStockPoolsService";
|
|
15
|
-
export * from "./MerchantEventTicketTemplateService";
|
|
16
|
-
export * from "./MerchantEventTicketTemplatesService";
|
|
17
|
-
export * from "./MerchantEventsService";
|
|
18
|
-
export * from "./MerchantFinanceInvoiceService";
|
|
19
|
-
export * from "./MerchantFinanceInvoicesService";
|
|
20
|
-
export * from "./MerchantFinanceService";
|
|
21
|
-
export * from "./MerchantOrderService";
|
|
22
|
-
export * from "./MerchantOrdersService";
|
|
23
|
-
export * from "./MerchantStatisticsService";
|
|
24
|
-
export * from "./MerchantTicketService";
|
|
25
|
-
export * from "./MerchantTicketsService";
|
|
26
|
-
export * from "./MerchantUsersService";
|
|
27
|
-
export * from "./MeService";
|
|
28
|
-
export * from "./PublicOrderService";
|
|
29
|
-
export * from "./PublicShopService";
|
|
30
|
-
export * from "./ReservationService";
|
|
31
|
-
export * from "./ServicesService";
|
|
32
|
-
export * from "./UiSelectOptionsService";
|
package/dist/types/auth.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export type Claim =
|
|
2
|
-
| 'admin:view'
|
|
3
|
-
| 'auth:login'
|
|
4
|
-
| 'buyers:view'
|
|
5
|
-
| 'events:create'
|
|
6
|
-
| 'events:manage'
|
|
7
|
-
| 'events:publish'
|
|
8
|
-
| 'events:statistics'
|
|
9
|
-
| 'events:unpublish'
|
|
10
|
-
| 'events:view'
|
|
11
|
-
| 'events:tickets:export'
|
|
12
|
-
| 'events:tickets:scan'
|
|
13
|
-
| 'events:tickets:view'
|
|
14
|
-
| 'finance:export'
|
|
15
|
-
| 'finance:view'
|
|
16
|
-
| 'finance:invoices:view'
|
|
17
|
-
| 'merchant:admin'
|
|
18
|
-
| 'merchant:users'
|
|
19
|
-
| 'orders:export'
|
|
20
|
-
| 'orders:view'
|
|
21
|
-
| 'statistics:view'
|
|
22
|
-
| 'tasks:view';
|
|
23
|
-
|
|
24
|
-
export type UserTokenType =
|
|
25
|
-
| 'access_token'
|
|
26
|
-
| 'authorization_code'
|
|
27
|
-
| 'refresh_token'
|
|
28
|
-
| 'session';
|
|
29
|
-
|
|
30
|
-
export type BrowserType =
|
|
31
|
-
| 'brave'
|
|
32
|
-
| 'chrome'
|
|
33
|
-
| 'edge'
|
|
34
|
-
| 'firefox'
|
|
35
|
-
| 'opera'
|
|
36
|
-
| 'safari'
|
|
37
|
-
| 'samsunginternet'
|
|
38
|
-
| 'vivaldi';
|
|
39
|
-
|
|
40
|
-
export type OperatingSystemType =
|
|
41
|
-
| 'ios'
|
|
42
|
-
| 'ipados'
|
|
43
|
-
| 'macos'
|
|
44
|
-
| 'windows'
|
|
45
|
-
| 'linux'
|
|
46
|
-
| 'android'
|
|
47
|
-
| 'chromeos';
|
package/dist/types/event.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export type EventStatus =
|
|
2
|
-
| 'active'
|
|
3
|
-
| 'concluded'
|
|
4
|
-
| 'happening'
|
|
5
|
-
| 'in_sale'
|
|
6
|
-
| 'pending';
|
|
7
|
-
|
|
8
|
-
export type ShopElementType =
|
|
9
|
-
| 'button'
|
|
10
|
-
| 'divider'
|
|
11
|
-
| 'heading'
|
|
12
|
-
| 'notice'
|
|
13
|
-
| 'product'
|
|
14
|
-
| 'text';
|
|
15
|
-
|
|
16
|
-
export type ShopFieldRequirement =
|
|
17
|
-
| 'disabled'
|
|
18
|
-
| 'enabled'
|
|
19
|
-
| 'required';
|
|
20
|
-
|
|
21
|
-
export type ShopStatus =
|
|
22
|
-
| 'closed'
|
|
23
|
-
| 'concluded'
|
|
24
|
-
| 'in_sale'
|
|
25
|
-
| 'pending';
|
|
26
|
-
|
|
27
|
-
export type TicketTemplateType =
|
|
28
|
-
| 'default';
|
package/dist/types/finance.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export type DailyRevenueChart = {
|
|
2
|
-
current: DailyRevenueChartEntry[];
|
|
3
|
-
previous: DailyRevenueChartEntry[];
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
export type DailyRevenueChartEntry = {
|
|
7
|
-
readonly date: string;
|
|
8
|
-
readonly label: string;
|
|
9
|
-
readonly value: number;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export type InvoiceLineType =
|
|
13
|
-
| 'fee'
|
|
14
|
-
| 'manual';
|
package/dist/types/general.d.ts
DELETED
package/dist/types/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export type * from "./auth";
|
|
2
|
-
export type * from "./general";
|
|
3
|
-
export type * from "./event";
|
|
4
|
-
export type * from "./finance";
|
|
5
|
-
export type * from "./order";
|
|
6
|
-
export type * from "./payment";
|
|
7
|
-
export type * from "./product";
|
|
8
|
-
export type * from "./publicShop";
|
|
9
|
-
export type * from "./ticket";
|
package/dist/types/order.d.ts
DELETED
package/dist/types/payment.d.ts
DELETED
package/dist/types/product.d.ts
DELETED
package/dist/types/ticket.d.ts
DELETED
package/dist/util/emptyNull.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function<T>(value: T): T | null;
|
package/dist/util/index.d.ts
DELETED
package/dist/util/jsonBlob.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function<T>(json: T): Blob;
|
package/dist/util/optional.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function<T>(value: object[], adapter: (value: object) => T): T[] | null;
|