@passly-nl/data 1.0.0-beta.1 → 1.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapter/AuthAdapter.d.ts +1 -1
- package/dist/adapter/BuyerAdapter.d.ts +1 -1
- package/dist/adapter/CommonAdapter.d.ts +1 -1
- package/dist/adapter/EventAdapter.d.ts +1 -1
- package/dist/adapter/FileSystemAdapter.d.ts +1 -1
- package/dist/adapter/FinanceAdapter.d.ts +1 -1
- package/dist/adapter/MerchantAdapter.d.ts +1 -1
- package/dist/adapter/MerchantDashboardAdapter.d.ts +1 -1
- package/dist/adapter/OrderAdapter.d.ts +1 -1
- package/dist/adapter/PaymentAdapter.d.ts +1 -1
- package/dist/adapter/ProductAdapter.d.ts +1 -1
- package/dist/adapter/PublicPayAdapter.d.ts +1 -1
- package/dist/adapter/PublicShopAdapter.d.ts +1 -1
- package/dist/adapter/ReservationAdapter.d.ts +1 -1
- package/dist/adapter/TicketAdapter.d.ts +1 -1
- package/dist/dto/auth/UserDto.d.ts +1 -1
- package/dist/dto/auth/UserTokenDto.d.ts +2 -2
- package/dist/dto/event/EventDto.d.ts +2 -2
- package/dist/dto/event/EventStatisticsFinancialDto.d.ts +1 -1
- package/dist/dto/event/EventStatisticsOrdersDto.d.ts +1 -1
- package/dist/dto/event/EventStatisticsScansDto.d.ts +1 -1
- package/dist/dto/event/ShopDto.d.ts +2 -2
- package/dist/dto/event/ShopElementButtonDto.d.ts +1 -1
- package/dist/dto/event/ShopElementDividerDto.d.ts +1 -1
- package/dist/dto/event/ShopElementDto.d.ts +1 -1
- package/dist/dto/event/ShopElementHeadingDto.d.ts +2 -2
- package/dist/dto/event/ShopElementNoticeDto.d.ts +2 -2
- package/dist/dto/event/ShopElementProductDto.d.ts +1 -1
- package/dist/dto/event/ShopElementTextDto.d.ts +1 -1
- package/dist/dto/event/StockOverviewDto.d.ts +1 -1
- package/dist/dto/event/StockOverviewItemDto.d.ts +1 -1
- package/dist/dto/event/TicketTemplateDto.d.ts +2 -2
- package/dist/dto/finance/FinanceOverviewDto.d.ts +1 -1
- package/dist/dto/finance/InvoiceDto.d.ts +2 -2
- package/dist/dto/finance/InvoiceLineDto.d.ts +2 -2
- package/dist/dto/merchant/ContractDto.d.ts +1 -1
- package/dist/dto/merchant/InvitationDto.d.ts +2 -2
- package/dist/dto/merchant/MerchantDashboardKeyMetricsDto.d.ts +1 -1
- package/dist/dto/merchant/MerchantDashboardUpcomingEventDto.d.ts +2 -2
- package/dist/dto/merchant/MerchantDto.d.ts +1 -1
- package/dist/dto/merchant/MerchantUserDto.d.ts +1 -1
- package/dist/dto/order/BuyerDto.d.ts +2 -2
- package/dist/dto/order/OrderDto.d.ts +2 -2
- package/dist/dto/order/OrderLineDto.d.ts +1 -1
- package/dist/dto/payment/PaymentProviderDto.d.ts +2 -2
- package/dist/dto/payment/TransactionDto.d.ts +2 -2
- package/dist/dto/product/ProductDto.d.ts +2 -2
- package/dist/dto/publicShop/PublicShopDto.d.ts +2 -2
- package/dist/dto/publicShop/PublicShopElementButtonDto.d.ts +1 -1
- package/dist/dto/publicShop/PublicShopElementDividerDto.d.ts +1 -1
- package/dist/dto/publicShop/PublicShopElementDto.d.ts +1 -1
- package/dist/dto/publicShop/PublicShopElementHeadingDto.d.ts +2 -2
- package/dist/dto/publicShop/PublicShopElementNoticeDto.d.ts +2 -2
- package/dist/dto/publicShop/PublicShopElementProductDto.d.ts +1 -1
- package/dist/dto/publicShop/PublicShopElementTextDto.d.ts +1 -1
- package/dist/dto/publicShop/PublicShopEventDto.d.ts +2 -2
- package/dist/dto/publicShop/PublicShopProductDto.d.ts +2 -2
- package/dist/dto/publicShop/PublicShopReservationDto.d.ts +1 -1
- package/dist/dto/publicShop/PublicShopReservationProductDetailsDto.d.ts +1 -1
- package/dist/dto/publicShop/PublicShopReservationProductDto.d.ts +1 -1
- package/dist/dto/reservation/ReservationDto.d.ts +1 -1
- package/dist/dto/reservation/ReservationItemDto.d.ts +1 -1
- package/dist/dto/reservation/ReservationProductDto.d.ts +1 -1
- package/dist/dto/ticket/TicketDto.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +103 -103
- package/dist/service/AuthService.d.ts +2 -2
- package/dist/service/InvitationService.d.ts +1 -1
- package/dist/service/MeService.d.ts +1 -1
- package/dist/service/MerchantBuyerService.d.ts +1 -1
- package/dist/service/MerchantBuyersService.d.ts +1 -1
- package/dist/service/MerchantDashboardService.d.ts +1 -1
- package/dist/service/MerchantEventProductService.d.ts +1 -1
- package/dist/service/MerchantEventProductsService.d.ts +1 -1
- package/dist/service/MerchantEventService.d.ts +1 -1
- package/dist/service/MerchantEventShopService.d.ts +1 -1
- package/dist/service/MerchantEventShopsService.d.ts +1 -1
- package/dist/service/MerchantEventStatisticsService.d.ts +1 -1
- package/dist/service/MerchantEventStockPoolsService.d.ts +1 -1
- package/dist/service/MerchantEventTicketTemplateService.d.ts +2 -2
- package/dist/service/MerchantEventTicketTemplatesService.d.ts +2 -2
- package/dist/service/MerchantEventsService.d.ts +1 -1
- package/dist/service/MerchantFinanceInvoiceService.d.ts +1 -1
- package/dist/service/MerchantFinanceInvoicesService.d.ts +1 -1
- package/dist/service/MerchantFinanceService.d.ts +2 -2
- package/dist/service/MerchantOrderService.d.ts +1 -1
- package/dist/service/MerchantOrdersService.d.ts +1 -1
- package/dist/service/MerchantService.d.ts +2 -2
- package/dist/service/MerchantTicketService.d.ts +1 -1
- package/dist/service/MerchantTicketsService.d.ts +1 -1
- package/dist/service/MerchantUsersService.d.ts +2 -2
- package/dist/service/MerchantsService.d.ts +1 -1
- package/dist/service/PublicOrderService.d.ts +1 -1
- package/dist/service/PublicShopService.d.ts +2 -2
- package/dist/service/ReservationService.d.ts +1 -1
- package/package.json +1 -4
- package/src/adapter/AddressAdapter.ts +1 -1
- package/src/adapter/AuthAdapter.ts +3 -3
- package/src/adapter/BuyerAdapter.ts +3 -3
- package/src/adapter/CommonAdapter.ts +1 -1
- package/src/adapter/EventAdapter.ts +3 -3
- package/src/adapter/FileSystemAdapter.ts +1 -1
- package/src/adapter/FinanceAdapter.ts +3 -3
- package/src/adapter/MerchantAdapter.ts +3 -3
- package/src/adapter/MerchantDashboardAdapter.ts +2 -2
- package/src/adapter/OrderAdapter.ts +3 -3
- package/src/adapter/PaymentAdapter.ts +3 -3
- package/src/adapter/ProductAdapter.ts +3 -3
- package/src/adapter/PublicPayAdapter.ts +1 -1
- package/src/adapter/PublicShopAdapter.ts +3 -3
- package/src/adapter/ReservationAdapter.ts +3 -3
- package/src/adapter/TicketAdapter.ts +3 -3
- 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/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/ticket/TicketDto.ts +2 -2
- package/src/service/AuthService.ts +3 -3
- package/src/service/InvitationService.ts +2 -2
- package/src/service/MeService.ts +2 -2
- package/src/service/MerchantBuyerService.ts +2 -2
- package/src/service/MerchantBuyersService.ts +2 -2
- package/src/service/MerchantDashboardService.ts +2 -2
- package/src/service/MerchantEventProductService.ts +2 -2
- package/src/service/MerchantEventProductsService.ts +2 -2
- package/src/service/MerchantEventService.ts +3 -3
- package/src/service/MerchantEventShopService.ts +2 -2
- package/src/service/MerchantEventShopsService.ts +2 -2
- package/src/service/MerchantEventStatisticsService.ts +2 -2
- package/src/service/MerchantEventStockPoolsService.ts +2 -2
- package/src/service/MerchantEventTicketTemplateService.ts +3 -3
- package/src/service/MerchantEventTicketTemplatesService.ts +4 -4
- package/src/service/MerchantEventsService.ts +2 -2
- package/src/service/MerchantFinanceInvoiceService.ts +2 -2
- package/src/service/MerchantFinanceInvoicesService.ts +2 -2
- package/src/service/MerchantFinanceService.ts +3 -3
- package/src/service/MerchantOrderService.ts +2 -2
- package/src/service/MerchantOrdersService.ts +2 -2
- package/src/service/MerchantService.ts +4 -4
- package/src/service/MerchantTicketService.ts +2 -2
- package/src/service/MerchantTicketsService.ts +2 -2
- package/src/service/MerchantUsersService.ts +3 -3
- package/src/service/MerchantsService.ts +2 -2
- package/src/service/PublicOrderService.ts +2 -2
- package/src/service/PublicShopService.ts +3 -3
- package/src/service/ReservationService.ts +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
|
-
import type { PictureDto, ProductDto } from '
|
|
3
|
-
import type { TicketTemplateType } from '
|
|
2
|
+
import type { PictureDto, ProductDto } from '../../dto';
|
|
3
|
+
import type { TicketTemplateType } from '../../types';
|
|
4
4
|
|
|
5
5
|
@dto
|
|
6
6
|
export class TicketTemplateDto {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
2
|
import type { DateTime } from 'luxon';
|
|
3
|
-
import type { CostDto, InvoiceLineDto } from '
|
|
4
|
-
import type { TransactionStatus } from '
|
|
3
|
+
import type { CostDto, InvoiceLineDto } from '../../dto';
|
|
4
|
+
import type { TransactionStatus } from '../../types';
|
|
5
5
|
|
|
6
6
|
@dto
|
|
7
7
|
export class InvoiceDto {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
2
|
import type { DateTime } from 'luxon';
|
|
3
|
-
import type { CostDto } from '
|
|
4
|
-
import type { InvoiceLineType } from '
|
|
3
|
+
import type { CostDto } from '../../dto';
|
|
4
|
+
import type { InvoiceLineType } from '../../types';
|
|
5
5
|
|
|
6
6
|
@dto
|
|
7
7
|
export class InvoiceLineDto {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
2
|
import type { DateTime } from 'luxon';
|
|
3
|
-
import type { MerchantDto, UserDto } from '
|
|
4
|
-
import type { Claim } from '
|
|
3
|
+
import type { MerchantDto, UserDto } from '../../dto';
|
|
4
|
+
import type { Claim } from '../../types';
|
|
5
5
|
|
|
6
6
|
@dto
|
|
7
7
|
export class InvitationDto {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
2
|
import type { DateTime } from 'luxon';
|
|
3
|
-
import type { PictureDto } from '
|
|
4
|
-
import type { EventStatus } from '
|
|
3
|
+
import type { PictureDto } from '../../dto';
|
|
4
|
+
import type { EventStatus } from '../../types';
|
|
5
5
|
|
|
6
6
|
@dto
|
|
7
7
|
export class MerchantDashboardUpcomingEventDto {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
2
|
import type { DateTime } from 'luxon';
|
|
3
|
-
import type { AddressDto, ContractDto, PictureDto } from '
|
|
3
|
+
import type { AddressDto, ContractDto, PictureDto } from '../../dto';
|
|
4
4
|
|
|
5
5
|
@dto
|
|
6
6
|
export class MerchantDto {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
2
|
import type { DateTime } from 'luxon';
|
|
3
|
-
import type { AddressDto } from '
|
|
4
|
-
import type { Gender } from '
|
|
3
|
+
import type { AddressDto } from '../../dto';
|
|
4
|
+
import type { Gender } from '../../types';
|
|
5
5
|
|
|
6
6
|
@dto
|
|
7
7
|
export class BuyerDto {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
2
|
import type { DateTime } from 'luxon';
|
|
3
|
-
import type { BuyerDto, CostDto, EventDto, OrderLineDto, OrderPaymentProviderDto, PublicShopDto, TransactionDto } from '
|
|
4
|
-
import type { OrderOrigin, OrderType } from '
|
|
3
|
+
import type { BuyerDto, CostDto, EventDto, OrderLineDto, OrderPaymentProviderDto, PublicShopDto, TransactionDto } from '../../dto';
|
|
4
|
+
import type { OrderOrigin, OrderType } from '../../types';
|
|
5
5
|
|
|
6
6
|
@dto
|
|
7
7
|
export class OrderDto {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
|
-
import type { PaymentMethodDto } from '
|
|
3
|
-
import type { PaymentProviderType } from '
|
|
2
|
+
import type { PaymentMethodDto } from '../../dto';
|
|
3
|
+
import type { PaymentProviderType } from '../../types';
|
|
4
4
|
|
|
5
5
|
@dto
|
|
6
6
|
export class PaymentProviderDto {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
|
-
import type { CostDto, OrderDto, PaymentMethodDto } from '
|
|
3
|
-
import type { TransactionStatus } from '
|
|
2
|
+
import type { CostDto, OrderDto, PaymentMethodDto } from '../../dto';
|
|
3
|
+
import type { TransactionStatus } from '../../types';
|
|
4
4
|
|
|
5
5
|
@dto
|
|
6
6
|
export class TransactionDto {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
|
-
import type { CostDto, PictureDto, StockPoolDto } from '
|
|
3
|
-
import type { ProductType } from '
|
|
2
|
+
import type { CostDto, PictureDto, StockPoolDto } from '../../dto';
|
|
3
|
+
import type { ProductType } from '../../types';
|
|
4
4
|
|
|
5
5
|
@dto
|
|
6
6
|
export class ProductDto {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
2
|
import type { DateTime } from 'luxon';
|
|
3
|
-
import type { PublicShopDesignDto, PublicShopElementDto, PublicShopEventDto, PublicShopMerchantDto } from '
|
|
4
|
-
import type { ShopFieldRequirement } from '
|
|
3
|
+
import type { PublicShopDesignDto, PublicShopElementDto, PublicShopEventDto, PublicShopMerchantDto } from '../../dto';
|
|
4
|
+
import type { ShopFieldRequirement } from '../../types';
|
|
5
5
|
|
|
6
6
|
@dto
|
|
7
7
|
export class PublicShopDto {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
2
|
import type { FluxIconName } from '@flux-ui/types';
|
|
3
|
-
import { PublicShopElementDto } from '
|
|
3
|
+
import { PublicShopElementDto } from '../../dto';
|
|
4
4
|
|
|
5
5
|
@dto
|
|
6
6
|
export class PublicShopElementButtonDto extends PublicShopElementDto {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
2
|
import type { FluxIconName } from '@flux-ui/types';
|
|
3
|
-
import { PublicShopElementDto } from '
|
|
3
|
+
import { PublicShopElementDto } from '../../dto';
|
|
4
4
|
|
|
5
5
|
@dto
|
|
6
6
|
export class PublicShopElementDividerDto extends PublicShopElementDto {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
|
-
import { PublicShopElementDto } from '
|
|
3
|
-
import type { HeadingLevel } from '
|
|
2
|
+
import { PublicShopElementDto } from '../../dto';
|
|
3
|
+
import type { HeadingLevel } from '../../types';
|
|
4
4
|
|
|
5
5
|
@dto
|
|
6
6
|
export class PublicShopElementHeadingDto extends PublicShopElementDto {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
2
|
import type { FluxIconName } from '@flux-ui/types';
|
|
3
|
-
import { PublicShopElementDto } from '
|
|
4
|
-
import type { NoticeType } from '
|
|
3
|
+
import { PublicShopElementDto } from '../../dto';
|
|
4
|
+
import type { NoticeType } from '../../types';
|
|
5
5
|
|
|
6
6
|
@dto
|
|
7
7
|
export class PublicShopElementNoticeDto extends PublicShopElementDto {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
|
-
import { PublicShopElementDto, type PublicShopProductDto } from '
|
|
2
|
+
import { PublicShopElementDto, type PublicShopProductDto } from '../../dto';
|
|
3
3
|
|
|
4
4
|
@dto
|
|
5
5
|
export class PublicShopElementProductDto extends PublicShopElementDto {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
|
-
import type { AddressDto, PictureDto } from '
|
|
3
|
-
import type { EventStatus } from '
|
|
2
|
+
import type { AddressDto, PictureDto } from '../../dto';
|
|
3
|
+
import type { EventStatus } from '../../types';
|
|
4
4
|
|
|
5
5
|
@dto
|
|
6
6
|
export class PublicShopEventDto {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
|
-
import type { CostDto, PictureDto, PublicShopTimeSlotDto } from '
|
|
3
|
-
import type { ProductType } from '
|
|
2
|
+
import type { CostDto, PictureDto, PublicShopTimeSlotDto } from '../../dto';
|
|
3
|
+
import type { ProductType } from '../../types';
|
|
4
4
|
|
|
5
5
|
@dto
|
|
6
6
|
export class PublicShopProductDto {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
2
|
import type { DateTime } from 'luxon';
|
|
3
|
-
import type { PublicShopReservationProductDto } from '
|
|
3
|
+
import type { PublicShopReservationProductDto } from '../../dto';
|
|
4
4
|
|
|
5
5
|
@dto
|
|
6
6
|
export class PublicShopReservationDto {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
2
|
import type { DateTime } from 'luxon';
|
|
3
|
-
import type { BuyerDto, EventDto, OrderDto, ProductDto } from '
|
|
4
|
-
import type { ScanStatus, TicketValidity } from '
|
|
3
|
+
import type { BuyerDto, EventDto, OrderDto, ProductDto } from '../../dto';
|
|
4
|
+
import type { ScanStatus, TicketValidity } from '../../types';
|
|
5
5
|
|
|
6
6
|
@dto
|
|
7
7
|
export class TicketDto {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, type Paginated, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { AuthAdapter } from '
|
|
3
|
-
import type { UserTokenDto } from '
|
|
4
|
-
import type { Claim } from '
|
|
2
|
+
import { AuthAdapter } from '../adapter';
|
|
3
|
+
import type { UserTokenDto } from '../dto';
|
|
4
|
+
import type { Claim } from '../types';
|
|
5
5
|
|
|
6
6
|
export class AuthService extends BaseService {
|
|
7
7
|
async get(): Promise<BaseResponse<UserTokenDto>> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { AuthAdapter, CommonAdapter, MerchantAdapter } from '
|
|
3
|
-
import type { InvitationDto, StatusResponseDto, UserTokenDto } from '
|
|
2
|
+
import { AuthAdapter, CommonAdapter, MerchantAdapter } from '../adapter';
|
|
3
|
+
import type { InvitationDto, StatusResponseDto, UserTokenDto } from '../dto';
|
|
4
4
|
|
|
5
5
|
export class InvitationService extends BaseService {
|
|
6
6
|
async get(invitationId: string): Promise<BaseResponse<InvitationDto>> {
|
package/src/service/MeService.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { AuthAdapter, CommonAdapter } from '
|
|
3
|
-
import type { StatusResponseDto, TotpStateDto, UserDto } from '
|
|
2
|
+
import { AuthAdapter, CommonAdapter } from '../adapter';
|
|
3
|
+
import type { StatusResponseDto, TotpStateDto, UserDto } from '../dto';
|
|
4
4
|
|
|
5
5
|
export class MeService extends BaseService {
|
|
6
6
|
async get(): Promise<BaseResponse<UserDto>> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, Paginated, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { BuyerAdapter, OrderAdapter } from '
|
|
3
|
-
import type { BuyerDto, OrderDto } from '
|
|
2
|
+
import { BuyerAdapter, OrderAdapter } from '../adapter';
|
|
3
|
+
import type { BuyerDto, OrderDto } from '../dto';
|
|
4
4
|
|
|
5
5
|
export class MerchantBuyerService extends BaseService {
|
|
6
6
|
async get(merchantId: string, buyerId: string): Promise<BaseResponse<BuyerDto>> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, Paginated, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { BuyerAdapter } from '
|
|
3
|
-
import type { BuyerDto } from '
|
|
2
|
+
import { BuyerAdapter } from '../adapter';
|
|
3
|
+
import type { BuyerDto } from '../dto';
|
|
4
4
|
|
|
5
5
|
export class MerchantBuyersService extends BaseService {
|
|
6
6
|
async get(merchantId: string, offset: number, limit: number): Promise<BaseResponse<Paginated<BuyerDto>>> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { MerchantDashboardAdapter } from '
|
|
3
|
-
import type { MerchantDashboardKeyMetricsDto, MerchantDashboardUpcomingEventDto } from '
|
|
2
|
+
import { MerchantDashboardAdapter } from '../adapter';
|
|
3
|
+
import type { MerchantDashboardKeyMetricsDto, MerchantDashboardUpcomingEventDto } from '../dto';
|
|
4
4
|
|
|
5
5
|
export class MerchantDashboardService extends BaseService {
|
|
6
6
|
async getKeyMetrics(merchantId: string): Promise<BaseResponse<MerchantDashboardKeyMetricsDto>> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { ProductAdapter } from '
|
|
3
|
-
import type { ProductDto } from '
|
|
2
|
+
import { ProductAdapter } from '../adapter';
|
|
3
|
+
import type { ProductDto } from '../dto';
|
|
4
4
|
|
|
5
5
|
export class MerchantEventProductService extends BaseService {
|
|
6
6
|
async get(merchantId: string, eventId: string, productId: string): Promise<BaseResponse<ProductDto>> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, Paginated, QueryString } from '@basmilius/http-client';
|
|
2
2
|
import type { FluxFormSelectEntry } from '@flux-ui/types';
|
|
3
|
-
import { FluxAdapter, ProductAdapter } from '
|
|
4
|
-
import type { ProductDto } from '
|
|
3
|
+
import { FluxAdapter, ProductAdapter } from '../adapter';
|
|
4
|
+
import type { ProductDto } from '../dto';
|
|
5
5
|
|
|
6
6
|
export class MerchantEventProductsService extends BaseService {
|
|
7
7
|
async get(merchantId: string, eventId: string, offset: number, limit: number): Promise<BaseResponse<Paginated<ProductDto>>> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { CommonAdapter, EventAdapter } from '
|
|
3
|
-
import type { EventAvailabilityDto, EventCountersDto, EventDto, StatusResponseDto } from '
|
|
4
|
-
import { emptyNull } from '
|
|
2
|
+
import { CommonAdapter, EventAdapter } from '../adapter';
|
|
3
|
+
import type { EventAvailabilityDto, EventCountersDto, EventDto, StatusResponseDto } from '../dto';
|
|
4
|
+
import { emptyNull } from '../util';
|
|
5
5
|
|
|
6
6
|
export class MerchantEventService extends BaseService {
|
|
7
7
|
async get(merchantId: string, eventId: string): Promise<BaseResponse<EventDto>> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { EventAdapter } from '
|
|
3
|
-
import type { ShopDesignDto, ShopDto, ShopElementDto } from '
|
|
2
|
+
import { EventAdapter } from '../adapter';
|
|
3
|
+
import type { ShopDesignDto, ShopDto, ShopElementDto } from '../dto';
|
|
4
4
|
|
|
5
5
|
export class MerchantEventShopService extends BaseService {
|
|
6
6
|
async get(merchantId: string, eventId: string, shopId: string): Promise<BaseResponse<ShopDto>> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, Paginated, QueryString } from '@basmilius/http-client';
|
|
2
2
|
import type { DateTime } from 'luxon';
|
|
3
|
-
import { CommonAdapter, EventAdapter } from '
|
|
4
|
-
import type { ShopDto, StatusResponseDto } from '
|
|
3
|
+
import { CommonAdapter, EventAdapter } from '../adapter';
|
|
4
|
+
import type { ShopDto, StatusResponseDto } from '../dto';
|
|
5
5
|
|
|
6
6
|
export class MerchantEventShopsService extends BaseService {
|
|
7
7
|
async get(merchantId: string, eventId: string, offset: number, limit: number): Promise<BaseResponse<Paginated<ShopDto>>> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { EventAdapter } from '
|
|
3
|
-
import type { EventStatisticsAttendanceDto, EventStatisticsBuyerTotalsDto, EventStatisticsFinancialDto, EventStatisticsOrdersDto, EventStatisticsScansDto, EventStatisticsSwapTotalsDto } from '
|
|
2
|
+
import { EventAdapter } from '../adapter';
|
|
3
|
+
import type { EventStatisticsAttendanceDto, EventStatisticsBuyerTotalsDto, EventStatisticsFinancialDto, EventStatisticsOrdersDto, EventStatisticsScansDto, EventStatisticsSwapTotalsDto } from '../dto';
|
|
4
4
|
|
|
5
5
|
export class MerchantEventStatisticsService extends BaseService {
|
|
6
6
|
async getAttendance(merchantId: string, eventId: string): Promise<BaseResponse<EventStatisticsAttendanceDto>> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, Paginated, QueryString } from '@basmilius/http-client';
|
|
2
2
|
import type { FluxFormSelectEntry } from '@flux-ui/types';
|
|
3
|
-
import { EventAdapter, FluxAdapter } from '
|
|
4
|
-
import type { StockOverviewDto, StockPoolDto } from '
|
|
3
|
+
import { EventAdapter, FluxAdapter } from '../adapter';
|
|
4
|
+
import type { StockOverviewDto, StockPoolDto } from '../dto';
|
|
5
5
|
|
|
6
6
|
export class MerchantEventStockPoolsService extends BaseService {
|
|
7
7
|
async get(merchantId: string, eventId: string, offset: number, limit: number): Promise<BaseResponse<Paginated<StockPoolDto>>> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, type BlobResponse, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { CommonAdapter, EventAdapter } from '
|
|
3
|
-
import type { StatusResponseDto, TicketTemplateDto } from '
|
|
4
|
-
import type { TicketTemplateType } from '
|
|
2
|
+
import { CommonAdapter, EventAdapter } from '../adapter';
|
|
3
|
+
import type { StatusResponseDto, TicketTemplateDto } from '../dto';
|
|
4
|
+
import type { TicketTemplateType } from '../types';
|
|
5
5
|
|
|
6
6
|
export class MerchantEventTicketTemplateService extends BaseService {
|
|
7
7
|
async get(merchantId: string, eventId: string, ticketTemplateId: string): Promise<BaseResponse<TicketTemplateDto>> {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, Paginated, QueryString } from '@basmilius/http-client';
|
|
2
2
|
import type { FluxFormSelectEntry } from '@flux-ui/types';
|
|
3
|
-
import { EventAdapter, FluxAdapter } from '
|
|
4
|
-
import type { TicketTemplateDto } from '
|
|
5
|
-
import type { TicketTemplateType } from '
|
|
6
|
-
import { jsonBlob } from '
|
|
3
|
+
import { EventAdapter, FluxAdapter } from '../adapter';
|
|
4
|
+
import type { TicketTemplateDto } from '../dto';
|
|
5
|
+
import type { TicketTemplateType } from '../types';
|
|
6
|
+
import { jsonBlob } from '../util';
|
|
7
7
|
|
|
8
8
|
export class MerchantEventTicketTemplatesService extends BaseService {
|
|
9
9
|
async get(merchantId: string, eventId: string, offset: number, limit: number): Promise<BaseResponse<Paginated<TicketTemplateDto>>> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, Paginated, QueryString } from '@basmilius/http-client';
|
|
2
2
|
import type { DateTime } from 'luxon';
|
|
3
|
-
import { EventAdapter } from '
|
|
4
|
-
import type { EventDto } from '
|
|
3
|
+
import { EventAdapter } from '../adapter';
|
|
4
|
+
import type { EventDto } from '../dto';
|
|
5
5
|
|
|
6
6
|
export class MerchantEventsService extends BaseService {
|
|
7
7
|
async get(merchantId: string, offset: number, limit: number): Promise<BaseResponse<Paginated<EventDto>>> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, BlobResponse, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { FinanceAdapter } from '
|
|
3
|
-
import type { InvoiceDto } from '
|
|
2
|
+
import { FinanceAdapter } from '../adapter';
|
|
3
|
+
import type { InvoiceDto } from '../dto';
|
|
4
4
|
|
|
5
5
|
export class MerchantFinanceInvoiceService extends BaseService {
|
|
6
6
|
async get(merchantId: string, invoiceId: string): Promise<BaseResponse<InvoiceDto>> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, Paginated, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { FinanceAdapter } from '
|
|
3
|
-
import type { InvoiceDto } from '
|
|
2
|
+
import { FinanceAdapter } from '../adapter';
|
|
3
|
+
import type { InvoiceDto } from '../dto';
|
|
4
4
|
|
|
5
5
|
export class MerchantFinanceInvoicesService extends BaseService {
|
|
6
6
|
async get(merchantId: string, offset: number, limit: number): Promise<BaseResponse<Paginated<InvoiceDto>>> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { FinanceAdapter } from '
|
|
3
|
-
import type { FinanceOverviewDto } from '
|
|
4
|
-
import type { DailyRevenueChart } from '
|
|
2
|
+
import { FinanceAdapter } from '../adapter';
|
|
3
|
+
import type { FinanceOverviewDto } from '../dto';
|
|
4
|
+
import type { DailyRevenueChart } from '../types';
|
|
5
5
|
|
|
6
6
|
export class MerchantFinanceService extends BaseService {
|
|
7
7
|
async getDailyRevenue(merchantId: string): Promise<BaseResponse<DailyRevenueChart>> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, BlobResponse, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { OrderAdapter, TicketAdapter } from '
|
|
3
|
-
import type { OrderDto, TicketDto } from '
|
|
2
|
+
import { OrderAdapter, TicketAdapter } from '../adapter';
|
|
3
|
+
import type { OrderDto, TicketDto } from '../dto';
|
|
4
4
|
|
|
5
5
|
export class MerchantOrderService extends BaseService {
|
|
6
6
|
async get(merchantId: string, orderId: string): Promise<BaseResponse<OrderDto>> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, Paginated, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { OrderAdapter } from '
|
|
3
|
-
import type { OrderDto } from '
|
|
2
|
+
import { OrderAdapter } from '../adapter';
|
|
3
|
+
import type { OrderDto } from '../dto';
|
|
4
4
|
|
|
5
5
|
export class MerchantOrdersService extends BaseService {
|
|
6
6
|
async get(merchantId: string, offset: number, limit: number, filter?: Record<string, string | number | boolean>): Promise<BaseResponse<Paginated<OrderDto>>> {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { AuthAdapter, CommonAdapter, MerchantAdapter, PaymentAdapter } from '
|
|
3
|
-
import type { ContractDto, MerchantDto, PaymentProviderDto, StatusResponseDto, UserDto, VatNumberDto } from '
|
|
4
|
-
import type { Claim } from '
|
|
5
|
-
import { emptyNull } from '
|
|
2
|
+
import { AuthAdapter, CommonAdapter, MerchantAdapter, PaymentAdapter } from '../adapter';
|
|
3
|
+
import type { ContractDto, MerchantDto, PaymentProviderDto, StatusResponseDto, UserDto, VatNumberDto } from '../dto';
|
|
4
|
+
import type { Claim } from '../types';
|
|
5
|
+
import { emptyNull } from '../util';
|
|
6
6
|
|
|
7
7
|
export class MerchantService extends BaseService {
|
|
8
8
|
async get(merchantId: string): Promise<BaseResponse<MerchantDto>> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, BlobResponse, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { TicketAdapter } from '
|
|
3
|
-
import type { TicketDto } from '
|
|
2
|
+
import { TicketAdapter } from '../adapter';
|
|
3
|
+
import type { TicketDto } from '../dto';
|
|
4
4
|
|
|
5
5
|
export class MerchantTicketService extends BaseService {
|
|
6
6
|
async get(merchantId: string, ticketId: string): Promise<BaseResponse<TicketDto>> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, Paginated, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { TicketAdapter } from '
|
|
3
|
-
import type { TicketDto } from '
|
|
2
|
+
import { TicketAdapter } from '../adapter';
|
|
3
|
+
import type { TicketDto } from '../dto';
|
|
4
4
|
|
|
5
5
|
export class MerchantTicketsService extends BaseService {
|
|
6
6
|
async get(merchantId: string, offset: number, limit: number, filter?: Record<string, string | number | boolean>): Promise<BaseResponse<Paginated<TicketDto>>> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseResponse, BaseService, Paginated, QueryString } from '@basmilius/http-client';
|
|
2
|
-
import { MerchantAdapter } from '
|
|
3
|
-
import type { InvitationDto, MerchantUserDto } from '
|
|
4
|
-
import type { Claim } from '
|
|
2
|
+
import { MerchantAdapter } from '../adapter';
|
|
3
|
+
import type { InvitationDto, MerchantUserDto } from '../dto';
|
|
4
|
+
import type { Claim } from '../types';
|
|
5
5
|
|
|
6
6
|
export class MerchantUsersService extends BaseService {
|
|
7
7
|
async get(merchantId: string, offset: number, limit: number): Promise<BaseResponse<Paginated<MerchantUserDto>>> {
|