@bondsports/types 0.0.197 → 0.0.198

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/build/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { BaseEntity } from 'typeorm';
2
- import { Stripe } from 'stripe';
3
- import moment from 'moment';
4
- export { TypesProvider } from './provider';
1
+ import { BaseEntity } from "typeorm";
2
+ import { Stripe } from "stripe";
3
+ import moment from "moment";
4
+ export { TypesProvider } from "./provider";
5
5
  export declare class BasicActivityTimesDto {
6
6
  dayOfWeek: number;
7
7
  close: string;
@@ -638,7 +638,7 @@ export declare class GetExtraProductDataDto {
638
638
  includeArchived?: boolean;
639
639
  }
640
640
  export declare class GetBySessionType {
641
- sessionType: 'event' | 'segment';
641
+ sessionType: "event" | "segment";
642
642
  }
643
643
  export declare class CreateSubcategoryDto {
644
644
  productType: ProductTypesEnum;
@@ -890,7 +890,7 @@ export declare class MoveParticipantDto {
890
890
  userId: number;
891
891
  oldProductId: number;
892
892
  newProductId: number;
893
- moveType: 'session' | 'segment';
893
+ moveType: "session" | "segment";
894
894
  resourceId: number;
895
895
  invoiceId: number;
896
896
  }
@@ -2711,7 +2711,7 @@ export interface ISessionsLandingPage {
2711
2711
  lateRegistrationStartDate?: Date;
2712
2712
  lateRegistrationEndDate?: Date;
2713
2713
  attendeeCount?: number;
2714
- segmentsOrEvents: 'segment' | 'event';
2714
+ segmentsOrEvents: "segment" | "event";
2715
2715
  }
2716
2716
  export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
2717
2717
  hasRequiredMembership: boolean;
@@ -3384,8 +3384,8 @@ export declare class PunchPassDto {
3384
3384
  export declare class ImportedSlotProductDto {
3385
3385
  slotID?: string;
3386
3386
  name?: string;
3387
- pricingType?: 'Hourly' | 'Flat';
3388
- appliesTo?: 'slot' | 'addon' | 'reservation';
3387
+ pricingType?: "Hourly" | "Flat";
3388
+ appliesTo?: "slot" | "addon" | "reservation";
3389
3389
  price?: string;
3390
3390
  minutes?: string;
3391
3391
  quantity: string;
@@ -3701,7 +3701,7 @@ export declare class PaymentDataDto {
3701
3701
  }
3702
3702
  export declare class SendReceiptDataDto {
3703
3703
  paymentId: number;
3704
- deliveryMethod: 'email' | 'sms';
3704
+ deliveryMethod: "email" | "sms";
3705
3705
  sendToAddress?: string;
3706
3706
  }
3707
3707
  export declare class PaymentPlanSchduleDto {
@@ -3902,7 +3902,7 @@ export declare class LineItemDto {
3902
3902
  unitPrice?: number;
3903
3903
  quantity: number;
3904
3904
  resources?: PurchasedResourceDto[];
3905
- relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
3905
+ relationType?: "reservation-addon" | "slots" | "slot_addons";
3906
3906
  unitPriceWithTax?: number;
3907
3907
  unitTaxPrice?: number;
3908
3908
  parentOrdinal?: number;
@@ -4370,7 +4370,7 @@ export declare enum LineItemResourceEnum {
4370
4370
  SLOT_ADDONS = "slot_addons"
4371
4371
  }
4372
4372
  export declare type TSlotAndType = {
4373
- type: 'slots' | 'slot_addons';
4373
+ type: "slots" | "slot_addons";
4374
4374
  slotsForProduct: {
4375
4375
  [productId: number]: {
4376
4376
  product: Product;
@@ -4379,7 +4379,7 @@ export declare type TSlotAndType = {
4379
4379
  };
4380
4380
  };
4381
4381
  export interface ILineItemResource {
4382
- type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
4382
+ type: "segments" | "series" | "slots" | "reservation_addons" | "slot_addons";
4383
4383
  values: TResource[];
4384
4384
  dtoValues: TDtoResource[];
4385
4385
  }
@@ -4535,8 +4535,8 @@ export interface CalendarSlotCard extends Slot {
4535
4535
  totalSlotsInSeries?: number;
4536
4536
  slotIndexInSeries?: number;
4537
4537
  }
4538
- declare type IPartialInvoice = Pick<Invoice, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paidAmount'>;
4539
- export declare type IPartialPayment = Pick<Payment, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paymentType' | 'ccBrand' | 'ccLast4'>;
4538
+ declare type IPartialInvoice = Pick<Invoice, "id" | "createdAt" | "price" | "paymentStatus" | "paidAmount">;
4539
+ export declare type IPartialPayment = Pick<Payment, "id" | "createdAt" | "price" | "paymentStatus" | "paymentType" | "ccBrand" | "ccLast4">;
4540
4540
  export interface IInvoice extends IPartialInvoice {
4541
4541
  lineItemsCount: number;
4542
4542
  }