@bondsports/types 0.0.146 → 0.0.156

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
@@ -463,24 +463,6 @@ export declare class CreateGroupPricingWithProduct {
463
463
  discountValue?: number;
464
464
  discountMethod?: DiscountMethodsEnum;
465
465
  }
466
- export declare class CreateUpdateVariantsDto {
467
- organizationId: number;
468
- parentProductId: number;
469
- variantTitles: VariantTitleDto[];
470
- variants: VariantDto[];
471
- }
472
- export declare class VariantTitleDto {
473
- titleName: string;
474
- titleId: number;
475
- }
476
- export declare class VariantDto {
477
- name: string;
478
- price: number;
479
- variantId: number;
480
- currency: CurrencyEnum;
481
- startDate: Date;
482
- endDate: Date;
483
- }
484
466
  export declare class FindByProductIdDto {
485
467
  productId: number;
486
468
  }
@@ -702,6 +684,24 @@ export declare class createResourceDto {
702
684
  export declare class archiveDto {
703
685
  isArchive: boolean;
704
686
  }
687
+ export declare class CreateUpdateVariantsDto {
688
+ organizationId: number;
689
+ parentProductId: number;
690
+ variantTitles: VariantTitleDto[];
691
+ variants: VariantDto[];
692
+ }
693
+ export declare class VariantTitleDto {
694
+ titleName: string;
695
+ titleId: number;
696
+ }
697
+ export declare class VariantDto {
698
+ name: string;
699
+ price: number;
700
+ variantId: number;
701
+ currency: CurrencyEnum;
702
+ startDate: Date;
703
+ endDate: Date;
704
+ }
705
705
  export declare class FindProgramSeasonsByProgramIdDto {
706
706
  programId: number;
707
707
  }
@@ -1580,22 +1580,6 @@ export declare class LineItemHistory extends BondBaseEntity {
1580
1580
  payment: Payment;
1581
1581
  lineItem: LineItems;
1582
1582
  }
1583
- export declare class LinkedAccounts extends BondBaseEntity {
1584
- id: number;
1585
- provider: string;
1586
- providerId: string | null;
1587
- parentId: number | null;
1588
- parentType: string | null;
1589
- status: number | null;
1590
- token: string | null;
1591
- refreshToken: string | null;
1592
- tokenCreatedAt: Date | null;
1593
- tokenValidUpTo: Date | null;
1594
- createdAt: Date;
1595
- updatedAt: Date;
1596
- user: User;
1597
- userId: number | null;
1598
- }
1599
1583
  export declare class LineItems extends BondBaseEntity {
1600
1584
  constructor();
1601
1585
  defineIsReverted(): void;
@@ -1651,6 +1635,22 @@ export declare class LineItems extends BondBaseEntity {
1651
1635
  displayUnitPrice?: number;
1652
1636
  displayQuantity?: number;
1653
1637
  }
1638
+ export declare class LinkedAccounts extends BondBaseEntity {
1639
+ id: number;
1640
+ provider: string;
1641
+ providerId: string | null;
1642
+ parentId: number | null;
1643
+ parentType: string | null;
1644
+ status: number | null;
1645
+ token: string | null;
1646
+ refreshToken: string | null;
1647
+ tokenCreatedAt: Date | null;
1648
+ tokenValidUpTo: Date | null;
1649
+ createdAt: Date;
1650
+ updatedAt: Date;
1651
+ user: User;
1652
+ userId: number | null;
1653
+ }
1654
1654
  export declare class Media extends BondBaseEntity {
1655
1655
  url: string;
1656
1656
  name: string | null;
@@ -1995,28 +1995,6 @@ export declare class ProgramHighlights extends BondBaseEntity {
1995
1995
  program: Program;
1996
1996
  deletedAt?: Date;
1997
1997
  }
1998
- export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
1999
- productUserId: number;
2000
- resourceId: number;
2001
- resourceType: ResourceNameTypeEnum;
2002
- status: PurchasedResourceStatusEnum;
2003
- startDate?: string;
2004
- startTime?: string;
2005
- endDate?: string;
2006
- endTime?: string;
2007
- productUser?: ProductsUsers;
2008
- lineItem?: LineItems;
2009
- eventAttendee?: EventAttendee;
2010
- seasonAttendee?: SeasonAttendee;
2011
- leagueAttendee?: SeasonPool;
2012
- membership?: Membership;
2013
- program?: Program;
2014
- programSeason?: ProgramSeason;
2015
- leagueSeason?: LeagueSeason;
2016
- space?: Resource;
2017
- product?: Product;
2018
- event?: Event;
2019
- }
2020
1998
  export declare class ProgramSeason extends BondBaseEntity {
2021
1999
  programId: number;
2022
2000
  name: string;
@@ -2072,6 +2050,32 @@ export declare class ProgramSeason extends BondBaseEntity {
2072
2050
  facility: Facility;
2073
2051
  purchasedResources: PurchasedResource[];
2074
2052
  }
2053
+ export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
2054
+ productUserId: number;
2055
+ resourceId: number;
2056
+ resourceType: ResourceNameTypeEnum;
2057
+ status: PurchasedResourceStatusEnum;
2058
+ startDate?: string;
2059
+ startTime?: string;
2060
+ endDate?: string;
2061
+ endTime?: string;
2062
+ productUser?: ProductsUsers;
2063
+ lineItem?: LineItems;
2064
+ eventAttendee?: EventAttendee;
2065
+ seasonAttendee?: SeasonAttendee;
2066
+ leagueAttendee?: SeasonPool;
2067
+ membership?: Membership;
2068
+ program?: Program;
2069
+ programSeason?: ProgramSeason;
2070
+ leagueSeason?: LeagueSeason;
2071
+ space?: Resource;
2072
+ product?: Product;
2073
+ event?: Event;
2074
+ }
2075
+ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2076
+ title: string | null;
2077
+ answerTitle: AnswerTitle;
2078
+ }
2075
2079
  export declare class Questions extends BondBaseEntity {
2076
2080
  questionType: string | null;
2077
2081
  ordinal: number | null;
@@ -2086,10 +2090,6 @@ export declare class Questions extends BondBaseEntity {
2086
2090
  ownerId: number | null;
2087
2091
  questionnaireId: number | null;
2088
2092
  }
2089
- export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2090
- title: string | null;
2091
- answerTitle: AnswerTitle;
2092
- }
2093
2093
  export declare class RefundReason extends OrganizationConnectionBaseEntity {
2094
2094
  reason: string;
2095
2095
  ordinal: number;
@@ -3467,6 +3467,18 @@ export interface ValidationReason {
3467
3467
  valid: boolean;
3468
3468
  reason?: string;
3469
3469
  }
3470
+ export interface PaymentStatus {
3471
+ parentId: number;
3472
+ paymentStatus: ReservationPaymentStatusEnum;
3473
+ approvalStatus?: ReservationStatusEnum;
3474
+ id?: number;
3475
+ }
3476
+ export interface PaymentStatusesDict {
3477
+ [id: number]: PaymentStatus[];
3478
+ }
3479
+ export interface PaymentStatusDict {
3480
+ [id: number]: ReservationPaymentStatusEnum;
3481
+ }
3470
3482
  export declare class CreateMonitorConfigDto {
3471
3483
  facilityId: number;
3472
3484
  name: string;
@@ -3558,18 +3570,6 @@ export declare class Organization extends BondBaseEntity {
3558
3570
  brandings: OrganizationBranding[];
3559
3571
  brandingsV2?: OrganizationBranding[];
3560
3572
  }
3561
- export interface PaymentStatus {
3562
- parentId: number;
3563
- paymentStatus: ReservationPaymentStatusEnum;
3564
- approvalStatus?: ReservationStatusEnum;
3565
- id?: number;
3566
- }
3567
- export interface PaymentStatusesDict {
3568
- [id: number]: PaymentStatus[];
3569
- }
3570
- export interface PaymentStatusDict {
3571
- [id: number]: ReservationPaymentStatusEnum;
3572
- }
3573
3573
  export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
3574
3574
  key?: string;
3575
3575
  vaule?: string;