@bondsports/types 0.0.2 → 0.0.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.
Files changed (2) hide show
  1. package/build/index.d.ts +1527 -1524
  2. package/package.json +1 -1
package/build/index.d.ts CHANGED
@@ -1,63 +1,23 @@
1
1
  import { BaseEntity } from 'typeorm';
2
2
  import { Stripe } from 'stripe';
3
3
  import moment from 'moment';
4
- export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
5
- membershipId: number;
6
- }
7
- export declare class ImportProductsFromDB {
8
- buDate: string;
9
- }
10
- export declare class ImportCustomerFromCSV {
11
- fileName: string;
12
- startIndex?: number;
13
- }
14
- export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
15
- resolveInvoices: string;
16
- }
17
- export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
18
- membershipId: number;
19
- onlyDashIds: string;
20
- }
21
- export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
4
+ export declare class FindBookingTypeSettingDto {
5
+ organizationId: number;
22
6
  facilityId: number;
7
+ spaceId: number;
8
+ bookingDate: string;
9
+ bookingTime: string;
23
10
  }
24
- export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
25
- customerId: number;
26
- }
27
- export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
28
- nameSearch?: string;
29
- fuzzy?: string;
30
- customerType?: CustomerTypeEnum;
31
- customersIds?: string;
32
- }
33
- export declare class AddCustomerNotesDto {
34
- customerNotes: CustomerNoteDto[];
11
+ export declare class QuestionAnswersDto {
12
+ questionId: number;
13
+ value: any;
35
14
  }
36
- export declare class CustomerNoteDto {
37
- id?: number;
38
- description: string;
39
- pinToTop?: boolean;
15
+ export declare class UserAnswersDto {
16
+ userId: number;
17
+ answers: QuestionAnswersDto[];
40
18
  }
41
- export declare class AddEditCustomerDto {
42
- firstName?: string;
43
- lastName?: string;
44
- entityId?: number;
45
- entityType?: CustomerTypeEnum;
46
- email?: string;
47
- color?: string;
48
- street?: string;
49
- city?: string;
50
- state?: string;
51
- zip?: string;
52
- phoneNumber?: string;
53
- mainMediaId?: number;
54
- creatorId?: number;
55
- creatorType?: ResourceNameTypeEnum;
56
- userCreatorId?: number;
57
- gender?: GenderEnum;
58
- birthDate?: string;
59
- emergencyContactName?: string;
60
- emergencyContactPhone?: string;
19
+ export declare class GetByQuestionnaireIdsDto {
20
+ questionnaireIds: string;
61
21
  }
62
22
  export declare class AddressDto {
63
23
  city: string;
@@ -102,6 +62,13 @@ export declare class UpdateFacilityAmenitiesDto {
102
62
  export declare class FindFacilitiesOptionsDto extends PaginationQuery {
103
63
  nameSearch?: string;
104
64
  }
65
+ export declare class BasicActivityTimesDto {
66
+ dayOfWeek: number;
67
+ close: string;
68
+ open: string;
69
+ availabilityStartDate?: string;
70
+ availabilityEndDate?: string;
71
+ }
105
72
  export declare class FindFamilyAccountsDto {
106
73
  userId: number;
107
74
  }
@@ -134,6 +101,107 @@ export declare class RemoveUserFromFamilyAccountDto {
134
101
  userId: number;
135
102
  familyAccountId: number;
136
103
  }
104
+ export declare class FindEventByIdDto {
105
+ eventId: number;
106
+ organizationId: number;
107
+ }
108
+ export declare class UpdateEventDto {
109
+ name: string;
110
+ startDate: string;
111
+ endDate: string;
112
+ startTime: string;
113
+ endTime: string;
114
+ spacesIds?: number[];
115
+ publicNotes?: string;
116
+ privateNotes?: string;
117
+ isInformAttendees?: boolean;
118
+ minutesBeforeSlot?: number;
119
+ minutesAfterSlot?: number;
120
+ }
121
+ export declare class AddEventToSessionDto {
122
+ eventsData: UpdateEventDto[];
123
+ }
124
+ export declare class EventsIdsQueryDto {
125
+ eventsIds: string;
126
+ }
127
+ export declare class UpdateMultipleEventsDto {
128
+ eventsIds: number[];
129
+ name?: string;
130
+ startTime?: string;
131
+ endTime?: string;
132
+ spacesIds?: number[];
133
+ publicNotes?: string;
134
+ privateNotes?: string;
135
+ isInformAttendees?: boolean;
136
+ minutesBeforeSlot?: number;
137
+ minutesAfterSlot?: number;
138
+ }
139
+ export declare class FindByFacilityIdDto {
140
+ facilityId: number;
141
+ }
142
+ export declare class FindByFacilityIdAndOrganizationIdDto extends FindByFacilityIdDto {
143
+ organizationId: number;
144
+ }
145
+ export declare class FacilityEventsScheduleQueryParams {
146
+ programsIds?: string;
147
+ startDate?: string;
148
+ endDate?: string;
149
+ }
150
+ export declare class ProgramLandingPageDto {
151
+ programId: number;
152
+ }
153
+ export declare class ProgramLandingPageQueryDto {
154
+ futureLimit?: number;
155
+ }
156
+ export declare class ProgramSessionLandingPageDto {
157
+ programId: number;
158
+ sessionId: number;
159
+ }
160
+ export interface IEventOfSessionDetails {
161
+ id: number;
162
+ name: string;
163
+ programId: number;
164
+ programType: ProgramTypesEnum;
165
+ sessionId: number;
166
+ sessionName: string;
167
+ isPublic: boolean;
168
+ startDate: Date;
169
+ endDate: Date;
170
+ startTime: string;
171
+ endTime: string;
172
+ resources: IBasicSpaceAndSlotCreator[];
173
+ attenedanceCount: number;
174
+ checkedInCount: number;
175
+ missingPaymentCount: number;
176
+ publicNotes: string;
177
+ privateNotes: string;
178
+ }
179
+ export interface IAttendeeOfEvent {
180
+ eventId: number;
181
+ userId: number;
182
+ lastName: string;
183
+ firstName: string;
184
+ birthDate: string;
185
+ mediaURL: string;
186
+ signedWaiver: string;
187
+ entryStatus: EntryStatusEnum;
188
+ paymentStatus: PaymentStatusEnum;
189
+ addOns: {
190
+ productId: number;
191
+ productName: string;
192
+ }[];
193
+ totalPasses?: number;
194
+ leftPasses?: number;
195
+ addonProductUserIds: number[];
196
+ }
197
+ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
198
+ nameSearch?: string;
199
+ isCheckedIn?: string;
200
+ isNotCheckedIn?: string;
201
+ hasAddons?: string;
202
+ isWaiverSigned?: string;
203
+ statuses?: string;
204
+ }
137
205
  export declare class FindOneParams {
138
206
  id: number;
139
207
  }
@@ -146,6 +214,74 @@ export declare class PaginationRangeQuery {
146
214
  endPage: number;
147
215
  itemsPerPage: number;
148
216
  }
217
+ export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
218
+ membershipId: number;
219
+ }
220
+ export declare class ImportProductsFromDB {
221
+ buDate: string;
222
+ }
223
+ export declare class ImportCustomerFromCSV {
224
+ fileName: string;
225
+ startIndex?: number;
226
+ }
227
+ export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
228
+ resolveInvoices: string;
229
+ }
230
+ export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
231
+ membershipId: number;
232
+ onlyDashIds: string;
233
+ }
234
+ export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
235
+ facilityId: number;
236
+ }
237
+ export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
238
+ customerId: number;
239
+ }
240
+ export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
241
+ nameSearch?: string;
242
+ fuzzy?: string;
243
+ customerType?: CustomerTypeEnum;
244
+ customersIds?: string;
245
+ }
246
+ export declare class AddCustomerNotesDto {
247
+ customerNotes: CustomerNoteDto[];
248
+ }
249
+ export declare class CustomerNoteDto {
250
+ id?: number;
251
+ description: string;
252
+ pinToTop?: boolean;
253
+ }
254
+ export declare class AddEditCustomerDto {
255
+ firstName?: string;
256
+ lastName?: string;
257
+ entityId?: number;
258
+ entityType?: CustomerTypeEnum;
259
+ email?: string;
260
+ color?: string;
261
+ street?: string;
262
+ city?: string;
263
+ state?: string;
264
+ zip?: string;
265
+ phoneNumber?: string;
266
+ mainMediaId?: number;
267
+ creatorId?: number;
268
+ creatorType?: ResourceNameTypeEnum;
269
+ userCreatorId?: number;
270
+ gender?: GenderEnum;
271
+ birthDate?: string;
272
+ emergencyContactName?: string;
273
+ emergencyContactPhone?: string;
274
+ }
275
+ export declare class FindGlCodeByOrganizationIdDto {
276
+ organizationId: number;
277
+ }
278
+ export declare class GetGlCodeDto {
279
+ id: number;
280
+ organizationId: number;
281
+ code: string;
282
+ createdAt: Date;
283
+ updatedAt: Date;
284
+ }
149
285
  export declare class FindByProgramSeasonIdDto {
150
286
  seasonId: number;
151
287
  }
@@ -219,17 +355,6 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
219
355
  export declare class MoveTeamOrMembersByCsvDTO {
220
356
  fileName: string;
221
357
  }
222
- export declare class QuestionAnswersDto {
223
- questionId: number;
224
- value: any;
225
- }
226
- export declare class UserAnswersDto {
227
- userId: number;
228
- answers: QuestionAnswersDto[];
229
- }
230
- export declare class GetByQuestionnaireIdsDto {
231
- questionnaireIds: string;
232
- }
233
358
  export declare class CreateMembershipDto {
234
359
  organizationId: number;
235
360
  name: string;
@@ -328,179 +453,6 @@ export declare class CreateGroupPricingWithProduct {
328
453
  discountValue?: number;
329
454
  discountMethod?: DiscountMethodsEnum;
330
455
  }
331
- export declare class CreateUpdateVariantsDto {
332
- organizationId: number;
333
- parentProductId: number;
334
- variantTitles: VariantTitleDto[];
335
- variants: VariantDto[];
336
- }
337
- export declare class VariantTitleDto {
338
- titleName: string;
339
- titleId: number;
340
- }
341
- export declare class VariantDto {
342
- name: string;
343
- price: number;
344
- variantId: number;
345
- currency: CurrencyEnum;
346
- startDate: Date;
347
- endDate: Date;
348
- }
349
- export declare class PurchasePaymentDto {
350
- token: string;
351
- type: PaymentMethodTypeEnum;
352
- }
353
- export declare class ChargeRentalsReuqestDto {
354
- organizationId: number;
355
- userId?: number;
356
- customerId?: number;
357
- orderId: number;
358
- paymentData: PurchasePaymentDto;
359
- amountToPay: number;
360
- total: number;
361
- platform: PlatformsEnum;
362
- shiftId?: number;
363
- }
364
- export declare class PurchaseRequestDto {
365
- purchasingUserId: number;
366
- customerId?: number;
367
- products: PurchaseProductDto[];
368
- paymentData: PurchasePaymentDto;
369
- answers: UserAnswersDto[];
370
- amountToPay: number;
371
- parentPurchasedType?: ResourceNameTypeEnum;
372
- parentPurchasedId?: number;
373
- isPartialPayment: boolean;
374
- existingOrderToken?: string;
375
- installments?: ScheduledPaymentDto[];
376
- shiftId?: number;
377
- orderId?: number;
378
- }
379
- export declare class PurchaseResourceDto extends ResourceDto {
380
- }
381
- export declare class PurchaseProductDto {
382
- id: number;
383
- resources?: PurchaseResourceDto[];
384
- userId?: number;
385
- paymentStatus?: PaymentStatusEnum;
386
- amountToPay?: number;
387
- ordinal?: number;
388
- startDate?: Date;
389
- quantity?: number;
390
- }
391
- export declare class PartialPaymentRequestDto {
392
- orderId: number;
393
- amountToPay: number;
394
- organizationId: number;
395
- payingUserId: number;
396
- paymentMethodData: PurchasePaymentDto;
397
- shiftId?: number;
398
- }
399
- export declare class RedeemPunchCardRequestDto {
400
- products: PurchaseProductDto[];
401
- answersTitlesIds: number[];
402
- organizationId: number;
403
- purchasingUserId: number;
404
- }
405
- export declare class OrderIdDto extends ByOrganizationIdDto {
406
- orderId: number;
407
- }
408
- export declare class AddItemsDto {
409
- products: PurchaseProductDto[];
410
- allocateResource: boolean;
411
- skipMail: boolean;
412
- }
413
- export declare class PartialPaymentAsUserDto {
414
- orderId: any;
415
- organizationId: any;
416
- amountToPay: any;
417
- paymentMethodData: any;
418
- }
419
- export declare class FindProgramsByOrganizationIdDto {
420
- organizationId: number;
421
- programType?: ProgramTypesEnum;
422
- }
423
- export declare class FindProgramByIdDto {
424
- programId: number;
425
- }
426
- export declare class FindProgramByOrgIdAndIdDto {
427
- programId: number;
428
- organizationId: number;
429
- }
430
- export declare class BaseProgramDto {
431
- type: ProgramTypesEnum;
432
- name: string;
433
- sport: SportsEnum;
434
- minAge: string;
435
- maxAge: string;
436
- gender: GenderEnum;
437
- level?: LevelOfPlayEnum[];
438
- description?: string;
439
- GL?: string;
440
- status: PublishingStatusEnum;
441
- organizationId: number;
442
- userCreatorId: number;
443
- highlights: ProgramHighlights[];
444
- longDescription?: string;
445
- requiredProductIds: number[];
446
- }
447
- export declare class CreateProgramDto extends BaseProgramDto {
448
- }
449
- export declare class UpdateProgramDto extends BaseProgramDto {
450
- programId: number;
451
- mainMediaId: number;
452
- }
453
- export declare class UpdateProgramStatusDto {
454
- programId: number;
455
- status: PublishingStatusEnum;
456
- }
457
- export declare class ProgramHighlightDto {
458
- data: string;
459
- ordinal: number;
460
- type: ProgramHighlightTypeEnum;
461
- title: string;
462
- }
463
- export declare class ResourceDto {
464
- type: ResourceNameTypeEnum;
465
- id: number;
466
- }
467
- export declare class BasicActivityTimesDto {
468
- dayOfWeek: number;
469
- close: string;
470
- open: string;
471
- availabilityStartDate?: string;
472
- availabilityEndDate?: string;
473
- }
474
- export declare class FindGlCodeByOrganizationIdDto {
475
- organizationId: number;
476
- }
477
- export declare class GetGlCodeDto {
478
- id: number;
479
- organizationId: number;
480
- code: string;
481
- createdAt: Date;
482
- updatedAt: Date;
483
- }
484
- export declare class StripeCustomerIdDto {
485
- userId: number;
486
- }
487
- export declare class AddACHTokenToCustomerDto {
488
- publicToken: string;
489
- accountId: string;
490
- }
491
- export declare class ActivityTimes extends BondBaseEntity {
492
- parentType: ResourceNameTypeEnum | ProductTypesEnum;
493
- parentId: number;
494
- dayOfWeek: number;
495
- open: string;
496
- close: string;
497
- deletedAt?: Date;
498
- program: ProgramSeason;
499
- availabilityStartDate: string;
500
- availabilityEndDate: string;
501
- proudct: Product;
502
- event: Event;
503
- }
504
456
  export declare class FindByProductIdDto {
505
457
  productId: number;
506
458
  }
@@ -721,70 +673,365 @@ export declare class createResourceDto {
721
673
  export declare class archiveDto {
722
674
  isArchive: boolean;
723
675
  }
724
- export declare class FindBookingTypeSettingDto {
676
+ export declare class FindProgramsByOrganizationIdDto {
725
677
  organizationId: number;
726
- facilityId: number;
727
- spaceId: number;
728
- bookingDate: string;
729
- bookingTime: string;
730
- }
731
- export declare class CreateResourceGroupDto {
732
- name: string;
733
- parentSlotId: number;
734
- facilityId: number;
735
- childrenSlotIds: number[];
736
- }
737
- export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
678
+ programType?: ProgramTypesEnum;
738
679
  }
739
- export declare class SpaceByIdDto {
740
- spaceId: number;
680
+ export declare class FindProgramByIdDto {
681
+ programId: number;
741
682
  }
742
- export declare class CreateSpaceDto {
743
- name: string;
744
- sports: number[];
745
- description?: string;
746
- longDescription?: string;
747
- spaceType: ResourceSubTypeEnum;
748
- isAddon?: boolean;
749
- properties: SpacePropertiesEnum;
750
- width?: number;
751
- length?: number;
752
- surface?: SurfacesEnum;
753
- ages?: ResourceAgesEnum;
754
- amenities: number[];
755
- activityTimes: BasicActivityTimesDto[];
756
- facilitiesIds: number[];
757
- resourceGroupId?: number;
758
- blockedResourcesIds?: number[];
683
+ export declare class FindProgramByOrgIdAndIdDto {
684
+ programId: number;
685
+ organizationId: number;
759
686
  }
760
- export declare class UpdateSpaceDetailsDto {
687
+ export declare class BaseProgramDto {
688
+ type: ProgramTypesEnum;
761
689
  name: string;
690
+ sport: SportsEnum;
691
+ minAge: string;
692
+ maxAge: string;
693
+ gender: GenderEnum;
694
+ level?: LevelOfPlayEnum[];
762
695
  description?: string;
696
+ GL?: string;
697
+ status: PublishingStatusEnum;
698
+ organizationId: number;
699
+ userCreatorId: number;
700
+ highlights: ProgramHighlights[];
763
701
  longDescription?: string;
764
- isAddon?: boolean;
765
- facilitiesIds: number[];
702
+ requiredProductIds: number[];
766
703
  }
767
- export declare class UpdateSpacePropertiesDto {
768
- properties: SpacePropertiesEnum;
769
- width?: number;
770
- length?: number;
771
- surface?: SurfacesEnum;
772
- ages?: ResourceAgesEnum;
704
+ export declare class CreateProgramDto extends BaseProgramDto {
773
705
  }
774
- export declare class UpdateSpaceTimesDto {
775
- activityTimes: BasicActivityTimesDto[];
706
+ export declare class UpdateProgramDto extends BaseProgramDto {
707
+ programId: number;
708
+ mainMediaId: number;
776
709
  }
777
- export declare class UpdateSpaceRelationshipsDto {
778
- resourceGroupId?: number;
779
- blockedResourcesIds?: number[];
710
+ export declare class UpdateProgramStatusDto {
711
+ programId: number;
712
+ status: PublishingStatusEnum;
780
713
  }
781
- export declare class SaveSpaceDependenciesDto {
782
- blockedSpacesIds: number[];
783
- parentSpaceId?: number;
714
+ export declare class ProgramHighlightDto {
715
+ data: string;
716
+ ordinal: number;
717
+ type: ProgramHighlightTypeEnum;
718
+ title: string;
784
719
  }
785
- export declare class FacilitySlotsScheduleQueryParams {
786
- spacesIds?: string;
787
- futureHoursLimit?: number;
720
+ export declare class FindProgramSeasonsByProgramIdDto {
721
+ programId: number;
722
+ }
723
+ export declare class FindSessionsFiltersDto {
724
+ status?: PublishingStatusEnum;
725
+ isFullFetch?: boolean;
726
+ }
727
+ export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
728
+ organizationId: number;
729
+ }
730
+ export declare class DeleteEventAttendeesDto {
731
+ eventAttendeeIds: string;
732
+ }
733
+ export declare class FindProgramSeasonByIdQueryDto {
734
+ includeResources?: boolean;
735
+ }
736
+ export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
737
+ seasonId: number;
738
+ }
739
+ export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
740
+ seasonId: number;
741
+ }
742
+ export declare class DeleteProductDto {
743
+ deleteProduct?: boolean;
744
+ }
745
+ export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
746
+ userId: number;
747
+ }
748
+ export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
749
+ isFreeAgentsOnly?: boolean;
750
+ isPunchCardUsers?: boolean;
751
+ nameEmailSearch?: string;
752
+ }
753
+ export declare class BaseProgramSeasonDto {
754
+ programId: number;
755
+ name: string;
756
+ status: PublishingStatusEnum;
757
+ seasonType: ProgramSeasonTypesEnum;
758
+ startDate: Date;
759
+ endDate: Date;
760
+ description?: string;
761
+ GL?: string;
762
+ parentSeasonId?: number;
763
+ questionnaires?: number[];
764
+ maxParticipants?: number;
765
+ maxMaleParticipants?: number;
766
+ maxFemaleParticipants?: number;
767
+ maxWaitlist?: number;
768
+ maxMaleWaitlist?: number;
769
+ maxFemaleWaitlist?: number;
770
+ facilityId?: number;
771
+ addressId?: number;
772
+ blockedDated?: blockedDatesDto[];
773
+ activityTimes: ActivityTimesDto[];
774
+ longDescription?: string;
775
+ isPunchCard?: boolean;
776
+ organizationId: number;
777
+ sport: SportsEnum;
778
+ minAge: string;
779
+ maxAge: string;
780
+ gender: GenderEnum;
781
+ level?: LevelOfPlayEnum[];
782
+ requiredProductIds?: number[];
783
+ }
784
+ export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
785
+ subSeasons?: SubSeasonBasicInfo[];
786
+ }
787
+ export declare class CreateSessionScheduleDto {
788
+ startDate: Date;
789
+ endDate: Date;
790
+ activityTimes: ActivityTimesDto[];
791
+ blockedDated?: blockedDatesDto[];
792
+ subSeasons?: SubSeasonBasicInfo[];
793
+ }
794
+ export declare class SubSeasonBasicInfo {
795
+ name: string;
796
+ startDate: Date;
797
+ endDate: Date;
798
+ activityTimes?: ActivityTimesDto[];
799
+ }
800
+ export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
801
+ seasonId: number;
802
+ }
803
+ export declare class UpdateProgramSeasonStatusDto {
804
+ seasonId: number;
805
+ status: PublishingStatusEnum;
806
+ }
807
+ export declare class blockedDatesDto {
808
+ name: string;
809
+ startDate: Date;
810
+ endDate: Date;
811
+ }
812
+ export declare class ActivityTimesDto {
813
+ dayOfWeek: number;
814
+ open: string;
815
+ close: string;
816
+ }
817
+ export declare class ShallowUpdateProgramSeasonDto {
818
+ seasonId: number;
819
+ name: string;
820
+ description?: string;
821
+ questionnaires?: number[];
822
+ maxParticipants?: number;
823
+ maxMaleParticipants?: number;
824
+ maxFemaleParticipants?: number;
825
+ maxWaitlist?: number;
826
+ maxMaleWaitlist?: number;
827
+ maxFemaleWaitlist?: number;
828
+ facilityId?: number;
829
+ addressId?: number;
830
+ sport?: SportsEnum;
831
+ minAge?: string;
832
+ maxAge?: string;
833
+ gender?: GenderEnum;
834
+ level?: LevelOfPlayEnum[];
835
+ requiredProductIds?: number[];
836
+ subSeasons?: ShallowUpdateSubSeasonDto[];
837
+ }
838
+ export declare class ShallowUpdateSubSeasonDto {
839
+ id: number;
840
+ name: string;
841
+ }
842
+ export declare class SpaceResourcePairDto {
843
+ resourceType: ResourceNameTypeEnum;
844
+ resourceId: number;
845
+ spacesIds: number[];
846
+ publicNotes?: string;
847
+ privateNotes?: string;
848
+ minutesBeforeSlot?: number;
849
+ minutesAfterSlot?: number;
850
+ }
851
+ export declare class BulkSpaceResourceAllocationDto {
852
+ spaceResourcePairs: SpaceResourcePairDto[];
853
+ organizationId: number;
854
+ }
855
+ export declare class SingleSpaceAllocationByTimesDto {
856
+ date: string;
857
+ startTime: string;
858
+ endTime: string;
859
+ spaceId: number;
860
+ publicNotes?: string;
861
+ slotType?: SlotTypeEnum;
862
+ }
863
+ export declare class SpaceAllocationsByTimesDto {
864
+ spaceAllocations: SingleSpaceAllocationByTimesDto[];
865
+ }
866
+ export declare class UpdateSeasonDatesDto {
867
+ startDate: Date;
868
+ endDate: Date;
869
+ }
870
+ export declare class MoveAttendeeDto {
871
+ userId: number;
872
+ resourceType: ResourceNameTypeEnum;
873
+ fromResourceIds: number[];
874
+ toResourceIds: number[];
875
+ }
876
+ export declare class UpdateSeasonRegistrationDatesDto {
877
+ registrationPeriods: UpdateSeasonDatesDto[];
878
+ }
879
+ export declare class RegistrationDatesDto {
880
+ registrationStartDate: Date;
881
+ registrationEndDate: Date;
882
+ earlyRegistrationStartDate?: Date;
883
+ earlyRegistrationEndDate?: Date;
884
+ lateRegistrationStartDate?: Date;
885
+ lateRegistrationEndDate?: Date;
886
+ }
887
+ export declare class RegistrationSettingsDto extends RegistrationDatesDto {
888
+ closeRegistrationPeriodValue?: number;
889
+ closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
890
+ closeRegistrationSpecTime?: string;
891
+ openRegistrationPeriodValue?: number;
892
+ openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
893
+ openRegistrationSpecTime?: string;
894
+ productsIdsToUpdate?: number[];
895
+ }
896
+ export declare class MoveParticipantDto {
897
+ userId: number;
898
+ oldProductId: number;
899
+ newProductId: number;
900
+ moveType: 'session' | 'segment';
901
+ resourceId: number;
902
+ orderId: number;
903
+ }
904
+ export declare class CreateResourceGroupDto {
905
+ name: string;
906
+ parentSlotId: number;
907
+ facilityId: number;
908
+ childrenSlotIds: number[];
909
+ }
910
+ export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
911
+ }
912
+ export declare class PurchasePaymentDto {
913
+ token: string;
914
+ type: PaymentMethodTypeEnum;
915
+ }
916
+ export declare class ChargeRentalsReuqestDto {
917
+ organizationId: number;
918
+ userId?: number;
919
+ customerId?: number;
920
+ orderId: number;
921
+ paymentData: PurchasePaymentDto;
922
+ amountToPay: number;
923
+ total: number;
924
+ platform: PlatformsEnum;
925
+ shiftId?: number;
926
+ }
927
+ export declare class PurchaseRequestDto {
928
+ purchasingUserId: number;
929
+ customerId?: number;
930
+ products: PurchaseProductDto[];
931
+ paymentData: PurchasePaymentDto;
932
+ answers: UserAnswersDto[];
933
+ amountToPay: number;
934
+ parentPurchasedType?: ResourceNameTypeEnum;
935
+ parentPurchasedId?: number;
936
+ isPartialPayment: boolean;
937
+ existingOrderToken?: string;
938
+ installments?: ScheduledPaymentDto[];
939
+ shiftId?: number;
940
+ orderId?: number;
941
+ }
942
+ export declare class PurchaseResourceDto extends ResourceDto {
943
+ }
944
+ export declare class PurchaseProductDto {
945
+ id: number;
946
+ resources?: PurchaseResourceDto[];
947
+ userId?: number;
948
+ paymentStatus?: PaymentStatusEnum;
949
+ amountToPay?: number;
950
+ ordinal?: number;
951
+ startDate?: Date;
952
+ quantity?: number;
953
+ }
954
+ export declare class PartialPaymentRequestDto {
955
+ orderId: number;
956
+ amountToPay: number;
957
+ organizationId: number;
958
+ payingUserId: number;
959
+ paymentMethodData: PurchasePaymentDto;
960
+ shiftId?: number;
961
+ }
962
+ export declare class RedeemPunchCardRequestDto {
963
+ products: PurchaseProductDto[];
964
+ answersTitlesIds: number[];
965
+ organizationId: number;
966
+ purchasingUserId: number;
967
+ }
968
+ export declare class OrderIdDto extends ByOrganizationIdDto {
969
+ orderId: number;
970
+ }
971
+ export declare class AddItemsDto {
972
+ products: PurchaseProductDto[];
973
+ allocateResource: boolean;
974
+ skipMail: boolean;
975
+ }
976
+ export declare class PartialPaymentAsUserDto {
977
+ orderId: any;
978
+ organizationId: any;
979
+ amountToPay: any;
980
+ paymentMethodData: any;
981
+ }
982
+ export declare class ResourceDto {
983
+ type: ResourceNameTypeEnum;
984
+ id: number;
985
+ }
986
+ export declare class SpaceByIdDto {
987
+ spaceId: number;
988
+ }
989
+ export declare class CreateSpaceDto {
990
+ name: string;
991
+ sports: number[];
992
+ description?: string;
993
+ longDescription?: string;
994
+ spaceType: ResourceSubTypeEnum;
995
+ isAddon?: boolean;
996
+ properties: SpacePropertiesEnum;
997
+ width?: number;
998
+ length?: number;
999
+ surface?: SurfacesEnum;
1000
+ ages?: ResourceAgesEnum;
1001
+ amenities: number[];
1002
+ activityTimes: BasicActivityTimesDto[];
1003
+ facilitiesIds: number[];
1004
+ resourceGroupId?: number;
1005
+ blockedResourcesIds?: number[];
1006
+ }
1007
+ export declare class UpdateSpaceDetailsDto {
1008
+ name: string;
1009
+ description?: string;
1010
+ longDescription?: string;
1011
+ isAddon?: boolean;
1012
+ facilitiesIds: number[];
1013
+ }
1014
+ export declare class UpdateSpacePropertiesDto {
1015
+ properties: SpacePropertiesEnum;
1016
+ width?: number;
1017
+ length?: number;
1018
+ surface?: SurfacesEnum;
1019
+ ages?: ResourceAgesEnum;
1020
+ }
1021
+ export declare class UpdateSpaceTimesDto {
1022
+ activityTimes: BasicActivityTimesDto[];
1023
+ }
1024
+ export declare class UpdateSpaceRelationshipsDto {
1025
+ resourceGroupId?: number;
1026
+ blockedResourcesIds?: number[];
1027
+ }
1028
+ export declare class SaveSpaceDependenciesDto {
1029
+ blockedSpacesIds: number[];
1030
+ parentSpaceId?: number;
1031
+ }
1032
+ export declare class FacilitySlotsScheduleQueryParams {
1033
+ spacesIds?: string;
1034
+ futureHoursLimit?: number;
788
1035
  }
789
1036
  export declare class FindResourcesOptionsDto extends PaginationQuery {
790
1037
  nameSearch?: string;
@@ -792,6 +1039,31 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
792
1039
  types?: string;
793
1040
  resourcesIds?: string;
794
1041
  }
1042
+ export declare class CreateUpdateVariantsDto {
1043
+ organizationId: number;
1044
+ parentProductId: number;
1045
+ variantTitles: VariantTitleDto[];
1046
+ variants: VariantDto[];
1047
+ }
1048
+ export declare class VariantTitleDto {
1049
+ titleName: string;
1050
+ titleId: number;
1051
+ }
1052
+ export declare class VariantDto {
1053
+ name: string;
1054
+ price: number;
1055
+ variantId: number;
1056
+ currency: CurrencyEnum;
1057
+ startDate: Date;
1058
+ endDate: Date;
1059
+ }
1060
+ export declare class StripeCustomerIdDto {
1061
+ userId: number;
1062
+ }
1063
+ export declare class AddACHTokenToCustomerDto {
1064
+ publicToken: string;
1065
+ accountId: string;
1066
+ }
795
1067
  export declare class FindByUserIdDto {
796
1068
  userId: number;
797
1069
  }
@@ -801,6 +1073,19 @@ export declare class FindByFamilyAccountIdDto {
801
1073
  export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
802
1074
  organizationId: number;
803
1075
  }
1076
+ export declare class ActivityTimes extends BondBaseEntity {
1077
+ parentType: ResourceNameTypeEnum | ProductTypesEnum;
1078
+ parentId: number;
1079
+ dayOfWeek: number;
1080
+ open: string;
1081
+ close: string;
1082
+ deletedAt?: Date;
1083
+ program: ProgramSeason;
1084
+ availabilityStartDate: string;
1085
+ availabilityEndDate: string;
1086
+ proudct: Product;
1087
+ event: Event;
1088
+ }
804
1089
  export declare class ActivityLogRecord extends BondBaseEntity {
805
1090
  entityType: ResourceNameTypeEnum;
806
1091
  entityId: number;
@@ -814,6 +1099,17 @@ export declare class ActivityLogRecord extends BondBaseEntity {
814
1099
  oldValue?: any;
815
1100
  newValue?: any;
816
1101
  }
1102
+ export declare class Address extends BondBaseEntity {
1103
+ city?: string;
1104
+ street?: string;
1105
+ streetNum?: string;
1106
+ aptNum?: string;
1107
+ zip?: string;
1108
+ country?: string;
1109
+ state?: string;
1110
+ geo: any;
1111
+ deletedAt?: Date;
1112
+ }
817
1113
  export declare class Answer extends OrganizationConnectionBaseEntity {
818
1114
  questionId: number;
819
1115
  question?: Questions;
@@ -827,6 +1123,12 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
827
1123
  metaData: any | null;
828
1124
  questionText: string | null;
829
1125
  }
1126
+ export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
1127
+ questionnaireId: number;
1128
+ userId?: number;
1129
+ answers: Answer[];
1130
+ questionnaire: Questionnaires;
1131
+ }
830
1132
  export declare class AthleteSports extends BondBaseEntity {
831
1133
  athleteId: number | null;
832
1134
  sports: number | null;
@@ -840,6 +1142,11 @@ export declare class BlockedDate extends BondBaseEntity {
840
1142
  endDate: Date;
841
1143
  deletedAt?: Date;
842
1144
  }
1145
+ export declare class Athlete extends BondBaseEntity {
1146
+ userId: number | null;
1147
+ metadata: object | null;
1148
+ athleteSports: AthleteSports[];
1149
+ }
843
1150
  export declare class BondBaseEntity extends BaseEntity {
844
1151
  id: number;
845
1152
  createdAt: Date;
@@ -863,11 +1170,6 @@ export declare class BookedSessions extends BondBaseEntity {
863
1170
  publicNotes?: string;
864
1171
  slotType?: SlotTypeEnum;
865
1172
  }
866
- export declare class Athlete extends BondBaseEntity {
867
- userId: number | null;
868
- metadata: object | null;
869
- athleteSports: AthleteSports[];
870
- }
871
1173
  export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
872
1174
  parentId: number;
873
1175
  parentType: ResourceNameTypeEnum;
@@ -878,28 +1180,6 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
878
1180
  endTimeInDay: string;
879
1181
  directBookingFor: DirectBookingTypesEnum;
880
1182
  }
881
- export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
882
- questionnaireId: number;
883
- userId?: number;
884
- answers: Answer[];
885
- questionnaire: Questionnaires;
886
- }
887
- export declare class Configuration extends BondBaseEntity {
888
- area: string;
889
- key: string;
890
- value: string;
891
- }
892
- export declare class Address extends BondBaseEntity {
893
- city?: string;
894
- street?: string;
895
- streetNum?: string;
896
- aptNum?: string;
897
- zip?: string;
898
- country?: string;
899
- state?: string;
900
- geo: any;
901
- deletedAt?: Date;
902
- }
903
1183
  export declare class Connection extends BondBaseEntity {
904
1184
  connType: number | null;
905
1185
  from: number | null;
@@ -920,13 +1200,10 @@ export declare class CreditNote extends OrganizationConnectionBaseEntity {
920
1200
  orderId: number;
921
1201
  creditPaymentInvoiceId: number;
922
1202
  }
923
- export declare class Division extends BondBaseEntity {
924
- name: string;
925
- ordinal?: number;
926
- programSeasonId: number;
927
- color: string;
928
- isDefault: boolean;
929
- groups: Group[];
1203
+ export declare class Configuration extends BondBaseEntity {
1204
+ area: string;
1205
+ key: string;
1206
+ value: string;
930
1207
  }
931
1208
  export declare class Customer extends OrganizationConnectionBaseEntity {
932
1209
  name: string | null;
@@ -956,11 +1233,17 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
956
1233
  mainMedia: Media;
957
1234
  reservations?: Reservation[];
958
1235
  }
959
- export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
1236
+ export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
960
1237
  customerId: number;
961
- name: string | null;
962
- phoneNumber: string | null;
1238
+ userId: number;
1239
+ amount: number;
1240
+ invoiceId?: number;
1241
+ orderId?: number;
1242
+ description?: string;
1243
+ deletedAt?: Date;
963
1244
  customer: Customer;
1245
+ order: Order;
1246
+ invoice: Invoice;
964
1247
  }
965
1248
  export declare class CustomerNote extends OrganizationConnectionBaseEntity {
966
1249
  customerId?: number;
@@ -968,6 +1251,20 @@ export declare class CustomerNote extends OrganizationConnectionBaseEntity {
968
1251
  pinToTop?: boolean;
969
1252
  customer: Customer;
970
1253
  }
1254
+ export declare class Division extends BondBaseEntity {
1255
+ name: string;
1256
+ ordinal?: number;
1257
+ programSeasonId: number;
1258
+ color: string;
1259
+ isDefault: boolean;
1260
+ groups: Group[];
1261
+ }
1262
+ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
1263
+ customerId: number;
1264
+ name: string | null;
1265
+ phoneNumber: string | null;
1266
+ customer: Customer;
1267
+ }
971
1268
  export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
972
1269
  groupId: number;
973
1270
  terms: IEntitlementTerms[];
@@ -990,30 +1287,6 @@ export declare class EventAttendee extends BondBaseEntity {
990
1287
  event: Event;
991
1288
  purchasedResource: PurchasedResource;
992
1289
  }
993
- export declare class Facility extends OrganizationConnectionBaseEntity {
994
- name: string;
995
- description?: string;
996
- addressId: number;
997
- address: Address;
998
- amenities?: number[];
999
- timezone: string;
1000
- creatorId: number;
1001
- creatorType: string;
1002
- userCreatorId: number;
1003
- mainMediaId: number;
1004
- mainMedia: Media;
1005
- publishedDate?: Date;
1006
- isPublished: boolean;
1007
- sports?: number[];
1008
- info?: string;
1009
- longDescription?: string;
1010
- deletedAt?: Date;
1011
- openingTimes: OpeningTime[];
1012
- resources: Resource[];
1013
- spaces: Resource[];
1014
- programSeasons: ProgramSeason[];
1015
- linkSEO: string;
1016
- }
1017
1290
  export declare class Event extends OrganizationConnectionBaseEntity {
1018
1291
  constructor();
1019
1292
  defineCalculatedDateTimeProps(): void;
@@ -1069,21 +1342,50 @@ export declare class Event extends OrganizationConnectionBaseEntity {
1069
1342
  slots: Slot[];
1070
1343
  purchasedResources: PurchasedResource[];
1071
1344
  }
1345
+ export declare class Facility extends OrganizationConnectionBaseEntity {
1346
+ name: string;
1347
+ description?: string;
1348
+ addressId: number;
1349
+ address: Address;
1350
+ amenities?: number[];
1351
+ timezone: string;
1352
+ creatorId: number;
1353
+ creatorType: string;
1354
+ userCreatorId: number;
1355
+ mainMediaId: number;
1356
+ mainMedia: Media;
1357
+ publishedDate?: Date;
1358
+ isPublished: boolean;
1359
+ sports?: number[];
1360
+ info?: string;
1361
+ longDescription?: string;
1362
+ deletedAt?: Date;
1363
+ openingTimes: OpeningTime[];
1364
+ resources: Resource[];
1365
+ spaces: Resource[];
1366
+ programSeasons: ProgramSeason[];
1367
+ linkSEO: string;
1368
+ }
1072
1369
  export declare class FamilyAccount extends BondBaseEntity {
1073
1370
  name: string | null;
1074
1371
  userInFamilyAccounts: UserInFamilyAccount[];
1075
1372
  }
1076
- export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
1077
- customerId: number;
1373
+ export declare class FacilityToResource extends BondBaseEntity {
1374
+ facilityId: number;
1375
+ resourceId: number;
1376
+ }
1377
+ export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
1078
1378
  userId: number;
1079
- amount: number;
1080
- invoiceId?: number;
1081
- orderId?: number;
1082
- description?: string;
1083
- deletedAt?: Date;
1084
- customer: Customer;
1085
- order: Order;
1086
- invoice: Invoice;
1379
+ orderId: number;
1380
+ paymentMethodId: string;
1381
+ paymentType: PaymentMethodTypeEnum;
1382
+ price: number;
1383
+ status: FutureInstallmentStatusEnum;
1384
+ plannedDate: Date;
1385
+ chargedAt?: Date;
1386
+ }
1387
+ export declare class GlCodes extends OrganizationConnectionBaseEntity {
1388
+ code: string;
1087
1389
  }
1088
1390
  export declare class Group extends BondBaseEntity {
1089
1391
  name: string;
@@ -1101,6 +1403,11 @@ export declare class Group extends BondBaseEntity {
1101
1403
  members: ISeasonAttendeeInfo[];
1102
1404
  users: User[];
1103
1405
  }
1406
+ export declare class GroupsInDivisions extends BondBaseEntity {
1407
+ groupId: number;
1408
+ divisionId: number;
1409
+ deletedAt?: Date;
1410
+ }
1104
1411
  export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
1105
1412
  groupId: number;
1106
1413
  itemId: number;
@@ -1141,10 +1448,15 @@ export declare class Invoice extends OrganizationConnectionBaseEntity {
1141
1448
  refundReasonId?: number;
1142
1449
  refundNote?: string;
1143
1450
  }
1144
- export declare class GroupsInDivisions extends BondBaseEntity {
1145
- groupId: number;
1146
- divisionId: number;
1147
- deletedAt?: Date;
1451
+ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1452
+ email: string;
1453
+ status: EEmailStatus;
1454
+ templateId: string;
1455
+ userId: number;
1456
+ invoiceId: number;
1457
+ sendingUserId: number;
1458
+ mailParams?: any;
1459
+ memo?: string;
1148
1460
  }
1149
1461
  export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1150
1462
  content: string;
@@ -1155,107 +1467,6 @@ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1155
1467
  invoiceId: number;
1156
1468
  invoice: Invoice;
1157
1469
  }
1158
- export declare class FindEventByIdDto {
1159
- eventId: number;
1160
- organizationId: number;
1161
- }
1162
- export declare class UpdateEventDto {
1163
- name: string;
1164
- startDate: string;
1165
- endDate: string;
1166
- startTime: string;
1167
- endTime: string;
1168
- spacesIds?: number[];
1169
- publicNotes?: string;
1170
- privateNotes?: string;
1171
- isInformAttendees?: boolean;
1172
- minutesBeforeSlot?: number;
1173
- minutesAfterSlot?: number;
1174
- }
1175
- export declare class AddEventToSessionDto {
1176
- eventsData: UpdateEventDto[];
1177
- }
1178
- export declare class EventsIdsQueryDto {
1179
- eventsIds: string;
1180
- }
1181
- export declare class UpdateMultipleEventsDto {
1182
- eventsIds: number[];
1183
- name?: string;
1184
- startTime?: string;
1185
- endTime?: string;
1186
- spacesIds?: number[];
1187
- publicNotes?: string;
1188
- privateNotes?: string;
1189
- isInformAttendees?: boolean;
1190
- minutesBeforeSlot?: number;
1191
- minutesAfterSlot?: number;
1192
- }
1193
- export declare class FindByFacilityIdDto {
1194
- facilityId: number;
1195
- }
1196
- export declare class FindByFacilityIdAndOrganizationIdDto extends FindByFacilityIdDto {
1197
- organizationId: number;
1198
- }
1199
- export declare class FacilityEventsScheduleQueryParams {
1200
- programsIds?: string;
1201
- startDate?: string;
1202
- endDate?: string;
1203
- }
1204
- export declare class ProgramLandingPageDto {
1205
- programId: number;
1206
- }
1207
- export declare class ProgramLandingPageQueryDto {
1208
- futureLimit?: number;
1209
- }
1210
- export declare class ProgramSessionLandingPageDto {
1211
- programId: number;
1212
- sessionId: number;
1213
- }
1214
- export interface IEventOfSessionDetails {
1215
- id: number;
1216
- name: string;
1217
- programId: number;
1218
- programType: ProgramTypesEnum;
1219
- sessionId: number;
1220
- sessionName: string;
1221
- isPublic: boolean;
1222
- startDate: Date;
1223
- endDate: Date;
1224
- startTime: string;
1225
- endTime: string;
1226
- resources: IBasicSpaceAndSlotCreator[];
1227
- attenedanceCount: number;
1228
- checkedInCount: number;
1229
- missingPaymentCount: number;
1230
- publicNotes: string;
1231
- privateNotes: string;
1232
- }
1233
- export interface IAttendeeOfEvent {
1234
- eventId: number;
1235
- userId: number;
1236
- lastName: string;
1237
- firstName: string;
1238
- birthDate: string;
1239
- mediaURL: string;
1240
- signedWaiver: string;
1241
- entryStatus: EntryStatusEnum;
1242
- paymentStatus: PaymentStatusEnum;
1243
- addOns: {
1244
- productId: number;
1245
- productName: string;
1246
- }[];
1247
- totalPasses?: number;
1248
- leftPasses?: number;
1249
- addonProductUserIds: number[];
1250
- }
1251
- export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
1252
- nameSearch?: string;
1253
- isCheckedIn?: string;
1254
- isNotCheckedIn?: string;
1255
- hasAddons?: string;
1256
- isWaiverSigned?: string;
1257
- statuses?: string;
1258
- }
1259
1470
  export declare class League extends OrganizationConnectionBaseEntity {
1260
1471
  name: string | null;
1261
1472
  description: string | null;
@@ -1282,71 +1493,6 @@ export declare class League extends OrganizationConnectionBaseEntity {
1282
1493
  logo?: Media;
1283
1494
  seasons: LeagueSeason[];
1284
1495
  }
1285
- export declare class LineItems extends BondBaseEntity {
1286
- constructor();
1287
- defineIsReverted(): void;
1288
- isReverted: boolean;
1289
- orderId: number;
1290
- order: Order;
1291
- lineItemsHistory: LineItemHistory[];
1292
- type: LineItemsStatusEnum | null;
1293
- userId: number | null;
1294
- productId: number;
1295
- paymentProcessorId: string;
1296
- productType: ProductTypesEnum;
1297
- productUserId?: number;
1298
- ordinal: number | null;
1299
- entitlementGroupId?: number;
1300
- entitlementGroups: EntitlementGroup;
1301
- price: number;
1302
- originalPrice?: number;
1303
- paidAmount?: number;
1304
- totalPaid?: number;
1305
- totalQuantity?: number;
1306
- totalPrice?: number;
1307
- currency: CurrencyEnum;
1308
- paymentStatus: PaymentStatusEnum;
1309
- productSubType?: ProductSubTypesEnum;
1310
- product: Product;
1311
- organizationId: number;
1312
- parentLineItemId?: number;
1313
- taxLineItem?: LineItems;
1314
- children?: LineItems[];
1315
- previousPurchaseProducUserId?: number;
1316
- discountDescription?: string;
1317
- productUser?: ProductsUsers;
1318
- resourceRedeemedForDiscount?: number;
1319
- redeemableProduct: Product[];
1320
- isRefunded: boolean;
1321
- isPartiallyRefund: boolean;
1322
- isVoided: boolean;
1323
- isPartiallyVoided: boolean;
1324
- wasReverted: boolean;
1325
- isEdit: boolean;
1326
- purchasedResources: PurchasedResource[];
1327
- isTaxInclusive?: boolean;
1328
- taxPrecent?: number;
1329
- unitPrice?: number;
1330
- quantity?: number;
1331
- customerFirstName?: string;
1332
- customerLastName?: string;
1333
- displayFullPrice?: number;
1334
- displayTotalPriceWithTax?: number;
1335
- displayTotalPaid?: number;
1336
- displayTotalQuantity?: number;
1337
- displayUnitPrice?: number;
1338
- displayQuantity?: number;
1339
- }
1340
- export declare class LineItemHistory extends BondBaseEntity {
1341
- orderId: number;
1342
- invoiceId: number;
1343
- lineItemId: number;
1344
- paidAmount: number;
1345
- unitPaidAmount: number;
1346
- currency: CurrencyEnum;
1347
- invoice: Invoice;
1348
- lineItem: LineItems;
1349
- }
1350
1496
  export declare class LeagueSeason extends BondBaseEntity {
1351
1497
  leagueId: number | null;
1352
1498
  name: string | null;
@@ -1391,6 +1537,70 @@ export declare class LeagueSeasonRelations {
1391
1537
  league?: boolean;
1392
1538
  facilities?: boolean;
1393
1539
  }
1540
+ export declare class LineItemHistory extends BondBaseEntity {
1541
+ orderId: number;
1542
+ invoiceId: number;
1543
+ lineItemId: number;
1544
+ paidAmount: number;
1545
+ unitPaidAmount: number;
1546
+ currency: CurrencyEnum;
1547
+ invoice: Invoice;
1548
+ lineItem: LineItems;
1549
+ }
1550
+ export declare class LineItems extends BondBaseEntity {
1551
+ constructor();
1552
+ defineIsReverted(): void;
1553
+ isReverted: boolean;
1554
+ orderId: number;
1555
+ order: Order;
1556
+ lineItemsHistory: LineItemHistory[];
1557
+ type: LineItemsStatusEnum | null;
1558
+ userId: number | null;
1559
+ productId: number;
1560
+ paymentProcessorId: string;
1561
+ productType: ProductTypesEnum;
1562
+ productUserId?: number;
1563
+ ordinal: number | null;
1564
+ entitlementGroupId?: number;
1565
+ price: number;
1566
+ originalPrice?: number;
1567
+ paidAmount?: number;
1568
+ totalPaid?: number;
1569
+ totalQuantity?: number;
1570
+ totalPrice?: number;
1571
+ currency: CurrencyEnum;
1572
+ paymentStatus: PaymentStatusEnum;
1573
+ productSubType?: ProductSubTypesEnum;
1574
+ product: Product;
1575
+ organizationId: number;
1576
+ parentLineItemId?: number;
1577
+ taxLineItem?: LineItems;
1578
+ children?: LineItems[];
1579
+ previousPurchaseProducUserId?: number;
1580
+ discountDescription?: string;
1581
+ productUser?: ProductsUsers;
1582
+ resourceRedeemedForDiscount?: number;
1583
+ redeemableProduct: Product[];
1584
+ isRefunded: boolean;
1585
+ isPartiallyRefund: boolean;
1586
+ isVoided: boolean;
1587
+ isPartiallyVoided: boolean;
1588
+ wasReverted: boolean;
1589
+ isEdit: boolean;
1590
+ purchasedResources: PurchasedResource[];
1591
+ isTaxInclusive?: boolean;
1592
+ taxPrecent?: number;
1593
+ unitPrice?: number;
1594
+ quantity?: number;
1595
+ customerFirstName?: string;
1596
+ customerLastName?: string;
1597
+ displayFullPrice?: number;
1598
+ displayTotalPriceWithTax?: number;
1599
+ displayTotalPaid?: number;
1600
+ displayTotalQuantity?: number;
1601
+ displayUnitPrice?: number;
1602
+ displayQuantity?: number;
1603
+ }
1394
1604
  export declare class LinkedAccounts extends BondBaseEntity {
1395
1605
  id: number;
1396
1606
  provider: string;
@@ -1407,34 +1617,6 @@ export declare class LinkedAccounts extends BondBaseEntity {
1407
1617
  user: User;
1408
1618
  userId: number | null;
1409
1619
  }
1410
- export declare class Membership extends OrganizationConnectionBaseEntity {
1411
- name: string;
1412
- description?: string;
1413
- mainMedia?: Media;
1414
- customerTypes: CustomerInMembershipTypeEnum[];
1415
- activity?: SportsEnum;
1416
- facilityId?: number;
1417
- facilityName?: string;
1418
- questionnaires?: number[];
1419
- minAgeYears?: number;
1420
- maxAgeYears?: number;
1421
- gender: GenderEnum;
1422
- maxMembers?: number;
1423
- maxMaleMembers?: number;
1424
- maxFemaleMembers?: number;
1425
- membershipType: MembershipTypeEnum;
1426
- durationMonths?: number;
1427
- startDate?: string;
1428
- endDate?: string;
1429
- registrationStartDate?: Date;
1430
- registrationEndDate?: Date;
1431
- package?: IPackageResponse;
1432
- tags: any[];
1433
- members: MembershipMember[];
1434
- longDescription?: string;
1435
- isAutoRenew?: boolean;
1436
- purchasedResources: PurchasedResource[];
1437
- }
1438
1620
  export declare class Media extends BondBaseEntity {
1439
1621
  url: string;
1440
1622
  name: string | null;
@@ -1454,236 +1636,59 @@ export declare class Media extends BondBaseEntity {
1454
1636
  programs: Program[];
1455
1637
  memberships: Membership[];
1456
1638
  }
1457
- export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
1458
- email: string | null;
1459
- notificationType: NotificationTypeEnum | null;
1460
- resourceId: number | null;
1461
- resourceType: string | null;
1462
- }
1463
- export declare class Order extends BondBaseEntity {
1464
- orderId: string | null;
1465
- price: number | null;
1466
- status: OrderStatusEnum | null;
1467
- sentForClientDate: Date | null;
1468
- payingUserId?: number | null;
1469
- orderToInvoices: OrderToInvoice[];
1470
- lineItems: LineItems[];
1471
- lineItemHistory: LineItemHistory[];
1472
- paymentStatus: PaymentStatusEnum;
1473
- paymentMethodId?: string;
1474
- paymentType?: PaymentMethodTypeEnum;
1475
- paidAmount: number;
1476
- currency: CurrencyEnum;
1477
- mainInvoiceId: number;
1478
- isScheduled: boolean;
1479
- isRefunded: boolean;
1480
- isVoided: boolean;
1481
- creatingUserId: number;
1482
- shiftId: number;
1483
- platform: PlatformsEnum;
1484
- orderNotes: OrderNote[];
1485
- slots: Slot[];
1486
- }
1487
- export declare class OrderNote extends OrganizationConnectionBaseEntity {
1488
- content: string;
1489
- creatingUserId: number;
1490
- user: User;
1491
- isPublic: boolean;
1492
- deletedAt: Date;
1493
- orderId: number;
1494
- order: Order;
1495
- }
1496
- export declare class FindProgramSeasonsByProgramIdDto {
1497
- programId: number;
1498
- }
1499
- export declare class FindSessionsFiltersDto {
1500
- status?: PublishingStatusEnum;
1501
- isFullFetch?: boolean;
1502
- }
1503
- export declare class FindSessionsByProgramAndOrganizationDto extends FindProgramSeasonsByProgramIdDto {
1504
- organizationId: number;
1505
- }
1506
- export declare class DeleteEventAttendeesDto {
1507
- eventAttendeeIds: string;
1508
- }
1509
- export declare class FindProgramSeasonByIdQueryDto {
1510
- includeResources?: boolean;
1511
- }
1512
- export declare class FindProgramSeasonByIdDto extends OptionalFindByOrganizationIdDto {
1513
- seasonId: number;
1514
- }
1515
- export declare class DeleteProgramSeasonByIDDto extends ByOrganizationIdDto {
1516
- seasonId: number;
1517
- }
1518
- export declare class DeleteProductDto {
1519
- deleteProduct?: boolean;
1520
- }
1521
- export declare class FindRegisteredUserDto extends FindProgramSeasonByIdDto {
1522
- userId: number;
1523
- }
1524
- export declare class FindRegisteredUsersOptionsDto extends PaginationQuery {
1525
- isFreeAgentsOnly?: boolean;
1526
- isPunchCardUsers?: boolean;
1527
- nameEmailSearch?: string;
1528
- }
1529
- export declare class BaseProgramSeasonDto {
1530
- programId: number;
1531
- name: string;
1532
- status: PublishingStatusEnum;
1533
- seasonType: ProgramSeasonTypesEnum;
1534
- startDate: Date;
1535
- endDate: Date;
1536
- description?: string;
1537
- GL?: string;
1538
- parentSeasonId?: number;
1539
- questionnaires?: number[];
1540
- maxParticipants?: number;
1541
- maxMaleParticipants?: number;
1542
- maxFemaleParticipants?: number;
1543
- maxWaitlist?: number;
1544
- maxMaleWaitlist?: number;
1545
- maxFemaleWaitlist?: number;
1546
- facilityId?: number;
1547
- addressId?: number;
1548
- blockedDated?: blockedDatesDto[];
1549
- activityTimes: ActivityTimesDto[];
1550
- longDescription?: string;
1551
- isPunchCard?: boolean;
1552
- organizationId: number;
1553
- sport: SportsEnum;
1554
- minAge: string;
1555
- maxAge: string;
1556
- gender: GenderEnum;
1557
- level?: LevelOfPlayEnum[];
1558
- requiredProductIds?: number[];
1559
- }
1560
- export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
1561
- subSeasons?: SubSeasonBasicInfo[];
1562
- }
1563
- export declare class CreateSessionScheduleDto {
1564
- startDate: Date;
1565
- endDate: Date;
1566
- activityTimes: ActivityTimesDto[];
1567
- blockedDated?: blockedDatesDto[];
1568
- subSeasons?: SubSeasonBasicInfo[];
1569
- }
1570
- export declare class SubSeasonBasicInfo {
1571
- name: string;
1572
- startDate: Date;
1573
- endDate: Date;
1574
- activityTimes?: ActivityTimesDto[];
1575
- }
1576
- export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
1577
- seasonId: number;
1578
- }
1579
- export declare class UpdateProgramSeasonStatusDto {
1580
- seasonId: number;
1581
- status: PublishingStatusEnum;
1582
- }
1583
- export declare class blockedDatesDto {
1584
- name: string;
1585
- startDate: Date;
1586
- endDate: Date;
1587
- }
1588
- export declare class ActivityTimesDto {
1589
- dayOfWeek: number;
1590
- open: string;
1591
- close: string;
1592
- }
1593
- export declare class ShallowUpdateProgramSeasonDto {
1594
- seasonId: number;
1595
- name: string;
1596
- description?: string;
1597
- questionnaires?: number[];
1598
- maxParticipants?: number;
1599
- maxMaleParticipants?: number;
1600
- maxFemaleParticipants?: number;
1601
- maxWaitlist?: number;
1602
- maxMaleWaitlist?: number;
1603
- maxFemaleWaitlist?: number;
1604
- facilityId?: number;
1605
- addressId?: number;
1606
- sport?: SportsEnum;
1607
- minAge?: string;
1608
- maxAge?: string;
1609
- gender?: GenderEnum;
1610
- level?: LevelOfPlayEnum[];
1611
- requiredProductIds?: number[];
1612
- subSeasons?: ShallowUpdateSubSeasonDto[];
1613
- }
1614
- export declare class ShallowUpdateSubSeasonDto {
1615
- id: number;
1639
+ export declare class Membership extends OrganizationConnectionBaseEntity {
1616
1640
  name: string;
1641
+ description?: string;
1642
+ mainMedia?: Media;
1643
+ customerTypes: CustomerInMembershipTypeEnum[];
1644
+ activity?: SportsEnum;
1645
+ facilityId?: number;
1646
+ facilityName?: string;
1647
+ questionnaires?: number[];
1648
+ minAgeYears?: number;
1649
+ maxAgeYears?: number;
1650
+ gender: GenderEnum;
1651
+ maxMembers?: number;
1652
+ maxMaleMembers?: number;
1653
+ maxFemaleMembers?: number;
1654
+ membershipType: MembershipTypeEnum;
1655
+ durationMonths?: number;
1656
+ startDate?: string;
1657
+ endDate?: string;
1658
+ registrationStartDate?: Date;
1659
+ registrationEndDate?: Date;
1660
+ package?: IPackageResponse;
1661
+ tags: any[];
1662
+ members: MembershipMember[];
1663
+ longDescription?: string;
1664
+ isAutoRenew?: boolean;
1665
+ purchasedResources: PurchasedResource[];
1617
1666
  }
1618
- export declare class SpaceResourcePairDto {
1619
- resourceType: ResourceNameTypeEnum;
1620
- resourceId: number;
1621
- spacesIds: number[];
1622
- publicNotes?: string;
1623
- privateNotes?: string;
1624
- minutesBeforeSlot?: number;
1625
- minutesAfterSlot?: number;
1626
- }
1627
- export declare class BulkSpaceResourceAllocationDto {
1628
- spaceResourcePairs: SpaceResourcePairDto[];
1629
- organizationId: number;
1630
- }
1631
- export declare class SingleSpaceAllocationByTimesDto {
1632
- date: string;
1633
- startTime: string;
1634
- endTime: string;
1635
- spaceId: number;
1636
- publicNotes?: string;
1637
- slotType?: SlotTypeEnum;
1638
- }
1639
- export declare class SpaceAllocationsByTimesDto {
1640
- spaceAllocations: SingleSpaceAllocationByTimesDto[];
1641
- }
1642
- export declare class UpdateSeasonDatesDto {
1643
- startDate: Date;
1644
- endDate: Date;
1645
- }
1646
- export declare class MoveAttendeeDto {
1647
- userId: number;
1648
- resourceType: ResourceNameTypeEnum;
1649
- fromResourceIds: number[];
1650
- toResourceIds: number[];
1651
- }
1652
- export declare class UpdateSeasonRegistrationDatesDto {
1653
- registrationPeriods: UpdateSeasonDatesDto[];
1654
- }
1655
- export declare class RegistrationDatesDto {
1656
- registrationStartDate: Date;
1657
- registrationEndDate: Date;
1658
- earlyRegistrationStartDate?: Date;
1659
- earlyRegistrationEndDate?: Date;
1660
- lateRegistrationStartDate?: Date;
1661
- lateRegistrationEndDate?: Date;
1662
- }
1663
- export declare class RegistrationSettingsDto extends RegistrationDatesDto {
1664
- closeRegistrationPeriodValue?: number;
1665
- closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
1666
- closeRegistrationSpecTime?: string;
1667
- openRegistrationPeriodValue?: number;
1668
- openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
1669
- openRegistrationSpecTime?: string;
1670
- productsIdsToUpdate?: number[];
1671
- }
1672
- export declare class MoveParticipantDto {
1667
+ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
1668
+ membership: Membership;
1669
+ membershipId: number;
1670
+ productUserId: number;
1671
+ productUser?: ProductsUsers;
1673
1672
  userId: number;
1674
- oldProductId: number;
1675
- newProductId: number;
1676
- moveType: 'session' | 'segment';
1677
- resourceId: number;
1678
- orderId: number;
1673
+ membershipType: MembershipTypeEnum;
1674
+ durationMonths?: number;
1675
+ startDate?: string;
1676
+ endDate?: string;
1677
+ renewalOfMemberId?: number;
1678
+ isAutoRenew?: boolean;
1679
+ nextPaymentMethodId?: string;
1680
+ nextPaymentType?: PaymentMethodTypeEnum;
1681
+ answerTitleIds?: number[];
1682
+ cancelledAt?: Date | null;
1683
+ cancellationReason?: string;
1684
+ cancellationStatus?: CancellationStatusEnum;
1685
+ isImported?: boolean;
1679
1686
  }
1680
- export declare class OrderToInvoice extends BondBaseEntity {
1681
- orderId: number;
1682
- invoiceId: number;
1683
- order: Order;
1684
- invoice: Invoice;
1685
- paidAmount?: number;
1686
- currency: CurrencyEnum;
1687
+ export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
1688
+ email: string | null;
1689
+ notificationType: NotificationTypeEnum | null;
1690
+ resourceId: number | null;
1691
+ resourceType: string | null;
1687
1692
  }
1688
1693
  export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1689
1694
  id: number;
@@ -1696,9 +1701,50 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1696
1701
  deletedAt?: Date;
1697
1702
  facility: Facility;
1698
1703
  }
1704
+ export declare class OrderNote extends OrganizationConnectionBaseEntity {
1705
+ content: string;
1706
+ creatingUserId: number;
1707
+ user: User;
1708
+ isPublic: boolean;
1709
+ deletedAt: Date;
1710
+ orderId: number;
1711
+ order: Order;
1712
+ }
1713
+ export declare class Order extends BondBaseEntity {
1714
+ orderId: string | null;
1715
+ price: number | null;
1716
+ status: OrderStatusEnum | null;
1717
+ sentForClientDate: Date | null;
1718
+ payingUserId?: number | null;
1719
+ orderToInvoices: OrderToInvoice[];
1720
+ lineItems: LineItems[];
1721
+ lineItemHistory: LineItemHistory[];
1722
+ paymentStatus: PaymentStatusEnum;
1723
+ paymentMethodId?: string;
1724
+ paymentType?: PaymentMethodTypeEnum;
1725
+ paidAmount: number;
1726
+ currency: CurrencyEnum;
1727
+ mainInvoiceId: number;
1728
+ isScheduled: boolean;
1729
+ isRefunded: boolean;
1730
+ isVoided: boolean;
1731
+ creatingUserId: number;
1732
+ shiftId: number;
1733
+ platform: PlatformsEnum;
1734
+ orderNotes: OrderNote[];
1735
+ slots: Slot[];
1736
+ }
1699
1737
  export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1700
1738
  organizationId: number;
1701
1739
  }
1740
+ export declare class OrderToInvoice extends BondBaseEntity {
1741
+ orderId: number;
1742
+ invoiceId: number;
1743
+ order: Order;
1744
+ invoice: Invoice;
1745
+ paidAmount?: number;
1746
+ currency: CurrencyEnum;
1747
+ }
1702
1748
  export declare class PackageV1 extends BondBaseEntity {
1703
1749
  name?: string;
1704
1750
  description?: string;
@@ -1722,8 +1768,45 @@ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntit
1722
1768
  deletedAt?: Date;
1723
1769
  paymentPlan: ProductPaymentPlan;
1724
1770
  }
1725
- export declare class GlCodes extends OrganizationConnectionBaseEntity {
1726
- code: string;
1771
+ export declare class PasswordReset extends BondBaseEntity {
1772
+ token: string | null;
1773
+ userId: number | null;
1774
+ validUntil: Date | null;
1775
+ active: boolean | null;
1776
+ }
1777
+ export declare class PaymentV1 extends BondBaseEntity {
1778
+ userId: number | null;
1779
+ ownerId: number | null;
1780
+ parentId: number | null;
1781
+ parentType: string | null;
1782
+ idAtProvider: string | null;
1783
+ providerType: number | null;
1784
+ providerExtraData: string | null;
1785
+ requestData: string | null;
1786
+ responseData: string | null;
1787
+ status: number | null;
1788
+ price: number | null;
1789
+ currency: string | null;
1790
+ locked: boolean | null;
1791
+ numberOfTries: number | null;
1792
+ installmentId: number | null;
1793
+ orderId: string | null;
1794
+ }
1795
+ export declare class Price extends OrganizationConnectionBaseEntity {
1796
+ productId: number;
1797
+ product: Product;
1798
+ name: string | null;
1799
+ price: number;
1800
+ currency: CurrencyEnum;
1801
+ paymentProcessorId: number | null;
1802
+ startDate: Date;
1803
+ endDate: Date;
1804
+ groupId?: number;
1805
+ groupName?: string;
1806
+ originalPrice?: number;
1807
+ deletedAt?: Date;
1808
+ discountMethod?: DiscountMethodsEnum;
1809
+ discountValue?: number;
1727
1810
  }
1728
1811
  export declare class Product extends OrganizationConnectionBaseEntity {
1729
1812
  name: string;
@@ -1775,29 +1858,20 @@ export declare class Product extends OrganizationConnectionBaseEntity {
1775
1858
  activityTimes: ActivityTimes[];
1776
1859
  purchasedResources: PurchasedResource[];
1777
1860
  }
1778
- export declare class PaymentV1 extends BondBaseEntity {
1779
- userId: number | null;
1780
- ownerId: number | null;
1781
- parentId: number | null;
1782
- parentType: string | null;
1783
- idAtProvider: string | null;
1784
- providerType: number | null;
1785
- providerExtraData: string | null;
1786
- requestData: string | null;
1787
- responseData: string | null;
1788
- status: number | null;
1789
- price: number | null;
1790
- currency: string | null;
1791
- locked: boolean | null;
1792
- numberOfTries: number | null;
1793
- installmentId: number | null;
1794
- orderId: string | null;
1795
- }
1796
- export declare class PasswordReset extends BondBaseEntity {
1797
- token: string | null;
1798
- userId: number | null;
1799
- validUntil: Date | null;
1800
- active: boolean | null;
1861
+ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1862
+ parentProductId: number;
1863
+ childProductId: number;
1864
+ relationType: PackageProductsRelationTypeEnum;
1865
+ timePeriod: AddonTimePeriodEnum;
1866
+ deletedAt?: Date;
1867
+ productResource: ProductResource;
1868
+ childProduct: Product;
1869
+ parentProduct: Product;
1870
+ price: number;
1871
+ isFlatPrice: boolean;
1872
+ durationMinutes?: number;
1873
+ durationDays?: number;
1874
+ level?: ProductPackageLevelEnum;
1801
1875
  }
1802
1876
  export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1803
1877
  productId: number;
@@ -1808,16 +1882,6 @@ export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity
1808
1882
  schedule: PaymentPlanSchedule[];
1809
1883
  product?: Product;
1810
1884
  }
1811
- export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1812
- email: string;
1813
- status: EEmailStatus;
1814
- templateId: string;
1815
- userId: number;
1816
- invoiceId: number;
1817
- sendingUserId: number;
1818
- mailParams?: any;
1819
- memo?: string;
1820
- }
1821
1885
  export declare class ProductResource extends OrganizationConnectionBaseEntity {
1822
1886
  productId: number;
1823
1887
  resourceId: number;
@@ -1829,50 +1893,13 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
1829
1893
  productPackages: ProductPackage[];
1830
1894
  resourceName?: string;
1831
1895
  }
1832
- export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1833
- productId: number;
1834
- variantId: number;
1835
- }
1836
- export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1837
- parentProductId: number;
1838
- childProductId: number;
1839
- relationType: PackageProductsRelationTypeEnum;
1840
- timePeriod: AddonTimePeriodEnum;
1841
- deletedAt?: Date;
1842
- productResource: ProductResource;
1843
- childProduct: Product;
1844
- parentProduct: Product;
1845
- price: number;
1846
- isFlatPrice: boolean;
1847
- durationMinutes?: number;
1848
- durationDays?: number;
1849
- level?: ProductPackageLevelEnum;
1850
- }
1851
1896
  export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
1852
1897
  productId: number;
1853
1898
  variantTitleId: number;
1854
1899
  }
1855
- export declare class Program extends BondBaseEntity {
1856
- type: ProgramTypesEnum;
1857
- name: string;
1858
- sport: SportsEnum;
1859
- minAge: string;
1860
- maxAge: string;
1861
- gender: GenderEnum;
1862
- level: LevelOfPlayEnum[] | null;
1863
- description: string | null;
1864
- GL?: string | null;
1865
- status: PublishingStatusEnum;
1866
- mainMedia: Media;
1867
- organizationId: number;
1868
- userCreatorId: number;
1869
- programHighlights: ProgramHighlights[];
1870
- linkSEO: string;
1871
- longDescription?: string;
1872
- requiredProductIds: number[] | null;
1873
- deletedAt?: Date;
1874
- programSeason: ProgramSeason[];
1875
- purchasedResources: PurchasedResource[];
1900
+ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1901
+ productId: number;
1902
+ variantId: number;
1876
1903
  }
1877
1904
  export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
1878
1905
  productId: number;
@@ -1881,10 +1908,6 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
1881
1908
  deletedAt?: Date;
1882
1909
  product: Product;
1883
1910
  }
1884
- export declare class FacilityToResource extends BondBaseEntity {
1885
- facilityId: number;
1886
- resourceId: number;
1887
- }
1888
1911
  export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
1889
1912
  productId: number;
1890
1913
  userId: number;
@@ -1897,10 +1920,32 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
1897
1920
  productPriceCurrency: CurrencyEnum;
1898
1921
  ordinal?: number;
1899
1922
  purchasedResources: PurchasedResource[];
1900
- product: Product;
1901
- lineItem: LineItems;
1902
- slots?: Slot[];
1903
- addons?: Addon[];
1923
+ product: Product;
1924
+ lineItem: LineItems;
1925
+ slots?: Slot[];
1926
+ addons?: Addon[];
1927
+ }
1928
+ export declare class Program extends BondBaseEntity {
1929
+ type: ProgramTypesEnum;
1930
+ name: string;
1931
+ sport: SportsEnum;
1932
+ minAge: string;
1933
+ maxAge: string;
1934
+ gender: GenderEnum;
1935
+ level: LevelOfPlayEnum[] | null;
1936
+ description: string | null;
1937
+ GL?: string | null;
1938
+ status: PublishingStatusEnum;
1939
+ mainMedia: Media;
1940
+ organizationId: number;
1941
+ userCreatorId: number;
1942
+ programHighlights: ProgramHighlights[];
1943
+ linkSEO: string;
1944
+ longDescription?: string;
1945
+ requiredProductIds: number[] | null;
1946
+ deletedAt?: Date;
1947
+ programSeason: ProgramSeason[];
1948
+ purchasedResources: PurchasedResource[];
1904
1949
  }
1905
1950
  export declare class ProgramHighlights extends BondBaseEntity {
1906
1951
  type: ProgramHighlightTypeEnum;
@@ -1910,44 +1955,6 @@ export declare class ProgramHighlights extends BondBaseEntity {
1910
1955
  program: Program;
1911
1956
  deletedAt?: Date;
1912
1957
  }
1913
- export declare class Price extends OrganizationConnectionBaseEntity {
1914
- productId: number;
1915
- product: Product;
1916
- name: string | null;
1917
- price: number;
1918
- currency: CurrencyEnum;
1919
- paymentProcessorId: number | null;
1920
- startDate: Date;
1921
- endDate: Date;
1922
- groupId?: number;
1923
- groupName?: string;
1924
- originalPrice?: number;
1925
- deletedAt?: Date;
1926
- discountMethod?: DiscountMethodsEnum;
1927
- discountValue?: number;
1928
- }
1929
- export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
1930
- productUserId: number;
1931
- resourceId: number;
1932
- resourceType: ResourceNameTypeEnum;
1933
- status: PurchasedResourceStatusEnum;
1934
- startDate?: string;
1935
- startTime?: string;
1936
- endDate?: string;
1937
- endTime?: string;
1938
- productUser?: ProductsUsers;
1939
- lineItem?: LineItems;
1940
- eventAttendee?: EventAttendee;
1941
- seasonAttendee?: SeasonAttendee;
1942
- leagueAttendee?: SeasonPool;
1943
- membership?: Membership;
1944
- program?: Program;
1945
- programSeason?: ProgramSeason;
1946
- leagueSeason?: LeagueSeason;
1947
- space?: Resource;
1948
- product?: Product;
1949
- event?: Event;
1950
- }
1951
1958
  export declare class ProgramSeason extends BondBaseEntity {
1952
1959
  programId: number;
1953
1960
  name: string;
@@ -2002,15 +2009,32 @@ export declare class ProgramSeason extends BondBaseEntity {
2002
2009
  facility: Facility;
2003
2010
  purchasedResources: PurchasedResource[];
2004
2011
  }
2012
+ export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
2013
+ productUserId: number;
2014
+ resourceId: number;
2015
+ resourceType: ResourceNameTypeEnum;
2016
+ status: PurchasedResourceStatusEnum;
2017
+ startDate?: string;
2018
+ startTime?: string;
2019
+ endDate?: string;
2020
+ endTime?: string;
2021
+ productUser?: ProductsUsers;
2022
+ lineItem?: LineItems;
2023
+ eventAttendee?: EventAttendee;
2024
+ seasonAttendee?: SeasonAttendee;
2025
+ leagueAttendee?: SeasonPool;
2026
+ membership?: Membership;
2027
+ program?: Program;
2028
+ programSeason?: ProgramSeason;
2029
+ leagueSeason?: LeagueSeason;
2030
+ space?: Resource;
2031
+ product?: Product;
2032
+ event?: Event;
2033
+ }
2005
2034
  export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2006
2035
  title: string | null;
2007
2036
  answerTitle: AnswerTitle;
2008
2037
  }
2009
- export declare class RefundReason extends OrganizationConnectionBaseEntity {
2010
- reason: string;
2011
- ordinal: number;
2012
- deletedAt: Date;
2013
- }
2014
2038
  export declare class Questions extends BondBaseEntity {
2015
2039
  questionType: string | null;
2016
2040
  ordinal: number | null;
@@ -2025,15 +2049,53 @@ export declare class Questions extends BondBaseEntity {
2025
2049
  ownerId: number | null;
2026
2050
  questionnaireId: number | null;
2027
2051
  }
2028
- export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
2029
- userId: number;
2030
- orderId: number;
2031
- paymentMethodId: string;
2032
- paymentType: PaymentMethodTypeEnum;
2033
- price: number;
2034
- status: FutureInstallmentStatusEnum;
2035
- plannedDate: Date;
2036
- chargedAt?: Date;
2052
+ export declare class RefundReason extends OrganizationConnectionBaseEntity {
2053
+ reason: string;
2054
+ ordinal: number;
2055
+ deletedAt: Date;
2056
+ }
2057
+ export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
2058
+ resourceType: ResourceNameTypeEnum;
2059
+ resourceId: number;
2060
+ openNumDays?: number;
2061
+ openNumMinutes?: number;
2062
+ openTime?: string;
2063
+ closeNumDays?: number;
2064
+ closeNumMinutes?: number;
2065
+ closeTime?: string;
2066
+ deletedAt?: Date;
2067
+ }
2068
+ export declare class Reservations extends OrganizationConnectionBaseEntity {
2069
+ name?: string;
2070
+ description?: string;
2071
+ color?: string;
2072
+ status?: string;
2073
+ privacySetting?: string;
2074
+ reservationType?: string;
2075
+ orderId?: string;
2076
+ customerId?: number;
2077
+ length?: number;
2078
+ price?: number;
2079
+ sessions?: number;
2080
+ percentage?: number;
2081
+ paymentStatus?: number;
2082
+ paymentId?: number;
2083
+ startTime?: string;
2084
+ dayOfWeek?: number;
2085
+ resourcePackageId?: number;
2086
+ resourcePackageAmount?: number;
2087
+ startDate?: Date;
2088
+ endDate?: Date;
2089
+ originalReservationId?: number;
2090
+ creatorId?: number;
2091
+ creatorType?: string;
2092
+ userCreatorId?: number;
2093
+ ownerId?: number;
2094
+ sportType?: number;
2095
+ participantType?: string;
2096
+ deletedAt?: Date;
2097
+ publicNotes?: string;
2098
+ slots?: Slot[];
2037
2099
  }
2038
2100
  export declare class Resource extends OrganizationConnectionBaseEntity {
2039
2101
  name: string;
@@ -2063,6 +2125,21 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
2063
2125
  purchasedResources: PurchasedResource[];
2064
2126
  linkSEO: string;
2065
2127
  }
2128
+ export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2129
+ name: string;
2130
+ facilityId: number;
2131
+ parentSlotId: number;
2132
+ childrenSlotIds: number[];
2133
+ deletedAt?: Date;
2134
+ }
2135
+ export declare class School extends BondBaseEntity {
2136
+ name: string | null;
2137
+ alias: string[] | null;
2138
+ addressId: number | null;
2139
+ website: string | null;
2140
+ phone: string | null;
2141
+ dataId: number | null;
2142
+ }
2066
2143
  export declare class SeasonAttendee extends BondBaseEntity {
2067
2144
  status: RequestStatusEnum;
2068
2145
  paymentStatus: PaymentStatusEnum;
@@ -2077,6 +2154,26 @@ export declare class SeasonAttendee extends BondBaseEntity {
2077
2154
  deletedAt?: Date;
2078
2155
  purchasedResource: PurchasedResource;
2079
2156
  }
2157
+ export declare class SeasonDivisions extends BondBaseEntity {
2158
+ name: string | null;
2159
+ ordinal: number | null;
2160
+ seasonId: number | null;
2161
+ color: string | null;
2162
+ }
2163
+ export declare class SpacesDependency extends BondBaseEntity {
2164
+ blockingSpaceId: number;
2165
+ blockedSpaceId: number;
2166
+ }
2167
+ export declare class SeasonTeam extends BondBaseEntity {
2168
+ seasonId: number | null;
2169
+ teamId: number | null;
2170
+ standingPosition: number | null;
2171
+ statistics: any | null;
2172
+ points: number | null;
2173
+ divisionId: number | null;
2174
+ metaData: any | null;
2175
+ team: Team;
2176
+ }
2080
2177
  export declare class SeasonPool extends BondBaseEntity {
2081
2178
  seasonId?: number;
2082
2179
  userId?: number;
@@ -2092,130 +2189,66 @@ export declare class SeasonPool extends BondBaseEntity {
2092
2189
  purchasedResource: PurchasedResource;
2093
2190
  season: LeagueSeason;
2094
2191
  }
2095
- export declare class School extends BondBaseEntity {
2096
- name: string | null;
2097
- alias: string[] | null;
2098
- addressId: number | null;
2099
- website: string | null;
2100
- phone: string | null;
2101
- dataId: number | null;
2102
- }
2103
2192
  export declare class Station extends OrganizationConnectionBaseEntity {
2104
2193
  name: string;
2105
2194
  facilityId: number;
2106
- processorTerminalId: string | null;
2107
- terminaLabel: string | null;
2108
- processorSerialNumber: string | null;
2109
- currentOpenShift?: Shift;
2110
- stationToSubcategories: StationToSubcategory[];
2111
- subcategories: Subcategory[];
2112
- shifts?: Shift[];
2113
- }
2114
- export declare class MembershipMember extends OrganizationConnectionBaseEntity {
2115
- membership: Membership;
2116
- membershipId: number;
2117
- productUserId: number;
2118
- productUser?: ProductsUsers;
2119
- userId: number;
2120
- membershipType: MembershipTypeEnum;
2121
- durationMonths?: number;
2122
- startDate?: string;
2123
- endDate?: string;
2124
- renewalOfMemberId?: number;
2125
- isAutoRenew?: boolean;
2126
- nextPaymentMethodId?: string;
2127
- nextPaymentType?: PaymentMethodTypeEnum;
2128
- answerTitleIds?: number[];
2129
- cancelledAt?: Date | null;
2130
- cancellationReason?: string;
2131
- cancellationStatus?: CancellationStatusEnum;
2132
- isImported?: boolean;
2133
- }
2134
- export declare class SpacesDependency extends BondBaseEntity {
2135
- blockingSpaceId: number;
2136
- blockedSpaceId: number;
2137
- }
2138
- export declare class Subcategory extends OrganizationConnectionBaseEntity {
2139
- productType: ProductTypesEnum;
2140
- name: string;
2141
- ordinal?: number;
2142
- deletedAt?: Date;
2143
- stationToSubcategories: StationToSubcategory[];
2144
- stations: Station[];
2145
- }
2146
- export declare class Reservations extends OrganizationConnectionBaseEntity {
2147
- name?: string;
2148
- description?: string;
2149
- color?: string;
2150
- status?: string;
2151
- privacySetting?: string;
2152
- reservationType?: string;
2153
- orderId?: string;
2154
- customerId?: number;
2155
- length?: number;
2156
- price?: number;
2157
- sessions?: number;
2158
- percentage?: number;
2159
- paymentStatus?: number;
2160
- paymentId?: number;
2161
- startTime?: string;
2162
- dayOfWeek?: number;
2163
- resourcePackageId?: number;
2164
- resourcePackageAmount?: number;
2165
- startDate?: Date;
2166
- endDate?: Date;
2167
- originalReservationId?: number;
2168
- creatorId?: number;
2169
- creatorType?: string;
2170
- userCreatorId?: number;
2171
- ownerId?: number;
2172
- sportType?: number;
2173
- participantType?: string;
2174
- deletedAt?: Date;
2175
- publicNotes?: string;
2176
- slots?: Slot[];
2177
- }
2178
- export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
2179
- resourceType: ResourceNameTypeEnum;
2180
- resourceId: number;
2181
- openNumDays?: number;
2182
- openNumMinutes?: number;
2183
- openTime?: string;
2184
- closeNumDays?: number;
2185
- closeNumMinutes?: number;
2186
- closeTime?: string;
2195
+ processorTerminalId: string | null;
2196
+ terminaLabel: string | null;
2197
+ processorSerialNumber: string | null;
2198
+ currentOpenShift?: Shift;
2199
+ stationToSubcategories: StationToSubcategory[];
2200
+ subcategories: Subcategory[];
2201
+ shifts?: Shift[];
2202
+ }
2203
+ export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
2204
+ stationId: number;
2205
+ subcategoryId: number;
2206
+ productType: ProductTypesEnum;
2187
2207
  deletedAt?: Date;
2208
+ station: Station;
2209
+ subcategory: Subcategory;
2188
2210
  }
2189
- export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2211
+ export declare class Subcategory extends OrganizationConnectionBaseEntity {
2212
+ productType: ProductTypesEnum;
2190
2213
  name: string;
2191
- facilityId: number;
2192
- parentSlotId: number;
2193
- childrenSlotIds: number[];
2214
+ ordinal?: number;
2194
2215
  deletedAt?: Date;
2216
+ stationToSubcategories: StationToSubcategory[];
2217
+ stations: Station[];
2195
2218
  }
2196
- export declare class SeasonDivisions extends BondBaseEntity {
2219
+ export declare class Team extends BondBaseEntity {
2197
2220
  name: string | null;
2198
- ordinal: number | null;
2199
- seasonId: number | null;
2200
- color: string | null;
2201
- }
2202
- export declare class SeasonTeam extends BondBaseEntity {
2203
- seasonId: number | null;
2204
- teamId: number | null;
2205
- standingPosition: number | null;
2206
- statistics: any | null;
2207
- points: number | null;
2208
- divisionId: number | null;
2209
- metaData: any | null;
2210
- team: Team;
2211
- }
2212
- export declare class UserInFamilyAccount extends BondBaseEntity {
2213
- familyAccountId: number;
2214
- userId: number;
2215
- isAdmin: boolean;
2216
- user: User;
2217
- familyAccount: FamilyAccount;
2218
- deletedAt?: Date;
2221
+ description: string | null;
2222
+ status: number | null;
2223
+ capacity: number | null;
2224
+ allowNewMembers: boolean | null;
2225
+ membersCanInvite: boolean | null;
2226
+ inviteOnly: boolean | null;
2227
+ logoId: number | null;
2228
+ addressId: number | null;
2229
+ price: number | null;
2230
+ private: boolean | null;
2231
+ returnOverride: boolean | null;
2232
+ organizationId: number | null;
2233
+ whoCanJoin: TeamCanJoinEnum | null;
2234
+ whoCanInvite: string | null;
2235
+ metadata: any | null;
2236
+ externalId: string | null;
2237
+ paymentSettings: any | null;
2238
+ isClaimed: boolean | null;
2239
+ creatorId: number | null;
2240
+ creatorType: string | null;
2241
+ userCreatorId: number | null;
2242
+ ownerId: number | null;
2243
+ mainMediaId: number | null;
2244
+ publishedDate: Date | null;
2245
+ isPublished: boolean | null;
2246
+ levelOfPlay: number[] | null;
2247
+ sports: number | null;
2248
+ minAge: number | null;
2249
+ maxAge: number | null;
2250
+ gender: number | null;
2251
+ questionnaireId: number | null;
2219
2252
  }
2220
2253
  export declare class TeamInvite extends BondBaseEntity {
2221
2254
  email: string;
@@ -2226,18 +2259,6 @@ export declare class TeamInvite extends BondBaseEntity {
2226
2259
  tokenExpirationDate: Date;
2227
2260
  isUsed: boolean;
2228
2261
  }
2229
- export declare class VariantTitle extends OrganizationConnectionBaseEntity {
2230
- name: string;
2231
- variants: Variant[];
2232
- }
2233
- export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
2234
- stationId: number;
2235
- subcategoryId: number;
2236
- productType: ProductTypesEnum;
2237
- deletedAt?: Date;
2238
- station: Station;
2239
- subcategory: Subcategory;
2240
- }
2241
2262
  export declare class TeamMember extends BondBaseEntity {
2242
2263
  teamId: number | null;
2243
2264
  userId: number | null;
@@ -2247,17 +2268,6 @@ export declare class TeamMember extends BondBaseEntity {
2247
2268
  role: TeamMemberRoleEnum;
2248
2269
  user: User;
2249
2270
  }
2250
- export declare class UsersInGroup extends BondBaseEntity {
2251
- groupId: number;
2252
- userId: number;
2253
- deletedAt?: Date;
2254
- }
2255
- export declare class Variant extends OrganizationConnectionBaseEntity {
2256
- name: string;
2257
- variantTitleId: number;
2258
- variantTitle: VariantTitle;
2259
- deletedAt?: Date;
2260
- }
2261
2271
  export declare class User extends BondBaseEntity {
2262
2272
  firstName: string | null;
2263
2273
  lastName: string | null;
@@ -2303,6 +2313,29 @@ export declare class UserAuthorizations extends BondBaseEntity {
2303
2313
  entityType: UserAuthorizationsTypeEnum;
2304
2314
  user: User;
2305
2315
  }
2316
+ export declare class UserInFamilyAccount extends BondBaseEntity {
2317
+ familyAccountId: number;
2318
+ userId: number;
2319
+ isAdmin: boolean;
2320
+ user: User;
2321
+ familyAccount: FamilyAccount;
2322
+ deletedAt?: Date;
2323
+ }
2324
+ export declare class UsersInGroup extends BondBaseEntity {
2325
+ groupId: number;
2326
+ userId: number;
2327
+ deletedAt?: Date;
2328
+ }
2329
+ export declare class VariantTitle extends OrganizationConnectionBaseEntity {
2330
+ name: string;
2331
+ variants: Variant[];
2332
+ }
2333
+ export declare class Variant extends OrganizationConnectionBaseEntity {
2334
+ name: string;
2335
+ variantTitleId: number;
2336
+ variantTitle: VariantTitle;
2337
+ deletedAt?: Date;
2338
+ }
2306
2339
  export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
2307
2340
  projectToken: string;
2308
2341
  programTypesCollectionId?: string;
@@ -2674,6 +2707,10 @@ export declare enum EntitlementTermsTypesEnum {
2674
2707
  CITY = "city",
2675
2708
  MEMBERSHIP = "membership"
2676
2709
  }
2710
+ export declare enum Aviram {
2711
+ AVIRAM = "aviram",
2712
+ TESTING = "test"
2713
+ }
2677
2714
  export declare enum ResourceNameTypeEnum {
2678
2715
  EVENT = "event",
2679
2716
  VENUE = "venue",
@@ -3195,137 +3232,24 @@ export declare enum EEmailStatus {
3195
3232
  PAID = "paid",
3196
3233
  CANCELED = "canceled"
3197
3234
  }
3198
- export declare class Team extends BondBaseEntity {
3199
- name: string | null;
3200
- description: string | null;
3201
- status: number | null;
3202
- capacity: number | null;
3203
- allowNewMembers: boolean | null;
3204
- membersCanInvite: boolean | null;
3205
- inviteOnly: boolean | null;
3206
- logoId: number | null;
3207
- addressId: number | null;
3208
- price: number | null;
3209
- private: boolean | null;
3210
- returnOverride: boolean | null;
3211
- organizationId: number | null;
3212
- whoCanJoin: TeamCanJoinEnum | null;
3213
- whoCanInvite: string | null;
3214
- metadata: any | null;
3215
- externalId: string | null;
3216
- paymentSettings: any | null;
3217
- isClaimed: boolean | null;
3218
- creatorId: number | null;
3219
- creatorType: string | null;
3220
- userCreatorId: number | null;
3221
- ownerId: number | null;
3222
- mainMediaId: number | null;
3223
- publishedDate: Date | null;
3224
- isPublished: boolean | null;
3225
- levelOfPlay: number[] | null;
3226
- sports: number | null;
3227
- minAge: number | null;
3228
- maxAge: number | null;
3229
- gender: number | null;
3230
- questionnaireId: number | null;
3231
- }
3232
- export declare class SeasonRounds extends BondBaseEntity {
3233
- seasonId: number;
3234
- ordinal?: number;
3235
- divisionId?: number;
3236
- name: string;
3237
- }
3238
- export declare class Matches extends BondBaseEntity {
3239
- eventId: number | null;
3240
- status: number | null;
3241
- excludeStandings: boolean | null;
3242
- }
3243
- export declare class TeamEvents extends BondBaseEntity {
3244
- teamId: number | null;
3245
- eventId: number | null;
3246
- status: number | null;
3247
- }
3248
- export declare class RoundEvents extends BaseEntity {
3249
- roundId: number;
3250
- eventId: number;
3251
- seriesId: number | null;
3252
- createdAt: Date;
3253
- updatedAt: Date;
3254
- }
3255
- export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3256
- facilityId: number;
3257
- code: string;
3258
- config?: any;
3259
- }
3260
3235
  export declare class ColumnNumericTransformer {
3261
3236
  to(data: number): number;
3262
3237
  from(data: string): number;
3263
3238
  }
3264
3239
  export declare function convertToNumber(data: string): number;
3265
- export declare class VoidDto {
3266
- lineItems: VoidLineItemDto[];
3267
- meta?: RevertMetaDto;
3268
- }
3269
- export declare class VoidLineItemDto {
3270
- id: number;
3271
- quantity?: number;
3272
- isEdit?: boolean;
3273
- amount?: number;
3274
- }
3275
- export declare class Lock extends BondBaseEntity {
3276
- name: string;
3277
- locked?: Date;
3278
- }
3279
- export declare class CreateMonitorConfigDto {
3280
- facilityId: number;
3281
- name: string;
3282
- code: string;
3283
- config: any;
3284
- }
3285
- export declare class ByOrganizationIdDto {
3286
- organizationId: number;
3287
- }
3288
- export declare class OptionalFindByOrganizationIdDto {
3289
- organizationId?: number;
3290
- }
3291
- export declare class GameSlots extends BondBaseEntity {
3292
- entityType: string;
3293
- entityId: number;
3294
- }
3295
- export declare class RefundDto {
3296
- orderId: number;
3297
- lineItems: RefundLineItemAmountDto[];
3298
- refundLineItemAmountDict?: {
3299
- [id: number]: number;
3300
- };
3301
- refunds: PaymentMethodDto[];
3302
- refundType: RefundTypeEnum;
3303
- reasonId: number;
3304
- note?: string;
3305
- shiftId?: number;
3306
- meta?: RevertMetaDto;
3307
- }
3308
- export declare class PaymentMethodDto {
3309
- paymentMethodType: PaymentMethodTypeEnum;
3310
- amount: number;
3311
- paymentMethodId?: string;
3312
- }
3313
- export declare class RefundLineItemAmountDto {
3314
- id: number;
3315
- refundAmount: number;
3316
- }
3317
- export declare class OrganizationUsers extends BondBaseEntity {
3318
- organisationId: number | null;
3319
- userId: number | null;
3320
- }
3321
- export declare class MatchParticipants extends BondBaseEntity {
3322
- matchId: number | null;
3323
- ordinal: number | null;
3324
- outcomeOrdinal: number | null;
3325
- resultMetaData: any | null;
3326
- points: number | null;
3327
- score: number | null;
3328
- gameSlotId: number | null;
3240
+ export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3241
+ name?: string;
3242
+ genderStr?: string;
3243
+ parentID?: string;
3244
+ partnerID?: string;
3245
+ membershipName?: string;
3246
+ membershipExpDate?: string;
3247
+ membershipCreationDate?: string;
3248
+ bondMembershipID?: number;
3249
+ }
3250
+ export declare class AddFamilyDto {
3251
+ parents: AddImportedCustomerDto[];
3252
+ children: AddImportedCustomerDto[];
3329
3253
  }
3330
3254
  export declare enum ImportPaymentTypeEnum {
3331
3255
  CREDIT_CARD = "card",
@@ -3371,22 +3295,12 @@ export declare class ProductImportDto {
3371
3295
  resourceIds: number[];
3372
3296
  oldId: number;
3373
3297
  }
3374
- export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3375
- name?: string;
3376
- genderStr?: string;
3377
- parentID?: string;
3378
- partnerID?: string;
3379
- membershipName?: string;
3380
- membershipExpDate?: string;
3381
- membershipCreationDate?: string;
3382
- bondMembershipID?: number;
3383
- }
3384
- export declare class AddFamilyDto {
3385
- parents: AddImportedCustomerDto[];
3386
- children: AddImportedCustomerDto[];
3387
- }
3388
- export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3389
- mainAdminUserId?: number;
3298
+ export declare class PunchPassDto {
3299
+ CustomerID: string;
3300
+ QuantityLeft: number;
3301
+ BondProgramID: number;
3302
+ BondSessionID: number;
3303
+ ProductID: number;
3390
3304
  }
3391
3305
  export declare class ImportedSlotProductDto {
3392
3306
  slotID?: string;
@@ -3439,82 +3353,62 @@ export declare class ImportedReservationDto {
3439
3353
  slots?: ImportedSlotDto[];
3440
3354
  addons?: ImportedSlotProductDto[];
3441
3355
  }
3442
- export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
3443
- key?: string;
3444
- vaule?: string;
3445
- version: number;
3446
- organization: Organization;
3356
+ export declare class GameSlots extends BondBaseEntity {
3357
+ entityType: string;
3358
+ entityId: number;
3447
3359
  }
3448
- export declare class PurchasedResourceDto {
3449
- resourceId?: number;
3450
- resourceType: ResourceNameTypeEnum;
3451
- startDate?: string;
3452
- startTime?: string;
3453
- endDate?: string;
3454
- endTime?: string;
3360
+ export declare class MatchParticipants extends BondBaseEntity {
3361
+ matchId: number | null;
3362
+ ordinal: number | null;
3363
+ outcomeOrdinal: number | null;
3364
+ resultMetaData: any | null;
3365
+ points: number | null;
3366
+ score: number | null;
3367
+ gameSlotId: number | null;
3455
3368
  }
3456
- export declare class SlotDateTimeAndSpace {
3457
- startDate: string;
3458
- startTime?: string;
3459
- endDate?: string;
3460
- endTime?: string;
3461
- spaceId: number;
3369
+ export declare class Matches extends BondBaseEntity {
3370
+ eventId: number | null;
3371
+ status: number | null;
3372
+ excludeStandings: boolean | null;
3462
3373
  }
3463
- export declare class SlotDto extends SlotDateTimeAndSpace {
3464
- id?: number;
3465
- reservationId?: number;
3466
- occurrence?: number;
3467
- title: string;
3468
- creatorId?: number;
3469
- creatorType?: string;
3470
- userCreatorId?: number;
3471
- timezone?: string;
3472
- publicNotes?: string;
3473
- privateNotes?: string;
3474
- slotType: SlotTypeEnum;
3475
- product?: Product;
3476
- priceOverrideMeta?: {
3477
- unitPrice: number;
3478
- quantity: number;
3479
- totalPrice: number;
3480
- };
3481
- addonPriceOverrideMeta?: {
3482
- [addonProductId: number]: {
3483
- unitPrice: number;
3484
- quantity: number;
3485
- totalPrice: number;
3486
- };
3487
- };
3488
- addonProducts?: Product[];
3489
- addonCalculatedPrice?: {
3490
- productId: number;
3491
- quantity: number;
3492
- unitPrice: number;
3493
- totalPrice: number;
3494
- displayTotalWithTax?: number;
3495
- displayUnitTax?: number;
3496
- }[];
3497
- addonsProductUserIds?: number[];
3498
- segmentId?: number;
3499
- seriesId?: number;
3500
- eventId?: number;
3501
- sportIds: number[];
3502
- parentSlotId?: number;
3503
- maintenanceDurationdurationType?: DurationUnitTypesEnum;
3504
- maintenanceTiming?: MaintenanceTimingEnum;
3505
- durationValue?: number;
3506
- orderId?: number;
3507
- paymentStatus: PaymentStatusEnum;
3508
- approvalStatus: ReservationStatusEnum;
3509
- displayName?: string;
3510
- internalName?: string;
3511
- totalPrice?: number;
3512
- relevantProducts?: Product[];
3513
- maintenance?: MaintenanceDto[];
3514
- maintenanceSlots?: SlotDto[];
3515
- isPrivate: boolean;
3516
- slotDurationType: SlotDurationTypeEnum;
3517
- addonsIds?: number[];
3374
+ export declare class RoundEvents extends BaseEntity {
3375
+ roundId: number;
3376
+ eventId: number;
3377
+ seriesId: number | null;
3378
+ createdAt: Date;
3379
+ updatedAt: Date;
3380
+ }
3381
+ export declare class SeasonRounds extends BondBaseEntity {
3382
+ seasonId: number;
3383
+ ordinal?: number;
3384
+ divisionId?: number;
3385
+ name: string;
3386
+ }
3387
+ export declare class TeamEvents extends BondBaseEntity {
3388
+ teamId: number | null;
3389
+ eventId: number | null;
3390
+ status: number | null;
3391
+ }
3392
+ export declare class Lock extends BondBaseEntity {
3393
+ name: string;
3394
+ locked?: Date;
3395
+ }
3396
+ export declare class CreateMonitorConfigDto {
3397
+ facilityId: number;
3398
+ name: string;
3399
+ code: string;
3400
+ config: any;
3401
+ }
3402
+ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3403
+ facilityId: number;
3404
+ code: string;
3405
+ config?: any;
3406
+ }
3407
+ export declare class ByOrganizationIdDto {
3408
+ organizationId: number;
3409
+ }
3410
+ export declare class OptionalFindByOrganizationIdDto {
3411
+ organizationId?: number;
3518
3412
  }
3519
3413
  export declare class CustomerIdDto {
3520
3414
  customerId: number;
@@ -3600,113 +3494,188 @@ export declare class PaymentPlanDto {
3600
3494
  dayOfMonth?: number;
3601
3495
  schedule?: PaymentPlanSchduleDto[];
3602
3496
  }
3603
- export declare class CalcPaymentPlanDto extends PaymentPlanDto {
3604
- amountToSplit: number;
3497
+ export declare class CalcPaymentPlanDto extends PaymentPlanDto {
3498
+ amountToSplit: number;
3499
+ }
3500
+ export declare class AddToOrderDto {
3501
+ orderId: number;
3502
+ userId: number;
3503
+ productsToAdd: PurchaseProductDto[];
3504
+ resourcesToRemove: PurchaseProductDto[];
3505
+ }
3506
+ export declare class CreateNoteDto {
3507
+ content: string;
3508
+ isPublic: boolean;
3509
+ }
3510
+ export declare class UpdateNoteContentDto extends CreateNoteDto {
3511
+ id: number;
3512
+ }
3513
+ export declare class NotePrivacyDto {
3514
+ filter: string;
3515
+ }
3516
+ export declare class RevertMetaDto {
3517
+ removedResources: RemoveResourceDto[];
3518
+ }
3519
+ export declare class RemoveResourceDto {
3520
+ resourceType: ResourceNameTypeEnum;
3521
+ resourceId: number;
3522
+ lineItemId: number;
3523
+ }
3524
+ export declare class SendRequestDto {
3525
+ orderId: number;
3526
+ userId: number;
3527
+ sendToEmail: string;
3528
+ memo?: string;
3529
+ }
3530
+ export declare class RefundDto {
3531
+ orderId: number;
3532
+ lineItems: RefundLineItemAmountDto[];
3533
+ refundLineItemAmountDict?: {
3534
+ [id: number]: number;
3535
+ };
3536
+ refunds: PaymentMethodDto[];
3537
+ refundType: RefundTypeEnum;
3538
+ reasonId: number;
3539
+ note?: string;
3540
+ shiftId?: number;
3541
+ meta?: RevertMetaDto;
3542
+ }
3543
+ export declare class PaymentMethodDto {
3544
+ paymentMethodType: PaymentMethodTypeEnum;
3545
+ amount: number;
3546
+ paymentMethodId?: string;
3547
+ }
3548
+ export declare class RefundLineItemAmountDto {
3549
+ id: number;
3550
+ refundAmount: number;
3551
+ }
3552
+ export declare class VoidDto {
3553
+ lineItems: VoidLineItemDto[];
3554
+ meta?: RevertMetaDto;
3555
+ }
3556
+ export declare class VoidLineItemDto {
3557
+ id: number;
3558
+ quantity?: number;
3559
+ isEdit?: boolean;
3560
+ amount?: number;
3561
+ }
3562
+ export declare class Organization extends BondBaseEntity {
3563
+ name: string | null;
3564
+ email: string | null;
3565
+ twitter: string | null;
3566
+ facebook: string | null;
3567
+ instagram: string | null;
3568
+ website: string | null;
3569
+ blog: string | null;
3570
+ phoneNumber: string | null;
3571
+ waiverDoc: string | null;
3572
+ about: string | null;
3573
+ tagline: string | null;
3574
+ status: number | null;
3575
+ addressId: number | null;
3576
+ merchantId: number | null;
3577
+ userCreatorId: number | null;
3578
+ parentId: number | null;
3579
+ paymentSettings: object | null;
3580
+ settings: object | null;
3581
+ isClaimed: boolean | null;
3582
+ sports: number[] | null;
3583
+ mainMediaId: number | null;
3584
+ deletedAt: Date | null;
3585
+ organizationActivityTypes: number[] | null;
3586
+ organizationTypes: number[] | null;
3587
+ organizationAudienceTypes: number[] | null;
3588
+ organizationGenders: number[] | null;
3589
+ questionnaireId: number | null;
3590
+ membershipQuestionnaireId: number | null;
3591
+ feeRate: number;
3592
+ feeAddDollarRate: number;
3593
+ achFeeRate: number;
3594
+ achFeeAddDollarRate: number;
3595
+ maxAchFee: number;
3596
+ cashFeeRate: number;
3597
+ cashFeeAddDollarRate: number;
3598
+ terminalFeeRate: number;
3599
+ terminalFeeAddDollarRate: number;
3600
+ checkFeeRate: number;
3601
+ checkFeeAddDollarRate: number;
3602
+ otherFeeRate: number;
3603
+ otherFeeAddDollarRate: number;
3604
+ balanceFeeRate: number;
3605
+ balanceFeeAddDollarRate: number;
3606
+ address: Address;
3607
+ mainMedia: Media;
3608
+ brandings: OrganizationBranding[];
3609
+ brandingsV2?: OrganizationBranding[];
3610
+ }
3611
+ export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
3612
+ key?: string;
3613
+ vaule?: string;
3614
+ version: number;
3615
+ organization: Organization;
3605
3616
  }
3606
- export declare class AddToOrderDto {
3607
- orderId: number;
3608
- userId: number;
3609
- productsToAdd: PurchaseProductDto[];
3610
- resourcesToRemove: PurchaseProductDto[];
3617
+ export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3618
+ mainAdminUserId?: number;
3611
3619
  }
3612
- export declare class CreateNoteDto {
3613
- content: string;
3614
- isPublic: boolean;
3620
+ export declare class OrganizationUsers extends BondBaseEntity {
3621
+ organisationId: number | null;
3622
+ userId: number | null;
3615
3623
  }
3616
- export declare class UpdateNoteContentDto extends CreateNoteDto {
3617
- id: number;
3624
+ export declare class ChangeRolePermissionsDto {
3625
+ permissionIds: number[];
3618
3626
  }
3619
- export declare class NotePrivacyDto {
3620
- filter: string;
3627
+ export declare class CreateRoleDto {
3628
+ name: string;
3621
3629
  }
3622
- export declare class RevertMetaDto {
3623
- removedResources: RemoveResourceDto[];
3630
+ export declare class Permission extends BondBaseEntity {
3631
+ name: string;
3632
+ deletedAt?: Date;
3624
3633
  }
3625
- export declare class RemoveResourceDto {
3626
- resourceType: ResourceNameTypeEnum;
3627
- resourceId: number;
3628
- lineItemId: number;
3634
+ export declare class Role extends OrganizationConnectionBaseEntity {
3635
+ name: string;
3636
+ deletedAt?: Date;
3637
+ permissions: Permission[];
3638
+ usersRoles: UserRole[];
3629
3639
  }
3630
- export declare class SendRequestDto {
3631
- orderId: number;
3640
+ export declare class UserRole extends OrganizationConnectionBaseEntity {
3641
+ deletedAt?: Date;
3632
3642
  userId: number;
3633
- sendToEmail: string;
3634
- memo?: string;
3635
- }
3636
- export declare class PunchPassDto {
3637
- CustomerID: string;
3638
- QuantityLeft: number;
3639
- BondProgramID: number;
3640
- BondSessionID: number;
3641
- ProductID: number;
3642
- }
3643
- export declare class SegmentDto {
3644
- id?: number;
3645
- title: string;
3646
- isPrivate: boolean;
3647
- resourceIds: number[];
3648
- sportId?: number;
3649
- series: SeriesDto[];
3650
- addonIds?: number[];
3651
- publicNotesForSlots?: string;
3652
- privateNotesForSlots?: string;
3643
+ roleId: number;
3644
+ role: Role;
3645
+ user: User;
3653
3646
  }
3654
- export declare class SeriesDto {
3647
+ export declare class LineItemDto {
3655
3648
  id?: number;
3656
- startDate: string;
3657
- startTime?: string;
3658
- endDate?: string;
3659
- endTime?: string;
3660
- slotDurationType: SlotDurationTypeEnum;
3661
- durationEndsAfter?: number;
3662
- durationUnit?: DurationUnitTypesEnum;
3663
- frequency: FrequencyEnum;
3664
- repeatEvery?: number;
3665
- repeatOn?: number[];
3666
- repeatEndDate?: string;
3667
- numberOccurrences?: number;
3668
- maintenance?: MaintenanceDto[];
3669
- slots?: SlotDto[];
3670
- }
3671
- declare class AnswerDto {
3672
- questionId: number;
3673
- value: any;
3674
- }
3675
- export declare class BookedSessionDto {
3676
- startDate: string;
3677
- endDate: string;
3678
- timezone: string;
3679
- spaceId: number;
3680
- }
3681
- declare class AddonDto {
3682
- resourcePackageId: number;
3683
- resourcePackageAmount: number;
3684
- resourcePackagePrice: number;
3685
- }
3686
- export declare class ReservationV1Dto {
3649
+ orderId?: number;
3650
+ type: LineItemsStatusEnum;
3687
3651
  organizationId: number;
3688
- name: string;
3689
- dayOfWeek: number;
3690
- startTime: string;
3691
- description: string;
3692
- sport: number;
3652
+ userId?: number;
3653
+ productId: number;
3654
+ product?: Product;
3655
+ productType: ProductTypesEnum;
3656
+ ordinal?: number;
3693
3657
  price: number;
3694
- resourcePackageId: number;
3695
- resourcePackageAmount: number;
3696
- bookedSessions: BookedSessionDto[];
3697
- addons: AddonDto[];
3698
- }
3699
- export declare class BookingV1Dto {
3700
- organizationId: number;
3701
- reservations: ReservationV1Dto[];
3702
- answers: AnswerDto[];
3703
- paymentData: PurchasePaymentDto;
3704
- skipPayment: boolean;
3705
- cashPayment: boolean;
3706
- requestOnly: boolean;
3658
+ originalPrice?: number;
3659
+ paidAmount?: number;
3660
+ currency: CurrencyEnum;
3661
+ paymentStatus?: PaymentStatusEnum;
3662
+ isRefunded?: boolean;
3663
+ isTaxInclusive?: boolean;
3664
+ taxPrecent?: number;
3665
+ unitPrice?: number;
3666
+ quantity: number;
3667
+ resources?: PurchasedResourceDto[];
3668
+ relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
3669
+ unitPriceWithTax?: number;
3670
+ unitTaxPrice?: number;
3671
+ parentOrdinal?: number;
3707
3672
  }
3708
- export declare class CreateRoleDto {
3709
- name: string;
3673
+ export declare class MaintenanceDto {
3674
+ id?: number;
3675
+ title: string;
3676
+ durationValue: number;
3677
+ maintenanceDurationdurationType: DurationUnitTypesEnum;
3678
+ maintenanceTiming: MaintenanceTimingEnum;
3710
3679
  }
3711
3680
  export declare class OrderDto {
3712
3681
  orderId?: string | null;
@@ -3749,6 +3718,14 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
3749
3718
  export declare class AddSegmentsDto extends UpdateInvoiceDto {
3750
3719
  segments: SegmentDto[];
3751
3720
  }
3721
+ export declare class PurchasedResourceDto {
3722
+ resourceId?: number;
3723
+ resourceType: ResourceNameTypeEnum;
3724
+ startDate?: string;
3725
+ startTime?: string;
3726
+ endDate?: string;
3727
+ endTime?: string;
3728
+ }
3752
3729
  export declare class ReservationDto {
3753
3730
  id?: number;
3754
3731
  organizationId?: number;
@@ -3877,38 +3854,145 @@ export declare class EditSlotsRefundMetaDto {
3877
3854
  export declare class EditSlotsDto extends UpdateSlotsDto {
3878
3855
  refundMeta?: EditSlotsRefundMetaDto;
3879
3856
  }
3880
- export declare class EditReservationDetailsDto {
3881
- name: string;
3882
- activityType: SportsEnum;
3883
- publicNotes?: string;
3884
- privateNotes?: string;
3857
+ export declare class EditReservationDetailsDto {
3858
+ name: string;
3859
+ activityType: SportsEnum;
3860
+ publicNotes?: string;
3861
+ privateNotes?: string;
3862
+ }
3863
+ export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
3864
+ updateAddons?: boolean;
3865
+ }
3866
+ export declare class AddAddonsDto {
3867
+ addons: ProductPricesDto[];
3868
+ }
3869
+ export declare class SegmentDto {
3870
+ id?: number;
3871
+ title: string;
3872
+ isPrivate: boolean;
3873
+ resourceIds: number[];
3874
+ sportId?: number;
3875
+ series: SeriesDto[];
3876
+ addonIds?: number[];
3877
+ publicNotesForSlots?: string;
3878
+ privateNotesForSlots?: string;
3879
+ }
3880
+ export declare class SeriesDto {
3881
+ id?: number;
3882
+ startDate: string;
3883
+ startTime?: string;
3884
+ endDate?: string;
3885
+ endTime?: string;
3886
+ slotDurationType: SlotDurationTypeEnum;
3887
+ durationEndsAfter?: number;
3888
+ durationUnit?: DurationUnitTypesEnum;
3889
+ frequency: FrequencyEnum;
3890
+ repeatEvery?: number;
3891
+ repeatOn?: number[];
3892
+ repeatEndDate?: string;
3893
+ numberOccurrences?: number;
3894
+ maintenance?: MaintenanceDto[];
3895
+ slots?: SlotDto[];
3896
+ }
3897
+ export declare class SlotDateTimeAndSpace {
3898
+ startDate: string;
3899
+ startTime?: string;
3900
+ endDate?: string;
3901
+ endTime?: string;
3902
+ spaceId: number;
3903
+ }
3904
+ export declare class SlotDto extends SlotDateTimeAndSpace {
3905
+ id?: number;
3906
+ reservationId?: number;
3907
+ occurrence?: number;
3908
+ title: string;
3909
+ creatorId?: number;
3910
+ creatorType?: string;
3911
+ userCreatorId?: number;
3912
+ timezone?: string;
3913
+ publicNotes?: string;
3914
+ privateNotes?: string;
3915
+ slotType: SlotTypeEnum;
3916
+ product?: Product;
3917
+ priceOverrideMeta?: {
3918
+ unitPrice: number;
3919
+ quantity: number;
3920
+ totalPrice: number;
3921
+ };
3922
+ addonPriceOverrideMeta?: {
3923
+ [addonProductId: number]: {
3924
+ unitPrice: number;
3925
+ quantity: number;
3926
+ totalPrice: number;
3927
+ };
3928
+ };
3929
+ addonProducts?: Product[];
3930
+ addonCalculatedPrice?: {
3931
+ productId: number;
3932
+ quantity: number;
3933
+ unitPrice: number;
3934
+ totalPrice: number;
3935
+ displayTotalWithTax?: number;
3936
+ displayUnitTax?: number;
3937
+ }[];
3938
+ addonsProductUserIds?: number[];
3939
+ segmentId?: number;
3940
+ seriesId?: number;
3941
+ eventId?: number;
3942
+ sportIds: number[];
3943
+ parentSlotId?: number;
3944
+ maintenanceDurationdurationType?: DurationUnitTypesEnum;
3945
+ maintenanceTiming?: MaintenanceTimingEnum;
3946
+ durationValue?: number;
3947
+ orderId?: number;
3948
+ paymentStatus: PaymentStatusEnum;
3949
+ approvalStatus: ReservationStatusEnum;
3950
+ displayName?: string;
3951
+ internalName?: string;
3952
+ totalPrice?: number;
3953
+ relevantProducts?: Product[];
3954
+ maintenance?: MaintenanceDto[];
3955
+ maintenanceSlots?: SlotDto[];
3956
+ isPrivate: boolean;
3957
+ slotDurationType: SlotDurationTypeEnum;
3958
+ addonsIds?: number[];
3959
+ }
3960
+ declare class AnswerDto {
3961
+ questionId: number;
3962
+ value: any;
3885
3963
  }
3886
- export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
3887
- updateAddons?: boolean;
3964
+ export declare class BookedSessionDto {
3965
+ startDate: string;
3966
+ endDate: string;
3967
+ timezone: string;
3968
+ spaceId: number;
3888
3969
  }
3889
- export declare class AddAddonsDto {
3890
- addons: ProductPricesDto[];
3970
+ declare class AddonDto {
3971
+ resourcePackageId: number;
3972
+ resourcePackageAmount: number;
3973
+ resourcePackagePrice: number;
3891
3974
  }
3892
- export declare class Permission extends BondBaseEntity {
3975
+ export declare class ReservationV1Dto {
3976
+ organizationId: number;
3893
3977
  name: string;
3894
- deletedAt?: Date;
3895
- }
3896
- export declare class UserRole extends OrganizationConnectionBaseEntity {
3897
- deletedAt?: Date;
3898
- userId: number;
3899
- roleId: number;
3900
- role: Role;
3901
- user: User;
3902
- }
3903
- export declare class ChangeRolePermissionsDto {
3904
- permissionIds: number[];
3978
+ dayOfWeek: number;
3979
+ startTime: string;
3980
+ description: string;
3981
+ sport: number;
3982
+ price: number;
3983
+ resourcePackageId: number;
3984
+ resourcePackageAmount: number;
3985
+ bookedSessions: BookedSessionDto[];
3986
+ addons: AddonDto[];
3905
3987
  }
3906
- export declare class MaintenanceDto {
3907
- id?: number;
3908
- title: string;
3909
- durationValue: number;
3910
- maintenanceDurationdurationType: DurationUnitTypesEnum;
3911
- maintenanceTiming: MaintenanceTimingEnum;
3988
+ export declare class BookingV1Dto {
3989
+ organizationId: number;
3990
+ reservations: ReservationV1Dto[];
3991
+ answers: AnswerDto[];
3992
+ paymentData: PurchasePaymentDto;
3993
+ skipPayment: boolean;
3994
+ cashPayment: boolean;
3995
+ requestOnly: boolean;
3912
3996
  }
3913
3997
  export declare class Addon extends OrganizationConnectionBaseEntity {
3914
3998
  parentId: number;
@@ -3928,6 +4012,12 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
3928
4012
  productUserId?: number;
3929
4013
  productUser?: ProductsUsers;
3930
4014
  }
4015
+ export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
4016
+ deletedAt?: Date;
4017
+ reservationId: number;
4018
+ invoiceId: number;
4019
+ slotId: number;
4020
+ }
3931
4021
  export declare class Reservation extends OrganizationConnectionBaseEntity {
3932
4022
  name?: string;
3933
4023
  description?: string;
@@ -3967,8 +4057,38 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
3967
4057
  targetGlobalPrice?: number;
3968
4058
  slots: Slot[];
3969
4059
  }
3970
- export declare class CloseShiftDto {
3971
- closingCashAmount: number;
4060
+ export declare class Segment extends OrganizationConnectionBaseEntity {
4061
+ deletedAt?: Date;
4062
+ reservationId: number;
4063
+ title: string;
4064
+ isPrivate: boolean;
4065
+ resourceIds?: number[];
4066
+ sportId: number;
4067
+ reservation?: Reservation;
4068
+ series?: Series[];
4069
+ addonIds?: number[] | null;
4070
+ publicNotesForSlots?: string;
4071
+ privateNotesForSlots?: string;
4072
+ slots?: Slot[];
4073
+ }
4074
+ export declare class Series extends OrganizationConnectionBaseEntity {
4075
+ deletedAt?: Date;
4076
+ segmentId: number;
4077
+ segment?: Segment;
4078
+ slots?: Slot[];
4079
+ slotDurationType: string;
4080
+ durationEndsAfter: number;
4081
+ durationUnit: string;
4082
+ startDate?: Date;
4083
+ endDate?: Date;
4084
+ startTime: string;
4085
+ endTime: string;
4086
+ frequency: string;
4087
+ repeatEvery: number;
4088
+ repeatOn?: number[];
4089
+ repeatEndDate?: Date;
4090
+ numberOccurrences?: number;
4091
+ resources?: Resource[];
3972
4092
  }
3973
4093
  export declare class Slot extends OrganizationConnectionBaseEntity {
3974
4094
  constructor();
@@ -4037,65 +4157,12 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
4037
4157
  changeLineItems?: LineItems[];
4038
4158
  updatedLineItem?: LineItems;
4039
4159
  }
4040
- export declare class Segment extends OrganizationConnectionBaseEntity {
4041
- deletedAt?: Date;
4042
- reservationId: number;
4043
- title: string;
4044
- isPrivate: boolean;
4045
- resourceIds?: number[];
4046
- sportId: number;
4047
- reservation?: Reservation;
4048
- series?: Series[];
4049
- addonIds?: number[] | null;
4050
- publicNotesForSlots?: string;
4051
- privateNotesForSlots?: string;
4052
- slots?: Slot[];
4160
+ export declare class CloseShiftDto {
4161
+ closingCashAmount: number;
4053
4162
  }
4054
4163
  export declare class FindShiftsByIdsDto {
4055
4164
  shiftIds: number[];
4056
4165
  }
4057
- export declare class ShiftManagementClosingAmount {
4058
- shiftId: number;
4059
- managementClosingCashAmount: number;
4060
- }
4061
- export declare class ManagementClosingOfShiftsDto {
4062
- managementClosingData: ShiftManagementClosingAmount[];
4063
- }
4064
- export declare class Series extends OrganizationConnectionBaseEntity {
4065
- deletedAt?: Date;
4066
- segmentId: number;
4067
- segment?: Segment;
4068
- slots?: Slot[];
4069
- slotDurationType: string;
4070
- durationEndsAfter: number;
4071
- durationUnit: string;
4072
- startDate?: Date;
4073
- endDate?: Date;
4074
- startTime: string;
4075
- endTime: string;
4076
- frequency: string;
4077
- repeatEvery: number;
4078
- repeatOn?: number[];
4079
- repeatEndDate?: Date;
4080
- numberOccurrences?: number;
4081
- resources?: Resource[];
4082
- }
4083
- export declare class Role extends OrganizationConnectionBaseEntity {
4084
- name: string;
4085
- deletedAt?: Date;
4086
- permissions: Permission[];
4087
- usersRoles: UserRole[];
4088
- }
4089
- export declare class OpenShiftDto {
4090
- openingCashAmount: number;
4091
- stationId: number;
4092
- }
4093
- export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
4094
- deletedAt?: Date;
4095
- reservationId: number;
4096
- invoiceId: number;
4097
- slotId: number;
4098
- }
4099
4166
  export declare class FindShiftsFiltersDto {
4100
4167
  statuses?: string;
4101
4168
  stationIds?: string;
@@ -4116,54 +4183,16 @@ export declare class FindShiftsFormattedFilters {
4116
4183
  startDate?: Date;
4117
4184
  endDate?: Date;
4118
4185
  }
4119
- export declare class Organization extends BondBaseEntity {
4120
- name: string | null;
4121
- email: string | null;
4122
- twitter: string | null;
4123
- facebook: string | null;
4124
- instagram: string | null;
4125
- website: string | null;
4126
- blog: string | null;
4127
- phoneNumber: string | null;
4128
- waiverDoc: string | null;
4129
- about: string | null;
4130
- tagline: string | null;
4131
- status: number | null;
4132
- addressId: number | null;
4133
- merchantId: number | null;
4134
- userCreatorId: number | null;
4135
- parentId: number | null;
4136
- paymentSettings: object | null;
4137
- settings: object | null;
4138
- isClaimed: boolean | null;
4139
- sports: number[] | null;
4140
- mainMediaId: number | null;
4141
- deletedAt: Date | null;
4142
- organizationActivityTypes: number[] | null;
4143
- organizationTypes: number[] | null;
4144
- organizationAudienceTypes: number[] | null;
4145
- organizationGenders: number[] | null;
4146
- questionnaireId: number | null;
4147
- membershipQuestionnaireId: number | null;
4148
- feeRate: number;
4149
- feeAddDollarRate: number;
4150
- achFeeRate: number;
4151
- achFeeAddDollarRate: number;
4152
- maxAchFee: number;
4153
- cashFeeRate: number;
4154
- cashFeeAddDollarRate: number;
4155
- terminalFeeRate: number;
4156
- terminalFeeAddDollarRate: number;
4157
- checkFeeRate: number;
4158
- checkFeeAddDollarRate: number;
4159
- otherFeeRate: number;
4160
- otherFeeAddDollarRate: number;
4161
- balanceFeeRate: number;
4162
- balanceFeeAddDollarRate: number;
4163
- address: Address;
4164
- mainMedia: Media;
4165
- brandings: OrganizationBranding[];
4166
- brandingsV2?: OrganizationBranding[];
4186
+ export declare class ShiftManagementClosingAmount {
4187
+ shiftId: number;
4188
+ managementClosingCashAmount: number;
4189
+ }
4190
+ export declare class ManagementClosingOfShiftsDto {
4191
+ managementClosingData: ShiftManagementClosingAmount[];
4192
+ }
4193
+ export declare class OpenShiftDto {
4194
+ openingCashAmount: number;
4195
+ stationId: number;
4167
4196
  }
4168
4197
  export declare class Shift extends OrganizationConnectionBaseEntity {
4169
4198
  stationId: number;
@@ -4194,30 +4223,4 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
4194
4223
  closingManager?: User;
4195
4224
  reconcilingUser?: User;
4196
4225
  }
4197
- export declare class LineItemDto {
4198
- id?: number;
4199
- orderId?: number;
4200
- type: LineItemsStatusEnum;
4201
- organizationId: number;
4202
- userId?: number;
4203
- productId: number;
4204
- product?: Product;
4205
- productType: ProductTypesEnum;
4206
- ordinal?: number;
4207
- price: number;
4208
- originalPrice?: number;
4209
- paidAmount?: number;
4210
- currency: CurrencyEnum;
4211
- paymentStatus?: PaymentStatusEnum;
4212
- isRefunded?: boolean;
4213
- isTaxInclusive?: boolean;
4214
- taxPrecent?: number;
4215
- unitPrice?: number;
4216
- quantity: number;
4217
- resources?: PurchasedResourceDto[];
4218
- relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
4219
- unitPriceWithTax?: number;
4220
- unitTaxPrice?: number;
4221
- parentOrdinal?: number;
4222
- }
4223
4226
  export {};