@bondsports/types 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/build/index.d.ts +929 -933
  2. package/package.json +1 -1
package/build/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import { BaseEntity } from 'typeorm';
2
2
  import { Stripe } from 'stripe';
3
3
  import moment from 'moment';
4
- export declare class FindBookingTypeSettingDto {
5
- organizationId: number;
6
- facilityId: number;
7
- spaceId: number;
8
- bookingDate: string;
9
- bookingTime: string;
4
+ export declare class BasicActivityTimesDto {
5
+ dayOfWeek: number;
6
+ close: string;
7
+ open: string;
8
+ availabilityStartDate?: string;
9
+ availabilityEndDate?: string;
10
10
  }
11
11
  export declare class QuestionAnswersDto {
12
12
  questionId: number;
@@ -19,87 +19,12 @@ export declare class UserAnswersDto {
19
19
  export declare class GetByQuestionnaireIdsDto {
20
20
  questionnaireIds: string;
21
21
  }
22
- export declare class AddressDto {
23
- city: string;
24
- state: string;
25
- country: string;
26
- geo: number[];
27
- }
28
- export declare class OpeningTimeDto {
29
- open: string;
30
- close: string;
31
- dayOfWeek: number;
32
- }
33
- export declare class CreateFacilityDto {
34
- name: string;
35
- sports: number[];
36
- description?: string;
37
- longDescription?: string;
38
- info?: string;
39
- address: AddressDto;
40
- timezone: string;
41
- amenities: number[];
42
- openingTimes: OpeningTimeDto[];
43
- resourcesIds?: number[];
44
- }
45
- export declare class UpdateFacilityDetailsDto {
46
- name?: string;
47
- description?: string;
48
- longDescription?: string;
49
- info?: string;
50
- address?: AddressDto;
51
- timezone?: string;
52
- }
53
- export declare class UpdateFacilityOpeningTimesDto {
54
- openingTimes: OpeningTimeDto[];
55
- }
56
- export declare class UpdateFacilitySportsDto {
57
- sports: number[];
58
- }
59
- export declare class UpdateFacilityAmenitiesDto {
60
- amenities: number[];
61
- }
62
- export declare class FindFacilitiesOptionsDto extends PaginationQuery {
63
- nameSearch?: string;
64
- }
65
- export declare class BasicActivityTimesDto {
66
- dayOfWeek: number;
67
- close: string;
68
- open: string;
69
- availabilityStartDate?: string;
70
- availabilityEndDate?: string;
71
- }
72
- export declare class FindFamilyAccountsDto {
73
- userId: number;
74
- }
75
- export declare class FindFamilyAccountsCustomerDto {
76
- customerId: number;
22
+ export declare class FindBookingTypeSettingDto {
77
23
  organizationId: number;
78
- }
79
- export declare class FindUsersInFamilyAccountDto {
80
- familyAccountId: number;
81
- }
82
- export declare class CreateFamilyAccountDto {
83
- familyName: string;
84
- userId: number;
85
- }
86
- export declare class UpdateFamilyAccountNameDto {
87
- familyName: string;
88
- familyAccountId: number;
89
- }
90
- export declare class AddUserToFamilyAccountDto {
91
- familyAccountId: number;
92
- isUserAdmin: boolean;
93
- firstName: string;
94
- lastName: string;
95
- gender: GenderEnum;
96
- birthDate: string;
97
- sports?: number[];
98
- email?: string;
99
- }
100
- export declare class RemoveUserFromFamilyAccountDto {
101
- userId: number;
102
- familyAccountId: number;
24
+ facilityId: number;
25
+ spaceId: number;
26
+ bookingDate: string;
27
+ bookingTime: string;
103
28
  }
104
29
  export declare class FindEventByIdDto {
105
30
  eventId: number;
@@ -202,17 +127,48 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
202
127
  isWaiverSigned?: string;
203
128
  statuses?: string;
204
129
  }
205
- export declare class FindOneParams {
206
- id: number;
130
+ export declare class AddressDto {
131
+ city: string;
132
+ state: string;
133
+ country: string;
134
+ geo: number[];
207
135
  }
208
- export declare class PaginationQuery {
209
- page: number;
210
- itemsPerPage: number;
136
+ export declare class OpeningTimeDto {
137
+ open: string;
138
+ close: string;
139
+ dayOfWeek: number;
211
140
  }
212
- export declare class PaginationRangeQuery {
213
- startPage: number;
214
- endPage: number;
215
- itemsPerPage: number;
141
+ export declare class CreateFacilityDto {
142
+ name: string;
143
+ sports: number[];
144
+ description?: string;
145
+ longDescription?: string;
146
+ info?: string;
147
+ address: AddressDto;
148
+ timezone: string;
149
+ amenities: number[];
150
+ openingTimes: OpeningTimeDto[];
151
+ resourcesIds?: number[];
152
+ }
153
+ export declare class UpdateFacilityDetailsDto {
154
+ name?: string;
155
+ description?: string;
156
+ longDescription?: string;
157
+ info?: string;
158
+ address?: AddressDto;
159
+ timezone?: string;
160
+ }
161
+ export declare class UpdateFacilityOpeningTimesDto {
162
+ openingTimes: OpeningTimeDto[];
163
+ }
164
+ export declare class UpdateFacilitySportsDto {
165
+ sports: number[];
166
+ }
167
+ export declare class UpdateFacilityAmenitiesDto {
168
+ amenities: number[];
169
+ }
170
+ export declare class FindFacilitiesOptionsDto extends PaginationQuery {
171
+ nameSearch?: string;
216
172
  }
217
173
  export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
218
174
  membershipId: number;
@@ -272,6 +228,50 @@ export declare class AddEditCustomerDto {
272
228
  emergencyContactName?: string;
273
229
  emergencyContactPhone?: string;
274
230
  }
231
+ export declare class FindFamilyAccountsDto {
232
+ userId: number;
233
+ }
234
+ export declare class FindFamilyAccountsCustomerDto {
235
+ customerId: number;
236
+ organizationId: number;
237
+ }
238
+ export declare class FindUsersInFamilyAccountDto {
239
+ familyAccountId: number;
240
+ }
241
+ export declare class CreateFamilyAccountDto {
242
+ familyName: string;
243
+ userId: number;
244
+ }
245
+ export declare class UpdateFamilyAccountNameDto {
246
+ familyName: string;
247
+ familyAccountId: number;
248
+ }
249
+ export declare class AddUserToFamilyAccountDto {
250
+ familyAccountId: number;
251
+ isUserAdmin: boolean;
252
+ firstName: string;
253
+ lastName: string;
254
+ gender: GenderEnum;
255
+ birthDate: string;
256
+ sports?: number[];
257
+ email?: string;
258
+ }
259
+ export declare class RemoveUserFromFamilyAccountDto {
260
+ userId: number;
261
+ familyAccountId: number;
262
+ }
263
+ export declare class FindOneParams {
264
+ id: number;
265
+ }
266
+ export declare class PaginationQuery {
267
+ page: number;
268
+ itemsPerPage: number;
269
+ }
270
+ export declare class PaginationRangeQuery {
271
+ startPage: number;
272
+ endPage: number;
273
+ itemsPerPage: number;
274
+ }
275
275
  export declare class FindGlCodeByOrganizationIdDto {
276
276
  organizationId: number;
277
277
  }
@@ -673,49 +673,23 @@ export declare class createResourceDto {
673
673
  export declare class archiveDto {
674
674
  isArchive: boolean;
675
675
  }
676
- export declare class FindProgramsByOrganizationIdDto {
676
+ export declare class CreateUpdateVariantsDto {
677
677
  organizationId: number;
678
- programType?: ProgramTypesEnum;
679
- }
680
- export declare class FindProgramByIdDto {
681
- programId: number;
678
+ parentProductId: number;
679
+ variantTitles: VariantTitleDto[];
680
+ variants: VariantDto[];
682
681
  }
683
- export declare class FindProgramByOrgIdAndIdDto {
684
- programId: number;
685
- organizationId: number;
682
+ export declare class VariantTitleDto {
683
+ titleName: string;
684
+ titleId: number;
686
685
  }
687
- export declare class BaseProgramDto {
688
- type: ProgramTypesEnum;
686
+ export declare class VariantDto {
689
687
  name: string;
690
- sport: SportsEnum;
691
- minAge: string;
692
- maxAge: string;
693
- gender: GenderEnum;
694
- level?: LevelOfPlayEnum[];
695
- description?: string;
696
- GL?: string;
697
- status: PublishingStatusEnum;
698
- organizationId: number;
699
- userCreatorId: number;
700
- highlights: ProgramHighlights[];
701
- longDescription?: string;
702
- requiredProductIds: number[];
703
- }
704
- export declare class CreateProgramDto extends BaseProgramDto {
705
- }
706
- export declare class UpdateProgramDto extends BaseProgramDto {
707
- programId: number;
708
- mainMediaId: number;
709
- }
710
- export declare class UpdateProgramStatusDto {
711
- programId: number;
712
- status: PublishingStatusEnum;
713
- }
714
- export declare class ProgramHighlightDto {
715
- data: string;
716
- ordinal: number;
717
- type: ProgramHighlightTypeEnum;
718
- title: string;
688
+ price: number;
689
+ variantId: number;
690
+ currency: CurrencyEnum;
691
+ startDate: Date;
692
+ endDate: Date;
719
693
  }
720
694
  export declare class FindProgramSeasonsByProgramIdDto {
721
695
  programId: number;
@@ -901,17 +875,53 @@ export declare class MoveParticipantDto {
901
875
  resourceId: number;
902
876
  orderId: number;
903
877
  }
904
- export declare class CreateResourceGroupDto {
905
- name: string;
906
- parentSlotId: number;
907
- facilityId: number;
908
- childrenSlotIds: number[];
878
+ export declare class FindProgramsByOrganizationIdDto {
879
+ organizationId: number;
880
+ programType?: ProgramTypesEnum;
909
881
  }
910
- export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
882
+ export declare class FindProgramByIdDto {
883
+ programId: number;
911
884
  }
912
- export declare class PurchasePaymentDto {
913
- token: string;
914
- type: PaymentMethodTypeEnum;
885
+ export declare class FindProgramByOrgIdAndIdDto {
886
+ programId: number;
887
+ organizationId: number;
888
+ }
889
+ export declare class BaseProgramDto {
890
+ type: ProgramTypesEnum;
891
+ name: string;
892
+ sport: SportsEnum;
893
+ minAge: string;
894
+ maxAge: string;
895
+ gender: GenderEnum;
896
+ level?: LevelOfPlayEnum[];
897
+ description?: string;
898
+ GL?: string;
899
+ status: PublishingStatusEnum;
900
+ organizationId: number;
901
+ userCreatorId: number;
902
+ highlights: ProgramHighlights[];
903
+ longDescription?: string;
904
+ requiredProductIds: number[];
905
+ }
906
+ export declare class CreateProgramDto extends BaseProgramDto {
907
+ }
908
+ export declare class UpdateProgramDto extends BaseProgramDto {
909
+ programId: number;
910
+ mainMediaId: number;
911
+ }
912
+ export declare class UpdateProgramStatusDto {
913
+ programId: number;
914
+ status: PublishingStatusEnum;
915
+ }
916
+ export declare class ProgramHighlightDto {
917
+ data: string;
918
+ ordinal: number;
919
+ type: ProgramHighlightTypeEnum;
920
+ title: string;
921
+ }
922
+ export declare class PurchasePaymentDto {
923
+ token: string;
924
+ type: PaymentMethodTypeEnum;
915
925
  }
916
926
  export declare class ChargeRentalsReuqestDto {
917
927
  organizationId: number;
@@ -979,6 +989,14 @@ export declare class PartialPaymentAsUserDto {
979
989
  amountToPay: any;
980
990
  paymentMethodData: any;
981
991
  }
992
+ export declare class CreateResourceGroupDto {
993
+ name: string;
994
+ parentSlotId: number;
995
+ facilityId: number;
996
+ childrenSlotIds: number[];
997
+ }
998
+ export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
999
+ }
982
1000
  export declare class ResourceDto {
983
1001
  type: ResourceNameTypeEnum;
984
1002
  id: number;
@@ -1039,24 +1057,6 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
1039
1057
  types?: string;
1040
1058
  resourcesIds?: string;
1041
1059
  }
1042
- export declare class CreateUpdateVariantsDto {
1043
- organizationId: number;
1044
- parentProductId: number;
1045
- variantTitles: VariantTitleDto[];
1046
- variants: VariantDto[];
1047
- }
1048
- export declare class VariantTitleDto {
1049
- titleName: string;
1050
- titleId: number;
1051
- }
1052
- export declare class VariantDto {
1053
- name: string;
1054
- price: number;
1055
- variantId: number;
1056
- currency: CurrencyEnum;
1057
- startDate: Date;
1058
- endDate: Date;
1059
- }
1060
1060
  export declare class StripeCustomerIdDto {
1061
1061
  userId: number;
1062
1062
  }
@@ -1086,19 +1086,6 @@ export declare class ActivityTimes extends BondBaseEntity {
1086
1086
  proudct: Product;
1087
1087
  event: Event;
1088
1088
  }
1089
- export declare class ActivityLogRecord extends BondBaseEntity {
1090
- entityType: ResourceNameTypeEnum;
1091
- entityId: number;
1092
- organizationId?: number;
1093
- userId?: number;
1094
- customerId?: number;
1095
- performingUserId: number;
1096
- description: string;
1097
- actionType: ActionTypesEnum;
1098
- sourcePlatform: ActionSourcePlatformEnum;
1099
- oldValue?: any;
1100
- newValue?: any;
1101
- }
1102
1089
  export declare class Address extends BondBaseEntity {
1103
1090
  city?: string;
1104
1091
  street?: string;
@@ -1180,6 +1167,24 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
1180
1167
  endTimeInDay: string;
1181
1168
  directBookingFor: DirectBookingTypesEnum;
1182
1169
  }
1170
+ export declare class Configuration extends BondBaseEntity {
1171
+ area: string;
1172
+ key: string;
1173
+ value: string;
1174
+ }
1175
+ export declare class ActivityLogRecord extends BondBaseEntity {
1176
+ entityType: ResourceNameTypeEnum;
1177
+ entityId: number;
1178
+ organizationId?: number;
1179
+ userId?: number;
1180
+ customerId?: number;
1181
+ performingUserId: number;
1182
+ description: string;
1183
+ actionType: ActionTypesEnum;
1184
+ sourcePlatform: ActionSourcePlatformEnum;
1185
+ oldValue?: any;
1186
+ newValue?: any;
1187
+ }
1183
1188
  export declare class Connection extends BondBaseEntity {
1184
1189
  connType: number | null;
1185
1190
  from: number | null;
@@ -1200,11 +1205,6 @@ export declare class CreditNote extends OrganizationConnectionBaseEntity {
1200
1205
  orderId: number;
1201
1206
  creditPaymentInvoiceId: number;
1202
1207
  }
1203
- export declare class Configuration extends BondBaseEntity {
1204
- area: string;
1205
- key: string;
1206
- value: string;
1207
- }
1208
1208
  export declare class Customer extends OrganizationConnectionBaseEntity {
1209
1209
  name: string | null;
1210
1210
  entityId: number | null;
@@ -1265,13 +1265,13 @@ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
1265
1265
  phoneNumber: string | null;
1266
1266
  customer: Customer;
1267
1267
  }
1268
+ export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
1269
+ name: string | null;
1270
+ }
1268
1271
  export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
1269
1272
  groupId: number;
1270
1273
  terms: IEntitlementTerms[];
1271
1274
  }
1272
- export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
1273
- name: string | null;
1274
- }
1275
1275
  export declare class EventAttendee extends BondBaseEntity {
1276
1276
  status: RequestStatusEnum | null;
1277
1277
  hasPaid: boolean | null;
@@ -1366,14 +1366,14 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
1366
1366
  programSeasons: ProgramSeason[];
1367
1367
  linkSEO: string;
1368
1368
  }
1369
- export declare class FamilyAccount extends BondBaseEntity {
1370
- name: string | null;
1371
- userInFamilyAccounts: UserInFamilyAccount[];
1372
- }
1373
1369
  export declare class FacilityToResource extends BondBaseEntity {
1374
1370
  facilityId: number;
1375
1371
  resourceId: number;
1376
1372
  }
1373
+ export declare class FamilyAccount extends BondBaseEntity {
1374
+ name: string | null;
1375
+ userInFamilyAccounts: UserInFamilyAccount[];
1376
+ }
1377
1377
  export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
1378
1378
  userId: number;
1379
1379
  orderId: number;
@@ -1387,6 +1387,24 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
1387
1387
  export declare class GlCodes extends OrganizationConnectionBaseEntity {
1388
1388
  code: string;
1389
1389
  }
1390
+ export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
1391
+ groupId: number;
1392
+ itemId: number;
1393
+ itemType: ResourceNameTypeEnum;
1394
+ startDate: Date;
1395
+ endDate: Date;
1396
+ price: number;
1397
+ overridesPrice: boolean;
1398
+ deletedAt?: Date;
1399
+ group?: EntitlementGroup;
1400
+ discountMethod?: DiscountMethodsEnum;
1401
+ discountValue?: number;
1402
+ }
1403
+ export declare class GroupsInDivisions extends BondBaseEntity {
1404
+ groupId: number;
1405
+ divisionId: number;
1406
+ deletedAt?: Date;
1407
+ }
1390
1408
  export declare class Group extends BondBaseEntity {
1391
1409
  name: string;
1392
1410
  description?: string;
@@ -1403,24 +1421,6 @@ export declare class Group extends BondBaseEntity {
1403
1421
  members: ISeasonAttendeeInfo[];
1404
1422
  users: User[];
1405
1423
  }
1406
- export declare class GroupsInDivisions extends BondBaseEntity {
1407
- groupId: number;
1408
- divisionId: number;
1409
- deletedAt?: Date;
1410
- }
1411
- export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
1412
- groupId: number;
1413
- itemId: number;
1414
- itemType: ResourceNameTypeEnum;
1415
- startDate: Date;
1416
- endDate: Date;
1417
- price: number;
1418
- overridesPrice: boolean;
1419
- deletedAt?: Date;
1420
- group?: EntitlementGroup;
1421
- discountMethod?: DiscountMethodsEnum;
1422
- discountValue?: number;
1423
- }
1424
1424
  export declare class Invoice extends OrganizationConnectionBaseEntity {
1425
1425
  price: number;
1426
1426
  paymentProcessorId: string;
@@ -1701,15 +1701,6 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
1701
1701
  deletedAt?: Date;
1702
1702
  facility: Facility;
1703
1703
  }
1704
- export declare class OrderNote extends OrganizationConnectionBaseEntity {
1705
- content: string;
1706
- creatingUserId: number;
1707
- user: User;
1708
- isPublic: boolean;
1709
- deletedAt: Date;
1710
- orderId: number;
1711
- order: Order;
1712
- }
1713
1704
  export declare class Order extends BondBaseEntity {
1714
1705
  orderId: string | null;
1715
1706
  price: number | null;
@@ -1734,8 +1725,14 @@ export declare class Order extends BondBaseEntity {
1734
1725
  orderNotes: OrderNote[];
1735
1726
  slots: Slot[];
1736
1727
  }
1737
- export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1738
- organizationId: number;
1728
+ export declare class OrderNote extends OrganizationConnectionBaseEntity {
1729
+ content: string;
1730
+ creatingUserId: number;
1731
+ user: User;
1732
+ isPublic: boolean;
1733
+ deletedAt: Date;
1734
+ orderId: number;
1735
+ order: Order;
1739
1736
  }
1740
1737
  export declare class OrderToInvoice extends BondBaseEntity {
1741
1738
  orderId: number;
@@ -1745,6 +1742,9 @@ export declare class OrderToInvoice extends BondBaseEntity {
1745
1742
  paidAmount?: number;
1746
1743
  currency: CurrencyEnum;
1747
1744
  }
1745
+ export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1746
+ organizationId: number;
1747
+ }
1748
1748
  export declare class PackageV1 extends BondBaseEntity {
1749
1749
  name?: string;
1750
1750
  description?: string;
@@ -1762,12 +1762,6 @@ export declare class PackageV1 extends BondBaseEntity {
1762
1762
  isMandatory: boolean;
1763
1763
  productId: number;
1764
1764
  }
1765
- export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1766
- paymentPlanId: number;
1767
- paymentDate: Date;
1768
- deletedAt?: Date;
1769
- paymentPlan: ProductPaymentPlan;
1770
- }
1771
1765
  export declare class PasswordReset extends BondBaseEntity {
1772
1766
  token: string | null;
1773
1767
  userId: number | null;
@@ -1792,6 +1786,12 @@ export declare class PaymentV1 extends BondBaseEntity {
1792
1786
  installmentId: number | null;
1793
1787
  orderId: string | null;
1794
1788
  }
1789
+ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1790
+ paymentPlanId: number;
1791
+ paymentDate: Date;
1792
+ deletedAt?: Date;
1793
+ paymentPlan: ProductPaymentPlan;
1794
+ }
1795
1795
  export declare class Price extends OrganizationConnectionBaseEntity {
1796
1796
  productId: number;
1797
1797
  product: Product;
@@ -1897,10 +1897,6 @@ export declare class ProductToVariantTitle extends OrganizationConnectionBaseEnt
1897
1897
  productId: number;
1898
1898
  variantTitleId: number;
1899
1899
  }
1900
- export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1901
- productId: number;
1902
- variantId: number;
1903
- }
1904
1900
  export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
1905
1901
  productId: number;
1906
1902
  customerId: number;
@@ -1955,6 +1951,10 @@ export declare class ProgramHighlights extends BondBaseEntity {
1955
1951
  program: Program;
1956
1952
  deletedAt?: Date;
1957
1953
  }
1954
+ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1955
+ productId: number;
1956
+ variantId: number;
1957
+ }
1958
1958
  export declare class ProgramSeason extends BondBaseEntity {
1959
1959
  programId: number;
1960
1960
  name: string;
@@ -2160,20 +2160,6 @@ export declare class SeasonDivisions extends BondBaseEntity {
2160
2160
  seasonId: number | null;
2161
2161
  color: string | null;
2162
2162
  }
2163
- export declare class SpacesDependency extends BondBaseEntity {
2164
- blockingSpaceId: number;
2165
- blockedSpaceId: number;
2166
- }
2167
- export declare class SeasonTeam extends BondBaseEntity {
2168
- seasonId: number | null;
2169
- teamId: number | null;
2170
- standingPosition: number | null;
2171
- statistics: any | null;
2172
- points: number | null;
2173
- divisionId: number | null;
2174
- metaData: any | null;
2175
- team: Team;
2176
- }
2177
2163
  export declare class SeasonPool extends BondBaseEntity {
2178
2164
  seasonId?: number;
2179
2165
  userId?: number;
@@ -2189,6 +2175,20 @@ export declare class SeasonPool extends BondBaseEntity {
2189
2175
  purchasedResource: PurchasedResource;
2190
2176
  season: LeagueSeason;
2191
2177
  }
2178
+ export declare class SeasonTeam extends BondBaseEntity {
2179
+ seasonId: number | null;
2180
+ teamId: number | null;
2181
+ standingPosition: number | null;
2182
+ statistics: any | null;
2183
+ points: number | null;
2184
+ divisionId: number | null;
2185
+ metaData: any | null;
2186
+ team: Team;
2187
+ }
2188
+ export declare class SpacesDependency extends BondBaseEntity {
2189
+ blockingSpaceId: number;
2190
+ blockedSpaceId: number;
2191
+ }
2192
2192
  export declare class Station extends OrganizationConnectionBaseEntity {
2193
2193
  name: string;
2194
2194
  facilityId: number;
@@ -2344,372 +2344,10 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
2344
2344
  membershipCollectionId?: string;
2345
2345
  programsCollectionId?: string;
2346
2346
  }
2347
- export interface IEntitlementTerms {
2348
- type: EntitlementTermsTypesEnum;
2349
- id?: number;
2350
- value?: string;
2351
- minValue?: string;
2352
- maxValue?: string;
2353
- }
2354
- export interface IQuestionAnswerObject {
2355
- questionId: number;
2356
- value: string;
2357
- }
2358
- export interface ILowestPriceForItem {
2359
- itemId: number;
2360
- itemType: ResourceNameTypeEnum;
2361
- groupId: number;
2362
- groupName?: string;
2363
- price: number;
2364
- overridesPrice: boolean;
2365
- }
2366
- export interface IResourcesAvailability {
2367
- resourceType: ResourceNameTypeEnum;
2368
- quantity: number;
2369
- resourcesIds: number[];
2370
- isPunchCard: boolean;
2371
- resources?: any[];
2372
- }
2373
- export interface IPackageResponse {
2374
- parentProduct: Product;
2375
- children: IChildProduct[];
2376
- }
2377
- export interface IChildProduct {
2378
- product: Product;
2379
- relationType: PackageProductsRelationTypeEnum;
2380
- timePeriod?: AddonTimePeriodEnum;
2381
- }
2382
- export interface ISeasonAttendeeInfo {
2383
- applicationAnswers: Answer[];
2384
- segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
2385
- invoices: Order[];
2386
- payments: Invoice[];
2387
- products: Product[];
2388
- redeemNext: ProductsUsers;
2389
- }
2390
- export interface ISeasonAttendeeListInfo {
2391
- userId: number;
2392
- userFirstName: string;
2393
- userLastName: string;
2394
- userGender: number;
2395
- userBirthDate: Date;
2396
- userProfilePicUrl: string;
2397
- customerId: number;
2398
- customerEmail: string;
2399
- paymentStatus: string;
2400
- productName: string;
2401
- punchCard: boolean;
2402
- }
2403
- export declare class SeasonAsSeasonSegment extends ProgramSeason {
2404
- segmentType: ResourceNameTypeEnum;
2405
- participantRegisteredDate?: string;
2406
- }
2407
- export declare class EventAsSeasonSegment extends Event {
2408
- segmentType: ResourceNameTypeEnum;
2409
- participantRegisteredDate?: string;
2410
- }
2411
- export interface ITokenResonse {
2412
- token: string;
2413
- }
2414
- export interface IStripeBondInvoices {
2415
- paidStripePaymentIntent: Stripe.PaymentIntent;
2416
- bondPaidInvoice: Invoice;
2417
- order?: Order;
2418
- customer?: Customer;
2419
- }
2420
- export interface IPartialPaymentData {
2421
- purchasingUserId: number;
2422
- paymentData: PurchasePaymentDto;
2423
- amountToPay: number;
2424
- }
2425
- export interface IPayment {
2426
- id: number;
2427
- total: number;
2428
- paymentMethod: PaymentMethodTypeEnum;
2429
- status: PaymentStatusEnum;
2430
- createdAt: Date;
2431
- invoices: number[];
2432
- }
2433
- export interface IPaginationData<T> {
2434
- meta: {
2435
- totalItems: number;
2436
- itemsPerPage: number;
2437
- totalPages: number;
2438
- currentPage: number;
2439
- };
2440
- data: T[];
2441
- }
2442
- export interface IPricesOfProductsResults {
2443
- productId: number;
2444
- userId: number;
2445
- price: number;
2446
- groupId?: number;
2447
- groupName?: string;
2448
- originalPrice?: number;
2449
- priceWithoutTax: number;
2450
- tax: number;
2451
- isTaxInclusive: boolean;
2452
- }
2453
- export interface IPaymentMethodToFundLeft {
2454
- paymentType: PaymentMethodTypeEnum;
2455
- paymentMethodId: string;
2456
- fundLeft: number;
2457
- ccLast4?: string;
2458
- ccBrand?: string;
2459
- }
2460
- export interface IVariantsAndTitle {
2461
- title: VariantTitle;
2462
- variants: Variant[];
2463
- }
2464
- export interface IProgramSeasonActivityTimes {
2465
- dayOfWeek: number;
2466
- open: string;
2467
- close: string;
2468
- }
2469
- export interface IProgramSeasonActivityTimesAsDates {
2470
- date: string;
2471
- startTime: string;
2472
- endTime: string;
2473
- }
2474
- export interface IBlockedDates {
2475
- name: string;
2476
- startDate: Date;
2477
- endDate: Date;
2478
- }
2479
- export interface ISingleMemberForRenewal {
2480
- member_id: number;
2481
- member_membershipId: number;
2482
- member_userId: number;
2483
- member_nextPaymentMethodId?: string;
2484
- member_nextPaymentType?: PaymentMethodTypeEnum;
2485
- member_answerTitleIds?: number[];
2486
- member_organizationId: number;
2487
- line_paidAmount: number;
2488
- line_productId: number;
2489
- order_payingUserId: number;
2490
- order_paymentMethodId: string;
2491
- order_paymentType: PaymentMethodTypeEnum;
2492
- endDate: Date;
2493
- membership_name: string;
2494
- user_firstName: string;
2495
- user_lastName: string;
2496
- user_email: string;
2497
- }
2498
- export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
2499
- package_parentProductId: number;
2500
- line2_paidAmount: number;
2501
- familyid: number;
2502
- order_id: number;
2503
- }
2504
- export interface IResourceRegistrationData {
2505
- id: number;
2506
- resourceType: ResourceNameTypeEnum;
2507
- openNumDays?: number;
2508
- openNumMinutes?: number;
2509
- openTime?: string;
2510
- closeNumDays?: number;
2511
- closeNumMinutes?: number;
2512
- closeTime?: string;
2513
- registrationWindowStatus?: RegistrationWindowStatusEnum;
2514
- }
2515
- export interface IResourceDataForConstraintsCalc {
2516
- id: number;
2517
- startDate: string;
2518
- startTime: string;
2519
- }
2520
- export interface IRegistrationConstraintsSetting {
2521
- numDays?: number;
2522
- numMinutes?: number;
2523
- }
2524
- export interface IAttendeeDataToNotify {
2525
- firstName: string;
2526
- lastName: string;
2527
- email: string;
2528
- sessionName: string;
2529
- parentSessionName?: string;
2530
- organizationName: string;
2531
- programName: string;
2532
- }
2533
- export interface IEventInSchedule {
2534
- eventId: number;
2535
- eventName: string;
2536
- eventStartDate: string;
2537
- eventEndDate: string;
2538
- eventStartTime: string;
2539
- eventEndTime: string;
2540
- programId: number;
2541
- programName: string;
2542
- programType: ProgramTypesEnum;
2543
- sessionId: number;
2544
- sessionName: string;
2545
- sports: number;
2546
- spaces: {
2547
- spaceId: number;
2548
- spaceName: string;
2549
- }[];
2550
- status?: RegistrationValidationStatusEnum;
2551
- }
2552
- export interface ISlotInSchedule {
2553
- facilityId: number;
2554
- facilityName: string;
2555
- spaces: ISpaceWithSlots[];
2556
- }
2557
- export interface ISpaceWithSlots {
2558
- id: number;
2559
- name: string;
2560
- slots: ISlotReservationData[];
2561
- }
2562
- export interface ISlotReservationData {
2563
- reservationId: number;
2564
- reservationName: string;
2565
- date: string;
2566
- startTime: string;
2567
- endTime: string;
2568
- notes: string;
2569
- spaceId: number;
2570
- isRental: boolean;
2571
- slotType: SlotTypeEnum;
2572
- slotId: number;
2573
- eventId: number;
2574
- }
2575
- export interface IRawEventInSchedule extends IEventInSchedule {
2576
- parentSessionId: number;
2577
- parentSessionName: string;
2578
- eventTimezone: string;
2579
- maxParticipants: number;
2580
- maxMaleParticipants: number;
2581
- maxFemaleParticipants: number;
2582
- isPunchCard: boolean;
2583
- }
2584
- export interface IBasicSpaceAndSlotCreator {
2585
- id: number;
2586
- name: string;
2587
- bookingCreatorId: number;
2588
- }
2589
- export interface IRawSlotInSchedule {
2590
- startDate: string;
2591
- endDate: string;
2592
- startTime: string;
2593
- endTime: string;
2594
- reservationId: number;
2595
- eventTitle: string;
2596
- publicNotes: string;
2597
- spaceId: number;
2598
- creatorType: ResourceNameTypeEnum;
2599
- slotType: SlotTypeEnum;
2600
- slotId: number;
2601
- eventId: number;
2602
- }
2603
- export interface IPurchasedResourcesRaw {
2604
- purchasedId: number;
2605
- purchasedProductUserId: number;
2606
- purchasedResourceId: number;
2607
- purchasedResourceType: ResourceNameTypeEnum;
2608
- purchasedStatus: PurchasedResourceStatusEnum;
2609
- pUserId: number;
2610
- pUserPaymentStatus: PaymentStatusEnum;
2611
- pUserProductId: number;
2612
- pUserProductName: string;
2613
- pUserProductPrice: number;
2614
- pUserProductPriceCurrency: string;
2615
- pUserProductQuantity: number;
2616
- pUserProductQuantityLeft: number;
2617
- pUserUserId: number;
2618
- }
2619
- export interface IUsersPasses {
2620
- userId: number;
2621
- userFirstName: string;
2622
- userLastName: string;
2623
- organizationId: number;
2624
- programId: number;
2625
- programName: string;
2626
- sessionId: number;
2627
- sessionName: string;
2628
- productId: number;
2629
- productName: string;
2630
- productUserId: number;
2631
- purchaseDate: Date;
2632
- passesLeft: number;
2633
- }
2634
- export interface ISessionsLandingPage {
2635
- sessionId: number;
2636
- name: string;
2637
- startDate: Date;
2638
- endDate: Date;
2639
- registrationStartDate: Date;
2640
- registrationEndDate: Date;
2641
- sport: SportsEnum;
2642
- minAge: string;
2643
- maxAge: string;
2644
- maxParticipants?: number;
2645
- gender: GenderEnum;
2646
- activityTimes: ActivityTimes[];
2647
- earlyRegistrationStartDate?: Date;
2648
- earlyRegistrationEndDate?: Date;
2649
- lateRegistrationStartDate?: Date;
2650
- lateRegistrationEndDate?: Date;
2651
- attendeeCount?: number;
2652
- segmentsOrEvents: 'segment' | 'event';
2653
- }
2654
- export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
2655
- hasRequiredMembership: boolean;
2656
- hasEntitledPricing: boolean;
2657
- lowestPrice?: number;
2658
- products?: ISessionLandingPageProduct[];
2659
- }
2660
- export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
2661
- hasRequiredMembership: boolean;
2662
- hasEntitledPricing: boolean;
2663
- products?: ISessionLandingPageProduct[];
2664
- segments?: Event[] | ProgramSeason[];
2665
- programName: string;
2666
- programId: number;
2667
- levelOfPlay: LevelOfPlayEnum[];
2668
- registrationConstraints: IResourceRegistrationData[];
2669
- }
2670
- export interface ISlimAddons {
2671
- addons?: {
2672
- id: number;
2673
- timePeriod: AddonTimePeriodEnum;
2674
- name: string;
2675
- productType?: ProductTypesEnum;
2676
- productSubType?: string;
2677
- }[];
2678
- }
2679
- export interface ISessionLandingPageProduct extends ISlimAddons {
2680
- id: number;
2681
- name: string;
2682
- startDate?: Date;
2683
- endDate?: Date;
2684
- downpayment?: number;
2685
- description?: string;
2686
- prices: Price[];
2687
- productSubType?: ProductSubTypesEnum;
2688
- punchCard: boolean;
2689
- isAddon: boolean;
2690
- defaultPriceId?: number;
2691
- }
2692
- export interface CreatePaymentIntentDto extends PurchaseRequestDto {
2693
- destinationId?: string;
2694
- stripeCustomerId?: string;
2695
- fee?: number;
2696
- }
2697
- export interface IReservationCreatorData {
2698
- type: ResourceNameTypeEnum;
2699
- id: number;
2700
- organizationId: number;
2701
- startDate: string;
2702
- endDate: string;
2703
- sportId: number;
2704
- }
2705
- export declare enum EntitlementTermsTypesEnum {
2706
- QUESTION = "question",
2707
- CITY = "city",
2708
- MEMBERSHIP = "membership"
2709
- }
2710
- export declare enum Aviram {
2711
- AVIRAM = "aviram",
2712
- TESTING = "test"
2347
+ export declare enum EntitlementTermsTypesEnum {
2348
+ QUESTION = "question",
2349
+ CITY = "city",
2350
+ MEMBERSHIP = "membership"
2713
2351
  }
2714
2352
  export declare enum ResourceNameTypeEnum {
2715
2353
  EVENT = "event",
@@ -2987,250 +2625,608 @@ export declare enum PurchasedResourceStatusEnum {
2987
2625
  MOVED = 2,
2988
2626
  CANCELED = 3
2989
2627
  }
2990
- export declare enum TeamCanJoinEnum {
2991
- ANYONE = "anyone",
2992
- BY_INVITE = "byInvite",
2993
- CAPTAIN_APPROVAL = "captainApproval"
2628
+ export declare enum TeamCanJoinEnum {
2629
+ ANYONE = "anyone",
2630
+ BY_INVITE = "byInvite",
2631
+ CAPTAIN_APPROVAL = "captainApproval"
2632
+ }
2633
+ export declare enum TeamMemberStatusEnum {
2634
+ PENDING = 1,
2635
+ ACTIVE = 2,
2636
+ DECLINED = 3,
2637
+ SUSPENDED = 4,
2638
+ INACTIVE = 5,
2639
+ INVITED = 6
2640
+ }
2641
+ export declare enum TeamMemberRoleEnum {
2642
+ NULL,
2643
+ ADMIN = 1
2644
+ }
2645
+ export declare enum DayOfWeekEnum {
2646
+ SUNDAY = 0,
2647
+ MONDAY = 1,
2648
+ TUESDAY = 2,
2649
+ WEDNESDAY = 3,
2650
+ THURSDAY = 4,
2651
+ FRIDAY = 5,
2652
+ SATURDAY = 6
2653
+ }
2654
+ export declare enum ActionTypesEnum {
2655
+ CREATE = "create",
2656
+ READ = "read",
2657
+ UPDATE = "update",
2658
+ DELETE = "delete"
2659
+ }
2660
+ export declare enum ActionSourcePlatformEnum {
2661
+ ADMIN = "admin",
2662
+ BACKOFFICE = "backoffice",
2663
+ CONSUMER = "consumer"
2664
+ }
2665
+ export declare enum RolesEnum {
2666
+ ORG_ADMIN = "organizationAdmin",
2667
+ BOND_ADMIN = "bondAdmin"
2668
+ }
2669
+ export declare enum SeasonPoolStatusEnum {
2670
+ IN_POOL = 5,
2671
+ ASSIGNED = 1,
2672
+ QUIT = 2,
2673
+ SUSPENDED = 3,
2674
+ INACTIVE = 4
2675
+ }
2676
+ export declare enum AmenitiesEnum {
2677
+ HEAT = 1,
2678
+ AC = 2,
2679
+ WIFI = 3,
2680
+ RESTROOMS = 4,
2681
+ DRINKING_FOUNTAIN = 5,
2682
+ PARKING = 6,
2683
+ CONCESSIONS = 7,
2684
+ SHELTER = 8,
2685
+ PORTABLE_RESTROOMS = 9,
2686
+ LIGHTS = 10,
2687
+ LOCKER_ROOM = 11,
2688
+ PAID_PARKING = 12,
2689
+ ACCESSIBLE = 13
2690
+ }
2691
+ export declare enum ResourceSubTypeEnum {
2692
+ COURT = "court",
2693
+ FIELD = "field",
2694
+ ROOM = "room",
2695
+ DIAMOND = "diamond",
2696
+ RINK = "rink",
2697
+ STUDIO = "studio",
2698
+ POOL = "pool",
2699
+ BATTING_CAGE = "batting cage",
2700
+ SHELTER = "shelter",
2701
+ GOLF_SIMULATOR = "golf simulator"
2702
+ }
2703
+ export declare enum ResourceTypeEnum {
2704
+ SPACE = "space"
2705
+ }
2706
+ export declare enum ResourceAgesEnum {
2707
+ ADULTS = "adults",
2708
+ CHILDREN = "children"
2709
+ }
2710
+ export declare enum SpacePropertiesEnum {
2711
+ OUTDOOR = "outdoor",
2712
+ INDOOR = "indoor"
2713
+ }
2714
+ export declare enum SurfacesEnum {
2715
+ GRASS = "grass",
2716
+ TURF = "turf",
2717
+ FIELD_TURF = "fieldTurf",
2718
+ ASTRO_TURF = "astroTurf",
2719
+ HARDWOOD = "hardwood",
2720
+ ASPHALT = "asphalt",
2721
+ SAND = "sand",
2722
+ ICE = "ice",
2723
+ SPORT_COURT = "sportCourt"
2724
+ }
2725
+ export declare enum RegistrationConstraintPeriodTypeEnum {
2726
+ MINUTES = "minutes",
2727
+ DAYS = "days"
2728
+ }
2729
+ export declare enum RegistrationWindowStatusEnum {
2730
+ NOT_OPEN_YET = "not_opened_yet",
2731
+ OPEN = "open",
2732
+ CLOSED = "closed"
2733
+ }
2734
+ export declare enum RegistrationValidationStatusEnum {
2735
+ FULL = "full",
2736
+ ALREADY_REGISTERED = "registered",
2737
+ AVAILABLE = "available",
2738
+ NOT_OPEN_YET = "not opened",
2739
+ ALREADY_CLOSED = "closed",
2740
+ NO_PRODUCT_FOUND = "no-product-found"
2741
+ }
2742
+ export declare enum DiscountMethodsEnum {
2743
+ PERCENT = "percent",
2744
+ AMOUNT = "amount"
2745
+ }
2746
+ export declare enum UserAuthorizationsTypeEnum {
2747
+ ORGANIZATION = "organization"
2748
+ }
2749
+ export declare enum OrganizationLocaleDateEnum {
2750
+ USA = "USA"
2751
+ }
2752
+ export declare enum DateTimeFormatsEnum {
2753
+ API_DATE = "YYYY/MM/DD",
2754
+ API_TIME = "HH:mm:ss"
2755
+ }
2756
+ export declare enum SlotTypeEnum {
2757
+ EXTERNAL = "external",
2758
+ INTERNAL = "internal",
2759
+ MAINTENANCE = "maintenance",
2760
+ CUSTOM = "custom"
2761
+ }
2762
+ export declare enum PlatformsEnum {
2763
+ CONSUMER = "consumer",
2764
+ BO = "backoffice",
2765
+ MOBILE = "mobile",
2766
+ CRON = "cron"
2767
+ }
2768
+ export declare enum ShiftStatusEnum {
2769
+ OPEN = "open",
2770
+ CLOSED = "closed",
2771
+ MANAGMENT_CLOSED = "closed_by_manager",
2772
+ RECONCILED = "reconciled"
2773
+ }
2774
+ export declare enum EventStatusEnum {
2775
+ OPEN = 1,
2776
+ DRAFT = 2,
2777
+ FULL = 3,
2778
+ CANCELLED = 4,
2779
+ CLOSED = 5,
2780
+ DELETED = 6
2781
+ }
2782
+ export declare enum ReservationTypeEnum {
2783
+ RENTAL = "rental",
2784
+ PROGRAM = "program",
2785
+ MAINTENANCE = "maintenance",
2786
+ CUSTOM = "custom"
2787
+ }
2788
+ export declare enum SlotDurationTypeEnum {
2789
+ DATES = "dates",
2790
+ ALL_DAY = "all day",
2791
+ DURATION = "duration"
2792
+ }
2793
+ export declare enum DurationUnitTypesEnum {
2794
+ MINUTES = "minutes",
2795
+ HOURS = "hours"
2796
+ }
2797
+ export declare enum FrequencyEnum {
2798
+ NONE = "none",
2799
+ WEEKLY = "weekly",
2800
+ DAILY = "daily",
2801
+ MONTHLY = "monthly",
2802
+ YEARLY = "yearly"
2803
+ }
2804
+ export declare enum MaintenanceTimingEnum {
2805
+ BEFORE = 1,
2806
+ AFTER = 2,
2807
+ AT_THE_BEGINING = 3,
2808
+ AT_THE_END = 4
2809
+ }
2810
+ export declare enum CreatorTypeEnum {
2811
+ SPACE = "space",
2812
+ PROGRAM_SEASON = "program_season"
2813
+ }
2814
+ export declare enum UpdatePricesTypeEnum {
2815
+ INDIVIDUAL = "indvidual",
2816
+ CATEGORY = "category",
2817
+ GLOBAL = "global"
2818
+ }
2819
+ export declare enum BondDayOfWeekEnum {
2820
+ MONDAY = 2,
2821
+ TUESDAY = 3,
2822
+ WEDNESDAY = 4,
2823
+ THURSDAY = 5,
2824
+ FRIDAY = 6,
2825
+ SATURDAY = 7,
2826
+ SUNDAY = 8
2827
+ }
2828
+ export declare enum ReservationMigrationStatusEnum {
2829
+ NEW = "new",
2830
+ NO = "no",
2831
+ YES = "yes"
2832
+ }
2833
+ export declare enum ProductPackageLevelEnum {
2834
+ HOUR = "hour",
2835
+ SLOT = "slot",
2836
+ RESERVATION = "reservation"
2837
+ }
2838
+ export declare enum CancellationStatusEnum {
2839
+ IMMEDIATE = "immediate",
2840
+ AUTO_RENEWAL = "auto_renewal"
2841
+ }
2842
+ export declare enum SeasonScheduleStatusEnum {
2843
+ DRAFT,
2844
+ PUBLISHED
2845
+ }
2846
+ export declare enum FinancialStepEnum {
2847
+ VOID = "void",
2848
+ REFUND = "refund",
2849
+ NONE = "none",
2850
+ REFUND_AND_VOID = "refund-and-void",
2851
+ APPEND = "append"
2852
+ }
2853
+ export declare enum StripeAccountTypesEnum {
2854
+ STRIPE = "stripe",
2855
+ STRIPE_CUSTOM = "stripe:account:custom",
2856
+ STRIPE_CUSTOMER = "stripe:customer"
2857
+ }
2858
+ export declare enum LinkedAccountStatus {
2859
+ PENDING = 1,
2860
+ ACTIVE = 2,
2861
+ PRE_PENDING = 3
2862
+ }
2863
+ export declare enum AddonParentTypeEnum {
2864
+ RESERVATION = "reservation",
2865
+ SLOT = "slot"
2866
+ }
2867
+ export declare enum EEmailStatus {
2868
+ SENT = "sent",
2869
+ OPENED = "opened",
2870
+ PAID = "paid",
2871
+ CANCELED = "canceled"
2872
+ }
2873
+ export interface IEntitlementTerms {
2874
+ type: EntitlementTermsTypesEnum;
2875
+ id?: number;
2876
+ value?: string;
2877
+ minValue?: string;
2878
+ maxValue?: string;
2879
+ }
2880
+ export interface IQuestionAnswerObject {
2881
+ questionId: number;
2882
+ value: string;
2994
2883
  }
2995
- export declare enum TeamMemberStatusEnum {
2996
- PENDING = 1,
2997
- ACTIVE = 2,
2998
- DECLINED = 3,
2999
- SUSPENDED = 4,
3000
- INACTIVE = 5,
3001
- INVITED = 6
2884
+ export interface ILowestPriceForItem {
2885
+ itemId: number;
2886
+ itemType: ResourceNameTypeEnum;
2887
+ groupId: number;
2888
+ groupName?: string;
2889
+ price: number;
2890
+ overridesPrice: boolean;
3002
2891
  }
3003
- export declare enum TeamMemberRoleEnum {
3004
- NULL,
3005
- ADMIN = 1
2892
+ export interface IResourcesAvailability {
2893
+ resourceType: ResourceNameTypeEnum;
2894
+ quantity: number;
2895
+ resourcesIds: number[];
2896
+ isPunchCard: boolean;
2897
+ resources?: any[];
3006
2898
  }
3007
- export declare enum DayOfWeekEnum {
3008
- SUNDAY = 0,
3009
- MONDAY = 1,
3010
- TUESDAY = 2,
3011
- WEDNESDAY = 3,
3012
- THURSDAY = 4,
3013
- FRIDAY = 5,
3014
- SATURDAY = 6
2899
+ export interface IPackageResponse {
2900
+ parentProduct: Product;
2901
+ children: IChildProduct[];
3015
2902
  }
3016
- export declare enum ActionTypesEnum {
3017
- CREATE = "create",
3018
- READ = "read",
3019
- UPDATE = "update",
3020
- DELETE = "delete"
2903
+ export interface IChildProduct {
2904
+ product: Product;
2905
+ relationType: PackageProductsRelationTypeEnum;
2906
+ timePeriod?: AddonTimePeriodEnum;
3021
2907
  }
3022
- export declare enum ActionSourcePlatformEnum {
3023
- ADMIN = "admin",
3024
- BACKOFFICE = "backoffice",
3025
- CONSUMER = "consumer"
2908
+ export interface ISeasonAttendeeInfo {
2909
+ applicationAnswers: Answer[];
2910
+ segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
2911
+ invoices: Order[];
2912
+ payments: Invoice[];
2913
+ products: Product[];
2914
+ redeemNext: ProductsUsers;
3026
2915
  }
3027
- export declare enum RolesEnum {
3028
- ORG_ADMIN = "organizationAdmin",
3029
- BOND_ADMIN = "bondAdmin"
2916
+ export interface ISeasonAttendeeListInfo {
2917
+ userId: number;
2918
+ userFirstName: string;
2919
+ userLastName: string;
2920
+ userGender: number;
2921
+ userBirthDate: Date;
2922
+ userProfilePicUrl: string;
2923
+ customerId: number;
2924
+ customerEmail: string;
2925
+ paymentStatus: string;
2926
+ productName: string;
2927
+ punchCard: boolean;
3030
2928
  }
3031
- export declare enum SeasonPoolStatusEnum {
3032
- IN_POOL = 5,
3033
- ASSIGNED = 1,
3034
- QUIT = 2,
3035
- SUSPENDED = 3,
3036
- INACTIVE = 4
2929
+ export declare class SeasonAsSeasonSegment extends ProgramSeason {
2930
+ segmentType: ResourceNameTypeEnum;
2931
+ participantRegisteredDate?: string;
3037
2932
  }
3038
- export declare enum AmenitiesEnum {
3039
- HEAT = 1,
3040
- AC = 2,
3041
- WIFI = 3,
3042
- RESTROOMS = 4,
3043
- DRINKING_FOUNTAIN = 5,
3044
- PARKING = 6,
3045
- CONCESSIONS = 7,
3046
- SHELTER = 8,
3047
- PORTABLE_RESTROOMS = 9,
3048
- LIGHTS = 10,
3049
- LOCKER_ROOM = 11,
3050
- PAID_PARKING = 12,
3051
- ACCESSIBLE = 13
2933
+ export declare class EventAsSeasonSegment extends Event {
2934
+ segmentType: ResourceNameTypeEnum;
2935
+ participantRegisteredDate?: string;
3052
2936
  }
3053
- export declare enum ResourceSubTypeEnum {
3054
- COURT = "court",
3055
- FIELD = "field",
3056
- ROOM = "room",
3057
- DIAMOND = "diamond",
3058
- RINK = "rink",
3059
- STUDIO = "studio",
3060
- POOL = "pool",
3061
- BATTING_CAGE = "batting cage",
3062
- SHELTER = "shelter",
3063
- GOLF_SIMULATOR = "golf simulator"
2937
+ export interface ITokenResonse {
2938
+ token: string;
3064
2939
  }
3065
- export declare enum ResourceTypeEnum {
3066
- SPACE = "space"
2940
+ export interface IStripeBondInvoices {
2941
+ paidStripePaymentIntent: Stripe.PaymentIntent;
2942
+ bondPaidInvoice: Invoice;
2943
+ order?: Order;
2944
+ customer?: Customer;
3067
2945
  }
3068
- export declare enum ResourceAgesEnum {
3069
- ADULTS = "adults",
3070
- CHILDREN = "children"
2946
+ export interface IPartialPaymentData {
2947
+ purchasingUserId: number;
2948
+ paymentData: PurchasePaymentDto;
2949
+ amountToPay: number;
3071
2950
  }
3072
- export declare enum SpacePropertiesEnum {
3073
- OUTDOOR = "outdoor",
3074
- INDOOR = "indoor"
2951
+ export interface IPayment {
2952
+ id: number;
2953
+ total: number;
2954
+ paymentMethod: PaymentMethodTypeEnum;
2955
+ status: PaymentStatusEnum;
2956
+ createdAt: Date;
2957
+ invoices: number[];
3075
2958
  }
3076
- export declare enum SurfacesEnum {
3077
- GRASS = "grass",
3078
- TURF = "turf",
3079
- FIELD_TURF = "fieldTurf",
3080
- ASTRO_TURF = "astroTurf",
3081
- HARDWOOD = "hardwood",
3082
- ASPHALT = "asphalt",
3083
- SAND = "sand",
3084
- ICE = "ice",
3085
- SPORT_COURT = "sportCourt"
2959
+ export interface IPaginationData<T> {
2960
+ meta: {
2961
+ totalItems: number;
2962
+ itemsPerPage: number;
2963
+ totalPages: number;
2964
+ currentPage: number;
2965
+ };
2966
+ data: T[];
3086
2967
  }
3087
- export declare enum RegistrationConstraintPeriodTypeEnum {
3088
- MINUTES = "minutes",
3089
- DAYS = "days"
2968
+ export interface IPricesOfProductsResults {
2969
+ productId: number;
2970
+ userId: number;
2971
+ price: number;
2972
+ groupId?: number;
2973
+ groupName?: string;
2974
+ originalPrice?: number;
2975
+ priceWithoutTax: number;
2976
+ tax: number;
2977
+ isTaxInclusive: boolean;
3090
2978
  }
3091
- export declare enum RegistrationWindowStatusEnum {
3092
- NOT_OPEN_YET = "not_opened_yet",
3093
- OPEN = "open",
3094
- CLOSED = "closed"
2979
+ export interface IPaymentMethodToFundLeft {
2980
+ paymentType: PaymentMethodTypeEnum;
2981
+ paymentMethodId: string;
2982
+ fundLeft: number;
2983
+ ccLast4?: string;
2984
+ ccBrand?: string;
3095
2985
  }
3096
- export declare enum RegistrationValidationStatusEnum {
3097
- FULL = "full",
3098
- ALREADY_REGISTERED = "registered",
3099
- AVAILABLE = "available",
3100
- NOT_OPEN_YET = "not opened",
3101
- ALREADY_CLOSED = "closed",
3102
- NO_PRODUCT_FOUND = "no-product-found"
2986
+ export interface IVariantsAndTitle {
2987
+ title: VariantTitle;
2988
+ variants: Variant[];
3103
2989
  }
3104
- export declare enum DiscountMethodsEnum {
3105
- PERCENT = "percent",
3106
- AMOUNT = "amount"
2990
+ export interface IProgramSeasonActivityTimes {
2991
+ dayOfWeek: number;
2992
+ open: string;
2993
+ close: string;
3107
2994
  }
3108
- export declare enum UserAuthorizationsTypeEnum {
3109
- ORGANIZATION = "organization"
2995
+ export interface IProgramSeasonActivityTimesAsDates {
2996
+ date: string;
2997
+ startTime: string;
2998
+ endTime: string;
3110
2999
  }
3111
- export declare enum OrganizationLocaleDateEnum {
3112
- USA = "USA"
3000
+ export interface IBlockedDates {
3001
+ name: string;
3002
+ startDate: Date;
3003
+ endDate: Date;
3113
3004
  }
3114
- export declare enum DateTimeFormatsEnum {
3115
- API_DATE = "YYYY/MM/DD",
3116
- API_TIME = "HH:mm:ss"
3005
+ export interface ISingleMemberForRenewal {
3006
+ member_id: number;
3007
+ member_membershipId: number;
3008
+ member_userId: number;
3009
+ member_nextPaymentMethodId?: string;
3010
+ member_nextPaymentType?: PaymentMethodTypeEnum;
3011
+ member_answerTitleIds?: number[];
3012
+ member_organizationId: number;
3013
+ line_paidAmount: number;
3014
+ line_productId: number;
3015
+ order_payingUserId: number;
3016
+ order_paymentMethodId: string;
3017
+ order_paymentType: PaymentMethodTypeEnum;
3018
+ endDate: Date;
3019
+ membership_name: string;
3020
+ user_firstName: string;
3021
+ user_lastName: string;
3022
+ user_email: string;
3117
3023
  }
3118
- export declare enum SlotTypeEnum {
3119
- EXTERNAL = "external",
3120
- INTERNAL = "internal",
3121
- MAINTENANCE = "maintenance",
3122
- CUSTOM = "custom"
3024
+ export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
3025
+ package_parentProductId: number;
3026
+ line2_paidAmount: number;
3027
+ familyid: number;
3028
+ order_id: number;
3123
3029
  }
3124
- export declare enum PlatformsEnum {
3125
- CONSUMER = "consumer",
3126
- BO = "backoffice",
3127
- MOBILE = "mobile",
3128
- CRON = "cron"
3030
+ export interface IResourceRegistrationData {
3031
+ id: number;
3032
+ resourceType: ResourceNameTypeEnum;
3033
+ openNumDays?: number;
3034
+ openNumMinutes?: number;
3035
+ openTime?: string;
3036
+ closeNumDays?: number;
3037
+ closeNumMinutes?: number;
3038
+ closeTime?: string;
3039
+ registrationWindowStatus?: RegistrationWindowStatusEnum;
3129
3040
  }
3130
- export declare enum ShiftStatusEnum {
3131
- OPEN = "open",
3132
- CLOSED = "closed",
3133
- MANAGMENT_CLOSED = "closed_by_manager",
3134
- RECONCILED = "reconciled"
3041
+ export interface IResourceDataForConstraintsCalc {
3042
+ id: number;
3043
+ startDate: string;
3044
+ startTime: string;
3135
3045
  }
3136
- export declare enum EventStatusEnum {
3137
- OPEN = 1,
3138
- DRAFT = 2,
3139
- FULL = 3,
3140
- CANCELLED = 4,
3141
- CLOSED = 5,
3142
- DELETED = 6
3046
+ export interface IRegistrationConstraintsSetting {
3047
+ numDays?: number;
3048
+ numMinutes?: number;
3143
3049
  }
3144
- export declare enum ReservationTypeEnum {
3145
- RENTAL = "rental",
3146
- PROGRAM = "program",
3147
- MAINTENANCE = "maintenance",
3148
- CUSTOM = "custom"
3050
+ export interface IAttendeeDataToNotify {
3051
+ firstName: string;
3052
+ lastName: string;
3053
+ email: string;
3054
+ sessionName: string;
3055
+ parentSessionName?: string;
3056
+ organizationName: string;
3057
+ programName: string;
3149
3058
  }
3150
- export declare enum SlotDurationTypeEnum {
3151
- DATES = "dates",
3152
- ALL_DAY = "all day",
3153
- DURATION = "duration"
3059
+ export interface IEventInSchedule {
3060
+ eventId: number;
3061
+ eventName: string;
3062
+ eventStartDate: string;
3063
+ eventEndDate: string;
3064
+ eventStartTime: string;
3065
+ eventEndTime: string;
3066
+ programId: number;
3067
+ programName: string;
3068
+ programType: ProgramTypesEnum;
3069
+ sessionId: number;
3070
+ sessionName: string;
3071
+ sports: number;
3072
+ spaces: {
3073
+ spaceId: number;
3074
+ spaceName: string;
3075
+ }[];
3076
+ status?: RegistrationValidationStatusEnum;
3154
3077
  }
3155
- export declare enum DurationUnitTypesEnum {
3156
- MINUTES = "minutes",
3157
- HOURS = "hours"
3078
+ export interface ISlotInSchedule {
3079
+ facilityId: number;
3080
+ facilityName: string;
3081
+ spaces: ISpaceWithSlots[];
3158
3082
  }
3159
- export declare enum FrequencyEnum {
3160
- NONE = "none",
3161
- WEEKLY = "weekly",
3162
- DAILY = "daily",
3163
- MONTHLY = "monthly",
3164
- YEARLY = "yearly"
3083
+ export interface ISpaceWithSlots {
3084
+ id: number;
3085
+ name: string;
3086
+ slots: ISlotReservationData[];
3165
3087
  }
3166
- export declare enum MaintenanceTimingEnum {
3167
- BEFORE = 1,
3168
- AFTER = 2,
3169
- AT_THE_BEGINING = 3,
3170
- AT_THE_END = 4
3088
+ export interface ISlotReservationData {
3089
+ reservationId: number;
3090
+ reservationName: string;
3091
+ date: string;
3092
+ startTime: string;
3093
+ endTime: string;
3094
+ notes: string;
3095
+ spaceId: number;
3096
+ isRental: boolean;
3097
+ slotType: SlotTypeEnum;
3098
+ slotId: number;
3099
+ eventId: number;
3171
3100
  }
3172
- export declare enum CreatorTypeEnum {
3173
- SPACE = "space",
3174
- PROGRAM_SEASON = "program_season"
3101
+ export interface IRawEventInSchedule extends IEventInSchedule {
3102
+ parentSessionId: number;
3103
+ parentSessionName: string;
3104
+ eventTimezone: string;
3105
+ maxParticipants: number;
3106
+ maxMaleParticipants: number;
3107
+ maxFemaleParticipants: number;
3108
+ isPunchCard: boolean;
3175
3109
  }
3176
- export declare enum UpdatePricesTypeEnum {
3177
- INDIVIDUAL = "indvidual",
3178
- CATEGORY = "category",
3179
- GLOBAL = "global"
3110
+ export interface IBasicSpaceAndSlotCreator {
3111
+ id: number;
3112
+ name: string;
3113
+ bookingCreatorId: number;
3180
3114
  }
3181
- export declare enum BondDayOfWeekEnum {
3182
- MONDAY = 2,
3183
- TUESDAY = 3,
3184
- WEDNESDAY = 4,
3185
- THURSDAY = 5,
3186
- FRIDAY = 6,
3187
- SATURDAY = 7,
3188
- SUNDAY = 8
3115
+ export interface IRawSlotInSchedule {
3116
+ startDate: string;
3117
+ endDate: string;
3118
+ startTime: string;
3119
+ endTime: string;
3120
+ reservationId: number;
3121
+ eventTitle: string;
3122
+ publicNotes: string;
3123
+ spaceId: number;
3124
+ creatorType: ResourceNameTypeEnum;
3125
+ slotType: SlotTypeEnum;
3126
+ slotId: number;
3127
+ eventId: number;
3189
3128
  }
3190
- export declare enum ReservationMigrationStatusEnum {
3191
- NEW = "new",
3192
- NO = "no",
3193
- YES = "yes"
3129
+ export interface IPurchasedResourcesRaw {
3130
+ purchasedId: number;
3131
+ purchasedProductUserId: number;
3132
+ purchasedResourceId: number;
3133
+ purchasedResourceType: ResourceNameTypeEnum;
3134
+ purchasedStatus: PurchasedResourceStatusEnum;
3135
+ pUserId: number;
3136
+ pUserPaymentStatus: PaymentStatusEnum;
3137
+ pUserProductId: number;
3138
+ pUserProductName: string;
3139
+ pUserProductPrice: number;
3140
+ pUserProductPriceCurrency: string;
3141
+ pUserProductQuantity: number;
3142
+ pUserProductQuantityLeft: number;
3143
+ pUserUserId: number;
3194
3144
  }
3195
- export declare enum ProductPackageLevelEnum {
3196
- HOUR = "hour",
3197
- SLOT = "slot",
3198
- RESERVATION = "reservation"
3145
+ export interface IUsersPasses {
3146
+ userId: number;
3147
+ userFirstName: string;
3148
+ userLastName: string;
3149
+ organizationId: number;
3150
+ programId: number;
3151
+ programName: string;
3152
+ sessionId: number;
3153
+ sessionName: string;
3154
+ productId: number;
3155
+ productName: string;
3156
+ productUserId: number;
3157
+ purchaseDate: Date;
3158
+ passesLeft: number;
3199
3159
  }
3200
- export declare enum CancellationStatusEnum {
3201
- IMMEDIATE = "immediate",
3202
- AUTO_RENEWAL = "auto_renewal"
3160
+ export interface ISessionsLandingPage {
3161
+ sessionId: number;
3162
+ name: string;
3163
+ startDate: Date;
3164
+ endDate: Date;
3165
+ registrationStartDate: Date;
3166
+ registrationEndDate: Date;
3167
+ sport: SportsEnum;
3168
+ minAge: string;
3169
+ maxAge: string;
3170
+ maxParticipants?: number;
3171
+ gender: GenderEnum;
3172
+ activityTimes: ActivityTimes[];
3173
+ earlyRegistrationStartDate?: Date;
3174
+ earlyRegistrationEndDate?: Date;
3175
+ lateRegistrationStartDate?: Date;
3176
+ lateRegistrationEndDate?: Date;
3177
+ attendeeCount?: number;
3178
+ segmentsOrEvents: 'segment' | 'event';
3203
3179
  }
3204
- export declare enum SeasonScheduleStatusEnum {
3205
- DRAFT,
3206
- PUBLISHED
3180
+ export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
3181
+ hasRequiredMembership: boolean;
3182
+ hasEntitledPricing: boolean;
3183
+ lowestPrice?: number;
3184
+ products?: ISessionLandingPageProduct[];
3207
3185
  }
3208
- export declare enum FinancialStepEnum {
3209
- VOID = "void",
3210
- REFUND = "refund",
3211
- NONE = "none",
3212
- REFUND_AND_VOID = "refund-and-void",
3213
- APPEND = "append"
3186
+ export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
3187
+ hasRequiredMembership: boolean;
3188
+ hasEntitledPricing: boolean;
3189
+ products?: ISessionLandingPageProduct[];
3190
+ segments?: Event[] | ProgramSeason[];
3191
+ programName: string;
3192
+ programId: number;
3193
+ levelOfPlay: LevelOfPlayEnum[];
3194
+ registrationConstraints: IResourceRegistrationData[];
3214
3195
  }
3215
- export declare enum StripeAccountTypesEnum {
3216
- STRIPE = "stripe",
3217
- STRIPE_CUSTOM = "stripe:account:custom",
3218
- STRIPE_CUSTOMER = "stripe:customer"
3196
+ export interface ISlimAddons {
3197
+ addons?: {
3198
+ id: number;
3199
+ timePeriod: AddonTimePeriodEnum;
3200
+ name: string;
3201
+ productType?: ProductTypesEnum;
3202
+ productSubType?: string;
3203
+ }[];
3219
3204
  }
3220
- export declare enum LinkedAccountStatus {
3221
- PENDING = 1,
3222
- ACTIVE = 2,
3223
- PRE_PENDING = 3
3205
+ export interface ISessionLandingPageProduct extends ISlimAddons {
3206
+ id: number;
3207
+ name: string;
3208
+ startDate?: Date;
3209
+ endDate?: Date;
3210
+ downpayment?: number;
3211
+ description?: string;
3212
+ prices: Price[];
3213
+ productSubType?: ProductSubTypesEnum;
3214
+ punchCard: boolean;
3215
+ isAddon: boolean;
3216
+ defaultPriceId?: number;
3224
3217
  }
3225
- export declare enum AddonParentTypeEnum {
3226
- RESERVATION = "reservation",
3227
- SLOT = "slot"
3218
+ export interface CreatePaymentIntentDto extends PurchaseRequestDto {
3219
+ destinationId?: string;
3220
+ stripeCustomerId?: string;
3221
+ fee?: number;
3228
3222
  }
3229
- export declare enum EEmailStatus {
3230
- SENT = "sent",
3231
- OPENED = "opened",
3232
- PAID = "paid",
3233
- CANCELED = "canceled"
3223
+ export interface IReservationCreatorData {
3224
+ type: ResourceNameTypeEnum;
3225
+ id: number;
3226
+ organizationId: number;
3227
+ startDate: string;
3228
+ endDate: string;
3229
+ sportId: number;
3234
3230
  }
3235
3231
  export declare class ColumnNumericTransformer {
3236
3232
  to(data: number): number;
@@ -3371,6 +3367,12 @@ export declare class Matches extends BondBaseEntity {
3371
3367
  status: number | null;
3372
3368
  excludeStandings: boolean | null;
3373
3369
  }
3370
+ export declare class SeasonRounds extends BondBaseEntity {
3371
+ seasonId: number;
3372
+ ordinal?: number;
3373
+ divisionId?: number;
3374
+ name: string;
3375
+ }
3374
3376
  export declare class RoundEvents extends BaseEntity {
3375
3377
  roundId: number;
3376
3378
  eventId: number;
@@ -3378,12 +3380,6 @@ export declare class RoundEvents extends BaseEntity {
3378
3380
  createdAt: Date;
3379
3381
  updatedAt: Date;
3380
3382
  }
3381
- export declare class SeasonRounds extends BondBaseEntity {
3382
- seasonId: number;
3383
- ordinal?: number;
3384
- divisionId?: number;
3385
- name: string;
3386
- }
3387
3383
  export declare class TeamEvents extends BondBaseEntity {
3388
3384
  teamId: number | null;
3389
3385
  eventId: number | null;
@@ -3410,6 +3406,65 @@ export declare class ByOrganizationIdDto {
3410
3406
  export declare class OptionalFindByOrganizationIdDto {
3411
3407
  organizationId?: number;
3412
3408
  }
3409
+ export declare class Organization extends BondBaseEntity {
3410
+ name: string | null;
3411
+ email: string | null;
3412
+ twitter: string | null;
3413
+ facebook: string | null;
3414
+ instagram: string | null;
3415
+ website: string | null;
3416
+ blog: string | null;
3417
+ phoneNumber: string | null;
3418
+ waiverDoc: string | null;
3419
+ about: string | null;
3420
+ tagline: string | null;
3421
+ status: number | null;
3422
+ addressId: number | null;
3423
+ merchantId: number | null;
3424
+ userCreatorId: number | null;
3425
+ parentId: number | null;
3426
+ paymentSettings: object | null;
3427
+ settings: object | null;
3428
+ isClaimed: boolean | null;
3429
+ sports: number[] | null;
3430
+ mainMediaId: number | null;
3431
+ deletedAt: Date | null;
3432
+ organizationActivityTypes: number[] | null;
3433
+ organizationTypes: number[] | null;
3434
+ organizationAudienceTypes: number[] | null;
3435
+ organizationGenders: number[] | null;
3436
+ questionnaireId: number | null;
3437
+ membershipQuestionnaireId: number | null;
3438
+ feeRate: number;
3439
+ feeAddDollarRate: number;
3440
+ achFeeRate: number;
3441
+ achFeeAddDollarRate: number;
3442
+ maxAchFee: number;
3443
+ cashFeeRate: number;
3444
+ cashFeeAddDollarRate: number;
3445
+ terminalFeeRate: number;
3446
+ terminalFeeAddDollarRate: number;
3447
+ checkFeeRate: number;
3448
+ checkFeeAddDollarRate: number;
3449
+ otherFeeRate: number;
3450
+ otherFeeAddDollarRate: number;
3451
+ balanceFeeRate: number;
3452
+ balanceFeeAddDollarRate: number;
3453
+ address: Address;
3454
+ mainMedia: Media;
3455
+ brandings: OrganizationBranding[];
3456
+ brandingsV2?: OrganizationBranding[];
3457
+ }
3458
+ export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
3459
+ key?: string;
3460
+ vaule?: string;
3461
+ version: number;
3462
+ organization: Organization;
3463
+ }
3464
+ export declare class OrganizationUsers extends BondBaseEntity {
3465
+ organisationId: number | null;
3466
+ userId: number | null;
3467
+ }
3413
3468
  export declare class CustomerIdDto {
3414
3469
  customerId: number;
3415
3470
  }
@@ -3559,91 +3614,6 @@ export declare class VoidLineItemDto {
3559
3614
  isEdit?: boolean;
3560
3615
  amount?: number;
3561
3616
  }
3562
- export declare class Organization extends BondBaseEntity {
3563
- name: string | null;
3564
- email: string | null;
3565
- twitter: string | null;
3566
- facebook: string | null;
3567
- instagram: string | null;
3568
- website: string | null;
3569
- blog: string | null;
3570
- phoneNumber: string | null;
3571
- waiverDoc: string | null;
3572
- about: string | null;
3573
- tagline: string | null;
3574
- status: number | null;
3575
- addressId: number | null;
3576
- merchantId: number | null;
3577
- userCreatorId: number | null;
3578
- parentId: number | null;
3579
- paymentSettings: object | null;
3580
- settings: object | null;
3581
- isClaimed: boolean | null;
3582
- sports: number[] | null;
3583
- mainMediaId: number | null;
3584
- deletedAt: Date | null;
3585
- organizationActivityTypes: number[] | null;
3586
- organizationTypes: number[] | null;
3587
- organizationAudienceTypes: number[] | null;
3588
- organizationGenders: number[] | null;
3589
- questionnaireId: number | null;
3590
- membershipQuestionnaireId: number | null;
3591
- feeRate: number;
3592
- feeAddDollarRate: number;
3593
- achFeeRate: number;
3594
- achFeeAddDollarRate: number;
3595
- maxAchFee: number;
3596
- cashFeeRate: number;
3597
- cashFeeAddDollarRate: number;
3598
- terminalFeeRate: number;
3599
- terminalFeeAddDollarRate: number;
3600
- checkFeeRate: number;
3601
- checkFeeAddDollarRate: number;
3602
- otherFeeRate: number;
3603
- otherFeeAddDollarRate: number;
3604
- balanceFeeRate: number;
3605
- balanceFeeAddDollarRate: number;
3606
- address: Address;
3607
- mainMedia: Media;
3608
- brandings: OrganizationBranding[];
3609
- brandingsV2?: OrganizationBranding[];
3610
- }
3611
- export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
3612
- key?: string;
3613
- vaule?: string;
3614
- version: number;
3615
- organization: Organization;
3616
- }
3617
- export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3618
- mainAdminUserId?: number;
3619
- }
3620
- export declare class OrganizationUsers extends BondBaseEntity {
3621
- organisationId: number | null;
3622
- userId: number | null;
3623
- }
3624
- export declare class ChangeRolePermissionsDto {
3625
- permissionIds: number[];
3626
- }
3627
- export declare class CreateRoleDto {
3628
- name: string;
3629
- }
3630
- export declare class Permission extends BondBaseEntity {
3631
- name: string;
3632
- deletedAt?: Date;
3633
- }
3634
- export declare class Role extends OrganizationConnectionBaseEntity {
3635
- name: string;
3636
- deletedAt?: Date;
3637
- permissions: Permission[];
3638
- usersRoles: UserRole[];
3639
- }
3640
- export declare class UserRole extends OrganizationConnectionBaseEntity {
3641
- deletedAt?: Date;
3642
- userId: number;
3643
- roleId: number;
3644
- role: Role;
3645
- user: User;
3646
- }
3647
3617
  export declare class LineItemDto {
3648
3618
  id?: number;
3649
3619
  orderId?: number;
@@ -3670,12 +3640,13 @@ export declare class LineItemDto {
3670
3640
  unitTaxPrice?: number;
3671
3641
  parentOrdinal?: number;
3672
3642
  }
3673
- export declare class MaintenanceDto {
3674
- id?: number;
3675
- title: string;
3676
- durationValue: number;
3677
- maintenanceDurationdurationType: DurationUnitTypesEnum;
3678
- maintenanceTiming: MaintenanceTimingEnum;
3643
+ export declare class PurchasedResourceDto {
3644
+ resourceId?: number;
3645
+ resourceType: ResourceNameTypeEnum;
3646
+ startDate?: string;
3647
+ startTime?: string;
3648
+ endDate?: string;
3649
+ endTime?: string;
3679
3650
  }
3680
3651
  export declare class OrderDto {
3681
3652
  orderId?: string | null;
@@ -3718,13 +3689,12 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
3718
3689
  export declare class AddSegmentsDto extends UpdateInvoiceDto {
3719
3690
  segments: SegmentDto[];
3720
3691
  }
3721
- export declare class PurchasedResourceDto {
3722
- resourceId?: number;
3723
- resourceType: ResourceNameTypeEnum;
3724
- startDate?: string;
3725
- startTime?: string;
3726
- endDate?: string;
3727
- endTime?: string;
3692
+ export declare class MaintenanceDto {
3693
+ id?: number;
3694
+ title: string;
3695
+ durationValue: number;
3696
+ maintenanceDurationdurationType: DurationUnitTypesEnum;
3697
+ maintenanceTiming: MaintenanceTimingEnum;
3728
3698
  }
3729
3699
  export declare class ReservationDto {
3730
3700
  id?: number;
@@ -3994,24 +3964,6 @@ export declare class BookingV1Dto {
3994
3964
  cashPayment: boolean;
3995
3965
  requestOnly: boolean;
3996
3966
  }
3997
- export declare class Addon extends OrganizationConnectionBaseEntity {
3998
- parentId: number;
3999
- parentType: AddonParentTypeEnum;
4000
- productId: number;
4001
- product?: Product;
4002
- quantity: number;
4003
- unitPrice: number;
4004
- totalPrice: number;
4005
- approvalStatus: ReservationStatusEnum;
4006
- paymentStatus: ReservationPaymentStatusEnum;
4007
- level?: ProductPackageLevelEnum;
4008
- resourceId?: number;
4009
- resource?: Resource;
4010
- orderId?: number;
4011
- order?: Order;
4012
- productUserId?: number;
4013
- productUser?: ProductsUsers;
4014
- }
4015
3967
  export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
4016
3968
  deletedAt?: Date;
4017
3969
  reservationId: number;
@@ -4057,6 +4009,24 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
4057
4009
  targetGlobalPrice?: number;
4058
4010
  slots: Slot[];
4059
4011
  }
4012
+ export declare class Addon extends OrganizationConnectionBaseEntity {
4013
+ parentId: number;
4014
+ parentType: AddonParentTypeEnum;
4015
+ productId: number;
4016
+ product?: Product;
4017
+ quantity: number;
4018
+ unitPrice: number;
4019
+ totalPrice: number;
4020
+ approvalStatus: ReservationStatusEnum;
4021
+ paymentStatus: ReservationPaymentStatusEnum;
4022
+ level?: ProductPackageLevelEnum;
4023
+ resourceId?: number;
4024
+ resource?: Resource;
4025
+ orderId?: number;
4026
+ order?: Order;
4027
+ productUserId?: number;
4028
+ productUser?: ProductsUsers;
4029
+ }
4060
4030
  export declare class Segment extends OrganizationConnectionBaseEntity {
4061
4031
  deletedAt?: Date;
4062
4032
  reservationId: number;
@@ -4157,12 +4127,32 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
4157
4127
  changeLineItems?: LineItems[];
4158
4128
  updatedLineItem?: LineItems;
4159
4129
  }
4130
+ export declare class ChangeRolePermissionsDto {
4131
+ permissionIds: number[];
4132
+ }
4133
+ export declare class CreateRoleDto {
4134
+ name: string;
4135
+ }
4136
+ export declare class Permission extends BondBaseEntity {
4137
+ name: string;
4138
+ deletedAt?: Date;
4139
+ }
4140
+ export declare class Role extends OrganizationConnectionBaseEntity {
4141
+ name: string;
4142
+ deletedAt?: Date;
4143
+ permissions: Permission[];
4144
+ usersRoles: UserRole[];
4145
+ }
4146
+ export declare class UserRole extends OrganizationConnectionBaseEntity {
4147
+ deletedAt?: Date;
4148
+ userId: number;
4149
+ roleId: number;
4150
+ role: Role;
4151
+ user: User;
4152
+ }
4160
4153
  export declare class CloseShiftDto {
4161
4154
  closingCashAmount: number;
4162
4155
  }
4163
- export declare class FindShiftsByIdsDto {
4164
- shiftIds: number[];
4165
- }
4166
4156
  export declare class FindShiftsFiltersDto {
4167
4157
  statuses?: string;
4168
4158
  stationIds?: string;
@@ -4223,4 +4213,10 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
4223
4213
  closingManager?: User;
4224
4214
  reconcilingUser?: User;
4225
4215
  }
4216
+ export declare class FindShiftsByIdsDto {
4217
+ shiftIds: number[];
4218
+ }
4219
+ export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
4220
+ mainAdminUserId?: number;
4221
+ }
4226
4222
  export {};