@passly-nl/data 1.3.1 → 1.3.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/index.d.mts CHANGED
@@ -223,6 +223,7 @@ type PublicShopElementType = "button" | "divider" | "heading" | "information" |
223
223
  //#region src/types/refund.d.ts
224
224
  type RefundReason = "fraud" | "duplicate" | "customer_request" | "event_canceled" | "other";
225
225
  type RefundStatus = "pending" | "processing" | "completed" | "failed";
226
+ type RefundabilityReason = "no_provider" | "order_not_refundable" | "provider_not_capable" | "transaction_not_paid";
226
227
  //#endregion
227
228
  //#region src/types/statistics.d.ts
228
229
  type StatisticsChartValueType = "count" | "integer" | "currency" | "percentage" | "duration";
@@ -1735,6 +1736,16 @@ type InsightCardCompletedMessageDto = {
1735
1736
  readonly reason?: string;
1736
1737
  };
1737
1738
  //#endregion
1739
+ //#region src/dto/refund/RefundabilityDto.d.ts
1740
+ declare class RefundabilityDto {
1741
+ #private;
1742
+ get supported(): boolean;
1743
+ set supported(value: boolean);
1744
+ get reason(): RefundabilityReason | null;
1745
+ set reason(value: RefundabilityReason | null);
1746
+ constructor(supported: boolean, reason: RefundabilityReason | null);
1747
+ }
1748
+ //#endregion
1738
1749
  //#region src/dto/refund/RefundDto.d.ts
1739
1750
  declare class RefundDto {
1740
1751
  #private;
@@ -3002,6 +3013,7 @@ declare class PublicShopAdapter {
3002
3013
  //#region src/adapter/RefundAdapter.d.ts
3003
3014
  declare class RefundAdapter {
3004
3015
  static parseRefund(data: ForeignData): RefundDto;
3016
+ static parseRefundability(data: ForeignData): RefundabilityDto;
3005
3017
  static parseRefundInitiator(data: ForeignData): RefundInitiatorDto;
3006
3018
  static parseRefundTicketRef(data: ForeignData): RefundTicketRefDto;
3007
3019
  }
@@ -3436,6 +3448,7 @@ declare class MerchantFinanceService extends BaseService {
3436
3448
  declare class MerchantOrderService extends BaseService {
3437
3449
  get(merchantId: string, orderId: string): Promise<BaseResponse<OrderDto>>;
3438
3450
  getCashFlow(merchantId: string, orderId: string): Promise<BaseResponse<CashFlowDto>>;
3451
+ getRefundability(merchantId: string, orderId: string): Promise<BaseResponse<RefundabilityDto>>;
3439
3452
  getPasses(merchantId: string, orderId: string): Promise<BlobResponse>;
3440
3453
  getPDF(merchantId: string, orderId: string): Promise<BlobResponse>;
3441
3454
  getTickets(merchantId: string, orderId: string): Promise<BaseResponse<TicketDto[]>>;
@@ -3462,6 +3475,7 @@ declare class MerchantShopsService extends BaseService {
3462
3475
  //#endregion
3463
3476
  //#region src/service/MerchantStatisticsService.d.ts
3464
3477
  declare class MerchantStatisticsService extends BaseService {
3478
+ getRevenueTrend(merchantId: string): Promise<BaseResponse<StatisticsChartDto>>;
3465
3479
  getStatus(merchantId: string): Promise<BaseResponse<boolean>>;
3466
3480
  }
3467
3481
  //#endregion
@@ -3745,5 +3759,5 @@ declare function export_default$2<T, U>(value: U, adapter: (value: U) => T): T;
3745
3759
  //#region src/util/optionalArray.d.ts
3746
3760
  declare function export_default$3<T>(value: object[], adapter: (value: object) => T): T[] | null;
3747
3761
  //#endregion
3748
- export { AddressAdapter, AddressDto, AdminMerchantService, AdminMerchantSubscriptionService, AdminMerchantsService, AdminService, AiChatAdapter, AiChatConversationDto, AiChatMessageCompletedMessageDto, AiChatMessageDto, AiChatMessageRole, AiChatToolCallDto, AiGenerationStatus, AiUsageAdapter, AiUsageDto, AiUsageFeatureStatusDto, AiUsageOperation, AiUsagePeriodDto, AppTeamDto, AuthAdapter, AuthService, BrowserType, BuyerAdapter, BuyerDto, CashFlowAdapter, CashFlowDiscountDto, CashFlowDto, CashFlowEventType, CashFlowPaymentDto, CashFlowPlatformCostDto, CashFlowRefundDto, CashFlowTimelineEventDto, Claim, CommonAdapter, ContentCalendarAdapter, ContentCalendarGenerationCompletedMessageDto, ContentCalendarItemChannel, ContentCalendarItemCreatorDto, ContentCalendarItemDto, ContentCalendarItemPayload, ContentCalendarItemSource, ContentCalendarItemStatus, ContractDto, CostDto, DailyRevenueChart, DailyRevenueChartEntry, DateTimeAdapter, DiscountCodeAdapter, DiscountCodeDto, DiscountCodeEvent, DiscountCodeType, EMAIL_TEMPLATE_EDITOR_CONTEXTS, EmailTemplateAdapter, EmailTemplateDto, EmailTemplateEditorBlock, EmailTemplateEditorButtonBlock, EmailTemplateEditorCondition, EmailTemplateEditorContext, EmailTemplateEditorDividerBlock, EmailTemplateEditorH1Block, EmailTemplateEditorHeaderBlock, EmailTemplateEditorIfBlock, EmailTemplateEditorLogoBlock, EmailTemplateEditorParagraphBlock, EmailTemplateEditorSpacerBlock, EmailTemplateEditorVariable, EmailTemplateLanguage, EmailTemplateType, EventAdapter, EventAvailabilityDto, EventCountersDto, EventDto, EventStatisticsAppTeamDto, EventStatisticsAttendanceDto, EventStatisticsBuyersAdapter, EventStatisticsBuyersOverviewDto, EventStatisticsFinancialDto, EventStatisticsKpisDto, EventStatisticsOperationsAdapter, EventStatisticsOperationsOverviewDto, EventStatisticsOverviewAdapter, EventStatisticsStatus, EventStatisticsStatusDto, EventStatisticsSwapsDto, EventStatus, Feature, FeatureGroup, FileSystemAdapter, FinanceAdapter, FinanceOverviewDto, FluxAdapter, Gender, Granularity, HeadingLevel, InsightCardCompletedMessageDto, InsightCardType, InsightDto, InsightLanguage, InsightSignalDto, InsightSignalKind, InsightStatus, InsightsResponseDto, InvitationDto, InvitationService, InvoiceDto, InvoiceLineDto, InvoiceLineType, MarketingAttributionAdapter, MarketingAttributionDto, MeService, MerchantAdapter, MerchantAiChatService, MerchantAiSettingsService, MerchantAiUsageService, MerchantBuyerService, MerchantBuyersService, MerchantContractService, MerchantDashboardAdapter, MerchantDashboardKeyMetricsDto, MerchantDashboardService, MerchantDashboardUpcomingEventDto, MerchantDiscountCodeService, MerchantDiscountCodesService, MerchantDto, MerchantEmailTemplateService, MerchantEmailTemplatesService, MerchantEventAppTeamService, MerchantEventAppTeamsService, MerchantEventContentCalendarService, MerchantEventEmailTemplateService, MerchantEventEmailTemplatesService, MerchantEventProductService, MerchantEventProductsService, MerchantEventService, MerchantEventShopService, MerchantEventShopsService, MerchantEventStatisticsBuyersService, MerchantEventStatisticsOperationsService, MerchantEventStatisticsOverviewService, MerchantEventStatisticsSalesService, MerchantEventStockPoolsService, MerchantEventTicketTemplateService, MerchantEventTicketTemplatesService, MerchantEventTimeSlotService, MerchantEventTimeSlotsService, MerchantEventsService, MerchantFinanceInvoiceService, MerchantFinanceInvoicesService, MerchantFinanceService, MerchantOrderService, MerchantOrdersService, MerchantService, MerchantShopService, MerchantShopsService, MerchantStatisticsBuyersService, MerchantStatisticsEventsService, MerchantStatisticsGrowthService, MerchantStatisticsInsightsService, MerchantStatisticsMarketingService, MerchantStatisticsOperationsService, MerchantStatisticsOverviewService, MerchantStatisticsRefundsService, MerchantStatisticsSalesService, MerchantStatisticsService, MerchantSubscriptionDto, MerchantTicketService, MerchantTicketsService, MerchantUserDto, MerchantUserService, MerchantUsersService, MerchantsService, MilestoneDto, MilestoneType, NoticeType, OperatingSystemType, OrderAdapter, OrderDto, OrderLineDto, OrderOrigin, OrderPaymentProviderDto, OrderProductDto, OrderType, PaymentAdapter, PaymentMethodDto, PaymentProviderDto, PaymentProviderType, PictureDto, ProductAdapter, ProductDto, ProductType, PublicOrderService, PublicPayAdapter, PublicPaymentMethodDto, PublicShopAdapter, PublicShopCartProductDto, PublicShopDesignDto, PublicShopDto, PublicShopElementButtonDto, PublicShopElementDividerDto, PublicShopElementDto, PublicShopElementHeadingDto, PublicShopElementInformationDto, PublicShopElementNoticeDto, PublicShopElementProductDto, PublicShopElementTextDto, PublicShopElementType, PublicShopEventDto, PublicShopMerchantDto, PublicShopProductDto, PublicShopReservationDto, PublicShopReservationProductDetailsDto, PublicShopReservationProductDto, PublicShopService, PublicShopTimeSlotDto, RefundAdapter, RefundDto, RefundInitiatorDto, RefundReason, RefundStatus, RefundTicketRefDto, RenderedMailDto, ReservationAdapter, ReservationDto, ReservationItemDto, ReservationProductDto, ReservationService, ScanStatus, ServiceAdapter, ServiceInfoDto, ServicesService, ShopAddressMode, ShopDesignDto, ShopDto, ShopElementButtonDto, ShopElementDividerDto, ShopElementDto, ShopElementHeadingDto, ShopElementInformationDto, ShopElementNoticeDto, ShopElementProductDto, ShopElementTextDto, ShopElementType, ShopFieldRequirement, ShopStatus, ShortlinkAdapter, ShortlinkDto, StatisticsAdapter, StatisticsBuyersAcquisitionSourceDto, StatisticsBuyersAdapter, StatisticsBuyersAgeGenderMatrixDto, StatisticsBuyersCohortRetentionDto, StatisticsBuyersDeviceConversionDto, StatisticsBuyersGeographicDistributionDto, StatisticsBuyersOverviewDto, StatisticsBuyersRankedDto, StatisticsBuyersSpendBucket, StatisticsBuyersSpendBucketsDto, StatisticsChartAdapter, StatisticsChartDataPoint, StatisticsChartDto, StatisticsChartSeries, StatisticsChartSeriesKind, StatisticsChartValueType, StatisticsEventsAdapter, StatisticsEventsOverviewDto, StatisticsEventsSalesCurveDto, StatisticsEventsSalesCurveEventDto, StatisticsEventsSellOutTimingDto, StatisticsEventsSellOutTimingEventDto, StatisticsEventsTimeToEventBucket, StatisticsEventsTimeToEventDto, StatisticsGrowthAdapter, StatisticsGrowthCmgrDto, StatisticsGrowthOverviewDto, StatisticsInsightsAdapter, StatisticsMarketingAdapter, StatisticsMarketingCampaignDto, StatisticsMarketingOverviewDto, StatisticsMarketingReferrerDto, StatisticsMarketingShortlinkRoiDto, StatisticsMarketingSourceBreakdownDto, StatisticsMarketingSourceFunnelDto, StatisticsMarketingSourceMediumMatrixDto, StatisticsOperationsAdapter, StatisticsOperationsAppTeamDto, StatisticsOperationsNoShowRateDto, StatisticsOperationsNoShowRateEventDto, StatisticsOperationsOverviewDto, StatisticsOperationsScanTimeBucket, StatisticsOperationsScanTimeDistributionDto, StatisticsOperationsStewardDto, StatisticsOperationsStockUtilizationDto, StatisticsOverviewAdapter, StatisticsOverviewBestRevenueMonthDto, StatisticsOverviewCancellationFunnelDto, StatisticsOverviewEventPerformanceDto, StatisticsOverviewEventPerformanceEventDto, StatisticsOverviewEventPerformanceSummaryDto, StatisticsOverviewKPIsDto, StatisticsOverviewKPIsTotalEventsHostedDto, StatisticsOverviewKPIsTotalRevenueDto, StatisticsOverviewKPIsTotalTicketsSoldDto, StatisticsOverviewReservationConversionRateDto, StatisticsOverviewTopShopDto, StatisticsPieChartDto, StatisticsPieSlice, StatisticsRefundsAdapter, StatisticsRefundsAmountDistributionDto, StatisticsRefundsOverviewDto, StatisticsRefundsTopEventDto, StatisticsRefundsVelocityBucket, StatisticsRefundsVelocityDto, StatisticsSalesAdapter, StatisticsSalesDiscountEfficacyDto, StatisticsSalesFailedTransactionReasonDto, StatisticsSalesLifetimeTotalsDto, StatisticsSalesOrderValueBucket, StatisticsSalesOrderValueDistributionDto, StatisticsSalesPurchaseBehaviorDto, StatisticsSalesRepeatPurchaseVelocityBucket, StatisticsSalesRepeatPurchaseVelocityDto, StatisticsSalesTransactionSuccessRateDto, StatisticsTrendDto, StatusResponseDto, StockOverviewDto, StockOverviewItemDto, StockPoolDto, SubscriptionAdapter, SubscriptionPlanDto, SubscriptionType, TicketAdapter, TicketDto, TicketTemplateDto, TicketTemplateType, TicketValidity, TimeSlotDto, TotpStateDto, TransactionDto, TransactionStatus, UiSelectOptionsService, UserDto, UserTokenDto, UserTokenType, VatNumberDto, export_default as emptyNull, export_default$1 as jsonBlob, export_default$2 as optional, export_default$3 as optionalArray, parseEmailTemplate, serializeBlocks };
3762
+ export { AddressAdapter, AddressDto, AdminMerchantService, AdminMerchantSubscriptionService, AdminMerchantsService, AdminService, AiChatAdapter, AiChatConversationDto, AiChatMessageCompletedMessageDto, AiChatMessageDto, AiChatMessageRole, AiChatToolCallDto, AiGenerationStatus, AiUsageAdapter, AiUsageDto, AiUsageFeatureStatusDto, AiUsageOperation, AiUsagePeriodDto, AppTeamDto, AuthAdapter, AuthService, BrowserType, BuyerAdapter, BuyerDto, CashFlowAdapter, CashFlowDiscountDto, CashFlowDto, CashFlowEventType, CashFlowPaymentDto, CashFlowPlatformCostDto, CashFlowRefundDto, CashFlowTimelineEventDto, Claim, CommonAdapter, ContentCalendarAdapter, ContentCalendarGenerationCompletedMessageDto, ContentCalendarItemChannel, ContentCalendarItemCreatorDto, ContentCalendarItemDto, ContentCalendarItemPayload, ContentCalendarItemSource, ContentCalendarItemStatus, ContractDto, CostDto, DailyRevenueChart, DailyRevenueChartEntry, DateTimeAdapter, DiscountCodeAdapter, DiscountCodeDto, DiscountCodeEvent, DiscountCodeType, EMAIL_TEMPLATE_EDITOR_CONTEXTS, EmailTemplateAdapter, EmailTemplateDto, EmailTemplateEditorBlock, EmailTemplateEditorButtonBlock, EmailTemplateEditorCondition, EmailTemplateEditorContext, EmailTemplateEditorDividerBlock, EmailTemplateEditorH1Block, EmailTemplateEditorHeaderBlock, EmailTemplateEditorIfBlock, EmailTemplateEditorLogoBlock, EmailTemplateEditorParagraphBlock, EmailTemplateEditorSpacerBlock, EmailTemplateEditorVariable, EmailTemplateLanguage, EmailTemplateType, EventAdapter, EventAvailabilityDto, EventCountersDto, EventDto, EventStatisticsAppTeamDto, EventStatisticsAttendanceDto, EventStatisticsBuyersAdapter, EventStatisticsBuyersOverviewDto, EventStatisticsFinancialDto, EventStatisticsKpisDto, EventStatisticsOperationsAdapter, EventStatisticsOperationsOverviewDto, EventStatisticsOverviewAdapter, EventStatisticsStatus, EventStatisticsStatusDto, EventStatisticsSwapsDto, EventStatus, Feature, FeatureGroup, FileSystemAdapter, FinanceAdapter, FinanceOverviewDto, FluxAdapter, Gender, Granularity, HeadingLevel, InsightCardCompletedMessageDto, InsightCardType, InsightDto, InsightLanguage, InsightSignalDto, InsightSignalKind, InsightStatus, InsightsResponseDto, InvitationDto, InvitationService, InvoiceDto, InvoiceLineDto, InvoiceLineType, MarketingAttributionAdapter, MarketingAttributionDto, MeService, MerchantAdapter, MerchantAiChatService, MerchantAiSettingsService, MerchantAiUsageService, MerchantBuyerService, MerchantBuyersService, MerchantContractService, MerchantDashboardAdapter, MerchantDashboardKeyMetricsDto, MerchantDashboardService, MerchantDashboardUpcomingEventDto, MerchantDiscountCodeService, MerchantDiscountCodesService, MerchantDto, MerchantEmailTemplateService, MerchantEmailTemplatesService, MerchantEventAppTeamService, MerchantEventAppTeamsService, MerchantEventContentCalendarService, MerchantEventEmailTemplateService, MerchantEventEmailTemplatesService, MerchantEventProductService, MerchantEventProductsService, MerchantEventService, MerchantEventShopService, MerchantEventShopsService, MerchantEventStatisticsBuyersService, MerchantEventStatisticsOperationsService, MerchantEventStatisticsOverviewService, MerchantEventStatisticsSalesService, MerchantEventStockPoolsService, MerchantEventTicketTemplateService, MerchantEventTicketTemplatesService, MerchantEventTimeSlotService, MerchantEventTimeSlotsService, MerchantEventsService, MerchantFinanceInvoiceService, MerchantFinanceInvoicesService, MerchantFinanceService, MerchantOrderService, MerchantOrdersService, MerchantService, MerchantShopService, MerchantShopsService, MerchantStatisticsBuyersService, MerchantStatisticsEventsService, MerchantStatisticsGrowthService, MerchantStatisticsInsightsService, MerchantStatisticsMarketingService, MerchantStatisticsOperationsService, MerchantStatisticsOverviewService, MerchantStatisticsRefundsService, MerchantStatisticsSalesService, MerchantStatisticsService, MerchantSubscriptionDto, MerchantTicketService, MerchantTicketsService, MerchantUserDto, MerchantUserService, MerchantUsersService, MerchantsService, MilestoneDto, MilestoneType, NoticeType, OperatingSystemType, OrderAdapter, OrderDto, OrderLineDto, OrderOrigin, OrderPaymentProviderDto, OrderProductDto, OrderType, PaymentAdapter, PaymentMethodDto, PaymentProviderDto, PaymentProviderType, PictureDto, ProductAdapter, ProductDto, ProductType, PublicOrderService, PublicPayAdapter, PublicPaymentMethodDto, PublicShopAdapter, PublicShopCartProductDto, PublicShopDesignDto, PublicShopDto, PublicShopElementButtonDto, PublicShopElementDividerDto, PublicShopElementDto, PublicShopElementHeadingDto, PublicShopElementInformationDto, PublicShopElementNoticeDto, PublicShopElementProductDto, PublicShopElementTextDto, PublicShopElementType, PublicShopEventDto, PublicShopMerchantDto, PublicShopProductDto, PublicShopReservationDto, PublicShopReservationProductDetailsDto, PublicShopReservationProductDto, PublicShopService, PublicShopTimeSlotDto, RefundAdapter, RefundDto, RefundInitiatorDto, RefundReason, RefundStatus, RefundTicketRefDto, RefundabilityDto, RefundabilityReason, RenderedMailDto, ReservationAdapter, ReservationDto, ReservationItemDto, ReservationProductDto, ReservationService, ScanStatus, ServiceAdapter, ServiceInfoDto, ServicesService, ShopAddressMode, ShopDesignDto, ShopDto, ShopElementButtonDto, ShopElementDividerDto, ShopElementDto, ShopElementHeadingDto, ShopElementInformationDto, ShopElementNoticeDto, ShopElementProductDto, ShopElementTextDto, ShopElementType, ShopFieldRequirement, ShopStatus, ShortlinkAdapter, ShortlinkDto, StatisticsAdapter, StatisticsBuyersAcquisitionSourceDto, StatisticsBuyersAdapter, StatisticsBuyersAgeGenderMatrixDto, StatisticsBuyersCohortRetentionDto, StatisticsBuyersDeviceConversionDto, StatisticsBuyersGeographicDistributionDto, StatisticsBuyersOverviewDto, StatisticsBuyersRankedDto, StatisticsBuyersSpendBucket, StatisticsBuyersSpendBucketsDto, StatisticsChartAdapter, StatisticsChartDataPoint, StatisticsChartDto, StatisticsChartSeries, StatisticsChartSeriesKind, StatisticsChartValueType, StatisticsEventsAdapter, StatisticsEventsOverviewDto, StatisticsEventsSalesCurveDto, StatisticsEventsSalesCurveEventDto, StatisticsEventsSellOutTimingDto, StatisticsEventsSellOutTimingEventDto, StatisticsEventsTimeToEventBucket, StatisticsEventsTimeToEventDto, StatisticsGrowthAdapter, StatisticsGrowthCmgrDto, StatisticsGrowthOverviewDto, StatisticsInsightsAdapter, StatisticsMarketingAdapter, StatisticsMarketingCampaignDto, StatisticsMarketingOverviewDto, StatisticsMarketingReferrerDto, StatisticsMarketingShortlinkRoiDto, StatisticsMarketingSourceBreakdownDto, StatisticsMarketingSourceFunnelDto, StatisticsMarketingSourceMediumMatrixDto, StatisticsOperationsAdapter, StatisticsOperationsAppTeamDto, StatisticsOperationsNoShowRateDto, StatisticsOperationsNoShowRateEventDto, StatisticsOperationsOverviewDto, StatisticsOperationsScanTimeBucket, StatisticsOperationsScanTimeDistributionDto, StatisticsOperationsStewardDto, StatisticsOperationsStockUtilizationDto, StatisticsOverviewAdapter, StatisticsOverviewBestRevenueMonthDto, StatisticsOverviewCancellationFunnelDto, StatisticsOverviewEventPerformanceDto, StatisticsOverviewEventPerformanceEventDto, StatisticsOverviewEventPerformanceSummaryDto, StatisticsOverviewKPIsDto, StatisticsOverviewKPIsTotalEventsHostedDto, StatisticsOverviewKPIsTotalRevenueDto, StatisticsOverviewKPIsTotalTicketsSoldDto, StatisticsOverviewReservationConversionRateDto, StatisticsOverviewTopShopDto, StatisticsPieChartDto, StatisticsPieSlice, StatisticsRefundsAdapter, StatisticsRefundsAmountDistributionDto, StatisticsRefundsOverviewDto, StatisticsRefundsTopEventDto, StatisticsRefundsVelocityBucket, StatisticsRefundsVelocityDto, StatisticsSalesAdapter, StatisticsSalesDiscountEfficacyDto, StatisticsSalesFailedTransactionReasonDto, StatisticsSalesLifetimeTotalsDto, StatisticsSalesOrderValueBucket, StatisticsSalesOrderValueDistributionDto, StatisticsSalesPurchaseBehaviorDto, StatisticsSalesRepeatPurchaseVelocityBucket, StatisticsSalesRepeatPurchaseVelocityDto, StatisticsSalesTransactionSuccessRateDto, StatisticsTrendDto, StatusResponseDto, StockOverviewDto, StockOverviewItemDto, StockPoolDto, SubscriptionAdapter, SubscriptionPlanDto, SubscriptionType, TicketAdapter, TicketDto, TicketTemplateDto, TicketTemplateType, TicketValidity, TimeSlotDto, TotpStateDto, TransactionDto, TransactionStatus, UiSelectOptionsService, UserDto, UserTokenDto, UserTokenType, VatNumberDto, export_default as emptyNull, export_default$1 as jsonBlob, export_default$2 as optional, export_default$3 as optionalArray, parseEmailTemplate, serializeBlocks };
3749
3763
  //# sourceMappingURL=index.d.mts.map