@bondsports/types 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.d.ts CHANGED
@@ -2,13 +2,6 @@ import { BaseEntity } from 'typeorm';
2
2
  import { Stripe } from 'stripe';
3
3
  import moment from 'moment';
4
4
  export { TypesProvider } from './provider';
5
- export declare class BasicActivityTimesDto {
6
- dayOfWeek: number;
7
- close: string;
8
- open: string;
9
- availabilityStartDate?: string;
10
- availabilityEndDate?: string;
11
- }
12
5
  export declare class QuestionAnswersDto {
13
6
  questionId: number;
14
7
  value: any;
@@ -20,6 +13,13 @@ export declare class UserAnswersDto {
20
13
  export declare class GetByQuestionnaireIdsDto {
21
14
  questionnaireIds: string;
22
15
  }
16
+ export declare class BasicActivityTimesDto {
17
+ dayOfWeek: number;
18
+ close: string;
19
+ open: string;
20
+ availabilityStartDate?: string;
21
+ availabilityEndDate?: string;
22
+ }
23
23
  export declare class FindBookingTypeSettingDto {
24
24
  organizationId: number;
25
25
  facilityId: number;
@@ -95,81 +95,6 @@ export declare class AddEditCustomerDto {
95
95
  emergencyContactName?: string;
96
96
  emergencyContactPhone?: string;
97
97
  }
98
- export declare class AddressDto {
99
- city: string;
100
- state: string;
101
- country: string;
102
- geo: number[];
103
- }
104
- export declare class OpeningTimeDto {
105
- open: string;
106
- close: string;
107
- dayOfWeek: number;
108
- }
109
- export declare class CreateFacilityDto {
110
- name: string;
111
- sports: number[];
112
- description?: string;
113
- longDescription?: string;
114
- info?: string;
115
- address: AddressDto;
116
- timezone: string;
117
- amenities: number[];
118
- openingTimes: OpeningTimeDto[];
119
- resourcesIds?: number[];
120
- }
121
- export declare class UpdateFacilityDetailsDto {
122
- name?: string;
123
- description?: string;
124
- longDescription?: string;
125
- info?: string;
126
- address?: AddressDto;
127
- timezone?: string;
128
- }
129
- export declare class UpdateFacilityOpeningTimesDto {
130
- openingTimes: OpeningTimeDto[];
131
- }
132
- export declare class UpdateFacilitySportsDto {
133
- sports: number[];
134
- }
135
- export declare class UpdateFacilityAmenitiesDto {
136
- amenities: number[];
137
- }
138
- export declare class FindFacilitiesOptionsDto extends PaginationQuery {
139
- nameSearch?: string;
140
- }
141
- export declare class FindFamilyAccountsDto {
142
- userId: number;
143
- }
144
- export declare class FindFamilyAccountsCustomerDto {
145
- customerId: number;
146
- organizationId: number;
147
- }
148
- export declare class FindUsersInFamilyAccountDto {
149
- familyAccountId: number;
150
- }
151
- export declare class CreateFamilyAccountDto {
152
- familyName: string;
153
- userId: number;
154
- }
155
- export declare class UpdateFamilyAccountNameDto {
156
- familyName: string;
157
- familyAccountId: number;
158
- }
159
- export declare class AddUserToFamilyAccountDto {
160
- familyAccountId: number;
161
- isUserAdmin: boolean;
162
- firstName: string;
163
- lastName: string;
164
- gender: GenderEnum;
165
- birthDate: string;
166
- sports?: number[];
167
- email?: string;
168
- }
169
- export declare class RemoveUserFromFamilyAccountDto {
170
- userId: number;
171
- familyAccountId: number;
172
- }
173
98
  export declare class FindEventByIdDto {
174
99
  eventId: number;
175
100
  organizationId: number;
@@ -270,6 +195,81 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
270
195
  isWaiverSigned?: string;
271
196
  statuses?: string;
272
197
  }
198
+ export declare class AddressDto {
199
+ city: string;
200
+ state: string;
201
+ country: string;
202
+ geo: number[];
203
+ }
204
+ export declare class OpeningTimeDto {
205
+ open: string;
206
+ close: string;
207
+ dayOfWeek: number;
208
+ }
209
+ export declare class CreateFacilityDto {
210
+ name: string;
211
+ sports: number[];
212
+ description?: string;
213
+ longDescription?: string;
214
+ info?: string;
215
+ address: AddressDto;
216
+ timezone: string;
217
+ amenities: number[];
218
+ openingTimes: OpeningTimeDto[];
219
+ resourcesIds?: number[];
220
+ }
221
+ export declare class UpdateFacilityDetailsDto {
222
+ name?: string;
223
+ description?: string;
224
+ longDescription?: string;
225
+ info?: string;
226
+ address?: AddressDto;
227
+ timezone?: string;
228
+ }
229
+ export declare class UpdateFacilityOpeningTimesDto {
230
+ openingTimes: OpeningTimeDto[];
231
+ }
232
+ export declare class UpdateFacilitySportsDto {
233
+ sports: number[];
234
+ }
235
+ export declare class UpdateFacilityAmenitiesDto {
236
+ amenities: number[];
237
+ }
238
+ export declare class FindFacilitiesOptionsDto extends PaginationQuery {
239
+ nameSearch?: string;
240
+ }
241
+ export declare class FindFamilyAccountsDto {
242
+ userId: number;
243
+ }
244
+ export declare class FindFamilyAccountsCustomerDto {
245
+ customerId: number;
246
+ organizationId: number;
247
+ }
248
+ export declare class FindUsersInFamilyAccountDto {
249
+ familyAccountId: number;
250
+ }
251
+ export declare class CreateFamilyAccountDto {
252
+ familyName: string;
253
+ userId: number;
254
+ }
255
+ export declare class UpdateFamilyAccountNameDto {
256
+ familyName: string;
257
+ familyAccountId: number;
258
+ }
259
+ export declare class AddUserToFamilyAccountDto {
260
+ familyAccountId: number;
261
+ isUserAdmin: boolean;
262
+ firstName: string;
263
+ lastName: string;
264
+ gender: GenderEnum;
265
+ birthDate: string;
266
+ sports?: number[];
267
+ email?: string;
268
+ }
269
+ export declare class RemoveUserFromFamilyAccountDto {
270
+ userId: number;
271
+ familyAccountId: number;
272
+ }
273
273
  export declare class FindOneParams {
274
274
  id: number;
275
275
  }
@@ -365,48 +365,6 @@ export declare class MoveTeamOrMemberDto implements IMoveSeason {
365
365
  export declare class MoveTeamOrMembersByCsvDTO {
366
366
  fileName: string;
367
367
  }
368
- export declare class CreateEntitlementTermsDto {
369
- organizationId: number;
370
- entitlementGroupId: number;
371
- terms: IEntitlementTerms[];
372
- }
373
- export declare class FindEntitlementTermsByGroupIdDto {
374
- entitlementGroupId: number;
375
- }
376
- export declare class FindEntitlementTermsByVariablesDto {
377
- user: any;
378
- userVariables: IQuestionAnswerObject[];
379
- }
380
- export declare class FindLowestPriceDto {
381
- organizationId: number;
382
- user?: any;
383
- answers?: IQuestionAnswerObject[];
384
- itemIds: number[];
385
- itemType?: ResourceNameTypeEnum;
386
- startDate?: Date;
387
- }
388
- export declare class FindGroupItemsPricingsDto {
389
- groupsIds: number[];
390
- itemsIds: number[];
391
- }
392
- export declare class CreateEntitlementGroupDto {
393
- name: string;
394
- }
395
- export declare class GetEntitlementGroupPricingDto {
396
- itemIds: number[];
397
- itemType: string;
398
- }
399
- export declare class FindEntitlementGroupByIdDto {
400
- groupid: number;
401
- }
402
- export declare class CreateGroupPricingWithProduct {
403
- groupId: number;
404
- price: number;
405
- startDate?: Date;
406
- endDate?: Date;
407
- discountValue?: number;
408
- discountMethod?: DiscountMethodsEnum;
409
- }
410
368
  export declare class CreateMembershipDto {
411
369
  organizationId: number;
412
370
  name: string;
@@ -463,45 +421,105 @@ export declare class CancelMembershipDto {
463
421
  isImmediatelyCancel: boolean;
464
422
  cancellationReason?: string;
465
423
  }
466
- export declare class FindByProductIdDto {
467
- productId: number;
468
- }
469
- export declare class FindPriceOfProductDto {
470
- id: number;
471
- userId: number;
472
- resources: ResourceDto[];
424
+ export declare class CreateEntitlementTermsDto {
425
+ organizationId: number;
426
+ entitlementGroupId: number;
427
+ terms: IEntitlementTerms[];
473
428
  }
474
- export declare class FindPricesOfProductsDto {
475
- products: FindPriceOfProductDto[];
476
- answers: UserAnswersDto[];
429
+ export declare class FindEntitlementTermsByGroupIdDto {
430
+ entitlementGroupId: number;
477
431
  }
478
- export declare class FindPackageByResourceDto {
479
- resourceType: ResourceNameTypeEnum;
480
- resourceId: number;
432
+ export declare class FindEntitlementTermsByVariablesDto {
433
+ user: any;
434
+ userVariables: IQuestionAnswerObject[];
481
435
  }
482
- export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
436
+ export declare class FindLowestPriceDto {
483
437
  organizationId: number;
438
+ user?: any;
439
+ answers?: IQuestionAnswerObject[];
440
+ itemIds: number[];
441
+ itemType?: ResourceNameTypeEnum;
442
+ startDate?: Date;
484
443
  }
485
- export declare class CreateProductsDto {
486
- products: CreateProductDto[];
487
- addOnsData?: ProductInPackage[];
488
- addOnIds?: ExistingProductToPackageDto[];
444
+ export declare class FindGroupItemsPricingsDto {
445
+ groupsIds: number[];
446
+ itemsIds: number[];
489
447
  }
490
- export declare class CreatePaymentPlanDto extends PaymentPlanDto {
448
+ export declare class CreateEntitlementGroupDto {
491
449
  name: string;
492
450
  }
493
- export declare class CreateProductDto {
494
- id?: number;
495
- organizationId: number;
496
- name: string;
497
- quantity?: number;
498
- isPublic: boolean;
499
- startDate?: Date;
500
- endDate?: Date;
501
- description?: string;
502
- resourcesType?: ResourceNameTypeEnum;
503
- resourcesIdsToApplyOn?: number[];
504
- GL?: string;
451
+ export declare class GetEntitlementGroupPricingDto {
452
+ itemIds: number[];
453
+ itemType: string;
454
+ }
455
+ export declare class FindEntitlementGroupByIdDto {
456
+ groupid: number;
457
+ }
458
+ export declare class CreateGroupPricingWithProduct {
459
+ groupId: number;
460
+ price: number;
461
+ startDate?: Date;
462
+ endDate?: Date;
463
+ discountValue?: number;
464
+ discountMethod?: DiscountMethodsEnum;
465
+ }
466
+ export declare class CreateUpdateVariantsDto {
467
+ organizationId: number;
468
+ parentProductId: number;
469
+ variantTitles: VariantTitleDto[];
470
+ variants: VariantDto[];
471
+ }
472
+ export declare class VariantTitleDto {
473
+ titleName: string;
474
+ titleId: number;
475
+ }
476
+ export declare class VariantDto {
477
+ name: string;
478
+ price: number;
479
+ variantId: number;
480
+ currency: CurrencyEnum;
481
+ startDate: Date;
482
+ endDate: Date;
483
+ }
484
+ export declare class FindByProductIdDto {
485
+ productId: number;
486
+ }
487
+ export declare class FindPriceOfProductDto {
488
+ id: number;
489
+ userId: number;
490
+ resources: ResourceDto[];
491
+ }
492
+ export declare class FindPricesOfProductsDto {
493
+ products: FindPriceOfProductDto[];
494
+ answers: UserAnswersDto[];
495
+ }
496
+ export declare class FindPackageByResourceDto {
497
+ resourceType: ResourceNameTypeEnum;
498
+ resourceId: number;
499
+ }
500
+ export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
501
+ organizationId: number;
502
+ }
503
+ export declare class CreateProductsDto {
504
+ products: CreateProductDto[];
505
+ addOnsData?: ProductInPackage[];
506
+ addOnIds?: ExistingProductToPackageDto[];
507
+ }
508
+ export declare class CreatePaymentPlanDto extends PaymentPlanDto {
509
+ name: string;
510
+ }
511
+ export declare class CreateProductDto {
512
+ id?: number;
513
+ organizationId: number;
514
+ name: string;
515
+ quantity?: number;
516
+ isPublic: boolean;
517
+ startDate?: Date;
518
+ endDate?: Date;
519
+ description?: string;
520
+ resourcesType?: ResourceNameTypeEnum;
521
+ resourcesIdsToApplyOn?: number[];
522
+ GL?: string;
505
523
  prices: CreatePriceDto[];
506
524
  downpayment?: number;
507
525
  productType: ProductTypesEnum;
@@ -684,6 +702,50 @@ export declare class createResourceDto {
684
702
  export declare class archiveDto {
685
703
  isArchive: boolean;
686
704
  }
705
+ export declare class FindProgramsByOrganizationIdDto {
706
+ organizationId: number;
707
+ programType?: ProgramTypesEnum;
708
+ }
709
+ export declare class FindProgramByIdDto {
710
+ programId: number;
711
+ }
712
+ export declare class FindProgramByOrgIdAndIdDto {
713
+ programId: number;
714
+ organizationId: number;
715
+ }
716
+ export declare class BaseProgramDto {
717
+ type: ProgramTypesEnum;
718
+ name: string;
719
+ sport: SportsEnum;
720
+ minAge: string;
721
+ maxAge: string;
722
+ gender: GenderEnum;
723
+ level?: LevelOfPlayEnum[];
724
+ description?: string;
725
+ GL?: string;
726
+ status: PublishingStatusEnum;
727
+ organizationId: number;
728
+ userCreatorId: number;
729
+ highlights: ProgramHighlights[];
730
+ longDescription?: string;
731
+ requiredProductIds: number[];
732
+ }
733
+ export declare class CreateProgramDto extends BaseProgramDto {
734
+ }
735
+ export declare class UpdateProgramDto extends BaseProgramDto {
736
+ programId: number;
737
+ mainMediaId: number;
738
+ }
739
+ export declare class UpdateProgramStatusDto {
740
+ programId: number;
741
+ status: PublishingStatusEnum;
742
+ }
743
+ export declare class ProgramHighlightDto {
744
+ data: string;
745
+ ordinal: number;
746
+ type: ProgramHighlightTypeEnum;
747
+ title: string;
748
+ }
687
749
  export declare class FindProgramSeasonsByProgramIdDto {
688
750
  programId: number;
689
751
  }
@@ -875,68 +937,6 @@ export declare class MoveParticipantDto {
875
937
  resourceId: number;
876
938
  invoiceId: number;
877
939
  }
878
- export declare class FindProgramsByOrganizationIdDto {
879
- organizationId: number;
880
- programType?: ProgramTypesEnum;
881
- }
882
- export declare class FindProgramByIdDto {
883
- programId: number;
884
- }
885
- export declare class FindProgramByOrgIdAndIdDto {
886
- programId: number;
887
- organizationId: number;
888
- }
889
- export declare class BaseProgramDto {
890
- type: ProgramTypesEnum;
891
- name: string;
892
- sport: SportsEnum;
893
- minAge: string;
894
- maxAge: string;
895
- gender: GenderEnum;
896
- level?: LevelOfPlayEnum[];
897
- description?: string;
898
- GL?: string;
899
- status: PublishingStatusEnum;
900
- organizationId: number;
901
- userCreatorId: number;
902
- highlights: ProgramHighlights[];
903
- longDescription?: string;
904
- requiredProductIds: number[];
905
- }
906
- export declare class CreateProgramDto extends BaseProgramDto {
907
- }
908
- export declare class UpdateProgramDto extends BaseProgramDto {
909
- programId: number;
910
- mainMediaId: number;
911
- }
912
- export declare class UpdateProgramStatusDto {
913
- programId: number;
914
- status: PublishingStatusEnum;
915
- }
916
- export declare class ProgramHighlightDto {
917
- data: string;
918
- ordinal: number;
919
- type: ProgramHighlightTypeEnum;
920
- title: string;
921
- }
922
- export declare class CreateUpdateVariantsDto {
923
- organizationId: number;
924
- parentProductId: number;
925
- variantTitles: VariantTitleDto[];
926
- variants: VariantDto[];
927
- }
928
- export declare class VariantTitleDto {
929
- titleName: string;
930
- titleId: number;
931
- }
932
- export declare class VariantDto {
933
- name: string;
934
- price: number;
935
- variantId: number;
936
- currency: CurrencyEnum;
937
- startDate: Date;
938
- endDate: Date;
939
- }
940
940
  export declare class PurchasePaymentDto {
941
941
  token: string;
942
942
  type: PaymentMethodTypeEnum;
@@ -1123,6 +1123,19 @@ export declare class ActivityTimes extends BondBaseEntity {
1123
1123
  proudct: Product;
1124
1124
  event: Event;
1125
1125
  }
1126
+ export declare class Answer extends OrganizationConnectionBaseEntity {
1127
+ questionId: number;
1128
+ question?: Questions;
1129
+ parentId: number;
1130
+ parentType: ResourceNameTypeEnum;
1131
+ answerValue: any;
1132
+ creatorId: number;
1133
+ creatorType: ResourceNameTypeEnum;
1134
+ answerTitleId: number;
1135
+ answerTitle: AnswerTitle;
1136
+ metaData: any | null;
1137
+ questionText: string | null;
1138
+ }
1126
1139
  export declare class Address extends BondBaseEntity {
1127
1140
  city?: string;
1128
1141
  street?: string;
@@ -1140,19 +1153,6 @@ export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
1140
1153
  answers: Answer[];
1141
1154
  questionnaire: Questionnaires;
1142
1155
  }
1143
- export declare class Answer extends OrganizationConnectionBaseEntity {
1144
- questionId: number;
1145
- question?: Questions;
1146
- parentId: number;
1147
- parentType: ResourceNameTypeEnum;
1148
- answerValue: any;
1149
- creatorId: number;
1150
- creatorType: ResourceNameTypeEnum;
1151
- answerTitleId: number;
1152
- answerTitle: AnswerTitle;
1153
- metaData: any | null;
1154
- questionText: string | null;
1155
- }
1156
1156
  export declare class Athlete extends BondBaseEntity {
1157
1157
  userId: number | null;
1158
1158
  metadata: object | null;
@@ -1194,11 +1194,6 @@ export declare class BookedSessions extends BondBaseEntity {
1194
1194
  publicNotes?: string;
1195
1195
  slotType?: SlotTypeEnum;
1196
1196
  }
1197
- export declare class Configuration extends BondBaseEntity {
1198
- area: string;
1199
- key: string;
1200
- value: string;
1201
- }
1202
1197
  export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
1203
1198
  parentId: number;
1204
1199
  parentType: ResourceNameTypeEnum;
@@ -1209,6 +1204,11 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
1209
1204
  endTimeInDay: string;
1210
1205
  directBookingFor: DirectBookingTypesEnum;
1211
1206
  }
1207
+ export declare class Configuration extends BondBaseEntity {
1208
+ area: string;
1209
+ key: string;
1210
+ value: string;
1211
+ }
1212
1212
  export declare class Connection extends BondBaseEntity {
1213
1213
  connType: number | null;
1214
1214
  from: number | null;
@@ -1311,87 +1311,9 @@ export declare class EventAttendee extends BondBaseEntity {
1311
1311
  event: Event;
1312
1312
  purchasedResource: PurchasedResource;
1313
1313
  }
1314
- export declare class Event extends OrganizationConnectionBaseEntity {
1315
- constructor();
1316
- defineCalculatedDateTimeProps(): void;
1317
- title: string | null;
1318
- description: string | null;
1319
- eventType: number | null;
1320
- startDate: Date | null;
1321
- endDate: Date | null;
1322
- price: number | null;
1323
- venueName: string | null;
1324
- status: EventStatusEnum;
1325
- private: boolean | null;
1326
- guestsCanInvite: boolean | null;
1327
- venueId: number | null;
1328
- addressId: number | null;
1329
- participantsLimit: number | null;
1330
- parentId: number | null;
1331
- parentType: string | null;
1332
- timezone: string | null;
1333
- eventSubType: string | null;
1334
- eventSubId: number | null;
1335
- metaData: any | null;
1336
- groupingId: string | null;
1337
- redirectUri: string | null;
1338
- externalId: string | null;
1339
- paymentSettings: any | null;
1340
- whoCanJoin: string | null;
1341
- spaceId?: number;
1342
- bookedSessionId: number | null;
1343
- creatorId: number | null;
1344
- creatorType: string | null;
1345
- userCreatorId: number | null;
1346
- ownerId: number | null;
1347
- sports: number[] | null;
1348
- isVerified: boolean | null;
1349
- mainMediaId: number | null;
1350
- minAge: number | null;
1351
- maxAge: number | null;
1352
- gender: number | null;
1353
- questionnaireId: number | null;
1354
- eventAttendees: EventAttendee[];
1355
- deletedAt?: Date;
1356
- spaces?: IBasicSpaceAndSlotCreator[];
1357
- startDateString: string;
1358
- endDateString: string;
1359
- startTime: string;
1360
- endTime: string;
1361
- publicNotes?: string;
1362
- privateNotes?: string;
1363
- productResources: ProductResource[];
1364
- parentSession: ProgramSeason;
1365
- activityTimes: ActivityTimes[];
1366
- slots: Slot[];
1367
- purchasedResources: PurchasedResource[];
1368
- program?: Program;
1369
- session?: ProgramSeason;
1370
- segment?: ProgramSeason;
1371
- }
1372
- export declare class Facility extends OrganizationConnectionBaseEntity {
1373
- name: string;
1374
- description?: string;
1375
- addressId: number;
1376
- address: Address;
1377
- amenities?: number[];
1378
- timezone: string;
1379
- creatorId: number;
1380
- creatorType: string;
1381
- userCreatorId: number;
1382
- mainMediaId: number;
1383
- mainMedia: Media;
1384
- publishedDate?: Date;
1385
- isPublished: boolean;
1386
- sports?: number[];
1387
- info?: string;
1388
- longDescription?: string;
1389
- deletedAt?: Date;
1390
- openingTimes: OpeningTime[];
1391
- resources: Resource[];
1392
- spaces: Resource[];
1393
- programSeasons: ProgramSeason[];
1394
- linkSEO: string;
1314
+ export declare class FacilityToResource extends BondBaseEntity {
1315
+ facilityId: number;
1316
+ resourceId: number;
1395
1317
  }
1396
1318
  export declare class FamilyAccount extends BondBaseEntity {
1397
1319
  name: string | null;
@@ -1408,10 +1330,6 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
1408
1330
  chargedAt?: Date;
1409
1331
  originalPlannedDate?: Date;
1410
1332
  }
1411
- export declare class FacilityToResource extends BondBaseEntity {
1412
- facilityId: number;
1413
- resourceId: number;
1414
- }
1415
1333
  export declare class GlCodes extends OrganizationConnectionBaseEntity {
1416
1334
  code: string;
1417
1335
  }
@@ -1444,11 +1362,6 @@ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity
1444
1362
  discountMethod?: DiscountMethodsEnum;
1445
1363
  discountValue?: number;
1446
1364
  }
1447
- export declare class GroupsInDivisions extends BondBaseEntity {
1448
- groupId: number;
1449
- divisionId: number;
1450
- deletedAt?: Date;
1451
- }
1452
1365
  export declare class Invoice extends BondBaseEntity {
1453
1366
  invoiceId: string | null;
1454
1367
  price: number | null;
@@ -1473,6 +1386,11 @@ export declare class Invoice extends BondBaseEntity {
1473
1386
  invoiceNotes: InvoiceNote[];
1474
1387
  slots: Slot[];
1475
1388
  }
1389
+ export declare class GroupsInDivisions extends BondBaseEntity {
1390
+ groupId: number;
1391
+ divisionId: number;
1392
+ deletedAt?: Date;
1393
+ }
1476
1394
  export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1477
1395
  email: string;
1478
1396
  status: EEmailStatus;
@@ -1493,6 +1411,14 @@ export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
1493
1411
  invoiceId: number;
1494
1412
  invoice: Invoice;
1495
1413
  }
1414
+ export declare class InvoiceToPayment extends BondBaseEntity {
1415
+ invoiceId: number;
1416
+ paymentId: number;
1417
+ invoice: Invoice;
1418
+ payment: Payment;
1419
+ paidAmount?: number;
1420
+ currency: CurrencyEnum;
1421
+ }
1496
1422
  export declare class League extends OrganizationConnectionBaseEntity {
1497
1423
  name: string | null;
1498
1424
  description: string | null;
@@ -1563,14 +1489,6 @@ export declare class LeagueSeasonRelations {
1563
1489
  league?: boolean;
1564
1490
  facilities?: boolean;
1565
1491
  }
1566
- export declare class InvoiceToPayment extends BondBaseEntity {
1567
- invoiceId: number;
1568
- paymentId: number;
1569
- invoice: Invoice;
1570
- payment: Payment;
1571
- paidAmount?: number;
1572
- currency: CurrencyEnum;
1573
- }
1574
1492
  export declare class LineItemHistory extends BondBaseEntity {
1575
1493
  invoiceId: number;
1576
1494
  paymentId: number;
@@ -1581,22 +1499,6 @@ export declare class LineItemHistory extends BondBaseEntity {
1581
1499
  payment: Payment;
1582
1500
  lineItem: LineItems;
1583
1501
  }
1584
- export declare class LinkedAccounts extends BondBaseEntity {
1585
- id: number;
1586
- provider: string;
1587
- providerId: string | null;
1588
- parentId: number | null;
1589
- parentType: string | null;
1590
- status: number | null;
1591
- token: string | null;
1592
- refreshToken: string | null;
1593
- tokenCreatedAt: Date | null;
1594
- tokenValidUpTo: Date | null;
1595
- createdAt: Date;
1596
- updatedAt: Date;
1597
- user: User;
1598
- userId: number | null;
1599
- }
1600
1502
  export declare class LineItems extends BondBaseEntity {
1601
1503
  constructor();
1602
1504
  defineIsReverted(): void;
@@ -1652,6 +1554,80 @@ export declare class LineItems extends BondBaseEntity {
1652
1554
  displayUnitPrice?: number;
1653
1555
  displayQuantity?: number;
1654
1556
  }
1557
+ export declare class LinkedAccounts extends BondBaseEntity {
1558
+ id: number;
1559
+ provider: string;
1560
+ providerId: string | null;
1561
+ parentId: number | null;
1562
+ parentType: string | null;
1563
+ status: number | null;
1564
+ token: string | null;
1565
+ refreshToken: string | null;
1566
+ tokenCreatedAt: Date | null;
1567
+ tokenValidUpTo: Date | null;
1568
+ createdAt: Date;
1569
+ updatedAt: Date;
1570
+ user: User;
1571
+ userId: number | null;
1572
+ }
1573
+ export declare class Event extends OrganizationConnectionBaseEntity {
1574
+ constructor();
1575
+ defineCalculatedDateTimeProps(): void;
1576
+ title: string | null;
1577
+ description: string | null;
1578
+ eventType: number | null;
1579
+ startDate: Date | null;
1580
+ endDate: Date | null;
1581
+ price: number | null;
1582
+ venueName: string | null;
1583
+ status: EventStatusEnum;
1584
+ private: boolean | null;
1585
+ guestsCanInvite: boolean | null;
1586
+ venueId: number | null;
1587
+ addressId: number | null;
1588
+ participantsLimit: number | null;
1589
+ parentId: number | null;
1590
+ parentType: string | null;
1591
+ timezone: string | null;
1592
+ eventSubType: string | null;
1593
+ eventSubId: number | null;
1594
+ metaData: any | null;
1595
+ groupingId: string | null;
1596
+ redirectUri: string | null;
1597
+ externalId: string | null;
1598
+ paymentSettings: any | null;
1599
+ whoCanJoin: string | null;
1600
+ spaceId?: number;
1601
+ bookedSessionId: number | null;
1602
+ creatorId: number | null;
1603
+ creatorType: string | null;
1604
+ userCreatorId: number | null;
1605
+ ownerId: number | null;
1606
+ sports: number[] | null;
1607
+ isVerified: boolean | null;
1608
+ mainMediaId: number | null;
1609
+ minAge: number | null;
1610
+ maxAge: number | null;
1611
+ gender: number | null;
1612
+ questionnaireId: number | null;
1613
+ eventAttendees: EventAttendee[];
1614
+ deletedAt?: Date;
1615
+ spaces?: IBasicSpaceAndSlotCreator[];
1616
+ startDateString: string;
1617
+ endDateString: string;
1618
+ startTime: string;
1619
+ endTime: string;
1620
+ publicNotes?: string;
1621
+ privateNotes?: string;
1622
+ productResources: ProductResource[];
1623
+ parentSession: ProgramSeason;
1624
+ activityTimes: ActivityTimes[];
1625
+ slots: Slot[];
1626
+ purchasedResources: PurchasedResource[];
1627
+ program?: Program;
1628
+ session?: ProgramSeason;
1629
+ segment?: ProgramSeason;
1630
+ }
1655
1631
  export declare class Media extends BondBaseEntity {
1656
1632
  url: string;
1657
1633
  name: string | null;
@@ -1736,8 +1712,29 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1736
1712
  deletedAt?: Date;
1737
1713
  facility: Facility;
1738
1714
  }
1739
- export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1740
- organizationId: number;
1715
+ export declare class Facility extends OrganizationConnectionBaseEntity {
1716
+ name: string;
1717
+ description?: string;
1718
+ addressId: number;
1719
+ address: Address;
1720
+ amenities?: number[];
1721
+ timezone: string;
1722
+ creatorId: number;
1723
+ creatorType: string;
1724
+ userCreatorId: number;
1725
+ mainMediaId: number;
1726
+ mainMedia: Media;
1727
+ publishedDate?: Date;
1728
+ isPublished: boolean;
1729
+ sports?: number[];
1730
+ info?: string;
1731
+ longDescription?: string;
1732
+ deletedAt?: Date;
1733
+ openingTimes: OpeningTime[];
1734
+ resources: Resource[];
1735
+ spaces: Resource[];
1736
+ programSeasons: ProgramSeason[];
1737
+ linkSEO: string;
1741
1738
  }
1742
1739
  export declare class PackageV1 extends BondBaseEntity {
1743
1740
  name?: string;
@@ -1756,6 +1753,12 @@ export declare class PackageV1 extends BondBaseEntity {
1756
1753
  isMandatory: boolean;
1757
1754
  productId: number;
1758
1755
  }
1756
+ export declare class PasswordReset extends BondBaseEntity {
1757
+ token: string | null;
1758
+ userId: number | null;
1759
+ validUntil: Date | null;
1760
+ active: boolean | null;
1761
+ }
1759
1762
  export declare class Payment extends OrganizationConnectionBaseEntity {
1760
1763
  price: number;
1761
1764
  paymentProcessorId: string;
@@ -1783,16 +1786,13 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
1783
1786
  refundReasonId?: number;
1784
1787
  refundNote?: string;
1785
1788
  }
1786
- export declare class PasswordReset extends BondBaseEntity {
1787
- token: string | null;
1788
- userId: number | null;
1789
- validUntil: Date | null;
1790
- active: boolean | null;
1791
- }
1792
1789
  export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity {
1793
1790
  failureIndex: number;
1794
1791
  waitingDays: number;
1795
1792
  }
1793
+ export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1794
+ organizationId: number;
1795
+ }
1796
1796
  export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
1797
1797
  paymentInstallmentId?: number;
1798
1798
  invoiceId: number;
@@ -1808,6 +1808,12 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
1808
1808
  paymentId: number;
1809
1809
  payment: Payment;
1810
1810
  }
1811
+ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1812
+ paymentPlanId: number;
1813
+ paymentDate: Date;
1814
+ deletedAt?: Date;
1815
+ paymentPlan: ProductPaymentPlan;
1816
+ }
1811
1817
  export declare class PaymentV1 extends BondBaseEntity {
1812
1818
  userId: number | null;
1813
1819
  ownerId: number | null;
@@ -1843,12 +1849,6 @@ export declare class Price extends OrganizationConnectionBaseEntity {
1843
1849
  discountValue?: number;
1844
1850
  taxIncludedPrice?: number;
1845
1851
  }
1846
- export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1847
- paymentPlanId: number;
1848
- paymentDate: Date;
1849
- deletedAt?: Date;
1850
- paymentPlan: ProductPaymentPlan;
1851
- }
1852
1852
  export declare class Product extends OrganizationConnectionBaseEntity {
1853
1853
  name: string;
1854
1854
  quantity: number;
@@ -1914,6 +1914,15 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1914
1914
  durationDays?: number;
1915
1915
  level?: ProductPackageLevelEnum;
1916
1916
  }
1917
+ export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1918
+ productId: number;
1919
+ maxMonths?: number;
1920
+ dayOfMonth?: number;
1921
+ name: string;
1922
+ deletedAt?: Date;
1923
+ schedule: PaymentPlanSchedule[];
1924
+ product?: Product;
1925
+ }
1917
1926
  export declare class ProductResource extends OrganizationConnectionBaseEntity {
1918
1927
  productId: number;
1919
1928
  resourceId: number;
@@ -1925,15 +1934,6 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
1925
1934
  productPackages: ProductPackage[];
1926
1935
  resourceName?: string;
1927
1936
  }
1928
- export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1929
- productId: number;
1930
- maxMonths?: number;
1931
- dayOfMonth?: number;
1932
- name: string;
1933
- deletedAt?: Date;
1934
- schedule: PaymentPlanSchedule[];
1935
- product?: Product;
1936
- }
1937
1937
  export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
1938
1938
  productId: number;
1939
1939
  variantTitleId: number;
@@ -1988,6 +1988,14 @@ export declare class Program extends BondBaseEntity {
1988
1988
  programSeason: ProgramSeason[];
1989
1989
  purchasedResources: PurchasedResource[];
1990
1990
  }
1991
+ export declare class ProgramHighlights extends BondBaseEntity {
1992
+ type: ProgramHighlightTypeEnum;
1993
+ ordinal: number | null;
1994
+ title: string | null;
1995
+ data: any | null;
1996
+ program: Program;
1997
+ deletedAt?: Date;
1998
+ }
1991
1999
  export declare class ProgramSeason extends BondBaseEntity {
1992
2000
  programId: number;
1993
2001
  name: string;
@@ -2043,14 +2051,6 @@ export declare class ProgramSeason extends BondBaseEntity {
2043
2051
  facility: Facility;
2044
2052
  purchasedResources: PurchasedResource[];
2045
2053
  }
2046
- export declare class ProgramHighlights extends BondBaseEntity {
2047
- type: ProgramHighlightTypeEnum;
2048
- ordinal: number | null;
2049
- title: string | null;
2050
- data: any | null;
2051
- program: Program;
2052
- deletedAt?: Date;
2053
- }
2054
2054
  export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
2055
2055
  productUserId: number;
2056
2056
  resourceId: number;
@@ -2107,36 +2107,8 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
2107
2107
  closeTime?: string;
2108
2108
  deletedAt?: Date;
2109
2109
  }
2110
- export declare class Resource extends OrganizationConnectionBaseEntity {
2111
- name: string;
2112
- resourceType: ResourceTypeEnum;
2113
- resourceSubType: ResourceSubTypeEnum;
2114
- description?: string;
2115
- longDescription?: string;
2116
- surface?: SurfacesEnum;
2117
- properties?: SpacePropertiesEnum[];
2118
- mainMediaId?: number;
2119
- mainMedia: Media;
2120
- sports: SportsEnum[];
2121
- width?: number;
2122
- length?: number;
2123
- amenities?: AmenitiesEnum[];
2124
- parentSpaceId?: number;
2125
- ordinal?: number;
2126
- isAddOn: boolean;
2127
- ages?: ResourceAgesEnum;
2128
- deletedAt?: Date;
2129
- activityTimes: ActivityTimes[];
2130
- facilities: Facility[];
2131
- slots?: Slot[];
2132
- addons?: Addon[];
2133
- facilityId: number;
2134
- facility: Facility;
2135
- purchasedResources: PurchasedResource[];
2136
- linkSEO: string;
2137
- }
2138
- export declare class Reservations extends OrganizationConnectionBaseEntity {
2139
- name?: string;
2110
+ export declare class Reservations extends OrganizationConnectionBaseEntity {
2111
+ name?: string;
2140
2112
  description?: string;
2141
2113
  color?: string;
2142
2114
  status?: string;
@@ -2167,12 +2139,33 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
2167
2139
  publicNotes?: string;
2168
2140
  slots?: Slot[];
2169
2141
  }
2170
- export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2142
+ export declare class Resource extends OrganizationConnectionBaseEntity {
2171
2143
  name: string;
2172
- facilityId: number;
2173
- parentSlotId: number;
2174
- childrenSlotIds: number[];
2144
+ resourceType: ResourceTypeEnum;
2145
+ resourceSubType: ResourceSubTypeEnum;
2146
+ description?: string;
2147
+ longDescription?: string;
2148
+ surface?: SurfacesEnum;
2149
+ properties?: SpacePropertiesEnum[];
2150
+ mainMediaId?: number;
2151
+ mainMedia: Media;
2152
+ sports: SportsEnum[];
2153
+ width?: number;
2154
+ length?: number;
2155
+ amenities?: AmenitiesEnum[];
2156
+ parentSpaceId?: number;
2157
+ ordinal?: number;
2158
+ isAddOn: boolean;
2159
+ ages?: ResourceAgesEnum;
2175
2160
  deletedAt?: Date;
2161
+ activityTimes: ActivityTimes[];
2162
+ facilities: Facility[];
2163
+ slots?: Slot[];
2164
+ addons?: Addon[];
2165
+ facilityId: number;
2166
+ facility: Facility;
2167
+ purchasedResources: PurchasedResource[];
2168
+ linkSEO: string;
2176
2169
  }
2177
2170
  export declare class School extends BondBaseEntity {
2178
2171
  name: string | null;
@@ -2196,6 +2189,19 @@ export declare class SeasonAttendee extends BondBaseEntity {
2196
2189
  deletedAt?: Date;
2197
2190
  purchasedResource: PurchasedResource;
2198
2191
  }
2192
+ export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2193
+ name: string;
2194
+ facilityId: number;
2195
+ parentSlotId: number;
2196
+ childrenSlotIds: number[];
2197
+ deletedAt?: Date;
2198
+ }
2199
+ export declare class SeasonDivisions extends BondBaseEntity {
2200
+ name: string | null;
2201
+ ordinal: number | null;
2202
+ seasonId: number | null;
2203
+ color: string | null;
2204
+ }
2199
2205
  export declare class SeasonPool extends BondBaseEntity {
2200
2206
  seasonId?: number;
2201
2207
  userId?: number;
@@ -2211,12 +2217,6 @@ export declare class SeasonPool extends BondBaseEntity {
2211
2217
  purchasedResource: PurchasedResource;
2212
2218
  season: LeagueSeason;
2213
2219
  }
2214
- export declare class SeasonDivisions extends BondBaseEntity {
2215
- name: string | null;
2216
- ordinal: number | null;
2217
- seasonId: number | null;
2218
- color: string | null;
2219
- }
2220
2220
  export declare class SeasonTeam extends BondBaseEntity {
2221
2221
  seasonId: number | null;
2222
2222
  teamId: number | null;
@@ -2227,6 +2227,10 @@ export declare class SeasonTeam extends BondBaseEntity {
2227
2227
  metaData: any | null;
2228
2228
  team: Team;
2229
2229
  }
2230
+ export declare class SpacesDependency extends BondBaseEntity {
2231
+ blockingSpaceId: number;
2232
+ blockedSpaceId: number;
2233
+ }
2230
2234
  export declare class Station extends OrganizationConnectionBaseEntity {
2231
2235
  name: string;
2232
2236
  facilityId: number;
@@ -2238,10 +2242,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
2238
2242
  subcategories: Subcategory[];
2239
2243
  shifts?: Shift[];
2240
2244
  }
2241
- export declare class SpacesDependency extends BondBaseEntity {
2242
- blockingSpaceId: number;
2243
- blockedSpaceId: number;
2244
- }
2245
2245
  export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
2246
2246
  stationId: number;
2247
2247
  subcategoryId: number;
@@ -2250,6 +2250,14 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
2250
2250
  station: Station;
2251
2251
  subcategory: Subcategory;
2252
2252
  }
2253
+ export declare class Subcategory extends OrganizationConnectionBaseEntity {
2254
+ productType: ProductTypesEnum;
2255
+ name: string;
2256
+ ordinal?: number;
2257
+ deletedAt?: Date;
2258
+ stationToSubcategories: StationToSubcategory[];
2259
+ stations: Station[];
2260
+ }
2253
2261
  export declare class Team extends BondBaseEntity {
2254
2262
  name: string | null;
2255
2263
  description: string | null;
@@ -2284,14 +2292,6 @@ export declare class Team extends BondBaseEntity {
2284
2292
  gender: number | null;
2285
2293
  questionnaireId: number | null;
2286
2294
  }
2287
- export declare class Subcategory extends OrganizationConnectionBaseEntity {
2288
- productType: ProductTypesEnum;
2289
- name: string;
2290
- ordinal?: number;
2291
- deletedAt?: Date;
2292
- stationToSubcategories: StationToSubcategory[];
2293
- stations: Station[];
2294
- }
2295
2295
  export declare class TeamInvite extends BondBaseEntity {
2296
2296
  email: string;
2297
2297
  teamId: number;
@@ -2310,12 +2310,6 @@ export declare class TeamMember extends BondBaseEntity {
2310
2310
  role: TeamMemberRoleEnum;
2311
2311
  user: User;
2312
2312
  }
2313
- export declare class UserAuthorizations extends BondBaseEntity {
2314
- entityId: number | null;
2315
- userId: number | null;
2316
- entityType: UserAuthorizationsTypeEnum;
2317
- user: User;
2318
- }
2319
2313
  export declare class User extends BondBaseEntity {
2320
2314
  firstName: string | null;
2321
2315
  lastName: string | null;
@@ -2355,6 +2349,12 @@ export declare class User extends BondBaseEntity {
2355
2349
  invoiceNotes: InvoiceNote[];
2356
2350
  paymentNotes: PaymentNote[];
2357
2351
  }
2352
+ export declare class UserAuthorizations extends BondBaseEntity {
2353
+ entityId: number | null;
2354
+ userId: number | null;
2355
+ entityType: UserAuthorizationsTypeEnum;
2356
+ user: User;
2357
+ }
2358
2358
  export declare class UserInFamilyAccount extends BondBaseEntity {
2359
2359
  familyAccountId: number;
2360
2360
  userId: number;
@@ -2380,6 +2380,12 @@ export declare class VariantTitle extends OrganizationConnectionBaseEntity {
2380
2380
  name: string;
2381
2381
  variants: Variant[];
2382
2382
  }
2383
+ export declare class Variant extends OrganizationConnectionBaseEntity {
2384
+ name: string;
2385
+ variantTitleId: number;
2386
+ variantTitle: VariantTitle;
2387
+ deletedAt?: Date;
2388
+ }
2383
2389
  export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
2384
2390
  projectToken: string;
2385
2391
  programTypesCollectionId?: string;
@@ -2388,439 +2394,73 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
2388
2394
  membershipCollectionId?: string;
2389
2395
  programsCollectionId?: string;
2390
2396
  }
2391
- export declare class Variant extends OrganizationConnectionBaseEntity {
2392
- name: string;
2393
- variantTitleId: number;
2394
- variantTitle: VariantTitle;
2395
- deletedAt?: Date;
2396
- }
2397
- export interface IEntitlementTerms {
2398
- type: EntitlementTermsTypesEnum;
2399
- id?: number;
2400
- value?: string;
2401
- minValue?: string;
2402
- maxValue?: string;
2403
- }
2404
- export interface IQuestionAnswerObject {
2405
- questionId: number;
2406
- value: string;
2407
- }
2408
- export interface ILowestPriceForItem {
2409
- itemId: number;
2410
- itemType: ResourceNameTypeEnum;
2411
- groupId: number;
2412
- groupName?: string;
2413
- price: number;
2414
- overridesPrice: boolean;
2415
- }
2416
- export interface IResourcesAvailability {
2417
- resourceType: ResourceNameTypeEnum;
2418
- quantity: number;
2419
- resourcesIds: number[];
2420
- isPunchCard: boolean;
2421
- resources?: any[];
2422
- }
2423
- export interface IPackageResponse {
2424
- parentProduct: Product;
2425
- children: IChildProduct[];
2426
- }
2427
- export interface IChildProduct {
2428
- product: Product;
2429
- relationType: PackageProductsRelationTypeEnum;
2430
- timePeriod?: AddonTimePeriodEnum;
2431
- }
2432
- export interface ISeasonAttendeeInfo {
2433
- applicationAnswers: Answer[];
2434
- segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
2435
- invoices: Invoice[];
2436
- payments: Payment[];
2437
- products: Product[];
2438
- redeemNext: ProductsUsers;
2397
+ export declare enum EntitlementTermsTypesEnum {
2398
+ QUESTION = "question",
2399
+ CITY = "city",
2400
+ MEMBERSHIP = "membership"
2439
2401
  }
2440
- export interface ISeasonAttendeeListInfo {
2441
- userId: number;
2442
- userFirstName: string;
2443
- userLastName: string;
2444
- userGender: number;
2445
- userBirthDate: Date;
2446
- userProfilePicUrl: string;
2447
- customerId: number;
2448
- customerEmail: string;
2449
- paymentStatus: string;
2450
- productName: string;
2451
- punchCard: boolean;
2402
+ export declare enum ResourceNameTypeEnum {
2403
+ EVENT = "event",
2404
+ VENUE = "venue",
2405
+ TEAM = "team",
2406
+ LEAGUE = "league",
2407
+ USER = "user",
2408
+ ORGANIZATION = "organization",
2409
+ APP = "app",
2410
+ FEED = "feed",
2411
+ MATCH = "match",
2412
+ ROUND = "round",
2413
+ PORTAL = "portal",
2414
+ SEASON = "season",
2415
+ TOURNAMENT = "tournament",
2416
+ MEMBERSHIP = "membership",
2417
+ DIVISION = "division",
2418
+ GAMESLOT = "gameslot",
2419
+ SPACE = "space",
2420
+ RESERVATION = "reservation",
2421
+ INVOICE = "invoice",
2422
+ CUSTOMER = "customer",
2423
+ PACKAGE = "package",
2424
+ FACILITY = "facility",
2425
+ PROGRAM = "program",
2426
+ PROGRAM_SEASON = "program_season",
2427
+ PRODUCT = "product",
2428
+ GROUP = "group",
2429
+ VARIANT = "variant",
2430
+ SLOT = "slot",
2431
+ ADDON = "addon"
2452
2432
  }
2453
- export declare class SeasonAsSeasonSegment extends ProgramSeason {
2454
- segmentType: ResourceNameTypeEnum;
2455
- participantRegisteredDate?: string;
2433
+ export declare enum DirectBookingTypesEnum {
2434
+ DIRECT_FOR_ALL = "all",
2435
+ DIRECT_FOR_NONE = "none",
2436
+ DIRECT_VETTED_ONLY = "vetted_only",
2437
+ NO_SETTING = "no_setting"
2456
2438
  }
2457
- export declare class EventAsSeasonSegment extends Event {
2458
- segmentType: ResourceNameTypeEnum;
2459
- participantRegisteredDate?: string;
2439
+ export declare enum GenderEnum {
2440
+ OTHER = 1,
2441
+ MALE = 2,
2442
+ FEMALE = 3
2460
2443
  }
2461
- export interface ITokenResonse {
2462
- token: string;
2444
+ export declare enum LevelOfPlayEnum {
2445
+ BEGINNER = 1,
2446
+ INTERMEDIATE = 2,
2447
+ ADVANCED = 3,
2448
+ SEMIPRO = 4,
2449
+ SPECTATOR = 5
2463
2450
  }
2464
- export interface IStripeBondInvoices {
2465
- paidStripePaymentIntent: Stripe.PaymentIntent;
2466
- bondPaidPayment: Payment;
2467
- invoice?: Invoice;
2468
- customer?: Customer;
2451
+ export declare enum ProgramTypesEnum {
2452
+ LEAGUE = 0,
2453
+ TOURNAMENT = 1,
2454
+ CLASS = 2,
2455
+ CLINIC = 3,
2456
+ CAMP = 4,
2457
+ LESSON = 5,
2458
+ CLUB_TEAM = 6
2469
2459
  }
2470
- export interface IPartialPaymentData {
2471
- purchasingUserId: number;
2472
- paymentData: PurchasePaymentDto;
2473
- amountToPay: number;
2474
- }
2475
- export interface IPayment {
2476
- id: number;
2477
- total: number;
2478
- paymentMethod: PaymentMethodTypeEnum;
2479
- status: PaymentStatusEnum;
2480
- createdAt: Date;
2481
- invoices: number[];
2482
- }
2483
- export interface IPaginationData<T> {
2484
- meta: {
2485
- totalItems: number;
2486
- itemsPerPage: number;
2487
- totalPages: number;
2488
- currentPage: number;
2489
- };
2490
- data: T[];
2491
- }
2492
- export interface IPricesOfProductsResults {
2493
- productId: number;
2494
- userId: number;
2495
- price: number;
2496
- groupId?: number;
2497
- groupName?: string;
2498
- originalPrice?: number;
2499
- priceWithoutTax: number;
2500
- tax: number;
2501
- isTaxInclusive: boolean;
2502
- }
2503
- export interface IPaymentMethodToFundLeft {
2504
- paymentType: PaymentMethodTypeEnum;
2505
- paymentMethodId: string;
2506
- fundLeft: number;
2507
- ccLast4?: string;
2508
- ccBrand?: string;
2509
- }
2510
- export interface IVariantsAndTitle {
2511
- title: VariantTitle;
2512
- variants: Variant[];
2513
- }
2514
- export interface IProgramSeasonActivityTimes {
2515
- dayOfWeek: number;
2516
- open: string;
2517
- close: string;
2518
- }
2519
- export interface IProgramSeasonActivityTimesAsDates {
2520
- date: string;
2521
- startTime: string;
2522
- endTime: string;
2523
- }
2524
- export interface IBlockedDates {
2525
- name: string;
2526
- startDate: Date;
2527
- endDate: Date;
2528
- }
2529
- export interface ISingleMemberForRenewal {
2530
- member_id: number;
2531
- member_membershipId: number;
2532
- member_userId: number;
2533
- member_nextPaymentMethodId?: string;
2534
- member_nextPaymentType?: PaymentMethodTypeEnum;
2535
- member_answerTitleIds?: number[];
2536
- member_organizationId: number;
2537
- product_productPrice: number;
2538
- product_productId: number;
2539
- invoice_payingUserId: number;
2540
- invoice_paymentMethodId: string;
2541
- invoice_paymentType: PaymentMethodTypeEnum;
2542
- endDate: Date;
2543
- membership_name: string;
2544
- user_firstName: string;
2545
- user_lastName: string;
2546
- user_email: string;
2547
- }
2548
- export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
2549
- package_parentProductId: number;
2550
- product2_productPrice: number;
2551
- familyid: number;
2552
- invoice_id: number;
2553
- }
2554
- export interface IResourceRegistrationData {
2555
- id: number;
2556
- resourceType: ResourceNameTypeEnum;
2557
- openNumDays?: number;
2558
- openNumMinutes?: number;
2559
- openTime?: string;
2560
- closeNumDays?: number;
2561
- closeNumMinutes?: number;
2562
- closeTime?: string;
2563
- registrationWindowStatus?: RegistrationWindowStatusEnum;
2564
- }
2565
- export interface IResourceDataForConstraintsCalc {
2566
- id: number;
2567
- startDate: string;
2568
- startTime: string;
2569
- }
2570
- export interface IRegistrationConstraintsSetting {
2571
- numDays?: number;
2572
- numMinutes?: number;
2573
- }
2574
- export interface IAttendeeDataToNotify {
2575
- firstName: string;
2576
- lastName: string;
2577
- email: string;
2578
- sessionName: string;
2579
- parentSessionName?: string;
2580
- organizationName: string;
2581
- programName: string;
2582
- }
2583
- export interface IEventInSchedule {
2584
- eventId: number;
2585
- eventName: string;
2586
- eventStartDate: string;
2587
- eventEndDate: string;
2588
- eventStartTime: string;
2589
- eventEndTime: string;
2590
- programId: number;
2591
- programName: string;
2592
- programType: ProgramTypesEnum;
2593
- sessionId: number;
2594
- sessionName: string;
2595
- sports: number;
2596
- spaces: {
2597
- spaceId: number;
2598
- spaceName: string;
2599
- }[];
2600
- status?: RegistrationValidationStatusEnum;
2601
- }
2602
- export interface ISlotInSchedule {
2603
- facilityId: number;
2604
- facilityName: string;
2605
- spaces: ISpaceWithSlots[];
2606
- }
2607
- export interface ISpaceWithSlots {
2608
- id: number;
2609
- name: string;
2610
- slots: ISlotReservationData[];
2611
- }
2612
- export interface ISlotReservationData {
2613
- reservationId: number;
2614
- reservationName: string;
2615
- date: string;
2616
- startTime: string;
2617
- endTime: string;
2618
- notes: string;
2619
- spaceId: number;
2620
- isRental: boolean;
2621
- slotType: SlotTypeEnum;
2622
- slotId: number;
2623
- eventId: number;
2624
- isPrivate: boolean;
2625
- }
2626
- export interface IRawEventInSchedule extends IEventInSchedule {
2627
- parentSessionId: number;
2628
- parentSessionName: string;
2629
- eventTimezone: string;
2630
- maxParticipants: number;
2631
- maxMaleParticipants: number;
2632
- maxFemaleParticipants: number;
2633
- isPunchCard: boolean;
2634
- }
2635
- export interface IBasicSpaceAndSlotCreator {
2636
- id: number;
2637
- name: string;
2638
- bookingCreatorId: number;
2639
- }
2640
- export interface IRawSlotInSchedule {
2641
- startDate: string;
2642
- endDate: string;
2643
- startTime: string;
2644
- endTime: string;
2645
- reservationId: number;
2646
- eventTitle: string;
2647
- publicNotes: string;
2648
- spaceId: number;
2649
- creatorType: ResourceNameTypeEnum;
2650
- slotType: SlotTypeEnum;
2651
- slotId: number;
2652
- eventId: number;
2653
- isPrivate: boolean;
2654
- }
2655
- export interface IPurchasedResourcesRaw {
2656
- purchasedId: number;
2657
- purchasedProductUserId: number;
2658
- purchasedResourceId: number;
2659
- purchasedResourceType: ResourceNameTypeEnum;
2660
- purchasedStatus: PurchasedResourceStatusEnum;
2661
- pUserId: number;
2662
- pUserPaymentStatus: PaymentStatusEnum;
2663
- pUserProductId: number;
2664
- pUserProductName: string;
2665
- pUserProductPrice: number;
2666
- pUserProductPriceCurrency: string;
2667
- pUserProductQuantity: number;
2668
- pUserProductQuantityLeft: number;
2669
- pUserUserId: number;
2670
- }
2671
- export interface IUsersPasses {
2672
- userId: number;
2673
- userFirstName: string;
2674
- userLastName: string;
2675
- organizationId: number;
2676
- programId: number;
2677
- programName: string;
2678
- sessionId: number;
2679
- sessionName: string;
2680
- productId: number;
2681
- productName: string;
2682
- productUserId: number;
2683
- purchaseDate: Date;
2684
- passesLeft: number;
2685
- }
2686
- export interface ISessionsLandingPage {
2687
- sessionId: number;
2688
- name: string;
2689
- startDate: Date;
2690
- endDate: Date;
2691
- registrationStartDate: Date;
2692
- registrationEndDate: Date;
2693
- sport: SportsEnum;
2694
- minAge: string;
2695
- maxAge: string;
2696
- maxParticipants?: number;
2697
- gender: GenderEnum;
2698
- activityTimes: ActivityTimes[];
2699
- earlyRegistrationStartDate?: Date;
2700
- earlyRegistrationEndDate?: Date;
2701
- lateRegistrationStartDate?: Date;
2702
- lateRegistrationEndDate?: Date;
2703
- attendeeCount?: number;
2704
- segmentsOrEvents: 'segment' | 'event';
2705
- }
2706
- export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
2707
- hasRequiredMembership: boolean;
2708
- hasEntitledPricing: boolean;
2709
- lowestPrice?: number;
2710
- products?: ISessionLandingPageProduct[];
2711
- }
2712
- export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
2713
- hasRequiredMembership: boolean;
2714
- hasEntitledPricing: boolean;
2715
- products?: ISessionLandingPageProduct[];
2716
- segments?: Event[] | ProgramSeason[];
2717
- programName: string;
2718
- programId: number;
2719
- levelOfPlay: LevelOfPlayEnum[];
2720
- registrationConstraints: IResourceRegistrationData[];
2721
- }
2722
- export interface ISlimAddons {
2723
- addons?: {
2724
- id: number;
2725
- timePeriod: AddonTimePeriodEnum;
2726
- name: string;
2727
- productType?: ProductTypesEnum;
2728
- productSubType?: string;
2729
- }[];
2730
- }
2731
- export interface ISessionLandingPageProduct extends ISlimAddons {
2732
- id: number;
2733
- name: string;
2734
- startDate?: Date;
2735
- endDate?: Date;
2736
- downpayment?: number;
2737
- description?: string;
2738
- prices: Price[];
2739
- productSubType?: ProductSubTypesEnum;
2740
- punchCard: boolean;
2741
- isAddon: boolean;
2742
- defaultPriceId?: number;
2743
- }
2744
- export interface CreatePaymentIntentDto extends PurchaseRequestDto {
2745
- destinationId?: string;
2746
- stripeCustomerId?: string;
2747
- fee?: number;
2748
- }
2749
- export interface IReservationCreatorData {
2750
- type: ResourceNameTypeEnum;
2751
- id: number;
2752
- organizationId: number;
2753
- startDate: string;
2754
- endDate: string;
2755
- sportId: number;
2756
- }
2757
- export declare enum EntitlementTermsTypesEnum {
2758
- QUESTION = "question",
2759
- CITY = "city",
2760
- MEMBERSHIP = "membership"
2761
- }
2762
- export declare enum ResourceNameTypeEnum {
2763
- EVENT = "event",
2764
- VENUE = "venue",
2765
- TEAM = "team",
2766
- LEAGUE = "league",
2767
- USER = "user",
2768
- ORGANIZATION = "organization",
2769
- APP = "app",
2770
- FEED = "feed",
2771
- MATCH = "match",
2772
- ROUND = "round",
2773
- PORTAL = "portal",
2774
- SEASON = "season",
2775
- TOURNAMENT = "tournament",
2776
- MEMBERSHIP = "membership",
2777
- DIVISION = "division",
2778
- GAMESLOT = "gameslot",
2779
- SPACE = "space",
2780
- RESERVATION = "reservation",
2781
- INVOICE = "invoice",
2782
- CUSTOMER = "customer",
2783
- PACKAGE = "package",
2784
- FACILITY = "facility",
2785
- PROGRAM = "program",
2786
- PROGRAM_SEASON = "program_season",
2787
- PRODUCT = "product",
2788
- GROUP = "group",
2789
- VARIANT = "variant",
2790
- SLOT = "slot",
2791
- ADDON = "addon"
2792
- }
2793
- export declare enum DirectBookingTypesEnum {
2794
- DIRECT_FOR_ALL = "all",
2795
- DIRECT_FOR_NONE = "none",
2796
- DIRECT_VETTED_ONLY = "vetted_only",
2797
- NO_SETTING = "no_setting"
2798
- }
2799
- export declare enum GenderEnum {
2800
- OTHER = 1,
2801
- MALE = 2,
2802
- FEMALE = 3
2803
- }
2804
- export declare enum LevelOfPlayEnum {
2805
- BEGINNER = 1,
2806
- INTERMEDIATE = 2,
2807
- ADVANCED = 3,
2808
- SEMIPRO = 4,
2809
- SPECTATOR = 5
2810
- }
2811
- export declare enum ProgramTypesEnum {
2812
- LEAGUE = 0,
2813
- TOURNAMENT = 1,
2814
- CLASS = 2,
2815
- CLINIC = 3,
2816
- CAMP = 4,
2817
- LESSON = 5,
2818
- CLUB_TEAM = 6
2819
- }
2820
- export declare enum ProgramSeasonTypesEnum {
2821
- ROUND_ROBIN = 1,
2822
- BRACKETS = 2,
2823
- CAMP_CLINIC_CLASS = 3
2460
+ export declare enum ProgramSeasonTypesEnum {
2461
+ ROUND_ROBIN = 1,
2462
+ BRACKETS = 2,
2463
+ CAMP_CLINIC_CLASS = 3
2824
2464
  }
2825
2465
  export declare enum SportsEnum {
2826
2466
  SOFTBALL = 1,
@@ -2994,6 +2634,7 @@ export declare enum PaymentMethodTypeEnum {
2994
2634
  BALANCE = "balance",
2995
2635
  CARD_ON_TERMINAL = "card-on-terminal",
2996
2636
  OTHER = "other",
2637
+ LOST_DEBT = "lost-debt",
2997
2638
  MIGRATED = "migrated",
2998
2639
  VOID = "void",
2999
2640
  GIFT_CARD = "gift-card"
@@ -3112,207 +2753,558 @@ export declare enum ResourceSubTypeEnum {
3112
2753
  SHELTER = "shelter",
3113
2754
  GOLF_SIMULATOR = "golf simulator"
3114
2755
  }
3115
- export declare enum ResourceTypeEnum {
3116
- SPACE = "space"
2756
+ export declare enum ResourceTypeEnum {
2757
+ SPACE = "space"
2758
+ }
2759
+ export declare enum ResourceAgesEnum {
2760
+ ADULTS = "adults",
2761
+ CHILDREN = "children"
2762
+ }
2763
+ export declare enum SpacePropertiesEnum {
2764
+ OUTDOOR = "outdoor",
2765
+ INDOOR = "indoor"
2766
+ }
2767
+ export declare enum SurfacesEnum {
2768
+ GRASS = "grass",
2769
+ TURF = "turf",
2770
+ FIELD_TURF = "fieldTurf",
2771
+ ASTRO_TURF = "astroTurf",
2772
+ HARDWOOD = "hardwood",
2773
+ ASPHALT = "asphalt",
2774
+ SAND = "sand",
2775
+ ICE = "ice",
2776
+ SPORT_COURT = "sportCourt"
2777
+ }
2778
+ export declare enum RegistrationConstraintPeriodTypeEnum {
2779
+ MINUTES = "minutes",
2780
+ DAYS = "days"
2781
+ }
2782
+ export declare enum RegistrationWindowStatusEnum {
2783
+ NOT_OPEN_YET = "not_opened_yet",
2784
+ OPEN = "open",
2785
+ CLOSED = "closed"
2786
+ }
2787
+ export declare enum RegistrationValidationStatusEnum {
2788
+ FULL = "full",
2789
+ ALREADY_REGISTERED = "registered",
2790
+ AVAILABLE = "available",
2791
+ NOT_OPEN_YET = "not opened",
2792
+ ALREADY_CLOSED = "closed",
2793
+ NO_PRODUCT_FOUND = "no-product-found"
2794
+ }
2795
+ export declare enum DiscountMethodsEnum {
2796
+ PERCENT = "percent",
2797
+ AMOUNT = "amount"
2798
+ }
2799
+ export declare enum UserAuthorizationsTypeEnum {
2800
+ ORGANIZATION = "organization"
2801
+ }
2802
+ export declare enum OrganizationLocaleDateEnum {
2803
+ USA = "USA"
2804
+ }
2805
+ export declare enum DateTimeFormatsEnum {
2806
+ API_DATE = "YYYY/MM/DD",
2807
+ API_TIME = "HH:mm:ss",
2808
+ DB_DATE = "YYYY-MM-DD"
2809
+ }
2810
+ export declare enum SlotTypeEnum {
2811
+ EXTERNAL = "external",
2812
+ INTERNAL = "internal",
2813
+ MAINTENANCE = "maintenance",
2814
+ CUSTOM = "custom"
2815
+ }
2816
+ export declare enum PlatformsEnum {
2817
+ CONSUMER = "consumer",
2818
+ CONSUMER_CHECKOUT = "consumer_checkout",
2819
+ BO = "backoffice",
2820
+ MOBILE = "mobile",
2821
+ CRON = "cron"
2822
+ }
2823
+ export declare enum ShiftStatusEnum {
2824
+ OPEN = "open",
2825
+ CLOSED = "closed",
2826
+ MANAGMENT_CLOSED = "closed_by_manager",
2827
+ RECONCILED = "reconciled"
2828
+ }
2829
+ export declare enum EventStatusEnum {
2830
+ OPEN = 1,
2831
+ DRAFT = 2,
2832
+ FULL = 3,
2833
+ CANCELLED = 4,
2834
+ CLOSED = 5,
2835
+ DELETED = 6
2836
+ }
2837
+ export declare enum ReservationTypeEnum {
2838
+ RENTAL = "rental",
2839
+ PROGRAM = "program",
2840
+ MAINTENANCE = "maintenance",
2841
+ CUSTOM = "custom",
2842
+ INTERNAL = "internal"
2843
+ }
2844
+ export declare enum SlotDurationTypeEnum {
2845
+ DATES = "dates",
2846
+ ALL_DAY = "all day",
2847
+ DURATION = "duration"
2848
+ }
2849
+ export declare enum DurationUnitTypesEnum {
2850
+ MINUTES = "minutes",
2851
+ HOURS = "hours"
2852
+ }
2853
+ export declare enum FrequencyEnum {
2854
+ NONE = "none",
2855
+ WEEKLY = "weekly",
2856
+ DAILY = "daily",
2857
+ MONTHLY = "monthly",
2858
+ YEARLY = "yearly"
2859
+ }
2860
+ export declare enum MaintenanceTimingEnum {
2861
+ BEFORE = 1,
2862
+ AFTER = 2,
2863
+ AT_THE_BEGINING = 3,
2864
+ AT_THE_END = 4
2865
+ }
2866
+ export declare enum CreatorTypeEnum {
2867
+ SPACE = "space",
2868
+ PROGRAM_SEASON = "program_season",
2869
+ SEASON = "season"
2870
+ }
2871
+ export declare enum UpdatePricesTypeEnum {
2872
+ INDIVIDUAL = "indvidual",
2873
+ CATEGORY = "category",
2874
+ GLOBAL = "global"
2875
+ }
2876
+ export declare enum BondDayOfWeekEnum {
2877
+ MONDAY = 2,
2878
+ TUESDAY = 3,
2879
+ WEDNESDAY = 4,
2880
+ THURSDAY = 5,
2881
+ FRIDAY = 6,
2882
+ SATURDAY = 7,
2883
+ SUNDAY = 8
2884
+ }
2885
+ export declare enum ReservationMigrationStatusEnum {
2886
+ NEW = "new",
2887
+ NO = "no",
2888
+ YES = "yes"
2889
+ }
2890
+ export declare enum ProductPackageLevelEnum {
2891
+ HOUR = "hour",
2892
+ SLOT = "slot",
2893
+ RESERVATION = "reservation"
2894
+ }
2895
+ export declare enum CancellationStatusEnum {
2896
+ IMMEDIATE = "immediate",
2897
+ AUTO_RENEWAL = "auto_renewal"
2898
+ }
2899
+ export declare enum SeasonScheduleStatusEnum {
2900
+ DRAFT = 0,
2901
+ PUBLISHED = 1
2902
+ }
2903
+ export declare enum FinancialStepEnum {
2904
+ VOID = "void",
2905
+ REFUND = "refund",
2906
+ NONE = "none",
2907
+ REFUND_AND_VOID = "refund-and-void",
2908
+ APPEND = "append"
2909
+ }
2910
+ export declare enum StripeAccountTypesEnum {
2911
+ STRIPE = "stripe",
2912
+ STRIPE_CUSTOM = "stripe:account:custom",
2913
+ STRIPE_CUSTOMER = "stripe:customer"
2914
+ }
2915
+ export declare enum LinkedAccountStatus {
2916
+ PENDING = 1,
2917
+ ACTIVE = 2,
2918
+ PRE_PENDING = 3
2919
+ }
2920
+ export declare enum AddonParentTypeEnum {
2921
+ RESERVATION = "reservation",
2922
+ SLOT = "slot"
2923
+ }
2924
+ export declare enum EEmailStatus {
2925
+ SENT = "sent",
2926
+ OPENED = "opened",
2927
+ PAID = "paid",
2928
+ CANCELED = "canceled"
2929
+ }
2930
+ export declare enum PaymentSettingStatusEnum {
2931
+ ENABLED = 1,
2932
+ DISABLED_REDIRECT = 2,
2933
+ DISABLED_INFO_ONLY = 3,
2934
+ DISABLED_EMAIL = 4
2935
+ }
2936
+ export declare enum NotifyMethodEnum {
2937
+ EMAIL = "Email"
2938
+ }
2939
+ export declare enum EComparisonFilter {
2940
+ LessThan = "lt",
2941
+ GreaterOrEqualTo = "gte"
2942
+ }
2943
+ export interface IEntitlementTerms {
2944
+ type: EntitlementTermsTypesEnum;
2945
+ id?: number;
2946
+ value?: string;
2947
+ minValue?: string;
2948
+ maxValue?: string;
2949
+ }
2950
+ export interface IQuestionAnswerObject {
2951
+ questionId: number;
2952
+ value: string;
2953
+ }
2954
+ export interface ILowestPriceForItem {
2955
+ itemId: number;
2956
+ itemType: ResourceNameTypeEnum;
2957
+ groupId: number;
2958
+ groupName?: string;
2959
+ price: number;
2960
+ overridesPrice: boolean;
2961
+ }
2962
+ export interface IResourcesAvailability {
2963
+ resourceType: ResourceNameTypeEnum;
2964
+ quantity: number;
2965
+ resourcesIds: number[];
2966
+ isPunchCard: boolean;
2967
+ resources?: any[];
2968
+ }
2969
+ export interface IPackageResponse {
2970
+ parentProduct: Product;
2971
+ children: IChildProduct[];
2972
+ }
2973
+ export interface IChildProduct {
2974
+ product: Product;
2975
+ relationType: PackageProductsRelationTypeEnum;
2976
+ timePeriod?: AddonTimePeriodEnum;
2977
+ }
2978
+ export interface ISeasonAttendeeInfo {
2979
+ applicationAnswers: Answer[];
2980
+ segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
2981
+ invoices: Invoice[];
2982
+ payments: Payment[];
2983
+ products: Product[];
2984
+ redeemNext: ProductsUsers;
2985
+ }
2986
+ export interface ISeasonAttendeeListInfo {
2987
+ userId: number;
2988
+ userFirstName: string;
2989
+ userLastName: string;
2990
+ userGender: number;
2991
+ userBirthDate: Date;
2992
+ userProfilePicUrl: string;
2993
+ customerId: number;
2994
+ customerEmail: string;
2995
+ paymentStatus: string;
2996
+ productName: string;
2997
+ punchCard: boolean;
3117
2998
  }
3118
- export declare enum ResourceAgesEnum {
3119
- ADULTS = "adults",
3120
- CHILDREN = "children"
2999
+ export declare class SeasonAsSeasonSegment extends ProgramSeason {
3000
+ segmentType: ResourceNameTypeEnum;
3001
+ participantRegisteredDate?: string;
3121
3002
  }
3122
- export declare enum SpacePropertiesEnum {
3123
- OUTDOOR = "outdoor",
3124
- INDOOR = "indoor"
3003
+ export declare class EventAsSeasonSegment extends Event {
3004
+ segmentType: ResourceNameTypeEnum;
3005
+ participantRegisteredDate?: string;
3125
3006
  }
3126
- export declare enum SurfacesEnum {
3127
- GRASS = "grass",
3128
- TURF = "turf",
3129
- FIELD_TURF = "fieldTurf",
3130
- ASTRO_TURF = "astroTurf",
3131
- HARDWOOD = "hardwood",
3132
- ASPHALT = "asphalt",
3133
- SAND = "sand",
3134
- ICE = "ice",
3135
- SPORT_COURT = "sportCourt"
3007
+ export interface ITokenResonse {
3008
+ token: string;
3136
3009
  }
3137
- export declare enum RegistrationConstraintPeriodTypeEnum {
3138
- MINUTES = "minutes",
3139
- DAYS = "days"
3010
+ export interface IStripeBondInvoices {
3011
+ paidStripePaymentIntent: Stripe.PaymentIntent;
3012
+ bondPaidPayment: Payment;
3013
+ invoice?: Invoice;
3014
+ customer?: Customer;
3140
3015
  }
3141
- export declare enum RegistrationWindowStatusEnum {
3142
- NOT_OPEN_YET = "not_opened_yet",
3143
- OPEN = "open",
3144
- CLOSED = "closed"
3016
+ export interface IPartialPaymentData {
3017
+ purchasingUserId: number;
3018
+ paymentData: PurchasePaymentDto;
3019
+ amountToPay: number;
3145
3020
  }
3146
- export declare enum RegistrationValidationStatusEnum {
3147
- FULL = "full",
3148
- ALREADY_REGISTERED = "registered",
3149
- AVAILABLE = "available",
3150
- NOT_OPEN_YET = "not opened",
3151
- ALREADY_CLOSED = "closed",
3152
- NO_PRODUCT_FOUND = "no-product-found"
3021
+ export interface IPayment {
3022
+ id: number;
3023
+ total: number;
3024
+ paymentMethod: PaymentMethodTypeEnum;
3025
+ status: PaymentStatusEnum;
3026
+ createdAt: Date;
3027
+ invoices: number[];
3153
3028
  }
3154
- export declare enum DiscountMethodsEnum {
3155
- PERCENT = "percent",
3156
- AMOUNT = "amount"
3029
+ export interface IPaginationData<T> {
3030
+ meta: {
3031
+ totalItems: number;
3032
+ itemsPerPage: number;
3033
+ totalPages: number;
3034
+ currentPage: number;
3035
+ };
3036
+ data: T[];
3157
3037
  }
3158
- export declare enum UserAuthorizationsTypeEnum {
3159
- ORGANIZATION = "organization"
3038
+ export interface IPricesOfProductsResults {
3039
+ productId: number;
3040
+ userId: number;
3041
+ price: number;
3042
+ groupId?: number;
3043
+ groupName?: string;
3044
+ originalPrice?: number;
3045
+ priceWithoutTax: number;
3046
+ tax: number;
3047
+ isTaxInclusive: boolean;
3160
3048
  }
3161
- export declare enum OrganizationLocaleDateEnum {
3162
- USA = "USA"
3049
+ export interface IPaymentMethodToFundLeft {
3050
+ paymentType: PaymentMethodTypeEnum;
3051
+ paymentMethodId: string;
3052
+ fundLeft: number;
3053
+ ccLast4?: string;
3054
+ ccBrand?: string;
3163
3055
  }
3164
- export declare enum DateTimeFormatsEnum {
3165
- API_DATE = "YYYY/MM/DD",
3166
- API_TIME = "HH:mm:ss",
3167
- DB_DATE = "YYYY-MM-DD"
3056
+ export interface IVariantsAndTitle {
3057
+ title: VariantTitle;
3058
+ variants: Variant[];
3168
3059
  }
3169
- export declare enum SlotTypeEnum {
3170
- EXTERNAL = "external",
3171
- INTERNAL = "internal",
3172
- MAINTENANCE = "maintenance",
3173
- CUSTOM = "custom"
3060
+ export interface IProgramSeasonActivityTimes {
3061
+ dayOfWeek: number;
3062
+ open: string;
3063
+ close: string;
3174
3064
  }
3175
- export declare enum PlatformsEnum {
3176
- CONSUMER = "consumer",
3177
- CONSUMER_CHECKOUT = "consumer_checkout",
3178
- BO = "backoffice",
3179
- MOBILE = "mobile",
3180
- CRON = "cron"
3065
+ export interface IProgramSeasonActivityTimesAsDates {
3066
+ date: string;
3067
+ startTime: string;
3068
+ endTime: string;
3181
3069
  }
3182
- export declare enum ShiftStatusEnum {
3183
- OPEN = "open",
3184
- CLOSED = "closed",
3185
- MANAGMENT_CLOSED = "closed_by_manager",
3186
- RECONCILED = "reconciled"
3070
+ export interface IBlockedDates {
3071
+ name: string;
3072
+ startDate: Date;
3073
+ endDate: Date;
3187
3074
  }
3188
- export declare enum EventStatusEnum {
3189
- OPEN = 1,
3190
- DRAFT = 2,
3191
- FULL = 3,
3192
- CANCELLED = 4,
3193
- CLOSED = 5,
3194
- DELETED = 6
3075
+ export interface ISingleMemberForRenewal {
3076
+ member_id: number;
3077
+ member_membershipId: number;
3078
+ member_userId: number;
3079
+ member_nextPaymentMethodId?: string;
3080
+ member_nextPaymentType?: PaymentMethodTypeEnum;
3081
+ member_answerTitleIds?: number[];
3082
+ member_organizationId: number;
3083
+ product_productPrice: number;
3084
+ product_productId: number;
3085
+ invoice_payingUserId: number;
3086
+ invoice_paymentMethodId: string;
3087
+ invoice_paymentType: PaymentMethodTypeEnum;
3088
+ endDate: Date;
3089
+ membership_name: string;
3090
+ user_firstName: string;
3091
+ user_lastName: string;
3092
+ user_email: string;
3195
3093
  }
3196
- export declare enum ReservationTypeEnum {
3197
- RENTAL = "rental",
3198
- PROGRAM = "program",
3199
- MAINTENANCE = "maintenance",
3200
- CUSTOM = "custom",
3201
- INTERNAL = "internal"
3094
+ export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
3095
+ package_parentProductId: number;
3096
+ product2_productPrice: number;
3097
+ familyid: number;
3098
+ invoice_id: number;
3202
3099
  }
3203
- export declare enum SlotDurationTypeEnum {
3204
- DATES = "dates",
3205
- ALL_DAY = "all day",
3206
- DURATION = "duration"
3100
+ export interface IResourceRegistrationData {
3101
+ id: number;
3102
+ resourceType: ResourceNameTypeEnum;
3103
+ openNumDays?: number;
3104
+ openNumMinutes?: number;
3105
+ openTime?: string;
3106
+ closeNumDays?: number;
3107
+ closeNumMinutes?: number;
3108
+ closeTime?: string;
3109
+ registrationWindowStatus?: RegistrationWindowStatusEnum;
3207
3110
  }
3208
- export declare enum DurationUnitTypesEnum {
3209
- MINUTES = "minutes",
3210
- HOURS = "hours"
3111
+ export interface IResourceDataForConstraintsCalc {
3112
+ id: number;
3113
+ startDate: string;
3114
+ startTime: string;
3211
3115
  }
3212
- export declare enum FrequencyEnum {
3213
- NONE = "none",
3214
- WEEKLY = "weekly",
3215
- DAILY = "daily",
3216
- MONTHLY = "monthly",
3217
- YEARLY = "yearly"
3116
+ export interface IRegistrationConstraintsSetting {
3117
+ numDays?: number;
3118
+ numMinutes?: number;
3218
3119
  }
3219
- export declare enum MaintenanceTimingEnum {
3220
- BEFORE = 1,
3221
- AFTER = 2,
3222
- AT_THE_BEGINING = 3,
3223
- AT_THE_END = 4
3120
+ export interface IAttendeeDataToNotify {
3121
+ firstName: string;
3122
+ lastName: string;
3123
+ email: string;
3124
+ sessionName: string;
3125
+ parentSessionName?: string;
3126
+ organizationName: string;
3127
+ programName: string;
3224
3128
  }
3225
- export declare enum CreatorTypeEnum {
3226
- SPACE = "space",
3227
- PROGRAM_SEASON = "program_season",
3228
- SEASON = "season"
3129
+ export interface IEventInSchedule {
3130
+ eventId: number;
3131
+ eventName: string;
3132
+ eventStartDate: string;
3133
+ eventEndDate: string;
3134
+ eventStartTime: string;
3135
+ eventEndTime: string;
3136
+ programId: number;
3137
+ programName: string;
3138
+ programType: ProgramTypesEnum;
3139
+ sessionId: number;
3140
+ sessionName: string;
3141
+ sports: number;
3142
+ spaces: {
3143
+ spaceId: number;
3144
+ spaceName: string;
3145
+ }[];
3146
+ status?: RegistrationValidationStatusEnum;
3229
3147
  }
3230
- export declare enum UpdatePricesTypeEnum {
3231
- INDIVIDUAL = "indvidual",
3232
- CATEGORY = "category",
3233
- GLOBAL = "global"
3148
+ export interface ISlotInSchedule {
3149
+ facilityId: number;
3150
+ facilityName: string;
3151
+ spaces: ISpaceWithSlots[];
3234
3152
  }
3235
- export declare enum BondDayOfWeekEnum {
3236
- MONDAY = 2,
3237
- TUESDAY = 3,
3238
- WEDNESDAY = 4,
3239
- THURSDAY = 5,
3240
- FRIDAY = 6,
3241
- SATURDAY = 7,
3242
- SUNDAY = 8
3153
+ export interface ISpaceWithSlots {
3154
+ id: number;
3155
+ name: string;
3156
+ slots: ISlotReservationData[];
3157
+ }
3158
+ export interface ISlotReservationData {
3159
+ reservationId: number;
3160
+ reservationName: string;
3161
+ date: string;
3162
+ startTime: string;
3163
+ endTime: string;
3164
+ notes: string;
3165
+ spaceId: number;
3166
+ isRental: boolean;
3167
+ slotType: SlotTypeEnum;
3168
+ slotId: number;
3169
+ eventId: number;
3170
+ isPrivate: boolean;
3243
3171
  }
3244
- export declare enum ReservationMigrationStatusEnum {
3245
- NEW = "new",
3246
- NO = "no",
3247
- YES = "yes"
3172
+ export interface IRawEventInSchedule extends IEventInSchedule {
3173
+ parentSessionId: number;
3174
+ parentSessionName: string;
3175
+ eventTimezone: string;
3176
+ maxParticipants: number;
3177
+ maxMaleParticipants: number;
3178
+ maxFemaleParticipants: number;
3179
+ isPunchCard: boolean;
3248
3180
  }
3249
- export declare enum ProductPackageLevelEnum {
3250
- HOUR = "hour",
3251
- SLOT = "slot",
3252
- RESERVATION = "reservation"
3181
+ export interface IBasicSpaceAndSlotCreator {
3182
+ id: number;
3183
+ name: string;
3184
+ bookingCreatorId: number;
3253
3185
  }
3254
- export declare enum CancellationStatusEnum {
3255
- IMMEDIATE = "immediate",
3256
- AUTO_RENEWAL = "auto_renewal"
3186
+ export interface IRawSlotInSchedule {
3187
+ startDate: string;
3188
+ endDate: string;
3189
+ startTime: string;
3190
+ endTime: string;
3191
+ reservationId: number;
3192
+ eventTitle: string;
3193
+ publicNotes: string;
3194
+ spaceId: number;
3195
+ creatorType: ResourceNameTypeEnum;
3196
+ slotType: SlotTypeEnum;
3197
+ slotId: number;
3198
+ eventId: number;
3199
+ isPrivate: boolean;
3257
3200
  }
3258
- export declare enum SeasonScheduleStatusEnum {
3259
- DRAFT = 0,
3260
- PUBLISHED = 1
3201
+ export interface IPurchasedResourcesRaw {
3202
+ purchasedId: number;
3203
+ purchasedProductUserId: number;
3204
+ purchasedResourceId: number;
3205
+ purchasedResourceType: ResourceNameTypeEnum;
3206
+ purchasedStatus: PurchasedResourceStatusEnum;
3207
+ pUserId: number;
3208
+ pUserPaymentStatus: PaymentStatusEnum;
3209
+ pUserProductId: number;
3210
+ pUserProductName: string;
3211
+ pUserProductPrice: number;
3212
+ pUserProductPriceCurrency: string;
3213
+ pUserProductQuantity: number;
3214
+ pUserProductQuantityLeft: number;
3215
+ pUserUserId: number;
3261
3216
  }
3262
- export declare enum FinancialStepEnum {
3263
- VOID = "void",
3264
- REFUND = "refund",
3265
- NONE = "none",
3266
- REFUND_AND_VOID = "refund-and-void",
3267
- APPEND = "append"
3217
+ export interface IUsersPasses {
3218
+ userId: number;
3219
+ userFirstName: string;
3220
+ userLastName: string;
3221
+ organizationId: number;
3222
+ programId: number;
3223
+ programName: string;
3224
+ sessionId: number;
3225
+ sessionName: string;
3226
+ productId: number;
3227
+ productName: string;
3228
+ productUserId: number;
3229
+ purchaseDate: Date;
3230
+ passesLeft: number;
3268
3231
  }
3269
- export declare enum StripeAccountTypesEnum {
3270
- STRIPE = "stripe",
3271
- STRIPE_CUSTOM = "stripe:account:custom",
3272
- STRIPE_CUSTOMER = "stripe:customer"
3232
+ export interface ISessionsLandingPage {
3233
+ sessionId: number;
3234
+ name: string;
3235
+ startDate: Date;
3236
+ endDate: Date;
3237
+ registrationStartDate: Date;
3238
+ registrationEndDate: Date;
3239
+ sport: SportsEnum;
3240
+ minAge: string;
3241
+ maxAge: string;
3242
+ maxParticipants?: number;
3243
+ gender: GenderEnum;
3244
+ activityTimes: ActivityTimes[];
3245
+ earlyRegistrationStartDate?: Date;
3246
+ earlyRegistrationEndDate?: Date;
3247
+ lateRegistrationStartDate?: Date;
3248
+ lateRegistrationEndDate?: Date;
3249
+ attendeeCount?: number;
3250
+ segmentsOrEvents: 'segment' | 'event';
3273
3251
  }
3274
- export declare enum LinkedAccountStatus {
3275
- PENDING = 1,
3276
- ACTIVE = 2,
3277
- PRE_PENDING = 3
3252
+ export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
3253
+ hasRequiredMembership: boolean;
3254
+ hasEntitledPricing: boolean;
3255
+ lowestPrice?: number;
3256
+ products?: ISessionLandingPageProduct[];
3278
3257
  }
3279
- export declare enum AddonParentTypeEnum {
3280
- RESERVATION = "reservation",
3281
- SLOT = "slot"
3258
+ export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
3259
+ hasRequiredMembership: boolean;
3260
+ hasEntitledPricing: boolean;
3261
+ products?: ISessionLandingPageProduct[];
3262
+ segments?: Event[] | ProgramSeason[];
3263
+ programName: string;
3264
+ programId: number;
3265
+ levelOfPlay: LevelOfPlayEnum[];
3266
+ registrationConstraints: IResourceRegistrationData[];
3282
3267
  }
3283
- export declare enum EEmailStatus {
3284
- SENT = "sent",
3285
- OPENED = "opened",
3286
- PAID = "paid",
3287
- CANCELED = "canceled"
3268
+ export interface ISlimAddons {
3269
+ addons?: {
3270
+ id: number;
3271
+ timePeriod: AddonTimePeriodEnum;
3272
+ name: string;
3273
+ productType?: ProductTypesEnum;
3274
+ productSubType?: string;
3275
+ }[];
3288
3276
  }
3289
- export declare enum PaymentSettingStatusEnum {
3290
- ENABLED = 1,
3291
- DISABLED_REDIRECT = 2,
3292
- DISABLED_INFO_ONLY = 3,
3293
- DISABLED_EMAIL = 4
3277
+ export interface ISessionLandingPageProduct extends ISlimAddons {
3278
+ id: number;
3279
+ name: string;
3280
+ startDate?: Date;
3281
+ endDate?: Date;
3282
+ downpayment?: number;
3283
+ description?: string;
3284
+ prices: Price[];
3285
+ productSubType?: ProductSubTypesEnum;
3286
+ punchCard: boolean;
3287
+ isAddon: boolean;
3288
+ defaultPriceId?: number;
3294
3289
  }
3295
- export declare enum NotifyMethodEnum {
3296
- EMAIL = "Email"
3290
+ export interface CreatePaymentIntentDto extends PurchaseRequestDto {
3291
+ destinationId?: string;
3292
+ stripeCustomerId?: string;
3293
+ fee?: number;
3297
3294
  }
3298
- export declare enum EComparisonFilter {
3299
- LessThan = "lt",
3300
- GreaterOrEqualTo = "gte"
3295
+ export interface IReservationCreatorData {
3296
+ type: ResourceNameTypeEnum;
3297
+ id: number;
3298
+ organizationId: number;
3299
+ startDate: string;
3300
+ endDate: string;
3301
+ sportId: number;
3301
3302
  }
3302
3303
  export declare class ColumnNumericTransformer {
3303
3304
  to(data: number): number;
3304
3305
  from(data: string): number;
3305
3306
  }
3306
3307
  export declare function convertToNumber(data: string): number;
3307
- export declare class ProductIdsDto {
3308
- productIds?: number[];
3309
- }
3310
- export declare class ProductImportDto {
3311
- product: Product;
3312
- prices: Price[];
3313
- resourceIds: number[];
3314
- oldId: number;
3315
- }
3316
3308
  export declare enum ImportPaymentTypeEnum {
3317
3309
  CREDIT_CARD = "card",
3318
3310
  ACH = "ach",
@@ -3335,80 +3327,19 @@ export declare class ImportedInvoiceLineDto {
3335
3327
  resourceID: string;
3336
3328
  }
3337
3329
  export declare class ImportedInvoiceDto {
3338
- customerId?: string;
3339
- total?: string;
3340
- amountDue?: string;
3341
- payments?: ImportedPaymentDto[];
3342
- lines: any;
3343
- }
3344
- export declare class ImportedPaymentDto {
3345
- invoiceID: string;
3346
- type: ImportPaymentTypeEnum;
3347
- description: string;
3348
- paid: string;
3349
- date: string;
3350
- time: string;
3351
- }
3352
- export declare class PunchPassDto {
3353
- CustomerID: string;
3354
- QuantityLeft: number;
3355
- BondProgramID: number;
3356
- BondSessionID: number;
3357
- ProductID: number;
3358
- }
3359
- export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3360
- name?: string;
3361
- genderStr?: string;
3362
- parentID?: string;
3363
- partnerID?: string;
3364
- membershipName?: string;
3365
- membershipExpDate?: string;
3366
- membershipCreationDate?: string;
3367
- bondMembershipID?: number;
3368
- }
3369
- export declare class AddFamilyDto {
3370
- parents: AddImportedCustomerDto[];
3371
- children: AddImportedCustomerDto[];
3372
- }
3373
- export declare class GameSlots extends BondBaseEntity {
3374
- entityType: string;
3375
- entityId: number;
3376
- }
3377
- export declare class MatchParticipants extends BondBaseEntity {
3378
- matchId: number | null;
3379
- ordinal: number | null;
3380
- outcomeOrdinal: number | null;
3381
- resultMetaData: any | null;
3382
- points: number | null;
3383
- score: number | null;
3384
- gameSlotId: number | null;
3385
- }
3386
- export declare class Matches extends BondBaseEntity {
3387
- eventId: number | null;
3388
- status: number | null;
3389
- excludeStandings: boolean | null;
3390
- }
3391
- export declare class RoundEvents extends BaseEntity {
3392
- roundId: number;
3393
- eventId: number;
3394
- seriesId: number | null;
3395
- createdAt: Date;
3396
- updatedAt: Date;
3397
- }
3398
- export declare class SeasonRounds extends BondBaseEntity {
3399
- seasonId: number;
3400
- ordinal?: number;
3401
- divisionId?: number;
3402
- name: string;
3403
- }
3404
- export declare class Lock extends BondBaseEntity {
3405
- name: string;
3406
- locked?: Date;
3330
+ customerId?: string;
3331
+ total?: string;
3332
+ amountDue?: string;
3333
+ payments?: ImportedPaymentDto[];
3334
+ lines: any;
3407
3335
  }
3408
- export declare class TeamEvents extends BondBaseEntity {
3409
- teamId: number | null;
3410
- eventId: number | null;
3411
- status: number | null;
3336
+ export declare class ImportedPaymentDto {
3337
+ invoiceID: string;
3338
+ type: ImportPaymentTypeEnum;
3339
+ description: string;
3340
+ paid: string;
3341
+ date: string;
3342
+ time: string;
3412
3343
  }
3413
3344
  export declare class ImportedSlotProductDto {
3414
3345
  slotID?: string;
@@ -3461,6 +3392,49 @@ export declare class ImportedReservationDto {
3461
3392
  slots?: ImportedSlotDto[];
3462
3393
  addons?: ImportedSlotProductDto[];
3463
3394
  }
3395
+ export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3396
+ name?: string;
3397
+ genderStr?: string;
3398
+ parentID?: string;
3399
+ partnerID?: string;
3400
+ membershipName?: string;
3401
+ membershipExpDate?: string;
3402
+ membershipCreationDate?: string;
3403
+ bondMembershipID?: number;
3404
+ }
3405
+ export declare class AddFamilyDto {
3406
+ parents: AddImportedCustomerDto[];
3407
+ children: AddImportedCustomerDto[];
3408
+ }
3409
+ export declare class ProductIdsDto {
3410
+ productIds?: number[];
3411
+ }
3412
+ export declare class ProductImportDto {
3413
+ product: Product;
3414
+ prices: Price[];
3415
+ resourceIds: number[];
3416
+ oldId: number;
3417
+ }
3418
+ export declare class PunchPassDto {
3419
+ CustomerID: string;
3420
+ QuantityLeft: number;
3421
+ BondProgramID: number;
3422
+ BondSessionID: number;
3423
+ ProductID: number;
3424
+ }
3425
+ export declare class GameSlots extends BondBaseEntity {
3426
+ entityType: string;
3427
+ entityId: number;
3428
+ }
3429
+ export declare class TeamEvents extends BondBaseEntity {
3430
+ teamId: number | null;
3431
+ eventId: number | null;
3432
+ status: number | null;
3433
+ }
3434
+ export declare class Lock extends BondBaseEntity {
3435
+ name: string;
3436
+ locked?: Date;
3437
+ }
3464
3438
  export interface ValidatedMonthAndDay {
3465
3439
  valid: boolean;
3466
3440
  month?: number;
@@ -3470,6 +3444,13 @@ export interface ValidationReason {
3470
3444
  valid: boolean;
3471
3445
  reason?: string;
3472
3446
  }
3447
+ export declare class RoundEvents extends BaseEntity {
3448
+ roundId: number;
3449
+ eventId: number;
3450
+ seriesId: number | null;
3451
+ createdAt: Date;
3452
+ updatedAt: Date;
3453
+ }
3473
3454
  export interface PaymentStatus {
3474
3455
  parentId: number;
3475
3456
  paymentStatus: ReservationPaymentStatusEnum;
@@ -3482,16 +3463,40 @@ export interface PaymentStatusesDict {
3482
3463
  export interface PaymentStatusDict {
3483
3464
  [id: number]: ReservationPaymentStatusEnum;
3484
3465
  }
3466
+ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3467
+ facilityId: number;
3468
+ code: string;
3469
+ config?: any;
3470
+ }
3485
3471
  export declare class CreateMonitorConfigDto {
3486
3472
  facilityId: number;
3487
3473
  name: string;
3488
3474
  code: string;
3489
3475
  config: any;
3490
3476
  }
3491
- export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3492
- facilityId: number;
3493
- code: string;
3494
- config?: any;
3477
+ export declare class ByOrganizationIdDto {
3478
+ organizationId: number;
3479
+ }
3480
+ export declare class OptionalFindByOrganizationIdDto {
3481
+ organizationId?: number;
3482
+ }
3483
+ export declare class FindUnallocatedEventsIdsFiltersDto {
3484
+ programsIds?: string;
3485
+ sessionsIds?: string;
3486
+ segmentsIds?: string;
3487
+ startDate?: string;
3488
+ endDate?: string;
3489
+ months?: string;
3490
+ dow?: string;
3491
+ }
3492
+ export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
3493
+ programsIds?: string;
3494
+ sessionsIds?: string;
3495
+ segmentsIds?: string;
3496
+ startDate?: string;
3497
+ endDate?: string;
3498
+ months?: string;
3499
+ dow?: string;
3495
3500
  }
3496
3501
  export declare class NotifyTracker extends BondBaseEntity {
3497
3502
  userId: number;
@@ -3549,30 +3554,6 @@ export declare class Organization extends BondBaseEntity {
3549
3554
  brandings: OrganizationBranding[];
3550
3555
  brandingsV2?: OrganizationBranding[];
3551
3556
  }
3552
- export declare class ByOrganizationIdDto {
3553
- organizationId: number;
3554
- }
3555
- export declare class OptionalFindByOrganizationIdDto {
3556
- organizationId?: number;
3557
- }
3558
- export declare class FindUnallocatedEventsIdsFiltersDto {
3559
- programsIds?: string;
3560
- sessionsIds?: string;
3561
- segmentsIds?: string;
3562
- startDate?: string;
3563
- endDate?: string;
3564
- months?: string;
3565
- dow?: string;
3566
- }
3567
- export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
3568
- programsIds?: string;
3569
- sessionsIds?: string;
3570
- segmentsIds?: string;
3571
- startDate?: string;
3572
- endDate?: string;
3573
- months?: string;
3574
- dow?: string;
3575
- }
3576
3557
  export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
3577
3558
  key?: string;
3578
3559
  vaule?: string;
@@ -4062,6 +4043,23 @@ export declare class UpdateReservationInvoiceDto {
4062
4043
  updateAddons?: boolean;
4063
4044
  updateMaintenance?: boolean;
4064
4045
  }
4046
+ export declare class SeriesDto {
4047
+ id?: number;
4048
+ startDate: string;
4049
+ startTime?: string;
4050
+ endDate?: string;
4051
+ endTime?: string;
4052
+ slotDurationType: SlotDurationTypeEnum;
4053
+ durationEndsAfter?: number;
4054
+ durationUnit?: DurationUnitTypesEnum;
4055
+ frequency: FrequencyEnum;
4056
+ repeatEvery?: number;
4057
+ repeatOn?: number[];
4058
+ repeatEndDate?: string;
4059
+ numberOccurrences?: number;
4060
+ maintenance?: MaintenanceDto[];
4061
+ slots?: SlotDto[];
4062
+ }
4065
4063
  export declare class SegmentDto {
4066
4064
  id?: number;
4067
4065
  title: string;
@@ -4200,23 +4198,6 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
4200
4198
  previousProductUsersIds?: number[];
4201
4199
  previousProductUsers?: ProductsUsers[];
4202
4200
  }
4203
- export declare class SeriesDto {
4204
- id?: number;
4205
- startDate: string;
4206
- startTime?: string;
4207
- endDate?: string;
4208
- endTime?: string;
4209
- slotDurationType: SlotDurationTypeEnum;
4210
- durationEndsAfter?: number;
4211
- durationUnit?: DurationUnitTypesEnum;
4212
- frequency: FrequencyEnum;
4213
- repeatEvery?: number;
4214
- repeatOn?: number[];
4215
- repeatEndDate?: string;
4216
- numberOccurrences?: number;
4217
- maintenance?: MaintenanceDto[];
4218
- slots?: SlotDto[];
4219
- }
4220
4201
  export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
4221
4202
  deletedAt?: Date;
4222
4203
  reservationId: number;
@@ -4356,6 +4337,19 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
4356
4337
  conflictsCount?: number;
4357
4338
  conflicts?: Slot[];
4358
4339
  }
4340
+ export declare type TSlotAndType = {
4341
+ type: 'slots' | 'slot_addons';
4342
+ slotsForProduct: {
4343
+ [productId: number]: {
4344
+ product: Product;
4345
+ slots: SlotDto[];
4346
+ };
4347
+ };
4348
+ };
4349
+ export interface ILineItemResource {
4350
+ type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
4351
+ values: TResource[];
4352
+ }
4359
4353
  export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
4360
4354
  export declare type TResource = Reservation | Segment | Series | Slot | Addon;
4361
4355
  export interface ReservationV1 {
@@ -4575,42 +4569,6 @@ export interface AddonMetadata {
4575
4569
  totalPrice: number;
4576
4570
  product?: Product;
4577
4571
  }
4578
- export declare type TSlotAndType = {
4579
- type: 'slots' | 'slot_addons';
4580
- slotsForProduct: {
4581
- [productId: number]: {
4582
- product: Product;
4583
- slots: SlotDto[];
4584
- };
4585
- };
4586
- };
4587
- export interface ILineItemResource {
4588
- type: 'segments' | 'series' | 'slots' | 'reservation_addons' | 'slot_addons';
4589
- values: TResource[];
4590
- }
4591
- export declare class ChangeRolePermissionsDto {
4592
- permissionIds: number[];
4593
- }
4594
- export declare class CreateRoleDto {
4595
- name: string;
4596
- }
4597
- export declare class Permission extends BondBaseEntity {
4598
- name: string;
4599
- deletedAt?: Date;
4600
- }
4601
- export declare class Role extends OrganizationConnectionBaseEntity {
4602
- name: string;
4603
- deletedAt?: Date;
4604
- permissions: Permission[];
4605
- usersRoles: UserRole[];
4606
- }
4607
- export declare class UserRole extends OrganizationConnectionBaseEntity {
4608
- deletedAt?: Date;
4609
- userId: number;
4610
- roleId: number;
4611
- role: Role;
4612
- user: User;
4613
- }
4614
4572
  export declare class CloseShiftDto {
4615
4573
  closingCashAmount: number;
4616
4574
  }
@@ -4637,10 +4595,6 @@ export declare class FindShiftsFormattedFilters {
4637
4595
  startDate?: Date;
4638
4596
  endDate?: Date;
4639
4597
  }
4640
- export declare class OpenShiftDto {
4641
- openingCashAmount: number;
4642
- stationId: number;
4643
- }
4644
4598
  export declare class ShiftManagementClosingAmount {
4645
4599
  shiftId: number;
4646
4600
  managementClosingCashAmount: number;
@@ -4648,6 +4602,10 @@ export declare class ShiftManagementClosingAmount {
4648
4602
  export declare class ManagementClosingOfShiftsDto {
4649
4603
  managementClosingData: ShiftManagementClosingAmount[];
4650
4604
  }
4605
+ export declare class OpenShiftDto {
4606
+ openingCashAmount: number;
4607
+ stationId: number;
4608
+ }
4651
4609
  export declare class Shift extends OrganizationConnectionBaseEntity {
4652
4610
  stationId: number;
4653
4611
  station?: Station;
@@ -4677,6 +4635,29 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
4677
4635
  closingManager?: User;
4678
4636
  reconcilingUser?: User;
4679
4637
  }
4638
+ export declare class ChangeRolePermissionsDto {
4639
+ permissionIds: number[];
4640
+ }
4641
+ export declare class CreateRoleDto {
4642
+ name: string;
4643
+ }
4644
+ export declare class Permission extends BondBaseEntity {
4645
+ name: string;
4646
+ deletedAt?: Date;
4647
+ }
4648
+ export declare class Role extends OrganizationConnectionBaseEntity {
4649
+ name: string;
4650
+ deletedAt?: Date;
4651
+ permissions: Permission[];
4652
+ usersRoles: UserRole[];
4653
+ }
4654
+ export declare class UserRole extends OrganizationConnectionBaseEntity {
4655
+ deletedAt?: Date;
4656
+ userId: number;
4657
+ roleId: number;
4658
+ role: Role;
4659
+ user: User;
4660
+ }
4680
4661
  export default interface IWebflowProgram {
4681
4662
  name: string;
4682
4663
  id: number;
@@ -4690,3 +4671,23 @@ export default interface IWebflowProgram {
4690
4671
  level: string[];
4691
4672
  gender: string;
4692
4673
  }
4674
+ export declare class MatchParticipants extends BondBaseEntity {
4675
+ matchId: number | null;
4676
+ ordinal: number | null;
4677
+ outcomeOrdinal: number | null;
4678
+ resultMetaData: any | null;
4679
+ points: number | null;
4680
+ score: number | null;
4681
+ gameSlotId: number | null;
4682
+ }
4683
+ export declare class Matches extends BondBaseEntity {
4684
+ eventId: number | null;
4685
+ status: number | null;
4686
+ excludeStandings: boolean | null;
4687
+ }
4688
+ export declare class SeasonRounds extends BondBaseEntity {
4689
+ seasonId: number;
4690
+ ordinal?: number;
4691
+ divisionId?: number;
4692
+ name: string;
4693
+ }