@bondsports/types 0.0.193 → 0.0.195

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
@@ -16,13 +16,6 @@ export declare class FindBookingTypeSettingDto {
16
16
  bookingDate: string;
17
17
  bookingTime: string;
18
18
  }
19
- export declare enum EConfigurationKeys {
20
- MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
21
- }
22
- export declare enum EFailedPaymentReasons {
23
- CARD_BLOCKED = "card_blocked_by_bond",
24
- UNKNOWN = "unknown"
25
- }
26
19
  export declare class QuestionAnswersDto {
27
20
  questionId: number;
28
21
  value: any;
@@ -34,6 +27,13 @@ export declare class UserAnswersDto {
34
27
  export declare class GetByQuestionnaireIdsDto {
35
28
  questionnaireIds: string;
36
29
  }
30
+ export declare enum EConfigurationKeys {
31
+ MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
32
+ }
33
+ export declare enum EFailedPaymentReasons {
34
+ CARD_BLOCKED = "card_blocked_by_bond",
35
+ UNKNOWN = "unknown"
36
+ }
37
37
  export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
38
38
  membershipId: number;
39
39
  }
@@ -463,24 +463,6 @@ export declare class CreateGroupPricingWithProduct {
463
463
  discountValue?: number;
464
464
  discountMethod?: DiscountMethodsEnum;
465
465
  }
466
- export declare class CreateUpdateVariantsDto {
467
- organizationId: number;
468
- parentProductId: number;
469
- variantTitles: VariantTitleDto[];
470
- variants: VariantDto[];
471
- }
472
- export declare class VariantTitleDto {
473
- titleName: string;
474
- titleId: number;
475
- }
476
- export declare class VariantDto {
477
- name: string;
478
- price: number;
479
- variantId: number;
480
- currency: CurrencyEnum;
481
- startDate: Date;
482
- endDate: Date;
483
- }
484
466
  export declare class FindByProductIdDto {
485
467
  productId: number;
486
468
  }
@@ -513,6 +495,7 @@ export declare class CreateProductDto {
513
495
  organizationId: number;
514
496
  name: string;
515
497
  quantity?: number;
498
+ isAll?: boolean;
516
499
  isPublic: boolean;
517
500
  startDate?: Date;
518
501
  endDate?: Date;
@@ -702,57 +685,23 @@ export declare class createResourceDto {
702
685
  export declare class archiveDto {
703
686
  isArchive: boolean;
704
687
  }
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;
688
+ export declare class CreateUpdateVariantsDto {
727
689
  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;
690
+ parentProductId: number;
691
+ variantTitles: VariantTitleDto[];
692
+ variants: VariantDto[];
742
693
  }
743
- export declare class ProgramHighlightDto {
744
- data: string;
745
- ordinal: number;
746
- type: ProgramHighlightTypeEnum;
747
- title: string;
694
+ export declare class VariantTitleDto {
695
+ titleName: string;
696
+ titleId: number;
748
697
  }
749
- export declare class CreateResourceGroupDto {
698
+ export declare class VariantDto {
750
699
  name: string;
751
- parentSlotId: number;
752
- facilityId: number;
753
- childrenSlotIds: number[];
754
- }
755
- export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
700
+ price: number;
701
+ variantId: number;
702
+ currency: CurrencyEnum;
703
+ startDate: Date;
704
+ endDate: Date;
756
705
  }
757
706
  export declare class FindProgramSeasonsByProgramIdDto {
758
707
  programId: number;
@@ -945,6 +894,50 @@ export declare class MoveParticipantDto {
945
894
  resourceId: number;
946
895
  invoiceId: number;
947
896
  }
897
+ export declare class FindProgramsByOrganizationIdDto {
898
+ organizationId: number;
899
+ programType?: ProgramTypesEnum;
900
+ }
901
+ export declare class FindProgramByIdDto {
902
+ programId: number;
903
+ }
904
+ export declare class FindProgramByOrgIdAndIdDto {
905
+ programId: number;
906
+ organizationId: number;
907
+ }
908
+ export declare class BaseProgramDto {
909
+ type: ProgramTypesEnum;
910
+ name: string;
911
+ sport: SportsEnum;
912
+ minAge: string;
913
+ maxAge: string;
914
+ gender: GenderEnum;
915
+ level?: LevelOfPlayEnum[];
916
+ description?: string;
917
+ GL?: string;
918
+ status: PublishingStatusEnum;
919
+ organizationId: number;
920
+ userCreatorId: number;
921
+ highlights: ProgramHighlights[];
922
+ longDescription?: string;
923
+ requiredProductIds: number[];
924
+ }
925
+ export declare class CreateProgramDto extends BaseProgramDto {
926
+ }
927
+ export declare class UpdateProgramDto extends BaseProgramDto {
928
+ programId: number;
929
+ mainMediaId: number;
930
+ }
931
+ export declare class UpdateProgramStatusDto {
932
+ programId: number;
933
+ status: PublishingStatusEnum;
934
+ }
935
+ export declare class ProgramHighlightDto {
936
+ data: string;
937
+ ordinal: number;
938
+ type: ProgramHighlightTypeEnum;
939
+ title: string;
940
+ }
948
941
  export declare class PurchasePaymentDto {
949
942
  token: string;
950
943
  type: PaymentMethodTypeEnum;
@@ -1021,6 +1014,14 @@ export declare class PartialPaymentAsUserDto {
1021
1014
  export declare class ValidateParticipantDto {
1022
1015
  products: PurchaseProductDto[];
1023
1016
  }
1017
+ export declare class CreateResourceGroupDto {
1018
+ name: string;
1019
+ parentSlotId: number;
1020
+ facilityId: number;
1021
+ childrenSlotIds: number[];
1022
+ }
1023
+ export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
1024
+ }
1024
1025
  export declare class ResourceDto {
1025
1026
  type: ResourceNameTypeEnum;
1026
1027
  id: number;
@@ -1126,17 +1127,6 @@ export declare class ActivityTimes extends BondBaseEntity {
1126
1127
  proudct: Product;
1127
1128
  event: Event;
1128
1129
  }
1129
- export declare class Address extends BondBaseEntity {
1130
- city?: string;
1131
- street?: string;
1132
- streetNum?: string;
1133
- aptNum?: string;
1134
- zip?: string;
1135
- country?: string;
1136
- state?: string;
1137
- geo: any;
1138
- deletedAt?: Date;
1139
- }
1140
1130
  export declare class Answer extends OrganizationConnectionBaseEntity {
1141
1131
  questionId: number;
1142
1132
  question?: Questions;
@@ -1150,6 +1140,17 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
1150
1140
  metaData: any | null;
1151
1141
  questionText: string | null;
1152
1142
  }
1143
+ export declare class Address extends BondBaseEntity {
1144
+ city?: string;
1145
+ street?: string;
1146
+ streetNum?: string;
1147
+ aptNum?: string;
1148
+ zip?: string;
1149
+ country?: string;
1150
+ state?: string;
1151
+ geo: any;
1152
+ deletedAt?: Date;
1153
+ }
1153
1154
  export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
1154
1155
  questionnaireId: number;
1155
1156
  userId?: number;
@@ -1202,6 +1203,16 @@ export declare class Configuration extends BondBaseEntity {
1202
1203
  key: string;
1203
1204
  value: string;
1204
1205
  }
1206
+ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
1207
+ parentId: number;
1208
+ parentType: ResourceNameTypeEnum;
1209
+ startDate: Date;
1210
+ endDate: Date;
1211
+ dayOfWeek: number;
1212
+ startTimeInDay: string;
1213
+ endTimeInDay: string;
1214
+ directBookingFor: DirectBookingTypesEnum;
1215
+ }
1205
1216
  export declare class Connection extends BondBaseEntity {
1206
1217
  connType: number | null;
1207
1218
  from: number | null;
@@ -1214,6 +1225,14 @@ export declare class Connection extends BondBaseEntity {
1214
1225
  userCreatorId: number | null;
1215
1226
  ownerId: number | null;
1216
1227
  }
1228
+ export declare class CreditNote extends OrganizationConnectionBaseEntity {
1229
+ creditAmount: number;
1230
+ paymentProcessorId: string;
1231
+ userId: number;
1232
+ paymentId: number;
1233
+ invoiceId: number;
1234
+ creditPaymentId: number;
1235
+ }
1217
1236
  export declare class Customer extends OrganizationConnectionBaseEntity {
1218
1237
  name: string | null;
1219
1238
  entityId: number | null;
@@ -1242,24 +1261,6 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
1242
1261
  mainMedia: Media;
1243
1262
  reservations?: Reservation[];
1244
1263
  }
1245
- export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
1246
- parentId: number;
1247
- parentType: ResourceNameTypeEnum;
1248
- startDate: Date;
1249
- endDate: Date;
1250
- dayOfWeek: number;
1251
- startTimeInDay: string;
1252
- endTimeInDay: string;
1253
- directBookingFor: DirectBookingTypesEnum;
1254
- }
1255
- export declare class CreditNote extends OrganizationConnectionBaseEntity {
1256
- creditAmount: number;
1257
- paymentProcessorId: string;
1258
- userId: number;
1259
- paymentId: number;
1260
- invoiceId: number;
1261
- creditPaymentId: number;
1262
- }
1263
1264
  export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
1264
1265
  customerId: number;
1265
1266
  userId: number;
@@ -1272,6 +1273,12 @@ export declare class CustomerCreditTransaction extends OrganizationConnectionBas
1272
1273
  invoice: Invoice;
1273
1274
  payment: Payment;
1274
1275
  }
1276
+ export declare class CustomerNote extends OrganizationConnectionBaseEntity {
1277
+ customerId?: number;
1278
+ description: string;
1279
+ pinToTop?: boolean;
1280
+ customer: Customer;
1281
+ }
1275
1282
  export declare class Division extends BondBaseEntity {
1276
1283
  name: string;
1277
1284
  ordinal?: number;
@@ -1280,11 +1287,8 @@ export declare class Division extends BondBaseEntity {
1280
1287
  isDefault: boolean;
1281
1288
  groups: Group[];
1282
1289
  }
1283
- export declare class CustomerNote extends OrganizationConnectionBaseEntity {
1284
- customerId?: number;
1285
- description: string;
1286
- pinToTop?: boolean;
1287
- customer: Customer;
1290
+ export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
1291
+ name: string | null;
1288
1292
  }
1289
1293
  export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
1290
1294
  customerId: number;
@@ -1296,24 +1300,6 @@ export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
1296
1300
  groupId: number;
1297
1301
  terms: IEntitlementTerms[];
1298
1302
  }
1299
- export declare class EventAttendee extends BondBaseEntity {
1300
- status: RequestStatusEnum | null;
1301
- hasPaid: boolean | null;
1302
- paymentId: number | null;
1303
- attendeeId: number;
1304
- eventId?: number | null;
1305
- productUserId?: number;
1306
- answerTitleIds?: number[];
1307
- entryStatus?: EntryStatusEnum;
1308
- addonProductUserIds?: number[];
1309
- deletedAt?: Date;
1310
- attendee: User;
1311
- event: Event;
1312
- purchasedResource: PurchasedResource;
1313
- }
1314
- export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
1315
- name: string | null;
1316
- }
1317
1303
  export declare class Event extends OrganizationConnectionBaseEntity {
1318
1304
  constructor();
1319
1305
  defineCalculatedDateTimeProps(): void;
@@ -1396,6 +1382,21 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
1396
1382
  programSeasons: ProgramSeason[];
1397
1383
  linkSEO: string;
1398
1384
  }
1385
+ export declare class EventAttendee extends BondBaseEntity {
1386
+ status: RequestStatusEnum | null;
1387
+ hasPaid: boolean | null;
1388
+ paymentId: number | null;
1389
+ attendeeId: number;
1390
+ eventId?: number | null;
1391
+ productUserId?: number;
1392
+ answerTitleIds?: number[];
1393
+ entryStatus?: EntryStatusEnum;
1394
+ addonProductUserIds?: number[];
1395
+ deletedAt?: Date;
1396
+ attendee: User;
1397
+ event: Event;
1398
+ purchasedResource: PurchasedResource;
1399
+ }
1399
1400
  export declare class FacilityToResource extends BondBaseEntity {
1400
1401
  facilityId: number;
1401
1402
  resourceId: number;
@@ -1415,6 +1416,9 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
1415
1416
  chargedAt?: Date;
1416
1417
  originalPlannedDate?: Date;
1417
1418
  }
1419
+ export declare class GlCodes extends OrganizationConnectionBaseEntity {
1420
+ code: string;
1421
+ }
1418
1422
  export declare class Group extends BondBaseEntity {
1419
1423
  name: string;
1420
1424
  description?: string;
@@ -1431,16 +1435,26 @@ export declare class Group extends BondBaseEntity {
1431
1435
  members: ISeasonAttendeeInfo[];
1432
1436
  users: User[];
1433
1437
  }
1434
- export declare class GlCodes extends OrganizationConnectionBaseEntity {
1435
- code: string;
1436
- }
1437
1438
  export declare class GroupsInDivisions extends BondBaseEntity {
1438
1439
  groupId: number;
1439
1440
  divisionId: number;
1440
1441
  deletedAt?: Date;
1441
1442
  }
1442
- export declare class Invoice extends BondBaseEntity {
1443
- invoiceId: string | null;
1443
+ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
1444
+ groupId: number;
1445
+ itemId: number;
1446
+ itemType: ResourceNameTypeEnum;
1447
+ startDate: Date;
1448
+ endDate: Date;
1449
+ price: number;
1450
+ overridesPrice: boolean;
1451
+ deletedAt?: Date;
1452
+ group?: EntitlementGroup;
1453
+ discountMethod?: DiscountMethodsEnum;
1454
+ discountValue?: number;
1455
+ }
1456
+ export declare class Invoice extends BondBaseEntity {
1457
+ invoiceId: string | null;
1444
1458
  price: number | null;
1445
1459
  status: InvoiceStatusEnum | null;
1446
1460
  sentForClientDate: Date | null;
@@ -1463,19 +1477,6 @@ export declare class Invoice extends BondBaseEntity {
1463
1477
  invoiceNotes: InvoiceNote[];
1464
1478
  slots: Slot[];
1465
1479
  }
1466
- export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
1467
- groupId: number;
1468
- itemId: number;
1469
- itemType: ResourceNameTypeEnum;
1470
- startDate: Date;
1471
- endDate: Date;
1472
- price: number;
1473
- overridesPrice: boolean;
1474
- deletedAt?: Date;
1475
- group?: EntitlementGroup;
1476
- discountMethod?: DiscountMethodsEnum;
1477
- discountValue?: number;
1478
- }
1479
1480
  export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
1480
1481
  email: string;
1481
1482
  status: EEmailStatus;
@@ -1504,6 +1505,32 @@ export declare class InvoiceToPayment extends BondBaseEntity {
1504
1505
  paidAmount?: number;
1505
1506
  currency: CurrencyEnum;
1506
1507
  }
1508
+ export declare class League extends OrganizationConnectionBaseEntity {
1509
+ name: string | null;
1510
+ description: string | null;
1511
+ allowBookingRequest: boolean | null;
1512
+ addressName: string | null;
1513
+ shortDescription: string | null;
1514
+ waiverDoc: string | null;
1515
+ bookingStateStatus: number | null;
1516
+ timezone: string | null;
1517
+ shortUrl: string | null;
1518
+ leagueType: string | null;
1519
+ addressId: number | null;
1520
+ sportConfigData: any | null;
1521
+ creatorId: number | null;
1522
+ creatorType: string | null;
1523
+ userCreatorId: number | null;
1524
+ ownerId: number | null;
1525
+ sports: number[] | null;
1526
+ mainMediaId: number | null;
1527
+ publishedDate: Date | null;
1528
+ isPublished: boolean | null;
1529
+ isVerified: boolean | null;
1530
+ questionnaireId: number | null;
1531
+ logo?: Media;
1532
+ seasons: LeagueSeason[];
1533
+ }
1507
1534
  export declare class LeagueSeason extends BondBaseEntity {
1508
1535
  leagueId: number | null;
1509
1536
  name: string | null;
@@ -1558,32 +1585,6 @@ export declare class LineItemHistory extends BondBaseEntity {
1558
1585
  payment: Payment;
1559
1586
  lineItem: LineItems;
1560
1587
  }
1561
- export declare class League extends OrganizationConnectionBaseEntity {
1562
- name: string | null;
1563
- description: string | null;
1564
- allowBookingRequest: boolean | null;
1565
- addressName: string | null;
1566
- shortDescription: string | null;
1567
- waiverDoc: string | null;
1568
- bookingStateStatus: number | null;
1569
- timezone: string | null;
1570
- shortUrl: string | null;
1571
- leagueType: string | null;
1572
- addressId: number | null;
1573
- sportConfigData: any | null;
1574
- creatorId: number | null;
1575
- creatorType: string | null;
1576
- userCreatorId: number | null;
1577
- ownerId: number | null;
1578
- sports: number[] | null;
1579
- mainMediaId: number | null;
1580
- publishedDate: Date | null;
1581
- isPublished: boolean | null;
1582
- isVerified: boolean | null;
1583
- questionnaireId: number | null;
1584
- logo?: Media;
1585
- seasons: LeagueSeason[];
1586
- }
1587
1588
  export declare class LineItems extends BondBaseEntity {
1588
1589
  constructor();
1589
1590
  defineIsReverted(): void;
@@ -1722,6 +1723,12 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
1722
1723
  cancellationStatus?: CancellationStatusEnum;
1723
1724
  isImported?: boolean;
1724
1725
  }
1726
+ export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
1727
+ email: string | null;
1728
+ notificationType: NotificationTypeEnum | null;
1729
+ resourceId: number | null;
1730
+ resourceType: string | null;
1731
+ }
1725
1732
  export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1726
1733
  id: number;
1727
1734
  dayOfWeek: number;
@@ -1733,12 +1740,6 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1733
1740
  deletedAt?: Date;
1734
1741
  facility: Facility;
1735
1742
  }
1736
- export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
1737
- email: string | null;
1738
- notificationType: NotificationTypeEnum | null;
1739
- resourceId: number | null;
1740
- resourceType: string | null;
1741
- }
1742
1743
  export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1743
1744
  organizationId: number;
1744
1745
  }
@@ -1796,6 +1797,12 @@ export declare class PaymentFailConfig extends OrganizationConnectionBaseEntity
1796
1797
  failureIndex: number;
1797
1798
  waitingDays: number;
1798
1799
  }
1800
+ export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
1801
+ paymentInstallmentId?: number;
1802
+ invoiceId: number;
1803
+ reason: EFailedPaymentReasons;
1804
+ errorMessage: string;
1805
+ }
1799
1806
  export declare class PaymentNote extends OrganizationConnectionBaseEntity {
1800
1807
  content: string;
1801
1808
  creatingUserId: number;
@@ -1805,12 +1812,6 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
1805
1812
  paymentId: number;
1806
1813
  payment: Payment;
1807
1814
  }
1808
- export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
1809
- paymentInstallmentId?: number;
1810
- invoiceId: number;
1811
- reason: EFailedPaymentReasons;
1812
- errorMessage: string;
1813
- }
1814
1815
  export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1815
1816
  paymentPlanId: number;
1816
1817
  paymentDate: Date;
@@ -1835,9 +1836,27 @@ export declare class PaymentV1 extends BondBaseEntity {
1835
1836
  installmentId: number | null;
1836
1837
  invoiceId: string | null;
1837
1838
  }
1839
+ export declare class Price extends OrganizationConnectionBaseEntity {
1840
+ productId: number;
1841
+ product: Product;
1842
+ name: string | null;
1843
+ price: number;
1844
+ currency: CurrencyEnum;
1845
+ paymentProcessorId: number | null;
1846
+ startDate: Date;
1847
+ endDate: Date;
1848
+ groupId?: number;
1849
+ groupName?: string;
1850
+ originalPrice?: number;
1851
+ deletedAt?: Date;
1852
+ discountMethod?: DiscountMethodsEnum;
1853
+ discountValue?: number;
1854
+ taxIncludedPrice?: number;
1855
+ }
1838
1856
  export declare class Product extends OrganizationConnectionBaseEntity {
1839
1857
  name: string;
1840
1858
  quantity: number;
1859
+ isAll: boolean;
1841
1860
  paymentProcessorId?: string;
1842
1861
  startDate?: Date;
1843
1862
  endDate?: Date;
@@ -1885,23 +1904,6 @@ export declare class Product extends OrganizationConnectionBaseEntity {
1885
1904
  activityTimes: ActivityTimes[];
1886
1905
  purchasedResources: PurchasedResource[];
1887
1906
  }
1888
- export declare class Price extends OrganizationConnectionBaseEntity {
1889
- productId: number;
1890
- product: Product;
1891
- name: string | null;
1892
- price: number;
1893
- currency: CurrencyEnum;
1894
- paymentProcessorId: number | null;
1895
- startDate: Date;
1896
- endDate: Date;
1897
- groupId?: number;
1898
- groupName?: string;
1899
- originalPrice?: number;
1900
- deletedAt?: Date;
1901
- discountMethod?: DiscountMethodsEnum;
1902
- discountValue?: number;
1903
- taxIncludedPrice?: number;
1904
- }
1905
1907
  export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1906
1908
  productId: number;
1907
1909
  maxMonths?: number;
@@ -1941,10 +1943,6 @@ export declare class ProductToVariantTitle extends OrganizationConnectionBaseEnt
1941
1943
  productId: number;
1942
1944
  variantTitleId: number;
1943
1945
  }
1944
- export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1945
- productId: number;
1946
- variantId: number;
1947
- }
1948
1946
  export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
1949
1947
  productId: number;
1950
1948
  customerId: number;
@@ -1952,6 +1950,10 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
1952
1950
  deletedAt?: Date;
1953
1951
  product: Product;
1954
1952
  }
1953
+ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1954
+ productId: number;
1955
+ variantId: number;
1956
+ }
1955
1957
  export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
1956
1958
  productId: number;
1957
1959
  userId: number;
@@ -1991,6 +1993,14 @@ export declare class Program extends BondBaseEntity {
1991
1993
  programSeason: ProgramSeason[];
1992
1994
  purchasedResources: PurchasedResource[];
1993
1995
  }
1996
+ export declare class ProgramHighlights extends BondBaseEntity {
1997
+ type: ProgramHighlightTypeEnum;
1998
+ ordinal: number | null;
1999
+ title: string | null;
2000
+ data: any | null;
2001
+ program: Program;
2002
+ deletedAt?: Date;
2003
+ }
1994
2004
  export declare class ProgramSeason extends BondBaseEntity {
1995
2005
  programId: number;
1996
2006
  name: string;
@@ -2046,14 +2056,6 @@ export declare class ProgramSeason extends BondBaseEntity {
2046
2056
  facility: Facility;
2047
2057
  purchasedResources: PurchasedResource[];
2048
2058
  }
2049
- export declare class ProgramHighlights extends BondBaseEntity {
2050
- type: ProgramHighlightTypeEnum;
2051
- ordinal: number | null;
2052
- title: string | null;
2053
- data: any | null;
2054
- program: Program;
2055
- deletedAt?: Date;
2056
- }
2057
2059
  export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
2058
2060
  productUserId: number;
2059
2061
  resourceId: number;
@@ -2142,13 +2144,6 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
2142
2144
  publicNotes?: string;
2143
2145
  slots?: Slot[];
2144
2146
  }
2145
- export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2146
- name: string;
2147
- facilityId: number;
2148
- parentSlotId: number;
2149
- childrenSlotIds: number[];
2150
- deletedAt?: Date;
2151
- }
2152
2147
  export declare class Resource extends OrganizationConnectionBaseEntity {
2153
2148
  name: string;
2154
2149
  resourceType: ResourceTypeEnum;
@@ -2185,6 +2180,13 @@ export declare class School extends BondBaseEntity {
2185
2180
  phone: string | null;
2186
2181
  dataId: number | null;
2187
2182
  }
2183
+ export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2184
+ name: string;
2185
+ facilityId: number;
2186
+ parentSlotId: number;
2187
+ childrenSlotIds: number[];
2188
+ deletedAt?: Date;
2189
+ }
2188
2190
  export declare class SeasonAttendee extends BondBaseEntity {
2189
2191
  status: RequestStatusEnum;
2190
2192
  paymentStatus: PaymentStatusEnum;
@@ -2199,21 +2201,6 @@ export declare class SeasonAttendee extends BondBaseEntity {
2199
2201
  deletedAt?: Date;
2200
2202
  purchasedResource: PurchasedResource;
2201
2203
  }
2202
- export declare class SeasonPool extends BondBaseEntity {
2203
- seasonId?: number;
2204
- userId?: number;
2205
- status?: number;
2206
- entityId?: number;
2207
- entityType?: string;
2208
- groupId?: string;
2209
- paymentStatus?: PaymentStatusV1Enum;
2210
- metadata?: any;
2211
- paymentId?: number;
2212
- externalAssign?: boolean;
2213
- productUserId?: number;
2214
- purchasedResource: PurchasedResource;
2215
- season: LeagueSeason;
2216
- }
2217
2204
  export declare class SeasonDivisions extends BondBaseEntity {
2218
2205
  name: string | null;
2219
2206
  ordinal: number | null;
@@ -2230,6 +2217,21 @@ export declare class SeasonTeam extends BondBaseEntity {
2230
2217
  metaData: any | null;
2231
2218
  team: Team;
2232
2219
  }
2220
+ export declare class SeasonPool extends BondBaseEntity {
2221
+ seasonId?: number;
2222
+ userId?: number;
2223
+ status?: number;
2224
+ entityId?: number;
2225
+ entityType?: string;
2226
+ groupId?: string;
2227
+ paymentStatus?: PaymentStatusV1Enum;
2228
+ metadata?: any;
2229
+ paymentId?: number;
2230
+ externalAssign?: boolean;
2231
+ productUserId?: number;
2232
+ purchasedResource: PurchasedResource;
2233
+ season: LeagueSeason;
2234
+ }
2233
2235
  export declare class SpacesDependency extends BondBaseEntity {
2234
2236
  blockingSpaceId: number;
2235
2237
  blockedSpaceId: number;
@@ -2245,14 +2247,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
2245
2247
  subcategories: Subcategory[];
2246
2248
  shifts?: Shift[];
2247
2249
  }
2248
- export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
2249
- stationId: number;
2250
- subcategoryId: number;
2251
- productType: ProductTypesEnum;
2252
- deletedAt?: Date;
2253
- station: Station;
2254
- subcategory: Subcategory;
2255
- }
2256
2250
  export declare class Subcategory extends OrganizationConnectionBaseEntity {
2257
2251
  productType: ProductTypesEnum;
2258
2252
  name: string;
@@ -2261,6 +2255,14 @@ export declare class Subcategory extends OrganizationConnectionBaseEntity {
2261
2255
  stationToSubcategories: StationToSubcategory[];
2262
2256
  stations: Station[];
2263
2257
  }
2258
+ export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
2259
+ stationId: number;
2260
+ subcategoryId: number;
2261
+ productType: ProductTypesEnum;
2262
+ deletedAt?: Date;
2263
+ station: Station;
2264
+ subcategory: Subcategory;
2265
+ }
2264
2266
  export declare class Team extends BondBaseEntity {
2265
2267
  name: string | null;
2266
2268
  description: string | null;
@@ -2313,6 +2315,11 @@ export declare class TeamMember extends BondBaseEntity {
2313
2315
  role: TeamMemberRoleEnum;
2314
2316
  user: User;
2315
2317
  }
2318
+ export declare class UberOrganization extends BondBaseEntity {
2319
+ name: string;
2320
+ deletedAt: Date | null;
2321
+ organizations: Organization[];
2322
+ }
2316
2323
  export declare class User extends BondBaseEntity {
2317
2324
  firstName: string | null;
2318
2325
  lastName: string | null;
@@ -2379,11 +2386,6 @@ export declare class UsersInGroup extends BondBaseEntity {
2379
2386
  userId: number;
2380
2387
  deletedAt?: Date;
2381
2388
  }
2382
- export declare class UberOrganization extends BondBaseEntity {
2383
- name: string;
2384
- deletedAt: Date | null;
2385
- organizations: Organization[];
2386
- }
2387
2389
  export declare class VariantTitle extends OrganizationConnectionBaseEntity {
2388
2390
  name: string;
2389
2391
  variants: Variant[];
@@ -2402,931 +2404,912 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
2402
2404
  membershipCollectionId?: string;
2403
2405
  programsCollectionId?: string;
2404
2406
  }
2405
- export declare enum EntitlementTermsTypesEnum {
2406
- QUESTION = "question",
2407
- CITY = "city",
2408
- MEMBERSHIP = "membership"
2407
+ export interface IEntitlementTerms {
2408
+ type: EntitlementTermsTypesEnum;
2409
+ id?: number;
2410
+ value?: string;
2411
+ minValue?: string;
2412
+ maxValue?: string;
2409
2413
  }
2410
- export declare enum ResourceNameTypeEnum {
2411
- EVENT = "event",
2412
- VENUE = "venue",
2413
- TEAM = "team",
2414
- LEAGUE = "league",
2415
- USER = "user",
2416
- ORGANIZATION = "organization",
2417
- APP = "app",
2418
- FEED = "feed",
2419
- MATCH = "match",
2420
- ROUND = "round",
2421
- PORTAL = "portal",
2422
- SEASON = "season",
2423
- TOURNAMENT = "tournament",
2424
- MEMBERSHIP = "membership",
2425
- DIVISION = "division",
2426
- GAMESLOT = "gameslot",
2427
- SPACE = "space",
2428
- RESERVATION = "reservation",
2429
- INVOICE = "invoice",
2430
- CUSTOMER = "customer",
2431
- PACKAGE = "package",
2432
- FACILITY = "facility",
2433
- PROGRAM = "program",
2434
- PROGRAM_SEASON = "program_season",
2435
- PRODUCT = "product",
2436
- GROUP = "group",
2437
- VARIANT = "variant",
2438
- SLOT = "slot",
2439
- ADDON = "addon"
2414
+ export interface IQuestionAnswerObject {
2415
+ questionId: number;
2416
+ value: string;
2440
2417
  }
2441
- export declare enum DirectBookingTypesEnum {
2442
- DIRECT_FOR_ALL = "all",
2443
- DIRECT_FOR_NONE = "none",
2444
- DIRECT_VETTED_ONLY = "vetted_only",
2445
- NO_SETTING = "no_setting"
2418
+ export interface ILowestPriceForItem {
2419
+ itemId: number;
2420
+ itemType: ResourceNameTypeEnum;
2421
+ groupId: number;
2422
+ groupName?: string;
2423
+ price: number;
2424
+ overridesPrice: boolean;
2446
2425
  }
2447
- export declare enum GenderEnum {
2448
- OTHER = 1,
2449
- MALE = 2,
2450
- FEMALE = 3
2426
+ export interface IResourcesAvailability {
2427
+ resourceType: ResourceNameTypeEnum;
2428
+ quantity: number;
2429
+ resourcesIds: number[];
2430
+ isPunchCard: boolean;
2431
+ resources?: any[];
2451
2432
  }
2452
- export declare enum LevelOfPlayEnum {
2453
- BEGINNER = 1,
2454
- INTERMEDIATE = 2,
2455
- ADVANCED = 3,
2456
- SEMIPRO = 4,
2457
- SPECTATOR = 5
2433
+ export interface IPackageResponse {
2434
+ parentProduct: Product;
2435
+ children: IChildProduct[];
2458
2436
  }
2459
- export declare enum ProgramTypesEnum {
2460
- LEAGUE = 0,
2461
- TOURNAMENT = 1,
2462
- CLASS = 2,
2463
- CLINIC = 3,
2464
- CAMP = 4,
2465
- LESSON = 5,
2466
- CLUB_TEAM = 6
2437
+ export interface IChildProduct {
2438
+ product: Product;
2439
+ relationType: PackageProductsRelationTypeEnum;
2440
+ timePeriod?: AddonTimePeriodEnum;
2467
2441
  }
2468
- export declare enum ProgramSeasonTypesEnum {
2469
- ROUND_ROBIN = 1,
2470
- BRACKETS = 2,
2471
- CAMP_CLINIC_CLASS = 3
2442
+ export interface ISeasonAttendeeInfo {
2443
+ applicationAnswers: Answer[];
2444
+ segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
2445
+ invoices: Invoice[];
2446
+ payments: Payment[];
2447
+ products: Product[];
2448
+ redeemNext: ProductsUsers;
2472
2449
  }
2473
- export declare enum SportsEnum {
2474
- SOFTBALL = 1,
2475
- BASKETBALL = 2,
2476
- FOOTBALL = 3,
2477
- SOCCER = 4,
2478
- BOWLING = 5,
2479
- BOCCEBALL = 6,
2480
- CORNHOLE = 7,
2481
- DODGEBALL = 8,
2482
- FRISBEE = 9,
2483
- HOCKEY = 10,
2484
- KICKBALL = 11,
2485
- LACROSSE = 12,
2486
- PINGPONG = 13,
2487
- RUGBY = 14,
2488
- SKEEBALL = 15,
2489
- TENNIS = 16,
2490
- VOLLEYBALL = 17,
2491
- WIFFLEBALL = 18,
2492
- BADMINTON = 19,
2493
- FITNESS = 20,
2494
- GOLF = 21,
2495
- PILATES = 22,
2496
- RUNNING = 23,
2497
- SKIING = 24,
2498
- SNOWBOARDING = 25,
2499
- YOGA = 26,
2500
- BROOMBALL = 27,
2501
- CRICKET = 28,
2502
- CROSSFIT = 29,
2503
- CYCLING = 30,
2504
- FIELD_HOCKEY = 31,
2505
- RACQUETBALL = 32,
2506
- SPINNING = 33,
2507
- SQUASH = 34,
2508
- SURFING = 35,
2509
- SWIMMING = 36,
2510
- WIND_SURFING = 37,
2511
- ADVENTURE = 38,
2512
- BOXING = 39,
2513
- BASEBALL = 40,
2514
- DANCE = 41,
2515
- KICKBOXING = 42,
2516
- MARTIAL_ARTS = 43,
2517
- OUTDOORS = 44,
2518
- ROWING = 45,
2519
- SAILING = 46,
2520
- SUP = 47,
2521
- TRIATHLON = 48,
2522
- HANDBALL = 49,
2523
- CATCHBALL = 50,
2524
- BLITZBALL = 51,
2525
- ROLLER_DERBY = 52,
2526
- ICE_SKATING = 53,
2527
- PICKLEBALL = 54,
2528
- AXE_THROWING = 55,
2529
- FURSAL = 56,
2530
- BIRTHDAY = 57,
2531
- CORPRATE_EVENTS = 58,
2532
- OTHER = 999
2450
+ export interface ISeasonAttendeeListInfo {
2451
+ userId: number;
2452
+ userFirstName: string;
2453
+ userLastName: string;
2454
+ userGender: number;
2455
+ userBirthDate: Date;
2456
+ userProfilePicUrl: string;
2457
+ customerId: number;
2458
+ customerEmail: string;
2459
+ paymentStatus: string;
2460
+ productName: string;
2461
+ punchCard: boolean;
2533
2462
  }
2534
- export declare enum PublishingStatusEnum {
2535
- DRAFT = 1,
2536
- PUBLISHED = 2,
2537
- CLOSED = 3,
2538
- CANCELLED = 4,
2539
- ARCHIVE = 5,
2540
- UNPUBLISHED = 6
2463
+ export declare class SeasonAsSeasonSegment extends ProgramSeason {
2464
+ segmentType: ResourceNameTypeEnum;
2465
+ participantRegisteredDate?: string;
2541
2466
  }
2542
- export declare enum ProgramHighlightTypeEnum {
2543
- OTHER = 1,
2544
- MINAGE = 2,
2545
- MAXAGE = 3,
2546
- GENDER = 4,
2547
- LEVELOFPLAY = 5,
2548
- GAMESSEASON = 6,
2549
- MINWEEK = 7,
2550
- SURFACE = 8,
2551
- FORMAT = 9,
2552
- PLAYERS_PER_TEAM = 10,
2553
- MATCH_LENGTH = 12
2467
+ export declare class EventAsSeasonSegment extends Event {
2468
+ segmentType: ResourceNameTypeEnum;
2469
+ participantRegisteredDate?: string;
2554
2470
  }
2555
- export declare enum RequestStatusEnum {
2556
- PENDING = 1,
2557
- ACCEPTED = 2,
2558
- DECLINED = 3
2471
+ export interface ITokenResonse {
2472
+ token: string;
2559
2473
  }
2560
- export declare enum PaymentStatusEnum {
2561
- NOT_PAID = "not_paid",
2562
- PARTIAL_PAYMENT = "partial",
2563
- FULLY_PAID = "paid",
2564
- REFUNDED = "refunded",
2565
- VOID = "void"
2474
+ export interface IStripeBondInvoices {
2475
+ paidStripePaymentIntent: Stripe.PaymentIntent;
2476
+ bondPaidPayment: Payment;
2477
+ invoice?: Invoice;
2478
+ customer?: Customer;
2566
2479
  }
2567
- export declare enum ReservationExtendedEnum {
2568
- PURCHASE_ORDER = "purchase_order"
2480
+ export interface IPartialPaymentData {
2481
+ purchasingUserId: number;
2482
+ paymentData: PurchasePaymentDto;
2483
+ amountToPay: number;
2569
2484
  }
2570
- export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
2571
- export declare enum ReservationStatusEnum {
2572
- PLANNED = "Planned",
2573
- APPROVED = "Approved",
2574
- AWAITING_ADMIN = "Awaiting Admin",
2575
- AWAITING_CUSTOMER = "Awaiting Customer",
2576
- REJECTED = "Rejected",
2577
- CANCELED = "Canceled"
2485
+ export interface IPayment {
2486
+ id: number;
2487
+ total: number;
2488
+ paymentMethod: PaymentMethodTypeEnum;
2489
+ status: PaymentStatusEnum;
2490
+ createdAt: Date;
2491
+ invoices: number[];
2578
2492
  }
2579
- export declare enum PaymentStatusV1Enum {
2580
- SENT_TO_CLIENT = 1,
2581
- SENT_FOR_PAYMENT = 2,
2582
- ACCEPTED = 3,
2583
- REJECTED = 4,
2584
- CANCELLED = 5,
2585
- FRAUD = 6,
2586
- NOT_RELEVANT = 7,
2587
- PENDING = 8
2493
+ export interface IPaginationData<T> {
2494
+ meta: {
2495
+ totalItems: number;
2496
+ itemsPerPage: number;
2497
+ totalPages: number;
2498
+ currentPage: number;
2499
+ };
2500
+ data: T[];
2588
2501
  }
2589
- export declare enum PaymentMethodsEnum {
2590
- STRIPE = 1,
2591
- CASH = 3
2502
+ export interface IPricesOfProductsResults {
2503
+ productId: number;
2504
+ userId: number;
2505
+ price: number;
2506
+ groupId?: number;
2507
+ groupName?: string;
2508
+ originalPrice?: number;
2509
+ priceWithoutTax: number;
2510
+ tax: number;
2511
+ isTaxInclusive: boolean;
2592
2512
  }
2593
- export declare enum PackageProductsRelationTypeEnum {
2594
- CHILD = "child",
2595
- UPSALE = "upsale"
2513
+ export interface IPaymentMethodToFundLeft {
2514
+ paymentType: PaymentMethodTypeEnum;
2515
+ paymentMethodId: string;
2516
+ fundLeft: number;
2517
+ ccLast4?: string;
2518
+ ccBrand?: string;
2596
2519
  }
2597
- export declare enum AddonTimePeriodEnum {
2598
- FULL = "full",
2599
- SESSION = "session",
2600
- EVENT = "event"
2520
+ export interface IVariantsAndTitle {
2521
+ title: VariantTitle;
2522
+ variants: Variant[];
2601
2523
  }
2602
- export declare enum CurrencyEnum {
2603
- USD = "USD"
2604
- }
2605
- export declare enum NotificationTypeEnum {
2606
- BOOKING_CONFIRMED_STUFF = "booking_confirmed_stuff",
2607
- BOOKING_CHANGED_STUFF = "booking_changed_stuff",
2608
- BOOKING_DELETED_STUFF = "booking_deleted_stuff"
2609
- }
2610
- export declare enum ProductTypesEnum {
2611
- RESERVATION = "reservation",
2612
- REGISTRATION = "registration",
2613
- MEMBERSHIP = "membership",
2614
- GOODS = "goods",
2615
- PACKAGE = "package",
2616
- REFUND_COMPENSATION = "refund",
2617
- CASH_OVER_SHORT = "cash_over_short",
2618
- PETTY_CASH = "petty_cash",
2619
- LEAGUE_REGISTRATION = "league_registration",
2620
- TAX = "tax"
2524
+ export interface IProgramSeasonActivityTimes {
2525
+ dayOfWeek: number;
2526
+ open: string;
2527
+ close: string;
2621
2528
  }
2622
- export declare enum InvoiceStatusEnum {
2623
- ACTIVE = "active",
2624
- WAITING_ADMIN = "waitingAdmin",
2625
- WAITING_CLIENT = "waitingClient",
2626
- CANCELED = "canceled"
2529
+ export interface IProgramSeasonActivityTimesAsDates {
2530
+ date: string;
2531
+ startTime: string;
2532
+ endTime: string;
2627
2533
  }
2628
- export declare enum LineItemsStatusEnum {
2629
- USER_PRODUCT = "UserProduct",
2630
- RENTAL_PRODUCT = "RentalProduct"
2534
+ export interface IBlockedDates {
2535
+ name: string;
2536
+ startDate: Date;
2537
+ endDate: Date;
2631
2538
  }
2632
- export declare enum ProductSubTypesEnum {
2633
- SEASON_INDIVIDUAL = "season_individual",
2634
- SEASON_TEAM = "season_team",
2635
- SEASON_PER_PLAYER = "season_per_player"
2539
+ export interface ISingleMemberForRenewal {
2540
+ member_id: number;
2541
+ member_membershipId: number;
2542
+ member_userId: number;
2543
+ member_nextPaymentMethodId?: string;
2544
+ member_nextPaymentType?: PaymentMethodTypeEnum;
2545
+ member_answerTitleIds?: number[];
2546
+ member_organizationId: number;
2547
+ product_productPrice: number;
2548
+ product_productId: number;
2549
+ invoice_payingUserId: number;
2550
+ invoice_paymentMethodId: string;
2551
+ invoice_paymentType: PaymentMethodTypeEnum;
2552
+ endDate: Date;
2553
+ membership_name: string;
2554
+ user_firstName: string;
2555
+ user_lastName: string;
2556
+ user_email: string;
2636
2557
  }
2637
- export declare enum PaymentMethodTypeEnum {
2638
- CREDIT_CARD = "card",
2639
- ACH = "ach",
2640
- CASH = "cash",
2641
- CHECK = "check",
2642
- BALANCE = "balance",
2643
- CARD_ON_TERMINAL = "card-on-terminal",
2644
- OTHER = "other",
2645
- LOST_DEBT = "lost-debt",
2646
- MIGRATED = "migrated",
2647
- VOID = "void",
2648
- GIFT_CARD = "gift-card"
2558
+ export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
2559
+ package_parentProductId: number;
2560
+ product2_productPrice: number;
2561
+ familyid: number;
2562
+ invoice_id: number;
2649
2563
  }
2650
- export declare enum RefundTypeEnum {
2651
- LEAVE_BALANCE = "leave_balance",
2652
- REDUCE_BALANCE = "reduce_balance"
2564
+ export interface IResourceRegistrationData {
2565
+ id: number;
2566
+ resourceType: ResourceNameTypeEnum;
2567
+ openNumDays?: number;
2568
+ openNumMinutes?: number;
2569
+ openTime?: string;
2570
+ closeNumDays?: number;
2571
+ closeNumMinutes?: number;
2572
+ closeTime?: string;
2573
+ registrationWindowStatus?: RegistrationWindowStatusEnum;
2653
2574
  }
2654
- export declare enum CustomerInMembershipTypeEnum {
2655
- INDIVIDUAL = "individual",
2656
- FAMILY = "family",
2657
- ORGANIZATION = "organization"
2575
+ export interface IResourceDataForConstraintsCalc {
2576
+ id: number;
2577
+ startDate: string;
2578
+ startTime: string;
2658
2579
  }
2659
- export declare enum MembershipTypeEnum {
2660
- FIXED = "fix_membership",
2661
- ROLLING = "rolling_membership"
2580
+ export interface IRegistrationConstraintsSetting {
2581
+ numDays?: number;
2582
+ numMinutes?: number;
2662
2583
  }
2663
- export declare enum CustomerTypeEnum {
2664
- USER = "user",
2665
- FAMILY = "family",
2666
- ORGANIZATION = "organization"
2584
+ export interface IAttendeeDataToNotify {
2585
+ firstName: string;
2586
+ lastName: string;
2587
+ email: string;
2588
+ sessionName: string;
2589
+ parentSessionName?: string;
2590
+ organizationName: string;
2591
+ programName: string;
2667
2592
  }
2668
- export declare enum GroupStatusEnum {
2669
- ACTIVE = 1,
2670
- INACTIVE = 2,
2671
- DRAFT = 3
2593
+ export interface IEventInSchedule {
2594
+ eventId: number;
2595
+ eventName: string;
2596
+ eventStartDate: string;
2597
+ eventEndDate: string;
2598
+ eventStartTime: string;
2599
+ eventEndTime: string;
2600
+ programId: number;
2601
+ programName: string;
2602
+ programType: ProgramTypesEnum;
2603
+ sessionId: number;
2604
+ sessionName: string;
2605
+ sports: number;
2606
+ spaces: {
2607
+ spaceId: number;
2608
+ spaceName: string;
2609
+ }[];
2610
+ status?: RegistrationValidationStatusEnum;
2672
2611
  }
2673
- export declare enum FutureInstallmentStatusEnum {
2674
- FUTURE = "future",
2675
- SUCCEEDED = "succeeded",
2676
- FAILED = "failed",
2677
- CANCELED = "canceled"
2612
+ export interface ISlotInSchedule {
2613
+ facilityId: number;
2614
+ facilityName: string;
2615
+ spaces: ISpaceWithSlots[];
2678
2616
  }
2679
- export declare enum EntryStatusEnum {
2680
- ENTERED = 1,
2681
- NOT_ENTERED = 2,
2682
- CANCELED = 3
2617
+ export interface ISpaceWithSlots {
2618
+ id: number;
2619
+ name: string;
2620
+ slots: ISlotReservationData[];
2683
2621
  }
2684
- export declare enum PurchasedResourceStatusEnum {
2685
- ACTIVE = 1,
2686
- MOVED = 2,
2687
- CANCELED = 3
2622
+ export interface ISlotReservationData {
2623
+ reservationId: number;
2624
+ reservationName: string;
2625
+ date: string;
2626
+ startTime: string;
2627
+ endTime: string;
2628
+ notes: string;
2629
+ spaceId: number;
2630
+ isRental: boolean;
2631
+ slotType: SlotTypeEnum;
2632
+ slotId: number;
2633
+ eventId: number;
2634
+ isPrivate: boolean;
2688
2635
  }
2689
- export declare enum TeamCanJoinEnum {
2690
- ANYONE = "anyone",
2691
- BY_INVITE = "byInvite",
2692
- CAPTAIN_APPROVAL = "captainApproval"
2636
+ export interface IRawEventInSchedule extends IEventInSchedule {
2637
+ parentSessionId: number;
2638
+ parentSessionName: string;
2639
+ eventTimezone: string;
2640
+ maxParticipants: number;
2641
+ maxMaleParticipants: number;
2642
+ maxFemaleParticipants: number;
2643
+ isPunchCard: boolean;
2693
2644
  }
2694
- export declare enum TeamMemberStatusEnum {
2695
- PENDING = 1,
2696
- ACTIVE = 2,
2697
- DECLINED = 3,
2698
- SUSPENDED = 4,
2699
- INACTIVE = 5,
2700
- INVITED = 6
2645
+ export interface IBasicSpaceAndSlotCreator {
2646
+ id: number;
2647
+ name: string;
2648
+ bookingCreatorId: number;
2701
2649
  }
2702
- export declare enum TeamMemberRoleEnum {
2703
- NULL = 0,
2704
- ADMIN = 1
2650
+ export interface IRawSlotInSchedule {
2651
+ startDate: string;
2652
+ endDate: string;
2653
+ startTime: string;
2654
+ endTime: string;
2655
+ reservationId: number;
2656
+ eventTitle: string;
2657
+ publicNotes: string;
2658
+ spaceId: number;
2659
+ creatorType: ResourceNameTypeEnum;
2660
+ slotType: SlotTypeEnum;
2661
+ slotId: number;
2662
+ eventId: number;
2663
+ isPrivate: boolean;
2705
2664
  }
2706
- export declare enum DayOfWeekEnum {
2707
- SUNDAY = 0,
2708
- MONDAY = 1,
2709
- TUESDAY = 2,
2710
- WEDNESDAY = 3,
2711
- THURSDAY = 4,
2712
- FRIDAY = 5,
2713
- SATURDAY = 6
2665
+ export interface IPurchasedResourcesRaw {
2666
+ purchasedId: number;
2667
+ purchasedProductUserId: number;
2668
+ purchasedResourceId: number;
2669
+ purchasedResourceType: ResourceNameTypeEnum;
2670
+ purchasedStatus: PurchasedResourceStatusEnum;
2671
+ pUserId: number;
2672
+ pUserPaymentStatus: PaymentStatusEnum;
2673
+ pUserProductId: number;
2674
+ pUserProductName: string;
2675
+ pUserProductPrice: number;
2676
+ pUserProductPriceCurrency: string;
2677
+ pUserProductQuantity: number;
2678
+ pUserProductQuantityLeft: number;
2679
+ pUserUserId: number;
2714
2680
  }
2715
- export declare enum ActionTypesEnum {
2716
- CREATE = "create",
2717
- READ = "read",
2718
- UPDATE = "update",
2719
- DELETE = "delete"
2681
+ export interface IUsersPasses {
2682
+ userId: number;
2683
+ userFirstName: string;
2684
+ userLastName: string;
2685
+ organizationId: number;
2686
+ programId: number;
2687
+ programName: string;
2688
+ sessionId: number;
2689
+ sessionName: string;
2690
+ productId: number;
2691
+ productName: string;
2692
+ productUserId: number;
2693
+ purchaseDate: Date;
2694
+ passesLeft: number;
2720
2695
  }
2721
- export declare enum ActionSourcePlatformEnum {
2722
- ADMIN = "admin",
2723
- BACKOFFICE = "backoffice",
2724
- CONSUMER = "consumer"
2725
- }
2726
- export declare enum RolesEnum {
2727
- ORG_ADMIN = "organizationAdmin",
2728
- BOND_ADMIN = "bondAdmin"
2696
+ export interface ISessionsLandingPage {
2697
+ sessionId: number;
2698
+ name: string;
2699
+ startDate: Date;
2700
+ endDate: Date;
2701
+ registrationStartDate: Date;
2702
+ registrationEndDate: Date;
2703
+ sport: SportsEnum;
2704
+ minAge: string;
2705
+ maxAge: string;
2706
+ maxParticipants?: number;
2707
+ gender: GenderEnum;
2708
+ activityTimes: ActivityTimes[];
2709
+ earlyRegistrationStartDate?: Date;
2710
+ earlyRegistrationEndDate?: Date;
2711
+ lateRegistrationStartDate?: Date;
2712
+ lateRegistrationEndDate?: Date;
2713
+ attendeeCount?: number;
2714
+ segmentsOrEvents: 'segment' | 'event';
2729
2715
  }
2730
- export declare enum SeasonPoolStatusEnum {
2731
- IN_POOL = 5,
2732
- ASSIGNED = 1,
2733
- QUIT = 2,
2734
- SUSPENDED = 3,
2735
- INACTIVE = 4
2716
+ export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
2717
+ hasRequiredMembership: boolean;
2718
+ hasEntitledPricing: boolean;
2719
+ lowestPrice?: number;
2720
+ products?: ISessionLandingPageProduct[];
2736
2721
  }
2737
- export declare enum AmenitiesEnum {
2738
- HEAT = 1,
2739
- AC = 2,
2740
- WIFI = 3,
2741
- RESTROOMS = 4,
2742
- DRINKING_FOUNTAIN = 5,
2743
- PARKING = 6,
2744
- CONCESSIONS = 7,
2745
- SHELTER = 8,
2746
- PORTABLE_RESTROOMS = 9,
2747
- LIGHTS = 10,
2748
- LOCKER_ROOM = 11,
2749
- PAID_PARKING = 12,
2750
- ACCESSIBLE = 13
2722
+ export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
2723
+ hasRequiredMembership: boolean;
2724
+ hasEntitledPricing: boolean;
2725
+ products?: ISessionLandingPageProduct[];
2726
+ segments?: Event[] | ProgramSeason[];
2727
+ programName: string;
2728
+ programId: number;
2729
+ levelOfPlay: LevelOfPlayEnum[];
2730
+ registrationConstraints: IResourceRegistrationData[];
2751
2731
  }
2752
- export declare enum ResourceSubTypeEnum {
2753
- COURT = "court",
2754
- FIELD = "field",
2755
- ROOM = "room",
2756
- DIAMOND = "diamond",
2757
- RINK = "rink",
2758
- STUDIO = "studio",
2759
- POOL = "pool",
2760
- BATTING_CAGE = "batting cage",
2761
- SHELTER = "shelter",
2762
- GOLF_SIMULATOR = "golf simulator"
2732
+ export interface ISlimAddons {
2733
+ addons?: {
2734
+ id: number;
2735
+ timePeriod: AddonTimePeriodEnum;
2736
+ name: string;
2737
+ productType?: ProductTypesEnum;
2738
+ productSubType?: string;
2739
+ }[];
2763
2740
  }
2764
- export declare enum ResourceTypeEnum {
2765
- SPACE = "space"
2741
+ export interface ISessionLandingPageProduct extends ISlimAddons {
2742
+ id: number;
2743
+ name: string;
2744
+ startDate?: Date;
2745
+ endDate?: Date;
2746
+ downpayment?: number;
2747
+ description?: string;
2748
+ prices: Price[];
2749
+ productSubType?: ProductSubTypesEnum;
2750
+ punchCard: boolean;
2751
+ isAddon: boolean;
2752
+ defaultPriceId?: number;
2766
2753
  }
2767
- export declare enum ResourceAgesEnum {
2768
- ADULTS = "adults",
2769
- CHILDREN = "children"
2754
+ export interface CreatePaymentIntentDto extends PurchaseRequestDto {
2755
+ destinationId?: string;
2756
+ stripeCustomerId?: string;
2757
+ fee?: number;
2770
2758
  }
2771
- export declare enum SpacePropertiesEnum {
2772
- OUTDOOR = "outdoor",
2773
- INDOOR = "indoor"
2759
+ export interface IReservationCreatorData {
2760
+ type: ResourceNameTypeEnum;
2761
+ id: number;
2762
+ organizationId: number;
2763
+ startDate: string;
2764
+ endDate: string;
2765
+ sportId: number;
2774
2766
  }
2775
- export declare enum SurfacesEnum {
2776
- GRASS = "grass",
2777
- TURF = "turf",
2778
- FIELD_TURF = "fieldTurf",
2779
- ASTRO_TURF = "astroTurf",
2780
- HARDWOOD = "hardwood",
2781
- ASPHALT = "asphalt",
2782
- SAND = "sand",
2783
- ICE = "ice",
2784
- SPORT_COURT = "sportCourt"
2767
+ export declare enum EntitlementTermsTypesEnum {
2768
+ QUESTION = "question",
2769
+ CITY = "city",
2770
+ MEMBERSHIP = "membership"
2785
2771
  }
2786
- export declare enum RegistrationConstraintPeriodTypeEnum {
2787
- MINUTES = "minutes",
2788
- DAYS = "days"
2772
+ export declare enum ResourceNameTypeEnum {
2773
+ EVENT = "event",
2774
+ VENUE = "venue",
2775
+ TEAM = "team",
2776
+ LEAGUE = "league",
2777
+ USER = "user",
2778
+ ORGANIZATION = "organization",
2779
+ APP = "app",
2780
+ FEED = "feed",
2781
+ MATCH = "match",
2782
+ ROUND = "round",
2783
+ PORTAL = "portal",
2784
+ SEASON = "season",
2785
+ TOURNAMENT = "tournament",
2786
+ MEMBERSHIP = "membership",
2787
+ DIVISION = "division",
2788
+ GAMESLOT = "gameslot",
2789
+ SPACE = "space",
2790
+ RESERVATION = "reservation",
2791
+ INVOICE = "invoice",
2792
+ CUSTOMER = "customer",
2793
+ PACKAGE = "package",
2794
+ FACILITY = "facility",
2795
+ PROGRAM = "program",
2796
+ PROGRAM_SEASON = "program_season",
2797
+ PRODUCT = "product",
2798
+ GROUP = "group",
2799
+ VARIANT = "variant",
2800
+ SLOT = "slot",
2801
+ ADDON = "addon"
2789
2802
  }
2790
- export declare enum RegistrationWindowStatusEnum {
2791
- NOT_OPEN_YET = "not_opened_yet",
2792
- OPEN = "open",
2793
- CLOSED = "closed"
2803
+ export declare enum DirectBookingTypesEnum {
2804
+ DIRECT_FOR_ALL = "all",
2805
+ DIRECT_FOR_NONE = "none",
2806
+ DIRECT_VETTED_ONLY = "vetted_only",
2807
+ NO_SETTING = "no_setting"
2794
2808
  }
2795
- export declare enum RegistrationValidationStatusEnum {
2796
- FULL = "full",
2797
- ALREADY_REGISTERED = "registered",
2798
- AVAILABLE = "available",
2799
- NOT_OPEN_YET = "not opened",
2800
- ALREADY_CLOSED = "closed",
2801
- NO_PRODUCT_FOUND = "no-product-found"
2809
+ export declare enum GenderEnum {
2810
+ OTHER = 1,
2811
+ MALE = 2,
2812
+ FEMALE = 3
2802
2813
  }
2803
- export declare enum DiscountMethodsEnum {
2804
- PERCENT = "percent",
2805
- AMOUNT = "amount"
2814
+ export declare enum LevelOfPlayEnum {
2815
+ BEGINNER = 1,
2816
+ INTERMEDIATE = 2,
2817
+ ADVANCED = 3,
2818
+ SEMIPRO = 4,
2819
+ SPECTATOR = 5
2806
2820
  }
2807
- export declare enum UserAuthorizationsTypeEnum {
2808
- ORGANIZATION = "organization"
2821
+ export declare enum ProgramTypesEnum {
2822
+ LEAGUE = 0,
2823
+ TOURNAMENT = 1,
2824
+ CLASS = 2,
2825
+ CLINIC = 3,
2826
+ CAMP = 4,
2827
+ LESSON = 5,
2828
+ CLUB_TEAM = 6
2809
2829
  }
2810
- export declare enum OrganizationLocaleDateEnum {
2811
- USA = "USA"
2830
+ export declare enum ProgramSeasonTypesEnum {
2831
+ ROUND_ROBIN = 1,
2832
+ BRACKETS = 2,
2833
+ CAMP_CLINIC_CLASS = 3
2812
2834
  }
2813
- export declare enum DateTimeFormatsEnum {
2814
- API_DATE = "YYYY/MM/DD",
2815
- API_TIME = "HH:mm:ss",
2816
- DB_DATE = "YYYY-MM-DD"
2835
+ export declare enum SportsEnum {
2836
+ SOFTBALL = 1,
2837
+ BASKETBALL = 2,
2838
+ FOOTBALL = 3,
2839
+ SOCCER = 4,
2840
+ BOWLING = 5,
2841
+ BOCCEBALL = 6,
2842
+ CORNHOLE = 7,
2843
+ DODGEBALL = 8,
2844
+ FRISBEE = 9,
2845
+ HOCKEY = 10,
2846
+ KICKBALL = 11,
2847
+ LACROSSE = 12,
2848
+ PINGPONG = 13,
2849
+ RUGBY = 14,
2850
+ SKEEBALL = 15,
2851
+ TENNIS = 16,
2852
+ VOLLEYBALL = 17,
2853
+ WIFFLEBALL = 18,
2854
+ BADMINTON = 19,
2855
+ FITNESS = 20,
2856
+ GOLF = 21,
2857
+ PILATES = 22,
2858
+ RUNNING = 23,
2859
+ SKIING = 24,
2860
+ SNOWBOARDING = 25,
2861
+ YOGA = 26,
2862
+ BROOMBALL = 27,
2863
+ CRICKET = 28,
2864
+ CROSSFIT = 29,
2865
+ CYCLING = 30,
2866
+ FIELD_HOCKEY = 31,
2867
+ RACQUETBALL = 32,
2868
+ SPINNING = 33,
2869
+ SQUASH = 34,
2870
+ SURFING = 35,
2871
+ SWIMMING = 36,
2872
+ WIND_SURFING = 37,
2873
+ ADVENTURE = 38,
2874
+ BOXING = 39,
2875
+ BASEBALL = 40,
2876
+ DANCE = 41,
2877
+ KICKBOXING = 42,
2878
+ MARTIAL_ARTS = 43,
2879
+ OUTDOORS = 44,
2880
+ ROWING = 45,
2881
+ SAILING = 46,
2882
+ SUP = 47,
2883
+ TRIATHLON = 48,
2884
+ HANDBALL = 49,
2885
+ CATCHBALL = 50,
2886
+ BLITZBALL = 51,
2887
+ ROLLER_DERBY = 52,
2888
+ ICE_SKATING = 53,
2889
+ PICKLEBALL = 54,
2890
+ AXE_THROWING = 55,
2891
+ FURSAL = 56,
2892
+ BIRTHDAY = 57,
2893
+ CORPRATE_EVENTS = 58,
2894
+ OTHER = 999
2817
2895
  }
2818
- export declare enum SlotTypeEnum {
2819
- EXTERNAL = "external",
2820
- INTERNAL = "internal",
2821
- MAINTENANCE = "maintenance",
2822
- CUSTOM = "custom"
2896
+ export declare enum PublishingStatusEnum {
2897
+ DRAFT = 1,
2898
+ PUBLISHED = 2,
2899
+ CLOSED = 3,
2900
+ CANCELLED = 4,
2901
+ ARCHIVE = 5,
2902
+ UNPUBLISHED = 6
2823
2903
  }
2824
- export declare enum PlatformsEnum {
2825
- CONSUMER = "consumer",
2826
- CONSUMER_CHECKOUT = "consumer_checkout",
2827
- BO = "backoffice",
2828
- MOBILE = "mobile",
2829
- CRON = "cron"
2904
+ export declare enum ProgramHighlightTypeEnum {
2905
+ OTHER = 1,
2906
+ MINAGE = 2,
2907
+ MAXAGE = 3,
2908
+ GENDER = 4,
2909
+ LEVELOFPLAY = 5,
2910
+ GAMESSEASON = 6,
2911
+ MINWEEK = 7,
2912
+ SURFACE = 8,
2913
+ FORMAT = 9,
2914
+ PLAYERS_PER_TEAM = 10,
2915
+ MATCH_LENGTH = 12
2830
2916
  }
2831
- export declare enum ShiftStatusEnum {
2832
- OPEN = "open",
2833
- CLOSED = "closed",
2834
- MANAGMENT_CLOSED = "closed_by_manager",
2835
- RECONCILED = "reconciled"
2917
+ export declare enum RequestStatusEnum {
2918
+ PENDING = 1,
2919
+ ACCEPTED = 2,
2920
+ DECLINED = 3
2836
2921
  }
2837
- export declare enum EventStatusEnum {
2838
- OPEN = 1,
2839
- DRAFT = 2,
2840
- FULL = 3,
2841
- CANCELLED = 4,
2842
- CLOSED = 5,
2843
- DELETED = 6
2922
+ export declare enum PaymentStatusEnum {
2923
+ NOT_PAID = "not_paid",
2924
+ PARTIAL_PAYMENT = "partial",
2925
+ FULLY_PAID = "paid",
2926
+ REFUNDED = "refunded",
2927
+ VOID = "void"
2844
2928
  }
2845
- export declare enum ReservationTypeEnum {
2846
- RENTAL = "rental",
2847
- PROGRAM = "program",
2848
- MAINTENANCE = "maintenance",
2849
- CUSTOM = "custom",
2850
- INTERNAL = "internal"
2929
+ export declare enum ReservationExtendedEnum {
2930
+ PURCHASE_ORDER = "purchase_order"
2851
2931
  }
2852
- export declare enum SlotDurationTypeEnum {
2853
- DATES = "dates",
2854
- ALL_DAY = "all day",
2855
- DURATION = "duration"
2932
+ export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
2933
+ export declare enum ReservationStatusEnum {
2934
+ PLANNED = "Planned",
2935
+ APPROVED = "Approved",
2936
+ AWAITING_ADMIN = "Awaiting Admin",
2937
+ AWAITING_CUSTOMER = "Awaiting Customer",
2938
+ REJECTED = "Rejected",
2939
+ CANCELED = "Canceled"
2856
2940
  }
2857
- export declare enum DurationUnitTypesEnum {
2858
- MINUTES = "minutes",
2859
- HOURS = "hours"
2941
+ export declare enum PaymentStatusV1Enum {
2942
+ SENT_TO_CLIENT = 1,
2943
+ SENT_FOR_PAYMENT = 2,
2944
+ ACCEPTED = 3,
2945
+ REJECTED = 4,
2946
+ CANCELLED = 5,
2947
+ FRAUD = 6,
2948
+ NOT_RELEVANT = 7,
2949
+ PENDING = 8
2860
2950
  }
2861
- export declare enum FrequencyEnum {
2862
- NONE = "none",
2863
- WEEKLY = "weekly",
2864
- DAILY = "daily",
2865
- MONTHLY = "monthly",
2866
- YEARLY = "yearly"
2951
+ export declare enum PaymentMethodsEnum {
2952
+ STRIPE = 1,
2953
+ CASH = 3
2867
2954
  }
2868
- export declare enum MaintenanceTimingEnum {
2869
- BEFORE = 1,
2870
- AFTER = 2,
2871
- AT_THE_BEGINING = 3,
2872
- AT_THE_END = 4
2955
+ export declare enum PackageProductsRelationTypeEnum {
2956
+ CHILD = "child",
2957
+ UPSALE = "upsale"
2873
2958
  }
2874
- export declare enum CreatorTypeEnum {
2875
- SPACE = "space",
2876
- PROGRAM_SEASON = "program_season",
2877
- SEASON = "season"
2959
+ export declare enum AddonTimePeriodEnum {
2960
+ FULL = "full",
2961
+ SESSION = "session",
2962
+ EVENT = "event"
2878
2963
  }
2879
- export declare enum UpdatePricesTypeEnum {
2880
- INDIVIDUAL = "indvidual",
2881
- CATEGORY = "category",
2882
- GLOBAL = "global"
2964
+ export declare enum CurrencyEnum {
2965
+ USD = "USD"
2883
2966
  }
2884
- export declare enum BondDayOfWeekEnum {
2885
- MONDAY = 2,
2886
- TUESDAY = 3,
2887
- WEDNESDAY = 4,
2888
- THURSDAY = 5,
2889
- FRIDAY = 6,
2890
- SATURDAY = 7,
2891
- SUNDAY = 8
2967
+ export declare enum NotificationTypeEnum {
2968
+ BOOKING_CONFIRMED_STUFF = "booking_confirmed_stuff",
2969
+ BOOKING_CHANGED_STUFF = "booking_changed_stuff",
2970
+ BOOKING_DELETED_STUFF = "booking_deleted_stuff"
2892
2971
  }
2893
- export declare enum ReservationMigrationStatusEnum {
2894
- NEW = "new",
2895
- NO = "no",
2896
- YES = "yes"
2972
+ export declare enum ProductTypesEnum {
2973
+ RESERVATION = "reservation",
2974
+ REGISTRATION = "registration",
2975
+ MEMBERSHIP = "membership",
2976
+ GOODS = "goods",
2977
+ PACKAGE = "package",
2978
+ REFUND_COMPENSATION = "refund",
2979
+ CASH_OVER_SHORT = "cash_over_short",
2980
+ PETTY_CASH = "petty_cash",
2981
+ LEAGUE_REGISTRATION = "league_registration",
2982
+ TAX = "tax"
2897
2983
  }
2898
- export declare enum ProductPackageLevelEnum {
2899
- HOUR = "hour",
2900
- SLOT = "slot",
2901
- RESERVATION = "reservation"
2984
+ export declare enum InvoiceStatusEnum {
2985
+ ACTIVE = "active",
2986
+ WAITING_ADMIN = "waitingAdmin",
2987
+ WAITING_CLIENT = "waitingClient",
2988
+ CANCELED = "canceled"
2902
2989
  }
2903
- export declare enum CancellationStatusEnum {
2904
- IMMEDIATE = "immediate",
2905
- AUTO_RENEWAL = "auto_renewal"
2990
+ export declare enum LineItemsStatusEnum {
2991
+ USER_PRODUCT = "UserProduct",
2992
+ RENTAL_PRODUCT = "RentalProduct"
2906
2993
  }
2907
- export declare enum SeasonScheduleStatusEnum {
2908
- DRAFT = 0,
2909
- PUBLISHED = 1
2994
+ export declare enum ProductSubTypesEnum {
2995
+ SEASON_INDIVIDUAL = "season_individual",
2996
+ SEASON_TEAM = "season_team",
2997
+ SEASON_PER_PLAYER = "season_per_player"
2910
2998
  }
2911
- export declare enum FinancialStepEnum {
2999
+ export declare enum PaymentMethodTypeEnum {
3000
+ CREDIT_CARD = "card",
3001
+ ACH = "ach",
3002
+ CASH = "cash",
3003
+ CHECK = "check",
3004
+ BALANCE = "balance",
3005
+ CARD_ON_TERMINAL = "card-on-terminal",
3006
+ OTHER = "other",
3007
+ LOST_DEBT = "lost-debt",
3008
+ MIGRATED = "migrated",
2912
3009
  VOID = "void",
2913
- REFUND = "refund",
2914
- NONE = "none",
2915
- REFUND_AND_VOID = "refund-and-void",
2916
- APPEND = "append"
3010
+ GIFT_CARD = "gift-card"
2917
3011
  }
2918
- export declare enum StripeAccountTypesEnum {
2919
- STRIPE = "stripe",
2920
- STRIPE_CUSTOM = "stripe:account:custom",
2921
- STRIPE_CUSTOMER = "stripe:customer"
3012
+ export declare enum RefundTypeEnum {
3013
+ LEAVE_BALANCE = "leave_balance",
3014
+ REDUCE_BALANCE = "reduce_balance"
2922
3015
  }
2923
- export declare enum LinkedAccountStatus {
2924
- PENDING = 1,
2925
- ACTIVE = 2,
2926
- PRE_PENDING = 3
3016
+ export declare enum CustomerInMembershipTypeEnum {
3017
+ INDIVIDUAL = "individual",
3018
+ FAMILY = "family",
3019
+ ORGANIZATION = "organization"
2927
3020
  }
2928
- export declare enum AddonParentTypeEnum {
2929
- RESERVATION = "reservation",
2930
- SLOT = "slot"
3021
+ export declare enum MembershipTypeEnum {
3022
+ FIXED = "fix_membership",
3023
+ ROLLING = "rolling_membership"
2931
3024
  }
2932
- export declare enum EEmailStatus {
2933
- SENT = "sent",
2934
- OPENED = "opened",
2935
- PAID = "paid",
2936
- CANCELED = "canceled"
3025
+ export declare enum CustomerTypeEnum {
3026
+ USER = "user",
3027
+ FAMILY = "family",
3028
+ ORGANIZATION = "organization"
2937
3029
  }
2938
- export declare enum PaymentSettingStatusEnum {
2939
- ENABLED = 1,
2940
- DISABLED_REDIRECT = 2,
2941
- DISABLED_INFO_ONLY = 3,
2942
- DISABLED_EMAIL = 4
3030
+ export declare enum GroupStatusEnum {
3031
+ ACTIVE = 1,
3032
+ INACTIVE = 2,
3033
+ DRAFT = 3
2943
3034
  }
2944
- export declare enum NotifyMethodEnum {
2945
- EMAIL = "Email"
3035
+ export declare enum FutureInstallmentStatusEnum {
3036
+ FUTURE = "future",
3037
+ SUCCEEDED = "succeeded",
3038
+ FAILED = "failed",
3039
+ CANCELED = "canceled"
2946
3040
  }
2947
- export declare enum EComparisonFilter {
2948
- LessThan = "lt",
2949
- GreaterOrEqualTo = "gte"
3041
+ export declare enum EntryStatusEnum {
3042
+ ENTERED = 1,
3043
+ NOT_ENTERED = 2,
3044
+ CANCELED = 3
2950
3045
  }
2951
- export interface IEntitlementTerms {
2952
- type: EntitlementTermsTypesEnum;
2953
- id?: number;
2954
- value?: string;
2955
- minValue?: string;
2956
- maxValue?: string;
3046
+ export declare enum PurchasedResourceStatusEnum {
3047
+ ACTIVE = 1,
3048
+ MOVED = 2,
3049
+ CANCELED = 3
2957
3050
  }
2958
- export interface IQuestionAnswerObject {
2959
- questionId: number;
2960
- value: string;
3051
+ export declare enum TeamCanJoinEnum {
3052
+ ANYONE = "anyone",
3053
+ BY_INVITE = "byInvite",
3054
+ CAPTAIN_APPROVAL = "captainApproval"
2961
3055
  }
2962
- export interface ILowestPriceForItem {
2963
- itemId: number;
2964
- itemType: ResourceNameTypeEnum;
2965
- groupId: number;
2966
- groupName?: string;
2967
- price: number;
2968
- overridesPrice: boolean;
3056
+ export declare enum TeamMemberStatusEnum {
3057
+ PENDING = 1,
3058
+ ACTIVE = 2,
3059
+ DECLINED = 3,
3060
+ SUSPENDED = 4,
3061
+ INACTIVE = 5,
3062
+ INVITED = 6
2969
3063
  }
2970
- export interface IResourcesAvailability {
2971
- resourceType: ResourceNameTypeEnum;
2972
- quantity: number;
2973
- resourcesIds: number[];
2974
- isPunchCard: boolean;
2975
- resources?: any[];
3064
+ export declare enum TeamMemberRoleEnum {
3065
+ NULL = 0,
3066
+ ADMIN = 1
2976
3067
  }
2977
- export interface IPackageResponse {
2978
- parentProduct: Product;
2979
- children: IChildProduct[];
3068
+ export declare enum DayOfWeekEnum {
3069
+ SUNDAY = 0,
3070
+ MONDAY = 1,
3071
+ TUESDAY = 2,
3072
+ WEDNESDAY = 3,
3073
+ THURSDAY = 4,
3074
+ FRIDAY = 5,
3075
+ SATURDAY = 6
2980
3076
  }
2981
- export interface IChildProduct {
2982
- product: Product;
2983
- relationType: PackageProductsRelationTypeEnum;
2984
- timePeriod?: AddonTimePeriodEnum;
3077
+ export declare enum ActionTypesEnum {
3078
+ CREATE = "create",
3079
+ READ = "read",
3080
+ UPDATE = "update",
3081
+ DELETE = "delete"
2985
3082
  }
2986
- export interface ISeasonAttendeeInfo {
2987
- applicationAnswers: Answer[];
2988
- segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
2989
- invoices: Invoice[];
2990
- payments: Payment[];
2991
- products: Product[];
2992
- redeemNext: ProductsUsers;
3083
+ export declare enum ActionSourcePlatformEnum {
3084
+ ADMIN = "admin",
3085
+ BACKOFFICE = "backoffice",
3086
+ CONSUMER = "consumer"
2993
3087
  }
2994
- export interface ISeasonAttendeeListInfo {
2995
- userId: number;
2996
- userFirstName: string;
2997
- userLastName: string;
2998
- userGender: number;
2999
- userBirthDate: Date;
3000
- userProfilePicUrl: string;
3001
- customerId: number;
3002
- customerEmail: string;
3003
- paymentStatus: string;
3004
- productName: string;
3005
- punchCard: boolean;
3088
+ export declare enum RolesEnum {
3089
+ ORG_ADMIN = "organizationAdmin",
3090
+ BOND_ADMIN = "bondAdmin"
3006
3091
  }
3007
- export declare class SeasonAsSeasonSegment extends ProgramSeason {
3008
- segmentType: ResourceNameTypeEnum;
3009
- participantRegisteredDate?: string;
3092
+ export declare enum SeasonPoolStatusEnum {
3093
+ IN_POOL = 5,
3094
+ ASSIGNED = 1,
3095
+ QUIT = 2,
3096
+ SUSPENDED = 3,
3097
+ INACTIVE = 4
3010
3098
  }
3011
- export declare class EventAsSeasonSegment extends Event {
3012
- segmentType: ResourceNameTypeEnum;
3013
- participantRegisteredDate?: string;
3099
+ export declare enum AmenitiesEnum {
3100
+ HEAT = 1,
3101
+ AC = 2,
3102
+ WIFI = 3,
3103
+ RESTROOMS = 4,
3104
+ DRINKING_FOUNTAIN = 5,
3105
+ PARKING = 6,
3106
+ CONCESSIONS = 7,
3107
+ SHELTER = 8,
3108
+ PORTABLE_RESTROOMS = 9,
3109
+ LIGHTS = 10,
3110
+ LOCKER_ROOM = 11,
3111
+ PAID_PARKING = 12,
3112
+ ACCESSIBLE = 13
3014
3113
  }
3015
- export interface ITokenResonse {
3016
- token: string;
3114
+ export declare enum ResourceSubTypeEnum {
3115
+ COURT = "court",
3116
+ FIELD = "field",
3117
+ ROOM = "room",
3118
+ DIAMOND = "diamond",
3119
+ RINK = "rink",
3120
+ STUDIO = "studio",
3121
+ POOL = "pool",
3122
+ BATTING_CAGE = "batting cage",
3123
+ SHELTER = "shelter",
3124
+ GOLF_SIMULATOR = "golf simulator"
3017
3125
  }
3018
- export interface IStripeBondInvoices {
3019
- paidStripePaymentIntent: Stripe.PaymentIntent;
3020
- bondPaidPayment: Payment;
3021
- invoice?: Invoice;
3022
- customer?: Customer;
3126
+ export declare enum ResourceTypeEnum {
3127
+ SPACE = "space"
3023
3128
  }
3024
- export interface IPartialPaymentData {
3025
- purchasingUserId: number;
3026
- paymentData: PurchasePaymentDto;
3027
- amountToPay: number;
3129
+ export declare enum ResourceAgesEnum {
3130
+ ADULTS = "adults",
3131
+ CHILDREN = "children"
3028
3132
  }
3029
- export interface IPayment {
3030
- id: number;
3031
- total: number;
3032
- paymentMethod: PaymentMethodTypeEnum;
3033
- status: PaymentStatusEnum;
3034
- createdAt: Date;
3035
- invoices: number[];
3133
+ export declare enum SpacePropertiesEnum {
3134
+ OUTDOOR = "outdoor",
3135
+ INDOOR = "indoor"
3036
3136
  }
3037
- export interface IPaginationData<T> {
3038
- meta: {
3039
- totalItems: number;
3040
- itemsPerPage: number;
3041
- totalPages: number;
3042
- currentPage: number;
3043
- };
3044
- data: T[];
3137
+ export declare enum SurfacesEnum {
3138
+ GRASS = "grass",
3139
+ TURF = "turf",
3140
+ FIELD_TURF = "fieldTurf",
3141
+ ASTRO_TURF = "astroTurf",
3142
+ HARDWOOD = "hardwood",
3143
+ ASPHALT = "asphalt",
3144
+ SAND = "sand",
3145
+ ICE = "ice",
3146
+ SPORT_COURT = "sportCourt"
3045
3147
  }
3046
- export interface IPricesOfProductsResults {
3047
- productId: number;
3048
- userId: number;
3049
- price: number;
3050
- groupId?: number;
3051
- groupName?: string;
3052
- originalPrice?: number;
3053
- priceWithoutTax: number;
3054
- tax: number;
3055
- isTaxInclusive: boolean;
3148
+ export declare enum RegistrationConstraintPeriodTypeEnum {
3149
+ MINUTES = "minutes",
3150
+ DAYS = "days"
3056
3151
  }
3057
- export interface IPaymentMethodToFundLeft {
3058
- paymentType: PaymentMethodTypeEnum;
3059
- paymentMethodId: string;
3060
- fundLeft: number;
3061
- ccLast4?: string;
3062
- ccBrand?: string;
3152
+ export declare enum RegistrationWindowStatusEnum {
3153
+ NOT_OPEN_YET = "not_opened_yet",
3154
+ OPEN = "open",
3155
+ CLOSED = "closed"
3063
3156
  }
3064
- export interface IVariantsAndTitle {
3065
- title: VariantTitle;
3066
- variants: Variant[];
3157
+ export declare enum RegistrationValidationStatusEnum {
3158
+ FULL = "full",
3159
+ ALREADY_REGISTERED = "registered",
3160
+ AVAILABLE = "available",
3161
+ NOT_OPEN_YET = "not opened",
3162
+ ALREADY_CLOSED = "closed",
3163
+ NO_PRODUCT_FOUND = "no-product-found"
3067
3164
  }
3068
- export interface IProgramSeasonActivityTimes {
3069
- dayOfWeek: number;
3070
- open: string;
3071
- close: string;
3165
+ export declare enum DiscountMethodsEnum {
3166
+ PERCENT = "percent",
3167
+ AMOUNT = "amount"
3072
3168
  }
3073
- export interface IProgramSeasonActivityTimesAsDates {
3074
- date: string;
3075
- startTime: string;
3076
- endTime: string;
3169
+ export declare enum UserAuthorizationsTypeEnum {
3170
+ ORGANIZATION = "organization"
3077
3171
  }
3078
- export interface IBlockedDates {
3079
- name: string;
3080
- startDate: Date;
3081
- endDate: Date;
3172
+ export declare enum OrganizationLocaleDateEnum {
3173
+ USA = "USA"
3082
3174
  }
3083
- export interface ISingleMemberForRenewal {
3084
- member_id: number;
3085
- member_membershipId: number;
3086
- member_userId: number;
3087
- member_nextPaymentMethodId?: string;
3088
- member_nextPaymentType?: PaymentMethodTypeEnum;
3089
- member_answerTitleIds?: number[];
3090
- member_organizationId: number;
3091
- product_productPrice: number;
3092
- product_productId: number;
3093
- invoice_payingUserId: number;
3094
- invoice_paymentMethodId: string;
3095
- invoice_paymentType: PaymentMethodTypeEnum;
3096
- endDate: Date;
3097
- membership_name: string;
3098
- user_firstName: string;
3099
- user_lastName: string;
3100
- user_email: string;
3175
+ export declare enum DateTimeFormatsEnum {
3176
+ API_DATE = "YYYY/MM/DD",
3177
+ API_TIME = "HH:mm:ss",
3178
+ DB_DATE = "YYYY-MM-DD"
3101
3179
  }
3102
- export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
3103
- package_parentProductId: number;
3104
- product2_productPrice: number;
3105
- familyid: number;
3106
- invoice_id: number;
3180
+ export declare enum SlotTypeEnum {
3181
+ EXTERNAL = "external",
3182
+ INTERNAL = "internal",
3183
+ MAINTENANCE = "maintenance",
3184
+ CUSTOM = "custom"
3107
3185
  }
3108
- export interface IResourceRegistrationData {
3109
- id: number;
3110
- resourceType: ResourceNameTypeEnum;
3111
- openNumDays?: number;
3112
- openNumMinutes?: number;
3113
- openTime?: string;
3114
- closeNumDays?: number;
3115
- closeNumMinutes?: number;
3116
- closeTime?: string;
3117
- registrationWindowStatus?: RegistrationWindowStatusEnum;
3186
+ export declare enum PlatformsEnum {
3187
+ CONSUMER = "consumer",
3188
+ CONSUMER_CHECKOUT = "consumer_checkout",
3189
+ BO = "backoffice",
3190
+ MOBILE = "mobile",
3191
+ CRON = "cron"
3118
3192
  }
3119
- export interface IResourceDataForConstraintsCalc {
3120
- id: number;
3121
- startDate: string;
3122
- startTime: string;
3193
+ export declare enum ShiftStatusEnum {
3194
+ OPEN = "open",
3195
+ CLOSED = "closed",
3196
+ MANAGMENT_CLOSED = "closed_by_manager",
3197
+ RECONCILED = "reconciled"
3123
3198
  }
3124
- export interface IRegistrationConstraintsSetting {
3125
- numDays?: number;
3126
- numMinutes?: number;
3199
+ export declare enum EventStatusEnum {
3200
+ OPEN = 1,
3201
+ DRAFT = 2,
3202
+ FULL = 3,
3203
+ CANCELLED = 4,
3204
+ CLOSED = 5,
3205
+ DELETED = 6
3127
3206
  }
3128
- export interface IAttendeeDataToNotify {
3129
- firstName: string;
3130
- lastName: string;
3131
- email: string;
3132
- sessionName: string;
3133
- parentSessionName?: string;
3134
- organizationName: string;
3135
- programName: string;
3207
+ export declare enum ReservationTypeEnum {
3208
+ RENTAL = "rental",
3209
+ PROGRAM = "program",
3210
+ MAINTENANCE = "maintenance",
3211
+ CUSTOM = "custom",
3212
+ INTERNAL = "internal"
3136
3213
  }
3137
- export interface IEventInSchedule {
3138
- eventId: number;
3139
- eventName: string;
3140
- eventStartDate: string;
3141
- eventEndDate: string;
3142
- eventStartTime: string;
3143
- eventEndTime: string;
3144
- programId: number;
3145
- programName: string;
3146
- programType: ProgramTypesEnum;
3147
- sessionId: number;
3148
- sessionName: string;
3149
- sports: number;
3150
- spaces: {
3151
- spaceId: number;
3152
- spaceName: string;
3153
- }[];
3154
- status?: RegistrationValidationStatusEnum;
3214
+ export declare enum SlotDurationTypeEnum {
3215
+ DATES = "dates",
3216
+ ALL_DAY = "all day",
3217
+ DURATION = "duration"
3155
3218
  }
3156
- export interface ISlotInSchedule {
3157
- facilityId: number;
3158
- facilityName: string;
3159
- spaces: ISpaceWithSlots[];
3219
+ export declare enum DurationUnitTypesEnum {
3220
+ MINUTES = "minutes",
3221
+ HOURS = "hours"
3160
3222
  }
3161
- export interface ISpaceWithSlots {
3162
- id: number;
3163
- name: string;
3164
- slots: ISlotReservationData[];
3223
+ export declare enum FrequencyEnum {
3224
+ NONE = "none",
3225
+ WEEKLY = "weekly",
3226
+ DAILY = "daily",
3227
+ MONTHLY = "monthly",
3228
+ YEARLY = "yearly"
3165
3229
  }
3166
- export interface ISlotReservationData {
3167
- reservationId: number;
3168
- reservationName: string;
3169
- date: string;
3170
- startTime: string;
3171
- endTime: string;
3172
- notes: string;
3173
- spaceId: number;
3174
- isRental: boolean;
3175
- slotType: SlotTypeEnum;
3176
- slotId: number;
3177
- eventId: number;
3178
- isPrivate: boolean;
3230
+ export declare enum MaintenanceTimingEnum {
3231
+ BEFORE = 1,
3232
+ AFTER = 2,
3233
+ AT_THE_BEGINING = 3,
3234
+ AT_THE_END = 4
3179
3235
  }
3180
- export interface IRawEventInSchedule extends IEventInSchedule {
3181
- parentSessionId: number;
3182
- parentSessionName: string;
3183
- eventTimezone: string;
3184
- maxParticipants: number;
3185
- maxMaleParticipants: number;
3186
- maxFemaleParticipants: number;
3187
- isPunchCard: boolean;
3236
+ export declare enum CreatorTypeEnum {
3237
+ SPACE = "space",
3238
+ PROGRAM_SEASON = "program_season",
3239
+ SEASON = "season"
3188
3240
  }
3189
- export interface IBasicSpaceAndSlotCreator {
3190
- id: number;
3191
- name: string;
3192
- bookingCreatorId: number;
3241
+ export declare enum UpdatePricesTypeEnum {
3242
+ INDIVIDUAL = "indvidual",
3243
+ CATEGORY = "category",
3244
+ GLOBAL = "global"
3193
3245
  }
3194
- export interface IRawSlotInSchedule {
3195
- startDate: string;
3196
- endDate: string;
3197
- startTime: string;
3198
- endTime: string;
3199
- reservationId: number;
3200
- eventTitle: string;
3201
- publicNotes: string;
3202
- spaceId: number;
3203
- creatorType: ResourceNameTypeEnum;
3204
- slotType: SlotTypeEnum;
3205
- slotId: number;
3206
- eventId: number;
3207
- isPrivate: boolean;
3246
+ export declare enum BondDayOfWeekEnum {
3247
+ MONDAY = 2,
3248
+ TUESDAY = 3,
3249
+ WEDNESDAY = 4,
3250
+ THURSDAY = 5,
3251
+ FRIDAY = 6,
3252
+ SATURDAY = 7,
3253
+ SUNDAY = 8
3208
3254
  }
3209
- export interface IPurchasedResourcesRaw {
3210
- purchasedId: number;
3211
- purchasedProductUserId: number;
3212
- purchasedResourceId: number;
3213
- purchasedResourceType: ResourceNameTypeEnum;
3214
- purchasedStatus: PurchasedResourceStatusEnum;
3215
- pUserId: number;
3216
- pUserPaymentStatus: PaymentStatusEnum;
3217
- pUserProductId: number;
3218
- pUserProductName: string;
3219
- pUserProductPrice: number;
3220
- pUserProductPriceCurrency: string;
3221
- pUserProductQuantity: number;
3222
- pUserProductQuantityLeft: number;
3223
- pUserUserId: number;
3255
+ export declare enum ReservationMigrationStatusEnum {
3256
+ NEW = "new",
3257
+ NO = "no",
3258
+ YES = "yes"
3224
3259
  }
3225
- export interface IUsersPasses {
3226
- userId: number;
3227
- userFirstName: string;
3228
- userLastName: string;
3229
- organizationId: number;
3230
- programId: number;
3231
- programName: string;
3232
- sessionId: number;
3233
- sessionName: string;
3234
- productId: number;
3235
- productName: string;
3236
- productUserId: number;
3237
- purchaseDate: Date;
3238
- passesLeft: number;
3260
+ export declare enum ProductPackageLevelEnum {
3261
+ HOUR = "hour",
3262
+ SLOT = "slot",
3263
+ RESERVATION = "reservation"
3239
3264
  }
3240
- export interface ISessionsLandingPage {
3241
- sessionId: number;
3242
- name: string;
3243
- startDate: Date;
3244
- endDate: Date;
3245
- registrationStartDate: Date;
3246
- registrationEndDate: Date;
3247
- sport: SportsEnum;
3248
- minAge: string;
3249
- maxAge: string;
3250
- maxParticipants?: number;
3251
- gender: GenderEnum;
3252
- activityTimes: ActivityTimes[];
3253
- earlyRegistrationStartDate?: Date;
3254
- earlyRegistrationEndDate?: Date;
3255
- lateRegistrationStartDate?: Date;
3256
- lateRegistrationEndDate?: Date;
3257
- attendeeCount?: number;
3258
- segmentsOrEvents: 'segment' | 'event';
3265
+ export declare enum CancellationStatusEnum {
3266
+ IMMEDIATE = "immediate",
3267
+ AUTO_RENEWAL = "auto_renewal"
3259
3268
  }
3260
- export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
3261
- hasRequiredMembership: boolean;
3262
- hasEntitledPricing: boolean;
3263
- lowestPrice?: number;
3264
- products?: ISessionLandingPageProduct[];
3269
+ export declare enum SeasonScheduleStatusEnum {
3270
+ DRAFT = 0,
3271
+ PUBLISHED = 1
3265
3272
  }
3266
- export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
3267
- hasRequiredMembership: boolean;
3268
- hasEntitledPricing: boolean;
3269
- products?: ISessionLandingPageProduct[];
3270
- segments?: Event[] | ProgramSeason[];
3271
- programName: string;
3272
- programId: number;
3273
- levelOfPlay: LevelOfPlayEnum[];
3274
- registrationConstraints: IResourceRegistrationData[];
3273
+ export declare enum FinancialStepEnum {
3274
+ VOID = "void",
3275
+ REFUND = "refund",
3276
+ NONE = "none",
3277
+ REFUND_AND_VOID = "refund-and-void",
3278
+ APPEND = "append"
3275
3279
  }
3276
- export interface ISlimAddons {
3277
- addons?: {
3278
- id: number;
3279
- timePeriod: AddonTimePeriodEnum;
3280
- name: string;
3281
- productType?: ProductTypesEnum;
3282
- productSubType?: string;
3283
- }[];
3280
+ export declare enum StripeAccountTypesEnum {
3281
+ STRIPE = "stripe",
3282
+ STRIPE_CUSTOM = "stripe:account:custom",
3283
+ STRIPE_CUSTOMER = "stripe:customer"
3284
3284
  }
3285
- export interface ISessionLandingPageProduct extends ISlimAddons {
3286
- id: number;
3287
- name: string;
3288
- startDate?: Date;
3289
- endDate?: Date;
3290
- downpayment?: number;
3291
- description?: string;
3292
- prices: Price[];
3293
- productSubType?: ProductSubTypesEnum;
3294
- punchCard: boolean;
3295
- isAddon: boolean;
3296
- defaultPriceId?: number;
3285
+ export declare enum LinkedAccountStatus {
3286
+ PENDING = 1,
3287
+ ACTIVE = 2,
3288
+ PRE_PENDING = 3
3297
3289
  }
3298
- export interface CreatePaymentIntentDto extends PurchaseRequestDto {
3299
- destinationId?: string;
3300
- stripeCustomerId?: string;
3301
- fee?: number;
3290
+ export declare enum AddonParentTypeEnum {
3291
+ RESERVATION = "reservation",
3292
+ SLOT = "slot"
3302
3293
  }
3303
- export interface IReservationCreatorData {
3304
- type: ResourceNameTypeEnum;
3305
- id: number;
3306
- organizationId: number;
3307
- startDate: string;
3308
- endDate: string;
3309
- sportId: number;
3294
+ export declare enum EEmailStatus {
3295
+ SENT = "sent",
3296
+ OPENED = "opened",
3297
+ PAID = "paid",
3298
+ CANCELED = "canceled"
3310
3299
  }
3311
- export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3312
- name?: string;
3313
- genderStr?: string;
3314
- parentID?: string;
3315
- partnerID?: string;
3316
- membershipName?: string;
3317
- membershipExpDate?: string;
3318
- membershipCreationDate?: string;
3319
- bondMembershipID?: number;
3300
+ export declare enum PaymentSettingStatusEnum {
3301
+ ENABLED = 1,
3302
+ DISABLED_REDIRECT = 2,
3303
+ DISABLED_INFO_ONLY = 3,
3304
+ DISABLED_EMAIL = 4
3320
3305
  }
3321
- export declare class AddFamilyDto {
3322
- parents: AddImportedCustomerDto[];
3323
- children: AddImportedCustomerDto[];
3306
+ export declare enum NotifyMethodEnum {
3307
+ EMAIL = "Email"
3324
3308
  }
3325
- export declare class ColumnNumericTransformer {
3326
- to(data: number): number;
3327
- from(data: string): number;
3309
+ export declare enum EComparisonFilter {
3310
+ LessThan = "lt",
3311
+ GreaterOrEqualTo = "gte"
3328
3312
  }
3329
- export declare function convertToNumber(data: string): number;
3330
3313
  export declare enum ImportPaymentTypeEnum {
3331
3314
  CREDIT_CARD = "card",
3332
3315
  ACH = "ach",
@@ -3363,6 +3346,25 @@ export declare class ImportedPaymentDto {
3363
3346
  date: string;
3364
3347
  time: string;
3365
3348
  }
3349
+ export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3350
+ name?: string;
3351
+ genderStr?: string;
3352
+ parentID?: string;
3353
+ partnerID?: string;
3354
+ membershipName?: string;
3355
+ membershipExpDate?: string;
3356
+ membershipCreationDate?: string;
3357
+ bondMembershipID?: number;
3358
+ }
3359
+ export declare class AddFamilyDto {
3360
+ parents: AddImportedCustomerDto[];
3361
+ children: AddImportedCustomerDto[];
3362
+ }
3363
+ export declare class ColumnNumericTransformer {
3364
+ to(data: number): number;
3365
+ from(data: string): number;
3366
+ }
3367
+ export declare function convertToNumber(data: string): number;
3366
3368
  export declare class ProductIdsDto {
3367
3369
  productIds?: number[];
3368
3370
  }
@@ -3455,12 +3457,6 @@ export declare class RoundEvents extends BaseEntity {
3455
3457
  createdAt: Date;
3456
3458
  updatedAt: Date;
3457
3459
  }
3458
- export declare class SeasonRounds extends BondBaseEntity {
3459
- seasonId: number;
3460
- ordinal?: number;
3461
- divisionId?: number;
3462
- name: string;
3463
- }
3464
3460
  export declare class TeamEvents extends BondBaseEntity {
3465
3461
  teamId: number | null;
3466
3462
  eventId: number | null;
@@ -3470,12 +3466,6 @@ export declare class Lock extends BondBaseEntity {
3470
3466
  name: string;
3471
3467
  locked?: Date;
3472
3468
  }
3473
- export declare class CreateMonitorConfigDto {
3474
- facilityId: number;
3475
- name: string;
3476
- code: string;
3477
- config: any;
3478
- }
3479
3469
  export interface ValidatedMonthAndDay {
3480
3470
  valid: boolean;
3481
3471
  month?: number;
@@ -3497,6 +3487,23 @@ export interface PaymentStatusesDict {
3497
3487
  export interface PaymentStatusDict {
3498
3488
  [id: number]: ReservationPaymentStatusEnum;
3499
3489
  }
3490
+ export declare class CreateMonitorConfigDto {
3491
+ facilityId: number;
3492
+ name: string;
3493
+ code: string;
3494
+ config: any;
3495
+ }
3496
+ export declare class SeasonRounds extends BondBaseEntity {
3497
+ seasonId: number;
3498
+ ordinal?: number;
3499
+ divisionId?: number;
3500
+ name: string;
3501
+ }
3502
+ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3503
+ facilityId: number;
3504
+ code: string;
3505
+ config?: any;
3506
+ }
3500
3507
  export declare class NotifyTracker extends BondBaseEntity {
3501
3508
  userId: number;
3502
3509
  organizationId: number;
@@ -3504,11 +3511,6 @@ export declare class NotifyTracker extends BondBaseEntity {
3504
3511
  notfiyMethodtype: NotifyMethodEnum;
3505
3512
  destination: string;
3506
3513
  }
3507
- export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
3508
- facilityId: number;
3509
- code: string;
3510
- config?: any;
3511
- }
3512
3514
  export declare class ByOrganizationIdDto {
3513
3515
  organizationId: number;
3514
3516
  }
@@ -3583,15 +3585,41 @@ export declare class Organization extends BondBaseEntity {
3583
3585
  brandingsV2?: OrganizationBranding[];
3584
3586
  uberOrganization: UberOrganization;
3585
3587
  }
3586
- export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3587
- mainAdminUserId?: number;
3588
- }
3589
3588
  export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
3590
3589
  key?: string;
3591
3590
  vaule?: string;
3592
3591
  version: number;
3593
3592
  organization: Organization;
3594
3593
  }
3594
+ export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3595
+ mainAdminUserId?: number;
3596
+ }
3597
+ export interface UnallocatedEventsFilters {
3598
+ programsIds?: number[];
3599
+ sessionsIds?: number[];
3600
+ segmentsIds?: number[];
3601
+ durations?: Duration[];
3602
+ daysOfWeek?: number[];
3603
+ }
3604
+ export interface Duration {
3605
+ startDate: string;
3606
+ endDate: string;
3607
+ }
3608
+ export interface IUnallocatedEventRes {
3609
+ id: number;
3610
+ title: string;
3611
+ sports: number[];
3612
+ startDate: string;
3613
+ startDateString: string;
3614
+ startTime: string;
3615
+ endDate: string;
3616
+ endDateString: string;
3617
+ endTime: string;
3618
+ timezone: string;
3619
+ }
3620
+ export interface IUnallocatedEventsIdsRes {
3621
+ data: IUnallocatedEventRes[];
3622
+ }
3595
3623
  export declare class OrganizationUsers extends BondBaseEntity {
3596
3624
  organisationId: number | null;
3597
3625
  userId: number | null;
@@ -3785,32 +3813,6 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
3785
3813
  failedLineItems: Map<number, RefundLineItemAmountDto>;
3786
3814
  totalAmountProcessed: number;
3787
3815
  }
3788
- export interface UnallocatedEventsFilters {
3789
- programsIds?: number[];
3790
- sessionsIds?: number[];
3791
- segmentsIds?: number[];
3792
- durations?: Duration[];
3793
- daysOfWeek?: number[];
3794
- }
3795
- export interface Duration {
3796
- startDate: string;
3797
- endDate: string;
3798
- }
3799
- export interface IUnallocatedEventRes {
3800
- id: number;
3801
- title: string;
3802
- sports: number[];
3803
- startDate: string;
3804
- startDateString: string;
3805
- startTime: string;
3806
- endDate: string;
3807
- endDateString: string;
3808
- endTime: string;
3809
- timezone: string;
3810
- }
3811
- export interface IUnallocatedEventsIdsRes {
3812
- data: IUnallocatedEventRes[];
3813
- }
3814
3816
  export declare class AddonDto {
3815
3817
  productId: number;
3816
3818
  id?: number;
@@ -3906,6 +3908,13 @@ export declare class LineItemDto {
3906
3908
  parentOrdinal?: number;
3907
3909
  totalPrice?: number;
3908
3910
  }
3911
+ export declare class MaintenanceDto {
3912
+ id?: number;
3913
+ title: string;
3914
+ durationValue: number;
3915
+ maintenanceDurationdurationType: DurationUnitTypesEnum;
3916
+ maintenanceTiming: MaintenanceTimingEnum;
3917
+ }
3909
3918
  export declare class PurchasedResourceDto {
3910
3919
  resourceId?: number;
3911
3920
  resourceType: ResourceNameTypeEnum;
@@ -3914,12 +3923,33 @@ export declare class PurchasedResourceDto {
3914
3923
  endDate?: string;
3915
3924
  endTime?: string;
3916
3925
  }
3917
- export declare class MaintenanceDto {
3926
+ export declare class SegmentDto {
3918
3927
  id?: number;
3919
3928
  title: string;
3920
- durationValue: number;
3921
- maintenanceDurationdurationType: DurationUnitTypesEnum;
3922
- maintenanceTiming: MaintenanceTimingEnum;
3929
+ isPrivate: boolean;
3930
+ resourceIds: number[];
3931
+ sportId?: number;
3932
+ series: SeriesDto[];
3933
+ addonIds?: number[];
3934
+ publicNotesForSlots?: string;
3935
+ privateNotesForSlots?: string;
3936
+ }
3937
+ export declare class SeriesDto {
3938
+ id?: number;
3939
+ startDate: string;
3940
+ startTime?: string;
3941
+ endDate?: string;
3942
+ endTime?: string;
3943
+ slotDurationType: SlotDurationTypeEnum;
3944
+ durationEndsAfter?: number;
3945
+ durationUnit?: DurationUnitTypesEnum;
3946
+ frequency: FrequencyEnum;
3947
+ repeatEvery?: number;
3948
+ repeatOn?: number[];
3949
+ repeatEndDate?: string;
3950
+ numberOccurrences?: number;
3951
+ maintenance?: MaintenanceDto[];
3952
+ slots?: SlotDto[];
3923
3953
  }
3924
3954
  export declare class ReservationDto {
3925
3955
  id?: number;
@@ -4074,23 +4104,6 @@ export declare class UpdateReservationInvoiceDto {
4074
4104
  updateAddons?: boolean;
4075
4105
  updateMaintenance?: boolean;
4076
4106
  }
4077
- export declare class SeriesDto {
4078
- id?: number;
4079
- startDate: string;
4080
- startTime?: string;
4081
- endDate?: string;
4082
- endTime?: string;
4083
- slotDurationType: SlotDurationTypeEnum;
4084
- durationEndsAfter?: number;
4085
- durationUnit?: DurationUnitTypesEnum;
4086
- frequency: FrequencyEnum;
4087
- repeatEvery?: number;
4088
- repeatOn?: number[];
4089
- repeatEndDate?: string;
4090
- numberOccurrences?: number;
4091
- maintenance?: MaintenanceDto[];
4092
- slots?: SlotDto[];
4093
- }
4094
4107
  export declare class SlotDateTimeAndSpace {
4095
4108
  startDate: string;
4096
4109
  startTime?: string;
@@ -4153,17 +4166,6 @@ export declare class TimeSlotsDto {
4153
4166
  export declare class SlotsIdsDto {
4154
4167
  slotsIds: number[];
4155
4168
  }
4156
- export declare class SegmentDto {
4157
- id?: number;
4158
- title: string;
4159
- isPrivate: boolean;
4160
- resourceIds: number[];
4161
- sportId?: number;
4162
- series: SeriesDto[];
4163
- addonIds?: number[];
4164
- publicNotesForSlots?: string;
4165
- privateNotesForSlots?: string;
4166
- }
4167
4169
  declare class AnswerDto {
4168
4170
  questionId: number;
4169
4171
  value: any;
@@ -4274,6 +4276,25 @@ export declare class Segment extends OrganizationConnectionBaseEntity {
4274
4276
  privateNotesForSlots?: string;
4275
4277
  slots?: Slot[];
4276
4278
  }
4279
+ export declare class Series extends OrganizationConnectionBaseEntity {
4280
+ deletedAt?: Date;
4281
+ segmentId: number;
4282
+ segment?: Segment;
4283
+ slots?: Slot[];
4284
+ slotDurationType: string;
4285
+ durationEndsAfter: number;
4286
+ durationUnit: string;
4287
+ startDate?: Date;
4288
+ endDate?: Date;
4289
+ startTime: string;
4290
+ endTime: string;
4291
+ frequency: string;
4292
+ repeatEvery: number;
4293
+ repeatOn?: number[];
4294
+ repeatEndDate?: Date;
4295
+ numberOccurrences?: number;
4296
+ resources?: Resource[];
4297
+ }
4277
4298
  export declare class Slot extends OrganizationConnectionBaseEntity {
4278
4299
  constructor();
4279
4300
  defineIsReverted(): void;
@@ -4387,25 +4408,6 @@ export interface OverrideLineItemPrice {
4387
4408
  export interface OverrideProductsPricing {
4388
4409
  [productInfo: string]: ProductPricesDto;
4389
4410
  }
4390
- export declare class Series extends OrganizationConnectionBaseEntity {
4391
- deletedAt?: Date;
4392
- segmentId: number;
4393
- segment?: Segment;
4394
- slots?: Slot[];
4395
- slotDurationType: string;
4396
- durationEndsAfter: number;
4397
- durationUnit: string;
4398
- startDate?: Date;
4399
- endDate?: Date;
4400
- startTime: string;
4401
- endTime: string;
4402
- frequency: string;
4403
- repeatEvery: number;
4404
- repeatOn?: number[];
4405
- repeatEndDate?: Date;
4406
- numberOccurrences?: number;
4407
- resources?: Resource[];
4408
- }
4409
4411
  export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
4410
4412
  export declare type TResource = Reservation | Segment | Series | Slot | Addon;
4411
4413
  export interface ReservationV1 {
@@ -4630,15 +4632,21 @@ export interface OverridePriceMeta {
4630
4632
  quantity: number;
4631
4633
  totalPrice: number;
4632
4634
  }
4635
+ export declare class CreateRoleDto {
4636
+ name: string;
4637
+ }
4633
4638
  export declare class ChangeRolePermissionsDto {
4634
4639
  permissionIds: number[];
4635
4640
  }
4636
- export declare class CreateRoleDto {
4641
+ export declare class Permission extends BondBaseEntity {
4637
4642
  name: string;
4643
+ deletedAt?: Date;
4638
4644
  }
4639
- export declare class Permission extends BondBaseEntity {
4645
+ export declare class Role extends OrganizationConnectionBaseEntity {
4640
4646
  name: string;
4641
4647
  deletedAt?: Date;
4648
+ permissions: Permission[];
4649
+ usersRoles: UserRole[];
4642
4650
  }
4643
4651
  export declare class UserRole extends OrganizationConnectionBaseEntity {
4644
4652
  deletedAt?: Date;
@@ -4647,12 +4655,6 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
4647
4655
  role: Role;
4648
4656
  user: User;
4649
4657
  }
4650
- export declare class Role extends OrganizationConnectionBaseEntity {
4651
- name: string;
4652
- deletedAt?: Date;
4653
- permissions: Permission[];
4654
- usersRoles: UserRole[];
4655
- }
4656
4658
  export declare class CloseShiftDto {
4657
4659
  closingCashAmount: number;
4658
4660
  }
@@ -4679,13 +4681,6 @@ export declare class FindShiftsFormattedFilters {
4679
4681
  startDate?: Date;
4680
4682
  endDate?: Date;
4681
4683
  }
4682
- export declare class ShiftManagementClosingAmount {
4683
- shiftId: number;
4684
- managementClosingCashAmount: number;
4685
- }
4686
- export declare class ManagementClosingOfShiftsDto {
4687
- managementClosingData: ShiftManagementClosingAmount[];
4688
- }
4689
4684
  export declare class OpenShiftDto {
4690
4685
  openingCashAmount: number;
4691
4686
  stationId: number;
@@ -4719,6 +4714,13 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
4719
4714
  closingManager?: User;
4720
4715
  reconcilingUser?: User;
4721
4716
  }
4717
+ export declare class ShiftManagementClosingAmount {
4718
+ shiftId: number;
4719
+ managementClosingCashAmount: number;
4720
+ }
4721
+ export declare class ManagementClosingOfShiftsDto {
4722
+ managementClosingData: ShiftManagementClosingAmount[];
4723
+ }
4722
4724
  export default interface IWebflowProgram {
4723
4725
  name: string;
4724
4726
  id: number;