@bondsports/types 0.0.57 → 0.0.58

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
@@ -85,6 +85,49 @@ export declare class AddEditCustomerDto {
85
85
  emergencyContactName?: string;
86
86
  emergencyContactPhone?: string;
87
87
  }
88
+ export declare class AddressDto {
89
+ city: string;
90
+ state: string;
91
+ country: string;
92
+ geo: number[];
93
+ }
94
+ export declare class OpeningTimeDto {
95
+ open: string;
96
+ close: string;
97
+ dayOfWeek: number;
98
+ }
99
+ export declare class CreateFacilityDto {
100
+ name: string;
101
+ sports: number[];
102
+ description?: string;
103
+ longDescription?: string;
104
+ info?: string;
105
+ address: AddressDto;
106
+ timezone: string;
107
+ amenities: number[];
108
+ openingTimes: OpeningTimeDto[];
109
+ resourcesIds?: number[];
110
+ }
111
+ export declare class UpdateFacilityDetailsDto {
112
+ name?: string;
113
+ description?: string;
114
+ longDescription?: string;
115
+ info?: string;
116
+ address?: AddressDto;
117
+ timezone?: string;
118
+ }
119
+ export declare class UpdateFacilityOpeningTimesDto {
120
+ openingTimes: OpeningTimeDto[];
121
+ }
122
+ export declare class UpdateFacilitySportsDto {
123
+ sports: number[];
124
+ }
125
+ export declare class UpdateFacilityAmenitiesDto {
126
+ amenities: number[];
127
+ }
128
+ export declare class FindFacilitiesOptionsDto extends PaginationQuery {
129
+ nameSearch?: string;
130
+ }
88
131
  export declare class FindEventByIdDto {
89
132
  eventId: number;
90
133
  organizationId: number;
@@ -186,49 +229,6 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
186
229
  isWaiverSigned?: string;
187
230
  statuses?: string;
188
231
  }
189
- export declare class AddressDto {
190
- city: string;
191
- state: string;
192
- country: string;
193
- geo: number[];
194
- }
195
- export declare class OpeningTimeDto {
196
- open: string;
197
- close: string;
198
- dayOfWeek: number;
199
- }
200
- export declare class CreateFacilityDto {
201
- name: string;
202
- sports: number[];
203
- description?: string;
204
- longDescription?: string;
205
- info?: string;
206
- address: AddressDto;
207
- timezone: string;
208
- amenities: number[];
209
- openingTimes: OpeningTimeDto[];
210
- resourcesIds?: number[];
211
- }
212
- export declare class UpdateFacilityDetailsDto {
213
- name?: string;
214
- description?: string;
215
- longDescription?: string;
216
- info?: string;
217
- address?: AddressDto;
218
- timezone?: string;
219
- }
220
- export declare class UpdateFacilityOpeningTimesDto {
221
- openingTimes: OpeningTimeDto[];
222
- }
223
- export declare class UpdateFacilitySportsDto {
224
- sports: number[];
225
- }
226
- export declare class UpdateFacilityAmenitiesDto {
227
- amenities: number[];
228
- }
229
- export declare class FindFacilitiesOptionsDto extends PaginationQuery {
230
- nameSearch?: string;
231
- }
232
232
  export declare class FindFamilyAccountsDto {
233
233
  userId: number;
234
234
  }
@@ -412,48 +412,6 @@ export declare class CancelMembershipDto {
412
412
  isImmediatelyCancel: boolean;
413
413
  cancellationReason?: string;
414
414
  }
415
- export declare class CreateEntitlementTermsDto {
416
- organizationId: number;
417
- entitlementGroupId: number;
418
- terms: IEntitlementTerms[];
419
- }
420
- export declare class FindEntitlementTermsByGroupIdDto {
421
- entitlementGroupId: number;
422
- }
423
- export declare class FindEntitlementTermsByVariablesDto {
424
- user: any;
425
- userVariables: IQuestionAnswerObject[];
426
- }
427
- export declare class FindLowestPriceDto {
428
- organizationId: number;
429
- user?: any;
430
- answers?: IQuestionAnswerObject[];
431
- itemIds: number[];
432
- itemType?: ResourceNameTypeEnum;
433
- startDate?: Date;
434
- }
435
- export declare class FindGroupItemsPricingsDto {
436
- groupsIds: number[];
437
- itemsIds: number[];
438
- }
439
- export declare class CreateEntitlementGroupDto {
440
- name: string;
441
- }
442
- export declare class GetEntitlementGroupPricingDto {
443
- itemIds: number[];
444
- itemType: string;
445
- }
446
- export declare class FindEntitlementGroupByIdDto {
447
- groupid: number;
448
- }
449
- export declare class CreateGroupPricingWithProduct {
450
- groupId: number;
451
- price: number;
452
- startDate?: Date;
453
- endDate?: Date;
454
- discountValue?: number;
455
- discountMethod?: DiscountMethodsEnum;
456
- }
457
415
  export declare class FindByProductIdDto {
458
416
  productId: number;
459
417
  }
@@ -674,6 +632,48 @@ export declare class createResourceDto {
674
632
  export declare class archiveDto {
675
633
  isArchive: boolean;
676
634
  }
635
+ export declare class CreateEntitlementTermsDto {
636
+ organizationId: number;
637
+ entitlementGroupId: number;
638
+ terms: IEntitlementTerms[];
639
+ }
640
+ export declare class FindEntitlementTermsByGroupIdDto {
641
+ entitlementGroupId: number;
642
+ }
643
+ export declare class FindEntitlementTermsByVariablesDto {
644
+ user: any;
645
+ userVariables: IQuestionAnswerObject[];
646
+ }
647
+ export declare class FindLowestPriceDto {
648
+ organizationId: number;
649
+ user?: any;
650
+ answers?: IQuestionAnswerObject[];
651
+ itemIds: number[];
652
+ itemType?: ResourceNameTypeEnum;
653
+ startDate?: Date;
654
+ }
655
+ export declare class FindGroupItemsPricingsDto {
656
+ groupsIds: number[];
657
+ itemsIds: number[];
658
+ }
659
+ export declare class CreateEntitlementGroupDto {
660
+ name: string;
661
+ }
662
+ export declare class GetEntitlementGroupPricingDto {
663
+ itemIds: number[];
664
+ itemType: string;
665
+ }
666
+ export declare class FindEntitlementGroupByIdDto {
667
+ groupid: number;
668
+ }
669
+ export declare class CreateGroupPricingWithProduct {
670
+ groupId: number;
671
+ price: number;
672
+ startDate?: Date;
673
+ endDate?: Date;
674
+ discountValue?: number;
675
+ discountMethod?: DiscountMethodsEnum;
676
+ }
677
677
  export declare class CreateUpdateVariantsDto {
678
678
  organizationId: number;
679
679
  parentProductId: number;
@@ -1186,6 +1186,18 @@ export declare class Configuration extends BondBaseEntity {
1186
1186
  key: string;
1187
1187
  value: string;
1188
1188
  }
1189
+ export declare class Connection extends BondBaseEntity {
1190
+ connType: number | null;
1191
+ from: number | null;
1192
+ fromType: string | null;
1193
+ to: number | null;
1194
+ toType: string | null;
1195
+ status: number | null;
1196
+ creatorId: number | null;
1197
+ creatorType: string | null;
1198
+ userCreatorId: number | null;
1199
+ ownerId: number | null;
1200
+ }
1189
1201
  export declare class CreditNote extends OrganizationConnectionBaseEntity {
1190
1202
  creditAmount: number;
1191
1203
  paymentProcessorId: string;
@@ -1222,18 +1234,6 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
1222
1234
  mainMedia: Media;
1223
1235
  reservations?: Reservation[];
1224
1236
  }
1225
- export declare class Connection extends BondBaseEntity {
1226
- connType: number | null;
1227
- from: number | null;
1228
- fromType: string | null;
1229
- to: number | null;
1230
- toType: string | null;
1231
- status: number | null;
1232
- creatorId: number | null;
1233
- creatorType: string | null;
1234
- userCreatorId: number | null;
1235
- ownerId: number | null;
1236
- }
1237
1237
  export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
1238
1238
  customerId: number;
1239
1239
  userId: number;
@@ -1549,22 +1549,6 @@ export declare class LineItemHistory extends BondBaseEntity {
1549
1549
  invoice: Invoice;
1550
1550
  lineItem: LineItems;
1551
1551
  }
1552
- export declare class LinkedAccounts extends BondBaseEntity {
1553
- id: number;
1554
- provider: string;
1555
- providerId: string | null;
1556
- parentId: number | null;
1557
- parentType: string | null;
1558
- status: number | null;
1559
- token: string | null;
1560
- refreshToken: string | null;
1561
- tokenCreatedAt: Date | null;
1562
- tokenValidUpTo: Date | null;
1563
- createdAt: Date;
1564
- updatedAt: Date;
1565
- user: User;
1566
- userId: number | null;
1567
- }
1568
1552
  export declare class LineItems extends BondBaseEntity {
1569
1553
  constructor();
1570
1554
  defineIsReverted(): void;
@@ -1620,6 +1604,22 @@ export declare class LineItems extends BondBaseEntity {
1620
1604
  displayUnitPrice?: number;
1621
1605
  displayQuantity?: number;
1622
1606
  }
1607
+ export declare class LinkedAccounts extends BondBaseEntity {
1608
+ id: number;
1609
+ provider: string;
1610
+ providerId: string | null;
1611
+ parentId: number | null;
1612
+ parentType: string | null;
1613
+ status: number | null;
1614
+ token: string | null;
1615
+ refreshToken: string | null;
1616
+ tokenCreatedAt: Date | null;
1617
+ tokenValidUpTo: Date | null;
1618
+ createdAt: Date;
1619
+ updatedAt: Date;
1620
+ user: User;
1621
+ userId: number | null;
1622
+ }
1623
1623
  export declare class Media extends BondBaseEntity {
1624
1624
  url: string;
1625
1625
  name: string | null;
@@ -1748,12 +1748,6 @@ export declare class OrderToInvoice extends BondBaseEntity {
1748
1748
  export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
1749
1749
  organizationId: number;
1750
1750
  }
1751
- export declare class PasswordReset extends BondBaseEntity {
1752
- token: string | null;
1753
- userId: number | null;
1754
- validUntil: Date | null;
1755
- active: boolean | null;
1756
- }
1757
1751
  export declare class PackageV1 extends BondBaseEntity {
1758
1752
  name?: string;
1759
1753
  description?: string;
@@ -1771,6 +1765,12 @@ export declare class PackageV1 extends BondBaseEntity {
1771
1765
  isMandatory: boolean;
1772
1766
  productId: number;
1773
1767
  }
1768
+ export declare class PasswordReset extends BondBaseEntity {
1769
+ token: string | null;
1770
+ userId: number | null;
1771
+ validUntil: Date | null;
1772
+ active: boolean | null;
1773
+ }
1774
1774
  export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
1775
1775
  paymentPlanId: number;
1776
1776
  paymentDate: Date;
@@ -1811,30 +1811,6 @@ export declare class Price extends OrganizationConnectionBaseEntity {
1811
1811
  discountMethod?: DiscountMethodsEnum;
1812
1812
  discountValue?: number;
1813
1813
  }
1814
- export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1815
- parentProductId: number;
1816
- childProductId: number;
1817
- relationType: PackageProductsRelationTypeEnum;
1818
- timePeriod: AddonTimePeriodEnum;
1819
- deletedAt?: Date;
1820
- productResource: ProductResource;
1821
- childProduct: Product;
1822
- parentProduct: Product;
1823
- price: number;
1824
- isFlatPrice: boolean;
1825
- durationMinutes?: number;
1826
- durationDays?: number;
1827
- level?: ProductPackageLevelEnum;
1828
- }
1829
- export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1830
- productId: number;
1831
- maxMonths?: number;
1832
- dayOfMonth?: number;
1833
- name: string;
1834
- deletedAt?: Date;
1835
- schedule: PaymentPlanSchedule[];
1836
- product?: Product;
1837
- }
1838
1814
  export declare class Product extends OrganizationConnectionBaseEntity {
1839
1815
  name: string;
1840
1816
  quantity: number;
@@ -1885,6 +1861,21 @@ export declare class Product extends OrganizationConnectionBaseEntity {
1885
1861
  activityTimes: ActivityTimes[];
1886
1862
  purchasedResources: PurchasedResource[];
1887
1863
  }
1864
+ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
1865
+ parentProductId: number;
1866
+ childProductId: number;
1867
+ relationType: PackageProductsRelationTypeEnum;
1868
+ timePeriod: AddonTimePeriodEnum;
1869
+ deletedAt?: Date;
1870
+ productResource: ProductResource;
1871
+ childProduct: Product;
1872
+ parentProduct: Product;
1873
+ price: number;
1874
+ isFlatPrice: boolean;
1875
+ durationMinutes?: number;
1876
+ durationDays?: number;
1877
+ level?: ProductPackageLevelEnum;
1878
+ }
1888
1879
  export declare class ProductResource extends OrganizationConnectionBaseEntity {
1889
1880
  productId: number;
1890
1881
  resourceId: number;
@@ -1896,6 +1887,19 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
1896
1887
  productPackages: ProductPackage[];
1897
1888
  resourceName?: string;
1898
1889
  }
1890
+ export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
1891
+ productId: number;
1892
+ maxMonths?: number;
1893
+ dayOfMonth?: number;
1894
+ name: string;
1895
+ deletedAt?: Date;
1896
+ schedule: PaymentPlanSchedule[];
1897
+ product?: Product;
1898
+ }
1899
+ export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
1900
+ productId: number;
1901
+ variantTitleId: number;
1902
+ }
1899
1903
  export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
1900
1904
  productId: number;
1901
1905
  variantId: number;
@@ -1907,10 +1911,6 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
1907
1911
  deletedAt?: Date;
1908
1912
  product: Product;
1909
1913
  }
1910
- export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
1911
- productId: number;
1912
- variantTitleId: number;
1913
- }
1914
1914
  export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
1915
1915
  productId: number;
1916
1916
  userId: number;
@@ -2012,10 +2012,6 @@ export declare class ProgramSeason extends BondBaseEntity {
2012
2012
  facility: Facility;
2013
2013
  purchasedResources: PurchasedResource[];
2014
2014
  }
2015
- export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2016
- title: string | null;
2017
- answerTitle: AnswerTitle;
2018
- }
2019
2015
  export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
2020
2016
  productUserId: number;
2021
2017
  resourceId: number;
@@ -2038,6 +2034,10 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
2038
2034
  product?: Product;
2039
2035
  event?: Event;
2040
2036
  }
2037
+ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2038
+ title: string | null;
2039
+ answerTitle: AnswerTitle;
2040
+ }
2041
2041
  export declare class Questions extends BondBaseEntity {
2042
2042
  questionType: string | null;
2043
2043
  ordinal: number | null;
@@ -2203,14 +2203,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
2203
2203
  subcategories: Subcategory[];
2204
2204
  shifts?: Shift[];
2205
2205
  }
2206
- export declare class Subcategory extends OrganizationConnectionBaseEntity {
2207
- productType: ProductTypesEnum;
2208
- name: string;
2209
- ordinal?: number;
2210
- deletedAt?: Date;
2211
- stationToSubcategories: StationToSubcategory[];
2212
- stations: Station[];
2213
- }
2214
2206
  export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
2215
2207
  stationId: number;
2216
2208
  subcategoryId: number;
@@ -2219,6 +2211,14 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
2219
2211
  station: Station;
2220
2212
  subcategory: Subcategory;
2221
2213
  }
2214
+ export declare class Subcategory extends OrganizationConnectionBaseEntity {
2215
+ productType: ProductTypesEnum;
2216
+ name: string;
2217
+ ordinal?: number;
2218
+ deletedAt?: Date;
2219
+ stationToSubcategories: StationToSubcategory[];
2220
+ stations: Station[];
2221
+ }
2222
2222
  export declare class Team extends BondBaseEntity {
2223
2223
  name: string | null;
2224
2224
  description: string | null;
@@ -2262,15 +2262,6 @@ export declare class TeamInvite extends BondBaseEntity {
2262
2262
  tokenExpirationDate: Date;
2263
2263
  isUsed: boolean;
2264
2264
  }
2265
- export declare class TeamMember extends BondBaseEntity {
2266
- teamId: number | null;
2267
- userId: number | null;
2268
- paymentId: number | null;
2269
- hasPaid: boolean | null;
2270
- status: TeamMemberStatusEnum | null;
2271
- role: TeamMemberRoleEnum;
2272
- user: User;
2273
- }
2274
2265
  export declare class User extends BondBaseEntity {
2275
2266
  firstName: string | null;
2276
2267
  lastName: string | null;
@@ -2310,6 +2301,15 @@ export declare class User extends BondBaseEntity {
2310
2301
  orderNotes: OrderNote[];
2311
2302
  invoiceNotes: InvoiceNote[];
2312
2303
  }
2304
+ export declare class TeamMember extends BondBaseEntity {
2305
+ teamId: number | null;
2306
+ userId: number | null;
2307
+ paymentId: number | null;
2308
+ hasPaid: boolean | null;
2309
+ status: TeamMemberStatusEnum | null;
2310
+ role: TeamMemberRoleEnum;
2311
+ user: User;
2312
+ }
2313
2313
  export declare class UserAuthorizations extends BondBaseEntity {
2314
2314
  entityId: number | null;
2315
2315
  userId: number | null;
@@ -2347,494 +2347,134 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
2347
2347
  membershipCollectionId?: string;
2348
2348
  programsCollectionId?: string;
2349
2349
  }
2350
- export interface IEntitlementTerms {
2351
- type: EntitlementTermsTypesEnum;
2352
- id?: number;
2353
- value?: string;
2354
- minValue?: string;
2355
- maxValue?: string;
2356
- }
2357
- export interface IQuestionAnswerObject {
2358
- questionId: number;
2359
- value: string;
2350
+ export declare enum EntitlementTermsTypesEnum {
2351
+ QUESTION = "question",
2352
+ CITY = "city",
2353
+ MEMBERSHIP = "membership"
2360
2354
  }
2361
- export interface ILowestPriceForItem {
2362
- itemId: number;
2363
- itemType: ResourceNameTypeEnum;
2364
- groupId: number;
2365
- groupName?: string;
2366
- price: number;
2367
- overridesPrice: boolean;
2355
+ export declare enum ResourceNameTypeEnum {
2356
+ EVENT = "event",
2357
+ VENUE = "venue",
2358
+ TEAM = "team",
2359
+ LEAGUE = "league",
2360
+ USER = "user",
2361
+ ORGANIZATION = "organization",
2362
+ APP = "app",
2363
+ FEED = "feed",
2364
+ MATCH = "match",
2365
+ ROUND = "round",
2366
+ PORTAL = "portal",
2367
+ SEASON = "season",
2368
+ TOURNAMENT = "tournament",
2369
+ MEMBERSHIP = "membership",
2370
+ DIVISION = "division",
2371
+ GAMESLOT = "gameslot",
2372
+ SPACE = "space",
2373
+ RESERVATION = "reservation",
2374
+ ORDER = "order",
2375
+ CUSTOMER = "customer",
2376
+ PACKAGE = "package",
2377
+ FACILITY = "facility",
2378
+ PROGRAM = "program",
2379
+ PROGRAM_SEASON = "program_season",
2380
+ PRODUCT = "product",
2381
+ GROUP = "group",
2382
+ VARIANT = "variant",
2383
+ SLOT = "slot",
2384
+ ADDON = "addon"
2368
2385
  }
2369
- export interface IResourcesAvailability {
2370
- resourceType: ResourceNameTypeEnum;
2371
- quantity: number;
2372
- resourcesIds: number[];
2373
- isPunchCard: boolean;
2374
- resources?: any[];
2386
+ export declare enum DirectBookingTypesEnum {
2387
+ DIRECT_FOR_ALL = "all",
2388
+ DIRECT_FOR_NONE = "none",
2389
+ DIRECT_VETTED_ONLY = "vetted_only",
2390
+ NO_SETTING = "no_setting"
2375
2391
  }
2376
- export interface IPackageResponse {
2377
- parentProduct: Product;
2378
- children: IChildProduct[];
2392
+ export declare enum GenderEnum {
2393
+ OTHER = 1,
2394
+ MALE = 2,
2395
+ FEMALE = 3
2379
2396
  }
2380
- export interface IChildProduct {
2381
- product: Product;
2382
- relationType: PackageProductsRelationTypeEnum;
2383
- timePeriod?: AddonTimePeriodEnum;
2397
+ export declare enum LevelOfPlayEnum {
2398
+ BEGINNER = 1,
2399
+ INTERMEDIATE = 2,
2400
+ ADVANCED = 3,
2401
+ SEMIPRO = 4,
2402
+ SPECTATOR = 5
2384
2403
  }
2385
- export interface ISeasonAttendeeInfo {
2386
- applicationAnswers: Answer[];
2387
- segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
2388
- invoices: Order[];
2389
- payments: Invoice[];
2390
- products: Product[];
2391
- redeemNext: ProductsUsers;
2404
+ export declare enum ProgramTypesEnum {
2405
+ LEAGUE = 0,
2406
+ TOURNAMENT = 1,
2407
+ CLASS = 2,
2408
+ CLINIC = 3,
2409
+ CAMP = 4,
2410
+ LESSON = 5,
2411
+ CLUB_TEAM = 6
2392
2412
  }
2393
- export interface ISeasonAttendeeListInfo {
2394
- userId: number;
2395
- userFirstName: string;
2396
- userLastName: string;
2397
- userGender: number;
2398
- userBirthDate: Date;
2399
- userProfilePicUrl: string;
2400
- customerId: number;
2401
- customerEmail: string;
2402
- paymentStatus: string;
2403
- productName: string;
2404
- punchCard: boolean;
2413
+ export declare enum ProgramSeasonTypesEnum {
2414
+ ROUND_ROBIN = 1,
2415
+ BRACKETS = 2,
2416
+ CAMP_CLINIC_CLASS = 3
2405
2417
  }
2406
- export declare class SeasonAsSeasonSegment extends ProgramSeason {
2407
- segmentType: ResourceNameTypeEnum;
2408
- participantRegisteredDate?: string;
2409
- }
2410
- export declare class EventAsSeasonSegment extends Event {
2411
- segmentType: ResourceNameTypeEnum;
2412
- participantRegisteredDate?: string;
2413
- }
2414
- export interface ITokenResonse {
2415
- token: string;
2416
- }
2417
- export interface IStripeBondInvoices {
2418
- paidStripePaymentIntent: Stripe.PaymentIntent;
2419
- bondPaidInvoice: Invoice;
2420
- order?: Order;
2421
- customer?: Customer;
2422
- }
2423
- export interface IPartialPaymentData {
2424
- purchasingUserId: number;
2425
- paymentData: PurchasePaymentDto;
2426
- amountToPay: number;
2427
- }
2428
- export interface IPayment {
2429
- id: number;
2430
- total: number;
2431
- paymentMethod: PaymentMethodTypeEnum;
2432
- status: PaymentStatusEnum;
2433
- createdAt: Date;
2434
- invoices: number[];
2435
- }
2436
- export interface IPaginationData<T> {
2437
- meta: {
2438
- totalItems: number;
2439
- itemsPerPage: number;
2440
- totalPages: number;
2441
- currentPage: number;
2442
- };
2443
- data: T[];
2444
- }
2445
- export interface IPricesOfProductsResults {
2446
- productId: number;
2447
- userId: number;
2448
- price: number;
2449
- groupId?: number;
2450
- groupName?: string;
2451
- originalPrice?: number;
2452
- priceWithoutTax: number;
2453
- tax: number;
2454
- isTaxInclusive: boolean;
2455
- }
2456
- export interface IPaymentMethodToFundLeft {
2457
- paymentType: PaymentMethodTypeEnum;
2458
- paymentMethodId: string;
2459
- fundLeft: number;
2460
- ccLast4?: string;
2461
- ccBrand?: string;
2462
- }
2463
- export interface IVariantsAndTitle {
2464
- title: VariantTitle;
2465
- variants: Variant[];
2466
- }
2467
- export interface IProgramSeasonActivityTimes {
2468
- dayOfWeek: number;
2469
- open: string;
2470
- close: string;
2471
- }
2472
- export interface IProgramSeasonActivityTimesAsDates {
2473
- date: string;
2474
- startTime: string;
2475
- endTime: string;
2476
- }
2477
- export interface IBlockedDates {
2478
- name: string;
2479
- startDate: Date;
2480
- endDate: Date;
2481
- }
2482
- export interface ISingleMemberForRenewal {
2483
- member_id: number;
2484
- member_membershipId: number;
2485
- member_userId: number;
2486
- member_nextPaymentMethodId?: string;
2487
- member_nextPaymentType?: PaymentMethodTypeEnum;
2488
- member_answerTitleIds?: number[];
2489
- member_organizationId: number;
2490
- line_paidAmount: number;
2491
- line_productId: number;
2492
- order_payingUserId: number;
2493
- order_paymentMethodId: string;
2494
- order_paymentType: PaymentMethodTypeEnum;
2495
- endDate: Date;
2496
- membership_name: string;
2497
- user_firstName: string;
2498
- user_lastName: string;
2499
- user_email: string;
2500
- }
2501
- export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
2502
- package_parentProductId: number;
2503
- line2_paidAmount: number;
2504
- familyid: number;
2505
- order_id: number;
2506
- }
2507
- export interface IResourceRegistrationData {
2508
- id: number;
2509
- resourceType: ResourceNameTypeEnum;
2510
- openNumDays?: number;
2511
- openNumMinutes?: number;
2512
- openTime?: string;
2513
- closeNumDays?: number;
2514
- closeNumMinutes?: number;
2515
- closeTime?: string;
2516
- registrationWindowStatus?: RegistrationWindowStatusEnum;
2517
- }
2518
- export interface IResourceDataForConstraintsCalc {
2519
- id: number;
2520
- startDate: string;
2521
- startTime: string;
2522
- }
2523
- export interface IRegistrationConstraintsSetting {
2524
- numDays?: number;
2525
- numMinutes?: number;
2526
- }
2527
- export interface IAttendeeDataToNotify {
2528
- firstName: string;
2529
- lastName: string;
2530
- email: string;
2531
- sessionName: string;
2532
- parentSessionName?: string;
2533
- organizationName: string;
2534
- programName: string;
2535
- }
2536
- export interface IEventInSchedule {
2537
- eventId: number;
2538
- eventName: string;
2539
- eventStartDate: string;
2540
- eventEndDate: string;
2541
- eventStartTime: string;
2542
- eventEndTime: string;
2543
- programId: number;
2544
- programName: string;
2545
- programType: ProgramTypesEnum;
2546
- sessionId: number;
2547
- sessionName: string;
2548
- sports: number;
2549
- spaces: {
2550
- spaceId: number;
2551
- spaceName: string;
2552
- }[];
2553
- status?: RegistrationValidationStatusEnum;
2554
- }
2555
- export interface ISlotInSchedule {
2556
- facilityId: number;
2557
- facilityName: string;
2558
- spaces: ISpaceWithSlots[];
2559
- }
2560
- export interface ISpaceWithSlots {
2561
- id: number;
2562
- name: string;
2563
- slots: ISlotReservationData[];
2564
- }
2565
- export interface ISlotReservationData {
2566
- reservationId: number;
2567
- reservationName: string;
2568
- date: string;
2569
- startTime: string;
2570
- endTime: string;
2571
- notes: string;
2572
- spaceId: number;
2573
- isRental: boolean;
2574
- slotType: SlotTypeEnum;
2575
- slotId: number;
2576
- eventId: number;
2577
- isPrivate: boolean;
2578
- }
2579
- export interface IRawEventInSchedule extends IEventInSchedule {
2580
- parentSessionId: number;
2581
- parentSessionName: string;
2582
- eventTimezone: string;
2583
- maxParticipants: number;
2584
- maxMaleParticipants: number;
2585
- maxFemaleParticipants: number;
2586
- isPunchCard: boolean;
2587
- }
2588
- export interface IBasicSpaceAndSlotCreator {
2589
- id: number;
2590
- name: string;
2591
- bookingCreatorId: number;
2592
- }
2593
- export interface IRawSlotInSchedule {
2594
- startDate: string;
2595
- endDate: string;
2596
- startTime: string;
2597
- endTime: string;
2598
- reservationId: number;
2599
- eventTitle: string;
2600
- publicNotes: string;
2601
- spaceId: number;
2602
- creatorType: ResourceNameTypeEnum;
2603
- slotType: SlotTypeEnum;
2604
- slotId: number;
2605
- eventId: number;
2606
- isPrivate: boolean;
2607
- }
2608
- export interface IPurchasedResourcesRaw {
2609
- purchasedId: number;
2610
- purchasedProductUserId: number;
2611
- purchasedResourceId: number;
2612
- purchasedResourceType: ResourceNameTypeEnum;
2613
- purchasedStatus: PurchasedResourceStatusEnum;
2614
- pUserId: number;
2615
- pUserPaymentStatus: PaymentStatusEnum;
2616
- pUserProductId: number;
2617
- pUserProductName: string;
2618
- pUserProductPrice: number;
2619
- pUserProductPriceCurrency: string;
2620
- pUserProductQuantity: number;
2621
- pUserProductQuantityLeft: number;
2622
- pUserUserId: number;
2623
- }
2624
- export interface IUsersPasses {
2625
- userId: number;
2626
- userFirstName: string;
2627
- userLastName: string;
2628
- organizationId: number;
2629
- programId: number;
2630
- programName: string;
2631
- sessionId: number;
2632
- sessionName: string;
2633
- productId: number;
2634
- productName: string;
2635
- productUserId: number;
2636
- purchaseDate: Date;
2637
- passesLeft: number;
2638
- }
2639
- export interface ISessionsLandingPage {
2640
- sessionId: number;
2641
- name: string;
2642
- startDate: Date;
2643
- endDate: Date;
2644
- registrationStartDate: Date;
2645
- registrationEndDate: Date;
2646
- sport: SportsEnum;
2647
- minAge: string;
2648
- maxAge: string;
2649
- maxParticipants?: number;
2650
- gender: GenderEnum;
2651
- activityTimes: ActivityTimes[];
2652
- earlyRegistrationStartDate?: Date;
2653
- earlyRegistrationEndDate?: Date;
2654
- lateRegistrationStartDate?: Date;
2655
- lateRegistrationEndDate?: Date;
2656
- attendeeCount?: number;
2657
- segmentsOrEvents: 'segment' | 'event';
2658
- }
2659
- export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
2660
- hasRequiredMembership: boolean;
2661
- hasEntitledPricing: boolean;
2662
- lowestPrice?: number;
2663
- products?: ISessionLandingPageProduct[];
2664
- }
2665
- export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
2666
- hasRequiredMembership: boolean;
2667
- hasEntitledPricing: boolean;
2668
- products?: ISessionLandingPageProduct[];
2669
- segments?: Event[] | ProgramSeason[];
2670
- programName: string;
2671
- programId: number;
2672
- levelOfPlay: LevelOfPlayEnum[];
2673
- registrationConstraints: IResourceRegistrationData[];
2674
- }
2675
- export interface ISlimAddons {
2676
- addons?: {
2677
- id: number;
2678
- timePeriod: AddonTimePeriodEnum;
2679
- name: string;
2680
- productType?: ProductTypesEnum;
2681
- productSubType?: string;
2682
- }[];
2683
- }
2684
- export interface ISessionLandingPageProduct extends ISlimAddons {
2685
- id: number;
2686
- name: string;
2687
- startDate?: Date;
2688
- endDate?: Date;
2689
- downpayment?: number;
2690
- description?: string;
2691
- prices: Price[];
2692
- productSubType?: ProductSubTypesEnum;
2693
- punchCard: boolean;
2694
- isAddon: boolean;
2695
- defaultPriceId?: number;
2696
- }
2697
- export interface CreatePaymentIntentDto extends PurchaseRequestDto {
2698
- destinationId?: string;
2699
- stripeCustomerId?: string;
2700
- fee?: number;
2701
- }
2702
- export interface IReservationCreatorData {
2703
- type: ResourceNameTypeEnum;
2704
- id: number;
2705
- organizationId: number;
2706
- startDate: string;
2707
- endDate: string;
2708
- sportId: number;
2709
- }
2710
- export declare enum EntitlementTermsTypesEnum {
2711
- QUESTION = "question",
2712
- CITY = "city",
2713
- MEMBERSHIP = "membership"
2714
- }
2715
- export declare enum ResourceNameTypeEnum {
2716
- EVENT = "event",
2717
- VENUE = "venue",
2718
- TEAM = "team",
2719
- LEAGUE = "league",
2720
- USER = "user",
2721
- ORGANIZATION = "organization",
2722
- APP = "app",
2723
- FEED = "feed",
2724
- MATCH = "match",
2725
- ROUND = "round",
2726
- PORTAL = "portal",
2727
- SEASON = "season",
2728
- TOURNAMENT = "tournament",
2729
- MEMBERSHIP = "membership",
2730
- DIVISION = "division",
2731
- GAMESLOT = "gameslot",
2732
- SPACE = "space",
2733
- RESERVATION = "reservation",
2734
- ORDER = "order",
2735
- CUSTOMER = "customer",
2736
- PACKAGE = "package",
2737
- FACILITY = "facility",
2738
- PROGRAM = "program",
2739
- PROGRAM_SEASON = "program_season",
2740
- PRODUCT = "product",
2741
- GROUP = "group",
2742
- VARIANT = "variant",
2743
- SLOT = "slot",
2744
- ADDON = "addon"
2745
- }
2746
- export declare enum DirectBookingTypesEnum {
2747
- DIRECT_FOR_ALL = "all",
2748
- DIRECT_FOR_NONE = "none",
2749
- DIRECT_VETTED_ONLY = "vetted_only",
2750
- NO_SETTING = "no_setting"
2751
- }
2752
- export declare enum GenderEnum {
2753
- OTHER = 1,
2754
- MALE = 2,
2755
- FEMALE = 3
2756
- }
2757
- export declare enum LevelOfPlayEnum {
2758
- BEGINNER = 1,
2759
- INTERMEDIATE = 2,
2760
- ADVANCED = 3,
2761
- SEMIPRO = 4,
2762
- SPECTATOR = 5
2763
- }
2764
- export declare enum ProgramTypesEnum {
2765
- LEAGUE = 0,
2766
- TOURNAMENT = 1,
2767
- CLASS = 2,
2768
- CLINIC = 3,
2769
- CAMP = 4,
2770
- LESSON = 5,
2771
- CLUB_TEAM = 6
2772
- }
2773
- export declare enum ProgramSeasonTypesEnum {
2774
- ROUND_ROBIN = 1,
2775
- BRACKETS = 2,
2776
- CAMP_CLINIC_CLASS = 3
2777
- }
2778
- export declare enum SportsEnum {
2779
- SOFTBALL = 1,
2780
- BASKETBALL = 2,
2781
- FOOTBALL = 3,
2782
- SOCCER = 4,
2783
- BOWLING = 5,
2784
- BOCCEBALL = 6,
2785
- CORNHOLE = 7,
2786
- DODGEBALL = 8,
2787
- FRISBEE = 9,
2788
- HOCKEY = 10,
2789
- KICKBALL = 11,
2790
- LACROSSE = 12,
2791
- PINGPONG = 13,
2792
- RUGBY = 14,
2793
- SKEEBALL = 15,
2794
- TENNIS = 16,
2795
- VOLLEYBALL = 17,
2796
- WIFFLEBALL = 18,
2797
- BADMINTON = 19,
2798
- FITNESS = 20,
2799
- GOLF = 21,
2800
- PILATES = 22,
2801
- RUNNING = 23,
2802
- SKIING = 24,
2803
- SNOWBOARDING = 25,
2804
- YOGA = 26,
2805
- BROOMBALL = 27,
2806
- CRICKET = 28,
2807
- CROSSFIT = 29,
2808
- CYCLING = 30,
2809
- FIELD_HOCKEY = 31,
2810
- RACQUETBALL = 32,
2811
- SPINNING = 33,
2812
- SQUASH = 34,
2813
- SURFING = 35,
2814
- SWIMMING = 36,
2815
- WIND_SURFING = 37,
2816
- ADVENTURE = 38,
2817
- BOXING = 39,
2818
- BASEBALL = 40,
2819
- DANCE = 41,
2820
- KICKBOXING = 42,
2821
- MARTIAL_ARTS = 43,
2822
- OUTDOORS = 44,
2823
- ROWING = 45,
2824
- SAILING = 46,
2825
- SUP = 47,
2826
- TRIATHLON = 48,
2827
- HANDBALL = 49,
2828
- CATCHBALL = 50,
2829
- BLITZBALL = 51,
2830
- ROLLER_DERBY = 52,
2831
- ICE_SKATING = 53,
2832
- PICKLEBALL = 54,
2833
- AXE_THROWING = 55,
2834
- FURSAL = 56,
2835
- BIRTHDAY = 57,
2836
- CORPRATE_EVENTS = 58,
2837
- OTHER = 999
2418
+ export declare enum SportsEnum {
2419
+ SOFTBALL = 1,
2420
+ BASKETBALL = 2,
2421
+ FOOTBALL = 3,
2422
+ SOCCER = 4,
2423
+ BOWLING = 5,
2424
+ BOCCEBALL = 6,
2425
+ CORNHOLE = 7,
2426
+ DODGEBALL = 8,
2427
+ FRISBEE = 9,
2428
+ HOCKEY = 10,
2429
+ KICKBALL = 11,
2430
+ LACROSSE = 12,
2431
+ PINGPONG = 13,
2432
+ RUGBY = 14,
2433
+ SKEEBALL = 15,
2434
+ TENNIS = 16,
2435
+ VOLLEYBALL = 17,
2436
+ WIFFLEBALL = 18,
2437
+ BADMINTON = 19,
2438
+ FITNESS = 20,
2439
+ GOLF = 21,
2440
+ PILATES = 22,
2441
+ RUNNING = 23,
2442
+ SKIING = 24,
2443
+ SNOWBOARDING = 25,
2444
+ YOGA = 26,
2445
+ BROOMBALL = 27,
2446
+ CRICKET = 28,
2447
+ CROSSFIT = 29,
2448
+ CYCLING = 30,
2449
+ FIELD_HOCKEY = 31,
2450
+ RACQUETBALL = 32,
2451
+ SPINNING = 33,
2452
+ SQUASH = 34,
2453
+ SURFING = 35,
2454
+ SWIMMING = 36,
2455
+ WIND_SURFING = 37,
2456
+ ADVENTURE = 38,
2457
+ BOXING = 39,
2458
+ BASEBALL = 40,
2459
+ DANCE = 41,
2460
+ KICKBOXING = 42,
2461
+ MARTIAL_ARTS = 43,
2462
+ OUTDOORS = 44,
2463
+ ROWING = 45,
2464
+ SAILING = 46,
2465
+ SUP = 47,
2466
+ TRIATHLON = 48,
2467
+ HANDBALL = 49,
2468
+ CATCHBALL = 50,
2469
+ BLITZBALL = 51,
2470
+ ROLLER_DERBY = 52,
2471
+ ICE_SKATING = 53,
2472
+ PICKLEBALL = 54,
2473
+ AXE_THROWING = 55,
2474
+ FURSAL = 56,
2475
+ BIRTHDAY = 57,
2476
+ CORPRATE_EVENTS = 58,
2477
+ OTHER = 999
2838
2478
  }
2839
2479
  export declare enum PublishingStatusEnum {
2840
2480
  DRAFT = 1,
@@ -3071,169 +2711,534 @@ export declare enum ResourceAgesEnum {
3071
2711
  ADULTS = "adults",
3072
2712
  CHILDREN = "children"
3073
2713
  }
3074
- export declare enum SpacePropertiesEnum {
3075
- OUTDOOR = "outdoor",
3076
- INDOOR = "indoor"
2714
+ export declare enum SpacePropertiesEnum {
2715
+ OUTDOOR = "outdoor",
2716
+ INDOOR = "indoor"
2717
+ }
2718
+ export declare enum SurfacesEnum {
2719
+ GRASS = "grass",
2720
+ TURF = "turf",
2721
+ FIELD_TURF = "fieldTurf",
2722
+ ASTRO_TURF = "astroTurf",
2723
+ HARDWOOD = "hardwood",
2724
+ ASPHALT = "asphalt",
2725
+ SAND = "sand",
2726
+ ICE = "ice",
2727
+ SPORT_COURT = "sportCourt"
2728
+ }
2729
+ export declare enum RegistrationConstraintPeriodTypeEnum {
2730
+ MINUTES = "minutes",
2731
+ DAYS = "days"
2732
+ }
2733
+ export declare enum RegistrationWindowStatusEnum {
2734
+ NOT_OPEN_YET = "not_opened_yet",
2735
+ OPEN = "open",
2736
+ CLOSED = "closed"
2737
+ }
2738
+ export declare enum RegistrationValidationStatusEnum {
2739
+ FULL = "full",
2740
+ ALREADY_REGISTERED = "registered",
2741
+ AVAILABLE = "available",
2742
+ NOT_OPEN_YET = "not opened",
2743
+ ALREADY_CLOSED = "closed",
2744
+ NO_PRODUCT_FOUND = "no-product-found"
2745
+ }
2746
+ export declare enum DiscountMethodsEnum {
2747
+ PERCENT = "percent",
2748
+ AMOUNT = "amount"
2749
+ }
2750
+ export declare enum UserAuthorizationsTypeEnum {
2751
+ ORGANIZATION = "organization"
2752
+ }
2753
+ export declare enum OrganizationLocaleDateEnum {
2754
+ USA = "USA"
2755
+ }
2756
+ export declare enum DateTimeFormatsEnum {
2757
+ API_DATE = "YYYY/MM/DD",
2758
+ API_TIME = "HH:mm:ss"
2759
+ }
2760
+ export declare enum SlotTypeEnum {
2761
+ EXTERNAL = "external",
2762
+ INTERNAL = "internal",
2763
+ MAINTENANCE = "maintenance",
2764
+ CUSTOM = "custom"
2765
+ }
2766
+ export declare enum PlatformsEnum {
2767
+ CONSUMER = "consumer",
2768
+ BO = "backoffice",
2769
+ MOBILE = "mobile",
2770
+ CRON = "cron"
2771
+ }
2772
+ export declare enum ShiftStatusEnum {
2773
+ OPEN = "open",
2774
+ CLOSED = "closed",
2775
+ MANAGMENT_CLOSED = "closed_by_manager",
2776
+ RECONCILED = "reconciled"
2777
+ }
2778
+ export declare enum EventStatusEnum {
2779
+ OPEN = 1,
2780
+ DRAFT = 2,
2781
+ FULL = 3,
2782
+ CANCELLED = 4,
2783
+ CLOSED = 5,
2784
+ DELETED = 6
2785
+ }
2786
+ export declare enum ReservationTypeEnum {
2787
+ RENTAL = "rental",
2788
+ PROGRAM = "program",
2789
+ MAINTENANCE = "maintenance",
2790
+ CUSTOM = "custom"
2791
+ }
2792
+ export declare enum SlotDurationTypeEnum {
2793
+ DATES = "dates",
2794
+ ALL_DAY = "all day",
2795
+ DURATION = "duration"
2796
+ }
2797
+ export declare enum DurationUnitTypesEnum {
2798
+ MINUTES = "minutes",
2799
+ HOURS = "hours"
2800
+ }
2801
+ export declare enum FrequencyEnum {
2802
+ NONE = "none",
2803
+ WEEKLY = "weekly",
2804
+ DAILY = "daily",
2805
+ MONTHLY = "monthly",
2806
+ YEARLY = "yearly"
2807
+ }
2808
+ export declare enum MaintenanceTimingEnum {
2809
+ BEFORE = 1,
2810
+ AFTER = 2,
2811
+ AT_THE_BEGINING = 3,
2812
+ AT_THE_END = 4
2813
+ }
2814
+ export declare enum CreatorTypeEnum {
2815
+ SPACE = "space",
2816
+ PROGRAM_SEASON = "program_season"
2817
+ }
2818
+ export declare enum UpdatePricesTypeEnum {
2819
+ INDIVIDUAL = "indvidual",
2820
+ CATEGORY = "category",
2821
+ GLOBAL = "global"
2822
+ }
2823
+ export declare enum BondDayOfWeekEnum {
2824
+ MONDAY = 2,
2825
+ TUESDAY = 3,
2826
+ WEDNESDAY = 4,
2827
+ THURSDAY = 5,
2828
+ FRIDAY = 6,
2829
+ SATURDAY = 7,
2830
+ SUNDAY = 8
2831
+ }
2832
+ export declare enum ReservationMigrationStatusEnum {
2833
+ NEW = "new",
2834
+ NO = "no",
2835
+ YES = "yes"
2836
+ }
2837
+ export declare enum ProductPackageLevelEnum {
2838
+ HOUR = "hour",
2839
+ SLOT = "slot",
2840
+ RESERVATION = "reservation"
2841
+ }
2842
+ export declare enum CancellationStatusEnum {
2843
+ IMMEDIATE = "immediate",
2844
+ AUTO_RENEWAL = "auto_renewal"
2845
+ }
2846
+ export declare enum SeasonScheduleStatusEnum {
2847
+ DRAFT = 0,
2848
+ PUBLISHED = 1
2849
+ }
2850
+ export declare enum FinancialStepEnum {
2851
+ VOID = "void",
2852
+ REFUND = "refund",
2853
+ NONE = "none",
2854
+ REFUND_AND_VOID = "refund-and-void",
2855
+ APPEND = "append"
2856
+ }
2857
+ export declare enum StripeAccountTypesEnum {
2858
+ STRIPE = "stripe",
2859
+ STRIPE_CUSTOM = "stripe:account:custom",
2860
+ STRIPE_CUSTOMER = "stripe:customer"
2861
+ }
2862
+ export declare enum LinkedAccountStatus {
2863
+ PENDING = 1,
2864
+ ACTIVE = 2,
2865
+ PRE_PENDING = 3
2866
+ }
2867
+ export declare enum AddonParentTypeEnum {
2868
+ RESERVATION = "reservation",
2869
+ SLOT = "slot"
2870
+ }
2871
+ export declare enum EEmailStatus {
2872
+ SENT = "sent",
2873
+ OPENED = "opened",
2874
+ PAID = "paid",
2875
+ CANCELED = "canceled"
2876
+ }
2877
+ export interface IEntitlementTerms {
2878
+ type: EntitlementTermsTypesEnum;
2879
+ id?: number;
2880
+ value?: string;
2881
+ minValue?: string;
2882
+ maxValue?: string;
2883
+ }
2884
+ export interface IQuestionAnswerObject {
2885
+ questionId: number;
2886
+ value: string;
2887
+ }
2888
+ export interface ILowestPriceForItem {
2889
+ itemId: number;
2890
+ itemType: ResourceNameTypeEnum;
2891
+ groupId: number;
2892
+ groupName?: string;
2893
+ price: number;
2894
+ overridesPrice: boolean;
2895
+ }
2896
+ export interface IResourcesAvailability {
2897
+ resourceType: ResourceNameTypeEnum;
2898
+ quantity: number;
2899
+ resourcesIds: number[];
2900
+ isPunchCard: boolean;
2901
+ resources?: any[];
2902
+ }
2903
+ export interface IPackageResponse {
2904
+ parentProduct: Product;
2905
+ children: IChildProduct[];
2906
+ }
2907
+ export interface IChildProduct {
2908
+ product: Product;
2909
+ relationType: PackageProductsRelationTypeEnum;
2910
+ timePeriod?: AddonTimePeriodEnum;
2911
+ }
2912
+ export interface ISeasonAttendeeInfo {
2913
+ applicationAnswers: Answer[];
2914
+ segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
2915
+ invoices: Order[];
2916
+ payments: Invoice[];
2917
+ products: Product[];
2918
+ redeemNext: ProductsUsers;
2919
+ }
2920
+ export interface ISeasonAttendeeListInfo {
2921
+ userId: number;
2922
+ userFirstName: string;
2923
+ userLastName: string;
2924
+ userGender: number;
2925
+ userBirthDate: Date;
2926
+ userProfilePicUrl: string;
2927
+ customerId: number;
2928
+ customerEmail: string;
2929
+ paymentStatus: string;
2930
+ productName: string;
2931
+ punchCard: boolean;
2932
+ }
2933
+ export declare class SeasonAsSeasonSegment extends ProgramSeason {
2934
+ segmentType: ResourceNameTypeEnum;
2935
+ participantRegisteredDate?: string;
2936
+ }
2937
+ export declare class EventAsSeasonSegment extends Event {
2938
+ segmentType: ResourceNameTypeEnum;
2939
+ participantRegisteredDate?: string;
2940
+ }
2941
+ export interface ITokenResonse {
2942
+ token: string;
2943
+ }
2944
+ export interface IStripeBondInvoices {
2945
+ paidStripePaymentIntent: Stripe.PaymentIntent;
2946
+ bondPaidInvoice: Invoice;
2947
+ order?: Order;
2948
+ customer?: Customer;
2949
+ }
2950
+ export interface IPartialPaymentData {
2951
+ purchasingUserId: number;
2952
+ paymentData: PurchasePaymentDto;
2953
+ amountToPay: number;
2954
+ }
2955
+ export interface IPayment {
2956
+ id: number;
2957
+ total: number;
2958
+ paymentMethod: PaymentMethodTypeEnum;
2959
+ status: PaymentStatusEnum;
2960
+ createdAt: Date;
2961
+ invoices: number[];
3077
2962
  }
3078
- export declare enum SurfacesEnum {
3079
- GRASS = "grass",
3080
- TURF = "turf",
3081
- FIELD_TURF = "fieldTurf",
3082
- ASTRO_TURF = "astroTurf",
3083
- HARDWOOD = "hardwood",
3084
- ASPHALT = "asphalt",
3085
- SAND = "sand",
3086
- ICE = "ice",
3087
- SPORT_COURT = "sportCourt"
2963
+ export interface IPaginationData<T> {
2964
+ meta: {
2965
+ totalItems: number;
2966
+ itemsPerPage: number;
2967
+ totalPages: number;
2968
+ currentPage: number;
2969
+ };
2970
+ data: T[];
3088
2971
  }
3089
- export declare enum RegistrationConstraintPeriodTypeEnum {
3090
- MINUTES = "minutes",
3091
- DAYS = "days"
2972
+ export interface IPricesOfProductsResults {
2973
+ productId: number;
2974
+ userId: number;
2975
+ price: number;
2976
+ groupId?: number;
2977
+ groupName?: string;
2978
+ originalPrice?: number;
2979
+ priceWithoutTax: number;
2980
+ tax: number;
2981
+ isTaxInclusive: boolean;
3092
2982
  }
3093
- export declare enum RegistrationWindowStatusEnum {
3094
- NOT_OPEN_YET = "not_opened_yet",
3095
- OPEN = "open",
3096
- CLOSED = "closed"
2983
+ export interface IPaymentMethodToFundLeft {
2984
+ paymentType: PaymentMethodTypeEnum;
2985
+ paymentMethodId: string;
2986
+ fundLeft: number;
2987
+ ccLast4?: string;
2988
+ ccBrand?: string;
3097
2989
  }
3098
- export declare enum RegistrationValidationStatusEnum {
3099
- FULL = "full",
3100
- ALREADY_REGISTERED = "registered",
3101
- AVAILABLE = "available",
3102
- NOT_OPEN_YET = "not opened",
3103
- ALREADY_CLOSED = "closed",
3104
- NO_PRODUCT_FOUND = "no-product-found"
2990
+ export interface IVariantsAndTitle {
2991
+ title: VariantTitle;
2992
+ variants: Variant[];
3105
2993
  }
3106
- export declare enum DiscountMethodsEnum {
3107
- PERCENT = "percent",
3108
- AMOUNT = "amount"
2994
+ export interface IProgramSeasonActivityTimes {
2995
+ dayOfWeek: number;
2996
+ open: string;
2997
+ close: string;
3109
2998
  }
3110
- export declare enum UserAuthorizationsTypeEnum {
3111
- ORGANIZATION = "organization"
2999
+ export interface IProgramSeasonActivityTimesAsDates {
3000
+ date: string;
3001
+ startTime: string;
3002
+ endTime: string;
3112
3003
  }
3113
- export declare enum OrganizationLocaleDateEnum {
3114
- USA = "USA"
3004
+ export interface IBlockedDates {
3005
+ name: string;
3006
+ startDate: Date;
3007
+ endDate: Date;
3115
3008
  }
3116
- export declare enum DateTimeFormatsEnum {
3117
- API_DATE = "YYYY/MM/DD",
3118
- API_TIME = "HH:mm:ss"
3009
+ export interface ISingleMemberForRenewal {
3010
+ member_id: number;
3011
+ member_membershipId: number;
3012
+ member_userId: number;
3013
+ member_nextPaymentMethodId?: string;
3014
+ member_nextPaymentType?: PaymentMethodTypeEnum;
3015
+ member_answerTitleIds?: number[];
3016
+ member_organizationId: number;
3017
+ line_paidAmount: number;
3018
+ line_productId: number;
3019
+ order_payingUserId: number;
3020
+ order_paymentMethodId: string;
3021
+ order_paymentType: PaymentMethodTypeEnum;
3022
+ endDate: Date;
3023
+ membership_name: string;
3024
+ user_firstName: string;
3025
+ user_lastName: string;
3026
+ user_email: string;
3119
3027
  }
3120
- export declare enum SlotTypeEnum {
3121
- EXTERNAL = "external",
3122
- INTERNAL = "internal",
3123
- MAINTENANCE = "maintenance",
3124
- CUSTOM = "custom"
3028
+ export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
3029
+ package_parentProductId: number;
3030
+ line2_paidAmount: number;
3031
+ familyid: number;
3032
+ order_id: number;
3125
3033
  }
3126
- export declare enum PlatformsEnum {
3127
- CONSUMER = "consumer",
3128
- BO = "backoffice",
3129
- MOBILE = "mobile",
3130
- CRON = "cron"
3034
+ export interface IResourceRegistrationData {
3035
+ id: number;
3036
+ resourceType: ResourceNameTypeEnum;
3037
+ openNumDays?: number;
3038
+ openNumMinutes?: number;
3039
+ openTime?: string;
3040
+ closeNumDays?: number;
3041
+ closeNumMinutes?: number;
3042
+ closeTime?: string;
3043
+ registrationWindowStatus?: RegistrationWindowStatusEnum;
3131
3044
  }
3132
- export declare enum ShiftStatusEnum {
3133
- OPEN = "open",
3134
- CLOSED = "closed",
3135
- MANAGMENT_CLOSED = "closed_by_manager",
3136
- RECONCILED = "reconciled"
3045
+ export interface IResourceDataForConstraintsCalc {
3046
+ id: number;
3047
+ startDate: string;
3048
+ startTime: string;
3137
3049
  }
3138
- export declare enum EventStatusEnum {
3139
- OPEN = 1,
3140
- DRAFT = 2,
3141
- FULL = 3,
3142
- CANCELLED = 4,
3143
- CLOSED = 5,
3144
- DELETED = 6
3050
+ export interface IRegistrationConstraintsSetting {
3051
+ numDays?: number;
3052
+ numMinutes?: number;
3145
3053
  }
3146
- export declare enum ReservationTypeEnum {
3147
- RENTAL = "rental",
3148
- PROGRAM = "program",
3149
- MAINTENANCE = "maintenance",
3150
- CUSTOM = "custom"
3054
+ export interface IAttendeeDataToNotify {
3055
+ firstName: string;
3056
+ lastName: string;
3057
+ email: string;
3058
+ sessionName: string;
3059
+ parentSessionName?: string;
3060
+ organizationName: string;
3061
+ programName: string;
3151
3062
  }
3152
- export declare enum SlotDurationTypeEnum {
3153
- DATES = "dates",
3154
- ALL_DAY = "all day",
3155
- DURATION = "duration"
3063
+ export interface IEventInSchedule {
3064
+ eventId: number;
3065
+ eventName: string;
3066
+ eventStartDate: string;
3067
+ eventEndDate: string;
3068
+ eventStartTime: string;
3069
+ eventEndTime: string;
3070
+ programId: number;
3071
+ programName: string;
3072
+ programType: ProgramTypesEnum;
3073
+ sessionId: number;
3074
+ sessionName: string;
3075
+ sports: number;
3076
+ spaces: {
3077
+ spaceId: number;
3078
+ spaceName: string;
3079
+ }[];
3080
+ status?: RegistrationValidationStatusEnum;
3156
3081
  }
3157
- export declare enum DurationUnitTypesEnum {
3158
- MINUTES = "minutes",
3159
- HOURS = "hours"
3082
+ export interface ISlotInSchedule {
3083
+ facilityId: number;
3084
+ facilityName: string;
3085
+ spaces: ISpaceWithSlots[];
3160
3086
  }
3161
- export declare enum FrequencyEnum {
3162
- NONE = "none",
3163
- WEEKLY = "weekly",
3164
- DAILY = "daily",
3165
- MONTHLY = "monthly",
3166
- YEARLY = "yearly"
3087
+ export interface ISpaceWithSlots {
3088
+ id: number;
3089
+ name: string;
3090
+ slots: ISlotReservationData[];
3167
3091
  }
3168
- export declare enum MaintenanceTimingEnum {
3169
- BEFORE = 1,
3170
- AFTER = 2,
3171
- AT_THE_BEGINING = 3,
3172
- AT_THE_END = 4
3092
+ export interface ISlotReservationData {
3093
+ reservationId: number;
3094
+ reservationName: string;
3095
+ date: string;
3096
+ startTime: string;
3097
+ endTime: string;
3098
+ notes: string;
3099
+ spaceId: number;
3100
+ isRental: boolean;
3101
+ slotType: SlotTypeEnum;
3102
+ slotId: number;
3103
+ eventId: number;
3104
+ isPrivate: boolean;
3173
3105
  }
3174
- export declare enum CreatorTypeEnum {
3175
- SPACE = "space",
3176
- PROGRAM_SEASON = "program_season"
3106
+ export interface IRawEventInSchedule extends IEventInSchedule {
3107
+ parentSessionId: number;
3108
+ parentSessionName: string;
3109
+ eventTimezone: string;
3110
+ maxParticipants: number;
3111
+ maxMaleParticipants: number;
3112
+ maxFemaleParticipants: number;
3113
+ isPunchCard: boolean;
3177
3114
  }
3178
- export declare enum UpdatePricesTypeEnum {
3179
- INDIVIDUAL = "indvidual",
3180
- CATEGORY = "category",
3181
- GLOBAL = "global"
3115
+ export interface IBasicSpaceAndSlotCreator {
3116
+ id: number;
3117
+ name: string;
3118
+ bookingCreatorId: number;
3182
3119
  }
3183
- export declare enum BondDayOfWeekEnum {
3184
- MONDAY = 2,
3185
- TUESDAY = 3,
3186
- WEDNESDAY = 4,
3187
- THURSDAY = 5,
3188
- FRIDAY = 6,
3189
- SATURDAY = 7,
3190
- SUNDAY = 8
3120
+ export interface IRawSlotInSchedule {
3121
+ startDate: string;
3122
+ endDate: string;
3123
+ startTime: string;
3124
+ endTime: string;
3125
+ reservationId: number;
3126
+ eventTitle: string;
3127
+ publicNotes: string;
3128
+ spaceId: number;
3129
+ creatorType: ResourceNameTypeEnum;
3130
+ slotType: SlotTypeEnum;
3131
+ slotId: number;
3132
+ eventId: number;
3133
+ isPrivate: boolean;
3191
3134
  }
3192
- export declare enum ReservationMigrationStatusEnum {
3193
- NEW = "new",
3194
- NO = "no",
3195
- YES = "yes"
3135
+ export interface IPurchasedResourcesRaw {
3136
+ purchasedId: number;
3137
+ purchasedProductUserId: number;
3138
+ purchasedResourceId: number;
3139
+ purchasedResourceType: ResourceNameTypeEnum;
3140
+ purchasedStatus: PurchasedResourceStatusEnum;
3141
+ pUserId: number;
3142
+ pUserPaymentStatus: PaymentStatusEnum;
3143
+ pUserProductId: number;
3144
+ pUserProductName: string;
3145
+ pUserProductPrice: number;
3146
+ pUserProductPriceCurrency: string;
3147
+ pUserProductQuantity: number;
3148
+ pUserProductQuantityLeft: number;
3149
+ pUserUserId: number;
3196
3150
  }
3197
- export declare enum ProductPackageLevelEnum {
3198
- HOUR = "hour",
3199
- SLOT = "slot",
3200
- RESERVATION = "reservation"
3151
+ export interface IUsersPasses {
3152
+ userId: number;
3153
+ userFirstName: string;
3154
+ userLastName: string;
3155
+ organizationId: number;
3156
+ programId: number;
3157
+ programName: string;
3158
+ sessionId: number;
3159
+ sessionName: string;
3160
+ productId: number;
3161
+ productName: string;
3162
+ productUserId: number;
3163
+ purchaseDate: Date;
3164
+ passesLeft: number;
3201
3165
  }
3202
- export declare enum CancellationStatusEnum {
3203
- IMMEDIATE = "immediate",
3204
- AUTO_RENEWAL = "auto_renewal"
3166
+ export interface ISessionsLandingPage {
3167
+ sessionId: number;
3168
+ name: string;
3169
+ startDate: Date;
3170
+ endDate: Date;
3171
+ registrationStartDate: Date;
3172
+ registrationEndDate: Date;
3173
+ sport: SportsEnum;
3174
+ minAge: string;
3175
+ maxAge: string;
3176
+ maxParticipants?: number;
3177
+ gender: GenderEnum;
3178
+ activityTimes: ActivityTimes[];
3179
+ earlyRegistrationStartDate?: Date;
3180
+ earlyRegistrationEndDate?: Date;
3181
+ lateRegistrationStartDate?: Date;
3182
+ lateRegistrationEndDate?: Date;
3183
+ attendeeCount?: number;
3184
+ segmentsOrEvents: 'segment' | 'event';
3205
3185
  }
3206
- export declare enum SeasonScheduleStatusEnum {
3207
- DRAFT = 0,
3208
- PUBLISHED = 1
3186
+ export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
3187
+ hasRequiredMembership: boolean;
3188
+ hasEntitledPricing: boolean;
3189
+ lowestPrice?: number;
3190
+ products?: ISessionLandingPageProduct[];
3209
3191
  }
3210
- export declare enum FinancialStepEnum {
3211
- VOID = "void",
3212
- REFUND = "refund",
3213
- NONE = "none",
3214
- REFUND_AND_VOID = "refund-and-void",
3215
- APPEND = "append"
3192
+ export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
3193
+ hasRequiredMembership: boolean;
3194
+ hasEntitledPricing: boolean;
3195
+ products?: ISessionLandingPageProduct[];
3196
+ segments?: Event[] | ProgramSeason[];
3197
+ programName: string;
3198
+ programId: number;
3199
+ levelOfPlay: LevelOfPlayEnum[];
3200
+ registrationConstraints: IResourceRegistrationData[];
3216
3201
  }
3217
- export declare enum StripeAccountTypesEnum {
3218
- STRIPE = "stripe",
3219
- STRIPE_CUSTOM = "stripe:account:custom",
3220
- STRIPE_CUSTOMER = "stripe:customer"
3202
+ export interface ISlimAddons {
3203
+ addons?: {
3204
+ id: number;
3205
+ timePeriod: AddonTimePeriodEnum;
3206
+ name: string;
3207
+ productType?: ProductTypesEnum;
3208
+ productSubType?: string;
3209
+ }[];
3221
3210
  }
3222
- export declare enum LinkedAccountStatus {
3223
- PENDING = 1,
3224
- ACTIVE = 2,
3225
- PRE_PENDING = 3
3211
+ export interface ISessionLandingPageProduct extends ISlimAddons {
3212
+ id: number;
3213
+ name: string;
3214
+ startDate?: Date;
3215
+ endDate?: Date;
3216
+ downpayment?: number;
3217
+ description?: string;
3218
+ prices: Price[];
3219
+ productSubType?: ProductSubTypesEnum;
3220
+ punchCard: boolean;
3221
+ isAddon: boolean;
3222
+ defaultPriceId?: number;
3226
3223
  }
3227
- export declare enum AddonParentTypeEnum {
3228
- RESERVATION = "reservation",
3229
- SLOT = "slot"
3224
+ export interface CreatePaymentIntentDto extends PurchaseRequestDto {
3225
+ destinationId?: string;
3226
+ stripeCustomerId?: string;
3227
+ fee?: number;
3230
3228
  }
3231
- export declare enum EEmailStatus {
3232
- SENT = "sent",
3233
- OPENED = "opened",
3234
- PAID = "paid",
3235
- CANCELED = "canceled"
3229
+ export interface IReservationCreatorData {
3230
+ type: ResourceNameTypeEnum;
3231
+ id: number;
3232
+ organizationId: number;
3233
+ startDate: string;
3234
+ endDate: string;
3235
+ sportId: number;
3236
+ }
3237
+ export declare class ColumnNumericTransformer {
3238
+ to(data: number): number;
3239
+ from(data: string): number;
3236
3240
  }
3241
+ export declare function convertToNumber(data: string): number;
3237
3242
  export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3238
3243
  name?: string;
3239
3244
  genderStr?: string;
@@ -3248,41 +3253,6 @@ export declare class AddFamilyDto {
3248
3253
  parents: AddImportedCustomerDto[];
3249
3254
  children: AddImportedCustomerDto[];
3250
3255
  }
3251
- export declare enum ImportPaymentTypeEnum {
3252
- CREDIT_CARD = "card",
3253
- ACH = "ach",
3254
- CASH = "cash",
3255
- CHECK = "check",
3256
- CARD_ON_TERMINAL = "card-on-terminal",
3257
- OTHER = "other"
3258
- }
3259
- export declare class ImportedInvoiceLineDto {
3260
- invoiceID?: string;
3261
- description: string;
3262
- createdDate: string;
3263
- createdTime: string;
3264
- quantity: string;
3265
- price: string;
3266
- total: string;
3267
- customerID: string;
3268
- resourceType: string;
3269
- resourceID: string;
3270
- }
3271
- export declare class ImportedInvoiceDto {
3272
- customerId?: string;
3273
- total?: string;
3274
- amountDue?: string;
3275
- payments?: ImportedPaymentDto[];
3276
- lines: any;
3277
- }
3278
- export declare class ImportedPaymentDto {
3279
- invoiceID: string;
3280
- type: ImportPaymentTypeEnum;
3281
- description: string;
3282
- paid: string;
3283
- date: string;
3284
- time: string;
3285
- }
3286
3256
  export declare class ProductIdsDto {
3287
3257
  productIds?: number[];
3288
3258
  }
@@ -3350,9 +3320,40 @@ export declare class ImportedReservationDto {
3350
3320
  slots?: ImportedSlotDto[];
3351
3321
  addons?: ImportedSlotProductDto[];
3352
3322
  }
3353
- export declare class Lock extends BondBaseEntity {
3354
- name: string;
3355
- locked?: Date;
3323
+ export declare enum ImportPaymentTypeEnum {
3324
+ CREDIT_CARD = "card",
3325
+ ACH = "ach",
3326
+ CASH = "cash",
3327
+ CHECK = "check",
3328
+ CARD_ON_TERMINAL = "card-on-terminal",
3329
+ OTHER = "other"
3330
+ }
3331
+ export declare class ImportedInvoiceLineDto {
3332
+ invoiceID?: string;
3333
+ description: string;
3334
+ createdDate: string;
3335
+ createdTime: string;
3336
+ quantity: string;
3337
+ price: string;
3338
+ total: string;
3339
+ customerID: string;
3340
+ resourceType: string;
3341
+ resourceID: string;
3342
+ }
3343
+ export declare class ImportedInvoiceDto {
3344
+ customerId?: string;
3345
+ total?: string;
3346
+ amountDue?: string;
3347
+ payments?: ImportedPaymentDto[];
3348
+ lines: any;
3349
+ }
3350
+ export declare class ImportedPaymentDto {
3351
+ invoiceID: string;
3352
+ type: ImportPaymentTypeEnum;
3353
+ description: string;
3354
+ paid: string;
3355
+ date: string;
3356
+ time: string;
3356
3357
  }
3357
3358
  export declare class GameSlots extends BondBaseEntity {
3358
3359
  entityType: string;
@@ -3367,6 +3368,11 @@ export declare class MatchParticipants extends BondBaseEntity {
3367
3368
  score: number | null;
3368
3369
  gameSlotId: number | null;
3369
3370
  }
3371
+ export declare class Matches extends BondBaseEntity {
3372
+ eventId: number | null;
3373
+ status: number | null;
3374
+ excludeStandings: boolean | null;
3375
+ }
3370
3376
  export declare class RoundEvents extends BaseEntity {
3371
3377
  roundId: number;
3372
3378
  eventId: number;
@@ -3374,11 +3380,6 @@ export declare class RoundEvents extends BaseEntity {
3374
3380
  createdAt: Date;
3375
3381
  updatedAt: Date;
3376
3382
  }
3377
- export declare class Matches extends BondBaseEntity {
3378
- eventId: number | null;
3379
- status: number | null;
3380
- excludeStandings: boolean | null;
3381
- }
3382
3383
  export declare class SeasonRounds extends BondBaseEntity {
3383
3384
  seasonId: number;
3384
3385
  ordinal?: number;
@@ -3390,6 +3391,10 @@ export declare class TeamEvents extends BondBaseEntity {
3390
3391
  eventId: number | null;
3391
3392
  status: number | null;
3392
3393
  }
3394
+ export declare class Lock extends BondBaseEntity {
3395
+ name: string;
3396
+ locked?: Date;
3397
+ }
3393
3398
  export declare class CreateMonitorConfigDto {
3394
3399
  facilityId: number;
3395
3400
  name: string;
@@ -3456,15 +3461,15 @@ export declare class Organization extends BondBaseEntity {
3456
3461
  brandings: OrganizationBranding[];
3457
3462
  brandingsV2?: OrganizationBranding[];
3458
3463
  }
3459
- export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3460
- mainAdminUserId?: number;
3461
- }
3462
3464
  export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
3463
3465
  key?: string;
3464
3466
  vaule?: string;
3465
3467
  version: number;
3466
3468
  organization: Organization;
3467
3469
  }
3470
+ export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
3471
+ mainAdminUserId?: number;
3472
+ }
3468
3473
  export declare class OrganizationUsers extends BondBaseEntity {
3469
3474
  organisationId: number | null;
3470
3475
  userId: number | null;
@@ -3618,11 +3623,6 @@ export declare class VoidLineItemDto {
3618
3623
  isEdit?: boolean;
3619
3624
  amount?: number;
3620
3625
  }
3621
- export declare class ColumnNumericTransformer {
3622
- to(data: number): number;
3623
- from(data: string): number;
3624
- }
3625
- export declare function convertToNumber(data: string): number;
3626
3626
  export declare class LineItemDto {
3627
3627
  id?: number;
3628
3628
  orderId?: number;
@@ -4135,15 +4135,15 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
4135
4135
  changeLineItems?: LineItems[];
4136
4136
  updatedLineItem?: LineItems;
4137
4137
  }
4138
- export declare class Permission extends BondBaseEntity {
4138
+ export declare class ChangeRolePermissionsDto {
4139
+ permissionIds: number[];
4140
+ }
4141
+ export declare class CreateRoleDto {
4139
4142
  name: string;
4140
- deletedAt?: Date;
4141
4143
  }
4142
- export declare class Role extends OrganizationConnectionBaseEntity {
4144
+ export declare class Permission extends BondBaseEntity {
4143
4145
  name: string;
4144
4146
  deletedAt?: Date;
4145
- permissions: Permission[];
4146
- usersRoles: UserRole[];
4147
4147
  }
4148
4148
  export declare class UserRole extends OrganizationConnectionBaseEntity {
4149
4149
  deletedAt?: Date;
@@ -4152,14 +4152,11 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
4152
4152
  role: Role;
4153
4153
  user: User;
4154
4154
  }
4155
- export declare class ChangeRolePermissionsDto {
4156
- permissionIds: number[];
4157
- }
4158
- export declare class CreateRoleDto {
4155
+ export declare class Role extends OrganizationConnectionBaseEntity {
4159
4156
  name: string;
4160
- }
4161
- export declare class CloseShiftDto {
4162
- closingCashAmount: number;
4157
+ deletedAt?: Date;
4158
+ permissions: Permission[];
4159
+ usersRoles: UserRole[];
4163
4160
  }
4164
4161
  export declare class FindShiftsByIdsDto {
4165
4162
  shiftIds: number[];
@@ -4184,6 +4181,9 @@ export declare class FindShiftsFormattedFilters {
4184
4181
  startDate?: Date;
4185
4182
  endDate?: Date;
4186
4183
  }
4184
+ export declare class CloseShiftDto {
4185
+ closingCashAmount: number;
4186
+ }
4187
4187
  export declare class ShiftManagementClosingAmount {
4188
4188
  shiftId: number;
4189
4189
  managementClosingCashAmount: number;