@bondsports/types 0.0.53 → 0.0.54
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 +931 -932
- package/build/index.es.js.map +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -27,6 +27,64 @@ export declare class FindBookingTypeSettingDto {
|
|
|
27
27
|
bookingDate: string;
|
|
28
28
|
bookingTime: string;
|
|
29
29
|
}
|
|
30
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
31
|
+
membershipId: number;
|
|
32
|
+
}
|
|
33
|
+
export declare class ImportProductsFromDB {
|
|
34
|
+
buDate: string;
|
|
35
|
+
}
|
|
36
|
+
export declare class ImportCustomerFromCSV {
|
|
37
|
+
fileName: string;
|
|
38
|
+
startIndex?: number;
|
|
39
|
+
}
|
|
40
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
41
|
+
resolveInvoices: string;
|
|
42
|
+
}
|
|
43
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
44
|
+
membershipId: number;
|
|
45
|
+
onlyDashIds: string;
|
|
46
|
+
}
|
|
47
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
48
|
+
facilityId: number;
|
|
49
|
+
}
|
|
50
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
51
|
+
customerId: number;
|
|
52
|
+
}
|
|
53
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
54
|
+
nameSearch?: string;
|
|
55
|
+
fuzzy?: string;
|
|
56
|
+
customerType?: CustomerTypeEnum;
|
|
57
|
+
customersIds?: string;
|
|
58
|
+
}
|
|
59
|
+
export declare class AddCustomerNotesDto {
|
|
60
|
+
customerNotes: CustomerNoteDto[];
|
|
61
|
+
}
|
|
62
|
+
export declare class CustomerNoteDto {
|
|
63
|
+
id?: number;
|
|
64
|
+
description: string;
|
|
65
|
+
pinToTop?: boolean;
|
|
66
|
+
}
|
|
67
|
+
export declare class AddEditCustomerDto {
|
|
68
|
+
firstName?: string;
|
|
69
|
+
lastName?: string;
|
|
70
|
+
entityId?: number;
|
|
71
|
+
entityType?: CustomerTypeEnum;
|
|
72
|
+
email?: string;
|
|
73
|
+
color?: string;
|
|
74
|
+
street?: string;
|
|
75
|
+
city?: string;
|
|
76
|
+
state?: string;
|
|
77
|
+
zip?: string;
|
|
78
|
+
phoneNumber?: string;
|
|
79
|
+
mainMediaId?: number;
|
|
80
|
+
creatorId?: number;
|
|
81
|
+
creatorType?: ResourceNameTypeEnum;
|
|
82
|
+
userCreatorId?: number;
|
|
83
|
+
gender?: GenderEnum;
|
|
84
|
+
birthDate?: string;
|
|
85
|
+
emergencyContactName?: string;
|
|
86
|
+
emergencyContactPhone?: string;
|
|
87
|
+
}
|
|
30
88
|
export declare class FindEventByIdDto {
|
|
31
89
|
eventId: number;
|
|
32
90
|
organizationId: number;
|
|
@@ -128,64 +186,6 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
128
186
|
isWaiverSigned?: string;
|
|
129
187
|
statuses?: string;
|
|
130
188
|
}
|
|
131
|
-
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
132
|
-
membershipId: number;
|
|
133
|
-
}
|
|
134
|
-
export declare class ImportProductsFromDB {
|
|
135
|
-
buDate: string;
|
|
136
|
-
}
|
|
137
|
-
export declare class ImportCustomerFromCSV {
|
|
138
|
-
fileName: string;
|
|
139
|
-
startIndex?: number;
|
|
140
|
-
}
|
|
141
|
-
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
142
|
-
resolveInvoices: string;
|
|
143
|
-
}
|
|
144
|
-
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
145
|
-
membershipId: number;
|
|
146
|
-
onlyDashIds: string;
|
|
147
|
-
}
|
|
148
|
-
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
149
|
-
facilityId: number;
|
|
150
|
-
}
|
|
151
|
-
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
152
|
-
customerId: number;
|
|
153
|
-
}
|
|
154
|
-
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
155
|
-
nameSearch?: string;
|
|
156
|
-
fuzzy?: string;
|
|
157
|
-
customerType?: CustomerTypeEnum;
|
|
158
|
-
customersIds?: string;
|
|
159
|
-
}
|
|
160
|
-
export declare class AddCustomerNotesDto {
|
|
161
|
-
customerNotes: CustomerNoteDto[];
|
|
162
|
-
}
|
|
163
|
-
export declare class CustomerNoteDto {
|
|
164
|
-
id?: number;
|
|
165
|
-
description: string;
|
|
166
|
-
pinToTop?: boolean;
|
|
167
|
-
}
|
|
168
|
-
export declare class AddEditCustomerDto {
|
|
169
|
-
firstName?: string;
|
|
170
|
-
lastName?: string;
|
|
171
|
-
entityId?: number;
|
|
172
|
-
entityType?: CustomerTypeEnum;
|
|
173
|
-
email?: string;
|
|
174
|
-
color?: string;
|
|
175
|
-
street?: string;
|
|
176
|
-
city?: string;
|
|
177
|
-
state?: string;
|
|
178
|
-
zip?: string;
|
|
179
|
-
phoneNumber?: string;
|
|
180
|
-
mainMediaId?: number;
|
|
181
|
-
creatorId?: number;
|
|
182
|
-
creatorType?: ResourceNameTypeEnum;
|
|
183
|
-
userCreatorId?: number;
|
|
184
|
-
gender?: GenderEnum;
|
|
185
|
-
birthDate?: string;
|
|
186
|
-
emergencyContactName?: string;
|
|
187
|
-
emergencyContactPhone?: string;
|
|
188
|
-
}
|
|
189
189
|
export declare class AddressDto {
|
|
190
190
|
city: string;
|
|
191
191
|
state: string;
|
|
@@ -876,50 +876,6 @@ export declare class MoveParticipantDto {
|
|
|
876
876
|
resourceId: number;
|
|
877
877
|
orderId: number;
|
|
878
878
|
}
|
|
879
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
880
|
-
organizationId: number;
|
|
881
|
-
programType?: ProgramTypesEnum;
|
|
882
|
-
}
|
|
883
|
-
export declare class FindProgramByIdDto {
|
|
884
|
-
programId: number;
|
|
885
|
-
}
|
|
886
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
887
|
-
programId: number;
|
|
888
|
-
organizationId: number;
|
|
889
|
-
}
|
|
890
|
-
export declare class BaseProgramDto {
|
|
891
|
-
type: ProgramTypesEnum;
|
|
892
|
-
name: string;
|
|
893
|
-
sport: SportsEnum;
|
|
894
|
-
minAge: string;
|
|
895
|
-
maxAge: string;
|
|
896
|
-
gender: GenderEnum;
|
|
897
|
-
level?: LevelOfPlayEnum[];
|
|
898
|
-
description?: string;
|
|
899
|
-
GL?: string;
|
|
900
|
-
status: PublishingStatusEnum;
|
|
901
|
-
organizationId: number;
|
|
902
|
-
userCreatorId: number;
|
|
903
|
-
highlights: ProgramHighlights[];
|
|
904
|
-
longDescription?: string;
|
|
905
|
-
requiredProductIds: number[];
|
|
906
|
-
}
|
|
907
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
908
|
-
}
|
|
909
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
910
|
-
programId: number;
|
|
911
|
-
mainMediaId: number;
|
|
912
|
-
}
|
|
913
|
-
export declare class UpdateProgramStatusDto {
|
|
914
|
-
programId: number;
|
|
915
|
-
status: PublishingStatusEnum;
|
|
916
|
-
}
|
|
917
|
-
export declare class ProgramHighlightDto {
|
|
918
|
-
data: string;
|
|
919
|
-
ordinal: number;
|
|
920
|
-
type: ProgramHighlightTypeEnum;
|
|
921
|
-
title: string;
|
|
922
|
-
}
|
|
923
879
|
export declare class PurchasePaymentDto {
|
|
924
880
|
token: string;
|
|
925
881
|
type: PaymentMethodTypeEnum;
|
|
@@ -990,6 +946,50 @@ export declare class PartialPaymentAsUserDto {
|
|
|
990
946
|
amountToPay: any;
|
|
991
947
|
paymentMethodData: any;
|
|
992
948
|
}
|
|
949
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
950
|
+
organizationId: number;
|
|
951
|
+
programType?: ProgramTypesEnum;
|
|
952
|
+
}
|
|
953
|
+
export declare class FindProgramByIdDto {
|
|
954
|
+
programId: number;
|
|
955
|
+
}
|
|
956
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
957
|
+
programId: number;
|
|
958
|
+
organizationId: number;
|
|
959
|
+
}
|
|
960
|
+
export declare class BaseProgramDto {
|
|
961
|
+
type: ProgramTypesEnum;
|
|
962
|
+
name: string;
|
|
963
|
+
sport: SportsEnum;
|
|
964
|
+
minAge: string;
|
|
965
|
+
maxAge: string;
|
|
966
|
+
gender: GenderEnum;
|
|
967
|
+
level?: LevelOfPlayEnum[];
|
|
968
|
+
description?: string;
|
|
969
|
+
GL?: string;
|
|
970
|
+
status: PublishingStatusEnum;
|
|
971
|
+
organizationId: number;
|
|
972
|
+
userCreatorId: number;
|
|
973
|
+
highlights: ProgramHighlights[];
|
|
974
|
+
longDescription?: string;
|
|
975
|
+
requiredProductIds: number[];
|
|
976
|
+
}
|
|
977
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
978
|
+
}
|
|
979
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
980
|
+
programId: number;
|
|
981
|
+
mainMediaId: number;
|
|
982
|
+
}
|
|
983
|
+
export declare class UpdateProgramStatusDto {
|
|
984
|
+
programId: number;
|
|
985
|
+
status: PublishingStatusEnum;
|
|
986
|
+
}
|
|
987
|
+
export declare class ProgramHighlightDto {
|
|
988
|
+
data: string;
|
|
989
|
+
ordinal: number;
|
|
990
|
+
type: ProgramHighlightTypeEnum;
|
|
991
|
+
title: string;
|
|
992
|
+
}
|
|
993
993
|
export declare class CreateResourceGroupDto {
|
|
994
994
|
name: string;
|
|
995
995
|
parentSlotId: number;
|
|
@@ -1911,23 +1911,6 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1911
1911
|
deletedAt?: Date;
|
|
1912
1912
|
product: Product;
|
|
1913
1913
|
}
|
|
1914
|
-
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1915
|
-
productId: number;
|
|
1916
|
-
userId: number;
|
|
1917
|
-
user?: User;
|
|
1918
|
-
paymentStatus: PaymentStatusEnum;
|
|
1919
|
-
productName: string;
|
|
1920
|
-
productPrice: number;
|
|
1921
|
-
productQuantity: number;
|
|
1922
|
-
productQuantityLeft: number;
|
|
1923
|
-
productPriceCurrency: CurrencyEnum;
|
|
1924
|
-
ordinal?: number;
|
|
1925
|
-
purchasedResources: PurchasedResource[];
|
|
1926
|
-
product: Product;
|
|
1927
|
-
lineItem: LineItems;
|
|
1928
|
-
slots?: Slot[];
|
|
1929
|
-
addons?: Addon[];
|
|
1930
|
-
}
|
|
1931
1914
|
export declare class Program extends BondBaseEntity {
|
|
1932
1915
|
type: ProgramTypesEnum;
|
|
1933
1916
|
name: string;
|
|
@@ -1950,6 +1933,23 @@ export declare class Program extends BondBaseEntity {
|
|
|
1950
1933
|
programSeason: ProgramSeason[];
|
|
1951
1934
|
purchasedResources: PurchasedResource[];
|
|
1952
1935
|
}
|
|
1936
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1937
|
+
productId: number;
|
|
1938
|
+
userId: number;
|
|
1939
|
+
user?: User;
|
|
1940
|
+
paymentStatus: PaymentStatusEnum;
|
|
1941
|
+
productName: string;
|
|
1942
|
+
productPrice: number;
|
|
1943
|
+
productQuantity: number;
|
|
1944
|
+
productQuantityLeft: number;
|
|
1945
|
+
productPriceCurrency: CurrencyEnum;
|
|
1946
|
+
ordinal?: number;
|
|
1947
|
+
purchasedResources: PurchasedResource[];
|
|
1948
|
+
product: Product;
|
|
1949
|
+
lineItem: LineItems;
|
|
1950
|
+
slots?: Slot[];
|
|
1951
|
+
addons?: Addon[];
|
|
1952
|
+
}
|
|
1953
1953
|
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1954
1954
|
type: ProgramHighlightTypeEnum;
|
|
1955
1955
|
ordinal: number | null;
|
|
@@ -2128,13 +2128,6 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2128
2128
|
purchasedResources: PurchasedResource[];
|
|
2129
2129
|
linkSEO: string;
|
|
2130
2130
|
}
|
|
2131
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2132
|
-
name: string;
|
|
2133
|
-
facilityId: number;
|
|
2134
|
-
parentSlotId: number;
|
|
2135
|
-
childrenSlotIds: number[];
|
|
2136
|
-
deletedAt?: Date;
|
|
2137
|
-
}
|
|
2138
2131
|
export declare class School extends BondBaseEntity {
|
|
2139
2132
|
name: string | null;
|
|
2140
2133
|
alias: string[] | null;
|
|
@@ -2157,6 +2150,13 @@ export declare class SeasonAttendee extends BondBaseEntity {
|
|
|
2157
2150
|
deletedAt?: Date;
|
|
2158
2151
|
purchasedResource: PurchasedResource;
|
|
2159
2152
|
}
|
|
2153
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2154
|
+
name: string;
|
|
2155
|
+
facilityId: number;
|
|
2156
|
+
parentSlotId: number;
|
|
2157
|
+
childrenSlotIds: number[];
|
|
2158
|
+
deletedAt?: Date;
|
|
2159
|
+
}
|
|
2160
2160
|
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2161
2161
|
name: string | null;
|
|
2162
2162
|
ordinal: number | null;
|
|
@@ -2347,890 +2347,890 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2347
2347
|
membershipCollectionId?: string;
|
|
2348
2348
|
programsCollectionId?: string;
|
|
2349
2349
|
}
|
|
2350
|
-
export
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
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"
|
|
2385
|
-
}
|
|
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"
|
|
2391
|
-
}
|
|
2392
|
-
export declare enum GenderEnum {
|
|
2393
|
-
OTHER = 1,
|
|
2394
|
-
MALE = 2,
|
|
2395
|
-
FEMALE = 3
|
|
2396
|
-
}
|
|
2397
|
-
export declare enum LevelOfPlayEnum {
|
|
2398
|
-
BEGINNER = 1,
|
|
2399
|
-
INTERMEDIATE = 2,
|
|
2400
|
-
ADVANCED = 3,
|
|
2401
|
-
SEMIPRO = 4,
|
|
2402
|
-
SPECTATOR = 5
|
|
2403
|
-
}
|
|
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
|
|
2350
|
+
export interface IEntitlementTerms {
|
|
2351
|
+
type: EntitlementTermsTypesEnum;
|
|
2352
|
+
id?: number;
|
|
2353
|
+
value?: string;
|
|
2354
|
+
minValue?: string;
|
|
2355
|
+
maxValue?: string;
|
|
2412
2356
|
}
|
|
2413
|
-
export
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
CAMP_CLINIC_CLASS = 3
|
|
2357
|
+
export interface IQuestionAnswerObject {
|
|
2358
|
+
questionId: number;
|
|
2359
|
+
value: string;
|
|
2417
2360
|
}
|
|
2418
|
-
export
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
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
|
|
2361
|
+
export interface ILowestPriceForItem {
|
|
2362
|
+
itemId: number;
|
|
2363
|
+
itemType: ResourceNameTypeEnum;
|
|
2364
|
+
groupId: number;
|
|
2365
|
+
groupName?: string;
|
|
2366
|
+
price: number;
|
|
2367
|
+
overridesPrice: boolean;
|
|
2478
2368
|
}
|
|
2479
|
-
export
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
UNPUBLISHED = 6
|
|
2369
|
+
export interface IResourcesAvailability {
|
|
2370
|
+
resourceType: ResourceNameTypeEnum;
|
|
2371
|
+
quantity: number;
|
|
2372
|
+
resourcesIds: number[];
|
|
2373
|
+
isPunchCard: boolean;
|
|
2374
|
+
resources?: any[];
|
|
2486
2375
|
}
|
|
2487
|
-
export
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
MAXAGE = 3,
|
|
2491
|
-
GENDER = 4,
|
|
2492
|
-
LEVELOFPLAY = 5,
|
|
2493
|
-
GAMESSEASON = 6,
|
|
2494
|
-
MINWEEK = 7,
|
|
2495
|
-
SURFACE = 8,
|
|
2496
|
-
FORMAT = 9,
|
|
2497
|
-
PLAYERS_PER_TEAM = 10,
|
|
2498
|
-
MATCH_LENGTH = 12
|
|
2376
|
+
export interface IPackageResponse {
|
|
2377
|
+
parentProduct: Product;
|
|
2378
|
+
children: IChildProduct[];
|
|
2499
2379
|
}
|
|
2500
|
-
export
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2380
|
+
export interface IChildProduct {
|
|
2381
|
+
product: Product;
|
|
2382
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2383
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2504
2384
|
}
|
|
2505
|
-
export
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2385
|
+
export interface ISeasonAttendeeInfo {
|
|
2386
|
+
applicationAnswers: Answer[];
|
|
2387
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2388
|
+
invoices: Order[];
|
|
2389
|
+
payments: Invoice[];
|
|
2390
|
+
products: Product[];
|
|
2391
|
+
redeemNext: ProductsUsers;
|
|
2511
2392
|
}
|
|
2512
|
-
export
|
|
2513
|
-
|
|
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;
|
|
2514
2405
|
}
|
|
2515
|
-
export declare
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
APPROVED = "Approved",
|
|
2519
|
-
AWAITING_ADMIN = "Awaiting Admin",
|
|
2520
|
-
AWAITING_CUSTOMER = "Awaiting Customer",
|
|
2521
|
-
REJECTED = "Rejected",
|
|
2522
|
-
CANCELED = "Canceled"
|
|
2406
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2407
|
+
segmentType: ResourceNameTypeEnum;
|
|
2408
|
+
participantRegisteredDate?: string;
|
|
2523
2409
|
}
|
|
2524
|
-
export declare
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
ACCEPTED = 3,
|
|
2528
|
-
REJECTED = 4,
|
|
2529
|
-
CANCELLED = 5,
|
|
2530
|
-
FRAUD = 6,
|
|
2531
|
-
NOT_RELEVANT = 7,
|
|
2532
|
-
PENDING = 8
|
|
2410
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
2411
|
+
segmentType: ResourceNameTypeEnum;
|
|
2412
|
+
participantRegisteredDate?: string;
|
|
2533
2413
|
}
|
|
2534
|
-
export
|
|
2535
|
-
|
|
2536
|
-
CASH = 3
|
|
2414
|
+
export interface ITokenResonse {
|
|
2415
|
+
token: string;
|
|
2537
2416
|
}
|
|
2538
|
-
export
|
|
2539
|
-
|
|
2540
|
-
|
|
2417
|
+
export interface IStripeBondInvoices {
|
|
2418
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2419
|
+
bondPaidInvoice: Invoice;
|
|
2420
|
+
order?: Order;
|
|
2421
|
+
customer?: Customer;
|
|
2541
2422
|
}
|
|
2542
|
-
export
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2423
|
+
export interface IPartialPaymentData {
|
|
2424
|
+
purchasingUserId: number;
|
|
2425
|
+
paymentData: PurchasePaymentDto;
|
|
2426
|
+
amountToPay: number;
|
|
2546
2427
|
}
|
|
2547
|
-
export
|
|
2548
|
-
|
|
2428
|
+
export interface IPayment {
|
|
2429
|
+
id: number;
|
|
2430
|
+
total: number;
|
|
2431
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
2432
|
+
status: PaymentStatusEnum;
|
|
2433
|
+
createdAt: Date;
|
|
2434
|
+
invoices: number[];
|
|
2549
2435
|
}
|
|
2550
|
-
export
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2436
|
+
export interface IPaginationData<T> {
|
|
2437
|
+
meta: {
|
|
2438
|
+
totalItems: number;
|
|
2439
|
+
itemsPerPage: number;
|
|
2440
|
+
totalPages: number;
|
|
2441
|
+
currentPage: number;
|
|
2442
|
+
};
|
|
2443
|
+
data: T[];
|
|
2554
2444
|
}
|
|
2555
|
-
export
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
TAX = "tax"
|
|
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;
|
|
2566
2455
|
}
|
|
2567
|
-
export
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2456
|
+
export interface IPaymentMethodToFundLeft {
|
|
2457
|
+
paymentType: PaymentMethodTypeEnum;
|
|
2458
|
+
paymentMethodId: string;
|
|
2459
|
+
fundLeft: number;
|
|
2460
|
+
ccLast4?: string;
|
|
2461
|
+
ccBrand?: string;
|
|
2572
2462
|
}
|
|
2573
|
-
export
|
|
2574
|
-
|
|
2575
|
-
|
|
2463
|
+
export interface IVariantsAndTitle {
|
|
2464
|
+
title: VariantTitle;
|
|
2465
|
+
variants: Variant[];
|
|
2576
2466
|
}
|
|
2577
|
-
export
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2467
|
+
export interface IProgramSeasonActivityTimes {
|
|
2468
|
+
dayOfWeek: number;
|
|
2469
|
+
open: string;
|
|
2470
|
+
close: string;
|
|
2581
2471
|
}
|
|
2582
|
-
export
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
CHECK = "check",
|
|
2587
|
-
BALANCE = "balance",
|
|
2588
|
-
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2589
|
-
OTHER = "other",
|
|
2590
|
-
MIGRATED = "migrated",
|
|
2591
|
-
VOID = "void"
|
|
2472
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
2473
|
+
date: string;
|
|
2474
|
+
startTime: string;
|
|
2475
|
+
endTime: string;
|
|
2592
2476
|
}
|
|
2593
|
-
export
|
|
2594
|
-
|
|
2595
|
-
|
|
2477
|
+
export interface IBlockedDates {
|
|
2478
|
+
name: string;
|
|
2479
|
+
startDate: Date;
|
|
2480
|
+
endDate: Date;
|
|
2596
2481
|
}
|
|
2597
|
-
export
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
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;
|
|
2601
2500
|
}
|
|
2602
|
-
export
|
|
2603
|
-
|
|
2604
|
-
|
|
2501
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2502
|
+
package_parentProductId: number;
|
|
2503
|
+
line2_paidAmount: number;
|
|
2504
|
+
familyid: number;
|
|
2505
|
+
order_id: number;
|
|
2605
2506
|
}
|
|
2606
|
-
export
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
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;
|
|
2610
2517
|
}
|
|
2611
|
-
export
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2518
|
+
export interface IResourceDataForConstraintsCalc {
|
|
2519
|
+
id: number;
|
|
2520
|
+
startDate: string;
|
|
2521
|
+
startTime: string;
|
|
2615
2522
|
}
|
|
2616
|
-
export
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
FAILED = "failed",
|
|
2620
|
-
CANCELED = "canceled"
|
|
2523
|
+
export interface IRegistrationConstraintsSetting {
|
|
2524
|
+
numDays?: number;
|
|
2525
|
+
numMinutes?: number;
|
|
2621
2526
|
}
|
|
2622
|
-
export
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
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;
|
|
2626
2535
|
}
|
|
2627
|
-
export
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
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;
|
|
2631
2554
|
}
|
|
2632
|
-
export
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2555
|
+
export interface ISlotInSchedule {
|
|
2556
|
+
facilityId: number;
|
|
2557
|
+
facilityName: string;
|
|
2558
|
+
spaces: ISpaceWithSlots[];
|
|
2636
2559
|
}
|
|
2637
|
-
export
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
SUSPENDED = 4,
|
|
2642
|
-
INACTIVE = 5,
|
|
2643
|
-
INVITED = 6
|
|
2560
|
+
export interface ISpaceWithSlots {
|
|
2561
|
+
id: number;
|
|
2562
|
+
name: string;
|
|
2563
|
+
slots: ISlotReservationData[];
|
|
2644
2564
|
}
|
|
2645
|
-
export
|
|
2646
|
-
|
|
2647
|
-
|
|
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;
|
|
2648
2577
|
}
|
|
2649
|
-
export
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2578
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2579
|
+
parentSessionId: number;
|
|
2580
|
+
parentSessionName: string;
|
|
2581
|
+
eventTimezone: string;
|
|
2582
|
+
maxParticipants: number;
|
|
2583
|
+
maxMaleParticipants: number;
|
|
2584
|
+
maxFemaleParticipants: number;
|
|
2585
|
+
isPunchCard: boolean;
|
|
2657
2586
|
}
|
|
2658
|
-
export
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
DELETE = "delete"
|
|
2587
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
2588
|
+
id: number;
|
|
2589
|
+
name: string;
|
|
2590
|
+
bookingCreatorId: number;
|
|
2663
2591
|
}
|
|
2664
|
-
export
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2592
|
+
export interface IRawSlotInSchedule {
|
|
2593
|
+
startDate: string;
|
|
2594
|
+
endDate: string;
|
|
2595
|
+
startTime: string;
|
|
2596
|
+
endTime: string;
|
|
2597
|
+
reservationId: number;
|
|
2598
|
+
eventTitle: string;
|
|
2599
|
+
publicNotes: string;
|
|
2600
|
+
spaceId: number;
|
|
2601
|
+
creatorType: ResourceNameTypeEnum;
|
|
2602
|
+
slotType: SlotTypeEnum;
|
|
2603
|
+
slotId: number;
|
|
2604
|
+
eventId: number;
|
|
2668
2605
|
}
|
|
2669
|
-
export
|
|
2670
|
-
|
|
2671
|
-
|
|
2606
|
+
export interface IPurchasedResourcesRaw {
|
|
2607
|
+
purchasedId: number;
|
|
2608
|
+
purchasedProductUserId: number;
|
|
2609
|
+
purchasedResourceId: number;
|
|
2610
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
2611
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2612
|
+
pUserId: number;
|
|
2613
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
2614
|
+
pUserProductId: number;
|
|
2615
|
+
pUserProductName: string;
|
|
2616
|
+
pUserProductPrice: number;
|
|
2617
|
+
pUserProductPriceCurrency: string;
|
|
2618
|
+
pUserProductQuantity: number;
|
|
2619
|
+
pUserProductQuantityLeft: number;
|
|
2620
|
+
pUserUserId: number;
|
|
2672
2621
|
}
|
|
2673
|
-
export
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2622
|
+
export interface IUsersPasses {
|
|
2623
|
+
userId: number;
|
|
2624
|
+
userFirstName: string;
|
|
2625
|
+
userLastName: string;
|
|
2626
|
+
organizationId: number;
|
|
2627
|
+
programId: number;
|
|
2628
|
+
programName: string;
|
|
2629
|
+
sessionId: number;
|
|
2630
|
+
sessionName: string;
|
|
2631
|
+
productId: number;
|
|
2632
|
+
productName: string;
|
|
2633
|
+
productUserId: number;
|
|
2634
|
+
purchaseDate: Date;
|
|
2635
|
+
passesLeft: number;
|
|
2679
2636
|
}
|
|
2680
|
-
export
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2637
|
+
export interface ISessionsLandingPage {
|
|
2638
|
+
sessionId: number;
|
|
2639
|
+
name: string;
|
|
2640
|
+
startDate: Date;
|
|
2641
|
+
endDate: Date;
|
|
2642
|
+
registrationStartDate: Date;
|
|
2643
|
+
registrationEndDate: Date;
|
|
2644
|
+
sport: SportsEnum;
|
|
2645
|
+
minAge: string;
|
|
2646
|
+
maxAge: string;
|
|
2647
|
+
maxParticipants?: number;
|
|
2648
|
+
gender: GenderEnum;
|
|
2649
|
+
activityTimes: ActivityTimes[];
|
|
2650
|
+
earlyRegistrationStartDate?: Date;
|
|
2651
|
+
earlyRegistrationEndDate?: Date;
|
|
2652
|
+
lateRegistrationStartDate?: Date;
|
|
2653
|
+
lateRegistrationEndDate?: Date;
|
|
2654
|
+
attendeeCount?: number;
|
|
2655
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
2656
|
+
}
|
|
2657
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2658
|
+
hasRequiredMembership: boolean;
|
|
2659
|
+
hasEntitledPricing: boolean;
|
|
2660
|
+
lowestPrice?: number;
|
|
2661
|
+
products?: ISessionLandingPageProduct[];
|
|
2662
|
+
}
|
|
2663
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2664
|
+
hasRequiredMembership: boolean;
|
|
2665
|
+
hasEntitledPricing: boolean;
|
|
2666
|
+
products?: ISessionLandingPageProduct[];
|
|
2667
|
+
segments?: Event[] | ProgramSeason[];
|
|
2668
|
+
programName: string;
|
|
2669
|
+
programId: number;
|
|
2670
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
2671
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
2694
2672
|
}
|
|
2695
|
-
export
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
BATTING_CAGE = "batting cage",
|
|
2704
|
-
SHELTER = "shelter",
|
|
2705
|
-
GOLF_SIMULATOR = "golf simulator"
|
|
2673
|
+
export interface ISlimAddons {
|
|
2674
|
+
addons?: {
|
|
2675
|
+
id: number;
|
|
2676
|
+
timePeriod: AddonTimePeriodEnum;
|
|
2677
|
+
name: string;
|
|
2678
|
+
productType?: ProductTypesEnum;
|
|
2679
|
+
productSubType?: string;
|
|
2680
|
+
}[];
|
|
2706
2681
|
}
|
|
2707
|
-
export
|
|
2708
|
-
|
|
2682
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2683
|
+
id: number;
|
|
2684
|
+
name: string;
|
|
2685
|
+
startDate?: Date;
|
|
2686
|
+
endDate?: Date;
|
|
2687
|
+
downpayment?: number;
|
|
2688
|
+
description?: string;
|
|
2689
|
+
prices: Price[];
|
|
2690
|
+
productSubType?: ProductSubTypesEnum;
|
|
2691
|
+
punchCard: boolean;
|
|
2692
|
+
isAddon: boolean;
|
|
2693
|
+
defaultPriceId?: number;
|
|
2709
2694
|
}
|
|
2710
|
-
export
|
|
2711
|
-
|
|
2712
|
-
|
|
2695
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2696
|
+
destinationId?: string;
|
|
2697
|
+
stripeCustomerId?: string;
|
|
2698
|
+
fee?: number;
|
|
2713
2699
|
}
|
|
2714
|
-
export
|
|
2715
|
-
|
|
2716
|
-
|
|
2700
|
+
export interface IReservationCreatorData {
|
|
2701
|
+
type: ResourceNameTypeEnum;
|
|
2702
|
+
id: number;
|
|
2703
|
+
organizationId: number;
|
|
2704
|
+
startDate: string;
|
|
2705
|
+
endDate: string;
|
|
2706
|
+
sportId: number;
|
|
2717
2707
|
}
|
|
2718
|
-
export declare enum
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
ASTRO_TURF = "astroTurf",
|
|
2723
|
-
HARDWOOD = "hardwood",
|
|
2724
|
-
ASPHALT = "asphalt",
|
|
2725
|
-
SAND = "sand",
|
|
2726
|
-
ICE = "ice",
|
|
2727
|
-
SPORT_COURT = "sportCourt"
|
|
2708
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2709
|
+
QUESTION = "question",
|
|
2710
|
+
CITY = "city",
|
|
2711
|
+
MEMBERSHIP = "membership"
|
|
2728
2712
|
}
|
|
2729
|
-
export declare enum
|
|
2730
|
-
|
|
2731
|
-
|
|
2713
|
+
export declare enum ResourceNameTypeEnum {
|
|
2714
|
+
EVENT = "event",
|
|
2715
|
+
VENUE = "venue",
|
|
2716
|
+
TEAM = "team",
|
|
2717
|
+
LEAGUE = "league",
|
|
2718
|
+
USER = "user",
|
|
2719
|
+
ORGANIZATION = "organization",
|
|
2720
|
+
APP = "app",
|
|
2721
|
+
FEED = "feed",
|
|
2722
|
+
MATCH = "match",
|
|
2723
|
+
ROUND = "round",
|
|
2724
|
+
PORTAL = "portal",
|
|
2725
|
+
SEASON = "season",
|
|
2726
|
+
TOURNAMENT = "tournament",
|
|
2727
|
+
MEMBERSHIP = "membership",
|
|
2728
|
+
DIVISION = "division",
|
|
2729
|
+
GAMESLOT = "gameslot",
|
|
2730
|
+
SPACE = "space",
|
|
2731
|
+
RESERVATION = "reservation",
|
|
2732
|
+
ORDER = "order",
|
|
2733
|
+
CUSTOMER = "customer",
|
|
2734
|
+
PACKAGE = "package",
|
|
2735
|
+
FACILITY = "facility",
|
|
2736
|
+
PROGRAM = "program",
|
|
2737
|
+
PROGRAM_SEASON = "program_season",
|
|
2738
|
+
PRODUCT = "product",
|
|
2739
|
+
GROUP = "group",
|
|
2740
|
+
VARIANT = "variant",
|
|
2741
|
+
SLOT = "slot",
|
|
2742
|
+
ADDON = "addon"
|
|
2732
2743
|
}
|
|
2733
|
-
export declare enum
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2744
|
+
export declare enum DirectBookingTypesEnum {
|
|
2745
|
+
DIRECT_FOR_ALL = "all",
|
|
2746
|
+
DIRECT_FOR_NONE = "none",
|
|
2747
|
+
DIRECT_VETTED_ONLY = "vetted_only",
|
|
2748
|
+
NO_SETTING = "no_setting"
|
|
2737
2749
|
}
|
|
2738
|
-
export declare enum
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
NOT_OPEN_YET = "not opened",
|
|
2743
|
-
ALREADY_CLOSED = "closed",
|
|
2744
|
-
NO_PRODUCT_FOUND = "no-product-found"
|
|
2750
|
+
export declare enum GenderEnum {
|
|
2751
|
+
OTHER = 1,
|
|
2752
|
+
MALE = 2,
|
|
2753
|
+
FEMALE = 3
|
|
2745
2754
|
}
|
|
2746
|
-
export declare enum
|
|
2747
|
-
|
|
2748
|
-
|
|
2755
|
+
export declare enum LevelOfPlayEnum {
|
|
2756
|
+
BEGINNER = 1,
|
|
2757
|
+
INTERMEDIATE = 2,
|
|
2758
|
+
ADVANCED = 3,
|
|
2759
|
+
SEMIPRO = 4,
|
|
2760
|
+
SPECTATOR = 5
|
|
2749
2761
|
}
|
|
2750
|
-
export declare enum
|
|
2751
|
-
|
|
2762
|
+
export declare enum ProgramTypesEnum {
|
|
2763
|
+
LEAGUE = 0,
|
|
2764
|
+
TOURNAMENT = 1,
|
|
2765
|
+
CLASS = 2,
|
|
2766
|
+
CLINIC = 3,
|
|
2767
|
+
CAMP = 4,
|
|
2768
|
+
LESSON = 5,
|
|
2769
|
+
CLUB_TEAM = 6
|
|
2752
2770
|
}
|
|
2753
|
-
export declare enum
|
|
2754
|
-
|
|
2771
|
+
export declare enum ProgramSeasonTypesEnum {
|
|
2772
|
+
ROUND_ROBIN = 1,
|
|
2773
|
+
BRACKETS = 2,
|
|
2774
|
+
CAMP_CLINIC_CLASS = 3
|
|
2755
2775
|
}
|
|
2756
|
-
export declare enum
|
|
2757
|
-
|
|
2758
|
-
|
|
2776
|
+
export declare enum SportsEnum {
|
|
2777
|
+
SOFTBALL = 1,
|
|
2778
|
+
BASKETBALL = 2,
|
|
2779
|
+
FOOTBALL = 3,
|
|
2780
|
+
SOCCER = 4,
|
|
2781
|
+
BOWLING = 5,
|
|
2782
|
+
BOCCEBALL = 6,
|
|
2783
|
+
CORNHOLE = 7,
|
|
2784
|
+
DODGEBALL = 8,
|
|
2785
|
+
FRISBEE = 9,
|
|
2786
|
+
HOCKEY = 10,
|
|
2787
|
+
KICKBALL = 11,
|
|
2788
|
+
LACROSSE = 12,
|
|
2789
|
+
PINGPONG = 13,
|
|
2790
|
+
RUGBY = 14,
|
|
2791
|
+
SKEEBALL = 15,
|
|
2792
|
+
TENNIS = 16,
|
|
2793
|
+
VOLLEYBALL = 17,
|
|
2794
|
+
WIFFLEBALL = 18,
|
|
2795
|
+
BADMINTON = 19,
|
|
2796
|
+
FITNESS = 20,
|
|
2797
|
+
GOLF = 21,
|
|
2798
|
+
PILATES = 22,
|
|
2799
|
+
RUNNING = 23,
|
|
2800
|
+
SKIING = 24,
|
|
2801
|
+
SNOWBOARDING = 25,
|
|
2802
|
+
YOGA = 26,
|
|
2803
|
+
BROOMBALL = 27,
|
|
2804
|
+
CRICKET = 28,
|
|
2805
|
+
CROSSFIT = 29,
|
|
2806
|
+
CYCLING = 30,
|
|
2807
|
+
FIELD_HOCKEY = 31,
|
|
2808
|
+
RACQUETBALL = 32,
|
|
2809
|
+
SPINNING = 33,
|
|
2810
|
+
SQUASH = 34,
|
|
2811
|
+
SURFING = 35,
|
|
2812
|
+
SWIMMING = 36,
|
|
2813
|
+
WIND_SURFING = 37,
|
|
2814
|
+
ADVENTURE = 38,
|
|
2815
|
+
BOXING = 39,
|
|
2816
|
+
BASEBALL = 40,
|
|
2817
|
+
DANCE = 41,
|
|
2818
|
+
KICKBOXING = 42,
|
|
2819
|
+
MARTIAL_ARTS = 43,
|
|
2820
|
+
OUTDOORS = 44,
|
|
2821
|
+
ROWING = 45,
|
|
2822
|
+
SAILING = 46,
|
|
2823
|
+
SUP = 47,
|
|
2824
|
+
TRIATHLON = 48,
|
|
2825
|
+
HANDBALL = 49,
|
|
2826
|
+
CATCHBALL = 50,
|
|
2827
|
+
BLITZBALL = 51,
|
|
2828
|
+
ROLLER_DERBY = 52,
|
|
2829
|
+
ICE_SKATING = 53,
|
|
2830
|
+
PICKLEBALL = 54,
|
|
2831
|
+
AXE_THROWING = 55,
|
|
2832
|
+
FURSAL = 56,
|
|
2833
|
+
BIRTHDAY = 57,
|
|
2834
|
+
CORPRATE_EVENTS = 58,
|
|
2835
|
+
OTHER = 999
|
|
2759
2836
|
}
|
|
2760
|
-
export declare enum
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2837
|
+
export declare enum PublishingStatusEnum {
|
|
2838
|
+
DRAFT = 1,
|
|
2839
|
+
PUBLISHED = 2,
|
|
2840
|
+
CLOSED = 3,
|
|
2841
|
+
CANCELLED = 4,
|
|
2842
|
+
ARCHIVE = 5,
|
|
2843
|
+
UNPUBLISHED = 6
|
|
2765
2844
|
}
|
|
2766
|
-
export declare enum
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2845
|
+
export declare enum ProgramHighlightTypeEnum {
|
|
2846
|
+
OTHER = 1,
|
|
2847
|
+
MINAGE = 2,
|
|
2848
|
+
MAXAGE = 3,
|
|
2849
|
+
GENDER = 4,
|
|
2850
|
+
LEVELOFPLAY = 5,
|
|
2851
|
+
GAMESSEASON = 6,
|
|
2852
|
+
MINWEEK = 7,
|
|
2853
|
+
SURFACE = 8,
|
|
2854
|
+
FORMAT = 9,
|
|
2855
|
+
PLAYERS_PER_TEAM = 10,
|
|
2856
|
+
MATCH_LENGTH = 12
|
|
2771
2857
|
}
|
|
2772
|
-
export declare enum
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2858
|
+
export declare enum RequestStatusEnum {
|
|
2859
|
+
PENDING = 1,
|
|
2860
|
+
ACCEPTED = 2,
|
|
2861
|
+
DECLINED = 3
|
|
2862
|
+
}
|
|
2863
|
+
export declare enum PaymentStatusEnum {
|
|
2864
|
+
NOT_PAID = "not_paid",
|
|
2865
|
+
PARTIAL_PAYMENT = "partial",
|
|
2866
|
+
FULLY_PAID = "paid",
|
|
2867
|
+
REFUNDED = "refunded",
|
|
2868
|
+
VOID = "void"
|
|
2777
2869
|
}
|
|
2778
|
-
export declare enum
|
|
2779
|
-
|
|
2780
|
-
DRAFT = 2,
|
|
2781
|
-
FULL = 3,
|
|
2782
|
-
CANCELLED = 4,
|
|
2783
|
-
CLOSED = 5,
|
|
2784
|
-
DELETED = 6
|
|
2870
|
+
export declare enum ReservationExtendedEnum {
|
|
2871
|
+
PURCHASE_ORDER = "purchase_order"
|
|
2785
2872
|
}
|
|
2786
|
-
export declare
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2873
|
+
export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
|
|
2874
|
+
export declare enum ReservationStatusEnum {
|
|
2875
|
+
PLANNED = "Planned",
|
|
2876
|
+
APPROVED = "Approved",
|
|
2877
|
+
AWAITING_ADMIN = "Awaiting Admin",
|
|
2878
|
+
AWAITING_CUSTOMER = "Awaiting Customer",
|
|
2879
|
+
REJECTED = "Rejected",
|
|
2880
|
+
CANCELED = "Canceled"
|
|
2791
2881
|
}
|
|
2792
|
-
export declare enum
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2882
|
+
export declare enum PaymentStatusV1Enum {
|
|
2883
|
+
SENT_TO_CLIENT = 1,
|
|
2884
|
+
SENT_FOR_PAYMENT = 2,
|
|
2885
|
+
ACCEPTED = 3,
|
|
2886
|
+
REJECTED = 4,
|
|
2887
|
+
CANCELLED = 5,
|
|
2888
|
+
FRAUD = 6,
|
|
2889
|
+
NOT_RELEVANT = 7,
|
|
2890
|
+
PENDING = 8
|
|
2796
2891
|
}
|
|
2797
|
-
export declare enum
|
|
2798
|
-
|
|
2799
|
-
|
|
2892
|
+
export declare enum PaymentMethodsEnum {
|
|
2893
|
+
STRIPE = 1,
|
|
2894
|
+
CASH = 3
|
|
2800
2895
|
}
|
|
2801
|
-
export declare enum
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
DAILY = "daily",
|
|
2805
|
-
MONTHLY = "monthly",
|
|
2806
|
-
YEARLY = "yearly"
|
|
2896
|
+
export declare enum PackageProductsRelationTypeEnum {
|
|
2897
|
+
CHILD = "child",
|
|
2898
|
+
UPSALE = "upsale"
|
|
2807
2899
|
}
|
|
2808
|
-
export declare enum
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
AT_THE_END = 4
|
|
2900
|
+
export declare enum AddonTimePeriodEnum {
|
|
2901
|
+
FULL = "full",
|
|
2902
|
+
SESSION = "session",
|
|
2903
|
+
EVENT = "event"
|
|
2813
2904
|
}
|
|
2814
|
-
export declare enum
|
|
2815
|
-
|
|
2816
|
-
PROGRAM_SEASON = "program_season"
|
|
2905
|
+
export declare enum CurrencyEnum {
|
|
2906
|
+
USD = "USD"
|
|
2817
2907
|
}
|
|
2818
|
-
export declare enum
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2908
|
+
export declare enum NotificationTypeEnum {
|
|
2909
|
+
BOOKING_CONFIRMED_STUFF = "booking_confirmed_stuff",
|
|
2910
|
+
BOOKING_CHANGED_STUFF = "booking_changed_stuff",
|
|
2911
|
+
BOOKING_DELETED_STUFF = "booking_deleted_stuff"
|
|
2822
2912
|
}
|
|
2823
|
-
export declare enum
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2913
|
+
export declare enum ProductTypesEnum {
|
|
2914
|
+
RESERVATION = "reservation",
|
|
2915
|
+
REGISTRATION = "registration",
|
|
2916
|
+
MEMBERSHIP = "membership",
|
|
2917
|
+
GOODS = "goods",
|
|
2918
|
+
PACKAGE = "package",
|
|
2919
|
+
REFUND_COMPENSATION = "refund",
|
|
2920
|
+
CASH_OVER_SHORT = "cash_over_short",
|
|
2921
|
+
PETTY_CASH = "petty_cash",
|
|
2922
|
+
LEAGUE_REGISTRATION = "league_registration",
|
|
2923
|
+
TAX = "tax"
|
|
2831
2924
|
}
|
|
2832
|
-
export declare enum
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2925
|
+
export declare enum OrderStatusEnum {
|
|
2926
|
+
ACTIVE = "active",
|
|
2927
|
+
WAITING_ADMIN = "waitingAdmin",
|
|
2928
|
+
WAITING_CLIENT = "waitingClient",
|
|
2929
|
+
CANCELED = "canceled"
|
|
2836
2930
|
}
|
|
2837
|
-
export declare enum
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
RESERVATION = "reservation"
|
|
2931
|
+
export declare enum LineItemsStatusEnum {
|
|
2932
|
+
USER_PRODUCT = "UserProduct",
|
|
2933
|
+
RENTAL_PRODUCT = "RentalProduct"
|
|
2841
2934
|
}
|
|
2842
|
-
export declare enum
|
|
2843
|
-
|
|
2844
|
-
|
|
2935
|
+
export declare enum ProductSubTypesEnum {
|
|
2936
|
+
SEASON_INDIVIDUAL = "season_individual",
|
|
2937
|
+
SEASON_TEAM = "season_team",
|
|
2938
|
+
SEASON_PER_PLAYER = "season_per_player"
|
|
2845
2939
|
}
|
|
2846
|
-
export declare enum
|
|
2847
|
-
|
|
2848
|
-
|
|
2940
|
+
export declare enum PaymentMethodTypeEnum {
|
|
2941
|
+
CREDIT_CARD = "card",
|
|
2942
|
+
ACH = "ach",
|
|
2943
|
+
CASH = "cash",
|
|
2944
|
+
CHECK = "check",
|
|
2945
|
+
BALANCE = "balance",
|
|
2946
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
2947
|
+
OTHER = "other",
|
|
2948
|
+
MIGRATED = "migrated",
|
|
2949
|
+
VOID = "void"
|
|
2849
2950
|
}
|
|
2850
|
-
export declare enum
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
NONE = "none",
|
|
2854
|
-
REFUND_AND_VOID = "refund-and-void",
|
|
2855
|
-
APPEND = "append"
|
|
2951
|
+
export declare enum RefundTypeEnum {
|
|
2952
|
+
LEAVE_BALANCE = "leave_balance",
|
|
2953
|
+
REDUCE_BALANCE = "reduce_balance"
|
|
2856
2954
|
}
|
|
2857
|
-
export declare enum
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2955
|
+
export declare enum CustomerInMembershipTypeEnum {
|
|
2956
|
+
INDIVIDUAL = "individual",
|
|
2957
|
+
FAMILY = "family",
|
|
2958
|
+
ORGANIZATION = "organization"
|
|
2861
2959
|
}
|
|
2862
|
-
export declare enum
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
PRE_PENDING = 3
|
|
2960
|
+
export declare enum MembershipTypeEnum {
|
|
2961
|
+
FIXED = "fix_membership",
|
|
2962
|
+
ROLLING = "rolling_membership"
|
|
2866
2963
|
}
|
|
2867
|
-
export declare enum
|
|
2868
|
-
|
|
2869
|
-
|
|
2964
|
+
export declare enum CustomerTypeEnum {
|
|
2965
|
+
USER = "user",
|
|
2966
|
+
FAMILY = "family",
|
|
2967
|
+
ORGANIZATION = "organization"
|
|
2870
2968
|
}
|
|
2871
|
-
export declare enum
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2969
|
+
export declare enum GroupStatusEnum {
|
|
2970
|
+
ACTIVE = 1,
|
|
2971
|
+
INACTIVE = 2,
|
|
2972
|
+
DRAFT = 3
|
|
2973
|
+
}
|
|
2974
|
+
export declare enum FutureInstallmentStatusEnum {
|
|
2975
|
+
FUTURE = "future",
|
|
2976
|
+
SUCCEEDED = "succeeded",
|
|
2977
|
+
FAILED = "failed",
|
|
2875
2978
|
CANCELED = "canceled"
|
|
2876
2979
|
}
|
|
2877
|
-
export
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
minValue?: string;
|
|
2882
|
-
maxValue?: string;
|
|
2980
|
+
export declare enum EntryStatusEnum {
|
|
2981
|
+
ENTERED = 1,
|
|
2982
|
+
NOT_ENTERED = 2,
|
|
2983
|
+
CANCELED = 3
|
|
2883
2984
|
}
|
|
2884
|
-
export
|
|
2885
|
-
|
|
2886
|
-
|
|
2985
|
+
export declare enum PurchasedResourceStatusEnum {
|
|
2986
|
+
ACTIVE = 1,
|
|
2987
|
+
MOVED = 2,
|
|
2988
|
+
CANCELED = 3
|
|
2887
2989
|
}
|
|
2888
|
-
export
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
groupName?: string;
|
|
2893
|
-
price: number;
|
|
2894
|
-
overridesPrice: boolean;
|
|
2990
|
+
export declare enum TeamCanJoinEnum {
|
|
2991
|
+
ANYONE = "anyone",
|
|
2992
|
+
BY_INVITE = "byInvite",
|
|
2993
|
+
CAPTAIN_APPROVAL = "captainApproval"
|
|
2895
2994
|
}
|
|
2896
|
-
export
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2995
|
+
export declare enum TeamMemberStatusEnum {
|
|
2996
|
+
PENDING = 1,
|
|
2997
|
+
ACTIVE = 2,
|
|
2998
|
+
DECLINED = 3,
|
|
2999
|
+
SUSPENDED = 4,
|
|
3000
|
+
INACTIVE = 5,
|
|
3001
|
+
INVITED = 6
|
|
2902
3002
|
}
|
|
2903
|
-
export
|
|
2904
|
-
|
|
2905
|
-
|
|
3003
|
+
export declare enum TeamMemberRoleEnum {
|
|
3004
|
+
NULL = 0,
|
|
3005
|
+
ADMIN = 1
|
|
2906
3006
|
}
|
|
2907
|
-
export
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
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
|
|
2911
3015
|
}
|
|
2912
|
-
export
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
products: Product[];
|
|
2918
|
-
redeemNext: ProductsUsers;
|
|
3016
|
+
export declare enum ActionTypesEnum {
|
|
3017
|
+
CREATE = "create",
|
|
3018
|
+
READ = "read",
|
|
3019
|
+
UPDATE = "update",
|
|
3020
|
+
DELETE = "delete"
|
|
2919
3021
|
}
|
|
2920
|
-
export
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
userGender: number;
|
|
2925
|
-
userBirthDate: Date;
|
|
2926
|
-
userProfilePicUrl: string;
|
|
2927
|
-
customerId: number;
|
|
2928
|
-
customerEmail: string;
|
|
2929
|
-
paymentStatus: string;
|
|
2930
|
-
productName: string;
|
|
2931
|
-
punchCard: boolean;
|
|
3022
|
+
export declare enum ActionSourcePlatformEnum {
|
|
3023
|
+
ADMIN = "admin",
|
|
3024
|
+
BACKOFFICE = "backoffice",
|
|
3025
|
+
CONSUMER = "consumer"
|
|
2932
3026
|
}
|
|
2933
|
-
export declare
|
|
2934
|
-
|
|
2935
|
-
|
|
3027
|
+
export declare enum RolesEnum {
|
|
3028
|
+
ORG_ADMIN = "organizationAdmin",
|
|
3029
|
+
BOND_ADMIN = "bondAdmin"
|
|
2936
3030
|
}
|
|
2937
|
-
export declare
|
|
2938
|
-
|
|
2939
|
-
|
|
3031
|
+
export declare enum SeasonPoolStatusEnum {
|
|
3032
|
+
IN_POOL = 5,
|
|
3033
|
+
ASSIGNED = 1,
|
|
3034
|
+
QUIT = 2,
|
|
3035
|
+
SUSPENDED = 3,
|
|
3036
|
+
INACTIVE = 4
|
|
2940
3037
|
}
|
|
2941
|
-
export
|
|
2942
|
-
|
|
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
|
|
2943
3052
|
}
|
|
2944
|
-
export
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
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"
|
|
2949
3064
|
}
|
|
2950
|
-
export
|
|
2951
|
-
|
|
2952
|
-
paymentData: PurchasePaymentDto;
|
|
2953
|
-
amountToPay: number;
|
|
3065
|
+
export declare enum ResourceTypeEnum {
|
|
3066
|
+
SPACE = "space"
|
|
2954
3067
|
}
|
|
2955
|
-
export
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
2959
|
-
status: PaymentStatusEnum;
|
|
2960
|
-
createdAt: Date;
|
|
2961
|
-
invoices: number[];
|
|
3068
|
+
export declare enum ResourceAgesEnum {
|
|
3069
|
+
ADULTS = "adults",
|
|
3070
|
+
CHILDREN = "children"
|
|
2962
3071
|
}
|
|
2963
|
-
export
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
itemsPerPage: number;
|
|
2967
|
-
totalPages: number;
|
|
2968
|
-
currentPage: number;
|
|
2969
|
-
};
|
|
2970
|
-
data: T[];
|
|
3072
|
+
export declare enum SpacePropertiesEnum {
|
|
3073
|
+
OUTDOOR = "outdoor",
|
|
3074
|
+
INDOOR = "indoor"
|
|
2971
3075
|
}
|
|
2972
|
-
export
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
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"
|
|
2982
3086
|
}
|
|
2983
|
-
export
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
fundLeft: number;
|
|
2987
|
-
ccLast4?: string;
|
|
2988
|
-
ccBrand?: string;
|
|
3087
|
+
export declare enum RegistrationConstraintPeriodTypeEnum {
|
|
3088
|
+
MINUTES = "minutes",
|
|
3089
|
+
DAYS = "days"
|
|
2989
3090
|
}
|
|
2990
|
-
export
|
|
2991
|
-
|
|
2992
|
-
|
|
3091
|
+
export declare enum RegistrationWindowStatusEnum {
|
|
3092
|
+
NOT_OPEN_YET = "not_opened_yet",
|
|
3093
|
+
OPEN = "open",
|
|
3094
|
+
CLOSED = "closed"
|
|
2993
3095
|
}
|
|
2994
|
-
export
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
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"
|
|
2998
3103
|
}
|
|
2999
|
-
export
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
endTime: string;
|
|
3104
|
+
export declare enum DiscountMethodsEnum {
|
|
3105
|
+
PERCENT = "percent",
|
|
3106
|
+
AMOUNT = "amount"
|
|
3003
3107
|
}
|
|
3004
|
-
export
|
|
3005
|
-
|
|
3006
|
-
startDate: Date;
|
|
3007
|
-
endDate: Date;
|
|
3108
|
+
export declare enum UserAuthorizationsTypeEnum {
|
|
3109
|
+
ORGANIZATION = "organization"
|
|
3008
3110
|
}
|
|
3009
|
-
export
|
|
3010
|
-
|
|
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;
|
|
3111
|
+
export declare enum OrganizationLocaleDateEnum {
|
|
3112
|
+
USA = "USA"
|
|
3027
3113
|
}
|
|
3028
|
-
export
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
familyid: number;
|
|
3032
|
-
order_id: number;
|
|
3114
|
+
export declare enum DateTimeFormatsEnum {
|
|
3115
|
+
API_DATE = "YYYY/MM/DD",
|
|
3116
|
+
API_TIME = "HH:mm:ss"
|
|
3033
3117
|
}
|
|
3034
|
-
export
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
openTime?: string;
|
|
3040
|
-
closeNumDays?: number;
|
|
3041
|
-
closeNumMinutes?: number;
|
|
3042
|
-
closeTime?: string;
|
|
3043
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3118
|
+
export declare enum SlotTypeEnum {
|
|
3119
|
+
EXTERNAL = "external",
|
|
3120
|
+
INTERNAL = "internal",
|
|
3121
|
+
MAINTENANCE = "maintenance",
|
|
3122
|
+
CUSTOM = "custom"
|
|
3044
3123
|
}
|
|
3045
|
-
export
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3124
|
+
export declare enum PlatformsEnum {
|
|
3125
|
+
CONSUMER = "consumer",
|
|
3126
|
+
BO = "backoffice",
|
|
3127
|
+
MOBILE = "mobile",
|
|
3128
|
+
CRON = "cron"
|
|
3049
3129
|
}
|
|
3050
|
-
export
|
|
3051
|
-
|
|
3052
|
-
|
|
3130
|
+
export declare enum ShiftStatusEnum {
|
|
3131
|
+
OPEN = "open",
|
|
3132
|
+
CLOSED = "closed",
|
|
3133
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
3134
|
+
RECONCILED = "reconciled"
|
|
3053
3135
|
}
|
|
3054
|
-
export
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
programName: string;
|
|
3136
|
+
export declare enum EventStatusEnum {
|
|
3137
|
+
OPEN = 1,
|
|
3138
|
+
DRAFT = 2,
|
|
3139
|
+
FULL = 3,
|
|
3140
|
+
CANCELLED = 4,
|
|
3141
|
+
CLOSED = 5,
|
|
3142
|
+
DELETED = 6
|
|
3062
3143
|
}
|
|
3063
|
-
export
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
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;
|
|
3144
|
+
export declare enum ReservationTypeEnum {
|
|
3145
|
+
RENTAL = "rental",
|
|
3146
|
+
PROGRAM = "program",
|
|
3147
|
+
MAINTENANCE = "maintenance",
|
|
3148
|
+
CUSTOM = "custom"
|
|
3081
3149
|
}
|
|
3082
|
-
export
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3150
|
+
export declare enum SlotDurationTypeEnum {
|
|
3151
|
+
DATES = "dates",
|
|
3152
|
+
ALL_DAY = "all day",
|
|
3153
|
+
DURATION = "duration"
|
|
3086
3154
|
}
|
|
3087
|
-
export
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3155
|
+
export declare enum DurationUnitTypesEnum {
|
|
3156
|
+
MINUTES = "minutes",
|
|
3157
|
+
HOURS = "hours"
|
|
3158
|
+
}
|
|
3159
|
+
export declare enum FrequencyEnum {
|
|
3160
|
+
NONE = "none",
|
|
3161
|
+
WEEKLY = "weekly",
|
|
3162
|
+
DAILY = "daily",
|
|
3163
|
+
MONTHLY = "monthly",
|
|
3164
|
+
YEARLY = "yearly"
|
|
3091
3165
|
}
|
|
3092
|
-
export
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
endTime: string;
|
|
3098
|
-
notes: string;
|
|
3099
|
-
spaceId: number;
|
|
3100
|
-
isRental: boolean;
|
|
3101
|
-
slotType: SlotTypeEnum;
|
|
3102
|
-
slotId: number;
|
|
3103
|
-
eventId: number;
|
|
3166
|
+
export declare enum MaintenanceTimingEnum {
|
|
3167
|
+
BEFORE = 1,
|
|
3168
|
+
AFTER = 2,
|
|
3169
|
+
AT_THE_BEGINING = 3,
|
|
3170
|
+
AT_THE_END = 4
|
|
3104
3171
|
}
|
|
3105
|
-
export
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
eventTimezone: string;
|
|
3109
|
-
maxParticipants: number;
|
|
3110
|
-
maxMaleParticipants: number;
|
|
3111
|
-
maxFemaleParticipants: number;
|
|
3112
|
-
isPunchCard: boolean;
|
|
3172
|
+
export declare enum CreatorTypeEnum {
|
|
3173
|
+
SPACE = "space",
|
|
3174
|
+
PROGRAM_SEASON = "program_season"
|
|
3113
3175
|
}
|
|
3114
|
-
export
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3176
|
+
export declare enum UpdatePricesTypeEnum {
|
|
3177
|
+
INDIVIDUAL = "indvidual",
|
|
3178
|
+
CATEGORY = "category",
|
|
3179
|
+
GLOBAL = "global"
|
|
3118
3180
|
}
|
|
3119
|
-
export
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
spaceId: number;
|
|
3128
|
-
creatorType: ResourceNameTypeEnum;
|
|
3129
|
-
slotType: SlotTypeEnum;
|
|
3130
|
-
slotId: number;
|
|
3131
|
-
eventId: number;
|
|
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
|
|
3132
3189
|
}
|
|
3133
|
-
export
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
3138
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3139
|
-
pUserId: number;
|
|
3140
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
3141
|
-
pUserProductId: number;
|
|
3142
|
-
pUserProductName: string;
|
|
3143
|
-
pUserProductPrice: number;
|
|
3144
|
-
pUserProductPriceCurrency: string;
|
|
3145
|
-
pUserProductQuantity: number;
|
|
3146
|
-
pUserProductQuantityLeft: number;
|
|
3147
|
-
pUserUserId: number;
|
|
3190
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
3191
|
+
NEW = "new",
|
|
3192
|
+
NO = "no",
|
|
3193
|
+
YES = "yes"
|
|
3148
3194
|
}
|
|
3149
|
-
export
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
organizationId: number;
|
|
3154
|
-
programId: number;
|
|
3155
|
-
programName: string;
|
|
3156
|
-
sessionId: number;
|
|
3157
|
-
sessionName: string;
|
|
3158
|
-
productId: number;
|
|
3159
|
-
productName: string;
|
|
3160
|
-
productUserId: number;
|
|
3161
|
-
purchaseDate: Date;
|
|
3162
|
-
passesLeft: number;
|
|
3195
|
+
export declare enum ProductPackageLevelEnum {
|
|
3196
|
+
HOUR = "hour",
|
|
3197
|
+
SLOT = "slot",
|
|
3198
|
+
RESERVATION = "reservation"
|
|
3163
3199
|
}
|
|
3164
|
-
export
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
startDate: Date;
|
|
3168
|
-
endDate: Date;
|
|
3169
|
-
registrationStartDate: Date;
|
|
3170
|
-
registrationEndDate: Date;
|
|
3171
|
-
sport: SportsEnum;
|
|
3172
|
-
minAge: string;
|
|
3173
|
-
maxAge: string;
|
|
3174
|
-
maxParticipants?: number;
|
|
3175
|
-
gender: GenderEnum;
|
|
3176
|
-
activityTimes: ActivityTimes[];
|
|
3177
|
-
earlyRegistrationStartDate?: Date;
|
|
3178
|
-
earlyRegistrationEndDate?: Date;
|
|
3179
|
-
lateRegistrationStartDate?: Date;
|
|
3180
|
-
lateRegistrationEndDate?: Date;
|
|
3181
|
-
attendeeCount?: number;
|
|
3182
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
3200
|
+
export declare enum CancellationStatusEnum {
|
|
3201
|
+
IMMEDIATE = "immediate",
|
|
3202
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
3183
3203
|
}
|
|
3184
|
-
export
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
lowestPrice?: number;
|
|
3188
|
-
products?: ISessionLandingPageProduct[];
|
|
3204
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
3205
|
+
DRAFT = 0,
|
|
3206
|
+
PUBLISHED = 1
|
|
3189
3207
|
}
|
|
3190
|
-
export
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
programId: number;
|
|
3197
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
3198
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
3208
|
+
export declare enum FinancialStepEnum {
|
|
3209
|
+
VOID = "void",
|
|
3210
|
+
REFUND = "refund",
|
|
3211
|
+
NONE = "none",
|
|
3212
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
3213
|
+
APPEND = "append"
|
|
3199
3214
|
}
|
|
3200
|
-
export
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
name: string;
|
|
3205
|
-
productType?: ProductTypesEnum;
|
|
3206
|
-
productSubType?: string;
|
|
3207
|
-
}[];
|
|
3215
|
+
export declare enum StripeAccountTypesEnum {
|
|
3216
|
+
STRIPE = "stripe",
|
|
3217
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
3218
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
3208
3219
|
}
|
|
3209
|
-
export
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
endDate?: Date;
|
|
3214
|
-
downpayment?: number;
|
|
3215
|
-
description?: string;
|
|
3216
|
-
prices: Price[];
|
|
3217
|
-
productSubType?: ProductSubTypesEnum;
|
|
3218
|
-
punchCard: boolean;
|
|
3219
|
-
isAddon: boolean;
|
|
3220
|
-
defaultPriceId?: number;
|
|
3220
|
+
export declare enum LinkedAccountStatus {
|
|
3221
|
+
PENDING = 1,
|
|
3222
|
+
ACTIVE = 2,
|
|
3223
|
+
PRE_PENDING = 3
|
|
3221
3224
|
}
|
|
3222
|
-
export
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
fee?: number;
|
|
3225
|
+
export declare enum AddonParentTypeEnum {
|
|
3226
|
+
RESERVATION = "reservation",
|
|
3227
|
+
SLOT = "slot"
|
|
3226
3228
|
}
|
|
3227
|
-
export
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
endDate: string;
|
|
3233
|
-
sportId: number;
|
|
3229
|
+
export declare enum EEmailStatus {
|
|
3230
|
+
SENT = "sent",
|
|
3231
|
+
OPENED = "opened",
|
|
3232
|
+
PAID = "paid",
|
|
3233
|
+
CANCELED = "canceled"
|
|
3234
3234
|
}
|
|
3235
3235
|
export declare class ColumnNumericTransformer {
|
|
3236
3236
|
to(data: number): number;
|
|
@@ -3393,17 +3393,6 @@ export declare class Lock extends BondBaseEntity {
|
|
|
3393
3393
|
name: string;
|
|
3394
3394
|
locked?: Date;
|
|
3395
3395
|
}
|
|
3396
|
-
export declare class CreateMonitorConfigDto {
|
|
3397
|
-
facilityId: number;
|
|
3398
|
-
name: string;
|
|
3399
|
-
code: string;
|
|
3400
|
-
config: any;
|
|
3401
|
-
}
|
|
3402
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3403
|
-
facilityId: number;
|
|
3404
|
-
code: string;
|
|
3405
|
-
config?: any;
|
|
3406
|
-
}
|
|
3407
3396
|
export declare class ByOrganizationIdDto {
|
|
3408
3397
|
organizationId: number;
|
|
3409
3398
|
}
|
|
@@ -3472,6 +3461,17 @@ export declare class OrganizationUsers extends BondBaseEntity {
|
|
|
3472
3461
|
organisationId: number | null;
|
|
3473
3462
|
userId: number | null;
|
|
3474
3463
|
}
|
|
3464
|
+
export declare class CreateMonitorConfigDto {
|
|
3465
|
+
facilityId: number;
|
|
3466
|
+
name: string;
|
|
3467
|
+
code: string;
|
|
3468
|
+
config: any;
|
|
3469
|
+
}
|
|
3470
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3471
|
+
facilityId: number;
|
|
3472
|
+
code: string;
|
|
3473
|
+
config?: any;
|
|
3474
|
+
}
|
|
3475
3475
|
export declare class CustomerIdDto {
|
|
3476
3476
|
customerId: number;
|
|
3477
3477
|
}
|
|
@@ -3621,6 +3621,29 @@ export declare class VoidLineItemDto {
|
|
|
3621
3621
|
isEdit?: boolean;
|
|
3622
3622
|
amount?: number;
|
|
3623
3623
|
}
|
|
3624
|
+
export declare class ChangeRolePermissionsDto {
|
|
3625
|
+
permissionIds: number[];
|
|
3626
|
+
}
|
|
3627
|
+
export declare class CreateRoleDto {
|
|
3628
|
+
name: string;
|
|
3629
|
+
}
|
|
3630
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
3631
|
+
name: string;
|
|
3632
|
+
deletedAt?: Date;
|
|
3633
|
+
permissions: Permission[];
|
|
3634
|
+
usersRoles: UserRole[];
|
|
3635
|
+
}
|
|
3636
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
3637
|
+
deletedAt?: Date;
|
|
3638
|
+
userId: number;
|
|
3639
|
+
roleId: number;
|
|
3640
|
+
role: Role;
|
|
3641
|
+
user: User;
|
|
3642
|
+
}
|
|
3643
|
+
export declare class Permission extends BondBaseEntity {
|
|
3644
|
+
name: string;
|
|
3645
|
+
deletedAt?: Date;
|
|
3646
|
+
}
|
|
3624
3647
|
export declare class LineItemDto {
|
|
3625
3648
|
id?: number;
|
|
3626
3649
|
orderId?: number;
|
|
@@ -3833,7 +3856,6 @@ export declare class EditSlotsDto extends UpdateSlotsDto {
|
|
|
3833
3856
|
}
|
|
3834
3857
|
export declare class EditReservationDetailsDto {
|
|
3835
3858
|
name: string;
|
|
3836
|
-
activityType: SportsEnum;
|
|
3837
3859
|
publicNotes?: string;
|
|
3838
3860
|
privateNotes?: string;
|
|
3839
3861
|
}
|
|
@@ -4134,29 +4156,6 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4134
4156
|
changeLineItems?: LineItems[];
|
|
4135
4157
|
updatedLineItem?: LineItems;
|
|
4136
4158
|
}
|
|
4137
|
-
export declare class ChangeRolePermissionsDto {
|
|
4138
|
-
permissionIds: number[];
|
|
4139
|
-
}
|
|
4140
|
-
export declare class CreateRoleDto {
|
|
4141
|
-
name: string;
|
|
4142
|
-
}
|
|
4143
|
-
export declare class Permission extends BondBaseEntity {
|
|
4144
|
-
name: string;
|
|
4145
|
-
deletedAt?: Date;
|
|
4146
|
-
}
|
|
4147
|
-
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4148
|
-
name: string;
|
|
4149
|
-
deletedAt?: Date;
|
|
4150
|
-
permissions: Permission[];
|
|
4151
|
-
usersRoles: UserRole[];
|
|
4152
|
-
}
|
|
4153
|
-
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4154
|
-
deletedAt?: Date;
|
|
4155
|
-
userId: number;
|
|
4156
|
-
roleId: number;
|
|
4157
|
-
role: Role;
|
|
4158
|
-
user: User;
|
|
4159
|
-
}
|
|
4160
4159
|
export declare class CloseShiftDto {
|
|
4161
4160
|
closingCashAmount: number;
|
|
4162
4161
|
}
|