@bondsports/types 0.0.120 → 0.0.121

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
@@ -701,50 +701,6 @@ export declare class VariantDto {
701
701
  startDate: Date;
702
702
  endDate: Date;
703
703
  }
704
- export declare class FindProgramsByOrganizationIdDto {
705
- organizationId: number;
706
- programType?: ProgramTypesEnum;
707
- }
708
- export declare class FindProgramByIdDto {
709
- programId: number;
710
- }
711
- export declare class FindProgramByOrgIdAndIdDto {
712
- programId: number;
713
- organizationId: number;
714
- }
715
- export declare class BaseProgramDto {
716
- type: ProgramTypesEnum;
717
- name: string;
718
- sport: SportsEnum;
719
- minAge: string;
720
- maxAge: string;
721
- gender: GenderEnum;
722
- level?: LevelOfPlayEnum[];
723
- description?: string;
724
- GL?: string;
725
- status: PublishingStatusEnum;
726
- organizationId: number;
727
- userCreatorId: number;
728
- highlights: ProgramHighlights[];
729
- longDescription?: string;
730
- requiredProductIds: number[];
731
- }
732
- export declare class CreateProgramDto extends BaseProgramDto {
733
- }
734
- export declare class UpdateProgramDto extends BaseProgramDto {
735
- programId: number;
736
- mainMediaId: number;
737
- }
738
- export declare class UpdateProgramStatusDto {
739
- programId: number;
740
- status: PublishingStatusEnum;
741
- }
742
- export declare class ProgramHighlightDto {
743
- data: string;
744
- ordinal: number;
745
- type: ProgramHighlightTypeEnum;
746
- title: string;
747
- }
748
704
  export declare class FindProgramSeasonsByProgramIdDto {
749
705
  programId: number;
750
706
  }
@@ -932,6 +888,50 @@ export declare class MoveParticipantDto {
932
888
  resourceId: number;
933
889
  invoiceId: number;
934
890
  }
891
+ export declare class FindProgramsByOrganizationIdDto {
892
+ organizationId: number;
893
+ programType?: ProgramTypesEnum;
894
+ }
895
+ export declare class FindProgramByIdDto {
896
+ programId: number;
897
+ }
898
+ export declare class FindProgramByOrgIdAndIdDto {
899
+ programId: number;
900
+ organizationId: number;
901
+ }
902
+ export declare class BaseProgramDto {
903
+ type: ProgramTypesEnum;
904
+ name: string;
905
+ sport: SportsEnum;
906
+ minAge: string;
907
+ maxAge: string;
908
+ gender: GenderEnum;
909
+ level?: LevelOfPlayEnum[];
910
+ description?: string;
911
+ GL?: string;
912
+ status: PublishingStatusEnum;
913
+ organizationId: number;
914
+ userCreatorId: number;
915
+ highlights: ProgramHighlights[];
916
+ longDescription?: string;
917
+ requiredProductIds: number[];
918
+ }
919
+ export declare class CreateProgramDto extends BaseProgramDto {
920
+ }
921
+ export declare class UpdateProgramDto extends BaseProgramDto {
922
+ programId: number;
923
+ mainMediaId: number;
924
+ }
925
+ export declare class UpdateProgramStatusDto {
926
+ programId: number;
927
+ status: PublishingStatusEnum;
928
+ }
929
+ export declare class ProgramHighlightDto {
930
+ data: string;
931
+ ordinal: number;
932
+ type: ProgramHighlightTypeEnum;
933
+ title: string;
934
+ }
935
935
  export declare class PurchasePaymentDto {
936
936
  token: string;
937
937
  type: PaymentMethodTypeEnum;
@@ -1827,6 +1827,23 @@ export declare class PaymentV1 extends BondBaseEntity {
1827
1827
  installmentId: number | null;
1828
1828
  invoiceId: string | null;
1829
1829
  }
1830
+ export declare class Price extends OrganizationConnectionBaseEntity {
1831
+ productId: number;
1832
+ product: Product;
1833
+ name: string | null;
1834
+ price: number;
1835
+ currency: CurrencyEnum;
1836
+ paymentProcessorId: number | null;
1837
+ startDate: Date;
1838
+ endDate: Date;
1839
+ groupId?: number;
1840
+ groupName?: string;
1841
+ originalPrice?: number;
1842
+ deletedAt?: Date;
1843
+ discountMethod?: DiscountMethodsEnum;
1844
+ discountValue?: number;
1845
+ taxIncludedPrice?: number;
1846
+ }
1830
1847
  export declare class Product extends OrganizationConnectionBaseEntity {
1831
1848
  name: string;
1832
1849
  quantity: number;
@@ -1877,23 +1894,6 @@ export declare class Product extends OrganizationConnectionBaseEntity {
1877
1894
  activityTimes: ActivityTimes[];
1878
1895
  purchasedResources: PurchasedResource[];
1879
1896
  }
1880
- export declare class Price extends OrganizationConnectionBaseEntity {
1881
- productId: number;
1882
- product: Product;
1883
- name: string | null;
1884
- price: number;
1885
- currency: CurrencyEnum;
1886
- paymentProcessorId: number | null;
1887
- startDate: Date;
1888
- endDate: Date;
1889
- groupId?: number;
1890
- groupName?: string;
1891
- originalPrice?: number;
1892
- deletedAt?: Date;
1893
- discountMethod?: DiscountMethodsEnum;
1894
- discountValue?: number;
1895
- taxIncludedPrice?: number;
1896
- }
1897
1897
  export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1898
1898
  parentProductId: number;
1899
1899
  childProductId: number;
@@ -2068,6 +2068,10 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
2068
2068
  product?: Product;
2069
2069
  event?: Event;
2070
2070
  }
2071
+ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2072
+ title: string | null;
2073
+ answerTitle: AnswerTitle;
2074
+ }
2071
2075
  export declare class Questions extends BondBaseEntity {
2072
2076
  questionType: string | null;
2073
2077
  ordinal: number | null;
@@ -2082,10 +2086,6 @@ export declare class Questions extends BondBaseEntity {
2082
2086
  ownerId: number | null;
2083
2087
  questionnaireId: number | null;
2084
2088
  }
2085
- export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2086
- title: string | null;
2087
- answerTitle: AnswerTitle;
2088
- }
2089
2089
  export declare class RefundReason extends OrganizationConnectionBaseEntity {
2090
2090
  reason: string;
2091
2091
  ordinal: number;
@@ -2102,34 +2102,6 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
2102
2102
  closeTime?: string;
2103
2103
  deletedAt?: Date;
2104
2104
  }
2105
- export declare class Resource extends OrganizationConnectionBaseEntity {
2106
- name: string;
2107
- resourceType: ResourceTypeEnum;
2108
- resourceSubType: ResourceSubTypeEnum;
2109
- description?: string;
2110
- longDescription?: string;
2111
- surface?: SurfacesEnum;
2112
- properties?: SpacePropertiesEnum[];
2113
- mainMediaId?: number;
2114
- mainMedia: Media;
2115
- sports: SportsEnum[];
2116
- width?: number;
2117
- length?: number;
2118
- amenities?: AmenitiesEnum[];
2119
- parentSpaceId?: number;
2120
- ordinal?: number;
2121
- isAddOn: boolean;
2122
- ages?: ResourceAgesEnum;
2123
- deletedAt?: Date;
2124
- activityTimes: ActivityTimes[];
2125
- facilities: Facility[];
2126
- slots?: Slot[];
2127
- addons?: Addon[];
2128
- facilityId: number;
2129
- facility: Facility;
2130
- purchasedResources: PurchasedResource[];
2131
- linkSEO: string;
2132
- }
2133
2105
  export declare class Reservations extends OrganizationConnectionBaseEntity {
2134
2106
  name?: string;
2135
2107
  description?: string;
@@ -2162,6 +2134,34 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
2162
2134
  publicNotes?: string;
2163
2135
  slots?: Slot[];
2164
2136
  }
2137
+ export declare class Resource extends OrganizationConnectionBaseEntity {
2138
+ name: string;
2139
+ resourceType: ResourceTypeEnum;
2140
+ resourceSubType: ResourceSubTypeEnum;
2141
+ description?: string;
2142
+ longDescription?: string;
2143
+ surface?: SurfacesEnum;
2144
+ properties?: SpacePropertiesEnum[];
2145
+ mainMediaId?: number;
2146
+ mainMedia: Media;
2147
+ sports: SportsEnum[];
2148
+ width?: number;
2149
+ length?: number;
2150
+ amenities?: AmenitiesEnum[];
2151
+ parentSpaceId?: number;
2152
+ ordinal?: number;
2153
+ isAddOn: boolean;
2154
+ ages?: ResourceAgesEnum;
2155
+ deletedAt?: Date;
2156
+ activityTimes: ActivityTimes[];
2157
+ facilities: Facility[];
2158
+ slots?: Slot[];
2159
+ addons?: Addon[];
2160
+ facilityId: number;
2161
+ facility: Facility;
2162
+ purchasedResources: PurchasedResource[];
2163
+ linkSEO: string;
2164
+ }
2165
2165
  export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2166
2166
  name: string;
2167
2167
  facilityId: number;
@@ -3359,56 +3359,9 @@ export declare class PunchPassDto {
3359
3359
  BondSessionID: number;
3360
3360
  ProductID: number;
3361
3361
  }
3362
- export declare class ImportedSlotProductDto {
3363
- slotID?: string;
3364
- name?: string;
3365
- pricingType?: 'Hourly' | 'Flat';
3366
- appliesTo?: 'slot' | 'addon' | 'reservation';
3367
- price?: string;
3368
- minutes?: string;
3369
- quantity: string;
3370
- startDate?: string;
3371
- startTime?: string;
3372
- endDate?: string;
3373
- endTime?: string;
3374
- bondProductId?: number;
3375
- }
3376
- export declare class ImportResourceMappingDto {
3377
- bondResourceID?: string;
3378
- resourceName?: string;
3379
- }
3380
- export declare class ImportProductMappingDto {
3381
- productID?: string;
3382
- productName?: string;
3383
- }
3384
- export declare class ImportedSlotDto {
3385
- reservationID: string;
3386
- bondResourceID: string;
3387
- resourceName: string;
3388
- subResourceName: string;
3389
- startDate: string;
3390
- startTime: string;
3391
- endDate: string;
3392
- endTime: string;
3393
- sportId?: string;
3394
- setupDuration: string;
3395
- setupIncludeInCosts: string;
3396
- takedownDuration: string;
3397
- takedownIncludeInCosts: string;
3398
- slotProduct: ImportedSlotProductDto;
3399
- addonProducts: ImportedSlotProductDto[];
3400
- totalPrice: string;
3401
- }
3402
- export declare class ImportedReservationDto {
3403
- name: string;
3404
- customerId: string;
3405
- description: string;
3406
- totalPrice: string;
3407
- downPayment: string;
3408
- paid: string;
3409
- invoiceId: string;
3410
- slots?: ImportedSlotDto[];
3411
- addons?: ImportedSlotProductDto[];
3362
+ export declare class GameSlots extends BondBaseEntity {
3363
+ entityType: string;
3364
+ entityId: number;
3412
3365
  }
3413
3366
  export declare class MatchParticipants extends BondBaseEntity {
3414
3367
  matchId: number | null;
@@ -3419,10 +3372,6 @@ export declare class MatchParticipants extends BondBaseEntity {
3419
3372
  score: number | null;
3420
3373
  gameSlotId: number | null;
3421
3374
  }
3422
- export declare class GameSlots extends BondBaseEntity {
3423
- entityType: string;
3424
- entityId: number;
3425
- }
3426
3375
  export declare class Matches extends BondBaseEntity {
3427
3376
  eventId: number | null;
3428
3377
  status: number | null;
@@ -3441,6 +3390,11 @@ export declare class SeasonRounds extends BondBaseEntity {
3441
3390
  divisionId?: number;
3442
3391
  name: string;
3443
3392
  }
3393
+ export declare class TeamEvents extends BondBaseEntity {
3394
+ teamId: number | null;
3395
+ eventId: number | null;
3396
+ status: number | null;
3397
+ }
3444
3398
  export declare class Lock extends BondBaseEntity {
3445
3399
  name: string;
3446
3400
  locked?: Date;
@@ -3454,11 +3408,6 @@ export interface ValidationReason {
3454
3408
  valid: boolean;
3455
3409
  reason?: string;
3456
3410
  }
3457
- export declare class TeamEvents extends BondBaseEntity {
3458
- teamId: number | null;
3459
- eventId: number | null;
3460
- status: number | null;
3461
- }
3462
3411
  export interface PaymentStatus {
3463
3412
  parentId: number;
3464
3413
  paymentStatus: ReservationPaymentStatusEnum;
@@ -4581,6 +4530,57 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
4581
4530
  export declare class CloseShiftDto {
4582
4531
  closingCashAmount: number;
4583
4532
  }
4533
+ export declare class ImportedSlotProductDto {
4534
+ slotID?: string;
4535
+ name?: string;
4536
+ pricingType?: 'Hourly' | 'Flat';
4537
+ appliesTo?: 'slot' | 'addon' | 'reservation';
4538
+ price?: string;
4539
+ minutes?: string;
4540
+ quantity: string;
4541
+ startDate?: string;
4542
+ startTime?: string;
4543
+ endDate?: string;
4544
+ endTime?: string;
4545
+ bondProductId?: number;
4546
+ }
4547
+ export declare class ImportResourceMappingDto {
4548
+ bondResourceID?: string;
4549
+ resourceName?: string;
4550
+ }
4551
+ export declare class ImportProductMappingDto {
4552
+ productID?: string;
4553
+ productName?: string;
4554
+ }
4555
+ export declare class ImportedSlotDto {
4556
+ reservationID: string;
4557
+ bondResourceID: string;
4558
+ resourceName: string;
4559
+ subResourceName: string;
4560
+ startDate: string;
4561
+ startTime: string;
4562
+ endDate: string;
4563
+ endTime: string;
4564
+ sportId?: string;
4565
+ setupDuration: string;
4566
+ setupIncludeInCosts: string;
4567
+ takedownDuration: string;
4568
+ takedownIncludeInCosts: string;
4569
+ slotProduct: ImportedSlotProductDto;
4570
+ addonProducts: ImportedSlotProductDto[];
4571
+ totalPrice: string;
4572
+ }
4573
+ export declare class ImportedReservationDto {
4574
+ name: string;
4575
+ customerId: string;
4576
+ description: string;
4577
+ totalPrice: string;
4578
+ downPayment: string;
4579
+ paid: string;
4580
+ invoiceId: string;
4581
+ slots?: ImportedSlotDto[];
4582
+ addons?: ImportedSlotProductDto[];
4583
+ }
4584
4584
  export declare class FindShiftsByIdsDto {
4585
4585
  shiftIds: number[];
4586
4586
  }