@bondsports/types 0.0.111 → 0.0.112
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 +1297 -1298
- 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
|
@@ -20,47 +20,73 @@ export declare class UserAnswersDto {
|
|
|
20
20
|
export declare class GetByQuestionnaireIdsDto {
|
|
21
21
|
questionnaireIds: string;
|
|
22
22
|
}
|
|
23
|
-
export declare class
|
|
24
|
-
userId: number;
|
|
25
|
-
}
|
|
26
|
-
export declare class FindFamilyAccountsCustomerDto {
|
|
27
|
-
customerId: number;
|
|
23
|
+
export declare class FindBookingTypeSettingDto {
|
|
28
24
|
organizationId: number;
|
|
25
|
+
facilityId: number;
|
|
26
|
+
spaceId: number;
|
|
27
|
+
bookingDate: string;
|
|
28
|
+
bookingTime: string;
|
|
29
29
|
}
|
|
30
|
-
export declare class
|
|
31
|
-
|
|
30
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
31
|
+
membershipId: number;
|
|
32
32
|
}
|
|
33
|
-
export declare class
|
|
34
|
-
|
|
35
|
-
userId: number;
|
|
33
|
+
export declare class ImportProductsFromDB {
|
|
34
|
+
buDate: string;
|
|
36
35
|
}
|
|
37
|
-
export declare class
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
export declare class ImportCustomerFromCSV {
|
|
37
|
+
fileName: string;
|
|
38
|
+
startIndex?: number;
|
|
40
39
|
}
|
|
41
|
-
export declare class
|
|
42
|
-
|
|
43
|
-
isUserAdmin: boolean;
|
|
44
|
-
firstName: string;
|
|
45
|
-
lastName: string;
|
|
46
|
-
gender: GenderEnum;
|
|
47
|
-
birthDate: string;
|
|
48
|
-
sports?: number[];
|
|
49
|
-
email?: string;
|
|
40
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
41
|
+
resolveInvoices: string;
|
|
50
42
|
}
|
|
51
|
-
export declare class
|
|
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 ByOrganizationIdUserIdDto extends ByOrganizationIdDto {
|
|
52
54
|
userId: number;
|
|
53
|
-
familyAccountId: number;
|
|
54
55
|
}
|
|
55
|
-
export declare class
|
|
56
|
-
|
|
56
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
57
|
+
nameSearch?: string;
|
|
58
|
+
fuzzy?: string;
|
|
59
|
+
customerType?: CustomerTypeEnum;
|
|
60
|
+
customersIds?: string;
|
|
57
61
|
}
|
|
58
|
-
export declare class
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
export declare class AddCustomerNotesDto {
|
|
63
|
+
customerNotes: CustomerNoteDto[];
|
|
64
|
+
}
|
|
65
|
+
export declare class CustomerNoteDto {
|
|
66
|
+
id?: number;
|
|
67
|
+
description: string;
|
|
68
|
+
pinToTop?: boolean;
|
|
69
|
+
}
|
|
70
|
+
export declare class AddEditCustomerDto {
|
|
71
|
+
firstName?: string;
|
|
72
|
+
lastName?: string;
|
|
73
|
+
entityId?: number;
|
|
74
|
+
entityType?: CustomerTypeEnum;
|
|
75
|
+
email?: string;
|
|
76
|
+
color?: string;
|
|
77
|
+
street?: string;
|
|
78
|
+
city?: string;
|
|
79
|
+
state?: string;
|
|
80
|
+
zip?: string;
|
|
81
|
+
phoneNumber?: string;
|
|
82
|
+
mainMediaId?: number;
|
|
83
|
+
creatorId?: number;
|
|
84
|
+
creatorType?: ResourceNameTypeEnum;
|
|
85
|
+
userCreatorId?: number;
|
|
86
|
+
gender?: GenderEnum;
|
|
87
|
+
birthDate?: string;
|
|
88
|
+
emergencyContactName?: string;
|
|
89
|
+
emergencyContactPhone?: string;
|
|
64
90
|
}
|
|
65
91
|
export declare class FindEventByIdDto {
|
|
66
92
|
eventId: number;
|
|
@@ -162,6 +188,103 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
162
188
|
isWaiverSigned?: string;
|
|
163
189
|
statuses?: string;
|
|
164
190
|
}
|
|
191
|
+
export declare class AddressDto {
|
|
192
|
+
city: string;
|
|
193
|
+
state: string;
|
|
194
|
+
country: string;
|
|
195
|
+
geo: number[];
|
|
196
|
+
}
|
|
197
|
+
export declare class OpeningTimeDto {
|
|
198
|
+
open: string;
|
|
199
|
+
close: string;
|
|
200
|
+
dayOfWeek: number;
|
|
201
|
+
}
|
|
202
|
+
export declare class CreateFacilityDto {
|
|
203
|
+
name: string;
|
|
204
|
+
sports: number[];
|
|
205
|
+
description?: string;
|
|
206
|
+
longDescription?: string;
|
|
207
|
+
info?: string;
|
|
208
|
+
address: AddressDto;
|
|
209
|
+
timezone: string;
|
|
210
|
+
amenities: number[];
|
|
211
|
+
openingTimes: OpeningTimeDto[];
|
|
212
|
+
resourcesIds?: number[];
|
|
213
|
+
}
|
|
214
|
+
export declare class UpdateFacilityDetailsDto {
|
|
215
|
+
name?: string;
|
|
216
|
+
description?: string;
|
|
217
|
+
longDescription?: string;
|
|
218
|
+
info?: string;
|
|
219
|
+
address?: AddressDto;
|
|
220
|
+
timezone?: string;
|
|
221
|
+
}
|
|
222
|
+
export declare class UpdateFacilityOpeningTimesDto {
|
|
223
|
+
openingTimes: OpeningTimeDto[];
|
|
224
|
+
}
|
|
225
|
+
export declare class UpdateFacilitySportsDto {
|
|
226
|
+
sports: number[];
|
|
227
|
+
}
|
|
228
|
+
export declare class UpdateFacilityAmenitiesDto {
|
|
229
|
+
amenities: number[];
|
|
230
|
+
}
|
|
231
|
+
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
232
|
+
nameSearch?: string;
|
|
233
|
+
}
|
|
234
|
+
export declare class FindFamilyAccountsDto {
|
|
235
|
+
userId: number;
|
|
236
|
+
}
|
|
237
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
238
|
+
customerId: number;
|
|
239
|
+
organizationId: number;
|
|
240
|
+
}
|
|
241
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
242
|
+
familyAccountId: number;
|
|
243
|
+
}
|
|
244
|
+
export declare class CreateFamilyAccountDto {
|
|
245
|
+
familyName: string;
|
|
246
|
+
userId: number;
|
|
247
|
+
}
|
|
248
|
+
export declare class UpdateFamilyAccountNameDto {
|
|
249
|
+
familyName: string;
|
|
250
|
+
familyAccountId: number;
|
|
251
|
+
}
|
|
252
|
+
export declare class AddUserToFamilyAccountDto {
|
|
253
|
+
familyAccountId: number;
|
|
254
|
+
isUserAdmin: boolean;
|
|
255
|
+
firstName: string;
|
|
256
|
+
lastName: string;
|
|
257
|
+
gender: GenderEnum;
|
|
258
|
+
birthDate: string;
|
|
259
|
+
sports?: number[];
|
|
260
|
+
email?: string;
|
|
261
|
+
}
|
|
262
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
263
|
+
userId: number;
|
|
264
|
+
familyAccountId: number;
|
|
265
|
+
}
|
|
266
|
+
export declare class FindOneParams {
|
|
267
|
+
id: number;
|
|
268
|
+
}
|
|
269
|
+
export declare class PaginationQuery {
|
|
270
|
+
page: number;
|
|
271
|
+
itemsPerPage: number;
|
|
272
|
+
}
|
|
273
|
+
export declare class PaginationRangeQuery {
|
|
274
|
+
startPage: number;
|
|
275
|
+
endPage: number;
|
|
276
|
+
itemsPerPage: number;
|
|
277
|
+
}
|
|
278
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
279
|
+
organizationId: number;
|
|
280
|
+
}
|
|
281
|
+
export declare class GetGlCodeDto {
|
|
282
|
+
id: number;
|
|
283
|
+
organizationId: number;
|
|
284
|
+
code: string;
|
|
285
|
+
createdAt: Date;
|
|
286
|
+
updatedAt: Date;
|
|
287
|
+
}
|
|
165
288
|
export declare class FindByProgramSeasonIdDto {
|
|
166
289
|
seasonId: number;
|
|
167
290
|
}
|
|
@@ -291,60 +414,47 @@ export declare class CancelMembershipDto {
|
|
|
291
414
|
isImmediatelyCancel: boolean;
|
|
292
415
|
cancellationReason?: string;
|
|
293
416
|
}
|
|
294
|
-
export declare class
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
geo: number[];
|
|
299
|
-
}
|
|
300
|
-
export declare class OpeningTimeDto {
|
|
301
|
-
open: string;
|
|
302
|
-
close: string;
|
|
303
|
-
dayOfWeek: number;
|
|
304
|
-
}
|
|
305
|
-
export declare class CreateFacilityDto {
|
|
306
|
-
name: string;
|
|
307
|
-
sports: number[];
|
|
308
|
-
description?: string;
|
|
309
|
-
longDescription?: string;
|
|
310
|
-
info?: string;
|
|
311
|
-
address: AddressDto;
|
|
312
|
-
timezone: string;
|
|
313
|
-
amenities: number[];
|
|
314
|
-
openingTimes: OpeningTimeDto[];
|
|
315
|
-
resourcesIds?: number[];
|
|
417
|
+
export declare class CreateEntitlementTermsDto {
|
|
418
|
+
organizationId: number;
|
|
419
|
+
entitlementGroupId: number;
|
|
420
|
+
terms: IEntitlementTerms[];
|
|
316
421
|
}
|
|
317
|
-
export declare class
|
|
318
|
-
|
|
319
|
-
description?: string;
|
|
320
|
-
longDescription?: string;
|
|
321
|
-
info?: string;
|
|
322
|
-
address?: AddressDto;
|
|
323
|
-
timezone?: string;
|
|
422
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
423
|
+
entitlementGroupId: number;
|
|
324
424
|
}
|
|
325
|
-
export declare class
|
|
326
|
-
|
|
425
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
426
|
+
user: any;
|
|
427
|
+
userVariables: IQuestionAnswerObject[];
|
|
327
428
|
}
|
|
328
|
-
export declare class
|
|
329
|
-
|
|
429
|
+
export declare class FindLowestPriceDto {
|
|
430
|
+
organizationId: number;
|
|
431
|
+
user?: any;
|
|
432
|
+
answers?: IQuestionAnswerObject[];
|
|
433
|
+
itemIds: number[];
|
|
434
|
+
itemType?: ResourceNameTypeEnum;
|
|
435
|
+
startDate?: Date;
|
|
330
436
|
}
|
|
331
|
-
export declare class
|
|
332
|
-
|
|
437
|
+
export declare class FindGroupItemsPricingsDto {
|
|
438
|
+
groupsIds: number[];
|
|
439
|
+
itemsIds: number[];
|
|
333
440
|
}
|
|
334
|
-
export declare class
|
|
335
|
-
|
|
441
|
+
export declare class CreateEntitlementGroupDto {
|
|
442
|
+
name: string;
|
|
336
443
|
}
|
|
337
|
-
export declare class
|
|
338
|
-
|
|
444
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
445
|
+
itemIds: number[];
|
|
446
|
+
itemType: string;
|
|
339
447
|
}
|
|
340
|
-
export declare class
|
|
341
|
-
|
|
342
|
-
itemsPerPage: number;
|
|
448
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
449
|
+
groupid: number;
|
|
343
450
|
}
|
|
344
|
-
export declare class
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
451
|
+
export declare class CreateGroupPricingWithProduct {
|
|
452
|
+
groupId: number;
|
|
453
|
+
price: number;
|
|
454
|
+
startDate?: Date;
|
|
455
|
+
endDate?: Date;
|
|
456
|
+
discountValue?: number;
|
|
457
|
+
discountMethod?: DiscountMethodsEnum;
|
|
348
458
|
}
|
|
349
459
|
export declare class FindByProductIdDto {
|
|
350
460
|
productId: number;
|
|
@@ -768,55 +878,129 @@ export declare class MoveParticipantDto {
|
|
|
768
878
|
resourceId: number;
|
|
769
879
|
invoiceId: number;
|
|
770
880
|
}
|
|
771
|
-
export declare class
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
facilityId: number;
|
|
775
|
-
childrenSlotIds: number[];
|
|
881
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
882
|
+
organizationId: number;
|
|
883
|
+
programType?: ProgramTypesEnum;
|
|
776
884
|
}
|
|
777
|
-
export declare class
|
|
885
|
+
export declare class FindProgramByIdDto {
|
|
886
|
+
programId: number;
|
|
778
887
|
}
|
|
779
|
-
export declare class
|
|
888
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
889
|
+
programId: number;
|
|
780
890
|
organizationId: number;
|
|
781
|
-
entitlementGroupId: number;
|
|
782
|
-
terms: IEntitlementTerms[];
|
|
783
891
|
}
|
|
784
|
-
export declare class
|
|
785
|
-
|
|
892
|
+
export declare class BaseProgramDto {
|
|
893
|
+
type: ProgramTypesEnum;
|
|
894
|
+
name: string;
|
|
895
|
+
sport: SportsEnum;
|
|
896
|
+
minAge: string;
|
|
897
|
+
maxAge: string;
|
|
898
|
+
gender: GenderEnum;
|
|
899
|
+
level?: LevelOfPlayEnum[];
|
|
900
|
+
description?: string;
|
|
901
|
+
GL?: string;
|
|
902
|
+
status: PublishingStatusEnum;
|
|
903
|
+
organizationId: number;
|
|
904
|
+
userCreatorId: number;
|
|
905
|
+
highlights: ProgramHighlights[];
|
|
906
|
+
longDescription?: string;
|
|
907
|
+
requiredProductIds: number[];
|
|
786
908
|
}
|
|
787
|
-
export declare class
|
|
788
|
-
user: any;
|
|
789
|
-
userVariables: IQuestionAnswerObject[];
|
|
909
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
790
910
|
}
|
|
791
|
-
export declare class
|
|
911
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
912
|
+
programId: number;
|
|
913
|
+
mainMediaId: number;
|
|
914
|
+
}
|
|
915
|
+
export declare class UpdateProgramStatusDto {
|
|
916
|
+
programId: number;
|
|
917
|
+
status: PublishingStatusEnum;
|
|
918
|
+
}
|
|
919
|
+
export declare class ProgramHighlightDto {
|
|
920
|
+
data: string;
|
|
921
|
+
ordinal: number;
|
|
922
|
+
type: ProgramHighlightTypeEnum;
|
|
923
|
+
title: string;
|
|
924
|
+
}
|
|
925
|
+
export declare class PurchasePaymentDto {
|
|
926
|
+
token: string;
|
|
927
|
+
type: PaymentMethodTypeEnum;
|
|
928
|
+
}
|
|
929
|
+
export declare class ChargeRentalsReuqestDto {
|
|
792
930
|
organizationId: number;
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
931
|
+
userId?: number;
|
|
932
|
+
customerId?: number;
|
|
933
|
+
invoiceId: number;
|
|
934
|
+
paymentData: PurchasePaymentDto;
|
|
935
|
+
amountToPay: number;
|
|
936
|
+
total: number;
|
|
937
|
+
platform: PlatformsEnum;
|
|
938
|
+
shiftId?: number;
|
|
939
|
+
}
|
|
940
|
+
export declare class PurchaseRequestDto {
|
|
941
|
+
purchasingUserId: number;
|
|
942
|
+
customerId?: number;
|
|
943
|
+
products: PurchaseProductDto[];
|
|
944
|
+
paymentData: PurchasePaymentDto;
|
|
945
|
+
answers: UserAnswersDto[];
|
|
946
|
+
amountToPay: number;
|
|
947
|
+
parentPurchasedType?: ResourceNameTypeEnum;
|
|
948
|
+
parentPurchasedId?: number;
|
|
949
|
+
isPartialPayment: boolean;
|
|
950
|
+
existingInvoiceToken?: string;
|
|
951
|
+
installments?: ScheduledPaymentDto[];
|
|
952
|
+
shiftId?: number;
|
|
953
|
+
invoiceId?: number;
|
|
954
|
+
platform?: PlatformsEnum;
|
|
955
|
+
}
|
|
956
|
+
export declare class PurchaseResourceDto extends ResourceDto {
|
|
957
|
+
}
|
|
958
|
+
export declare class PurchaseProductDto {
|
|
959
|
+
id: number;
|
|
960
|
+
resources?: PurchaseResourceDto[];
|
|
961
|
+
userId?: number;
|
|
962
|
+
paymentStatus?: PaymentStatusEnum;
|
|
963
|
+
amountToPay?: number;
|
|
964
|
+
ordinal?: number;
|
|
797
965
|
startDate?: Date;
|
|
966
|
+
quantity?: number;
|
|
798
967
|
}
|
|
799
|
-
export declare class
|
|
800
|
-
|
|
801
|
-
|
|
968
|
+
export declare class PartialPaymentRequestDto {
|
|
969
|
+
invoiceId: number;
|
|
970
|
+
amountToPay: number;
|
|
971
|
+
organizationId: number;
|
|
972
|
+
payingUserId: number;
|
|
973
|
+
paymentMethodData: PurchasePaymentDto;
|
|
974
|
+
shiftId?: number;
|
|
802
975
|
}
|
|
803
|
-
export declare class
|
|
804
|
-
|
|
976
|
+
export declare class RedeemPunchCardRequestDto {
|
|
977
|
+
products: PurchaseProductDto[];
|
|
978
|
+
answersTitlesIds: number[];
|
|
979
|
+
organizationId: number;
|
|
980
|
+
purchasingUserId: number;
|
|
805
981
|
}
|
|
806
|
-
export declare class
|
|
807
|
-
|
|
808
|
-
itemType: string;
|
|
982
|
+
export declare class InvoiceIdDto extends ByOrganizationIdDto {
|
|
983
|
+
invoiceId: number;
|
|
809
984
|
}
|
|
810
|
-
export declare class
|
|
811
|
-
|
|
985
|
+
export declare class AddItemsDto {
|
|
986
|
+
products: PurchaseProductDto[];
|
|
987
|
+
allocateResource: boolean;
|
|
988
|
+
skipMail: boolean;
|
|
812
989
|
}
|
|
813
|
-
export declare class
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
990
|
+
export declare class PartialPaymentAsUserDto {
|
|
991
|
+
invoiceId: any;
|
|
992
|
+
organizationId: any;
|
|
993
|
+
amountToPay: any;
|
|
994
|
+
paymentMethodData: any;
|
|
995
|
+
platform?: PlatformsEnum;
|
|
996
|
+
}
|
|
997
|
+
export declare class CreateResourceGroupDto {
|
|
998
|
+
name: string;
|
|
999
|
+
parentSlotId: number;
|
|
1000
|
+
facilityId: number;
|
|
1001
|
+
childrenSlotIds: number[];
|
|
1002
|
+
}
|
|
1003
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
820
1004
|
}
|
|
821
1005
|
export declare class ResourceDto {
|
|
822
1006
|
type: ResourceNameTypeEnum;
|
|
@@ -878,6 +1062,25 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
878
1062
|
types?: string;
|
|
879
1063
|
resourcesIds?: string;
|
|
880
1064
|
}
|
|
1065
|
+
export declare class StripeCustomerIdDto {
|
|
1066
|
+
userId: number;
|
|
1067
|
+
}
|
|
1068
|
+
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1069
|
+
paymentMethodId: string;
|
|
1070
|
+
}
|
|
1071
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1072
|
+
publicToken: string;
|
|
1073
|
+
accountId: string;
|
|
1074
|
+
}
|
|
1075
|
+
export declare class FindByUserIdDto {
|
|
1076
|
+
userId: number;
|
|
1077
|
+
}
|
|
1078
|
+
export declare class FindByFamilyAccountIdDto {
|
|
1079
|
+
familyAccountId?: number;
|
|
1080
|
+
}
|
|
1081
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1082
|
+
organizationId: number;
|
|
1083
|
+
}
|
|
881
1084
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
882
1085
|
entityType: ResourceNameTypeEnum;
|
|
883
1086
|
entityId: number;
|
|
@@ -891,224 +1094,117 @@ export declare class ActivityLogRecord extends BondBaseEntity {
|
|
|
891
1094
|
oldValue?: any;
|
|
892
1095
|
newValue?: any;
|
|
893
1096
|
}
|
|
894
|
-
export declare class
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
1097
|
+
export declare class ActivityTimes extends BondBaseEntity {
|
|
1098
|
+
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1099
|
+
parentId: number;
|
|
1100
|
+
dayOfWeek: number;
|
|
1101
|
+
open: string;
|
|
1102
|
+
close: string;
|
|
1103
|
+
deletedAt?: Date;
|
|
1104
|
+
program: ProgramSeason;
|
|
1105
|
+
availabilityStartDate: string;
|
|
1106
|
+
availabilityEndDate: string;
|
|
1107
|
+
proudct: Product;
|
|
1108
|
+
event: Event;
|
|
899
1109
|
}
|
|
900
|
-
export declare class
|
|
901
|
-
|
|
1110
|
+
export declare class Address extends BondBaseEntity {
|
|
1111
|
+
city?: string;
|
|
1112
|
+
street?: string;
|
|
1113
|
+
streetNum?: string;
|
|
1114
|
+
aptNum?: string;
|
|
1115
|
+
zip?: string;
|
|
1116
|
+
country?: string;
|
|
1117
|
+
state?: string;
|
|
1118
|
+
geo: any;
|
|
1119
|
+
deletedAt?: Date;
|
|
902
1120
|
}
|
|
903
|
-
export declare class
|
|
904
|
-
|
|
1121
|
+
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1122
|
+
questionId: number;
|
|
1123
|
+
question?: Questions;
|
|
1124
|
+
parentId: number;
|
|
1125
|
+
parentType: ResourceNameTypeEnum;
|
|
1126
|
+
answerValue: any;
|
|
1127
|
+
creatorId: number;
|
|
1128
|
+
creatorType: ResourceNameTypeEnum;
|
|
1129
|
+
answerTitleId: number;
|
|
1130
|
+
answerTitle: AnswerTitle;
|
|
1131
|
+
metaData: any | null;
|
|
1132
|
+
questionText: string | null;
|
|
905
1133
|
}
|
|
906
|
-
export declare class
|
|
907
|
-
|
|
1134
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1135
|
+
questionnaireId: number;
|
|
1136
|
+
userId?: number;
|
|
1137
|
+
answers: Answer[];
|
|
1138
|
+
questionnaire: Questionnaires;
|
|
908
1139
|
}
|
|
909
|
-
export declare class
|
|
910
|
-
|
|
911
|
-
|
|
1140
|
+
export declare class Athlete extends BondBaseEntity {
|
|
1141
|
+
userId: number | null;
|
|
1142
|
+
metadata: object | null;
|
|
1143
|
+
athleteSports: AthleteSports[];
|
|
912
1144
|
}
|
|
913
|
-
export declare class
|
|
914
|
-
|
|
915
|
-
|
|
1145
|
+
export declare class AthleteSports extends BondBaseEntity {
|
|
1146
|
+
athleteId: number | null;
|
|
1147
|
+
sports: number | null;
|
|
1148
|
+
levelOfPlay: LevelOfPlayEnum | null;
|
|
916
1149
|
}
|
|
917
|
-
export declare class
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
total: number;
|
|
925
|
-
platform: PlatformsEnum;
|
|
926
|
-
shiftId?: number;
|
|
1150
|
+
export declare class BlockedDate extends BondBaseEntity {
|
|
1151
|
+
entityType: ResourceNameTypeEnum;
|
|
1152
|
+
entityId: number;
|
|
1153
|
+
name: string;
|
|
1154
|
+
startDate: Date;
|
|
1155
|
+
endDate: Date;
|
|
1156
|
+
deletedAt?: Date;
|
|
927
1157
|
}
|
|
928
|
-
export declare class
|
|
929
|
-
purchasingUserId: number;
|
|
930
|
-
customerId?: number;
|
|
931
|
-
products: PurchaseProductDto[];
|
|
932
|
-
paymentData: PurchasePaymentDto;
|
|
933
|
-
answers: UserAnswersDto[];
|
|
934
|
-
amountToPay: number;
|
|
935
|
-
parentPurchasedType?: ResourceNameTypeEnum;
|
|
936
|
-
parentPurchasedId?: number;
|
|
937
|
-
isPartialPayment: boolean;
|
|
938
|
-
existingInvoiceToken?: string;
|
|
939
|
-
installments?: ScheduledPaymentDto[];
|
|
940
|
-
shiftId?: number;
|
|
941
|
-
invoiceId?: number;
|
|
942
|
-
platform?: PlatformsEnum;
|
|
943
|
-
}
|
|
944
|
-
export declare class PurchaseResourceDto extends ResourceDto {
|
|
945
|
-
}
|
|
946
|
-
export declare class PurchaseProductDto {
|
|
1158
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
947
1159
|
id: number;
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
paymentStatus?: PaymentStatusEnum;
|
|
951
|
-
amountToPay?: number;
|
|
952
|
-
ordinal?: number;
|
|
953
|
-
startDate?: Date;
|
|
954
|
-
quantity?: number;
|
|
955
|
-
}
|
|
956
|
-
export declare class PartialPaymentRequestDto {
|
|
957
|
-
invoiceId: number;
|
|
958
|
-
amountToPay: number;
|
|
959
|
-
organizationId: number;
|
|
960
|
-
payingUserId: number;
|
|
961
|
-
paymentMethodData: PurchasePaymentDto;
|
|
962
|
-
shiftId?: number;
|
|
963
|
-
}
|
|
964
|
-
export declare class RedeemPunchCardRequestDto {
|
|
965
|
-
products: PurchaseProductDto[];
|
|
966
|
-
answersTitlesIds: number[];
|
|
967
|
-
organizationId: number;
|
|
968
|
-
purchasingUserId: number;
|
|
969
|
-
}
|
|
970
|
-
export declare class InvoiceIdDto extends ByOrganizationIdDto {
|
|
971
|
-
invoiceId: number;
|
|
972
|
-
}
|
|
973
|
-
export declare class AddItemsDto {
|
|
974
|
-
products: PurchaseProductDto[];
|
|
975
|
-
allocateResource: boolean;
|
|
976
|
-
skipMail: boolean;
|
|
977
|
-
}
|
|
978
|
-
export declare class PartialPaymentAsUserDto {
|
|
979
|
-
invoiceId: any;
|
|
980
|
-
organizationId: any;
|
|
981
|
-
amountToPay: any;
|
|
982
|
-
paymentMethodData: any;
|
|
983
|
-
platform?: PlatformsEnum;
|
|
984
|
-
}
|
|
985
|
-
export declare class ActivityTimes extends BondBaseEntity {
|
|
986
|
-
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
987
|
-
parentId: number;
|
|
988
|
-
dayOfWeek: number;
|
|
989
|
-
open: string;
|
|
990
|
-
close: string;
|
|
991
|
-
deletedAt?: Date;
|
|
992
|
-
program: ProgramSeason;
|
|
993
|
-
availabilityStartDate: string;
|
|
994
|
-
availabilityEndDate: string;
|
|
995
|
-
proudct: Product;
|
|
996
|
-
event: Event;
|
|
1160
|
+
createdAt: Date;
|
|
1161
|
+
updatedAt: Date;
|
|
997
1162
|
}
|
|
998
|
-
export declare class
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1163
|
+
export declare class BookedSessions extends BondBaseEntity {
|
|
1164
|
+
reservationId?: number;
|
|
1165
|
+
color?: string;
|
|
1166
|
+
creatorId?: number;
|
|
1167
|
+
creatorType?: string;
|
|
1168
|
+
startDate?: Date | moment.Moment;
|
|
1169
|
+
endDate?: Date | moment.Moment;
|
|
1170
|
+
timezone?: string;
|
|
1171
|
+
spaceId?: number;
|
|
1172
|
+
percentage?: number;
|
|
1173
|
+
status?: string;
|
|
1174
|
+
originalSessionId?: number;
|
|
1175
|
+
isFinal?: boolean;
|
|
1176
|
+
concurrent?: number;
|
|
1007
1177
|
deletedAt?: Date;
|
|
1178
|
+
publicNotes?: string;
|
|
1179
|
+
slotType?: SlotTypeEnum;
|
|
1008
1180
|
}
|
|
1009
|
-
export declare class
|
|
1010
|
-
questionId: number;
|
|
1011
|
-
question?: Questions;
|
|
1181
|
+
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1012
1182
|
parentId: number;
|
|
1013
1183
|
parentType: ResourceNameTypeEnum;
|
|
1014
|
-
answerValue: any;
|
|
1015
|
-
creatorId: number;
|
|
1016
|
-
creatorType: ResourceNameTypeEnum;
|
|
1017
|
-
answerTitleId: number;
|
|
1018
|
-
answerTitle: AnswerTitle;
|
|
1019
|
-
metaData: any | null;
|
|
1020
|
-
questionText: string | null;
|
|
1021
|
-
}
|
|
1022
|
-
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1023
|
-
questionnaireId: number;
|
|
1024
|
-
userId?: number;
|
|
1025
|
-
answers: Answer[];
|
|
1026
|
-
questionnaire: Questionnaires;
|
|
1027
|
-
}
|
|
1028
|
-
export declare class Athlete extends BondBaseEntity {
|
|
1029
|
-
userId: number | null;
|
|
1030
|
-
metadata: object | null;
|
|
1031
|
-
athleteSports: AthleteSports[];
|
|
1032
|
-
}
|
|
1033
|
-
export declare class AthleteSports extends BondBaseEntity {
|
|
1034
|
-
athleteId: number | null;
|
|
1035
|
-
sports: number | null;
|
|
1036
|
-
levelOfPlay: LevelOfPlayEnum | null;
|
|
1037
|
-
}
|
|
1038
|
-
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
1039
|
-
membershipId: number;
|
|
1040
|
-
}
|
|
1041
|
-
export declare class ImportProductsFromDB {
|
|
1042
|
-
buDate: string;
|
|
1043
|
-
}
|
|
1044
|
-
export declare class ImportCustomerFromCSV {
|
|
1045
|
-
fileName: string;
|
|
1046
|
-
startIndex?: number;
|
|
1047
|
-
}
|
|
1048
|
-
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
1049
|
-
resolveInvoices: string;
|
|
1050
|
-
}
|
|
1051
|
-
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
1052
|
-
membershipId: number;
|
|
1053
|
-
onlyDashIds: string;
|
|
1054
|
-
}
|
|
1055
|
-
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
1056
|
-
facilityId: number;
|
|
1057
|
-
}
|
|
1058
|
-
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
1059
|
-
customerId: number;
|
|
1060
|
-
}
|
|
1061
|
-
export declare class ByOrganizationIdUserIdDto extends ByOrganizationIdDto {
|
|
1062
|
-
userId: number;
|
|
1063
|
-
}
|
|
1064
|
-
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
1065
|
-
nameSearch?: string;
|
|
1066
|
-
fuzzy?: string;
|
|
1067
|
-
customerType?: CustomerTypeEnum;
|
|
1068
|
-
customersIds?: string;
|
|
1069
|
-
}
|
|
1070
|
-
export declare class AddCustomerNotesDto {
|
|
1071
|
-
customerNotes: CustomerNoteDto[];
|
|
1072
|
-
}
|
|
1073
|
-
export declare class CustomerNoteDto {
|
|
1074
|
-
id?: number;
|
|
1075
|
-
description: string;
|
|
1076
|
-
pinToTop?: boolean;
|
|
1077
|
-
}
|
|
1078
|
-
export declare class AddEditCustomerDto {
|
|
1079
|
-
firstName?: string;
|
|
1080
|
-
lastName?: string;
|
|
1081
|
-
entityId?: number;
|
|
1082
|
-
entityType?: CustomerTypeEnum;
|
|
1083
|
-
email?: string;
|
|
1084
|
-
color?: string;
|
|
1085
|
-
street?: string;
|
|
1086
|
-
city?: string;
|
|
1087
|
-
state?: string;
|
|
1088
|
-
zip?: string;
|
|
1089
|
-
phoneNumber?: string;
|
|
1090
|
-
mainMediaId?: number;
|
|
1091
|
-
creatorId?: number;
|
|
1092
|
-
creatorType?: ResourceNameTypeEnum;
|
|
1093
|
-
userCreatorId?: number;
|
|
1094
|
-
gender?: GenderEnum;
|
|
1095
|
-
birthDate?: string;
|
|
1096
|
-
emergencyContactName?: string;
|
|
1097
|
-
emergencyContactPhone?: string;
|
|
1098
|
-
}
|
|
1099
|
-
export declare class BlockedDate extends BondBaseEntity {
|
|
1100
|
-
entityType: ResourceNameTypeEnum;
|
|
1101
|
-
entityId: number;
|
|
1102
|
-
name: string;
|
|
1103
1184
|
startDate: Date;
|
|
1104
1185
|
endDate: Date;
|
|
1105
|
-
|
|
1186
|
+
dayOfWeek: number;
|
|
1187
|
+
startTimeInDay: string;
|
|
1188
|
+
endTimeInDay: string;
|
|
1189
|
+
directBookingFor: DirectBookingTypesEnum;
|
|
1106
1190
|
}
|
|
1107
1191
|
export declare class Configuration extends BondBaseEntity {
|
|
1108
1192
|
area: string;
|
|
1109
1193
|
key: string;
|
|
1110
1194
|
value: string;
|
|
1111
1195
|
}
|
|
1196
|
+
export declare class Connection extends BondBaseEntity {
|
|
1197
|
+
connType: number | null;
|
|
1198
|
+
from: number | null;
|
|
1199
|
+
fromType: string | null;
|
|
1200
|
+
to: number | null;
|
|
1201
|
+
toType: string | null;
|
|
1202
|
+
status: number | null;
|
|
1203
|
+
creatorId: number | null;
|
|
1204
|
+
creatorType: string | null;
|
|
1205
|
+
userCreatorId: number | null;
|
|
1206
|
+
ownerId: number | null;
|
|
1207
|
+
}
|
|
1112
1208
|
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1113
1209
|
creditAmount: number;
|
|
1114
1210
|
paymentProcessorId: string;
|
|
@@ -1117,39 +1213,6 @@ export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
|
1117
1213
|
invoiceId: number;
|
|
1118
1214
|
creditPaymentId: number;
|
|
1119
1215
|
}
|
|
1120
|
-
export declare class BondBaseEntity extends BaseEntity {
|
|
1121
|
-
id: number;
|
|
1122
|
-
createdAt: Date;
|
|
1123
|
-
updatedAt: Date;
|
|
1124
|
-
}
|
|
1125
|
-
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1126
|
-
parentId: number;
|
|
1127
|
-
parentType: ResourceNameTypeEnum;
|
|
1128
|
-
startDate: Date;
|
|
1129
|
-
endDate: Date;
|
|
1130
|
-
dayOfWeek: number;
|
|
1131
|
-
startTimeInDay: string;
|
|
1132
|
-
endTimeInDay: string;
|
|
1133
|
-
directBookingFor: DirectBookingTypesEnum;
|
|
1134
|
-
}
|
|
1135
|
-
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1136
|
-
customerId: number;
|
|
1137
|
-
userId: number;
|
|
1138
|
-
amount: number;
|
|
1139
|
-
paymentId?: number;
|
|
1140
|
-
invoiceId?: number;
|
|
1141
|
-
description?: string;
|
|
1142
|
-
deletedAt?: Date;
|
|
1143
|
-
customer: Customer;
|
|
1144
|
-
invoice: Invoice;
|
|
1145
|
-
payment: Payment;
|
|
1146
|
-
}
|
|
1147
|
-
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1148
|
-
customerId?: number;
|
|
1149
|
-
description: string;
|
|
1150
|
-
pinToTop?: boolean;
|
|
1151
|
-
customer: Customer;
|
|
1152
|
-
}
|
|
1153
1216
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1154
1217
|
name: string | null;
|
|
1155
1218
|
entityId: number | null;
|
|
@@ -1178,25 +1241,23 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1178
1241
|
mainMedia: Media;
|
|
1179
1242
|
reservations?: Reservation[];
|
|
1180
1243
|
}
|
|
1181
|
-
export declare class
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
isDefault: boolean;
|
|
1187
|
-
groups: Group[];
|
|
1244
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1245
|
+
customerId?: number;
|
|
1246
|
+
description: string;
|
|
1247
|
+
pinToTop?: boolean;
|
|
1248
|
+
customer: Customer;
|
|
1188
1249
|
}
|
|
1189
|
-
export declare class
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1250
|
+
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1251
|
+
customerId: number;
|
|
1252
|
+
userId: number;
|
|
1253
|
+
amount: number;
|
|
1254
|
+
paymentId?: number;
|
|
1255
|
+
invoiceId?: number;
|
|
1256
|
+
description?: string;
|
|
1257
|
+
deletedAt?: Date;
|
|
1258
|
+
customer: Customer;
|
|
1259
|
+
invoice: Invoice;
|
|
1260
|
+
payment: Payment;
|
|
1200
1261
|
}
|
|
1201
1262
|
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1202
1263
|
customerId: number;
|
|
@@ -1204,6 +1265,21 @@ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
|
1204
1265
|
phoneNumber: string | null;
|
|
1205
1266
|
customer: Customer;
|
|
1206
1267
|
}
|
|
1268
|
+
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1269
|
+
name: string | null;
|
|
1270
|
+
}
|
|
1271
|
+
export declare class Division extends BondBaseEntity {
|
|
1272
|
+
name: string;
|
|
1273
|
+
ordinal?: number;
|
|
1274
|
+
programSeasonId: number;
|
|
1275
|
+
color: string;
|
|
1276
|
+
isDefault: boolean;
|
|
1277
|
+
groups: Group[];
|
|
1278
|
+
}
|
|
1279
|
+
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1280
|
+
groupId: number;
|
|
1281
|
+
terms: IEntitlementTerms[];
|
|
1282
|
+
}
|
|
1207
1283
|
export declare class EventAttendee extends BondBaseEntity {
|
|
1208
1284
|
status: RequestStatusEnum | null;
|
|
1209
1285
|
hasPaid: boolean | null;
|
|
@@ -1219,60 +1295,60 @@ export declare class EventAttendee extends BondBaseEntity {
|
|
|
1219
1295
|
event: Event;
|
|
1220
1296
|
purchasedResource: PurchasedResource;
|
|
1221
1297
|
}
|
|
1222
|
-
export declare class
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1298
|
+
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1299
|
+
constructor();
|
|
1300
|
+
defineCalculatedDateTimeProps(): void;
|
|
1301
|
+
title: string | null;
|
|
1302
|
+
description: string | null;
|
|
1303
|
+
eventType: number | null;
|
|
1304
|
+
startDate: Date | null;
|
|
1305
|
+
endDate: Date | null;
|
|
1306
|
+
price: number | null;
|
|
1307
|
+
venueName: string | null;
|
|
1308
|
+
status: EventStatusEnum;
|
|
1309
|
+
private: boolean | null;
|
|
1310
|
+
guestsCanInvite: boolean | null;
|
|
1311
|
+
venueId: number | null;
|
|
1312
|
+
addressId: number | null;
|
|
1313
|
+
participantsLimit: number | null;
|
|
1314
|
+
parentId: number | null;
|
|
1315
|
+
parentType: string | null;
|
|
1316
|
+
timezone: string | null;
|
|
1317
|
+
eventSubType: string | null;
|
|
1318
|
+
eventSubId: number | null;
|
|
1319
|
+
metaData: any | null;
|
|
1320
|
+
groupingId: string | null;
|
|
1321
|
+
redirectUri: string | null;
|
|
1322
|
+
externalId: string | null;
|
|
1323
|
+
paymentSettings: any | null;
|
|
1324
|
+
whoCanJoin: string | null;
|
|
1325
|
+
spaceId?: number;
|
|
1326
|
+
bookedSessionId: number | null;
|
|
1327
|
+
creatorId: number | null;
|
|
1328
|
+
creatorType: string | null;
|
|
1329
|
+
userCreatorId: number | null;
|
|
1330
|
+
ownerId: number | null;
|
|
1331
|
+
sports: number[] | null;
|
|
1332
|
+
isVerified: boolean | null;
|
|
1333
|
+
mainMediaId: number | null;
|
|
1334
|
+
minAge: number | null;
|
|
1335
|
+
maxAge: number | null;
|
|
1336
|
+
gender: number | null;
|
|
1337
|
+
questionnaireId: number | null;
|
|
1338
|
+
eventAttendees: EventAttendee[];
|
|
1339
|
+
deletedAt?: Date;
|
|
1340
|
+
spaces?: IBasicSpaceAndSlotCreator[];
|
|
1341
|
+
startDateString: string;
|
|
1342
|
+
endDateString: string;
|
|
1343
|
+
startTime: string;
|
|
1344
|
+
endTime: string;
|
|
1345
|
+
publicNotes?: string;
|
|
1346
|
+
privateNotes?: string;
|
|
1347
|
+
productResources: ProductResource[];
|
|
1348
|
+
parentSession: ProgramSeason;
|
|
1349
|
+
activityTimes: ActivityTimes[];
|
|
1350
|
+
slots: Slot[];
|
|
1351
|
+
purchasedResources: PurchasedResource[];
|
|
1276
1352
|
}
|
|
1277
1353
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1278
1354
|
name: string;
|
|
@@ -1298,8 +1374,9 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1298
1374
|
programSeasons: ProgramSeason[];
|
|
1299
1375
|
linkSEO: string;
|
|
1300
1376
|
}
|
|
1301
|
-
export declare class
|
|
1302
|
-
|
|
1377
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
1378
|
+
facilityId: number;
|
|
1379
|
+
resourceId: number;
|
|
1303
1380
|
}
|
|
1304
1381
|
export declare class FamilyAccount extends BondBaseEntity {
|
|
1305
1382
|
name: string | null;
|
|
@@ -1308,23 +1385,15 @@ export declare class FamilyAccount extends BondBaseEntity {
|
|
|
1308
1385
|
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1309
1386
|
code: string;
|
|
1310
1387
|
}
|
|
1311
|
-
export declare class
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
percentage?: number;
|
|
1321
|
-
status?: string;
|
|
1322
|
-
originalSessionId?: number;
|
|
1323
|
-
isFinal?: boolean;
|
|
1324
|
-
concurrent?: number;
|
|
1325
|
-
deletedAt?: Date;
|
|
1326
|
-
publicNotes?: string;
|
|
1327
|
-
slotType?: SlotTypeEnum;
|
|
1388
|
+
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1389
|
+
userId: number;
|
|
1390
|
+
invoiceId: number;
|
|
1391
|
+
paymentMethodId: string;
|
|
1392
|
+
paymentType: PaymentMethodTypeEnum;
|
|
1393
|
+
price: number;
|
|
1394
|
+
status: FutureInstallmentStatusEnum;
|
|
1395
|
+
plannedDate: Date;
|
|
1396
|
+
chargedAt?: Date;
|
|
1328
1397
|
}
|
|
1329
1398
|
export declare class Group extends BondBaseEntity {
|
|
1330
1399
|
name: string;
|
|
@@ -1360,6 +1429,39 @@ export declare class GroupsInDivisions extends BondBaseEntity {
|
|
|
1360
1429
|
divisionId: number;
|
|
1361
1430
|
deletedAt?: Date;
|
|
1362
1431
|
}
|
|
1432
|
+
export declare class Invoice extends BondBaseEntity {
|
|
1433
|
+
invoiceId: string | null;
|
|
1434
|
+
price: number | null;
|
|
1435
|
+
status: InvoiceStatusEnum | null;
|
|
1436
|
+
sentForClientDate: Date | null;
|
|
1437
|
+
payingUserId?: number | null;
|
|
1438
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
1439
|
+
lineItems: LineItems[];
|
|
1440
|
+
lineItemHistory: LineItemHistory[];
|
|
1441
|
+
paymentStatus: PaymentStatusEnum;
|
|
1442
|
+
paymentMethodId?: string;
|
|
1443
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
1444
|
+
paidAmount: number;
|
|
1445
|
+
currency: CurrencyEnum;
|
|
1446
|
+
mainPaymentId: number;
|
|
1447
|
+
isScheduled: boolean;
|
|
1448
|
+
isRefunded: boolean;
|
|
1449
|
+
isVoided: boolean;
|
|
1450
|
+
creatingUserId: number;
|
|
1451
|
+
shiftId: number;
|
|
1452
|
+
platform: PlatformsEnum;
|
|
1453
|
+
invoiceNotes: InvoiceNote[];
|
|
1454
|
+
slots: Slot[];
|
|
1455
|
+
}
|
|
1456
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1457
|
+
content: string;
|
|
1458
|
+
creatingUserId: number;
|
|
1459
|
+
user: User;
|
|
1460
|
+
isPublic: boolean;
|
|
1461
|
+
deletedAt: Date;
|
|
1462
|
+
invoiceId: number;
|
|
1463
|
+
invoice: Invoice;
|
|
1464
|
+
}
|
|
1363
1465
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1364
1466
|
email: string;
|
|
1365
1467
|
status: EEmailStatus;
|
|
@@ -1371,83 +1473,27 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1371
1473
|
mailParams?: any;
|
|
1372
1474
|
memo?: string;
|
|
1373
1475
|
}
|
|
1374
|
-
export declare class
|
|
1375
|
-
content: string;
|
|
1376
|
-
creatingUserId: number;
|
|
1377
|
-
user: User;
|
|
1378
|
-
isPublic: boolean;
|
|
1379
|
-
deletedAt: Date;
|
|
1476
|
+
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1380
1477
|
invoiceId: number;
|
|
1478
|
+
paymentId: number;
|
|
1381
1479
|
invoice: Invoice;
|
|
1480
|
+
payment: Payment;
|
|
1481
|
+
paidAmount?: number;
|
|
1482
|
+
currency: CurrencyEnum;
|
|
1382
1483
|
}
|
|
1383
|
-
export declare class
|
|
1384
|
-
|
|
1385
|
-
defineCalculatedDateTimeProps(): void;
|
|
1386
|
-
title: string | null;
|
|
1484
|
+
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1485
|
+
name: string | null;
|
|
1387
1486
|
description: string | null;
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
status: EventStatusEnum;
|
|
1394
|
-
private: boolean | null;
|
|
1395
|
-
guestsCanInvite: boolean | null;
|
|
1396
|
-
venueId: number | null;
|
|
1397
|
-
addressId: number | null;
|
|
1398
|
-
participantsLimit: number | null;
|
|
1399
|
-
parentId: number | null;
|
|
1400
|
-
parentType: string | null;
|
|
1487
|
+
allowBookingRequest: boolean | null;
|
|
1488
|
+
addressName: string | null;
|
|
1489
|
+
shortDescription: string | null;
|
|
1490
|
+
waiverDoc: string | null;
|
|
1491
|
+
bookingStateStatus: number | null;
|
|
1401
1492
|
timezone: string | null;
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
redirectUri: string | null;
|
|
1407
|
-
externalId: string | null;
|
|
1408
|
-
paymentSettings: any | null;
|
|
1409
|
-
whoCanJoin: string | null;
|
|
1410
|
-
spaceId?: number;
|
|
1411
|
-
bookedSessionId: number | null;
|
|
1412
|
-
creatorId: number | null;
|
|
1413
|
-
creatorType: string | null;
|
|
1414
|
-
userCreatorId: number | null;
|
|
1415
|
-
ownerId: number | null;
|
|
1416
|
-
sports: number[] | null;
|
|
1417
|
-
isVerified: boolean | null;
|
|
1418
|
-
mainMediaId: number | null;
|
|
1419
|
-
minAge: number | null;
|
|
1420
|
-
maxAge: number | null;
|
|
1421
|
-
gender: number | null;
|
|
1422
|
-
questionnaireId: number | null;
|
|
1423
|
-
eventAttendees: EventAttendee[];
|
|
1424
|
-
deletedAt?: Date;
|
|
1425
|
-
spaces?: IBasicSpaceAndSlotCreator[];
|
|
1426
|
-
startDateString: string;
|
|
1427
|
-
endDateString: string;
|
|
1428
|
-
startTime: string;
|
|
1429
|
-
endTime: string;
|
|
1430
|
-
publicNotes?: string;
|
|
1431
|
-
privateNotes?: string;
|
|
1432
|
-
productResources: ProductResource[];
|
|
1433
|
-
parentSession: ProgramSeason;
|
|
1434
|
-
activityTimes: ActivityTimes[];
|
|
1435
|
-
slots: Slot[];
|
|
1436
|
-
purchasedResources: PurchasedResource[];
|
|
1437
|
-
}
|
|
1438
|
-
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1439
|
-
name: string | null;
|
|
1440
|
-
description: string | null;
|
|
1441
|
-
allowBookingRequest: boolean | null;
|
|
1442
|
-
addressName: string | null;
|
|
1443
|
-
shortDescription: string | null;
|
|
1444
|
-
waiverDoc: string | null;
|
|
1445
|
-
bookingStateStatus: number | null;
|
|
1446
|
-
timezone: string | null;
|
|
1447
|
-
shortUrl: string | null;
|
|
1448
|
-
leagueType: string | null;
|
|
1449
|
-
addressId: number | null;
|
|
1450
|
-
sportConfigData: any | null;
|
|
1493
|
+
shortUrl: string | null;
|
|
1494
|
+
leagueType: string | null;
|
|
1495
|
+
addressId: number | null;
|
|
1496
|
+
sportConfigData: any | null;
|
|
1451
1497
|
creatorId: number | null;
|
|
1452
1498
|
creatorType: string | null;
|
|
1453
1499
|
userCreatorId: number | null;
|
|
@@ -1505,52 +1551,15 @@ export declare class LeagueSeasonRelations {
|
|
|
1505
1551
|
league?: boolean;
|
|
1506
1552
|
facilities?: boolean;
|
|
1507
1553
|
}
|
|
1508
|
-
export declare class
|
|
1509
|
-
membership: Membership;
|
|
1510
|
-
membershipId: number;
|
|
1511
|
-
productUserId: number;
|
|
1512
|
-
productUser?: ProductsUsers;
|
|
1513
|
-
userId: number;
|
|
1514
|
-
membershipType: MembershipTypeEnum;
|
|
1515
|
-
durationMonths?: number;
|
|
1516
|
-
startDate?: string;
|
|
1517
|
-
endDate?: string;
|
|
1518
|
-
renewalOfMemberId?: number;
|
|
1519
|
-
isAutoRenew?: boolean;
|
|
1520
|
-
nextPaymentMethodId?: string;
|
|
1521
|
-
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1522
|
-
answerTitleIds?: number[];
|
|
1523
|
-
cancelledAt?: Date | null;
|
|
1524
|
-
cancellationReason?: string;
|
|
1525
|
-
cancellationStatus?: CancellationStatusEnum;
|
|
1526
|
-
isImported?: boolean;
|
|
1527
|
-
}
|
|
1528
|
-
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1554
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1529
1555
|
invoiceId: number;
|
|
1530
1556
|
paymentId: number;
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1557
|
+
lineItemId: number;
|
|
1558
|
+
paidAmount: number;
|
|
1559
|
+
unitPaidAmount: number;
|
|
1534
1560
|
currency: CurrencyEnum;
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
url: string;
|
|
1538
|
-
name: string | null;
|
|
1539
|
-
title: string | null;
|
|
1540
|
-
mediaKey: string | null;
|
|
1541
|
-
description: string | null;
|
|
1542
|
-
provider: string | null;
|
|
1543
|
-
mediaType: number;
|
|
1544
|
-
fileType: string | null;
|
|
1545
|
-
isDefault: boolean | null;
|
|
1546
|
-
creatorId: number | null;
|
|
1547
|
-
creatorType: string | null;
|
|
1548
|
-
userCreatorId: number | null;
|
|
1549
|
-
ownerId: number | null;
|
|
1550
|
-
createdBy: number | null;
|
|
1551
|
-
users: User[];
|
|
1552
|
-
programs: Program[];
|
|
1553
|
-
memberships: Membership[];
|
|
1561
|
+
payment: Payment;
|
|
1562
|
+
lineItem: LineItems;
|
|
1554
1563
|
}
|
|
1555
1564
|
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1556
1565
|
id: number;
|
|
@@ -1596,22 +1605,6 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
1596
1605
|
isAutoRenew?: boolean;
|
|
1597
1606
|
purchasedResources: PurchasedResource[];
|
|
1598
1607
|
}
|
|
1599
|
-
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1600
|
-
userId: number;
|
|
1601
|
-
invoiceId: number;
|
|
1602
|
-
paymentMethodId: string;
|
|
1603
|
-
paymentType: PaymentMethodTypeEnum;
|
|
1604
|
-
price: number;
|
|
1605
|
-
status: FutureInstallmentStatusEnum;
|
|
1606
|
-
plannedDate: Date;
|
|
1607
|
-
chargedAt?: Date;
|
|
1608
|
-
}
|
|
1609
|
-
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1610
|
-
email: string | null;
|
|
1611
|
-
notificationType: NotificationTypeEnum | null;
|
|
1612
|
-
resourceId: number | null;
|
|
1613
|
-
resourceType: string | null;
|
|
1614
|
-
}
|
|
1615
1608
|
export declare class LineItems extends BondBaseEntity {
|
|
1616
1609
|
constructor();
|
|
1617
1610
|
defineIsReverted(): void;
|
|
@@ -1667,6 +1660,51 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1667
1660
|
displayUnitPrice?: number;
|
|
1668
1661
|
displayQuantity?: number;
|
|
1669
1662
|
}
|
|
1663
|
+
export declare class Media extends BondBaseEntity {
|
|
1664
|
+
url: string;
|
|
1665
|
+
name: string | null;
|
|
1666
|
+
title: string | null;
|
|
1667
|
+
mediaKey: string | null;
|
|
1668
|
+
description: string | null;
|
|
1669
|
+
provider: string | null;
|
|
1670
|
+
mediaType: number;
|
|
1671
|
+
fileType: string | null;
|
|
1672
|
+
isDefault: boolean | null;
|
|
1673
|
+
creatorId: number | null;
|
|
1674
|
+
creatorType: string | null;
|
|
1675
|
+
userCreatorId: number | null;
|
|
1676
|
+
ownerId: number | null;
|
|
1677
|
+
createdBy: number | null;
|
|
1678
|
+
users: User[];
|
|
1679
|
+
programs: Program[];
|
|
1680
|
+
memberships: Membership[];
|
|
1681
|
+
}
|
|
1682
|
+
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1683
|
+
membership: Membership;
|
|
1684
|
+
membershipId: number;
|
|
1685
|
+
productUserId: number;
|
|
1686
|
+
productUser?: ProductsUsers;
|
|
1687
|
+
userId: number;
|
|
1688
|
+
membershipType: MembershipTypeEnum;
|
|
1689
|
+
durationMonths?: number;
|
|
1690
|
+
startDate?: string;
|
|
1691
|
+
endDate?: string;
|
|
1692
|
+
renewalOfMemberId?: number;
|
|
1693
|
+
isAutoRenew?: boolean;
|
|
1694
|
+
nextPaymentMethodId?: string;
|
|
1695
|
+
nextPaymentType?: PaymentMethodTypeEnum;
|
|
1696
|
+
answerTitleIds?: number[];
|
|
1697
|
+
cancelledAt?: Date | null;
|
|
1698
|
+
cancellationReason?: string;
|
|
1699
|
+
cancellationStatus?: CancellationStatusEnum;
|
|
1700
|
+
isImported?: boolean;
|
|
1701
|
+
}
|
|
1702
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1703
|
+
email: string | null;
|
|
1704
|
+
notificationType: NotificationTypeEnum | null;
|
|
1705
|
+
resourceId: number | null;
|
|
1706
|
+
resourceType: string | null;
|
|
1707
|
+
}
|
|
1670
1708
|
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1671
1709
|
id: number;
|
|
1672
1710
|
dayOfWeek: number;
|
|
@@ -1678,12 +1716,59 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
|
1678
1716
|
deletedAt?: Date;
|
|
1679
1717
|
facility: Facility;
|
|
1680
1718
|
}
|
|
1719
|
+
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1720
|
+
organizationId: number;
|
|
1721
|
+
}
|
|
1722
|
+
export declare class PackageV1 extends BondBaseEntity {
|
|
1723
|
+
name?: string;
|
|
1724
|
+
description?: string;
|
|
1725
|
+
price: number;
|
|
1726
|
+
status: string;
|
|
1727
|
+
percentage: number;
|
|
1728
|
+
quantity: number;
|
|
1729
|
+
duration: number;
|
|
1730
|
+
organizationId: number;
|
|
1731
|
+
creatorId: number;
|
|
1732
|
+
creatorType: string;
|
|
1733
|
+
userCreatorId: number;
|
|
1734
|
+
ownerId: number;
|
|
1735
|
+
addon: boolean;
|
|
1736
|
+
isMandatory: boolean;
|
|
1737
|
+
productId: number;
|
|
1738
|
+
}
|
|
1681
1739
|
export declare class PasswordReset extends BondBaseEntity {
|
|
1682
1740
|
token: string | null;
|
|
1683
1741
|
userId: number | null;
|
|
1684
1742
|
validUntil: Date | null;
|
|
1685
1743
|
active: boolean | null;
|
|
1686
1744
|
}
|
|
1745
|
+
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1746
|
+
price: number;
|
|
1747
|
+
paymentProcessorId: string;
|
|
1748
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
1749
|
+
paymentStatus: PaymentStatusEnum;
|
|
1750
|
+
bondFee?: number;
|
|
1751
|
+
stripeFee?: number;
|
|
1752
|
+
currency: CurrencyEnum;
|
|
1753
|
+
payingUserId?: number;
|
|
1754
|
+
paymentMethodId?: string;
|
|
1755
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
1756
|
+
fundLeft: number;
|
|
1757
|
+
notes?: string;
|
|
1758
|
+
isRefunded: boolean;
|
|
1759
|
+
lineItemHistory: LineItemHistory[];
|
|
1760
|
+
receiptUrl?: string;
|
|
1761
|
+
paymentProcessorTransactionId?: string;
|
|
1762
|
+
creatingUserId: number;
|
|
1763
|
+
shiftId: number;
|
|
1764
|
+
platform: PlatformsEnum;
|
|
1765
|
+
ccLast4: string;
|
|
1766
|
+
ccBrand: string;
|
|
1767
|
+
paymentNotes: PaymentNote[];
|
|
1768
|
+
parentInvoiceId?: number;
|
|
1769
|
+
refundReasonId?: number;
|
|
1770
|
+
refundNote?: string;
|
|
1771
|
+
}
|
|
1687
1772
|
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1688
1773
|
content: string;
|
|
1689
1774
|
creatingUserId: number;
|
|
@@ -1693,22 +1778,11 @@ export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
|
1693
1778
|
paymentId: number;
|
|
1694
1779
|
payment: Payment;
|
|
1695
1780
|
}
|
|
1696
|
-
export declare class
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
resourceId: number;
|
|
1702
|
-
}
|
|
1703
|
-
export declare class LineItemHistory extends BondBaseEntity {
|
|
1704
|
-
invoiceId: number;
|
|
1705
|
-
paymentId: number;
|
|
1706
|
-
lineItemId: number;
|
|
1707
|
-
paidAmount: number;
|
|
1708
|
-
unitPaidAmount: number;
|
|
1709
|
-
currency: CurrencyEnum;
|
|
1710
|
-
payment: Payment;
|
|
1711
|
-
lineItem: LineItems;
|
|
1781
|
+
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1782
|
+
paymentPlanId: number;
|
|
1783
|
+
paymentDate: Date;
|
|
1784
|
+
deletedAt?: Date;
|
|
1785
|
+
paymentPlan: ProductPaymentPlan;
|
|
1712
1786
|
}
|
|
1713
1787
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1714
1788
|
userId: number | null;
|
|
@@ -1745,23 +1819,6 @@ export declare class Price extends OrganizationConnectionBaseEntity {
|
|
|
1745
1819
|
discountValue?: number;
|
|
1746
1820
|
taxIncludedPrice?: number;
|
|
1747
1821
|
}
|
|
1748
|
-
export declare class PackageV1 extends BondBaseEntity {
|
|
1749
|
-
name?: string;
|
|
1750
|
-
description?: string;
|
|
1751
|
-
price: number;
|
|
1752
|
-
status: string;
|
|
1753
|
-
percentage: number;
|
|
1754
|
-
quantity: number;
|
|
1755
|
-
duration: number;
|
|
1756
|
-
organizationId: number;
|
|
1757
|
-
creatorId: number;
|
|
1758
|
-
creatorType: string;
|
|
1759
|
-
userCreatorId: number;
|
|
1760
|
-
ownerId: number;
|
|
1761
|
-
addon: boolean;
|
|
1762
|
-
isMandatory: boolean;
|
|
1763
|
-
productId: number;
|
|
1764
|
-
}
|
|
1765
1822
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1766
1823
|
name: string;
|
|
1767
1824
|
quantity: number;
|
|
@@ -1812,6 +1869,21 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1812
1869
|
activityTimes: ActivityTimes[];
|
|
1813
1870
|
purchasedResources: PurchasedResource[];
|
|
1814
1871
|
}
|
|
1872
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1873
|
+
parentProductId: number;
|
|
1874
|
+
childProductId: number;
|
|
1875
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1876
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1877
|
+
deletedAt?: Date;
|
|
1878
|
+
productResource: ProductResource;
|
|
1879
|
+
childProduct: Product;
|
|
1880
|
+
parentProduct: Product;
|
|
1881
|
+
price: number;
|
|
1882
|
+
isFlatPrice: boolean;
|
|
1883
|
+
durationMinutes?: number;
|
|
1884
|
+
durationDays?: number;
|
|
1885
|
+
level?: ProductPackageLevelEnum;
|
|
1886
|
+
}
|
|
1815
1887
|
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1816
1888
|
productId: number;
|
|
1817
1889
|
maxMonths?: number;
|
|
@@ -1832,47 +1904,20 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1832
1904
|
productPackages: ProductPackage[];
|
|
1833
1905
|
resourceName?: string;
|
|
1834
1906
|
}
|
|
1835
|
-
export declare class
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
1839
|
-
timePeriod: AddonTimePeriodEnum;
|
|
1840
|
-
deletedAt?: Date;
|
|
1841
|
-
productResource: ProductResource;
|
|
1842
|
-
childProduct: Product;
|
|
1843
|
-
parentProduct: Product;
|
|
1844
|
-
price: number;
|
|
1845
|
-
isFlatPrice: boolean;
|
|
1846
|
-
durationMinutes?: number;
|
|
1847
|
-
durationDays?: number;
|
|
1848
|
-
level?: ProductPackageLevelEnum;
|
|
1907
|
+
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1908
|
+
productId: number;
|
|
1909
|
+
variantTitleId: number;
|
|
1849
1910
|
}
|
|
1850
|
-
export declare class
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1861
|
-
fundLeft: number;
|
|
1862
|
-
notes?: string;
|
|
1863
|
-
isRefunded: boolean;
|
|
1864
|
-
lineItemHistory: LineItemHistory[];
|
|
1865
|
-
receiptUrl?: string;
|
|
1866
|
-
paymentProcessorTransactionId?: string;
|
|
1867
|
-
creatingUserId: number;
|
|
1868
|
-
shiftId: number;
|
|
1869
|
-
platform: PlatformsEnum;
|
|
1870
|
-
ccLast4: string;
|
|
1871
|
-
ccBrand: string;
|
|
1872
|
-
paymentNotes: PaymentNote[];
|
|
1873
|
-
parentInvoiceId?: number;
|
|
1874
|
-
refundReasonId?: number;
|
|
1875
|
-
refundNote?: string;
|
|
1911
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1912
|
+
productId: number;
|
|
1913
|
+
customerId: number;
|
|
1914
|
+
customer: Customer;
|
|
1915
|
+
deletedAt?: Date;
|
|
1916
|
+
product: Product;
|
|
1917
|
+
}
|
|
1918
|
+
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1919
|
+
productId: number;
|
|
1920
|
+
variantId: number;
|
|
1876
1921
|
}
|
|
1877
1922
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1878
1923
|
productId: number;
|
|
@@ -1913,6 +1958,14 @@ export declare class Program extends BondBaseEntity {
|
|
|
1913
1958
|
programSeason: ProgramSeason[];
|
|
1914
1959
|
purchasedResources: PurchasedResource[];
|
|
1915
1960
|
}
|
|
1961
|
+
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1962
|
+
type: ProgramHighlightTypeEnum;
|
|
1963
|
+
ordinal: number | null;
|
|
1964
|
+
title: string | null;
|
|
1965
|
+
data: any | null;
|
|
1966
|
+
program: Program;
|
|
1967
|
+
deletedAt?: Date;
|
|
1968
|
+
}
|
|
1916
1969
|
export declare class ProgramSeason extends BondBaseEntity {
|
|
1917
1970
|
programId: number;
|
|
1918
1971
|
name: string;
|
|
@@ -1953,6 +2006,7 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
1953
2006
|
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
1954
2007
|
program: Program;
|
|
1955
2008
|
spaces?: Resource[];
|
|
2009
|
+
reservationId?: number;
|
|
1956
2010
|
earlyRegistrationStartDate?: Date;
|
|
1957
2011
|
earlyRegistrationEndDate?: Date;
|
|
1958
2012
|
lateRegistrationStartDate?: Date;
|
|
@@ -1967,53 +2021,6 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
1967
2021
|
facility: Facility;
|
|
1968
2022
|
purchasedResources: PurchasedResource[];
|
|
1969
2023
|
}
|
|
1970
|
-
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1971
|
-
productId: number;
|
|
1972
|
-
variantTitleId: number;
|
|
1973
|
-
}
|
|
1974
|
-
export declare class Invoice extends BondBaseEntity {
|
|
1975
|
-
invoiceId: string | null;
|
|
1976
|
-
price: number | null;
|
|
1977
|
-
status: InvoiceStatusEnum | null;
|
|
1978
|
-
sentForClientDate: Date | null;
|
|
1979
|
-
payingUserId?: number | null;
|
|
1980
|
-
invoiceToPayments: InvoiceToPayment[];
|
|
1981
|
-
lineItems: LineItems[];
|
|
1982
|
-
lineItemHistory: LineItemHistory[];
|
|
1983
|
-
paymentStatus: PaymentStatusEnum;
|
|
1984
|
-
paymentMethodId?: string;
|
|
1985
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1986
|
-
paidAmount: number;
|
|
1987
|
-
currency: CurrencyEnum;
|
|
1988
|
-
mainPaymentId: number;
|
|
1989
|
-
isScheduled: boolean;
|
|
1990
|
-
isRefunded: boolean;
|
|
1991
|
-
isVoided: boolean;
|
|
1992
|
-
creatingUserId: number;
|
|
1993
|
-
shiftId: number;
|
|
1994
|
-
platform: PlatformsEnum;
|
|
1995
|
-
invoiceNotes: InvoiceNote[];
|
|
1996
|
-
slots: Slot[];
|
|
1997
|
-
}
|
|
1998
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
1999
|
-
title: string | null;
|
|
2000
|
-
answerTitle: AnswerTitle;
|
|
2001
|
-
}
|
|
2002
|
-
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2003
|
-
resourceType: ResourceNameTypeEnum;
|
|
2004
|
-
resourceId: number;
|
|
2005
|
-
openNumDays?: number;
|
|
2006
|
-
openNumMinutes?: number;
|
|
2007
|
-
openTime?: string;
|
|
2008
|
-
closeNumDays?: number;
|
|
2009
|
-
closeNumMinutes?: number;
|
|
2010
|
-
closeTime?: string;
|
|
2011
|
-
deletedAt?: Date;
|
|
2012
|
-
}
|
|
2013
|
-
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
2014
|
-
productId: number;
|
|
2015
|
-
variantId: number;
|
|
2016
|
-
}
|
|
2017
2024
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2018
2025
|
productUserId: number;
|
|
2019
2026
|
resourceId: number;
|
|
@@ -2036,39 +2043,40 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
2036
2043
|
product?: Product;
|
|
2037
2044
|
event?: Event;
|
|
2038
2045
|
}
|
|
2039
|
-
export declare class
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
ages?: ResourceAgesEnum;
|
|
2057
|
-
deletedAt?: Date;
|
|
2058
|
-
activityTimes: ActivityTimes[];
|
|
2059
|
-
facilities: Facility[];
|
|
2060
|
-
slots?: Slot[];
|
|
2061
|
-
addons?: Addon[];
|
|
2062
|
-
facilityId: number;
|
|
2063
|
-
facility: Facility;
|
|
2064
|
-
purchasedResources: PurchasedResource[];
|
|
2065
|
-
linkSEO: string;
|
|
2046
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2047
|
+
title: string | null;
|
|
2048
|
+
answerTitle: AnswerTitle;
|
|
2049
|
+
}
|
|
2050
|
+
export declare class Questions extends BondBaseEntity {
|
|
2051
|
+
questionType: string | null;
|
|
2052
|
+
ordinal: number | null;
|
|
2053
|
+
pageOrdinal: number | null;
|
|
2054
|
+
isActive: boolean | null;
|
|
2055
|
+
isMandatory: boolean | null;
|
|
2056
|
+
metaData: any | null;
|
|
2057
|
+
question: string | null;
|
|
2058
|
+
creatorId: number | null;
|
|
2059
|
+
creatorType: string | null;
|
|
2060
|
+
userCreatorId: number | null;
|
|
2061
|
+
ownerId: number | null;
|
|
2062
|
+
questionnaireId: number | null;
|
|
2066
2063
|
}
|
|
2067
2064
|
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2068
2065
|
reason: string;
|
|
2069
2066
|
ordinal: number;
|
|
2070
2067
|
deletedAt: Date;
|
|
2071
2068
|
}
|
|
2069
|
+
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2070
|
+
resourceType: ResourceNameTypeEnum;
|
|
2071
|
+
resourceId: number;
|
|
2072
|
+
openNumDays?: number;
|
|
2073
|
+
openNumMinutes?: number;
|
|
2074
|
+
openTime?: string;
|
|
2075
|
+
closeNumDays?: number;
|
|
2076
|
+
closeNumMinutes?: number;
|
|
2077
|
+
closeTime?: string;
|
|
2078
|
+
deletedAt?: Date;
|
|
2079
|
+
}
|
|
2072
2080
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2073
2081
|
name?: string;
|
|
2074
2082
|
description?: string;
|
|
@@ -2101,12 +2109,11 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2101
2109
|
publicNotes?: string;
|
|
2102
2110
|
slots?: Slot[];
|
|
2103
2111
|
}
|
|
2104
|
-
export declare class
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
program: Program;
|
|
2112
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2113
|
+
name: string;
|
|
2114
|
+
facilityId: number;
|
|
2115
|
+
parentSlotId: number;
|
|
2116
|
+
childrenSlotIds: number[];
|
|
2110
2117
|
deletedAt?: Date;
|
|
2111
2118
|
}
|
|
2112
2119
|
export declare class School extends BondBaseEntity {
|
|
@@ -2117,12 +2124,33 @@ export declare class School extends BondBaseEntity {
|
|
|
2117
2124
|
phone: string | null;
|
|
2118
2125
|
dataId: number | null;
|
|
2119
2126
|
}
|
|
2120
|
-
export declare class
|
|
2127
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2121
2128
|
name: string;
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2129
|
+
resourceType: ResourceTypeEnum;
|
|
2130
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
2131
|
+
description?: string;
|
|
2132
|
+
longDescription?: string;
|
|
2133
|
+
surface?: SurfacesEnum;
|
|
2134
|
+
properties?: SpacePropertiesEnum[];
|
|
2135
|
+
mainMediaId?: number;
|
|
2136
|
+
mainMedia: Media;
|
|
2137
|
+
sports: SportsEnum[];
|
|
2138
|
+
width?: number;
|
|
2139
|
+
length?: number;
|
|
2140
|
+
amenities?: AmenitiesEnum[];
|
|
2141
|
+
parentSpaceId?: number;
|
|
2142
|
+
ordinal?: number;
|
|
2143
|
+
isAddOn: boolean;
|
|
2144
|
+
ages?: ResourceAgesEnum;
|
|
2125
2145
|
deletedAt?: Date;
|
|
2146
|
+
activityTimes: ActivityTimes[];
|
|
2147
|
+
facilities: Facility[];
|
|
2148
|
+
slots?: Slot[];
|
|
2149
|
+
addons?: Addon[];
|
|
2150
|
+
facilityId: number;
|
|
2151
|
+
facility: Facility;
|
|
2152
|
+
purchasedResources: PurchasedResource[];
|
|
2153
|
+
linkSEO: string;
|
|
2126
2154
|
}
|
|
2127
2155
|
export declare class SeasonAttendee extends BondBaseEntity {
|
|
2128
2156
|
status: RequestStatusEnum;
|
|
@@ -2138,6 +2166,27 @@ export declare class SeasonAttendee extends BondBaseEntity {
|
|
|
2138
2166
|
deletedAt?: Date;
|
|
2139
2167
|
purchasedResource: PurchasedResource;
|
|
2140
2168
|
}
|
|
2169
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2170
|
+
name: string | null;
|
|
2171
|
+
ordinal: number | null;
|
|
2172
|
+
seasonId: number | null;
|
|
2173
|
+
color: string | null;
|
|
2174
|
+
}
|
|
2175
|
+
export declare class SeasonPool extends BondBaseEntity {
|
|
2176
|
+
seasonId?: number;
|
|
2177
|
+
userId?: number;
|
|
2178
|
+
status?: number;
|
|
2179
|
+
entityId?: number;
|
|
2180
|
+
entityType?: string;
|
|
2181
|
+
groupId?: string;
|
|
2182
|
+
paymentStatus?: PaymentStatusV1Enum;
|
|
2183
|
+
metadata?: any;
|
|
2184
|
+
paymentId?: number;
|
|
2185
|
+
externalAssign?: boolean;
|
|
2186
|
+
productUserId?: number;
|
|
2187
|
+
purchasedResource: PurchasedResource;
|
|
2188
|
+
season: LeagueSeason;
|
|
2189
|
+
}
|
|
2141
2190
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2142
2191
|
seasonId: number | null;
|
|
2143
2192
|
teamId: number | null;
|
|
@@ -2148,6 +2197,21 @@ export declare class SeasonTeam extends BondBaseEntity {
|
|
|
2148
2197
|
metaData: any | null;
|
|
2149
2198
|
team: Team;
|
|
2150
2199
|
}
|
|
2200
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2201
|
+
blockingSpaceId: number;
|
|
2202
|
+
blockedSpaceId: number;
|
|
2203
|
+
}
|
|
2204
|
+
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2205
|
+
name: string;
|
|
2206
|
+
facilityId: number;
|
|
2207
|
+
processorTerminalId: string | null;
|
|
2208
|
+
terminaLabel: string | null;
|
|
2209
|
+
processorSerialNumber: string | null;
|
|
2210
|
+
currentOpenShift?: Shift;
|
|
2211
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2212
|
+
subcategories: Subcategory[];
|
|
2213
|
+
shifts?: Shift[];
|
|
2214
|
+
}
|
|
2151
2215
|
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2152
2216
|
stationId: number;
|
|
2153
2217
|
subcategoryId: number;
|
|
@@ -2164,26 +2228,6 @@ export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
|
2164
2228
|
stationToSubcategories: StationToSubcategory[];
|
|
2165
2229
|
stations: Station[];
|
|
2166
2230
|
}
|
|
2167
|
-
export declare class TeamMember extends BondBaseEntity {
|
|
2168
|
-
teamId: number | null;
|
|
2169
|
-
userId: number | null;
|
|
2170
|
-
paymentId: number | null;
|
|
2171
|
-
hasPaid: boolean | null;
|
|
2172
|
-
status: TeamMemberStatusEnum | null;
|
|
2173
|
-
role: TeamMemberRoleEnum;
|
|
2174
|
-
user: User;
|
|
2175
|
-
}
|
|
2176
|
-
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2177
|
-
name: string;
|
|
2178
|
-
facilityId: number;
|
|
2179
|
-
processorTerminalId: string | null;
|
|
2180
|
-
terminaLabel: string | null;
|
|
2181
|
-
processorSerialNumber: string | null;
|
|
2182
|
-
currentOpenShift?: Shift;
|
|
2183
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2184
|
-
subcategories: Subcategory[];
|
|
2185
|
-
shifts?: Shift[];
|
|
2186
|
-
}
|
|
2187
2231
|
export declare class Team extends BondBaseEntity {
|
|
2188
2232
|
name: string | null;
|
|
2189
2233
|
description: string | null;
|
|
@@ -2218,12 +2262,30 @@ export declare class Team extends BondBaseEntity {
|
|
|
2218
2262
|
gender: number | null;
|
|
2219
2263
|
questionnaireId: number | null;
|
|
2220
2264
|
}
|
|
2221
|
-
export declare class
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2265
|
+
export declare class TeamInvite extends BondBaseEntity {
|
|
2266
|
+
email: string;
|
|
2267
|
+
teamId: number;
|
|
2268
|
+
invitedUserId?: number;
|
|
2269
|
+
userCreatorId: number;
|
|
2270
|
+
token: string;
|
|
2271
|
+
tokenExpirationDate: Date;
|
|
2272
|
+
isUsed: boolean;
|
|
2273
|
+
}
|
|
2274
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2275
|
+
teamId: number | null;
|
|
2276
|
+
userId: number | null;
|
|
2277
|
+
paymentId: number | null;
|
|
2278
|
+
hasPaid: boolean | null;
|
|
2279
|
+
status: TeamMemberStatusEnum | null;
|
|
2280
|
+
role: TeamMemberRoleEnum;
|
|
2281
|
+
user: User;
|
|
2282
|
+
}
|
|
2283
|
+
export declare class User extends BondBaseEntity {
|
|
2284
|
+
firstName: string | null;
|
|
2285
|
+
lastName: string | null;
|
|
2286
|
+
email: string | null;
|
|
2287
|
+
phoneNumber: string | null;
|
|
2288
|
+
about: string | null;
|
|
2227
2289
|
password: string | null;
|
|
2228
2290
|
passwordResetToken: string | null;
|
|
2229
2291
|
passwordResetExpires: Date | null;
|
|
@@ -2257,60 +2319,12 @@ export declare class User extends BondBaseEntity {
|
|
|
2257
2319
|
invoiceNotes: InvoiceNote[];
|
|
2258
2320
|
paymentNotes: PaymentNote[];
|
|
2259
2321
|
}
|
|
2260
|
-
export declare class TeamInvite extends BondBaseEntity {
|
|
2261
|
-
email: string;
|
|
2262
|
-
teamId: number;
|
|
2263
|
-
invitedUserId?: number;
|
|
2264
|
-
userCreatorId: number;
|
|
2265
|
-
token: string;
|
|
2266
|
-
tokenExpirationDate: Date;
|
|
2267
|
-
isUsed: boolean;
|
|
2268
|
-
}
|
|
2269
|
-
export declare class Questions extends BondBaseEntity {
|
|
2270
|
-
questionType: string | null;
|
|
2271
|
-
ordinal: number | null;
|
|
2272
|
-
pageOrdinal: number | null;
|
|
2273
|
-
isActive: boolean | null;
|
|
2274
|
-
isMandatory: boolean | null;
|
|
2275
|
-
metaData: any | null;
|
|
2276
|
-
question: string | null;
|
|
2277
|
-
creatorId: number | null;
|
|
2278
|
-
creatorType: string | null;
|
|
2279
|
-
userCreatorId: number | null;
|
|
2280
|
-
ownerId: number | null;
|
|
2281
|
-
questionnaireId: number | null;
|
|
2282
|
-
}
|
|
2283
|
-
export declare class SpacesDependency extends BondBaseEntity {
|
|
2284
|
-
blockingSpaceId: number;
|
|
2285
|
-
blockedSpaceId: number;
|
|
2286
|
-
}
|
|
2287
|
-
export declare class UsersInGroup extends BondBaseEntity {
|
|
2288
|
-
groupId: number;
|
|
2289
|
-
userId: number;
|
|
2290
|
-
deletedAt?: Date;
|
|
2291
|
-
}
|
|
2292
|
-
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2293
|
-
name: string;
|
|
2294
|
-
variantTitleId: number;
|
|
2295
|
-
variantTitle: VariantTitle;
|
|
2296
|
-
deletedAt?: Date;
|
|
2297
|
-
}
|
|
2298
2322
|
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2299
2323
|
entityId: number | null;
|
|
2300
2324
|
userId: number | null;
|
|
2301
2325
|
entityType: UserAuthorizationsTypeEnum;
|
|
2302
2326
|
user: User;
|
|
2303
2327
|
}
|
|
2304
|
-
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2305
|
-
name: string | null;
|
|
2306
|
-
ordinal: number | null;
|
|
2307
|
-
seasonId: number | null;
|
|
2308
|
-
color: string | null;
|
|
2309
|
-
}
|
|
2310
|
-
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2311
|
-
name: string;
|
|
2312
|
-
variants: Variant[];
|
|
2313
|
-
}
|
|
2314
2328
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2315
2329
|
familyAccountId: number;
|
|
2316
2330
|
userId: number;
|
|
@@ -2319,6 +2333,21 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
|
2319
2333
|
familyAccount: FamilyAccount;
|
|
2320
2334
|
deletedAt?: Date;
|
|
2321
2335
|
}
|
|
2336
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
2337
|
+
groupId: number;
|
|
2338
|
+
userId: number;
|
|
2339
|
+
deletedAt?: Date;
|
|
2340
|
+
}
|
|
2341
|
+
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2342
|
+
name: string;
|
|
2343
|
+
variants: Variant[];
|
|
2344
|
+
}
|
|
2345
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2346
|
+
name: string;
|
|
2347
|
+
variantTitleId: number;
|
|
2348
|
+
variantTitle: VariantTitle;
|
|
2349
|
+
deletedAt?: Date;
|
|
2350
|
+
}
|
|
2322
2351
|
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2323
2352
|
projectToken: string;
|
|
2324
2353
|
programTypesCollectionId?: string;
|
|
@@ -2327,34 +2356,6 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2327
2356
|
membershipCollectionId?: string;
|
|
2328
2357
|
programsCollectionId?: string;
|
|
2329
2358
|
}
|
|
2330
|
-
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
2331
|
-
paymentPlanId: number;
|
|
2332
|
-
paymentDate: Date;
|
|
2333
|
-
deletedAt?: Date;
|
|
2334
|
-
paymentPlan: ProductPaymentPlan;
|
|
2335
|
-
}
|
|
2336
|
-
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
2337
|
-
productId: number;
|
|
2338
|
-
customerId: number;
|
|
2339
|
-
customer: Customer;
|
|
2340
|
-
deletedAt?: Date;
|
|
2341
|
-
product: Product;
|
|
2342
|
-
}
|
|
2343
|
-
export declare class SeasonPool extends BondBaseEntity {
|
|
2344
|
-
seasonId?: number;
|
|
2345
|
-
userId?: number;
|
|
2346
|
-
status?: number;
|
|
2347
|
-
entityId?: number;
|
|
2348
|
-
entityType?: string;
|
|
2349
|
-
groupId?: string;
|
|
2350
|
-
paymentStatus?: PaymentStatusV1Enum;
|
|
2351
|
-
metadata?: any;
|
|
2352
|
-
paymentId?: number;
|
|
2353
|
-
externalAssign?: boolean;
|
|
2354
|
-
productUserId?: number;
|
|
2355
|
-
purchasedResource: PurchasedResource;
|
|
2356
|
-
season: LeagueSeason;
|
|
2357
|
-
}
|
|
2358
2359
|
export declare enum EntitlementTermsTypesEnum {
|
|
2359
2360
|
QUESTION = "question",
|
|
2360
2361
|
CITY = "city",
|
|
@@ -3315,6 +3316,13 @@ export declare class ProductImportDto {
|
|
|
3315
3316
|
resourceIds: number[];
|
|
3316
3317
|
oldId: number;
|
|
3317
3318
|
}
|
|
3319
|
+
export declare class PunchPassDto {
|
|
3320
|
+
CustomerID: string;
|
|
3321
|
+
QuantityLeft: number;
|
|
3322
|
+
BondProgramID: number;
|
|
3323
|
+
BondSessionID: number;
|
|
3324
|
+
ProductID: number;
|
|
3325
|
+
}
|
|
3318
3326
|
export declare class ImportedSlotProductDto {
|
|
3319
3327
|
slotID?: string;
|
|
3320
3328
|
name?: string;
|
|
@@ -3366,26 +3374,10 @@ export declare class ImportedReservationDto {
|
|
|
3366
3374
|
slots?: ImportedSlotDto[];
|
|
3367
3375
|
addons?: ImportedSlotProductDto[];
|
|
3368
3376
|
}
|
|
3369
|
-
export declare class PunchPassDto {
|
|
3370
|
-
CustomerID: string;
|
|
3371
|
-
QuantityLeft: number;
|
|
3372
|
-
BondProgramID: number;
|
|
3373
|
-
BondSessionID: number;
|
|
3374
|
-
ProductID: number;
|
|
3375
|
-
}
|
|
3376
3377
|
export declare class GameSlots extends BondBaseEntity {
|
|
3377
3378
|
entityType: string;
|
|
3378
3379
|
entityId: number;
|
|
3379
3380
|
}
|
|
3380
|
-
export declare class Lock extends BondBaseEntity {
|
|
3381
|
-
name: string;
|
|
3382
|
-
locked?: Date;
|
|
3383
|
-
}
|
|
3384
|
-
export declare class Matches extends BondBaseEntity {
|
|
3385
|
-
eventId: number | null;
|
|
3386
|
-
status: number | null;
|
|
3387
|
-
excludeStandings: boolean | null;
|
|
3388
|
-
}
|
|
3389
3381
|
export declare class MatchParticipants extends BondBaseEntity {
|
|
3390
3382
|
matchId: number | null;
|
|
3391
3383
|
ordinal: number | null;
|
|
@@ -3395,11 +3387,10 @@ export declare class MatchParticipants extends BondBaseEntity {
|
|
|
3395
3387
|
score: number | null;
|
|
3396
3388
|
gameSlotId: number | null;
|
|
3397
3389
|
}
|
|
3398
|
-
export declare class
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
name: string;
|
|
3390
|
+
export declare class Matches extends BondBaseEntity {
|
|
3391
|
+
eventId: number | null;
|
|
3392
|
+
status: number | null;
|
|
3393
|
+
excludeStandings: boolean | null;
|
|
3403
3394
|
}
|
|
3404
3395
|
export declare class RoundEvents extends BaseEntity {
|
|
3405
3396
|
roundId: number;
|
|
@@ -3408,17 +3399,21 @@ export declare class RoundEvents extends BaseEntity {
|
|
|
3408
3399
|
createdAt: Date;
|
|
3409
3400
|
updatedAt: Date;
|
|
3410
3401
|
}
|
|
3411
|
-
export declare class
|
|
3412
|
-
|
|
3402
|
+
export declare class SeasonRounds extends BondBaseEntity {
|
|
3403
|
+
seasonId: number;
|
|
3404
|
+
ordinal?: number;
|
|
3405
|
+
divisionId?: number;
|
|
3413
3406
|
name: string;
|
|
3414
|
-
code: string;
|
|
3415
|
-
config: any;
|
|
3416
3407
|
}
|
|
3417
3408
|
export declare class TeamEvents extends BondBaseEntity {
|
|
3418
3409
|
teamId: number | null;
|
|
3419
3410
|
eventId: number | null;
|
|
3420
3411
|
status: number | null;
|
|
3421
3412
|
}
|
|
3413
|
+
export declare class Lock extends BondBaseEntity {
|
|
3414
|
+
name: string;
|
|
3415
|
+
locked?: Date;
|
|
3416
|
+
}
|
|
3422
3417
|
export interface ValidatedMonthAndDay {
|
|
3423
3418
|
valid: boolean;
|
|
3424
3419
|
month?: number;
|
|
@@ -3428,11 +3423,6 @@ export interface ValidationReason {
|
|
|
3428
3423
|
valid: boolean;
|
|
3429
3424
|
reason?: string;
|
|
3430
3425
|
}
|
|
3431
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3432
|
-
facilityId: number;
|
|
3433
|
-
code: string;
|
|
3434
|
-
config?: any;
|
|
3435
|
-
}
|
|
3436
3426
|
export interface PaymentStatus {
|
|
3437
3427
|
parentId: number;
|
|
3438
3428
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
@@ -3445,6 +3435,85 @@ export interface PaymentStatusesDict {
|
|
|
3445
3435
|
export interface PaymentStatusDict {
|
|
3446
3436
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3447
3437
|
}
|
|
3438
|
+
export declare class CreateMonitorConfigDto {
|
|
3439
|
+
facilityId: number;
|
|
3440
|
+
name: string;
|
|
3441
|
+
code: string;
|
|
3442
|
+
config: any;
|
|
3443
|
+
}
|
|
3444
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3445
|
+
facilityId: number;
|
|
3446
|
+
code: string;
|
|
3447
|
+
config?: any;
|
|
3448
|
+
}
|
|
3449
|
+
export declare class ByOrganizationIdDto {
|
|
3450
|
+
organizationId: number;
|
|
3451
|
+
}
|
|
3452
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3453
|
+
organizationId?: number;
|
|
3454
|
+
}
|
|
3455
|
+
export declare class Organization extends BondBaseEntity {
|
|
3456
|
+
name: string | null;
|
|
3457
|
+
email: string | null;
|
|
3458
|
+
twitter: string | null;
|
|
3459
|
+
facebook: string | null;
|
|
3460
|
+
instagram: string | null;
|
|
3461
|
+
website: string | null;
|
|
3462
|
+
blog: string | null;
|
|
3463
|
+
phoneNumber: string | null;
|
|
3464
|
+
waiverDoc: string | null;
|
|
3465
|
+
about: string | null;
|
|
3466
|
+
tagline: string | null;
|
|
3467
|
+
status: number | null;
|
|
3468
|
+
addressId: number | null;
|
|
3469
|
+
merchantId: number | null;
|
|
3470
|
+
userCreatorId: number | null;
|
|
3471
|
+
parentId: number | null;
|
|
3472
|
+
paymentSettings: object | null;
|
|
3473
|
+
settings: object | null;
|
|
3474
|
+
isClaimed: boolean | null;
|
|
3475
|
+
sports: number[] | null;
|
|
3476
|
+
mainMediaId: number | null;
|
|
3477
|
+
deletedAt: Date | null;
|
|
3478
|
+
organizationActivityTypes: number[] | null;
|
|
3479
|
+
organizationTypes: number[] | null;
|
|
3480
|
+
organizationAudienceTypes: number[] | null;
|
|
3481
|
+
organizationGenders: number[] | null;
|
|
3482
|
+
questionnaireId: number | null;
|
|
3483
|
+
membershipQuestionnaireId: number | null;
|
|
3484
|
+
feeRate: number;
|
|
3485
|
+
feeAddDollarRate: number;
|
|
3486
|
+
achFeeRate: number;
|
|
3487
|
+
achFeeAddDollarRate: number;
|
|
3488
|
+
maxAchFee: number;
|
|
3489
|
+
cashFeeRate: number;
|
|
3490
|
+
cashFeeAddDollarRate: number;
|
|
3491
|
+
terminalFeeRate: number;
|
|
3492
|
+
terminalFeeAddDollarRate: number;
|
|
3493
|
+
checkFeeRate: number;
|
|
3494
|
+
checkFeeAddDollarRate: number;
|
|
3495
|
+
otherFeeRate: number;
|
|
3496
|
+
otherFeeAddDollarRate: number;
|
|
3497
|
+
balanceFeeRate: number;
|
|
3498
|
+
balanceFeeAddDollarRate: number;
|
|
3499
|
+
address: Address;
|
|
3500
|
+
mainMedia: Media;
|
|
3501
|
+
brandings: OrganizationBranding[];
|
|
3502
|
+
brandingsV2?: OrganizationBranding[];
|
|
3503
|
+
}
|
|
3504
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3505
|
+
key?: string;
|
|
3506
|
+
vaule?: string;
|
|
3507
|
+
version: number;
|
|
3508
|
+
organization: Organization;
|
|
3509
|
+
}
|
|
3510
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3511
|
+
mainAdminUserId?: number;
|
|
3512
|
+
}
|
|
3513
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3514
|
+
organisationId: number | null;
|
|
3515
|
+
userId: number | null;
|
|
3516
|
+
}
|
|
3448
3517
|
export declare class CustomerIdDto {
|
|
3449
3518
|
customerId: number;
|
|
3450
3519
|
}
|
|
@@ -3473,6 +3542,12 @@ export declare class DiscountDto {
|
|
|
3473
3542
|
export declare class LineItemIdDto {
|
|
3474
3543
|
lineItemId: number;
|
|
3475
3544
|
}
|
|
3545
|
+
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3546
|
+
paymentType?: string;
|
|
3547
|
+
paymentStatus?: string;
|
|
3548
|
+
}
|
|
3549
|
+
export declare class FindPayments extends ByPaymentFilter {
|
|
3550
|
+
}
|
|
3476
3551
|
export declare class BasicInstallmentDataDto extends ByOrganizationIdAndInvoiceIdDto {
|
|
3477
3552
|
userId: number;
|
|
3478
3553
|
}
|
|
@@ -3553,16 +3628,6 @@ export declare class SendRequestDto {
|
|
|
3553
3628
|
sendToEmail: string;
|
|
3554
3629
|
memo?: string;
|
|
3555
3630
|
}
|
|
3556
|
-
export declare class VoidDto {
|
|
3557
|
-
lineItems: VoidLineItemDto[];
|
|
3558
|
-
meta?: RevertMetaDto;
|
|
3559
|
-
}
|
|
3560
|
-
export declare class VoidLineItemDto {
|
|
3561
|
-
id: number;
|
|
3562
|
-
quantity?: number;
|
|
3563
|
-
isEdit?: boolean;
|
|
3564
|
-
amount?: number;
|
|
3565
|
-
}
|
|
3566
3631
|
export declare class RefundDto {
|
|
3567
3632
|
invoiceId: number;
|
|
3568
3633
|
lineItems: RefundLineItemAmountDto[];
|
|
@@ -3585,6 +3650,16 @@ export declare class RefundLineItemAmountDto {
|
|
|
3585
3650
|
id: number;
|
|
3586
3651
|
refundAmount: number;
|
|
3587
3652
|
}
|
|
3653
|
+
export declare class VoidDto {
|
|
3654
|
+
lineItems: VoidLineItemDto[];
|
|
3655
|
+
meta?: RevertMetaDto;
|
|
3656
|
+
}
|
|
3657
|
+
export declare class VoidLineItemDto {
|
|
3658
|
+
id: number;
|
|
3659
|
+
quantity?: number;
|
|
3660
|
+
isEdit?: boolean;
|
|
3661
|
+
amount?: number;
|
|
3662
|
+
}
|
|
3588
3663
|
export interface PaymentResult {
|
|
3589
3664
|
paymentMethodId: string;
|
|
3590
3665
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -3610,63 +3685,6 @@ export interface ExtendedLineItems {
|
|
|
3610
3685
|
products: LineItems[];
|
|
3611
3686
|
events: LineItems[];
|
|
3612
3687
|
}
|
|
3613
|
-
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3614
|
-
paymentType?: string;
|
|
3615
|
-
paymentStatus?: string;
|
|
3616
|
-
}
|
|
3617
|
-
export declare class FindPayments extends ByPaymentFilter {
|
|
3618
|
-
id?: number;
|
|
3619
|
-
months?: string;
|
|
3620
|
-
}
|
|
3621
|
-
export declare class Organization extends BondBaseEntity {
|
|
3622
|
-
name: string | null;
|
|
3623
|
-
email: string | null;
|
|
3624
|
-
twitter: string | null;
|
|
3625
|
-
facebook: string | null;
|
|
3626
|
-
instagram: string | null;
|
|
3627
|
-
website: string | null;
|
|
3628
|
-
blog: string | null;
|
|
3629
|
-
phoneNumber: string | null;
|
|
3630
|
-
waiverDoc: string | null;
|
|
3631
|
-
about: string | null;
|
|
3632
|
-
tagline: string | null;
|
|
3633
|
-
status: number | null;
|
|
3634
|
-
addressId: number | null;
|
|
3635
|
-
merchantId: number | null;
|
|
3636
|
-
userCreatorId: number | null;
|
|
3637
|
-
parentId: number | null;
|
|
3638
|
-
paymentSettings: object | null;
|
|
3639
|
-
settings: object | null;
|
|
3640
|
-
isClaimed: boolean | null;
|
|
3641
|
-
sports: number[] | null;
|
|
3642
|
-
mainMediaId: number | null;
|
|
3643
|
-
deletedAt: Date | null;
|
|
3644
|
-
organizationActivityTypes: number[] | null;
|
|
3645
|
-
organizationTypes: number[] | null;
|
|
3646
|
-
organizationAudienceTypes: number[] | null;
|
|
3647
|
-
organizationGenders: number[] | null;
|
|
3648
|
-
questionnaireId: number | null;
|
|
3649
|
-
membershipQuestionnaireId: number | null;
|
|
3650
|
-
feeRate: number;
|
|
3651
|
-
feeAddDollarRate: number;
|
|
3652
|
-
achFeeRate: number;
|
|
3653
|
-
achFeeAddDollarRate: number;
|
|
3654
|
-
maxAchFee: number;
|
|
3655
|
-
cashFeeRate: number;
|
|
3656
|
-
cashFeeAddDollarRate: number;
|
|
3657
|
-
terminalFeeRate: number;
|
|
3658
|
-
terminalFeeAddDollarRate: number;
|
|
3659
|
-
checkFeeRate: number;
|
|
3660
|
-
checkFeeAddDollarRate: number;
|
|
3661
|
-
otherFeeRate: number;
|
|
3662
|
-
otherFeeAddDollarRate: number;
|
|
3663
|
-
balanceFeeRate: number;
|
|
3664
|
-
balanceFeeAddDollarRate: number;
|
|
3665
|
-
address: Address;
|
|
3666
|
-
mainMedia: Media;
|
|
3667
|
-
brandings: OrganizationBranding[];
|
|
3668
|
-
brandingsV2?: OrganizationBranding[];
|
|
3669
|
-
}
|
|
3670
3688
|
export interface RefundResult extends PaymentsResults {
|
|
3671
3689
|
successfulLineItems: RefundLineItemAmountDto[];
|
|
3672
3690
|
failedLineItems: RefundLineItemAmountDto[];
|
|
@@ -3677,133 +3695,6 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
|
3677
3695
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3678
3696
|
totalAmountProcessed: number;
|
|
3679
3697
|
}
|
|
3680
|
-
export declare class ByOrganizationIdDto {
|
|
3681
|
-
organizationId: number;
|
|
3682
|
-
}
|
|
3683
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3684
|
-
organizationId?: number;
|
|
3685
|
-
}
|
|
3686
|
-
export declare class ChangeRolePermissionsDto {
|
|
3687
|
-
permissionIds: number[];
|
|
3688
|
-
}
|
|
3689
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3690
|
-
key?: string;
|
|
3691
|
-
vaule?: string;
|
|
3692
|
-
version: number;
|
|
3693
|
-
organization: Organization;
|
|
3694
|
-
}
|
|
3695
|
-
export declare class CreateRoleDto {
|
|
3696
|
-
name: string;
|
|
3697
|
-
}
|
|
3698
|
-
export declare class Permission extends BondBaseEntity {
|
|
3699
|
-
name: string;
|
|
3700
|
-
deletedAt?: Date;
|
|
3701
|
-
}
|
|
3702
|
-
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
3703
|
-
name: string;
|
|
3704
|
-
deletedAt?: Date;
|
|
3705
|
-
permissions: Permission[];
|
|
3706
|
-
usersRoles: UserRole[];
|
|
3707
|
-
}
|
|
3708
|
-
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
3709
|
-
deletedAt?: Date;
|
|
3710
|
-
userId: number;
|
|
3711
|
-
roleId: number;
|
|
3712
|
-
role: Role;
|
|
3713
|
-
user: User;
|
|
3714
|
-
}
|
|
3715
|
-
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
3716
|
-
deletedAt?: Date;
|
|
3717
|
-
reservationId: number;
|
|
3718
|
-
invoiceId: number;
|
|
3719
|
-
slotId: number;
|
|
3720
|
-
}
|
|
3721
|
-
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
3722
|
-
parentId: number;
|
|
3723
|
-
parentType: AddonParentTypeEnum;
|
|
3724
|
-
productId: number;
|
|
3725
|
-
product?: Product;
|
|
3726
|
-
quantity: number;
|
|
3727
|
-
unitPrice: number;
|
|
3728
|
-
totalPrice: number;
|
|
3729
|
-
approvalStatus: ReservationStatusEnum;
|
|
3730
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
3731
|
-
level?: ProductPackageLevelEnum;
|
|
3732
|
-
resourceId?: number;
|
|
3733
|
-
resource?: Resource;
|
|
3734
|
-
invoiceId?: number;
|
|
3735
|
-
invoice?: Invoice;
|
|
3736
|
-
productUserId?: number;
|
|
3737
|
-
productUser?: ProductsUsers;
|
|
3738
|
-
previousProductUsersIds?: number[];
|
|
3739
|
-
previousProductUsers?: ProductsUsers[];
|
|
3740
|
-
}
|
|
3741
|
-
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
3742
|
-
name?: string;
|
|
3743
|
-
description?: string;
|
|
3744
|
-
approvalStatus?: ReservationStatusEnum;
|
|
3745
|
-
privacySetting?: string;
|
|
3746
|
-
reservationType?: ReservationTypeEnum;
|
|
3747
|
-
invoiceId?: string;
|
|
3748
|
-
customerId?: number;
|
|
3749
|
-
customer?: Customer;
|
|
3750
|
-
price?: number;
|
|
3751
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
|
3752
|
-
startTime?: string;
|
|
3753
|
-
startDate?: Date;
|
|
3754
|
-
endDate?: Date;
|
|
3755
|
-
creatorId?: number;
|
|
3756
|
-
creatorType?: ResourceNameTypeEnum;
|
|
3757
|
-
userCreatorId?: number;
|
|
3758
|
-
sportType?: number;
|
|
3759
|
-
deletedAt?: Date;
|
|
3760
|
-
publicNotes?: string;
|
|
3761
|
-
privateNotes?: string;
|
|
3762
|
-
forms?: number[] | null;
|
|
3763
|
-
answerTitleIds?: number[] | null;
|
|
3764
|
-
segments?: Segment[];
|
|
3765
|
-
migrationStatus?: string;
|
|
3766
|
-
addons: Addon[];
|
|
3767
|
-
overrideProductsPrice: {
|
|
3768
|
-
productId: number;
|
|
3769
|
-
price: number;
|
|
3770
|
-
}[];
|
|
3771
|
-
targetGlobalPrice?: number;
|
|
3772
|
-
slots: Slot[];
|
|
3773
|
-
}
|
|
3774
|
-
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
3775
|
-
deletedAt?: Date;
|
|
3776
|
-
reservationId: number;
|
|
3777
|
-
title: string;
|
|
3778
|
-
isPrivate: boolean;
|
|
3779
|
-
resourceIds?: number[];
|
|
3780
|
-
sportId: number;
|
|
3781
|
-
reservation?: Reservation;
|
|
3782
|
-
series?: Series[];
|
|
3783
|
-
addonIds?: number[] | null;
|
|
3784
|
-
publicNotesForSlots?: string;
|
|
3785
|
-
privateNotesForSlots?: string;
|
|
3786
|
-
slots?: Slot[];
|
|
3787
|
-
}
|
|
3788
|
-
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
3789
|
-
deletedAt?: Date;
|
|
3790
|
-
segmentId: number;
|
|
3791
|
-
segment?: Segment;
|
|
3792
|
-
slots?: Slot[];
|
|
3793
|
-
slotDurationType: string;
|
|
3794
|
-
durationEndsAfter: number;
|
|
3795
|
-
durationUnit: string;
|
|
3796
|
-
startDate?: Date;
|
|
3797
|
-
endDate?: Date;
|
|
3798
|
-
startTime: string;
|
|
3799
|
-
endTime: string;
|
|
3800
|
-
frequency: string;
|
|
3801
|
-
repeatEvery: number;
|
|
3802
|
-
repeatOn?: number[];
|
|
3803
|
-
repeatEndDate?: Date;
|
|
3804
|
-
numberOccurrences?: number;
|
|
3805
|
-
resources?: Resource[];
|
|
3806
|
-
}
|
|
3807
3698
|
export declare class AddonDto extends ProductPricesDto {
|
|
3808
3699
|
id?: number;
|
|
3809
3700
|
}
|
|
@@ -3835,100 +3726,34 @@ export declare class InvoiceDto {
|
|
|
3835
3726
|
creatingUserId?: number;
|
|
3836
3727
|
platform?: PlatformsEnum;
|
|
3837
3728
|
}
|
|
3838
|
-
export declare class BaseInvoiceDto {
|
|
3839
|
-
platform: PlatformsEnum;
|
|
3840
|
-
shiftId?: number;
|
|
3841
|
-
}
|
|
3842
|
-
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
3843
|
-
purchasingUserId: number;
|
|
3844
|
-
slots: number[];
|
|
3845
|
-
}
|
|
3846
|
-
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
3847
|
-
reservationTotalPrice: number;
|
|
3848
|
-
}
|
|
3849
|
-
export declare class UpdateInvoiceOptionsDto {
|
|
3850
|
-
basicInfoData?: BaseInvoiceDto;
|
|
3851
|
-
addToInvoiceId?: number;
|
|
3852
|
-
}
|
|
3853
|
-
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
3854
|
-
isInvoiced: boolean;
|
|
3855
|
-
}
|
|
3856
|
-
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
3857
|
-
slotsIds?: number[];
|
|
3858
|
-
addonsIds?: number[];
|
|
3859
|
-
}
|
|
3860
|
-
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
3861
|
-
slots: SlotDto[];
|
|
3862
|
-
}
|
|
3863
|
-
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3864
|
-
segments: SegmentDto[];
|
|
3865
|
-
}
|
|
3866
|
-
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
3867
|
-
constructor();
|
|
3868
|
-
defineIsReverted(): void;
|
|
3869
|
-
isReverted: boolean;
|
|
3870
|
-
reservationId: number;
|
|
3871
|
-
reservation: Reservation;
|
|
3872
|
-
title?: string;
|
|
3873
|
-
creatorId?: number;
|
|
3874
|
-
creatorType?: string;
|
|
3875
|
-
userCreatorId?: number;
|
|
3876
|
-
startDate: Date;
|
|
3877
|
-
endDate: Date;
|
|
3878
|
-
startTime: string;
|
|
3879
|
-
endTime: string;
|
|
3880
|
-
timezone?: string;
|
|
3881
|
-
spaceId?: number;
|
|
3882
|
-
resource?: Resource;
|
|
3883
|
-
deletedAt?: Date;
|
|
3884
|
-
publicNotes?: string;
|
|
3885
|
-
privateNotes?: string;
|
|
3886
|
-
slotType: SlotTypeEnum;
|
|
3887
|
-
productsUserId?: number;
|
|
3888
|
-
productUser?: ProductsUsers;
|
|
3889
|
-
product?: Product;
|
|
3890
|
-
addonsProductUserIds?: number[] | null;
|
|
3891
|
-
addonsProductUsers?: ProductsUsers[];
|
|
3892
|
-
addonProducts?: Product[];
|
|
3893
|
-
addonsMetadata: AddonMetadata[];
|
|
3894
|
-
segmentId: number;
|
|
3895
|
-
segment: Segment;
|
|
3896
|
-
eventId: number;
|
|
3897
|
-
event: Event;
|
|
3898
|
-
sportIds: number[];
|
|
3899
|
-
parentSlotId?: number;
|
|
3900
|
-
parent?: Slot;
|
|
3901
|
-
children?: Slot[];
|
|
3902
|
-
maintenanceDurationdurationType: string;
|
|
3903
|
-
maintenanceTiming: number;
|
|
3904
|
-
durationValue: number;
|
|
3905
|
-
seriesId?: number;
|
|
3906
|
-
series?: Series;
|
|
3907
|
-
invoiceId?: number;
|
|
3908
|
-
invoice?: Invoice;
|
|
3909
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
3910
|
-
approvalStatus?: ReservationStatusEnum;
|
|
3911
|
-
displayName?: string;
|
|
3912
|
-
internalName?: string;
|
|
3913
|
-
activityTypes?: number[] | null;
|
|
3914
|
-
hourlyRate: number;
|
|
3915
|
-
totalPrice: number;
|
|
3916
|
-
isConsumerVisible: boolean;
|
|
3917
|
-
isMonitorVisible: boolean;
|
|
3918
|
-
isPrivate: boolean;
|
|
3919
|
-
occurrence?: number;
|
|
3920
|
-
maintenance?: Slot[];
|
|
3921
|
-
productMetadata: {
|
|
3922
|
-
productId: number;
|
|
3923
|
-
price: number;
|
|
3924
|
-
};
|
|
3925
|
-
slotDurationType: string;
|
|
3926
|
-
changeLineItemIds?: number[];
|
|
3927
|
-
changeLineItems?: LineItems[];
|
|
3928
|
-
updatedLineItem?: LineItems;
|
|
3929
|
-
conflictsCount?: number;
|
|
3930
|
-
conflicts?: Slot[];
|
|
3931
|
-
}
|
|
3729
|
+
export declare class BaseInvoiceDto {
|
|
3730
|
+
platform: PlatformsEnum;
|
|
3731
|
+
shiftId?: number;
|
|
3732
|
+
}
|
|
3733
|
+
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
3734
|
+
purchasingUserId: number;
|
|
3735
|
+
slots: number[];
|
|
3736
|
+
}
|
|
3737
|
+
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
3738
|
+
reservationTotalPrice: number;
|
|
3739
|
+
}
|
|
3740
|
+
export declare class UpdateInvoiceOptionsDto {
|
|
3741
|
+
basicInfoData?: BaseInvoiceDto;
|
|
3742
|
+
addToInvoiceId?: number;
|
|
3743
|
+
}
|
|
3744
|
+
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
3745
|
+
isInvoiced: boolean;
|
|
3746
|
+
}
|
|
3747
|
+
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
3748
|
+
slotsIds?: number[];
|
|
3749
|
+
addonsIds?: number[];
|
|
3750
|
+
}
|
|
3751
|
+
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
3752
|
+
slots: SlotDto[];
|
|
3753
|
+
}
|
|
3754
|
+
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3755
|
+
segments: SegmentDto[];
|
|
3756
|
+
}
|
|
3932
3757
|
export declare class LineItemDto {
|
|
3933
3758
|
id?: number;
|
|
3934
3759
|
invoiceId?: number;
|
|
@@ -3955,16 +3780,12 @@ export declare class LineItemDto {
|
|
|
3955
3780
|
unitTaxPrice?: number;
|
|
3956
3781
|
parentOrdinal?: number;
|
|
3957
3782
|
}
|
|
3958
|
-
export declare class
|
|
3783
|
+
export declare class MaintenanceDto {
|
|
3959
3784
|
id?: number;
|
|
3960
3785
|
title: string;
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
series: SeriesDto[];
|
|
3965
|
-
addonIds?: number[];
|
|
3966
|
-
publicNotesForSlots?: string;
|
|
3967
|
-
privateNotesForSlots?: string;
|
|
3786
|
+
durationValue: number;
|
|
3787
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3788
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3968
3789
|
}
|
|
3969
3790
|
export declare class PurchasedResourceDto {
|
|
3970
3791
|
resourceId?: number;
|
|
@@ -4118,66 +3939,306 @@ export declare class EditReservationDetailsDto {
|
|
|
4118
3939
|
export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
4119
3940
|
updateAddons?: boolean;
|
|
4120
3941
|
}
|
|
4121
|
-
export declare class
|
|
4122
|
-
id?: number;
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
3942
|
+
export declare class SegmentDto {
|
|
3943
|
+
id?: number;
|
|
3944
|
+
title: string;
|
|
3945
|
+
isPrivate: boolean;
|
|
3946
|
+
resourceIds: number[];
|
|
3947
|
+
sportId?: number;
|
|
3948
|
+
series: SeriesDto[];
|
|
3949
|
+
addonIds?: number[];
|
|
3950
|
+
publicNotesForSlots?: string;
|
|
3951
|
+
privateNotesForSlots?: string;
|
|
3952
|
+
}
|
|
3953
|
+
export declare class SeriesDto {
|
|
3954
|
+
id?: number;
|
|
3955
|
+
startDate: string;
|
|
3956
|
+
startTime?: string;
|
|
3957
|
+
endDate?: string;
|
|
3958
|
+
endTime?: string;
|
|
3959
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
3960
|
+
durationEndsAfter?: number;
|
|
3961
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
3962
|
+
frequency: FrequencyEnum;
|
|
3963
|
+
repeatEvery?: number;
|
|
3964
|
+
repeatOn?: number[];
|
|
3965
|
+
repeatEndDate?: string;
|
|
3966
|
+
numberOccurrences?: number;
|
|
3967
|
+
maintenance?: MaintenanceDto[];
|
|
3968
|
+
slots?: SlotDto[];
|
|
3969
|
+
}
|
|
3970
|
+
export declare class SlotDateTimeAndSpace {
|
|
3971
|
+
startDate: string;
|
|
3972
|
+
startTime?: string;
|
|
3973
|
+
endDate?: string;
|
|
3974
|
+
endTime?: string;
|
|
3975
|
+
spaceId: number;
|
|
3976
|
+
}
|
|
3977
|
+
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
3978
|
+
id?: number;
|
|
3979
|
+
reservationId?: number;
|
|
3980
|
+
occurrence?: number;
|
|
3981
|
+
title: string;
|
|
3982
|
+
creatorId?: number;
|
|
3983
|
+
creatorType?: string;
|
|
3984
|
+
userCreatorId?: number;
|
|
3985
|
+
timezone?: string;
|
|
3986
|
+
publicNotes?: string;
|
|
3987
|
+
privateNotes?: string;
|
|
3988
|
+
slotType: SlotTypeEnum;
|
|
3989
|
+
product?: Product;
|
|
3990
|
+
priceOverrideMeta?: {
|
|
3991
|
+
unitPrice: number;
|
|
3992
|
+
quantity: number;
|
|
3993
|
+
totalPrice: number;
|
|
3994
|
+
};
|
|
3995
|
+
addonPriceOverrideMeta?: {
|
|
3996
|
+
[addonProductId: number]: {
|
|
3997
|
+
unitPrice: number;
|
|
3998
|
+
quantity: number;
|
|
3999
|
+
totalPrice: number;
|
|
4000
|
+
};
|
|
4001
|
+
};
|
|
4002
|
+
addonProducts?: Product[];
|
|
4003
|
+
addonCalculatedPrice?: {
|
|
4004
|
+
productId: number;
|
|
4005
|
+
quantity: number;
|
|
4006
|
+
unitPrice: number;
|
|
4007
|
+
totalPrice: number;
|
|
4008
|
+
displayTotalWithTax?: number;
|
|
4009
|
+
displayUnitTax?: number;
|
|
4010
|
+
}[];
|
|
4011
|
+
addonsProductUserIds?: number[];
|
|
4012
|
+
segmentId?: number;
|
|
4013
|
+
seriesId?: number;
|
|
4014
|
+
eventId?: number;
|
|
4015
|
+
sportIds: number[];
|
|
4016
|
+
parentSlotId?: number;
|
|
4017
|
+
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4018
|
+
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4019
|
+
durationValue?: number;
|
|
4020
|
+
invoicId?: number;
|
|
4021
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4022
|
+
approvalStatus: ReservationStatusEnum;
|
|
4023
|
+
displayName?: string;
|
|
4024
|
+
internalName?: string;
|
|
4025
|
+
totalPrice?: number;
|
|
4026
|
+
relevantProducts?: Product[];
|
|
4027
|
+
maintenance?: MaintenanceDto[];
|
|
4028
|
+
maintenanceSlots?: SlotDto[];
|
|
4029
|
+
isPrivate: boolean;
|
|
4030
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4031
|
+
addonsIds?: number[];
|
|
4032
|
+
}
|
|
4033
|
+
export declare class TimeSlotDto {
|
|
4034
|
+
id?: number;
|
|
4035
|
+
resourceId: number;
|
|
4036
|
+
startDate: string;
|
|
4037
|
+
startTime: string;
|
|
4038
|
+
endDate: string;
|
|
4039
|
+
endTime: string;
|
|
4040
|
+
parentSlotId?: number;
|
|
4041
|
+
}
|
|
4042
|
+
export declare class TimeSlotsDto {
|
|
4043
|
+
timeSlots: TimeSlotDto[];
|
|
4044
|
+
}
|
|
4045
|
+
export declare class SlotsIdsDto {
|
|
4046
|
+
slotsIds: number[];
|
|
4047
|
+
}
|
|
4048
|
+
declare class AnswerDto {
|
|
4049
|
+
questionId: number;
|
|
4050
|
+
value: any;
|
|
4051
|
+
}
|
|
4052
|
+
export declare class BookedSessionDto {
|
|
4053
|
+
startDate: string;
|
|
4054
|
+
endDate: string;
|
|
4055
|
+
timezone: string;
|
|
4056
|
+
spaceId: number;
|
|
4057
|
+
}
|
|
4058
|
+
declare class AddonV1Dto {
|
|
4059
|
+
resourcePackageId: number;
|
|
4060
|
+
resourcePackageAmount: number;
|
|
4061
|
+
resourcePackagePrice: number;
|
|
4062
|
+
}
|
|
4063
|
+
export declare class ReservationV1Dto {
|
|
4064
|
+
organizationId: number;
|
|
4065
|
+
name: string;
|
|
4066
|
+
dayOfWeek: number;
|
|
4067
|
+
startTime: string;
|
|
4068
|
+
description: string;
|
|
4069
|
+
sport: number;
|
|
4070
|
+
price: number;
|
|
4071
|
+
resourcePackageId: number;
|
|
4072
|
+
resourcePackageAmount: number;
|
|
4073
|
+
bookedSessions: BookedSessionDto[];
|
|
4074
|
+
addons: AddonV1Dto[];
|
|
4075
|
+
}
|
|
4076
|
+
export declare class BookingV1Dto {
|
|
4077
|
+
organizationId: number;
|
|
4078
|
+
reservations: ReservationV1Dto[];
|
|
4079
|
+
answers: AnswerDto[];
|
|
4080
|
+
paymentData: PurchasePaymentDto;
|
|
4081
|
+
skipPayment: boolean;
|
|
4082
|
+
cashPayment: boolean;
|
|
4083
|
+
requestOnly: boolean;
|
|
4084
|
+
}
|
|
4085
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4086
|
+
parentId: number;
|
|
4087
|
+
parentType: AddonParentTypeEnum;
|
|
4088
|
+
productId: number;
|
|
4089
|
+
product?: Product;
|
|
4090
|
+
quantity: number;
|
|
4091
|
+
unitPrice: number;
|
|
4092
|
+
totalPrice: number;
|
|
4093
|
+
approvalStatus: ReservationStatusEnum;
|
|
4094
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4095
|
+
level?: ProductPackageLevelEnum;
|
|
4096
|
+
resourceId?: number;
|
|
4097
|
+
resource?: Resource;
|
|
4098
|
+
invoiceId?: number;
|
|
4099
|
+
invoice?: Invoice;
|
|
4100
|
+
productUserId?: number;
|
|
4101
|
+
productUser?: ProductsUsers;
|
|
4102
|
+
previousProductUsersIds?: number[];
|
|
4103
|
+
previousProductUsers?: ProductsUsers[];
|
|
4104
|
+
}
|
|
4105
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4106
|
+
deletedAt?: Date;
|
|
4107
|
+
reservationId: number;
|
|
4108
|
+
invoiceId: number;
|
|
4109
|
+
slotId: number;
|
|
4110
|
+
}
|
|
4111
|
+
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
4112
|
+
name?: string;
|
|
4113
|
+
description?: string;
|
|
4114
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4115
|
+
privacySetting?: string;
|
|
4116
|
+
reservationType?: ReservationTypeEnum;
|
|
4117
|
+
invoiceId?: string;
|
|
4118
|
+
customerId?: number;
|
|
4119
|
+
customer?: Customer;
|
|
4120
|
+
price?: number;
|
|
4121
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4122
|
+
startTime?: string;
|
|
4123
|
+
startDate?: Date;
|
|
4124
|
+
endDate?: Date;
|
|
4125
|
+
creatorId?: number;
|
|
4126
|
+
creatorType?: ResourceNameTypeEnum;
|
|
4127
|
+
userCreatorId?: number;
|
|
4128
|
+
sportType?: number;
|
|
4129
|
+
deletedAt?: Date;
|
|
4130
|
+
publicNotes?: string;
|
|
4131
|
+
privateNotes?: string;
|
|
4132
|
+
forms?: number[] | null;
|
|
4133
|
+
answerTitleIds?: number[] | null;
|
|
4134
|
+
segments?: Segment[];
|
|
4135
|
+
migrationStatus?: string;
|
|
4136
|
+
addons: Addon[];
|
|
4137
|
+
overrideProductsPrice: {
|
|
4138
|
+
productId: number;
|
|
4139
|
+
price: number;
|
|
4140
|
+
}[];
|
|
4141
|
+
targetGlobalPrice?: number;
|
|
4142
|
+
slots: Slot[];
|
|
4143
|
+
}
|
|
4144
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4145
|
+
deletedAt?: Date;
|
|
4146
|
+
reservationId: number;
|
|
4147
|
+
title: string;
|
|
4148
|
+
isPrivate: boolean;
|
|
4149
|
+
resourceIds?: number[];
|
|
4150
|
+
sportId: number;
|
|
4151
|
+
reservation?: Reservation;
|
|
4152
|
+
series?: Series[];
|
|
4153
|
+
addonIds?: number[] | null;
|
|
4154
|
+
publicNotesForSlots?: string;
|
|
4155
|
+
privateNotesForSlots?: string;
|
|
4156
|
+
slots?: Slot[];
|
|
4157
|
+
}
|
|
4158
|
+
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4159
|
+
deletedAt?: Date;
|
|
4160
|
+
segmentId: number;
|
|
4161
|
+
segment?: Segment;
|
|
4162
|
+
slots?: Slot[];
|
|
4163
|
+
slotDurationType: string;
|
|
4164
|
+
durationEndsAfter: number;
|
|
4165
|
+
durationUnit: string;
|
|
4166
|
+
startDate?: Date;
|
|
4167
|
+
endDate?: Date;
|
|
4168
|
+
startTime: string;
|
|
4169
|
+
endTime: string;
|
|
4170
|
+
frequency: string;
|
|
4171
|
+
repeatEvery: number;
|
|
4132
4172
|
repeatOn?: number[];
|
|
4133
|
-
repeatEndDate?:
|
|
4173
|
+
repeatEndDate?: Date;
|
|
4134
4174
|
numberOccurrences?: number;
|
|
4135
|
-
|
|
4136
|
-
slots?: SlotDto[];
|
|
4137
|
-
}
|
|
4138
|
-
declare class AnswerDto {
|
|
4139
|
-
questionId: number;
|
|
4140
|
-
value: any;
|
|
4141
|
-
}
|
|
4142
|
-
export declare class BookedSessionDto {
|
|
4143
|
-
startDate: string;
|
|
4144
|
-
endDate: string;
|
|
4145
|
-
timezone: string;
|
|
4146
|
-
spaceId: number;
|
|
4147
|
-
}
|
|
4148
|
-
declare class AddonV1Dto {
|
|
4149
|
-
resourcePackageId: number;
|
|
4150
|
-
resourcePackageAmount: number;
|
|
4151
|
-
resourcePackagePrice: number;
|
|
4175
|
+
resources?: Resource[];
|
|
4152
4176
|
}
|
|
4153
|
-
export declare class
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4177
|
+
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
4178
|
+
constructor();
|
|
4179
|
+
defineIsReverted(): void;
|
|
4180
|
+
isReverted: boolean;
|
|
4181
|
+
reservationId: number;
|
|
4182
|
+
reservation: Reservation;
|
|
4183
|
+
title?: string;
|
|
4184
|
+
creatorId?: number;
|
|
4185
|
+
creatorType?: string;
|
|
4186
|
+
userCreatorId?: number;
|
|
4187
|
+
startDate: Date;
|
|
4188
|
+
endDate: Date;
|
|
4157
4189
|
startTime: string;
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4190
|
+
endTime: string;
|
|
4191
|
+
timezone?: string;
|
|
4192
|
+
spaceId?: number;
|
|
4193
|
+
resource?: Resource;
|
|
4194
|
+
deletedAt?: Date;
|
|
4195
|
+
publicNotes?: string;
|
|
4196
|
+
privateNotes?: string;
|
|
4197
|
+
slotType: SlotTypeEnum;
|
|
4198
|
+
productsUserId?: number;
|
|
4199
|
+
productUser?: ProductsUsers;
|
|
4200
|
+
product?: Product;
|
|
4201
|
+
addonsProductUserIds?: number[] | null;
|
|
4202
|
+
addonsProductUsers?: ProductsUsers[];
|
|
4203
|
+
addonProducts?: Product[];
|
|
4204
|
+
addonsMetadata: AddonMetadata[];
|
|
4205
|
+
segmentId: number;
|
|
4206
|
+
segment: Segment;
|
|
4207
|
+
eventId: number;
|
|
4208
|
+
event: Event;
|
|
4209
|
+
sportIds: number[];
|
|
4210
|
+
parentSlotId?: number;
|
|
4211
|
+
parent?: Slot;
|
|
4212
|
+
children?: Slot[];
|
|
4213
|
+
maintenanceDurationdurationType: string;
|
|
4214
|
+
maintenanceTiming: number;
|
|
4178
4215
|
durationValue: number;
|
|
4179
|
-
|
|
4180
|
-
|
|
4216
|
+
seriesId?: number;
|
|
4217
|
+
series?: Series;
|
|
4218
|
+
invoiceId?: number;
|
|
4219
|
+
invoice?: Invoice;
|
|
4220
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4221
|
+
approvalStatus?: ReservationStatusEnum;
|
|
4222
|
+
displayName?: string;
|
|
4223
|
+
internalName?: string;
|
|
4224
|
+
activityTypes?: number[] | null;
|
|
4225
|
+
hourlyRate: number;
|
|
4226
|
+
totalPrice: number;
|
|
4227
|
+
isConsumerVisible: boolean;
|
|
4228
|
+
isMonitorVisible: boolean;
|
|
4229
|
+
isPrivate: boolean;
|
|
4230
|
+
occurrence?: number;
|
|
4231
|
+
maintenance?: Slot[];
|
|
4232
|
+
productMetadata: {
|
|
4233
|
+
productId: number;
|
|
4234
|
+
price: number;
|
|
4235
|
+
};
|
|
4236
|
+
slotDurationType: string;
|
|
4237
|
+
changeLineItemIds?: number[];
|
|
4238
|
+
changeLineItems?: LineItems[];
|
|
4239
|
+
updatedLineItem?: LineItems;
|
|
4240
|
+
conflictsCount?: number;
|
|
4241
|
+
conflicts?: Slot[];
|
|
4181
4242
|
}
|
|
4182
4243
|
export declare type TSlotAndType = {
|
|
4183
4244
|
type: 'slots' | 'slot_addons';
|
|
@@ -4415,87 +4476,35 @@ export interface AddonMetadata {
|
|
|
4415
4476
|
totalPrice: number;
|
|
4416
4477
|
product?: Product;
|
|
4417
4478
|
}
|
|
4418
|
-
export declare class
|
|
4419
|
-
|
|
4420
|
-
startTime?: string;
|
|
4421
|
-
endDate?: string;
|
|
4422
|
-
endTime?: string;
|
|
4423
|
-
spaceId: number;
|
|
4479
|
+
export declare class ChangeRolePermissionsDto {
|
|
4480
|
+
permissionIds: number[];
|
|
4424
4481
|
}
|
|
4425
|
-
export declare class
|
|
4426
|
-
|
|
4427
|
-
reservationId?: number;
|
|
4428
|
-
occurrence?: number;
|
|
4429
|
-
title: string;
|
|
4430
|
-
creatorId?: number;
|
|
4431
|
-
creatorType?: string;
|
|
4432
|
-
userCreatorId?: number;
|
|
4433
|
-
timezone?: string;
|
|
4434
|
-
publicNotes?: string;
|
|
4435
|
-
privateNotes?: string;
|
|
4436
|
-
slotType: SlotTypeEnum;
|
|
4437
|
-
product?: Product;
|
|
4438
|
-
priceOverrideMeta?: {
|
|
4439
|
-
unitPrice: number;
|
|
4440
|
-
quantity: number;
|
|
4441
|
-
totalPrice: number;
|
|
4442
|
-
};
|
|
4443
|
-
addonPriceOverrideMeta?: {
|
|
4444
|
-
[addonProductId: number]: {
|
|
4445
|
-
unitPrice: number;
|
|
4446
|
-
quantity: number;
|
|
4447
|
-
totalPrice: number;
|
|
4448
|
-
};
|
|
4449
|
-
};
|
|
4450
|
-
addonProducts?: Product[];
|
|
4451
|
-
addonCalculatedPrice?: {
|
|
4452
|
-
productId: number;
|
|
4453
|
-
quantity: number;
|
|
4454
|
-
unitPrice: number;
|
|
4455
|
-
totalPrice: number;
|
|
4456
|
-
displayTotalWithTax?: number;
|
|
4457
|
-
displayUnitTax?: number;
|
|
4458
|
-
}[];
|
|
4459
|
-
addonsProductUserIds?: number[];
|
|
4460
|
-
segmentId?: number;
|
|
4461
|
-
seriesId?: number;
|
|
4462
|
-
eventId?: number;
|
|
4463
|
-
sportIds: number[];
|
|
4464
|
-
parentSlotId?: number;
|
|
4465
|
-
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4466
|
-
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4467
|
-
durationValue?: number;
|
|
4468
|
-
invoicId?: number;
|
|
4469
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4470
|
-
approvalStatus: ReservationStatusEnum;
|
|
4471
|
-
displayName?: string;
|
|
4472
|
-
internalName?: string;
|
|
4473
|
-
totalPrice?: number;
|
|
4474
|
-
relevantProducts?: Product[];
|
|
4475
|
-
maintenance?: MaintenanceDto[];
|
|
4476
|
-
maintenanceSlots?: SlotDto[];
|
|
4477
|
-
isPrivate: boolean;
|
|
4478
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
4479
|
-
addonsIds?: number[];
|
|
4482
|
+
export declare class CreateRoleDto {
|
|
4483
|
+
name: string;
|
|
4480
4484
|
}
|
|
4481
|
-
export declare class
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
startDate: string;
|
|
4485
|
-
startTime: string;
|
|
4486
|
-
endDate: string;
|
|
4487
|
-
endTime: string;
|
|
4488
|
-
parentSlotId?: number;
|
|
4485
|
+
export declare class Permission extends BondBaseEntity {
|
|
4486
|
+
name: string;
|
|
4487
|
+
deletedAt?: Date;
|
|
4489
4488
|
}
|
|
4490
|
-
export declare class
|
|
4491
|
-
|
|
4489
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4490
|
+
name: string;
|
|
4491
|
+
deletedAt?: Date;
|
|
4492
|
+
permissions: Permission[];
|
|
4493
|
+
usersRoles: UserRole[];
|
|
4492
4494
|
}
|
|
4493
|
-
export declare class
|
|
4494
|
-
|
|
4495
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4496
|
+
deletedAt?: Date;
|
|
4497
|
+
userId: number;
|
|
4498
|
+
roleId: number;
|
|
4499
|
+
role: Role;
|
|
4500
|
+
user: User;
|
|
4495
4501
|
}
|
|
4496
4502
|
export declare class CloseShiftDto {
|
|
4497
4503
|
closingCashAmount: number;
|
|
4498
4504
|
}
|
|
4505
|
+
export declare class FindShiftsByIdsDto {
|
|
4506
|
+
shiftIds: number[];
|
|
4507
|
+
}
|
|
4499
4508
|
export declare class FindShiftsFiltersDto {
|
|
4500
4509
|
statuses?: string;
|
|
4501
4510
|
stationIds?: string;
|
|
@@ -4516,12 +4525,16 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4516
4525
|
startDate?: Date;
|
|
4517
4526
|
endDate?: Date;
|
|
4518
4527
|
}
|
|
4519
|
-
export declare class
|
|
4520
|
-
|
|
4528
|
+
export declare class ShiftManagementClosingAmount {
|
|
4529
|
+
shiftId: number;
|
|
4530
|
+
managementClosingCashAmount: number;
|
|
4521
4531
|
}
|
|
4522
|
-
export declare class
|
|
4523
|
-
|
|
4524
|
-
|
|
4532
|
+
export declare class ManagementClosingOfShiftsDto {
|
|
4533
|
+
managementClosingData: ShiftManagementClosingAmount[];
|
|
4534
|
+
}
|
|
4535
|
+
export declare class OpenShiftDto {
|
|
4536
|
+
openingCashAmount: number;
|
|
4537
|
+
stationId: number;
|
|
4525
4538
|
}
|
|
4526
4539
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4527
4540
|
stationId: number;
|
|
@@ -4552,17 +4565,3 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4552
4565
|
closingManager?: User;
|
|
4553
4566
|
reconcilingUser?: User;
|
|
4554
4567
|
}
|
|
4555
|
-
export declare class OpenShiftDto {
|
|
4556
|
-
openingCashAmount: number;
|
|
4557
|
-
stationId: number;
|
|
4558
|
-
}
|
|
4559
|
-
export declare class FindShiftsByIdsDto {
|
|
4560
|
-
shiftIds: number[];
|
|
4561
|
-
}
|
|
4562
|
-
export declare class ShiftManagementClosingAmount {
|
|
4563
|
-
shiftId: number;
|
|
4564
|
-
managementClosingCashAmount: number;
|
|
4565
|
-
}
|
|
4566
|
-
export declare class ManagementClosingOfShiftsDto {
|
|
4567
|
-
managementClosingData: ShiftManagementClosingAmount[];
|
|
4568
|
-
}
|